diff options
-rw-r--r-- | arch/arm/mach-ixp4xx/coyote-setup.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/gtwx5715-setup.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/ixdp425-setup.c | 13 |
3 files changed, 7 insertions, 23 deletions
diff --git a/arch/arm/mach-ixp4xx/coyote-setup.c b/arch/arm/mach-ixp4xx/coyote-setup.c index 411ea9996190..8b2f25322452 100644 --- a/arch/arm/mach-ixp4xx/coyote-setup.c +++ b/arch/arm/mach-ixp4xx/coyote-setup.c | |||
@@ -24,11 +24,6 @@ | |||
24 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
25 | #include <asm/mach/flash.h> | 25 | #include <asm/mach/flash.h> |
26 | 26 | ||
27 | void __init coyote_map_io(void) | ||
28 | { | ||
29 | ixp4xx_map_io(); | ||
30 | } | ||
31 | |||
32 | static struct flash_platform_data coyote_flash_data = { | 27 | static struct flash_platform_data coyote_flash_data = { |
33 | .map_name = "cfi_probe", | 28 | .map_name = "cfi_probe", |
34 | .width = 2, | 29 | .width = 2, |
@@ -107,7 +102,7 @@ MACHINE_START(ADI_COYOTE, "ADI Engineering Coyote") | |||
107 | .phys_ram = PHYS_OFFSET, | 102 | .phys_ram = PHYS_OFFSET, |
108 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | 103 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
109 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | 104 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
110 | .map_io = coyote_map_io, | 105 | .map_io = ixp4xx_map_io, |
111 | .init_irq = ixp4xx_init_irq, | 106 | .init_irq = ixp4xx_init_irq, |
112 | .timer = &ixp4xx_timer, | 107 | .timer = &ixp4xx_timer, |
113 | .boot_params = 0x0100, | 108 | .boot_params = 0x0100, |
@@ -125,7 +120,7 @@ MACHINE_START(IXDPG425, "Intel IXDPG425") | |||
125 | .phys_ram = PHYS_OFFSET, | 120 | .phys_ram = PHYS_OFFSET, |
126 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | 121 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
127 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | 122 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
128 | .map_io = coyote_map_io, | 123 | .map_io = ixp4xx_map_io, |
129 | .init_irq = ixp4xx_init_irq, | 124 | .init_irq = ixp4xx_init_irq, |
130 | .timer = &ixp4xx_timer, | 125 | .timer = &ixp4xx_timer, |
131 | .boot_params = 0x0100, | 126 | .boot_params = 0x0100, |
diff --git a/arch/arm/mach-ixp4xx/gtwx5715-setup.c b/arch/arm/mach-ixp4xx/gtwx5715-setup.c index 333459d6aa46..3fd92c5cbaa8 100644 --- a/arch/arm/mach-ixp4xx/gtwx5715-setup.c +++ b/arch/arm/mach-ixp4xx/gtwx5715-setup.c | |||
@@ -101,12 +101,6 @@ static struct platform_device gtwx5715_uart_device = { | |||
101 | .resource = gtwx5715_uart_resources, | 101 | .resource = gtwx5715_uart_resources, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | |||
105 | void __init gtwx5715_map_io(void) | ||
106 | { | ||
107 | ixp4xx_map_io(); | ||
108 | } | ||
109 | |||
110 | static struct flash_platform_data gtwx5715_flash_data = { | 104 | static struct flash_platform_data gtwx5715_flash_data = { |
111 | .map_name = "cfi_probe", | 105 | .map_name = "cfi_probe", |
112 | .width = 2, | 106 | .width = 2, |
@@ -144,7 +138,7 @@ MACHINE_START(GTWX5715, "Gemtek GTWX5715 (Linksys WRV54G)") | |||
144 | .phys_ram = PHYS_OFFSET, | 138 | .phys_ram = PHYS_OFFSET, |
145 | .phys_io = IXP4XX_UART2_BASE_PHYS, | 139 | .phys_io = IXP4XX_UART2_BASE_PHYS, |
146 | .io_pg_offst = ((IXP4XX_UART2_BASE_VIRT) >> 18) & 0xfffc, | 140 | .io_pg_offst = ((IXP4XX_UART2_BASE_VIRT) >> 18) & 0xfffc, |
147 | .map_io = gtwx5715_map_io, | 141 | .map_io = ixp4xx_map_io, |
148 | .init_irq = ixp4xx_init_irq, | 142 | .init_irq = ixp4xx_init_irq, |
149 | .timer = &ixp4xx_timer, | 143 | .timer = &ixp4xx_timer, |
150 | .boot_params = 0x0100, | 144 | .boot_params = 0x0100, |
diff --git a/arch/arm/mach-ixp4xx/ixdp425-setup.c b/arch/arm/mach-ixp4xx/ixdp425-setup.c index fa0646c8693b..6c14ff3c23a0 100644 --- a/arch/arm/mach-ixp4xx/ixdp425-setup.c +++ b/arch/arm/mach-ixp4xx/ixdp425-setup.c | |||
@@ -24,11 +24,6 @@ | |||
24 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
25 | #include <asm/mach/flash.h> | 25 | #include <asm/mach/flash.h> |
26 | 26 | ||
27 | void __init ixdp425_map_io(void) | ||
28 | { | ||
29 | ixp4xx_map_io(); | ||
30 | } | ||
31 | |||
32 | static struct flash_platform_data ixdp425_flash_data = { | 27 | static struct flash_platform_data ixdp425_flash_data = { |
33 | .map_name = "cfi_probe", | 28 | .map_name = "cfi_probe", |
34 | .width = 2, | 29 | .width = 2, |
@@ -133,7 +128,7 @@ MACHINE_START(IXDP425, "Intel IXDP425 Development Platform") | |||
133 | .phys_ram = PHYS_OFFSET, | 128 | .phys_ram = PHYS_OFFSET, |
134 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | 129 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
135 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | 130 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
136 | .map_io = ixdp425_map_io, | 131 | .map_io = ixp4xx_map_io, |
137 | .init_irq = ixp4xx_init_irq, | 132 | .init_irq = ixp4xx_init_irq, |
138 | .timer = &ixp4xx_timer, | 133 | .timer = &ixp4xx_timer, |
139 | .boot_params = 0x0100, | 134 | .boot_params = 0x0100, |
@@ -145,7 +140,7 @@ MACHINE_START(IXDP465, "Intel IXDP465 Development Platform") | |||
145 | .phys_ram = PHYS_OFFSET, | 140 | .phys_ram = PHYS_OFFSET, |
146 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | 141 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
147 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | 142 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
148 | .map_io = ixdp425_map_io, | 143 | .map_io = ixp4xx_map_io, |
149 | .init_irq = ixp4xx_init_irq, | 144 | .init_irq = ixp4xx_init_irq, |
150 | .timer = &ixp4xx_timer, | 145 | .timer = &ixp4xx_timer, |
151 | .boot_params = 0x0100, | 146 | .boot_params = 0x0100, |
@@ -157,7 +152,7 @@ MACHINE_START(IXCDP1100, "Intel IXCDP1100 Development Platform") | |||
157 | .phys_ram = PHYS_OFFSET, | 152 | .phys_ram = PHYS_OFFSET, |
158 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | 153 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
159 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | 154 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
160 | .map_io = ixdp425_map_io, | 155 | .map_io = ixp4xx_map_io, |
161 | .init_irq = ixp4xx_init_irq, | 156 | .init_irq = ixp4xx_init_irq, |
162 | .timer = &ixp4xx_timer, | 157 | .timer = &ixp4xx_timer, |
163 | .boot_params = 0x0100, | 158 | .boot_params = 0x0100, |
@@ -176,7 +171,7 @@ MACHINE_START(AVILA, "Gateworks Avila Network Platform") | |||
176 | .phys_ram = PHYS_OFFSET, | 171 | .phys_ram = PHYS_OFFSET, |
177 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | 172 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
178 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | 173 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
179 | .map_io = ixdp425_map_io, | 174 | .map_io = ixp4xx_map_io, |
180 | .init_irq = ixp4xx_init_irq, | 175 | .init_irq = ixp4xx_init_irq, |
181 | .timer = &ixp4xx_timer, | 176 | .timer = &ixp4xx_timer, |
182 | .boot_params = 0x0100, | 177 | .boot_params = 0x0100, |