aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-06-08 05:02:55 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-07-26 08:18:06 -0400
commit5a36c399234d511a347b2be4382c7a55f28c18ba (patch)
treede04e9424667c1b53da22213df15d0417f25add6
parentf42ae0e9f4996308860d5cee4803337d3ce3c4ae (diff)
MX25: put define for OTG base address in right include
the standard place for this define is include/mach/mx25.h Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-mx25/devices.c2
-rw-r--r--arch/arm/plat-mxc/include/mach/mx25.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mx25/devices.c b/arch/arm/mach-mx25/devices.c
index fd331d04ea0d..d9766d4d5046 100644
--- a/arch/arm/mach-mx25/devices.c
+++ b/arch/arm/mach-mx25/devices.c
@@ -117,8 +117,6 @@ struct platform_device mxc_uart_device4 = {
117 .num_resources = ARRAY_SIZE(uart4), 117 .num_resources = ARRAY_SIZE(uart4),
118}; 118};
119 119
120#define MX25_OTG_BASE_ADDR 0x53FF4000
121
122static u64 otg_dmamask = DMA_BIT_MASK(32); 120static u64 otg_dmamask = DMA_BIT_MASK(32);
123 121
124static struct resource mxc_otg_resources[] = { 122static struct resource mxc_otg_resources[] = {
diff --git a/arch/arm/plat-mxc/include/mach/mx25.h b/arch/arm/plat-mxc/include/mach/mx25.h
index 35fb9f5e5d1c..f064ec8833bb 100644
--- a/arch/arm/plat-mxc/include/mach/mx25.h
+++ b/arch/arm/plat-mxc/include/mach/mx25.h
@@ -35,6 +35,7 @@
35#define MX25_DRYICE_BASE_ADDR 0x53ffc000 35#define MX25_DRYICE_BASE_ADDR 0x53ffc000
36#define MX25_LCDC_BASE_ADDR 0x53fbc000 36#define MX25_LCDC_BASE_ADDR 0x53fbc000
37#define MX25_KPP_BASE_ADDR 0x43fa8000 37#define MX25_KPP_BASE_ADDR 0x43fa8000
38#define MX25_OTG_BASE_ADDR 0x53ff4000
38 39
39#define MX25_INT_DRYICE 25 40#define MX25_INT_DRYICE 25
40#define MX25_INT_FEC 57 41#define MX25_INT_FEC 57