Skip to content

Commit

Permalink
ARM: pxa168: fix corrected reset vector
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark F. Brown authored and Eric Miao committed Sep 25, 2010
1 parent cf62536 commit 32c4dad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/arm/mach-mmp/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
#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)
{
cpu_reset(0);
if (cpu_is_pxa168())
cpu_reset(0xffff0000);
else
cpu_reset(0);
}
#endif /* __ASM_MACH_SYSTEM_H */

0 comments on commit 32c4dad

Please sign in to comment.