aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Graute <oliver.graute@kococonnector.com>2020-11-06 09:09:29 +0100
committerStefano Babic <sbabic@denx.de>2020-12-06 15:31:36 +0100
commitb15cd88b225ad5a4e81d9144c5e5c265c8588933 (patch)
tree365c7de6bcca50913a56a41666eb646b03b66af3
parent492b728f9f5af73ee407d800170935429d8dcf90 (diff)
downloadu-boot-b15cd88b225ad5a4e81d9144c5e5c265c8588933.zip
u-boot-b15cd88b225ad5a4e81d9144c5e5c265c8588933.tar.gz
u-boot-b15cd88b225ad5a4e81d9144c5e5c265c8588933.tar.bz2
imx: ahab: fix implicit declaration warning
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>
-rw-r--r--arch/arm/mach-imx/imx8/ahab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx8/ahab.c b/arch/arm/mach-imx/imx8/ahab.c
index 9df7474..4bb7c46 100644
--- a/arch/arm/mach-imx/imx8/ahab.c
+++ b/arch/arm/mach-imx/imx8/ahab.c
@@ -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;