diff options
Diffstat (limited to 'arch/arm/mach-lh7a40x/arch-kev7a400.c')
-rw-r--r-- | arch/arm/mach-lh7a40x/arch-kev7a400.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/mach-lh7a40x/arch-kev7a400.c b/arch/arm/mach-lh7a40x/arch-kev7a400.c index cb3dcd3bd00a..19f2fa2244c4 100644 --- a/arch/arm/mach-lh7a40x/arch-kev7a400.c +++ b/arch/arm/mach-lh7a40x/arch-kev7a400.c | |||
@@ -26,8 +26,17 @@ | |||
26 | /* This function calls the board specific IRQ initialization function. */ | 26 | /* This function calls the board specific IRQ initialization function. */ |
27 | 27 | ||
28 | static struct map_desc kev7a400_io_desc[] __initdata = { | 28 | static struct map_desc kev7a400_io_desc[] __initdata = { |
29 | { IO_VIRT, IO_PHYS, IO_SIZE, MT_DEVICE }, | 29 | { |
30 | { CPLD_VIRT, CPLD_PHYS, CPLD_SIZE, MT_DEVICE }, | 30 | .virtual = IO_VIRT, |
31 | .pfn = __phys_to_pfn(IO_PHYS), | ||
32 | .length = IO_SIZE, | ||
33 | .type = MT_DEVICE | ||
34 | }, { | ||
35 | .virtual = CPLD_VIRT, | ||
36 | .pfn = __phys_to_pfn(CPLD_PHYS), | ||
37 | .length = CPLD_SIZE, | ||
38 | .type = MT_DEVICE | ||
39 | } | ||
31 | }; | 40 | }; |
32 | 41 | ||
33 | void __init kev7a400_map_io(void) | 42 | void __init kev7a400_map_io(void) |