From 80b529d8776fe48eb595bc3eaf739751b5bea15c Mon Sep 17 00:00:00 2001 From: Chintan Vankar Date: Thu, 31 Jul 2025 13:29:50 +0530 Subject: [PATCH] board: ti: j722s: evm: Enable cache for J722s Enable cache for J722s to optimize performance of CPU to access data from memory. Reviewed-by: Alexander Sverdlin Signed-off-by: Chintan Vankar --- board/ti/j722s/evm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/board/ti/j722s/evm.c b/board/ti/j722s/evm.c index d2b94913c12..32d767cb7d2 100644 --- a/board/ti/j722s/evm.c +++ b/board/ti/j722s/evm.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -15,6 +16,13 @@ #include #include "../common/fdt_ops.h" +#if IS_ENABLED(CONFIG_SPL_BUILD) +void spl_board_init(void) +{ + enable_caches(); +} +#endif + #if defined(CONFIG_XPL_BUILD) void spl_perform_fixups(struct spl_image_info *spl_image) { -- 2.47.3