From 59d87e6a28d2e1a7a0b064ebf21adfdcd79fe343 Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Tue, 16 Jul 2024 22:11:32 -0700 Subject: [PATCH] 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 --- include/env/phytec/k3_mmc.env | 3 +++ 1 file changed, 3 insertions(+) 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} -- 2.39.5