summaryrefslogtreecommitdiff
path: root/board/toradex/common/configblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/toradex/common/configblock.c')
-rw-r--r--board/toradex/common/configblock.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/board/toradex/common/configblock.c b/board/toradex/common/configblock.c
index 1601e2e9c3..03ecaab1d8 100644
--- a/board/toradex/common/configblock.c
+++ b/board/toradex/common/configblock.c
@@ -258,11 +258,10 @@ static int get_cfgblock_interactive(void)
else
trdx_hw_tag.prodid = COLIBRI_IMX6S;
#endif /* CONFIG_MACH_TYPE */
- } else if (!strcmp("mx7", soc)) {
- if (gd->ram_size == 0x20000000)
- trdx_hw_tag.prodid = COLIBRI_IMX7D;
- else
- trdx_hw_tag.prodid = COLIBRI_IMX7S;
+ } else if (!strcmp("imx7d", soc)) {
+ trdx_hw_tag.prodid = COLIBRI_IMX7D;
+ } else if (!strcmp("imx7s", soc)) {
+ trdx_hw_tag.prodid = COLIBRI_IMX7S;
} else if (!strcmp("tegra20", soc)) {
if (it == 'y' || it == 'Y')
if (gd->ram_size == 0x10000000)