]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ti: keystone2: Move common Kconfig selections to under ARCH_KEYSTONE
authorAndrew Davis <afd@ti.com>
Tue, 25 Jul 2023 15:54:16 +0000 (10:54 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 8 Feb 2024 19:42:56 +0000 (14:42 -0500)
These select/imply settings are common to the whole architecture not just
these boards, move these settings to the architecture config.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
arch/arm/mach-keystone/Kconfig

index 6d971362c285b5f4302340b3f1c4951c40a21f42..6b072be24634721ac67885e74a9d5d03e24c4f2b 100644 (file)
@@ -785,16 +785,21 @@ config ARCH_IPQ40XX
 
 config ARCH_KEYSTONE
        bool "TI Keystone"
+       select CMD_DDR3
        select CMD_POWEROFF
        select CPU_V7A
        select DDR_SPD
+       select SPL_BOARD_INIT if SPL
        select SUPPORT_SPL
        select SYS_ARCH_TIMER
        select SYS_THUMB_BUILD
        imply CMD_MTDPARTS
        imply CMD_NFS
        imply CMD_SAVES
+       imply DM_I2C
        imply FIT
+       imply SOC_TI
+       imply TI_KEYSTONE_SERDES
 
 config ARCH_K3
        bool "Texas Instruments' K3 Architecture"
index 94e6fe1f228527850daa14898105cf969aa87f4c..9bf71a9b4530d14c36d7fa71bcfdb1428a305b6a 100644 (file)
@@ -7,40 +7,20 @@ choice
 config TARGET_K2HK_EVM
        bool "TI Keystone 2 Kepler/Hawking EVM"
        select SOC_K2HK
-       select SPL_BOARD_INIT if SPL
-       select CMD_DDR3
-       imply DM_I2C
-       imply SOC_TI
-       imply TI_KEYSTONE_SERDES
 
 config TARGET_K2E_EVM
        bool "TI Keystone 2 Edison EVM"
        select SOC_K2E
-       select SPL_BOARD_INIT if SPL
-       select CMD_DDR3
-       imply DM_I2C
-       imply SOC_TI
-       imply TI_KEYSTONE_SERDES
 
 config TARGET_K2L_EVM
        bool "TI Keystone 2 Lamar EVM"
        select SOC_K2L
-       select SPL_BOARD_INIT if SPL
-       select CMD_DDR3
-       imply DM_I2C
-       imply SOC_TI
-       imply TI_KEYSTONE_SERDES
 
 config TARGET_K2G_EVM
        bool "TI Keystone 2 Galileo EVM"
         select BOARD_LATE_INIT
        select SOC_K2G
-       select SPL_BOARD_INIT if SPL
         select TI_I2C_BOARD_DETECT
-       select CMD_DDR3
-       imply DM_I2C
-       imply SOC_TI
-       imply TI_KEYSTONE_SERDES
 
 endchoice