diff options
author | Mark F. Brown <mark.brown314@gmail.com> | 2010-08-26 11:07:29 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-09-25 03:47:03 +0200 |
commit | 32c4dad8f872fadb0ae3caa15d26e73934982217 (patch) | |
tree | 5bdeba2c213361ffb45b26523ae3cece95aae54f | |
parent | ARM: pxa: Use PIO for PI2C communication on Palm27x (diff) | |
download | linux-32c4dad8f872fadb0ae3caa15d26e73934982217.tar.xz linux-32c4dad8f872fadb0ae3caa15d26e73934982217.zip |
ARM: pxa168: fix corrected reset vector
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>
-rw-r--r-- | arch/arm/mach-mmp/include/mach/system.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/include/mach/system.h b/arch/arm/mach-mmp/include/mach/system.h index 4f5b0e0ce6cf..1a8a25edb1b4 100644 --- a/arch/arm/mach-mmp/include/mach/system.h +++ b/arch/arm/mach-mmp/include/mach/system.h @@ -9,6 +9,8 @@ #ifndef __ASM_MACH_SYSTEM_H #define __ASM_MACH_SYSTEM_H +#include <mach/cputype.h> + static inline void arch_idle(void) { cpu_do_idle(); @@ -16,6 +18,9 @@ static inline void arch_idle(void) static inline void arch_reset(char mode, const char *cmd) { - cpu_reset(0); + if (cpu_is_pxa168()) + cpu_reset(0xffff0000); + else + cpu_reset(0); } #endif /* __ASM_MACH_SYSTEM_H */ |