diff mbox series

[7/9] include: env: phytec: k3_mmc: Apply overlays during boot

Message ID 20240703054202.2812540-8-d.schultz@phytec.de
State Superseded
Delegated to: Tom Rini
Headers show
Series Generalize PHYTEC Overlay Handling | expand

Commit Message

Daniel Schultz July 3, 2024, 5:42 a.m. UTC
Include the overlays.env file and run the apply routine before
booting the Kernel.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 include/env/phytec/k3_mmc.env | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/include/env/phytec/k3_mmc.env b/include/env/phytec/k3_mmc.env
index e1208a6eea1..3d3595ceb7e 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}