diff options
author | Devarsh Thakkar <devarsht@ti.com> | 2024-02-23 13:54:58 +0530 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2024-02-23 11:07:00 -0600 |
commit | ed30ae315c83e1ed2db76b2f740859e5289737a1 (patch) | |
tree | 3481b38466dde09a97c5a8061c773d1089ae8fa8 /board | |
parent | bc8e096e814ad044be30a6b517d07def55328e76 (diff) |
board: ti: am62p: Fix compilation warning for implicit declaration
Fixes below warning by including cpu_funcs.h:
"board/ti/am62px/evm.c: In function `spl_board_init`:
board/ti/am62px/evm.c:83:9: warning: implicit declaration of function
`enable_caches` [-Wimplicit-function-declaration]
83 | enable_caches();"
| ^~~~~~~~~~~~~
While at it, also sort the include headers by placing video.h at the
end.
Fixes: a7e8f56abf9 ("board: ti: am62p: Add splash screen support")
Reviewed-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/ti/am62px/evm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c index 6e06003f21..5ab56260a4 100644 --- a/board/ti/am62px/evm.c +++ b/board/ti/am62px/evm.c @@ -9,13 +9,13 @@ #include <asm/arch/hardware.h> #include <asm/io.h> #include <common.h> +#include <cpu_func.h> #include <dm/uclass.h> #include <env.h> #include <fdt_support.h> #include <spl.h> -#include <video.h> #include <splash.h> - +#include <video.h> #include "../common/rtc.h" #include "../common/k3-ddr-init.h" |