From: Chintan Vankar Date: Thu, 31 Jul 2025 07:59:50 +0000 (+0530) Subject: board: ti: j722s: evm: Enable cache for J722s X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80b529d8776fe48eb595bc3eaf739751b5bea15c;p=thirdparty%2Fu-boot.git 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 --- 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) {