Skip to content

Commit 9b5ba0d

Browse files
committed
ARM: shmobile: Introduce ARCH_RENESAS
The purpose of this patch is to start the process of replacing both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI with ARCH_RENESAS. RENESAS seems to be a more appropriate name than SHMOBILE for the majority of Renesas 32-bit ARM based SoCs. The name is conveniently also (newer) ARM64 based SoCs. This patches only addresses 32-bit ARM based SoCs. Proposed support for the ARM64 based r8a7795 SoC already uses ARCH_RENESAS which selects ARCH_SHMOBILE. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 804b0d7 commit 9b5ba0d

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎arch/arm/configs/multi_v7_defconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ CONFIG_MACH_SPEAR1340=y
7575
CONFIG_ARCH_STI=y
7676
CONFIG_ARCH_EXYNOS=y
7777
CONFIG_EXYNOS5420_MCPM=y
78-
CONFIG_ARCH_SHMOBILE_MULTI=y
78+
CONFIG_ARCH_RENESAS=y
7979
CONFIG_ARCH_EMEV2=y
8080
CONFIG_ARCH_R7S72100=y
8181
CONFIG_ARCH_R8A73A4=y

‎arch/arm/configs/shmobile_defconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CONFIG_SYSCTL_SYSCALL=y
99
CONFIG_EMBEDDED=y
1010
CONFIG_PERF_EVENTS=y
1111
CONFIG_SLAB=y
12-
CONFIG_ARCH_SHMOBILE_MULTI=y
12+
CONFIG_ARCH_RENESAS=y
1313
CONFIG_ARCH_EMEV2=y
1414
CONFIG_ARCH_R7S72100=y
1515
CONFIG_ARCH_R8A73A4=y

‎arch/arm/mach-shmobile/Kconfig‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
config ARCH_SHMOBILE
22
bool
3-
select ZONE_DMA if ARM_LPAE
3+
4+
config ARCH_SHMOBILE_MULTI
5+
bool
46

57
config PM_RCAR
68
bool
@@ -29,19 +31,21 @@ config ARCH_RMOBILE
2931
select SYS_SUPPORTS_SH_CMT
3032
select SYS_SUPPORTS_SH_TMU
3133

32-
menuconfig ARCH_SHMOBILE_MULTI
34+
menuconfig ARCH_RENESAS
3335
bool "Renesas ARM SoCs" if ARCH_MULTI_V7
3436
depends on MMU
3537
select ARCH_SHMOBILE
38+
select ARCH_SHMOBILE_MULTI
3639
select HAVE_ARM_SCU if SMP
3740
select HAVE_ARM_TWD if SMP
3841
select ARM_GIC
3942
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
4043
select NO_IOPORT_MAP
4144
select PINCTRL
4245
select ARCH_REQUIRE_GPIOLIB
46+
select ZONE_DMA if ARM_LPAE
4347

44-
if ARCH_SHMOBILE_MULTI
48+
if ARCH_RENESAS
4549

4650
#comment "Renesas ARM SoCs System Type"
4751

0 commit comments

Comments
 (0)