|
@@ -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 */
|