aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop32x/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-iop32x/setup.c')
-rw-r--r--arch/arm/mach-iop32x/setup.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-iop32x/setup.c b/arch/arm/mach-iop32x/setup.c
index 729678799271..48d806474f40 100644
--- a/arch/arm/mach-iop32x/setup.c
+++ b/arch/arm/mach-iop32x/setup.c
@@ -32,23 +32,6 @@
32 32
33#define IOP321_UART_XTAL 1843200 33#define IOP321_UART_XTAL 1843200
34 34
35/*
36 * Standard IO mapping for all IOP321 based systems
37 */
38static struct map_desc iop321_std_desc[] __initdata = {
39 { /* mem mapped registers */
40 .virtual = IOP321_VIRT_MEM_BASE,
41 .pfn = __phys_to_pfn(IOP321_PHYS_MEM_BASE),
42 .length = 0x00002000,
43 .type = MT_DEVICE
44 }, { /* PCI IO space */
45 .virtual = IOP321_PCI_LOWER_IO_VA,
46 .pfn = __phys_to_pfn(IOP321_PCI_LOWER_IO_PA),
47 .length = IOP321_PCI_IO_WINDOW_SIZE,
48 .type = MT_DEVICE
49 }
50};
51
52#ifdef CONFIG_ARCH_IQ80321 35#ifdef CONFIG_ARCH_IQ80321
53#define UARTBASE IQ80321_UART 36#define UARTBASE IQ80321_UART
54#define IRQ_UART IRQ_IQ80321_UART 37#define IRQ_UART IRQ_IQ80321_UART
@@ -126,11 +109,6 @@ void __init iop32x_init(void)
126 platform_add_devices(iop32x_devices, 109 platform_add_devices(iop32x_devices,
127 ARRAY_SIZE(iop32x_devices)); 110 ARRAY_SIZE(iop32x_devices));
128 } 111 }
129}
130
131void __init iop321_map_io(void)
132{
133 iotable_init(iop321_std_desc, ARRAY_SIZE(iop321_std_desc));
134 early_serial_setup(&iop321_serial_ports[0]); 112 early_serial_setup(&iop321_serial_ports[0]);
135} 113}
136 114