summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-02-17 11:29:47 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 15:03:34 +0100
commit1baa03c40ee363f8419889eb627a7e7ab398f37b (patch)
treeaae0da09bcebd774ba96280dfd22982f82d67761
parent9e701886d093838d1a0f6298b9e2bc58b80e0052 (diff)
toradex: configblock: add Apalis TK1 2GB
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--board/toradex/common/configblock.c3
-rw-r--r--board/toradex/common/configblock.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/board/toradex/common/configblock.c b/board/toradex/common/configblock.c
index 5b94882d62e..10d730a801e 100644
--- a/board/toradex/common/configblock.c
+++ b/board/toradex/common/configblock.c
@@ -79,6 +79,7 @@ const char* const toradex_modules[] = {
[31] = "Apalis T30 1GB IT",
[32] = "Colibri iMX7 Solo 256MB",
[33] = "Colibri iMX7 Dual 512MB",
+ [34] = "Apalis TK1 2GB",
};
#ifdef CONFIG_TRDX_CFG_BLOCK_IS_IN_MMC
@@ -290,6 +291,8 @@ static int get_cfgblock_interactive(void)
trdx_hw_tag.prodid = COLIBRI_T30;
}
#endif /* CONFIG_MACH_TYPE */
+ } else if (!strcmp("tegra124", soc)) {
+ trdx_hw_tag.prodid = APALIS_TK1_2GB;
} else if (!strcmp("vf500", soc)) {
if (it == 'y' || it == 'Y')
trdx_hw_tag.prodid = COLIBRI_VF50_IT;
diff --git a/board/toradex/common/configblock.h b/board/toradex/common/configblock.h
index 6a08eacf1e4..4f1a3bf8988 100644
--- a/board/toradex/common/configblock.h
+++ b/board/toradex/common/configblock.h
@@ -51,6 +51,7 @@ enum {
APALIS_T30_IT,
COLIBRI_IMX7S,
COLIBRI_IMX7D,
+ APALIS_TK1_2GB,
};
extern const char* const toradex_modules[];