diff options
-rw-r--r-- | board/toradex/common/configblock.c | 6 | ||||
-rw-r--r-- | board/toradex/common/configblock.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/board/toradex/common/configblock.c b/board/toradex/common/configblock.c index a33a3451ebd..9462d48ad0b 100644 --- a/board/toradex/common/configblock.c +++ b/board/toradex/common/configblock.c @@ -80,6 +80,7 @@ const char * const toradex_modules[] = { [32] = "Colibri iMX7 Solo 256MB", [33] = "Colibri iMX7 Dual 512MB", [34] = "Apalis TK1 2GB", + [35] = "Apalis iMX6 Dual 1GB IT", }; #ifdef CONFIG_TRDX_CFG_BLOCK_IS_IN_MMC @@ -240,7 +241,10 @@ static int get_cfgblock_interactive(void) if (!strcmp("mx6", soc)) { #ifdef CONFIG_MACH_TYPE if (it == 'y' || it == 'Y') - trdx_hw_tag.prodid = APALIS_IMX6Q_IT; + if (is_cpu_type(MXC_CPU_MX6Q)) + trdx_hw_tag.prodid = APALIS_IMX6Q_IT; + else + trdx_hw_tag.prodid = APALIS_IMX6D_IT; else if (is_cpu_type(MXC_CPU_MX6Q)) trdx_hw_tag.prodid = APALIS_IMX6Q; diff --git a/board/toradex/common/configblock.h b/board/toradex/common/configblock.h index 33cf1388b05..b0a8b04a9bd 100644 --- a/board/toradex/common/configblock.h +++ b/board/toradex/common/configblock.h @@ -52,6 +52,7 @@ enum { COLIBRI_IMX7S, COLIBRI_IMX7D, APALIS_TK1_2GB, + APALIS_IMX6D_IT, }; extern const char * const toradex_modules[]; |