summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-07-06 18:39:40 +0200
committerStefan Agner <stefan.agner@toradex.com>2016-07-14 11:43:22 -0700
commit90a974d34aaa85d5ce69f83067928592c5389990 (patch)
treeeda7385e27327064729f43b0ac9e604e238d24f7
parent380b7f5caeef90f0a91ad1ddb344fec51ac0bfa0 (diff)
mx7: cfgblock create: follow renamed soc environment variable
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--board/toradex/common/configblock.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/board/toradex/common/configblock.c b/board/toradex/common/configblock.c
index 1601e2e9c35..03ecaab1d85 100644
--- a/board/toradex/common/configblock.c
+++ b/board/toradex/common/configblock.c
@@ -258,11 +258,10 @@ 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("imx7d", soc)) {
+ trdx_hw_tag.prodid = COLIBRI_IMX7D;
+ } else if (!strcmp("imx7s", soc)) {
+ trdx_hw_tag.prodid = COLIBRI_IMX7S;
} else if (!strcmp("tegra20", soc)) {
if (it == 'y' || it == 'Y')
if (gd->ram_size == 0x10000000)