On 08/08/2014 07:35, Tim Harvey wrote:
> 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 <thar...@gateworks.com>
> ---
>  board/gateworks/gw_ventana/gw_ventana.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/board/gateworks/gw_ventana/gw_ventana.c 
> b/board/gateworks/gw_ventana/gw_ventana.c
> index a8fcb5d..de2336e 100644
> --- a/board/gateworks/gw_ventana/gw_ventana.c
> +++ b/board/gateworks/gw_ventana/gw_ventana.c
> @@ -1264,6 +1264,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);

So you have soc=mx6 and soctype=<value of cputype>, if CONFIG_SYS_SOC is
set.

Is it important to have both or you can simply redefine the variable "soc" ?

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=====================================================================
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to