summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2010-05-22 02:29:33 +0400
committerEric Miao <eric.y.miao@gmail.com>2010-06-18 11:07:33 +0400
commitf95bb54016ae2465a74f5eeb04b539ef213ce6c9 (patch)
tree33b4d6fe9f1b7354591d54508393cb83b6bbdc8d /arch/arm/mach-pxa/include
parent97dbc5164adb9e3f9c3a49183f616763fe43ea26 (diff)
downloadlinux-f95bb54016ae2465a74f5eeb04b539ef213ce6c9.tar.xz
[ARM] pxa/colibri270: Refactor board definition file
This patch just moves code around and polishes it. Also, compile in only selected pieces of hardware. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r--arch/arm/mach-pxa/include/mach/colibri.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/include/mach/colibri.h b/arch/arm/mach-pxa/include/mach/colibri.h
index 5f2ba8d9015c..9e47e1fb1f04 100644
--- a/arch/arm/mach-pxa/include/mach/colibri.h
+++ b/arch/arm/mach-pxa/include/mach/colibri.h
@@ -33,13 +33,8 @@ static inline void colibri_pxa3xx_init_nand(void) {}
/* physical memory regions */
#define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */
-/* definitions for Colibri PXA270 */
-
-#define COLIBRI_PXA270_FLASH_PHYS (PXA_CS0_PHYS) /* Flash region */
-#define COLIBRI_PXA270_ETH_PHYS (PXA_CS2_PHYS) /* Ethernet */
-#define COLIBRI_PXA270_ETH_IRQ_GPIO 114
-#define COLIBRI_PXA270_ETH_IRQ \
- gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))
+/* GPIO definitions for Colibri PXA270 */
+#define GPIO114_COLIBRI_PXA270_ETH_IRQ 114
#endif /* _COLIBRI_H_ */