aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91cap9.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/at91cap9.c')
-rw-r--r--arch/arm/mach-at91/at91cap9.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-at91/at91cap9.c b/arch/arm/mach-at91/at91cap9.c
index 8fabf91fe2e5..bfc684441ef8 100644
--- a/arch/arm/mach-at91/at91cap9.c
+++ b/arch/arm/mach-at91/at91cap9.c
@@ -29,15 +29,6 @@
29#include "generic.h" 29#include "generic.h"
30#include "clock.h" 30#include "clock.h"
31 31
32static struct map_desc at91cap9_sram_desc[] __initdata = {
33 {
34 .virtual = AT91_IO_VIRT_BASE - AT91CAP9_SRAM_SIZE,
35 .pfn = __phys_to_pfn(AT91CAP9_SRAM_BASE),
36 .length = AT91CAP9_SRAM_SIZE,
37 .type = MT_DEVICE,
38 },
39};
40
41/* -------------------------------------------------------------------- 32/* --------------------------------------------------------------------
42 * Clocks 33 * Clocks
43 * -------------------------------------------------------------------- */ 34 * -------------------------------------------------------------------- */
@@ -337,7 +328,7 @@ static void at91cap9_poweroff(void)
337 328
338static void __init at91cap9_map_io(void) 329static void __init at91cap9_map_io(void)
339{ 330{
340 iotable_init(at91cap9_sram_desc, ARRAY_SIZE(at91cap9_sram_desc)); 331 at91_init_sram(0, AT91CAP9_SRAM_BASE, AT91CAP9_SRAM_SIZE);
341} 332}
342 333
343static void __init at91cap9_initialize(void) 334static void __init at91cap9_initialize(void)