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 <alexander.sverdlin@siemens.com>
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
This commit is contained in:
Chintan Vankar
2025-07-31 13:29:50 +05:30
committed by Tom Rini
parent a02009f3a8
commit 80b529d877

View File

@@ -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)
{