Commit 5eb328e3f058e43bef9bae71bdab25bbc9a08239

Authored by Ye Li
1 parent baaa810e60

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)

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/arm/mach-imx/mx6/bee.c
... ... @@ -13,6 +13,7 @@
13 13 #include <command.h>
14 14 #include <fuse.h>
15 15 #include <asm/arch/sys_proto.h>
  16 +#include <cpu_func.h>
16 17  
17 18 DECLARE_GLOBAL_DATA_PTR;
18 19