aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91rm9200.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r--arch/arm/mach-at91/at91rm9200.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c
index 010407802cdc..f73302dbc6a5 100644
--- a/arch/arm/mach-at91/at91rm9200.c
+++ b/arch/arm/mach-at91/at91rm9200.c
@@ -30,11 +30,6 @@ static struct map_desc at91rm9200_io_desc[] __initdata = {
30 .pfn = __phys_to_pfn(AT91RM9200_BASE_EMAC), 30 .pfn = __phys_to_pfn(AT91RM9200_BASE_EMAC),
31 .length = SZ_16K, 31 .length = SZ_16K,
32 .type = MT_DEVICE, 32 .type = MT_DEVICE,
33 }, {
34 .virtual = AT91_IO_VIRT_BASE - AT91RM9200_SRAM_SIZE,
35 .pfn = __phys_to_pfn(AT91RM9200_SRAM_BASE),
36 .length = AT91RM9200_SRAM_SIZE,
37 .type = MT_DEVICE,
38 }, 33 },
39}; 34};
40 35
@@ -306,6 +301,7 @@ static void at91rm9200_reset(void)
306static void __init at91rm9200_map_io(void) 301static void __init at91rm9200_map_io(void)
307{ 302{
308 /* Map peripherals */ 303 /* Map peripherals */
304 at91_init_sram(0, AT91RM9200_SRAM_BASE, AT91RM9200_SRAM_SIZE);
309 iotable_init(at91rm9200_io_desc, ARRAY_SIZE(at91rm9200_io_desc)); 305 iotable_init(at91rm9200_io_desc, ARRAY_SIZE(at91rm9200_io_desc));
310} 306}
311 307