aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-02-28 07:28:55 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-03-18 12:02:38 +0100
commitdec699bea7fead80328ed1fd252be97ccae4b982 (patch)
tree8b098abf2a451cd9014b0a897085b1364a9c7970
parent6f152a713cdc2b34baa16f6303053a47c47c5f61 (diff)
downloadu-boot-dec699bea7fead80328ed1fd252be97ccae4b982.zip
u-boot-dec699bea7fead80328ed1fd252be97ccae4b982.tar.gz
u-boot-dec699bea7fead80328ed1fd252be97ccae4b982.tar.bz2
ARM: rmobile: Factor out SYS_SOC Kconfig option
Pull the SYS_SOC Kconfig option to avoid duplication of this option in Kconfig.{32,64,rza1} . The default value is the same, so just set it in one location. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
-rw-r--r--arch/arm/mach-rmobile/Kconfig3
-rw-r--r--arch/arm/mach-rmobile/Kconfig.323
-rw-r--r--arch/arm/mach-rmobile/Kconfig.643
-rw-r--r--arch/arm/mach-rmobile/Kconfig.rza13
4 files changed, 3 insertions, 9 deletions
diff --git a/arch/arm/mach-rmobile/Kconfig b/arch/arm/mach-rmobile/Kconfig
index 9ff45f4..b69ccae 100644
--- a/arch/arm/mach-rmobile/Kconfig
+++ b/arch/arm/mach-rmobile/Kconfig
@@ -41,6 +41,9 @@ config RZA1
endchoice
+config SYS_SOC
+ default "rmobile" if ARCH_RMOBILE
+
source "arch/arm/mach-rmobile/Kconfig.32"
source "arch/arm/mach-rmobile/Kconfig.64"
source "arch/arm/mach-rmobile/Kconfig.rza1"
diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32
index 31badc5..1ac31c2 100644
--- a/arch/arm/mach-rmobile/Kconfig.32
+++ b/arch/arm/mach-rmobile/Kconfig.32
@@ -125,9 +125,6 @@ endchoice
config TMU_TIMER
bool
-config SYS_SOC
- default "rmobile"
-
config RMOBILE_EXTRAM_BOOT
bool "Enable boot from RAM"
depends on TARGET_ALT || TARGET_BLANCHE || TARGET_KOELSCH || TARGET_LAGER || TARGET_PORTER || TARGET_SILK || TARGET_STOUT
diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64
index 33fd776..3ed5099 100644
--- a/arch/arm/mach-rmobile/Kconfig.64
+++ b/arch/arm/mach-rmobile/Kconfig.64
@@ -172,9 +172,6 @@ config TARGET_ULCB
endchoice
-config SYS_SOC
- default "rmobile"
-
source "board/renesas/condor/Kconfig"
source "board/renesas/draak/Kconfig"
source "board/renesas/eagle/Kconfig"
diff --git a/arch/arm/mach-rmobile/Kconfig.rza1 b/arch/arm/mach-rmobile/Kconfig.rza1
index 8cf033f..e88f9a2 100644
--- a/arch/arm/mach-rmobile/Kconfig.rza1
+++ b/arch/arm/mach-rmobile/Kconfig.rza1
@@ -19,9 +19,6 @@ config TARGET_GRPEACH
endchoice
-config SYS_SOC
- default "rmobile"
-
# Renesas Supported Boards
source "board/renesas/grpeach/Kconfig"