diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-11-09 07:33:48 -0500 |
|---|---|---|
| committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-10 02:52:18 -0500 |
| commit | bf98c1eac1d4a6bcf00532e4fa41d8126cd6c187 (patch) | |
| tree | dfe4a81c726e130e52419fd9d318cc4138391828 | |
| parent | cf4f85ccd5c235123a8a1827d2265da5c33a1bb0 (diff) | |
ARM: Rename ARCH_SHMOBILE to ARCH_SHMOBILE_LEGACY
SH-Mobile platforms are transitioning from non-multiplatform to
multiplatform kernel. A new ARCH_SHMOBILE_MULTI configuration symbol has
been created to group all multiplatform-enabled SH-Mobile SoCs. The
existing ARCH_SHMOBILE configuration symbol groups SoCs that haven't
been converted yet.
This arrangement works fine for the arch/ code, but lots of drivers
needed on both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI depend on
ARCH_SHMOBILE only. In order to avoid changing them, rename
ARCH_SHMOBILE to ARCH_SHMOBILE_LEGACY, and create a new boolean
ARCH_SHMOBILE configuration symbol that is selected by both
ARCH_SHMOBILE_LEGACY and ARCH_SHMOBILE_MULTI.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
| -rw-r--r-- | arch/arm/Kconfig | 14 | ||||
| -rw-r--r-- | arch/arm/Makefile | 1 | ||||
| -rw-r--r-- | arch/arm/boot/compressed/Makefile | 2 | ||||
| -rw-r--r-- | arch/arm/boot/dts/Makefile | 2 | ||||
| -rw-r--r-- | arch/arm/configs/ape6evm_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/armadillo800eva_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/bockw_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/koelsch_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/kzm9d_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/kzm9g_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/lager_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/mackerel_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/configs/marzen_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 8 | ||||
| -rw-r--r-- | drivers/Makefile | 2 |
15 files changed, 26 insertions, 21 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c1f1a7eee953..483d316543ad 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -644,8 +644,9 @@ config ARCH_MSM | |||
| 644 | stack and controls some vital subsystems | 644 | stack and controls some vital subsystems |
| 645 | (clock and power control, etc). | 645 | (clock and power control, etc). |
| 646 | 646 | ||
| 647 | config ARCH_SHMOBILE | 647 | config ARCH_SHMOBILE_LEGACY |
| 648 | bool "Renesas SH-Mobile / R-Mobile" | 648 | bool "Renesas SH-Mobile / R-Mobile (non-multiplatform)" |
| 649 | select ARCH_SHMOBILE | ||
| 649 | select ARM_PATCH_PHYS_VIRT | 650 | select ARM_PATCH_PHYS_VIRT |
| 650 | select CLKDEV_LOOKUP | 651 | select CLKDEV_LOOKUP |
| 651 | select GENERIC_CLOCKEVENTS | 652 | select GENERIC_CLOCKEVENTS |
| @@ -660,7 +661,8 @@ config ARCH_SHMOBILE | |||
| 660 | select PM_GENERIC_DOMAINS if PM | 661 | select PM_GENERIC_DOMAINS if PM |
| 661 | select SPARSE_IRQ | 662 | select SPARSE_IRQ |
| 662 | help | 663 | help |
| 663 | Support for Renesas's SH-Mobile and R-Mobile ARM platforms. | 664 | Support for Renesas's SH-Mobile and R-Mobile ARM platforms using |
| 665 | a non-multiplatform kernel. | ||
| 664 | 666 | ||
| 665 | config ARCH_RPC | 667 | config ARCH_RPC |
| 666 | bool "RiscPC" | 668 | bool "RiscPC" |
| @@ -1611,7 +1613,7 @@ config HZ_FIXED | |||
| 1611 | default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ | 1613 | default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ |
| 1612 | ARCH_S5PV210 || ARCH_EXYNOS4 | 1614 | ARCH_S5PV210 || ARCH_EXYNOS4 |
| 1613 | default AT91_TIMER_HZ if ARCH_AT91 | 1615 | default AT91_TIMER_HZ if ARCH_AT91 |
| 1614 | default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE | 1616 | default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE_LEGACY |
| 1615 | default 0 | 1617 | default 0 |
| 1616 | 1618 | ||
| 1617 | choice | 1619 | choice |
| @@ -1796,8 +1798,8 @@ config ARCH_WANT_GENERAL_HUGETLB | |||
| 1796 | source "mm/Kconfig" | 1798 | source "mm/Kconfig" |
| 1797 | 1799 | ||
| 1798 | config FORCE_MAX_ZONEORDER | 1800 | config FORCE_MAX_ZONEORDER |
| 1799 | int "Maximum zone order" if ARCH_SHMOBILE | 1801 | int "Maximum zone order" if ARCH_SHMOBILE_LEGACY |
| 1800 | range 11 64 if ARCH_SHMOBILE | 1802 | range 11 64 if ARCH_SHMOBILE_LEGACY |
| 1801 | default "12" if SOC_AM33XX | 1803 | default "12" if SOC_AM33XX |
| 1802 | default "9" if SA1111 | 1804 | default "9" if SA1111 |
| 1803 | default "11" | 1805 | default "11" |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index c99b1086d83d..1edf8ebd8494 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
| @@ -190,7 +190,6 @@ machine-$(CONFIG_ARCH_S5PC100) += s5pc100 | |||
| 190 | machine-$(CONFIG_ARCH_S5PV210) += s5pv210 | 190 | machine-$(CONFIG_ARCH_S5PV210) += s5pv210 |
| 191 | machine-$(CONFIG_ARCH_SA1100) += sa1100 | 191 | machine-$(CONFIG_ARCH_SA1100) += sa1100 |
| 192 | machine-$(CONFIG_ARCH_SHMOBILE) += shmobile | 192 | machine-$(CONFIG_ARCH_SHMOBILE) += shmobile |
| 193 | machine-$(CONFIG_ARCH_SHMOBILE_MULTI) += shmobile | ||
| 194 | machine-$(CONFIG_ARCH_SIRF) += prima2 | 193 | machine-$(CONFIG_ARCH_SIRF) += prima2 |
| 195 | machine-$(CONFIG_ARCH_SOCFPGA) += socfpga | 194 | machine-$(CONFIG_ARCH_SOCFPGA) += socfpga |
| 196 | machine-$(CONFIG_ARCH_STI) += sti | 195 | machine-$(CONFIG_ARCH_STI) += sti |
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index e7190bb5998e..f54d5a25c7ee 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
| @@ -64,7 +64,7 @@ else | |||
| 64 | endif | 64 | endif |
| 65 | endif | 65 | endif |
| 66 | 66 | ||
| 67 | ifeq ($(CONFIG_ARCH_SHMOBILE),y) | 67 | ifeq ($(CONFIG_ARCH_SHMOBILE_LEGACY),y) |
| 68 | OBJS += head-shmobile.o | 68 | OBJS += head-shmobile.o |
| 69 | endif | 69 | endif |
| 70 | 70 | ||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d57c1a65b24f..5839077fac91 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
| @@ -216,7 +216,7 @@ dtb-$(CONFIG_ARCH_U8500) += ste-snowball.dtb \ | |||
| 216 | dtb-$(CONFIG_ARCH_S3C24XX) += s3c2416-smdk2416.dtb | 216 | dtb-$(CONFIG_ARCH_S3C24XX) += s3c2416-smdk2416.dtb |
| 217 | dtb-$(CONFIG_ARCH_S3C64XX) += s3c6410-mini6410.dtb \ | 217 | dtb-$(CONFIG_ARCH_S3C64XX) += s3c6410-mini6410.dtb \ |
| 218 | s3c6410-smdk6410.dtb | 218 | s3c6410-smdk6410.dtb |
| 219 | dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \ | 219 | dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += emev2-kzm9d.dtb \ |
| 220 | r7s72100-genmai.dtb \ | 220 | r7s72100-genmai.dtb \ |
| 221 | r8a7740-armadillo800eva.dtb \ | 221 | r8a7740-armadillo800eva.dtb \ |
| 222 | r8a7778-bockw.dtb \ | 222 | r8a7778-bockw.dtb \ |
diff --git a/arch/arm/configs/ape6evm_defconfig b/arch/arm/configs/ape6evm_defconfig index 1ce39940795d..cb26c62dc722 100644 --- a/arch/arm/configs/ape6evm_defconfig +++ b/arch/arm/configs/ape6evm_defconfig | |||
| @@ -13,7 +13,7 @@ CONFIG_EMBEDDED=y | |||
| 13 | CONFIG_PERF_EVENTS=y | 13 | CONFIG_PERF_EVENTS=y |
| 14 | CONFIG_SLAB=y | 14 | CONFIG_SLAB=y |
| 15 | # CONFIG_BLOCK is not set | 15 | # CONFIG_BLOCK is not set |
| 16 | CONFIG_ARCH_SHMOBILE=y | 16 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 17 | CONFIG_ARCH_R8A73A4=y | 17 | CONFIG_ARCH_R8A73A4=y |
| 18 | CONFIG_MACH_APE6EVM=y | 18 | CONFIG_MACH_APE6EVM=y |
| 19 | # CONFIG_ARM_THUMB is not set | 19 | # CONFIG_ARM_THUMB is not set |
diff --git a/arch/arm/configs/armadillo800eva_defconfig b/arch/arm/configs/armadillo800eva_defconfig index fae939d3d7f0..5abf1a2e3160 100644 --- a/arch/arm/configs/armadillo800eva_defconfig +++ b/arch/arm/configs/armadillo800eva_defconfig | |||
| @@ -15,7 +15,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y | |||
| 15 | # CONFIG_BLK_DEV_BSG is not set | 15 | # CONFIG_BLK_DEV_BSG is not set |
| 16 | # CONFIG_IOSCHED_DEADLINE is not set | 16 | # CONFIG_IOSCHED_DEADLINE is not set |
| 17 | # CONFIG_IOSCHED_CFQ is not set | 17 | # CONFIG_IOSCHED_CFQ is not set |
| 18 | CONFIG_ARCH_SHMOBILE=y | 18 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 19 | CONFIG_ARCH_R8A7740=y | 19 | CONFIG_ARCH_R8A7740=y |
| 20 | CONFIG_MACH_ARMADILLO800EVA=y | 20 | CONFIG_MACH_ARMADILLO800EVA=y |
| 21 | # CONFIG_SH_TIMER_TMU is not set | 21 | # CONFIG_SH_TIMER_TMU is not set |
diff --git a/arch/arm/configs/bockw_defconfig b/arch/arm/configs/bockw_defconfig index b38cd107f82d..1dd39716d7cb 100644 --- a/arch/arm/configs/bockw_defconfig +++ b/arch/arm/configs/bockw_defconfig | |||
| @@ -8,7 +8,7 @@ CONFIG_SYSCTL_SYSCALL=y | |||
| 8 | CONFIG_EMBEDDED=y | 8 | CONFIG_EMBEDDED=y |
| 9 | CONFIG_SLAB=y | 9 | CONFIG_SLAB=y |
| 10 | # CONFIG_IOSCHED_CFQ is not set | 10 | # CONFIG_IOSCHED_CFQ is not set |
| 11 | CONFIG_ARCH_SHMOBILE=y | 11 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 12 | CONFIG_ARCH_R8A7778=y | 12 | CONFIG_ARCH_R8A7778=y |
| 13 | CONFIG_MACH_BOCKW=y | 13 | CONFIG_MACH_BOCKW=y |
| 14 | CONFIG_MEMORY_START=0x60000000 | 14 | CONFIG_MEMORY_START=0x60000000 |
diff --git a/arch/arm/configs/koelsch_defconfig b/arch/arm/configs/koelsch_defconfig index 825c16dee8a0..7fd65a01ec7e 100644 --- a/arch/arm/configs/koelsch_defconfig +++ b/arch/arm/configs/koelsch_defconfig | |||
| @@ -9,7 +9,7 @@ CONFIG_EMBEDDED=y | |||
| 9 | CONFIG_PERF_EVENTS=y | 9 | CONFIG_PERF_EVENTS=y |
| 10 | CONFIG_SLAB=y | 10 | CONFIG_SLAB=y |
| 11 | # CONFIG_BLOCK is not set | 11 | # CONFIG_BLOCK is not set |
| 12 | CONFIG_ARCH_SHMOBILE=y | 12 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 13 | CONFIG_ARCH_R8A7791=y | 13 | CONFIG_ARCH_R8A7791=y |
| 14 | CONFIG_MACH_KOELSCH=y | 14 | CONFIG_MACH_KOELSCH=y |
| 15 | # CONFIG_SWP_EMULATE is not set | 15 | # CONFIG_SWP_EMULATE is not set |
diff --git a/arch/arm/configs/kzm9d_defconfig b/arch/arm/configs/kzm9d_defconfig index 6c37f4a98eb8..217f1dda2965 100644 --- a/arch/arm/configs/kzm9d_defconfig +++ b/arch/arm/configs/kzm9d_defconfig | |||
| @@ -13,7 +13,7 @@ CONFIG_SLAB=y | |||
| 13 | # CONFIG_BLK_DEV_BSG is not set | 13 | # CONFIG_BLK_DEV_BSG is not set |
| 14 | # CONFIG_IOSCHED_DEADLINE is not set | 14 | # CONFIG_IOSCHED_DEADLINE is not set |
| 15 | # CONFIG_IOSCHED_CFQ is not set | 15 | # CONFIG_IOSCHED_CFQ is not set |
| 16 | CONFIG_ARCH_SHMOBILE=y | 16 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 17 | CONFIG_ARCH_EMEV2=y | 17 | CONFIG_ARCH_EMEV2=y |
| 18 | CONFIG_MACH_KZM9D=y | 18 | CONFIG_MACH_KZM9D=y |
| 19 | CONFIG_MEMORY_START=0x40000000 | 19 | CONFIG_MEMORY_START=0x40000000 |
diff --git a/arch/arm/configs/kzm9g_defconfig b/arch/arm/configs/kzm9g_defconfig index 1ad028023a64..9934dbc23d64 100644 --- a/arch/arm/configs/kzm9g_defconfig +++ b/arch/arm/configs/kzm9g_defconfig | |||
| @@ -22,7 +22,7 @@ CONFIG_MODULE_UNLOAD=y | |||
| 22 | # CONFIG_BLK_DEV_BSG is not set | 22 | # CONFIG_BLK_DEV_BSG is not set |
| 23 | # CONFIG_IOSCHED_DEADLINE is not set | 23 | # CONFIG_IOSCHED_DEADLINE is not set |
| 24 | # CONFIG_IOSCHED_CFQ is not set | 24 | # CONFIG_IOSCHED_CFQ is not set |
| 25 | CONFIG_ARCH_SHMOBILE=y | 25 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 26 | CONFIG_ARCH_SH73A0=y | 26 | CONFIG_ARCH_SH73A0=y |
| 27 | CONFIG_MACH_KZM9G=y | 27 | CONFIG_MACH_KZM9G=y |
| 28 | CONFIG_MEMORY_START=0x41000000 | 28 | CONFIG_MEMORY_START=0x41000000 |
diff --git a/arch/arm/configs/lager_defconfig b/arch/arm/configs/lager_defconfig index 35bff5e0d57a..35dc8b2be47f 100644 --- a/arch/arm/configs/lager_defconfig +++ b/arch/arm/configs/lager_defconfig | |||
| @@ -12,7 +12,7 @@ CONFIG_SLAB=y | |||
| 12 | # CONFIG_BLK_DEV_BSG is not set | 12 | # CONFIG_BLK_DEV_BSG is not set |
| 13 | # CONFIG_IOSCHED_DEADLINE is not set | 13 | # CONFIG_IOSCHED_DEADLINE is not set |
| 14 | # CONFIG_IOSCHED_CFQ is not set | 14 | # CONFIG_IOSCHED_CFQ is not set |
| 15 | CONFIG_ARCH_SHMOBILE=y | 15 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 16 | CONFIG_ARCH_R8A7790=y | 16 | CONFIG_ARCH_R8A7790=y |
| 17 | CONFIG_MACH_LAGER=y | 17 | CONFIG_MACH_LAGER=y |
| 18 | # CONFIG_SH_TIMER_TMU is not set | 18 | # CONFIG_SH_TIMER_TMU is not set |
diff --git a/arch/arm/configs/mackerel_defconfig b/arch/arm/configs/mackerel_defconfig index 9fb11895b2e2..a61e1653fc5e 100644 --- a/arch/arm/configs/mackerel_defconfig +++ b/arch/arm/configs/mackerel_defconfig | |||
| @@ -14,7 +14,7 @@ CONFIG_MODULE_UNLOAD=y | |||
| 14 | # CONFIG_BLK_DEV_BSG is not set | 14 | # CONFIG_BLK_DEV_BSG is not set |
| 15 | # CONFIG_IOSCHED_DEADLINE is not set | 15 | # CONFIG_IOSCHED_DEADLINE is not set |
| 16 | # CONFIG_IOSCHED_CFQ is not set | 16 | # CONFIG_IOSCHED_CFQ is not set |
| 17 | CONFIG_ARCH_SHMOBILE=y | 17 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 18 | CONFIG_ARCH_SH7372=y | 18 | CONFIG_ARCH_SH7372=y |
| 19 | CONFIG_MACH_MACKEREL=y | 19 | CONFIG_MACH_MACKEREL=y |
| 20 | CONFIG_MEMORY_SIZE=0x10000000 | 20 | CONFIG_MEMORY_SIZE=0x10000000 |
diff --git a/arch/arm/configs/marzen_defconfig b/arch/arm/configs/marzen_defconfig index 5cc6360340b1..6981338cd08d 100644 --- a/arch/arm/configs/marzen_defconfig +++ b/arch/arm/configs/marzen_defconfig | |||
| @@ -9,7 +9,7 @@ CONFIG_SYSCTL_SYSCALL=y | |||
| 9 | CONFIG_EMBEDDED=y | 9 | CONFIG_EMBEDDED=y |
| 10 | CONFIG_SLAB=y | 10 | CONFIG_SLAB=y |
| 11 | # CONFIG_IOSCHED_CFQ is not set | 11 | # CONFIG_IOSCHED_CFQ is not set |
| 12 | CONFIG_ARCH_SHMOBILE=y | 12 | CONFIG_ARCH_SHMOBILE_LEGACY=y |
| 13 | CONFIG_ARCH_R8A7779=y | 13 | CONFIG_ARCH_R8A7779=y |
| 14 | CONFIG_MACH_MARZEN=y | 14 | CONFIG_MACH_MARZEN=y |
| 15 | CONFIG_MEMORY_START=0x60000000 | 15 | CONFIG_MEMORY_START=0x60000000 |
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 180b71fd86f8..1b7df173db0e 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | config ARCH_SHMOBILE | ||
| 2 | bool | ||
| 3 | |||
| 1 | config ARCH_SHMOBILE_MULTI | 4 | config ARCH_SHMOBILE_MULTI |
| 2 | bool "SH-Mobile Series" if ARCH_MULTI_V7 | 5 | bool "SH-Mobile Series" if ARCH_MULTI_V7 |
| 3 | depends on MMU | 6 | depends on MMU |
| 7 | select ARCH_SHMOBILE | ||
| 4 | select CPU_V7 | 8 | select CPU_V7 |
| 5 | select GENERIC_CLOCKEVENTS | 9 | select GENERIC_CLOCKEVENTS |
| 6 | select HAVE_ARM_SCU if SMP | 10 | select HAVE_ARM_SCU if SMP |
| @@ -30,7 +34,7 @@ config MACH_KZM9D | |||
| 30 | comment "SH-Mobile System Configuration" | 34 | comment "SH-Mobile System Configuration" |
| 31 | endif | 35 | endif |
| 32 | 36 | ||
| 33 | if ARCH_SHMOBILE | 37 | if ARCH_SHMOBILE_LEGACY |
| 34 | 38 | ||
| 35 | comment "SH-Mobile System Type" | 39 | comment "SH-Mobile System Type" |
| 36 | 40 | ||
| @@ -272,7 +276,7 @@ source "drivers/sh/Kconfig" | |||
| 272 | 276 | ||
| 273 | endif | 277 | endif |
| 274 | 278 | ||
| 275 | if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI | 279 | if ARCH_SHMOBILE |
| 276 | 280 | ||
| 277 | menu "Timer and clock configuration" | 281 | menu "Timer and clock configuration" |
| 278 | 282 | ||
diff --git a/drivers/Makefile b/drivers/Makefile index 3cc8214f9b26..8e3b8b06c0b2 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
| @@ -118,7 +118,7 @@ obj-$(CONFIG_SGI_SN) += sn/ | |||
| 118 | obj-y += firmware/ | 118 | obj-y += firmware/ |
| 119 | obj-$(CONFIG_CRYPTO) += crypto/ | 119 | obj-$(CONFIG_CRYPTO) += crypto/ |
| 120 | obj-$(CONFIG_SUPERH) += sh/ | 120 | obj-$(CONFIG_SUPERH) += sh/ |
| 121 | obj-$(CONFIG_ARCH_SHMOBILE) += sh/ | 121 | obj-$(CONFIG_ARCH_SHMOBILE_LEGACY) += sh/ |
| 122 | ifndef CONFIG_ARCH_USES_GETTIMEOFFSET | 122 | ifndef CONFIG_ARCH_USES_GETTIMEOFFSET |
| 123 | obj-y += clocksource/ | 123 | obj-y += clocksource/ |
| 124 | endif | 124 | endif |
