From: Tim Harvey Date: Fri, 8 Aug 2014 05:35:42 +0000 (-0700) Subject: imx: ventana: added cputype env var X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=a7c67d7c496952da0d453f253c27f7f5b591a269;p=u-boot.git 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 --- diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 5c98eb4908..452a9053f5 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