mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user