engicam: Set console env on board_late_init

Set console env on board_late_init instead of configs.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
Jagan Teki 2017-05-12 17:18:26 +05:30 committed by Stefano Babic
parent 8bd06ba91a
commit 46f9c839c9
5 changed files with 5 additions and 4 deletions

View File

@ -53,6 +53,11 @@ int board_late_init(void)
break;
}
if (is_mx6ul())
setenv("console", "ttymxc0");
else
setenv("console", "ttymxc3");
setenv_fdt_file();
return 0;

View File

@ -40,7 +40,6 @@
"splashpos=m,m\0" \
"image=uImage\0" \
"fit_image=fit.itb\0" \
"console=ttymxc3\0" \
"fdt_high=0xffffffff\0" \
"fdt_addr=0x18000000\0" \
"boot_fdt=try\0" \

View File

@ -35,7 +35,6 @@
"script=boot.scr\0" \
"image=uImage\0" \
"fit_image=fit.itb\0" \
"console=ttymxc3\0" \
"fdt_high=0xffffffff\0" \
"fdt_addr=0x18000000\0" \
"boot_fdt=try\0" \

View File

@ -39,7 +39,6 @@
"script=boot.scr\0" \
"image=uImage\0" \
"fit_image=fit.itb\0" \
"console=ttymxc0\0" \
"fdt_high=0xffffffff\0" \
"fdt_addr=0x87800000\0" \
"boot_fdt=try\0" \

View File

@ -40,7 +40,6 @@
"image=uImage\0" \
"fit_image=fit.itb\0" \
"splashpos=m,m\0" \
"console=ttymxc0\0" \
"fdt_high=0xffffffff\0" \
"fdt_addr=0x87800000\0" \
"boot_fdt=try\0" \