mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 16:38:31 +00:00 
			
		
		
		
	 32c4dad8f8
			
		
	
	
		32c4dad8f8
		
	
	
	
	
		
			
			Reset vector for pxa168 is 0xffff_0000 not 0x0. This fix allows reboot to work Signed-off-by: Mark F. Brown <mark.brown314@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			551 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			551 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * linux/arch/arm/mach-mmp/include/mach/system.h
 | |
|  *
 | |
|  * This program is free software; you can redistribute it and/or modify
 | |
|  * it under the terms of the GNU General Public License version 2 as
 | |
|  * published by the Free Software Foundation.
 | |
|  */
 | |
| 
 | |
| #ifndef __ASM_MACH_SYSTEM_H
 | |
| #define __ASM_MACH_SYSTEM_H
 | |
| 
 | |
| #include <mach/cputype.h>
 | |
| 
 | |
| static inline void arch_idle(void)
 | |
| {
 | |
| 	cpu_do_idle();
 | |
| }
 | |
| 
 | |
| static inline void arch_reset(char mode, const char *cmd)
 | |
| {
 | |
| 	if (cpu_is_pxa168())
 | |
| 		cpu_reset(0xffff0000);
 | |
| 	else
 | |
| 		cpu_reset(0);
 | |
| }
 | |
| #endif /* __ASM_MACH_SYSTEM_H */
 |