]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: Kconfig: Correct invalid Kconfig syntax
authorNeha Malcom Francis <n-francis@ti.com>
Fri, 3 Mar 2023 08:21:24 +0000 (13:51 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 29 Mar 2023 15:58:26 +0000 (11:58 -0400)
Kconfig does not support using 'select' to select a 'choice'. A choice
can be configured by either setting the choice symbol to 'y' in a
configuration file or by setting a 'default' of the choice.

In board/ti/*/Kconfig the SOC_K3_* choice is already set to 'y' in their
corresponding configs/*_defconfig file. So remove selecting it.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
board/ti/am62ax/Kconfig
board/ti/am62x/Kconfig
board/ti/am64x/Kconfig
board/ti/am65x/Kconfig
board/ti/j721e/Kconfig
board/ti/j721s2/Kconfig

index 2c18cd49b5d273d3732a8cfbb5ff0318ee6b6829..9b868e455305339d2751450fde6f0165eee60937 100644 (file)
@@ -10,7 +10,6 @@ choice
 config TARGET_AM62A7_A53_EVM
        bool "TI K3 based AM62A7 EVM running on A53"
        select ARM64
-       select SOC_K3_AM62A7
        imply BOARD
        imply SPL_BOARD
        imply TI_I2C_BOARD_DETECT
@@ -20,7 +19,6 @@ config TARGET_AM62A7_R5_EVM
        select CPU_V7R
        select SYS_THUMB_BUILD
        select K3_LOAD_SYSFW
-       select SOC_K3_AM62A7
        select RAM
        select SPL_RAM
        select K3_DDRSS
index 87fed44df17f06537a63da1068b24e16183b443f..5e8dfa3cc4b6003038199d8f2f493d2792ae2dc5 100644 (file)
@@ -10,14 +10,12 @@ choice
 config TARGET_AM625_A53_EVM
        bool "TI K3 based AM625 EVM running on A53"
        select ARM64
-       select SOC_K3_AM625
 
 config TARGET_AM625_R5_EVM
        bool "TI K3 based AM625 EVM running on R5"
        select CPU_V7R
        select SYS_THUMB_BUILD
        select K3_LOAD_SYSFW
-       select SOC_K3_AM625
        select RAM
        select SPL_RAM
        select K3_DDRSS
index 8036947e3450e3c0babcb46efcfb023984f23125..afb54f8cdabb92306fd138a2fc953d250b175ff3 100644 (file)
@@ -9,7 +9,6 @@ choice
 config TARGET_AM642_A53_EVM
        bool "TI K3 based AM642 EVM running on A53"
        select ARM64
-       select SOC_K3_AM642
        imply BOARD
        imply SPL_BOARD
        imply TI_I2C_BOARD_DETECT
@@ -19,7 +18,6 @@ config TARGET_AM642_R5_EVM
        select CPU_V7R
        select SYS_THUMB_BUILD
        select K3_LOAD_SYSFW
-       select SOC_K3_AM642
        select RAM
        select SPL_RAM
        select K3_DDRSS
index 4765b13ba0c67add6ea4d605e1e868ae99f9f4c1..220dd0234c507e8a9396e19919b00eba36455826 100644 (file)
@@ -10,7 +10,6 @@ choice
 config TARGET_AM654_A53_EVM
        bool "TI K3 based AM654 EVM running on A53"
        select ARM64
-       select SOC_K3_AM654
        select SYS_DISABLE_DCACHE_OPS
        select BOARD_LATE_INIT
        imply TI_I2C_BOARD_DETECT
@@ -19,7 +18,6 @@ config TARGET_AM654_R5_EVM
        bool "TI K3 based AM654 EVM running on R5"
        select CPU_V7R
        select SYS_THUMB_BUILD
-       select SOC_K3_AM654
        select K3_LOAD_SYSFW
        select K3_AM654_DDRSS
        imply SYS_K3_SPL_ATF
index d19d30d59ef7c8337c797a85fa84c38e0204ea53..ca8273954a37a9870a6c70e7207809010bcf9d9b 100644 (file)
@@ -10,7 +10,6 @@ choice
 config TARGET_J721E_A72_EVM
        bool "TI K3 based J721E EVM running on A72"
        select ARM64
-       select SOC_K3_J721E
        select BOARD_LATE_INIT
        imply TI_I2C_BOARD_DETECT
        select SYS_DISABLE_DCACHE_OPS
@@ -19,7 +18,6 @@ config TARGET_J721E_R5_EVM
        bool "TI K3 based J721E EVM running on R5"
        select CPU_V7R
        select SYS_THUMB_BUILD
-       select SOC_K3_J721E
        select K3_LOAD_SYSFW
        select RAM
        select SPL_RAM
@@ -30,7 +28,6 @@ config TARGET_J721E_R5_EVM
 config TARGET_J7200_A72_EVM
        bool "TI K3 based J7200 EVM running on A72"
        select ARM64
-       select SOC_K3_J721E
        select BOARD_LATE_INIT
        imply TI_I2C_BOARD_DETECT
        select SYS_DISABLE_DCACHE_OPS
@@ -39,7 +36,6 @@ config TARGET_J7200_R5_EVM
        bool "TI K3 based J7200 EVM running on R5"
        select CPU_V7R
        select SYS_THUMB_BUILD
-       select SOC_K3_J721E
        select K3_LOAD_SYSFW
        select RAM
        select SPL_RAM
index 6141798333c0eef244dd99b6aa7f4d8ff30d7515..067c56a470c274f818ae403eca8d985efe478401 100644 (file)
@@ -10,7 +10,6 @@ choice
 config TARGET_J721S2_A72_EVM
        bool "TI K3 based J721S2 EVM running on A72"
        select ARM64
-       select SOC_K3_J721S2
        select BOARD_LATE_INIT
        imply TI_I2C_BOARD_DETECT
        select SYS_DISABLE_DCACHE_OPS
@@ -19,7 +18,6 @@ config TARGET_J721S2_R5_EVM
        bool "TI K3 based J721S2 EVM running on R5"
        select CPU_V7R
        select SYS_THUMB_BUILD
-       select SOC_K3_J721S2
        select K3_LOAD_SYSFW
        select RAM
        select SPL_RAM