From: Andrew Davis <afd@ti.com>
To: Manorit Chawdhry <m-chawdhry@ti.com>,
Neha Malcom Francis <n-francis@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>, Nishanth Menon <nm@ti.com>,
Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
Bryan Brattlof <bb@ti.com>, Jan Kiszka <jan.kiszka@siemens.com>,
Le Jin <le.jin@siemens.com>,
Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: <u-boot@lists.denx.de>, Andrew Davis <afd@ti.com>
Subject: [PATCH 1/7] board: ti: Add dependency from TARGET selection to SOC
Date: Wed, 1 Nov 2023 15:35:24 -0500 [thread overview]
Message-ID: <20231101203530.80359-1-afd@ti.com> (raw)
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>
---
board/siemens/iot2050/Kconfig | 2 +-
board/ti/am62ax/Kconfig | 1 +
board/ti/am62x/Kconfig | 1 +
board/ti/am64x/Kconfig | 1 +
board/ti/am65x/Kconfig | 1 +
board/ti/j721e/Kconfig | 1 +
board/ti/j721s2/Kconfig | 1 +
board/toradex/verdin-am62/Kconfig | 1 +
8 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/board/siemens/iot2050/Kconfig b/board/siemens/iot2050/Kconfig
index a6170aae807..737cda64744 100644
--- a/board/siemens/iot2050/Kconfig
+++ b/board/siemens/iot2050/Kconfig
@@ -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
diff --git a/board/ti/am62ax/Kconfig b/board/ti/am62ax/Kconfig
index 61f289faccd..30e1a068660 100644
--- a/board/ti/am62ax/Kconfig
+++ b/board/ti/am62ax/Kconfig
@@ -5,6 +5,7 @@
choice
prompt "TI K3 AM62Ax based boards"
+ depends on SOC_K3_AM62A7
optional
config TARGET_AM62A7_A53_EVM
diff --git a/board/ti/am62x/Kconfig b/board/ti/am62x/Kconfig
index cd17e939e5a..b4b70337d18 100644
--- a/board/ti/am62x/Kconfig
+++ b/board/ti/am62x/Kconfig
@@ -5,6 +5,7 @@
choice
prompt "TI K3 AM62x based boards"
+ depends on SOC_K3_AM625
optional
config TARGET_AM625_A53_EVM
diff --git a/board/ti/am64x/Kconfig b/board/ti/am64x/Kconfig
index fb596e4adfc..2dbc6197b75 100644
--- a/board/ti/am64x/Kconfig
+++ b/board/ti/am64x/Kconfig
@@ -4,6 +4,7 @@
choice
prompt "K3 AM64 based boards"
+ depends on SOC_K3_AM642
optional
config TARGET_AM642_A53_EVM
diff --git a/board/ti/am65x/Kconfig b/board/ti/am65x/Kconfig
index 5fd19d652a6..7c1bcfc899c 100644
--- a/board/ti/am65x/Kconfig
+++ b/board/ti/am65x/Kconfig
@@ -5,6 +5,7 @@
choice
prompt "K3 AM65 based boards"
+ depends on SOC_K3_AM654
optional
config TARGET_AM654_A53_EVM
diff --git a/board/ti/j721e/Kconfig b/board/ti/j721e/Kconfig
index e6cb21f77bd..23867ad8e04 100644
--- a/board/ti/j721e/Kconfig
+++ b/board/ti/j721e/Kconfig
@@ -5,6 +5,7 @@
choice
prompt "K3 J721E based boards"
+ depends on SOC_K3_J721E
optional
config TARGET_J721E_A72_EVM
diff --git a/board/ti/j721s2/Kconfig b/board/ti/j721s2/Kconfig
index f6d1cb57653..a4a5d16ba21 100644
--- a/board/ti/j721s2/Kconfig
+++ b/board/ti/j721s2/Kconfig
@@ -5,6 +5,7 @@
choice
prompt "K3 J721S2 board"
+ depends on SOC_K3_J721S2
optional
config TARGET_J721S2_A72_EVM
diff --git a/board/toradex/verdin-am62/Kconfig b/board/toradex/verdin-am62/Kconfig
index e7522244070..abc2984f250 100644
--- a/board/toradex/verdin-am62/Kconfig
+++ b/board/toradex/verdin-am62/Kconfig
@@ -5,6 +5,7 @@
choice
prompt "Toradex Verdin AM62 based boards"
+ depends on SOC_K3_AM625
optional
config TARGET_VERDIN_AM62_A53
--
2.39.2
next reply other threads:[~2023-11-01 20:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-01 20:35 Andrew Davis [this message]
2023-11-01 20:35 ` [PATCH 2/7] arm: mach-k3: j721e: Move board selection to mach-k3 Andrew Davis
2023-11-01 20:35 ` [PATCH 3/7] arm: mach-k3: am65x: " Andrew Davis
2023-11-01 20:35 ` [PATCH 4/7] arm: mach-k3: am64x: " Andrew Davis
2023-11-01 20:35 ` [PATCH 5/7] arm: mach-k3: am62x: " Andrew Davis
2023-11-02 8:55 ` Francesco Dolcini
2023-11-02 15:27 ` Andrew Davis
2023-11-01 20:35 ` [PATCH 6/7] arm: mach-k3: am62ax: " Andrew Davis
2023-11-01 20:35 ` [PATCH 7/7] arm: mach-k3: j721s2: " Andrew Davis
2023-11-02 6:25 ` [PATCH 1/7] board: ti: Add dependency from TARGET selection to SOC Neha Malcom Francis
2023-11-22 20:49 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231101203530.80359-1-afd@ti.com \
--to=afd@ti.com \
--cc=bb@ti.com \
--cc=jan.kiszka@siemens.com \
--cc=le.jin@siemens.com \
--cc=m-chawdhry@ti.com \
--cc=marcel.ziswiler@toradex.com \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox