]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: phytec: phycore_am64x: Move earlycon into own variable
authorDaniel Schultz <d.schultz@phytec.de>
Mon, 1 Jul 2024 06:20:50 +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_am64x/phycore_am64x.env

index ada3a9233be8ed092cafb72d056870a629759e84..e24a958f51dcee68efd9f82c966774abaaf5af52 100644 (file)
@@ -11,7 +11,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}