board: ti: am62x: evm: Include necessary header files
authorNikhil M Jain <n-jain1@ti.com>
Wed, 21 Jun 2023 10:59:52 +0000 (16:29 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jul 2023 17:13:41 +0000 (13:13 -0400)
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>
board/ti/am62x/evm.c

index 34830f4..f7afd4f 100644 (file)
@@ -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>