]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: Introduce ARCH_SHMOBILE_MULTI
authorMagnus Damm <damm@opensource.se>
Wed, 17 Jul 2013 20:31:09 +0000 (05:31 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 23 Jul 2013 00:50:59 +0000 (09:50 +0900)
Add ARCH_SHMOBILE_MULTI to mach-shmobile that can be used
to enable ARCH_MULTIPLATFORM on selected SoCs and boards.

The headers stay under arch/arm/mach-shmobile/include/mach/
for now, they can and will be migrated independently over time.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/Makefile
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/Makefile

index c0ac0f5e5e5c0900c5e0e081390e0af900005738..d1f717c59e7087ac543281831d9556c02e54ad61 100644 (file)
@@ -190,6 +190,7 @@ machine-$(CONFIG_ARCH_EXYNOS)               += exynos
 machine-$(CONFIG_ARCH_SA1100)          += sa1100
 machine-$(CONFIG_ARCH_SHARK)           += shark
 machine-$(CONFIG_ARCH_SHMOBILE)        += shmobile
+machine-$(CONFIG_ARCH_SHMOBILE_MULTI)  += shmobile
 machine-$(CONFIG_ARCH_TEGRA)           += tegra
 machine-$(CONFIG_ARCH_U300)            += u300
 machine-$(CONFIG_ARCH_U8500)           += ux500
index 7c5034aa1fe38fcdf8a190b5b08e25ef199a0f2b..4c54298db2d45ebdb1ae8bf952ae8bfdbb38e288 100644 (file)
@@ -1,3 +1,24 @@
+config ARCH_SHMOBILE_MULTI
+       bool "SH-Mobile Series" if ARCH_MULTI_V7
+       depends on MMU
+       select CPU_V7
+       select GENERIC_CLOCKEVENTS
+       select HAVE_ARM_SCU if SMP
+       select HAVE_ARM_TWD if LOCAL_TIMERS
+       select HAVE_SMP
+       select ARM_GIC
+       select MIGHT_HAVE_CACHE_L2X0
+       select NO_IOPORT
+       select PINCTRL
+       select ARCH_REQUIRE_GPIOLIB
+       select CLKDEV_LOOKUP
+
+if ARCH_SHMOBILE_MULTI
+
+comment "SH-Mobile System Type"
+
+endif
+
 if ARCH_SHMOBILE
 
 comment "SH-Mobile System Type"
index 5884bea3c3dadcd5e496048518b09b8598038190..b150c4508237beac48a76e2ee37b60125cfae1d8 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for the linux kernel.
 #
 
+ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/mach-shmobile/include
+
 # Common objects
 obj-y                          := timer.o console.o