summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-11-30 16:55:13 +0100
committerAndrejs Cainikovs <andrejs.cainikovs@toradex.com>2022-12-23 15:22:25 +0100
commitc163b1b276b871e3024f7667519f25eef7e27298 (patch)
treef4ed476f76dcaea465e26b5d4c5cb28dfaf9525e
parent2ffb80e811658f75eea11d44946546529eecf85b (diff)
apalis-imx8: introduce setup setting setupargs
Introduce setup setting setupargs and move earlycon there. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-14-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--include/configs/apalis-imx8.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h
index 93abb80db8..6dffbac336 100644
--- a/include/configs/apalis-imx8.h
+++ b/include/configs/apalis-imx8.h
@@ -34,7 +34,7 @@
MEM_LAYOUT_ENV_SETTINGS \
"boot_file=Image\0" \
"boot_script_dhcp=boot.scr\0" \
- "console=ttyLP1 earlycon\0" \
+ "console=ttyLP1\0" \
"fdt_addr=0x83000000\0" \
"fdt_board=eval\0" \
"finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \
@@ -45,6 +45,8 @@
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
"mmcpart=1\0" \
"panel=NULL\0" \
+ "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \
+ "consoleblank=0 earlycon\0" \
"update_uboot=askenv confirm Did you load u-boot-dtb.imx (y/N)?; " \
"if test \"$confirm\" = \"y\"; then " \
"setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \