]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include: env: phytec: k3_mmc: Apply overlays during boot
authorDaniel Schultz <d.schultz@phytec.de>
Wed, 17 Jul 2024 05:11:32 +0000 (22:11 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 22 Jul 2024 19:47:57 +0000 (13:47 -0600)
Include the overlays.env file and run the apply routine before
booting the Kernel.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
include/env/phytec/k3_mmc.env

index e1208a6eea102c2e50c620f8345a44ff84522c3d..3d3595ceb7e8e63ee20abe447a47a986c1f3af4f 100644 (file)
@@ -6,6 +6,8 @@
 
 /* Logic for TI K3 based SoCs to boot from a MMC device. */
 
+#include <env/phytec/overlays.env>
+
 mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
        root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
 loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image
@@ -15,4 +17,5 @@ mmcboot=run mmcargs;
        mmc rescan;
        run loadimage;
        run loadfdt;
+       run mmc_apply_overlays;
        booti ${loadaddr} - ${fdt_addr_r}