summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2014-08-08 05:35:42 (GMT)
committerStefano Babic <sbabic@denx.de>2014-09-09 13:19:03 (GMT)
commita7c67d7c496952da0d453f253c27f7f5b591a269 (patch)
tree8b25e105113ff3fb44be0b52c559a16637e18c84 /board/gateworks/gw_ventana
parent3aa226740fd2224ccba4bb63eb0b351bbfa498eb (diff)
downloadu-boot-fsl-qoriq-a7c67d7c496952da0d453f253c27f7f5b591a269.tar.xz
imx: ventana: added cputype env var
There are many similarities between the IMX6QUAD/IMX6DUAL and there are many similarities between the IMX6SOLO/IMX6DUALITE. Add a 'soctype' env variable that tells you which type you have. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 5c98eb4..452a905 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -1348,6 +1348,7 @@ int misc_init_r(void)
else if (is_cpu_type(MXC_CPU_MX6DL) ||
is_cpu_type(MXC_CPU_MX6SOLO))
cputype = "imx6dl";
+ setenv("soctype", cputype);
if (8 << (ventana_info.nand_flash_size-1) >= 2048)
setenv("flash_layout", "large");
else