U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vitor Soares <ivitro@gmail.com>
To: Francesco Dolcini <francesco.dolcini@toradex.com>,
	Tom Rini <trini@konsulko.com>,
	Stefano Babic <sbabic@nabladev.com>,
	Fabio Estevam <festevam@gmail.com>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Cc: Vitor Soares <vitor.soares@toradex.com>, u-boot@lists.denx.de
Subject: [PATCH v1 4/7] toradex: tdx-cfg-block: Add verdin imx8mp 64gb emmc pid4s
Date: Fri, 10 Jul 2026 15:33:02 +0100	[thread overview]
Message-ID: <20260710143258.285091-13-ivitro@gmail.com> (raw)
In-Reply-To: <20260710143258.285091-9-ivitro@gmail.com>

From: Vitor Soares <vitor.soares@toradex.com>

Add the new Verdin iMX8M Plus 64GB eMMC PID4s to config block handling:

- 0236 Verdin iMX8M Plus Quad 4GB WB IT
- 0237 Verdin iMX8M Plus Quad 4GB IT
- 0238 Verdin iMX8M Plus Quad 8GB WB IT

Update the board-specific variant selection to use the Wi-Fi variant for
the new WB SKUs.

Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
---
 board/toradex/common/tdx-cfg-block.c        | 3 +++
 board/toradex/common/tdx-cfg-block.h        | 3 +++
 board/toradex/verdin-imx8mp/verdin-imx8mp.c | 4 +++-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c
index 21baa810f2f4..8b4698e92e1f 100644
--- a/board/toradex/common/tdx-cfg-block.c
+++ b/board/toradex/common/tdx-cfg-block.c
@@ -195,6 +195,9 @@ const struct toradex_som toradex_modules[] = {
 	{ APALIS_IMX8QM_4GB_WIFI_BT_IT_64G,      "Apalis iMX8QM 4GB WB IT",              TARGET_IS_ENABLED(APALIS_IMX8)          },
 	{ APALIS_IMX8QM_4GB_IT_64G,              "Apalis iMX8QM 4GB IT",                 TARGET_IS_ENABLED(APALIS_IMX8)          },
 	{ APALIS_IMX8QM_8GB_WIFI_BT_IT_64G,      "Apalis iMX8QM 8GB WB IT",              TARGET_IS_ENABLED(APALIS_IMX8)          },
+	{ VERDIN_IMX8MPQ_4GB_WIFI_BT_IT_64G,     "Verdin iMX8M Plus Quad 4GB WB IT",     TARGET_IS_ENABLED(VERDIN_IMX8MP)        },
+	{ VERDIN_IMX8MPQ_4GB_IT_64G,             "Verdin iMX8M Plus Quad 4GB IT",        TARGET_IS_ENABLED(VERDIN_IMX8MP)        },
+	{ VERDIN_IMX8MPQ_8GB_WIFI_BT_IT_64G,     "Verdin iMX8M Plus Quad 8GB WB IT",     TARGET_IS_ENABLED(VERDIN_IMX8MP)        },
 };
 
 struct pid4list {
diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h
index e6e726f381cf..4bf4f2e68437 100644
--- a/board/toradex/common/tdx-cfg-block.h
+++ b/board/toradex/common/tdx-cfg-block.h
@@ -158,6 +158,9 @@ enum {
 	APALIS_IMX8QM_4GB_WIFI_BT_IT_64G = 233,
 	APALIS_IMX8QM_4GB_IT_64G,
 	APALIS_IMX8QM_8GB_WIFI_BT_IT_64G, /* 235 */
+	VERDIN_IMX8MPQ_4GB_WIFI_BT_IT_64G,
+	VERDIN_IMX8MPQ_4GB_IT_64G,
+	VERDIN_IMX8MPQ_8GB_WIFI_BT_IT_64G,
 };
 
 enum {
diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
index 69c3408fbba0..1209da593f85 100644
--- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c
+++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
@@ -79,7 +79,9 @@ static void select_dt_from_module_version(void)
 		is_wifi = (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_WIFI_BT_IT) ||
 			  (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_2GB_WIFI_BT_IT) ||
 			  (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_8GB_WIFI_BT) ||
-			  (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_8GB_WIFI_BT_IT);
+			  (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_8GB_WIFI_BT_IT) ||
+			  (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_4GB_WIFI_BT_IT_64G) ||
+			  (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_8GB_WIFI_BT_IT_64G);
 	}
 
 	if (is_wifi)
-- 
2.54.0


  parent reply	other threads:[~2026-07-10 18:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10 14:32 [PATCH v1 0/7] toradex: tdx-cfg-block: Add new PID4 entries Vitor Soares
2026-07-10 14:32 ` [PATCH v1 1/7] toradex: tdx-cfg-block: Add smarc imx95 0229 pid4 Vitor Soares
2026-07-10 14:33 ` [PATCH v1 2/7] toradex: tdx-cfg-block: Add aquila tda4 0230 pid4 Vitor Soares
2026-07-10 14:33 ` [PATCH v1 3/7] toradex: tdx-cfg-block: Add apalis imx8qm 64gb emmc pid4s Vitor Soares
2026-07-10 14:33 ` Vitor Soares [this message]
2026-07-10 14:33 ` [PATCH v1 5/7] toradex: tdx-cfg-block: Add verdin imx8mm 0239 pid4 Vitor Soares
2026-07-10 14:33 ` [PATCH v1 6/7] toradex: tdx-cfg-block: Add smarc imx8mp 0240 pid4 Vitor Soares
2026-07-10 14:33 ` [PATCH v1 7/7] toradex: tdx-cfg-block: Add verdin am62 0242 pid4 Vitor Soares
2026-07-13  6:05 ` [PATCH v1 0/7] toradex: tdx-cfg-block: Add new PID4 entries Francesco Dolcini

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=20260710143258.285091-13-ivitro@gmail.com \
    --to=ivitro@gmail.com \
    --cc=festevam@gmail.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=sbabic@nabladev.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=vitor.soares@toradex.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