From: Nikhil M Jain <n-jain1@ti.com>
Date: Wed, 21 Jun 2023 10:59:52 +0000 (+0530)
Subject: board: ti: am62x: evm: Include necessary header files
X-Git-Tag: v2025.01-rc5-pxa1908~929^2~21
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=eeea6e298dc83b4a93a18c846e8e567d9beb0c1f;p=u-boot.git

board: ti: am62x: evm: Include necessary header files

At the time of compilation evm.c gives below warning for implicit
declaration of enable_caches, to mitigate this include cpu_func.h.

board/ti/am62x/evm.c: In function ‘spl_board_init’:
board/ti/am62x/evm.c:90:9: warning: implicit declaration of function ‘enable_caches’ [-Wimplicit-function-declaration]
90 |         enable_caches();

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
---

diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c
index 34830f445f..f7afd4f378 100644
--- a/board/ti/am62x/evm.c
+++ b/board/ti/am62x/evm.c
@@ -12,6 +12,7 @@
 #include <init.h>
 #include <video.h>
 #include <splash.h>
+#include <cpu_func.h>
 #include <k3-ddrss.h>
 #include <fdt_support.h>
 #include <asm/io.h>