]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: ahab: fix implicit declaration warning
authorOliver Graute <oliver.graute@kococonnector.com>
Fri, 6 Nov 2020 08:09:29 +0000 (09:09 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 6 Dec 2020 14:31:36 +0000 (15:31 +0100)
Fix the following warning:

arch/arm/mach-imx/imx8/ahab.c:105:3: warning: implicit declaration of function ‘flush_dcache_range’ [-Wimplicit-function-declaration]
   flush_dcache_range(s, e);
   ^~~~~~~~~~~~~~~~~~

Include cpu_func.h header which declares the flush_dcache_range()
function.

Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: uboot-imx <uboot-imx@nxp.com>
arch/arm/mach-imx/imx8/ahab.c

index 9df74741397e15b92547c11352692671651c9aed..4bb7c4692153a50de4242aa34e3f73876516521f 100644 (file)
@@ -14,6 +14,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/image.h>
 #include <console.h>
+#include <cpu_func.h>
 
 DECLARE_GLOBAL_DATA_PTR;