]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
toradex: tdx-cfg-block: Add verdin imx8mp 64gb emmc pid4s
authorVitor Soares <vitor.soares@toradex.com>
Fri, 10 Jul 2026 14:33:02 +0000 (15:33 +0100)
committerFabio Estevam <festevam@gmail.com>
Mon, 27 Jul 2026 16:05:07 +0000 (13:05 -0300)
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
board/toradex/common/tdx-cfg-block.h
board/toradex/verdin-imx8mp/verdin-imx8mp.c

index 21baa810f2f4ca3c2c71fc649afb19deb813fbeb..8b4698e92e1f329d55427303cccadca8a2ac3210 100644 (file)
@@ -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 {
index e6e726f381cfa797d2062459d869e7aca061812e..4bf4f2e6843767ff866c37452ec290a715bff893 100644 (file)
@@ -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 {
index 69c3408fbba026173051438acba8cedc8129afba..1209da593f85bc3fc023d351b172499ec94e85da 100644 (file)
@@ -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)