From: Emanuele Ghidoli <emanuele.ghid...@toradex.com>

Add new i.MX 8M Plus Quad SKU to ConfigBlock handling.

0070: Verdin iMX8M Plus Quad 8GB WB IT

This SKU is identical to 0066 but supporting Industrial Temperature range.

Signed-off-by: Emanuele Ghidoli <emanuele.ghid...@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolc...@toradex.com>
---
 board/toradex/common/tdx-cfg-block.c        | 1 +
 board/toradex/common/tdx-cfg-block.h        | 2 ++
 board/toradex/verdin-imx8mp/verdin-imx8mp.c | 3 ++-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/board/toradex/common/tdx-cfg-block.c 
b/board/toradex/common/tdx-cfg-block.c
index 11f4d5e14a86..e513f4a29196 100644
--- a/board/toradex/common/tdx-cfg-block.c
+++ b/board/toradex/common/tdx-cfg-block.c
@@ -139,6 +139,7 @@ const struct toradex_som toradex_modules[] = {
        [66] = { "Verdin iMX8M Plus Quad 8GB WB",        
TARGET_IS_ENABLED(VERDIN_IMX8MP)   },
        [67] = { "Apalis iMX8QM 8GB WB IT",              
TARGET_IS_ENABLED(APALIS_IMX8)     },
        [68] = { "Verdin iMX8M Mini Quad 2GB WB IT",     
TARGET_IS_ENABLED(VERDIN_IMX8MM)   },
+       [70] = { "Verdin iMX8M Plus Quad 8GB WB IT",     
TARGET_IS_ENABLED(VERDIN_IMX8MP)   },
 };
 
 const char * const toradex_carrier_boards[] = {
diff --git a/board/toradex/common/tdx-cfg-block.h 
b/board/toradex/common/tdx-cfg-block.h
index 32e4c6f6879f..45fa04ca38ae 100644
--- a/board/toradex/common/tdx-cfg-block.h
+++ b/board/toradex/common/tdx-cfg-block.h
@@ -94,6 +94,8 @@ enum {
        VERDIN_IMX8MPQ_8GB_WIFI_BT,
        APALIS_IMX8QM_8GB_WIFI_BT_IT,
        VERDIN_IMX8MMQ_WIFI_BT_IT_NO_CAN,
+       /* 69 */
+       VERDIN_IMX8MPQ_8GB_WIFI_BT_IT = 70, /* 70 */
 };
 
 enum {
diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c 
b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
index 5490d3ed44a3..e16a771e3ec1 100644
--- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c
+++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
@@ -81,7 +81,8 @@ 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) ||
+                         (tdx_hw_tag.prodid == VERDIN_IMX8MPQ_8GB_WIFI_BT_IT);
        }
 
        if (is_wifi)
-- 
2.25.1

Reply via email to