diff options
Diffstat (limited to 'arch/arm/mach-iop3xx/iop331-setup.c')
-rw-r--r-- | arch/arm/mach-iop3xx/iop331-setup.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/arch/arm/mach-iop3xx/iop331-setup.c b/arch/arm/mach-iop3xx/iop331-setup.c index fc74b722f72f..a2533c3ab42f 100644 --- a/arch/arm/mach-iop3xx/iop331-setup.c +++ b/arch/arm/mach-iop3xx/iop331-setup.c | |||
@@ -37,13 +37,17 @@ | |||
37 | * Standard IO mapping for all IOP331 based systems | 37 | * Standard IO mapping for all IOP331 based systems |
38 | */ | 38 | */ |
39 | static struct map_desc iop331_std_desc[] __initdata = { | 39 | static struct map_desc iop331_std_desc[] __initdata = { |
40 | /* virtual physical length type */ | 40 | { /* mem mapped registers */ |
41 | 41 | .virtual = IOP331_VIRT_MEM_BASE, | |
42 | /* mem mapped registers */ | 42 | .pfn = __phys_to_pfn(IOP331_PHYS_MEM_BASE), |
43 | { IOP331_VIRT_MEM_BASE, IOP331_PHYS_MEM_BASE, 0x00002000, MT_DEVICE }, | 43 | .length = 0x00002000, |
44 | 44 | .type = MT_DEVICE | |
45 | /* PCI IO space */ | 45 | }, { /* PCI IO space */ |
46 | { IOP331_PCI_LOWER_IO_VA, IOP331_PCI_LOWER_IO_PA, IOP331_PCI_IO_WINDOW_SIZE, MT_DEVICE } | 46 | .virtual = IOP331_PCI_LOWER_IO_VA, |
47 | .pfn = __phys_to_pfn(IOP331_PCI_LOWER_IO_PA), | ||
48 | .length = IOP331_PCI_IO_WINDOW_SIZE, | ||
49 | .type = MT_DEVICE | ||
50 | } | ||
47 | }; | 51 | }; |
48 | 52 | ||
49 | static struct uart_port iop331_serial_ports[] = { | 53 | static struct uart_port iop331_serial_ports[] = { |