summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-11-29 21:19:41 -0800
committerYe Li <ye.li@nxp.com>2020-11-29 22:11:29 -0800
commit16de6daf3dc5089f1373407fc735909f2fef0769 (patch)
tree9876af97d2d97f202b84164be5f20280e40d4758
parent5f5e55e5bd0ad9c05d584b2f4244bf0a8aba07e6 (diff)
MLK-25046 imx: bee: Fix build warning of flush_dcache_range
Fix below build warning when enabling BEE config on iMX6UL EVK board. arch/arm/mach-imx/mx6/bee.c: In function ‘bee_test’: arch/arm/mach-imx/mx6/bee.c:201:2: warning: implicit declaration of function ‘flush_dcache_range’; did yomean ‘check_cache_range’? [-Wimplicit-function-declaration] 201 | flush_dcache_range(address, address + range); | ^~~~~~~~~~~~~~~~~~ | check_cache_range Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 134d22e59af3931d283c123c1aa3fc44cb86761d)
-rw-r--r--arch/arm/mach-imx/mx6/bee.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx6/bee.c b/arch/arm/mach-imx/mx6/bee.c
index 0cd4ed436d..c4c04ddf88 100644
--- a/arch/arm/mach-imx/mx6/bee.c
+++ b/arch/arm/mach-imx/mx6/bee.c
@@ -13,6 +13,7 @@
#include <command.h>
#include <fuse.h>
#include <asm/arch/sys_proto.h>
+#include <cpu_func.h>
DECLARE_GLOBAL_DATA_PTR;