diff options
author | Olof Johansson <olof@lixom.net> | 2012-09-21 01:53:18 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-09-21 01:54:07 -0400 |
commit | 5ae8d15f686f93d2ac60a7b16d8ddfbfdfc7c00f (patch) | |
tree | 4fd7a93ded75199748764b0e451e5751393e85b9 /arch/arm/Makefile | |
parent | b612a85792192b70e6497619521772c38ace758e (diff) | |
parent | 617276307cd4cdb9a95c77efaa3063695af63aa7 (diff) |
Merge tag 'multi-platform-for-3.7' of git://sources.calxeda.com/kernel/linux into next/multiplatform
Enable initial ARM multi-platform support for highbank, mvebu,
socfpga, picoxcell, and vexpress.
Multi-platform support is dependent on mach/gpio.h removal and
restructuring of DEBUG_LL and dtb build rules included in this branch.
This has been built for all defconfigs, and booted on highbank with
all 5 platforms enabled.
By Rob Herring (18) and Arnd Bergmann (1)
via Rob Herring
* tag 'multi-platform-for-3.7' of git://sources.calxeda.com/kernel/linux:
ARM: vexpress: convert to multi-platform
ARM: initial multiplatform support
ARM: mvebu: move armada-370-xp.h in mach dir
ARM: vexpress: remove dependency on mach/* headers
ARM: picoxcell: remove dependency on mach/* headers
ARM: move all dtb targets out of Makefile.boot
ARM: picoxcell: move debug macros to include/debug
ARM: socfpga: move debug macros to include/debug
ARM: mvebu: move debug macros to include/debug
ARM: vexpress: move debug macros to include/debug
ARM: highbank: move debug macros to include/debug
ARM: move debug macros to common location
ARM: make mach/gpio.h headers optional
ARM: orion: move custom gpio functions to orion-gpio.h
ARM: shmobile: move custom gpio functions to sh-gpio.h
ARM: pxa: use gpio_to_irq for sharppm_sl
net: pxaficp_ir: add irq resources
usb: pxa27x_udc: remove IRQ_USB define
staging: ste_rmi4: remove gpio.h include
Conflicts due to addition of bcm2835 and removal of pnx4008 in:
arch/arm/Kconfig
arch/arm/Makefile
Conflicts due to new dtb targets, moved to arch/arm/boot/dts/Makefile in:
arch/arm/mach-imx/Makefile.boot
arch/arm/mach-mxs/Makefile.boot
arch/arm/mach-tegra/Makefile.boot
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 150 |
1 files changed, 75 insertions, 75 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index f47618252e5d..1c974cf9db1b 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -135,84 +135,79 @@ textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 | |||
135 | 135 | ||
136 | # Machine directory name. This list is sorted alphanumerically | 136 | # Machine directory name. This list is sorted alphanumerically |
137 | # by CONFIG_* macro name. | 137 | # by CONFIG_* macro name. |
138 | machine-$(CONFIG_ARCH_AT91) := at91 | 138 | machine-$(CONFIG_ARCH_AT91) += at91 |
139 | machine-$(CONFIG_ARCH_BCM2835) := bcm2835 | 139 | machine-$(CONFIG_ARCH_BCM2835) += bcm2835 |
140 | machine-$(CONFIG_ARCH_BCMRING) := bcmring | 140 | machine-$(CONFIG_ARCH_BCMRING) += bcmring |
141 | machine-$(CONFIG_ARCH_CLPS711X) := clps711x | 141 | machine-$(CONFIG_ARCH_CLPS711X) += clps711x |
142 | machine-$(CONFIG_ARCH_CNS3XXX) := cns3xxx | 142 | machine-$(CONFIG_ARCH_CNS3XXX) += cns3xxx |
143 | machine-$(CONFIG_ARCH_DAVINCI) := davinci | 143 | machine-$(CONFIG_ARCH_DAVINCI) += davinci |
144 | machine-$(CONFIG_ARCH_DOVE) := dove | 144 | machine-$(CONFIG_ARCH_DOVE) += dove |
145 | machine-$(CONFIG_ARCH_EBSA110) := ebsa110 | 145 | machine-$(CONFIG_ARCH_EBSA110) += ebsa110 |
146 | machine-$(CONFIG_ARCH_EP93XX) := ep93xx | 146 | machine-$(CONFIG_ARCH_EP93XX) += ep93xx |
147 | machine-$(CONFIG_ARCH_GEMINI) := gemini | 147 | machine-$(CONFIG_ARCH_GEMINI) += gemini |
148 | machine-$(CONFIG_ARCH_H720X) := h720x | 148 | machine-$(CONFIG_ARCH_H720X) += h720x |
149 | machine-$(CONFIG_ARCH_HIGHBANK) := highbank | 149 | machine-$(CONFIG_ARCH_HIGHBANK) += highbank |
150 | machine-$(CONFIG_ARCH_INTEGRATOR) := integrator | 150 | machine-$(CONFIG_ARCH_INTEGRATOR) += integrator |
151 | machine-$(CONFIG_ARCH_IOP13XX) := iop13xx | 151 | machine-$(CONFIG_ARCH_IOP13XX) += iop13xx |
152 | machine-$(CONFIG_ARCH_IOP32X) := iop32x | 152 | machine-$(CONFIG_ARCH_IOP32X) += iop32x |
153 | machine-$(CONFIG_ARCH_IOP33X) := iop33x | 153 | machine-$(CONFIG_ARCH_IOP33X) += iop33x |
154 | machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx | 154 | machine-$(CONFIG_ARCH_IXP4XX) += ixp4xx |
155 | machine-$(CONFIG_ARCH_KIRKWOOD) := kirkwood | 155 | machine-$(CONFIG_ARCH_KIRKWOOD) += kirkwood |
156 | machine-$(CONFIG_ARCH_KS8695) := ks8695 | 156 | machine-$(CONFIG_ARCH_KS8695) += ks8695 |
157 | machine-$(CONFIG_ARCH_LPC32XX) := lpc32xx | 157 | machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx |
158 | machine-$(CONFIG_ARCH_MMP) := mmp | 158 | machine-$(CONFIG_ARCH_MMP) += mmp |
159 | machine-$(CONFIG_ARCH_MSM) := msm | 159 | machine-$(CONFIG_ARCH_MSM) += msm |
160 | machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0 | 160 | machine-$(CONFIG_ARCH_MV78XX0) += mv78xx0 |
161 | machine-$(CONFIG_ARCH_IMX_V4_V5) := imx | 161 | machine-$(CONFIG_ARCH_MXC) += imx |
162 | machine-$(CONFIG_ARCH_IMX_V6_V7) := imx | 162 | machine-$(CONFIG_ARCH_MXS) += mxs |
163 | machine-$(CONFIG_ARCH_MXS) := mxs | 163 | machine-$(CONFIG_ARCH_MVEBU) += mvebu |
164 | machine-$(CONFIG_ARCH_MVEBU) := mvebu | 164 | machine-$(CONFIG_ARCH_NETX) += netx |
165 | machine-$(CONFIG_ARCH_NETX) := netx | 165 | machine-$(CONFIG_ARCH_NOMADIK) += nomadik |
166 | machine-$(CONFIG_ARCH_NOMADIK) := nomadik | 166 | machine-$(CONFIG_ARCH_OMAP1) += omap1 |
167 | machine-$(CONFIG_ARCH_OMAP1) := omap1 | 167 | machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2 |
168 | machine-$(CONFIG_ARCH_OMAP2PLUS) := omap2 | 168 | machine-$(CONFIG_ARCH_ORION5X) += orion5x |
169 | machine-$(CONFIG_ARCH_ORION5X) := orion5x | 169 | machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell |
170 | machine-$(CONFIG_ARCH_PICOXCELL) := picoxcell | 170 | machine-$(CONFIG_ARCH_PRIMA2) += prima2 |
171 | machine-$(CONFIG_ARCH_PRIMA2) := prima2 | 171 | machine-$(CONFIG_ARCH_PXA) += pxa |
172 | machine-$(CONFIG_ARCH_PXA) := pxa | 172 | machine-$(CONFIG_ARCH_REALVIEW) += realview |
173 | machine-$(CONFIG_ARCH_REALVIEW) := realview | 173 | machine-$(CONFIG_ARCH_RPC) += rpc |
174 | machine-$(CONFIG_ARCH_RPC) := rpc | 174 | machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx s3c2412 s3c2440 |
175 | machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2440 | 175 | machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx |
176 | machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx | 176 | machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0 |
177 | machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 | 177 | machine-$(CONFIG_ARCH_S5PC100) += s5pc100 |
178 | machine-$(CONFIG_ARCH_S5PC100) := s5pc100 | 178 | machine-$(CONFIG_ARCH_S5PV210) += s5pv210 |
179 | machine-$(CONFIG_ARCH_S5PV210) := s5pv210 | 179 | machine-$(CONFIG_ARCH_EXYNOS) += exynos |
180 | machine-$(CONFIG_ARCH_EXYNOS4) := exynos | 180 | machine-$(CONFIG_ARCH_SA1100) += sa1100 |
181 | machine-$(CONFIG_ARCH_EXYNOS5) := exynos | 181 | machine-$(CONFIG_ARCH_SHARK) += shark |
182 | machine-$(CONFIG_ARCH_SA1100) := sa1100 | 182 | machine-$(CONFIG_ARCH_SHMOBILE) += shmobile |
183 | machine-$(CONFIG_ARCH_SHARK) := shark | 183 | machine-$(CONFIG_ARCH_TEGRA) += tegra |
184 | machine-$(CONFIG_ARCH_SHMOBILE) := shmobile | 184 | machine-$(CONFIG_ARCH_U300) += u300 |
185 | machine-$(CONFIG_ARCH_TEGRA) := tegra | 185 | machine-$(CONFIG_ARCH_U8500) += ux500 |
186 | machine-$(CONFIG_ARCH_U300) := u300 | 186 | machine-$(CONFIG_ARCH_VERSATILE) += versatile |
187 | machine-$(CONFIG_ARCH_U8500) := ux500 | 187 | machine-$(CONFIG_ARCH_VEXPRESS) += vexpress |
188 | machine-$(CONFIG_ARCH_VERSATILE) := versatile | 188 | machine-$(CONFIG_ARCH_VT8500) += vt8500 |
189 | machine-$(CONFIG_ARCH_VEXPRESS) := vexpress | 189 | machine-$(CONFIG_ARCH_W90X900) += w90x900 |
190 | machine-$(CONFIG_ARCH_VT8500) := vt8500 | 190 | machine-$(CONFIG_FOOTBRIDGE) += footbridge |
191 | machine-$(CONFIG_ARCH_W90X900) := w90x900 | 191 | machine-$(CONFIG_ARCH_SOCFPGA) += socfpga |
192 | machine-$(CONFIG_FOOTBRIDGE) := footbridge | 192 | machine-$(CONFIG_ARCH_SPEAR13XX) += spear13xx |
193 | machine-$(CONFIG_ARCH_SOCFPGA) := socfpga | 193 | machine-$(CONFIG_ARCH_SPEAR3XX) += spear3xx |
194 | machine-$(CONFIG_MACH_SPEAR1310) := spear13xx | 194 | machine-$(CONFIG_MACH_SPEAR600) += spear6xx |
195 | machine-$(CONFIG_MACH_SPEAR1340) := spear13xx | 195 | machine-$(CONFIG_ARCH_ZYNQ) += zynq |
196 | machine-$(CONFIG_MACH_SPEAR300) := spear3xx | ||
197 | machine-$(CONFIG_MACH_SPEAR310) := spear3xx | ||
198 | machine-$(CONFIG_MACH_SPEAR320) := spear3xx | ||
199 | machine-$(CONFIG_MACH_SPEAR600) := spear6xx | ||
200 | machine-$(CONFIG_ARCH_ZYNQ) := zynq | ||
201 | 196 | ||
202 | # Platform directory name. This list is sorted alphanumerically | 197 | # Platform directory name. This list is sorted alphanumerically |
203 | # by CONFIG_* macro name. | 198 | # by CONFIG_* macro name. |
204 | plat-$(CONFIG_ARCH_MXC) := mxc | 199 | plat-$(CONFIG_ARCH_MXC) += mxc |
205 | plat-$(CONFIG_ARCH_OMAP) := omap | 200 | plat-$(CONFIG_ARCH_OMAP) += omap |
206 | plat-$(CONFIG_ARCH_S3C64XX) := samsung | 201 | plat-$(CONFIG_ARCH_S3C64XX) += samsung |
207 | plat-$(CONFIG_ARCH_ZYNQ) := versatile | 202 | plat-$(CONFIG_ARCH_ZYNQ) += versatile |
208 | plat-$(CONFIG_PLAT_IOP) := iop | 203 | plat-$(CONFIG_PLAT_IOP) += iop |
209 | plat-$(CONFIG_PLAT_NOMADIK) := nomadik | 204 | plat-$(CONFIG_PLAT_NOMADIK) += nomadik |
210 | plat-$(CONFIG_PLAT_ORION) := orion | 205 | plat-$(CONFIG_PLAT_ORION) += orion |
211 | plat-$(CONFIG_PLAT_PXA) := pxa | 206 | plat-$(CONFIG_PLAT_PXA) += pxa |
212 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung | 207 | plat-$(CONFIG_PLAT_S3C24XX) += s3c24xx samsung |
213 | plat-$(CONFIG_PLAT_S5P) := samsung | 208 | plat-$(CONFIG_PLAT_S5P) += samsung |
214 | plat-$(CONFIG_PLAT_SPEAR) := spear | 209 | plat-$(CONFIG_PLAT_SPEAR) += spear |
215 | plat-$(CONFIG_PLAT_VERSATILE) := versatile | 210 | plat-$(CONFIG_PLAT_VERSATILE) += versatile |
216 | 211 | ||
217 | ifeq ($(CONFIG_ARCH_EBSA110),y) | 212 | ifeq ($(CONFIG_ARCH_EBSA110),y) |
218 | # This is what happens if you forget the IOCS16 line. | 213 | # This is what happens if you forget the IOCS16 line. |
@@ -230,15 +225,20 @@ MACHINE := arch/arm/mach-$(word 1,$(machine-y))/ | |||
230 | else | 225 | else |
231 | MACHINE := | 226 | MACHINE := |
232 | endif | 227 | endif |
228 | ifeq ($(CONFIG_ARCH_MULTIPLATFORM),y) | ||
229 | MACHINE := | ||
230 | endif | ||
233 | 231 | ||
234 | machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) | 232 | machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) |
235 | platdirs := $(patsubst %,arch/arm/plat-%/,$(plat-y)) | 233 | platdirs := $(patsubst %,arch/arm/plat-%/,$(plat-y)) |
236 | 234 | ||
235 | ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y) | ||
237 | ifeq ($(KBUILD_SRC),) | 236 | ifeq ($(KBUILD_SRC),) |
238 | KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) | 237 | KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) |
239 | else | 238 | else |
240 | KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) | 239 | KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) |
241 | endif | 240 | endif |
241 | endif | ||
242 | 242 | ||
243 | export TEXT_OFFSET GZFLAGS MMUEXT | 243 | export TEXT_OFFSET GZFLAGS MMUEXT |
244 | 244 | ||