diff options
Diffstat (limited to 'arch/arm/mach-davinci/board-dm355-leopard.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm355-leopard.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c index 21f32eb41e8c..f1d8132cf0c3 100644 --- a/arch/arm/mach-davinci/board-dm355-leopard.c +++ b/arch/arm/mach-davinci/board-dm355-leopard.c | |||
@@ -30,9 +30,6 @@ | |||
30 | #include <mach/mmc.h> | 30 | #include <mach/mmc.h> |
31 | #include <mach/usb.h> | 31 | #include <mach/usb.h> |
32 | 32 | ||
33 | #define DAVINCI_ASYNC_EMIF_CONTROL_BASE 0x01e10000 | ||
34 | #define DAVINCI_ASYNC_EMIF_DATA_CE0_BASE 0x02000000 | ||
35 | |||
36 | /* NOTE: this is geared for the standard config, with a socketed | 33 | /* NOTE: this is geared for the standard config, with a socketed |
37 | * 2 GByte Micron NAND (MT29F16G08FAA) using 128KB sectors. If you | 34 | * 2 GByte Micron NAND (MT29F16G08FAA) using 128KB sectors. If you |
38 | * swap chips, maybe with a different block size, partitioning may | 35 | * swap chips, maybe with a different block size, partitioning may |
@@ -82,12 +79,12 @@ static struct davinci_nand_pdata davinci_nand_data = { | |||
82 | 79 | ||
83 | static struct resource davinci_nand_resources[] = { | 80 | static struct resource davinci_nand_resources[] = { |
84 | { | 81 | { |
85 | .start = DAVINCI_ASYNC_EMIF_DATA_CE0_BASE, | 82 | .start = DM355_ASYNC_EMIF_DATA_CE0_BASE, |
86 | .end = DAVINCI_ASYNC_EMIF_DATA_CE0_BASE + SZ_32M - 1, | 83 | .end = DM355_ASYNC_EMIF_DATA_CE0_BASE + SZ_32M - 1, |
87 | .flags = IORESOURCE_MEM, | 84 | .flags = IORESOURCE_MEM, |
88 | }, { | 85 | }, { |
89 | .start = DAVINCI_ASYNC_EMIF_CONTROL_BASE, | 86 | .start = DM355_ASYNC_EMIF_CONTROL_BASE, |
90 | .end = DAVINCI_ASYNC_EMIF_CONTROL_BASE + SZ_4K - 1, | 87 | .end = DM355_ASYNC_EMIF_CONTROL_BASE + SZ_4K - 1, |
91 | .flags = IORESOURCE_MEM, | 88 | .flags = IORESOURCE_MEM, |
92 | }, | 89 | }, |
93 | }; | 90 | }; |
@@ -272,17 +269,12 @@ static __init void dm355_leopard_init(void) | |||
272 | ARRAY_SIZE(dm355_leopard_spi_info)); | 269 | ARRAY_SIZE(dm355_leopard_spi_info)); |
273 | } | 270 | } |
274 | 271 | ||
275 | static __init void dm355_leopard_irq_init(void) | ||
276 | { | ||
277 | davinci_irq_init(); | ||
278 | } | ||
279 | |||
280 | MACHINE_START(DM355_LEOPARD, "DaVinci DM355 leopard") | 272 | MACHINE_START(DM355_LEOPARD, "DaVinci DM355 leopard") |
281 | .phys_io = IO_PHYS, | 273 | .phys_io = IO_PHYS, |
282 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | 274 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, |
283 | .boot_params = (0x80000100), | 275 | .boot_params = (0x80000100), |
284 | .map_io = dm355_leopard_map_io, | 276 | .map_io = dm355_leopard_map_io, |
285 | .init_irq = dm355_leopard_irq_init, | 277 | .init_irq = davinci_irq_init, |
286 | .timer = &davinci_timer, | 278 | .timer = &davinci_timer, |
287 | .init_machine = dm355_leopard_init, | 279 | .init_machine = dm355_leopard_init, |
288 | MACHINE_END | 280 | MACHINE_END |