Skip to content
Snippets Groups Projects
Commit 6bb6e6c7 authored by Tom Rix's avatar Tom Rix Committed by Wolfgang Denk
Browse files

OMAP3 Fix compiler warning for v7_flush_dcache_all


On build of omap3 targets in MAKEALL, the *.ERR files have

cpu.c: In function 'cleanup_before_linux':
cpu.c:64: warning: implicit declaration of function 'v7_flush_dcache_all'
cpu.c:64: warning: implicit declaration of function 'get_device_type

The functions v7_flush_dcache_all and get_device_type are declared
in include/asm-arm/arch-omap3/sys_proto.h, so use this file to
declare the functions.

Signed-off-by: default avatarTom Rix <Tom.Rix@windriver.com>
parent dba107b9
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,9 @@ ...@@ -35,6 +35,9 @@
#include <command.h> #include <command.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/cache.h> #include <asm/cache.h>
#ifndef CONFIG_L2_OFF
#include <asm/arch/sys_proto.h>
#endif
static void cache_flush(void); static void cache_flush(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment