diff options
| author | Chintan Vankar <[email protected]> | 2025-07-31 13:29:50 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-08-20 11:06:19 -0600 |
| commit | 80b529d8776fe48eb595bc3eaf739751b5bea15c (patch) | |
| tree | f875aa974945b075043fa32c13f17166c8194976 | |
| parent | a02009f3a816e7de42fccff895397906304290ef (diff) | |
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 <[email protected]>
Signed-off-by: Chintan Vankar <[email protected]>
| -rw-r--r-- | board/ti/j722s/evm.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <asm/arch/hardware.h> #include <asm/io.h> +#include <cpu_func.h> #include <dm/uclass.h> #include <env.h> #include <fdt_support.h> @@ -15,6 +16,13 @@ #include <asm/arch/k3-ddr.h> #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) { |
