summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2024-07-16 22:11:32 -0700
committerTom Rini <trini@konsulko.com>2024-07-22 13:47:57 -0600
commit59d87e6a28d2e1a7a0b064ebf21adfdcd79fe343 (patch)
tree8ff62eab21fbe907882b3620074b844094e15fc9 /include
parent381580e31bc53d215543088fa0ff5343efc2760d (diff)
downloadu-boot-59d87e6a28d2e1a7a0b064ebf21adfdcd79fe343.tar.gz
u-boot-59d87e6a28d2e1a7a0b064ebf21adfdcd79fe343.tar.bz2
u-boot-59d87e6a28d2e1a7a0b064ebf21adfdcd79fe343.zip
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 <d.schultz@phytec.de> Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
Diffstat (limited to 'include')
-rw-r--r--include/env/phytec/k3_mmc.env3
1 files changed, 3 insertions, 0 deletions
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 <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}