[ARM] pxa: introduce reset.h for reset specific header information
authorEric Miao <eric.miao@marvell.com>
Tue, 29 Jul 2008 06:08:14 +0000 (14:08 +0800)
committerEric Miao <eric.miao@marvell.com>
Tue, 5 Aug 2008 01:25:19 +0000 (09:25 +0800)
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/reset.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/tosa.c
include/asm-arm/arch-pxa/hardware.h
include/asm-arm/arch-pxa/reset.h [new file with mode: 0644]

index 9d39dea57ce27a2fc6effecf505cfb38e73dab0f..d610a1244abbb3497ef08a5482888151357b0e6f 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <asm/arch/pxa-regs.h>
 #include <asm/arch/pxa2xx-regs.h>
+#include <asm/arch/reset.h>
 
 static void do_hw_reset(void);
 
index 762249c03ded4e5d9311513e96b9b260e0dbc2a4..207fe3e6a3d200d8e07d3261ff5b40c7a2dae9e7 100644 (file)
@@ -39,6 +39,7 @@
 #include <asm/arch/pxa2xx-regs.h>
 #include <asm/arch/pxa2xx-gpio.h>
 #include <asm/arch/pxa27x-udc.h>
+#include <asm/arch/reset.h>
 #include <asm/arch/irda.h>
 #include <asm/arch/mmc.h>
 #include <asm/arch/ohci.h>
index fea17ce6b55f5a812fa5f89e57cf851fc78850c5..4bd7d4f006e27840f8600b279e04d84bc3f55d7a 100644 (file)
@@ -36,6 +36,7 @@
 #include <asm/mach-types.h>
 #include <asm/arch/pxa2xx-regs.h>
 #include <asm/arch/mfp-pxa25x.h>
+#include <asm/arch/reset.h>
 #include <asm/arch/irda.h>
 #include <asm/arch/i2c.h>
 #include <asm/arch/mmc.h>
index 979a45695d7d43c83681314c0b9021c55f84a410..351d0a721769ed2745a78628004a83d2415d57aa 100644 (file)
@@ -224,11 +224,6 @@ extern void pxa_gpio_set_value(unsigned gpio, int value);
  */
 extern unsigned int get_memclk_frequency_10khz(void);
 
-/*
- * register GPIO as reset generator
- */
-extern int init_gpio_reset(int gpio);
-
 #endif
 
 #if defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
diff --git a/include/asm-arm/arch-pxa/reset.h b/include/asm-arm/arch-pxa/reset.h
new file mode 100644 (file)
index 0000000..6ca72c5
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef __ASM_ARCH_RESET_H
+#define __ASM_ARCH_RESET_H
+
+/*
+ * register GPIO as reset generator
+ */
+extern int init_gpio_reset(int gpio);
+
+#endif /* __ASM_ARCH_RESET_H */