| 
									
										
										
										
											2007-04-30 19:37:19 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * DaVinci system defines | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * 2007 (c) MontaVista Software, Inc. This file is licensed under | 
					
						
							|  |  |  |  * the terms of the GNU General Public License version 2. This program | 
					
						
							|  |  |  |  * is licensed "as is" without any warranty of any kind, whether express | 
					
						
							|  |  |  |  * or implied. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #ifndef __ASM_ARCH_SYSTEM_H
 | 
					
						
							|  |  |  | #define __ASM_ARCH_SYSTEM_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-05-01 18:38:28 -04:00
										 |  |  | #include <mach/common.h>
 | 
					
						
							| 
									
										
										
										
											2007-04-30 19:37:19 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-07-09 20:26:38 +05:30
										 |  |  | static inline void arch_idle(void) | 
					
						
							| 
									
										
										
										
											2007-04-30 19:37:19 +01:00
										 |  |  | { | 
					
						
							|  |  |  | 	cpu_do_idle(); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-07-09 20:26:38 +05:30
										 |  |  | static inline void arch_reset(char mode, const char *cmd) | 
					
						
							| 
									
										
										
										
											2007-04-30 19:37:19 +01:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2010-05-01 18:38:28 -04:00
										 |  |  | 	if (davinci_soc_info.reset) | 
					
						
							|  |  |  | 		davinci_soc_info.reset(davinci_soc_info.reset_device); | 
					
						
							| 
									
										
										
										
											2007-04-30 19:37:19 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* __ASM_ARCH_SYSTEM_H */
 |