]> git.baikalelectronics.ru Git - uboot.git/commit
imx8qxp_mek: Fix the console command line string
authorFabio Estevam <festevam@gmail.com>
Mon, 17 Feb 2020 18:17:01 +0000 (15:17 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Mar 2020 14:03:31 +0000 (15:03 +0100)
commitd732c8df5451192bdb8e2af51b7e81452a5227e8
tree0884ee662a16f32e5d4eb941e78e3dc049d9464f
parent16f04127924240c0ee93dfb39ff0be97a6561b81
imx8qxp_mek: Fix the console command line string

Currently the expansion of the console variable leads to
the following kernel command line:

console=ttyLP0,${baudrate} earlycon root=/dev/mmcblk1p2 rootwait rw

, which causes the console to not show characters after the LPUART driver
is probed as the 'baudrate' variable is not properly translated.

Fix it by splitting the console variable in two parts: one for the
ttyLP0 part and the other one for the baudrate, which matches the way
it is done on other i.MX targets.

Tested by successfully booting a mainline kernel on a i.MX8QXP MEK
board.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
include/configs/imx8qxp_mek.h