]> git.ipfire.org Git - thirdparty/u-boot.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)
commit10a8cc01b32114c6412691206f6402ed3fc50c9f
tree0884ee662a16f32e5d4eb941e78e3dc049d9464f
parentc82b70bcc3b73934a1aeaeceb52561a3950a1fc5
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