]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: phytec: phycore_am62x: Move earlycon into own variable
authorDaniel Schultz <d.schultz@phytec.de>
Mon, 1 Jul 2024 06:20:49 +0000 (23:20 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 16 Jul 2024 18:56:36 +0000 (12:56 -0600)
By moving the earlycon definition into a dedicated variable, it's
easier to change these values in case the kernel should print on
a different serial interface.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
board/phytec/phycore_am62x/phycore_am62x.env

index 42db26a5990eabbdec8e3c952d14a3250d49d8f1..2d6475d408f131fb4a4fedc3190e3cd7198fae82 100644 (file)
@@ -13,7 +13,8 @@ mmcdev=1
 mmcroot=2
 mmcpart=1
 console=ttyS2,115200n8
-mmcargs=setenv bootargs console=${console} earlycon=ns16550a,mmio32,0x02800000
+earlycon=ns16550a,mmio32,0x02800000
+mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
        root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
 loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image
 loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${fdtfile}