aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/generic.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2010-11-23 22:54:19 -0500
committerEric Miao <eric.y.miao@gmail.com>2010-12-18 08:02:14 -0500
commita4553358d94b4a1f3e6f24aacfd076022ac14855 (patch)
tree7d6d7909730801a6f512aa2a7f637353ce0931bf /arch/arm/mach-pxa/generic.c
parentaae8224ddd72e045bb92eaf6b73b89282c771c69 (diff)
ARM: pxa: support pxa95x
The core of PXA955 is PJ4. Add new PJ4 support. And add new macro CONFIG_PXA95x. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r--arch/arm/mach-pxa/generic.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index d2bb071b0afc..d6e15f71fc09 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
44unsigned long get_clock_tick_rate(void) 46unsigned long get_clock_tick_rate(void)