summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-02-28 07:28:56 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-03-18 12:02:38 +0100
commitef72c1ef294f06a675206117e7573c6307169311 (patch)
tree248cd48d02101c186c2dc3e6535c7ca791170c12 /arch
parentdec699bea7fead80328ed1fd252be97ccae4b982 (diff)
downloadu-boot-ef72c1ef294f06a675206117e7573c6307169311.tar.gz
ARM: rmobile: Introduce CONFIG_RCAR_64 symbol
Introduce common Kconfig symbol for 64bit R-Car platforms and move common configuration options into it. This is preparatory patch to prevent duplication of Kconfig lists later on, when Gen4 is added. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rmobile/Kconfig29
1 files changed, 17 insertions, 12 deletions
diff --git a/arch/arm/mach-rmobile/Kconfig b/arch/arm/mach-rmobile/Kconfig
index b69ccaee0a..921153a8d9 100644
--- a/arch/arm/mach-rmobile/Kconfig
+++ b/arch/arm/mach-rmobile/Kconfig
@@ -1,15 +1,8 @@
if ARCH_RMOBILE
-choice
- prompt "Target Renesas SoC select"
- default RCAR_32
-
-config RCAR_32
- bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
- select CPU_V7A
-
-config RCAR_GEN3
- bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
+# Renesas ARM SoCs R-Car Gen3/Gen4 (64bit)
+config RCAR_64
+ bool
select ARM64
select CMD_CACHE
select OF_BOARD_SETUP
@@ -18,11 +11,24 @@ config RCAR_GEN3
select PINCTRL
select PINCTRL_PFC
select POSITION_INDEPENDENT
- select SUPPORT_SPL
imply CMD_FS_UUID
imply CMD_GPT
imply CMD_MMC_SWRITE if MMC
imply CMD_UUID
+ imply SUPPORT_EMMC_RPMB if MMC
+
+choice
+ prompt "Target Renesas SoC select"
+ default RCAR_32
+
+config RCAR_32
+ bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
+ select CPU_V7A
+
+config RCAR_GEN3
+ bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
+ select RCAR_64
+ select SUPPORT_SPL
imply SPL
imply SPL_BOARD_INIT
imply SPL_GZIP
@@ -33,7 +39,6 @@ config RCAR_GEN3
imply SPL_TINY_MEMSET
imply SPL_USE_TINY_PRINTF
imply SPL_YMODEM_SUPPORT
- imply SUPPORT_EMMC_RPMB if MMC
config RZA1
prompt "Renesas ARM SoCs RZ/A1 (32bit)"