summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/toradex/common/configblock.c7
-rw-r--r--board/toradex/common/configblock.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/board/toradex/common/configblock.c b/board/toradex/common/configblock.c
index 6539860c74..d1f6aa0454 100644
--- a/board/toradex/common/configblock.c
+++ b/board/toradex/common/configblock.c
@@ -74,6 +74,8 @@ const char* const toradex_modules[] = {
[29] = "Apalis iMX6 Dual 512MB",
[30] = "Colibri T30 1GB IT",
[31] = "Apalis T30 1GB IT",
+ [32] = "Colibri iMX7 Solo 256MB",
+ [33] = "Colibri iMX7 Dual 512MB",
};
#ifdef CONFIG_TRDX_CFG_BLOCK_IS_IN_MMC
@@ -248,6 +250,11 @@ 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("tegra20", soc)) {
if (it == 'y' || it == 'Y')
if (gd->ram_size == 0x10000000)
diff --git a/board/toradex/common/configblock.h b/board/toradex/common/configblock.h
index cce61ac89e..6a08eacf1e 100644
--- a/board/toradex/common/configblock.h
+++ b/board/toradex/common/configblock.h
@@ -49,6 +49,8 @@ enum {
APALIS_IMX6D,
COLIBRI_T30_IT,
APALIS_T30_IT,
+ COLIBRI_IMX7S,
+ COLIBRI_IMX7D,
};
extern const char* const toradex_modules[];