diff options
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r-- | arch/arm/mach-pxa/generic.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index d2bb071b0af..d6e15f71fc0 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <mach/reset.h> | 29 | #include <mach/reset.h> |
30 | #include <mach/gpio.h> | 30 | #include <mach/gpio.h> |
31 | #include <mach/smemc.h> | 31 | #include <mach/smemc.h> |
32 | #include <mach/pxa3xx-regs.h> | ||
32 | 33 | ||
33 | #include "generic.h" | 34 | #include "generic.h" |
34 | 35 | ||
@@ -36,9 +37,10 @@ void clear_reset_status(unsigned int mask) | |||
36 | { | 37 | { |
37 | if (cpu_is_pxa2xx()) | 38 | if (cpu_is_pxa2xx()) |
38 | pxa2xx_clear_reset_status(mask); | 39 | pxa2xx_clear_reset_status(mask); |
39 | 40 | else { | |
40 | if (cpu_is_pxa3xx()) | 41 | /* RESET_STATUS_* has a 1:1 mapping with ARSR */ |
41 | pxa3xx_clear_reset_status(mask); | 42 | ARSR = mask; |
43 | } | ||
42 | } | 44 | } |
43 | 45 | ||
44 | unsigned long get_clock_tick_rate(void) | 46 | unsigned long get_clock_tick_rate(void) |