diff options
author | Devarsh Thakkar <devarsht@ti.com> | 2024-02-23 13:54:58 +0530 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2024-03-21 14:26:33 +0000 |
commit | c47ffe65472707bd885abe5d6d3b8aa891fdb398 (patch) | |
tree | 0dd35feb0aa68bd73f101960becd2dedf5fad24b /board | |
parent | c609792629dac4441e501144dfc162de55a26fa8 (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 6e06003f217..5ab56260a4a 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" |