diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2016-02-11 15:22:34 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-02-17 10:54:11 +0100 |
commit | 2f0b04f25f619dccb3efa3b7353d9c49987b6e63 (patch) | |
tree | 620a1815b4e20d5faaf93b75ed1bdcf1772a62a5 | |
parent | 2888019fcd45a314b04c175a651353b132324c8c (diff) |
configblock: add Colbri iMX7
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | board/toradex/common/configblock.c | 7 | ||||
-rw-r--r-- | board/toradex/common/configblock.h | 2 |
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[]; |