aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MAINTAINERS11
-rw-r--r--arch/arm/include/asm/elf.h2
-rw-r--r--arch/arm/kernel/module.c34
-rw-r--r--arch/arm/mach-clps711x/include/mach/hardware.h7
-rw-r--r--arch/arm/mach-gemini/Kconfig21
-rw-r--r--arch/arm/mach-gemini/Makefile3
-rw-r--r--arch/arm/mach-gemini/board-nas4220b.c111
-rw-r--r--arch/arm/mach-gemini/board-wbd111.c143
-rw-r--r--arch/arm/mach-gemini/board-wbd222.c143
-rw-r--r--arch/arm/mach-h720x/include/mach/hardware.h2
-rw-r--r--arch/arm/mach-integrator/include/mach/hardware.h1
-rw-r--r--arch/arm/mach-ixp23xx/include/mach/hardware.h1
-rw-r--r--arch/arm/mach-pxa/include/mach/hardware.h5
-rw-r--r--arch/arm/mach-versatile/include/mach/hardware.h9
14 files changed, 463 insertions, 30 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 0c0d829176a2..e6db704f7c35 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -617,10 +617,10 @@ M: Richard Purdie <rpurdie@rpsys.net>
617S: Maintained 617S: Maintained
618 618
619ARM/CORTINA SYSTEMS GEMINI ARM ARCHITECTURE 619ARM/CORTINA SYSTEMS GEMINI ARM ARCHITECTURE
620M: Paulius Zaleckas <paulius.zaleckas@gmail.com> 620M: Hans Ulli Kroll <ulli.kroll@googlemail.com>
621L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 621L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
622T: git git://gitorious.org/linux-gemini/mainline.git 622T: git git://git.berlios.de/gemini-board
623S: Odd Fixes 623S: Maintained
624F: arch/arm/mach-gemini/ 624F: arch/arm/mach-gemini/
625 625
626ARM/EBSA110 MACHINE SUPPORT 626ARM/EBSA110 MACHINE SUPPORT
@@ -642,9 +642,10 @@ T: topgit git://git.openezx.org/openezx.git
642F: arch/arm/mach-pxa/ezx.c 642F: arch/arm/mach-pxa/ezx.c
643 643
644ARM/FARADAY FA526 PORT 644ARM/FARADAY FA526 PORT
645M: Paulius Zaleckas <paulius.zaleckas@gmail.com> 645M: Hans Ulli Kroll <ulli.kroll@googlemail.com>
646L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 646L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
647S: Odd Fixes 647S: Maintained
648T: git://git.berlios.de/gemini-board
648F: arch/arm/mm/*-fa* 649F: arch/arm/mm/*-fa*
649 650
650ARM/FOOTBRIDGE ARCHITECTURE 651ARM/FOOTBRIDGE ARCHITECTURE
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h
index 6750b8e45a49..5747a8baa413 100644
--- a/arch/arm/include/asm/elf.h
+++ b/arch/arm/include/asm/elf.h
@@ -59,6 +59,8 @@ typedef struct user_fp elf_fpregset_t;
59 59
60#define R_ARM_THM_CALL 10 60#define R_ARM_THM_CALL 10
61#define R_ARM_THM_JUMP24 30 61#define R_ARM_THM_JUMP24 30
62#define R_ARM_THM_MOVW_ABS_NC 47
63#define R_ARM_THM_MOVT_ABS 48
62 64
63/* 65/*
64 * These are used to set parameters in the core dumps. 66 * These are used to set parameters in the core dumps.
diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c
index c628bdf6c430..6b4605893f1e 100644
--- a/arch/arm/kernel/module.c
+++ b/arch/arm/kernel/module.c
@@ -102,7 +102,9 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
102 unsigned long loc; 102 unsigned long loc;
103 Elf32_Sym *sym; 103 Elf32_Sym *sym;
104 s32 offset; 104 s32 offset;
105#ifdef CONFIG_THUMB2_KERNEL
105 u32 upper, lower, sign, j1, j2; 106 u32 upper, lower, sign, j1, j2;
107#endif
106 108
107 offset = ELF32_R_SYM(rel->r_info); 109 offset = ELF32_R_SYM(rel->r_info);
108 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { 110 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) {
@@ -185,6 +187,7 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
185 (offset & 0x0fff); 187 (offset & 0x0fff);
186 break; 188 break;
187 189
190#ifdef CONFIG_THUMB2_KERNEL
188 case R_ARM_THM_CALL: 191 case R_ARM_THM_CALL:
189 case R_ARM_THM_JUMP24: 192 case R_ARM_THM_JUMP24:
190 upper = *(u16 *)loc; 193 upper = *(u16 *)loc;
@@ -233,9 +236,40 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
233 *(u16 *)(loc + 2) = (u16)((lower & 0xd000) | 236 *(u16 *)(loc + 2) = (u16)((lower & 0xd000) |
234 (j1 << 13) | (j2 << 11) | 237 (j1 << 13) | (j2 << 11) |
235 ((offset >> 1) & 0x07ff)); 238 ((offset >> 1) & 0x07ff));
239 break;
240
241 case R_ARM_THM_MOVW_ABS_NC:
242 case R_ARM_THM_MOVT_ABS:
236 upper = *(u16 *)loc; 243 upper = *(u16 *)loc;
237 lower = *(u16 *)(loc + 2); 244 lower = *(u16 *)(loc + 2);
245
246 /*
247 * MOVT/MOVW instructions encoding in Thumb-2:
248 *
249 * i = upper[10]
250 * imm4 = upper[3:0]
251 * imm3 = lower[14:12]
252 * imm8 = lower[7:0]
253 *
254 * imm16 = imm4:i:imm3:imm8
255 */
256 offset = ((upper & 0x000f) << 12) |
257 ((upper & 0x0400) << 1) |
258 ((lower & 0x7000) >> 4) | (lower & 0x00ff);
259 offset = (offset ^ 0x8000) - 0x8000;
260 offset += sym->st_value;
261
262 if (ELF32_R_TYPE(rel->r_info) == R_ARM_THM_MOVT_ABS)
263 offset >>= 16;
264
265 *(u16 *)loc = (u16)((upper & 0xfbf0) |
266 ((offset & 0xf000) >> 12) |
267 ((offset & 0x0800) >> 1));
268 *(u16 *)(loc + 2) = (u16)((lower & 0x8f00) |
269 ((offset & 0x0700) << 4) |
270 (offset & 0x00ff));
238 break; 271 break;
272#endif
239 273
240 default: 274 default:
241 printk(KERN_ERR "%s: unknown relocation: %u\n", 275 printk(KERN_ERR "%s: unknown relocation: %u\n",
diff --git a/arch/arm/mach-clps711x/include/mach/hardware.h b/arch/arm/mach-clps711x/include/mach/hardware.h
index b3ebe9e4871f..d0b7d870be9c 100644
--- a/arch/arm/mach-clps711x/include/mach/hardware.h
+++ b/arch/arm/mach-clps711x/include/mach/hardware.h
@@ -69,13 +69,6 @@
69#define SYSPLD_VIRT_BASE 0xfe000000 69#define SYSPLD_VIRT_BASE 0xfe000000
70#define SYSPLD_BASE SYSPLD_VIRT_BASE 70#define SYSPLD_BASE SYSPLD_VIRT_BASE
71 71
72#ifndef __ASSEMBLER__
73
74#define PCIO_BASE IO_BASE
75
76#endif
77
78
79#if defined (CONFIG_ARCH_AUTCPU12) 72#if defined (CONFIG_ARCH_AUTCPU12)
80 73
81#define CS89712_VIRT_BASE CLPS7111_VIRT_BASE 74#define CS89712_VIRT_BASE CLPS7111_VIRT_BASE
diff --git a/arch/arm/mach-gemini/Kconfig b/arch/arm/mach-gemini/Kconfig
index 515b75cf2e8b..6f066ee4bf24 100644
--- a/arch/arm/mach-gemini/Kconfig
+++ b/arch/arm/mach-gemini/Kconfig
@@ -2,6 +2,13 @@ if ARCH_GEMINI
2 2
3menu "Cortina Systems Gemini Implementations" 3menu "Cortina Systems Gemini Implementations"
4 4
5config MACH_NAS4220B
6 bool "Raidsonic NAS-4220-B"
7 select GEMINI_MEM_SWAP
8 help
9 Say Y here if you intend to run this kernel on a
10 Raidsonic NAS-4220-B.
11
5config MACH_RUT100 12config MACH_RUT100
6 bool "Teltonika RUT100" 13 bool "Teltonika RUT100"
7 select GEMINI_MEM_SWAP 14 select GEMINI_MEM_SWAP
@@ -9,6 +16,20 @@ config MACH_RUT100
9 Say Y here if you intend to run this kernel on a 16 Say Y here if you intend to run this kernel on a
10 Teltonika 3G Router RUT100. 17 Teltonika 3G Router RUT100.
11 18
19config MACH_WBD111
20 bool "Wiliboard WBD-111"
21 select GEMINI_MEM_SWAP
22 help
23 Say Y here if you intend to run this kernel on a
24 Wiliboard WBD-111.
25
26config MACH_WBD222
27 bool "Wiliboard WBD-222"
28 select GEMINI_MEM_SWAP
29 help
30 Say Y here if you intend to run this kernel on a
31 Wiliboard WBD-222.
32
12endmenu 33endmenu
13 34
14config GEMINI_MEM_SWAP 35config GEMINI_MEM_SWAP
diff --git a/arch/arm/mach-gemini/Makefile b/arch/arm/mach-gemini/Makefile
index 719505b81821..c5b24b95a76e 100644
--- a/arch/arm/mach-gemini/Makefile
+++ b/arch/arm/mach-gemini/Makefile
@@ -7,4 +7,7 @@
7obj-y := irq.o mm.o time.o devices.o gpio.o 7obj-y := irq.o mm.o time.o devices.o gpio.o
8 8
9# Board-specific support 9# Board-specific support
10obj-$(CONFIG_MACH_NAS4220B) += board-nas4220b.o
10obj-$(CONFIG_MACH_RUT100) += board-rut1xx.o 11obj-$(CONFIG_MACH_RUT100) += board-rut1xx.o
12obj-$(CONFIG_MACH_WBD111) += board-wbd111.o
13obj-$(CONFIG_MACH_WBD222) += board-wbd222.o
diff --git a/arch/arm/mach-gemini/board-nas4220b.c b/arch/arm/mach-gemini/board-nas4220b.c
new file mode 100644
index 000000000000..01f1d6daab44
--- /dev/null
+++ b/arch/arm/mach-gemini/board-nas4220b.c
@@ -0,0 +1,111 @@
1/*
2 * Support for Raidsonic NAS-4220-B
3 *
4 * Copyright (C) 2009 Janos Laube <janos.dev@gmail.com>
5 *
6 * based on rut1xx.c
7 * Copyright (C) 2008 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 */
14
15#include <linux/kernel.h>
16#include <linux/init.h>
17#include <linux/platform_device.h>
18#include <linux/leds.h>
19#include <linux/input.h>
20#include <linux/gpio_keys.h>
21#include <linux/mdio-gpio.h>
22#include <linux/io.h>
23
24#include <asm/setup.h>
25#include <asm/mach-types.h>
26#include <asm/mach/arch.h>
27#include <asm/mach/time.h>
28
29#include <mach/hardware.h>
30#include <mach/global_reg.h>
31
32#include "common.h"
33
34static struct sys_timer ib4220b_timer = {
35 .init = gemini_timer_init,
36};
37
38static struct gpio_led ib4220b_leds[] = {
39 {
40 .name = "nas4220b:orange:hdd",
41 .default_trigger = "none",
42 .gpio = 60,
43 },
44 {
45 .name = "nas4220b:green:os",
46 .default_trigger = "heartbeat",
47 .gpio = 62,
48 },
49};
50
51static struct gpio_led_platform_data ib4220b_leds_data = {
52 .num_leds = ARRAY_SIZE(ib4220b_leds),
53 .leds = ib4220b_leds,
54};
55
56static struct platform_device ib4220b_led_device = {
57 .name = "leds-gpio",
58 .id = -1,
59 .dev = {
60 .platform_data = &ib4220b_leds_data,
61 },
62};
63
64static struct gpio_keys_button ib4220b_keys[] = {
65 {
66 .code = KEY_SETUP,
67 .gpio = 61,
68 .active_low = 1,
69 .desc = "Backup Button",
70 .type = EV_KEY,
71 },
72 {
73 .code = KEY_RESTART,
74 .gpio = 63,
75 .active_low = 1,
76 .desc = "Softreset Button",
77 .type = EV_KEY,
78 },
79};
80
81static struct gpio_keys_platform_data ib4220b_keys_data = {
82 .buttons = ib4220b_keys,
83 .nbuttons = ARRAY_SIZE(ib4220b_keys),
84};
85
86static struct platform_device ib4220b_key_device = {
87 .name = "gpio-keys",
88 .id = -1,
89 .dev = {
90 .platform_data = &ib4220b_keys_data,
91 },
92};
93
94static void __init ib4220b_init(void)
95{
96 gemini_gpio_init();
97 platform_register_uart();
98 platform_register_pflash(SZ_16M, NULL, 0);
99 platform_device_register(&ib4220b_led_device);
100 platform_device_register(&ib4220b_key_device);
101}
102
103MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B")
104 .phys_io = 0x7fffc000,
105 .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc,
106 .boot_params = 0x100,
107 .map_io = gemini_map_io,
108 .init_irq = gemini_init_irq,
109 .timer = &ib4220b_timer,
110 .init_machine = ib4220b_init,
111MACHINE_END
diff --git a/arch/arm/mach-gemini/board-wbd111.c b/arch/arm/mach-gemini/board-wbd111.c
new file mode 100644
index 000000000000..36538c15b3c4
--- /dev/null
+++ b/arch/arm/mach-gemini/board-wbd111.c
@@ -0,0 +1,143 @@
1/*
2 * Support for Wiliboard WBD-111
3 *
4 * Copyright (C) 2009 Imre Kaloz <kaloz@openwrt.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 */
11#include <linux/kernel.h>
12#include <linux/init.h>
13#include <linux/platform_device.h>
14#include <linux/leds.h>
15#include <linux/input.h>
16#include <linux/skbuff.h>
17#include <linux/gpio_keys.h>
18#include <linux/mdio-gpio.h>
19#include <linux/mtd/mtd.h>
20#include <linux/mtd/partitions.h>
21#include <asm/mach-types.h>
22#include <asm/mach/arch.h>
23#include <asm/mach/time.h>
24
25
26#include "common.h"
27
28static struct gpio_keys_button wbd111_keys[] = {
29 {
30 .code = KEY_SETUP,
31 .gpio = 5,
32 .active_low = 1,
33 .desc = "reset",
34 .type = EV_KEY,
35 },
36};
37
38static struct gpio_keys_platform_data wbd111_keys_data = {
39 .buttons = wbd111_keys,
40 .nbuttons = ARRAY_SIZE(wbd111_keys),
41};
42
43static struct platform_device wbd111_keys_device = {
44 .name = "gpio-keys",
45 .id = -1,
46 .dev = {
47 .platform_data = &wbd111_keys_data,
48 },
49};
50
51static struct gpio_led wbd111_leds[] = {
52 {
53 .name = "L3red",
54 .gpio = 1,
55 },
56 {
57 .name = "L4green",
58 .gpio = 2,
59 },
60 {
61 .name = "L4red",
62 .gpio = 3,
63 },
64 {
65 .name = "L3green",
66 .gpio = 5,
67 },
68};
69
70static struct gpio_led_platform_data wbd111_leds_data = {
71 .num_leds = ARRAY_SIZE(wbd111_leds),
72 .leds = wbd111_leds,
73};
74
75static struct platform_device wbd111_leds_device = {
76 .name = "leds-gpio",
77 .id = -1,
78 .dev = {
79 .platform_data = &wbd111_leds_data,
80 },
81};
82
83static struct sys_timer wbd111_timer = {
84 .init = gemini_timer_init,
85};
86
87#ifdef CONFIG_MTD_PARTITIONS
88static struct mtd_partition wbd111_partitions[] = {
89 {
90 .name = "RedBoot",
91 .offset = 0,
92 .size = 0x020000,
93 .mask_flags = MTD_WRITEABLE,
94 } , {
95 .name = "kernel",
96 .offset = 0x020000,
97 .size = 0x100000,
98 } , {
99 .name = "rootfs",
100 .offset = 0x120000,
101 .size = 0x6a0000,
102 } , {
103 .name = "VCTL",
104 .offset = 0x7c0000,
105 .size = 0x010000,
106 .mask_flags = MTD_WRITEABLE,
107 } , {
108 .name = "cfg",
109 .offset = 0x7d0000,
110 .size = 0x010000,
111 .mask_flags = MTD_WRITEABLE,
112 } , {
113 .name = "FIS",
114 .offset = 0x7e0000,
115 .size = 0x010000,
116 .mask_flags = MTD_WRITEABLE,
117 }
118};
119#define wbd111_num_partitions ARRAY_SIZE(wbd111_partitions)
120#else
121#define wbd111_partitions NULL
122#define wbd111_num_partitions 0
123#endif /* CONFIG_MTD_PARTITIONS */
124
125static void __init wbd111_init(void)
126{
127 gemini_gpio_init();
128 platform_register_uart();
129 platform_register_pflash(SZ_8M, wbd111_partitions,
130 wbd111_num_partitions);
131 platform_device_register(&wbd111_leds_device);
132 platform_device_register(&wbd111_keys_device);
133}
134
135MACHINE_START(WBD111, "Wiliboard WBD-111")
136 .phys_io = 0x7fffc000,
137 .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc,
138 .boot_params = 0x100,
139 .map_io = gemini_map_io,
140 .init_irq = gemini_init_irq,
141 .timer = &wbd111_timer,
142 .init_machine = wbd111_init,
143MACHINE_END
diff --git a/arch/arm/mach-gemini/board-wbd222.c b/arch/arm/mach-gemini/board-wbd222.c
new file mode 100644
index 000000000000..ece8b4c65110
--- /dev/null
+++ b/arch/arm/mach-gemini/board-wbd222.c
@@ -0,0 +1,143 @@
1/*
2 * Support for Wiliboard WBD-222
3 *
4 * Copyright (C) 2009 Imre Kaloz <kaloz@openwrt.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 */
11#include <linux/kernel.h>
12#include <linux/init.h>
13#include <linux/platform_device.h>
14#include <linux/leds.h>
15#include <linux/input.h>
16#include <linux/skbuff.h>
17#include <linux/gpio_keys.h>
18#include <linux/mdio-gpio.h>
19#include <linux/mtd/mtd.h>
20#include <linux/mtd/partitions.h>
21#include <asm/mach-types.h>
22#include <asm/mach/arch.h>
23#include <asm/mach/time.h>
24
25
26#include "common.h"
27
28static struct gpio_keys_button wbd222_keys[] = {
29 {
30 .code = KEY_SETUP,
31 .gpio = 5,
32 .active_low = 1,
33 .desc = "reset",
34 .type = EV_KEY,
35 },
36};
37
38static struct gpio_keys_platform_data wbd222_keys_data = {
39 .buttons = wbd222_keys,
40 .nbuttons = ARRAY_SIZE(wbd222_keys),
41};
42
43static struct platform_device wbd222_keys_device = {
44 .name = "gpio-keys",
45 .id = -1,
46 .dev = {
47 .platform_data = &wbd222_keys_data,
48 },
49};
50
51static struct gpio_led wbd222_leds[] = {
52 {
53 .name = "L3red",
54 .gpio = 1,
55 },
56 {
57 .name = "L4green",
58 .gpio = 2,
59 },
60 {
61 .name = "L4red",
62 .gpio = 3,
63 },
64 {
65 .name = "L3green",
66 .gpio = 5,
67 },
68};
69
70static struct gpio_led_platform_data wbd222_leds_data = {
71 .num_leds = ARRAY_SIZE(wbd222_leds),
72 .leds = wbd222_leds,
73};
74
75static struct platform_device wbd222_leds_device = {
76 .name = "leds-gpio",
77 .id = -1,
78 .dev = {
79 .platform_data = &wbd222_leds_data,
80 },
81};
82
83static struct sys_timer wbd222_timer = {
84 .init = gemini_timer_init,
85};
86
87#ifdef CONFIG_MTD_PARTITIONS
88static struct mtd_partition wbd222_partitions[] = {
89 {
90 .name = "RedBoot",
91 .offset = 0,
92 .size = 0x020000,
93 .mask_flags = MTD_WRITEABLE,
94 } , {
95 .name = "kernel",
96 .offset = 0x020000,
97 .size = 0x100000,
98 } , {
99 .name = "rootfs",
100 .offset = 0x120000,
101 .size = 0x6a0000,
102 } , {
103 .name = "VCTL",
104 .offset = 0x7c0000,
105 .size = 0x010000,
106 .mask_flags = MTD_WRITEABLE,
107 } , {
108 .name = "cfg",
109 .offset = 0x7d0000,
110 .size = 0x010000,
111 .mask_flags = MTD_WRITEABLE,
112 } , {
113 .name = "FIS",
114 .offset = 0x7e0000,
115 .size = 0x010000,
116 .mask_flags = MTD_WRITEABLE,
117 }
118};
119#define wbd222_num_partitions ARRAY_SIZE(wbd222_partitions)
120#else
121#define wbd222_partitions NULL
122#define wbd222_num_partitions 0
123#endif /* CONFIG_MTD_PARTITIONS */
124
125static void __init wbd222_init(void)
126{
127 gemini_gpio_init();
128 platform_register_uart();
129 platform_register_pflash(SZ_8M, wbd222_partitions,
130 wbd222_num_partitions);
131 platform_device_register(&wbd222_leds_device);
132 platform_device_register(&wbd222_keys_device);
133}
134
135MACHINE_START(WBD222, "Wiliboard WBD-222")
136 .phys_io = 0x7fffc000,
137 .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc,
138 .boot_params = 0x100,
139 .map_io = gemini_map_io,
140 .init_irq = gemini_init_irq,
141 .timer = &wbd222_timer,
142 .init_machine = wbd222_init,
143MACHINE_END
diff --git a/arch/arm/mach-h720x/include/mach/hardware.h b/arch/arm/mach-h720x/include/mach/hardware.h
index 6c19156e2a42..c55a52c6541d 100644
--- a/arch/arm/mach-h720x/include/mach/hardware.h
+++ b/arch/arm/mach-h720x/include/mach/hardware.h
@@ -182,8 +182,6 @@
182#define SERIAL_ENABLE_EN (1<<0) 182#define SERIAL_ENABLE_EN (1<<0)
183 183
184/* General defines to pacify gcc */ 184/* General defines to pacify gcc */
185#define PCIO_BASE (0) /* for inb, outb and friends */
186#define PCIO_VIRT PCIO_BASE
187 185
188#define __ASM_ARCH_HARDWARE_INCMACH_H 186#define __ASM_ARCH_HARDWARE_INCMACH_H
189#include "boards.h" 187#include "boards.h"
diff --git a/arch/arm/mach-integrator/include/mach/hardware.h b/arch/arm/mach-integrator/include/mach/hardware.h
index 8e26360ce9a3..57f51ba11251 100644
--- a/arch/arm/mach-integrator/include/mach/hardware.h
+++ b/arch/arm/mach-integrator/include/mach/hardware.h
@@ -32,7 +32,6 @@
32#define IO_SIZE 0x0B000000 // How much? 32#define IO_SIZE 0x0B000000 // How much?
33#define IO_START INTEGRATOR_HDR_BASE // PA of IO 33#define IO_START INTEGRATOR_HDR_BASE // PA of IO
34 34
35#define PCIO_BASE PCI_IO_VADDR
36#define PCIMEM_BASE PCI_MEMORY_VADDR 35#define PCIMEM_BASE PCI_MEMORY_VADDR
37 36
38#define pcibios_assign_all_busses() 1 37#define pcibios_assign_all_busses() 1
diff --git a/arch/arm/mach-ixp23xx/include/mach/hardware.h b/arch/arm/mach-ixp23xx/include/mach/hardware.h
index c3192009a886..57b508bfe280 100644
--- a/arch/arm/mach-ixp23xx/include/mach/hardware.h
+++ b/arch/arm/mach-ixp23xx/include/mach/hardware.h
@@ -15,7 +15,6 @@
15#define __ASM_ARCH_HARDWARE_H 15#define __ASM_ARCH_HARDWARE_H
16 16
17/* PCI IO info */ 17/* PCI IO info */
18#define PCIO_BASE IXP23XX_PCI_IO_VIRT
19#define PCIBIOS_MIN_IO 0x00000000 18#define PCIBIOS_MIN_IO 0x00000000
20#define PCIBIOS_MIN_MEM 0xe0000000 19#define PCIBIOS_MIN_MEM 0xe0000000
21 20
diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h
index 3d8d8cb09685..7f64d24cd564 100644
--- a/arch/arm/mach-pxa/include/mach/hardware.h
+++ b/arch/arm/mach-pxa/include/mach/hardware.h
@@ -14,11 +14,6 @@
14#define __ASM_ARCH_HARDWARE_H 14#define __ASM_ARCH_HARDWARE_H
15 15
16/* 16/*
17 * We requires absolute addresses.
18 */
19#define PCIO_BASE 0
20
21/*
22 * Workarounds for at least 2 errata so far require this. 17 * Workarounds for at least 2 errata so far require this.
23 * The mapping is set in mach-pxa/generic.c. 18 * The mapping is set in mach-pxa/generic.c.
24 */ 19 */
diff --git a/arch/arm/mach-versatile/include/mach/hardware.h b/arch/arm/mach-versatile/include/mach/hardware.h
index 4f8f99aac938..b5e75bb44965 100644
--- a/arch/arm/mach-versatile/include/mach/hardware.h
+++ b/arch/arm/mach-versatile/include/mach/hardware.h
@@ -30,15 +30,6 @@
30#define VERSATILE_PCI_VIRT_BASE (void __iomem *)0xe8000000ul 30#define VERSATILE_PCI_VIRT_BASE (void __iomem *)0xe8000000ul
31#define VERSATILE_PCI_CFG_VIRT_BASE (void __iomem *)0xe9000000ul 31#define VERSATILE_PCI_CFG_VIRT_BASE (void __iomem *)0xe9000000ul
32 32
33#if 0
34#define VERSATILE_PCI_VIRT_MEM_BASE0 0xf4000000
35#define VERSATILE_PCI_VIRT_MEM_BASE1 0xf5000000
36#define VERSATILE_PCI_VIRT_MEM_BASE2 0xf6000000
37
38#define PCIO_BASE VERSATILE_PCI_VIRT_MEM_BASE0
39#define PCIMEM_BASE VERSATILE_PCI_VIRT_MEM_BASE1
40#endif
41
42/* CIK guesswork */ 33/* CIK guesswork */
43#define PCIBIOS_MIN_IO 0x44000000 34#define PCIBIOS_MIN_IO 0x44000000
44#define PCIBIOS_MIN_MEM 0x50000000 35#define PCIBIOS_MIN_MEM 0x50000000