summaryrefslogtreecommitdiff
path: root/board/toradex/common/tdx-cfg-block.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/toradex/common/tdx-cfg-block.c')
-rw-r--r--board/toradex/common/tdx-cfg-block.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c
index 3a8bd7f5bc..0a1e3e85f7 100644
--- a/board/toradex/common/tdx-cfg-block.c
+++ b/board/toradex/common/tdx-cfg-block.c
@@ -313,7 +313,11 @@ static int get_cfgblock_interactive(void)
tdx_hw_tag.prodid = COLIBRI_IMX6ULL;
#endif /* CONFIG_MACH_TYPE */
} else if (!strcmp("imx7d", soc)) {
+#ifdef CONFIG_TARGET_COLIBRI_IMX7_EMMC
+ tdx_hw_tag.prodid = COLIBRI_IMX7D_EMMC;
+#else
tdx_hw_tag.prodid = COLIBRI_IMX7D;
+#endif
} else if (!strcmp("imx7s", soc)) {
tdx_hw_tag.prodid = COLIBRI_IMX7S;
} else if (!strcmp("tegra20", soc)) {