From: Daniel Schultz Date: Wed, 17 Jul 2024 05:11:32 +0000 (-0700) Subject: include: env: phytec: k3_mmc: Apply overlays during boot X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=59d87e6a28d2e1a7a0b064ebf21adfdcd79fe343;p=u-boot.git include: env: phytec: k3_mmc: Apply overlays during boot Include the overlays.env file and run the apply routine before booting the Kernel. Signed-off-by: Daniel Schultz Reviewed-by: Wadim Egorov --- diff --git a/include/env/phytec/k3_mmc.env b/include/env/phytec/k3_mmc.env index e1208a6eea..3d3595ceb7 100644 --- a/include/env/phytec/k3_mmc.env +++ b/include/env/phytec/k3_mmc.env @@ -6,6 +6,8 @@ /* Logic for TI K3 based SoCs to boot from a MMC device. */ +#include + 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}