summaryrefslogtreecommitdiff
path: root/include/configs/imx8qxp_mek.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-07-01 20:12:59 -0700
committerYe Li <ye.li@nxp.com>2018-07-01 20:20:58 -0700
commit94daa8d82823af7cbd39dbb7ddccd31f274f1115 (patch)
tree630ecdd28b31ee24c5a097a30d7a9727f67896cc /include/configs/imx8qxp_mek.h
parent61515cc15c57a161085d135063e90c70d7f1a75d (diff)
MLK-18723 imx8qm/qxp: Fix console baud rate issue in bootargs
Move using "${baudrate}" to mmcargs and netargs where it can be interpreted when executing "run mmcargs" or "run netargs" commands. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include/configs/imx8qxp_mek.h')
-rw-r--r--include/configs/imx8qxp_mek.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h
index 0c7950594f..bfd6a42d27 100644
--- a/include/configs/imx8qxp_mek.h
+++ b/include/configs/imx8qxp_mek.h
@@ -155,7 +155,8 @@
"script=boot.scr\0" \
"image=Image\0" \
"panel=NULL\0" \
- "console=ttyLP0,${baudrate} earlycon=lpuart32,0x5a060000,${baudrate}\0" \
+ "console=ttyLP0\0" \
+ "earlycon=lpuart32,0x5a060000\0" \
"fdt_addr=0x83000000\0" \
"fdt_high=0xffffffffffffffff\0" \
"cntr_addr=0x88000000\0" \
@@ -166,7 +167,7 @@
"mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
"mmcautodetect=yes\0" \
- "mmcargs=setenv bootargs console=${console} root=${mmcroot}\0 " \
+ "mmcargs=setenv bootargs console=${console},${baudrate} earlycon=${earlycon},${baudrate} root=${mmcroot}\0 " \
"loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
"bootscript=echo Running bootscript from mmc ...; " \
"source\0" \
@@ -193,7 +194,7 @@
"echo wait for boot; " \
"fi;" \
"fi;\0" \
- "netargs=setenv bootargs console=${console} " \
+ "netargs=setenv bootargs console=${console},${baudrate} earlycon=${earlycon},${baudrate} " \
"root=/dev/nfs " \
"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
"netboot=echo Booting from net ...; " \