diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-01-15 09:59:28 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-01-16 12:08:41 -0500 |
commit | 14efc54a9470e63ce004ae17e9512f4b3953a2fe (patch) | |
tree | 910458f694d217e16605a37ac01107582f285db2 /arch/arm/mach-at91/at91rm9200.c | |
parent | 4db0ba22da9f4406c292a6a6110eeb2edd12f16a (diff) |
ARM: at91: remove useless map_io
Now that the SRAM is initialized by the mmio-sram driver, .map_io is useless.
remove it.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index b52916947535..fc7c26138037 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c | |||
@@ -42,11 +42,6 @@ static void at91rm9200_restart(enum reboot_mode reboot_mode, const char *cmd) | |||
42 | /* -------------------------------------------------------------------- | 42 | /* -------------------------------------------------------------------- |
43 | * AT91RM9200 processor initialization | 43 | * AT91RM9200 processor initialization |
44 | * -------------------------------------------------------------------- */ | 44 | * -------------------------------------------------------------------- */ |
45 | static void __init at91rm9200_map_io(void) | ||
46 | { | ||
47 | /* Map peripherals */ | ||
48 | at91_init_sram(0, AT91RM9200_SRAM_BASE, AT91RM9200_SRAM_SIZE); | ||
49 | } | ||
50 | 45 | ||
51 | static void __init at91rm9200_initialize(void) | 46 | static void __init at91rm9200_initialize(void) |
52 | { | 47 | { |
@@ -56,6 +51,5 @@ static void __init at91rm9200_initialize(void) | |||
56 | 51 | ||
57 | 52 | ||
58 | AT91_SOC_START(at91rm9200) | 53 | AT91_SOC_START(at91rm9200) |
59 | .map_io = at91rm9200_map_io, | ||
60 | .init = at91rm9200_initialize, | 54 | .init = at91rm9200_initialize, |
61 | AT91_SOC_END | 55 | AT91_SOC_END |