[ARM] pxa: introduce reset_status and clear_reset_status for driver's usage
[deliverable/linux.git] / arch / arm / mach-pxa / pxa25x.c
index c5b845b935bb6f5122826507bf640b2deb87e61e..49a7a296ff3109e76bf93bec0ea5811e82309ad6 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/arch/pxa-regs.h>
 #include <asm/arch/pxa2xx-regs.h>
 #include <asm/arch/mfp-pxa25x.h>
+#include <asm/arch/reset.h>
 #include <asm/arch/pm.h>
 #include <asm/arch/dma.h>
 
@@ -348,6 +349,9 @@ static int __init pxa25x_init(void)
                clks_register(&pxa25x_hwuart_clk, 1);
 
        if (cpu_is_pxa21x() || cpu_is_pxa25x()) {
+
+               reset_status = RCSR;
+
                clks_register(pxa25x_clks, ARRAY_SIZE(pxa25x_clks));
 
                if ((ret = pxa_init_dma(16)))
This page took 0.027232 seconds and 5 git commands to generate.