[PATCH V3 03/10] arch: arm: mach-k3: am625_init: Enable Dcache in SPL

Nikhil M Jain n-jain1 at ti.com
Tue May 9 12:31:39 CEST 2023


Add support for enabling dcache already in SPL.

Signed-off-by: Nikhil M Jain <n-jain1 at ti.com>
---
V3 (patch introduced):
- Enable dcache at SPL.

 arch/arm/mach-k3/am625_init.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-k3/am625_init.c b/arch/arm/mach-k3/am625_init.c
index a91c15ca4e..10956399e9 100644
--- a/arch/arm/mach-k3/am625_init.c
+++ b/arch/arm/mach-k3/am625_init.c
@@ -168,6 +168,7 @@ void board_init_f(ulong dummy)
 	if (ret)
 		panic("DRAM init failed: %d\n", ret);
 #endif
+	spl_enable_dcache();
 }
 
 u32 spl_mmc_boot_mode(struct mmc *mmc, const u32 boot_device)
-- 
2.34.1



More information about the U-Boot mailing list