diff options
Diffstat (limited to 'arch/arm/mach-iop3xx/iop321-setup.c')
-rw-r--r-- | arch/arm/mach-iop3xx/iop321-setup.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/arch/arm/mach-iop3xx/iop321-setup.c b/arch/arm/mach-iop3xx/iop321-setup.c index 0f921ba2750c..bb5091223b63 100644 --- a/arch/arm/mach-iop3xx/iop321-setup.c +++ b/arch/arm/mach-iop3xx/iop321-setup.c | |||
@@ -38,13 +38,17 @@ | |||
38 | * Standard IO mapping for all IOP321 based systems | 38 | * Standard IO mapping for all IOP321 based systems |
39 | */ | 39 | */ |
40 | static struct map_desc iop321_std_desc[] __initdata = { | 40 | static struct map_desc iop321_std_desc[] __initdata = { |
41 | /* virtual physical length type */ | 41 | { /* mem mapped registers */ |
42 | 42 | .virtual = IOP321_VIRT_MEM_BASE, | |
43 | /* mem mapped registers */ | 43 | .pfn = __phys_to_pfn(IOP321_PHYS_MEM_BASE), |
44 | { IOP321_VIRT_MEM_BASE, IOP321_PHYS_MEM_BASE, 0x00002000, MT_DEVICE }, | 44 | .length = 0x00002000, |
45 | 45 | .type = MT_DEVICE | |
46 | /* PCI IO space */ | 46 | }, { /* PCI IO space */ |
47 | { IOP321_PCI_LOWER_IO_VA, IOP321_PCI_LOWER_IO_PA, IOP321_PCI_IO_WINDOW_SIZE, MT_DEVICE } | 47 | .virtual = IOP321_PCI_LOWER_IO_VA, |
48 | .pfn = __phys_to_pfn(IOP321_PCI_LOWER_IO_PA), | ||
49 | .length = IOP321_PCI_IO_WINDOW_SIZE, | ||
50 | .type = MT_DEVICE | ||
51 | } | ||
48 | }; | 52 | }; |
49 | 53 | ||
50 | #ifdef CONFIG_ARCH_IQ80321 | 54 | #ifdef CONFIG_ARCH_IQ80321 |