[ARM] pxa: separate out power manager and clock registers
[deliverable/linux.git] / include / asm-arm / arch-pxa / system.h
index a758a719180f64e5f4167eea0e9b6ca8b6ff3a75..ba7e132de1b3810e27f842b97596657bcf98a720 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <asm/proc-fns.h>
 #include "hardware.h"
+#include "pxa2xx-regs.h"
 #include "pxa-regs.h"
 
 static inline void arch_idle(void)
@@ -22,7 +23,8 @@ static inline void arch_idle(void)
 
 static inline void arch_reset(char mode)
 {
-       RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR;
+       if (cpu_is_pxa2xx())
+               RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR;
 
        if (mode == 's') {
                /* Jump into ROM at address 0 */
This page took 0.024663 seconds and 5 git commands to generate.