]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: Add dependency from TARGET selection to SOC
authorAndrew Davis <afd@ti.com>
Wed, 1 Nov 2023 20:35:24 +0000 (15:35 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 22 Nov 2023 14:37:22 +0000 (09:37 -0500)
Currently the K3 selection for TARGET boards does not depend on the SoC
for which it is based. This leds to the odd ability to select for instance
both SOC_K3_AM625 and TARGET_J721E_A72_EVM.

To fix this the target choice should depend on the matching SOC config.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
board/siemens/iot2050/Kconfig
board/ti/am62ax/Kconfig
board/ti/am62x/Kconfig
board/ti/am64x/Kconfig
board/ti/am65x/Kconfig
board/ti/j721e/Kconfig
board/ti/j721s2/Kconfig
board/toradex/verdin-am62/Kconfig

index a6170aae80791056848132ede60054fb358faaa4..737cda647447623d5cfc2c60c3eb14372aa3d0ea 100644 (file)
@@ -8,8 +8,8 @@
 
 config TARGET_IOT2050_A53
        bool "IOT2050 running on A53"
+       depends on SOC_K3_AM654
        select ARM64
-       select SOC_K3_AM654
        select BOARD_LATE_INIT
        select SYS_DISABLE_DCACHE_OPS
        select BINMAN
index 61f289faccd9b4a9fef8f0f5c5d1f878dad16d36..30e1a068660e6ea3a2fbcabfaf9dbe7f239faa0b 100644 (file)
@@ -5,6 +5,7 @@
 
 choice
        prompt "TI K3 AM62Ax based boards"
+       depends on SOC_K3_AM62A7
        optional
 
 config TARGET_AM62A7_A53_EVM
index cd17e939e5a8cbfa2c912b7caee4fac8f0cbb538..b4b70337d18e8a7c2cce128c0c6fc0b4a8eae983 100644 (file)
@@ -5,6 +5,7 @@
 
 choice
        prompt "TI K3 AM62x based boards"
+       depends on SOC_K3_AM625
        optional
 
 config TARGET_AM625_A53_EVM
index fb596e4adfcad2c46a397a1391ee87a17dcd4300..2dbc6197b75a0c84ac7a3c12b79182e675f548c2 100644 (file)
@@ -4,6 +4,7 @@
 
 choice
        prompt "K3 AM64 based boards"
+       depends on SOC_K3_AM642
        optional
 
 config TARGET_AM642_A53_EVM
index 78c7040c3dad5eec337003a66618db7ff4713ec9..d5794b32ff0c156c398676ec830b37d7a9272155 100644 (file)
@@ -5,6 +5,7 @@
 
 choice
        prompt "K3 AM65 based boards"
+       depends on SOC_K3_AM654
        optional
 
 config TARGET_AM654_A53_EVM
index 9505330ef30aebaaa7870676177581fc43b24606..df143afc5336d77ded5ef16e2af669d8fe738fd5 100644 (file)
@@ -5,6 +5,7 @@
 
 choice
        prompt "K3 J721E based boards"
+       depends on SOC_K3_J721E
        optional
 
 config TARGET_J721E_A72_EVM
index f6d1cb5765368ac517eecfc824e65cffd36de5ad..a4a5d16ba21f9dbb52678914baca3950d8f72c1b 100644 (file)
@@ -5,6 +5,7 @@
 
 choice
        prompt "K3 J721S2 board"
+       depends on SOC_K3_J721S2
        optional
 
 config TARGET_J721S2_A72_EVM
index e7522244070b8dfe16a230ea7462d712600b0019..abc2984f25038cebc3015b8849178a42223e288d 100644 (file)
@@ -5,6 +5,7 @@
 
 choice
        prompt "Toradex Verdin AM62 based boards"
+       depends on SOC_K3_AM625
        optional
 
 config TARGET_VERDIN_AM62_A53