Skip to content
Snippets Groups Projects
Commit a7c67d7c authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

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: default avatarTim Harvey <tharvey@gateworks.com>
parent 3aa22674
No related branches found
No related tags found
No related merge requests found
...@@ -1348,6 +1348,7 @@ int misc_init_r(void) ...@@ -1348,6 +1348,7 @@ int misc_init_r(void)
else if (is_cpu_type(MXC_CPU_MX6DL) || else if (is_cpu_type(MXC_CPU_MX6DL) ||
is_cpu_type(MXC_CPU_MX6SOLO)) is_cpu_type(MXC_CPU_MX6SOLO))
cputype = "imx6dl"; cputype = "imx6dl";
setenv("soctype", cputype);
if (8 << (ventana_info.nand_flash_size-1) >= 2048) if (8 << (ventana_info.nand_flash_size-1) >= 2048)
setenv("flash_layout", "large"); setenv("flash_layout", "large");
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment