From 7c9d3384b6e2b520f7a74789582bce40aad29c0a Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 20 Sep 2016 10:23:14 +0200 Subject: configblock: add Apalis iMX6 Dual 1GB IT Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- board/toradex/common/configblock.c | 6 +++++- board/toradex/common/configblock.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/board/toradex/common/configblock.c b/board/toradex/common/configblock.c index a33a3451eb..9462d48ad0 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 33cf1388b0..b0a8b04a9b 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[]; -- cgit v1.2.3