diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-aaec2000/core.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-aaec2000/core.c b/arch/arm/mach-aaec2000/core.c index aece0cd4f0a3..9be6c3213254 100644 --- a/arch/arm/mach-aaec2000/core.c +++ b/arch/arm/mach-aaec2000/core.c | |||
@@ -40,9 +40,17 @@ | |||
40 | * default mapping provided here. | 40 | * default mapping provided here. |
41 | */ | 41 | */ |
42 | static struct map_desc standard_io_desc[] __initdata = { | 42 | static struct map_desc standard_io_desc[] __initdata = { |
43 | /* virtual physical length type */ | 43 | { |
44 | { VIO_APB_BASE, PIO_APB_BASE, IO_APB_LENGTH, MT_DEVICE }, | 44 | .virtual = VIO_APB_BASE, |
45 | { VIO_AHB_BASE, PIO_AHB_BASE, IO_AHB_LENGTH, MT_DEVICE } | 45 | .physical = __phys_to_pfn(PIO_APB_BASE), |
46 | .length = IO_APB_LENGTH, | ||
47 | .type = MT_DEVICE | ||
48 | }, { | ||
49 | .virtual = VIO_AHB_BASE, | ||
50 | .physical = __phys_to_pfn(PIO_AHB_BASE), | ||
51 | .length = IO_AHB_LENGTH, | ||
52 | .type = MT_DEVICE | ||
53 | } | ||
46 | }; | 54 | }; |
47 | 55 | ||
48 | void __init aaec2000_map_io(void) | 56 | void __init aaec2000_map_io(void) |