mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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: Tom Rix <Tom.Rix@windriver.com>
This commit is contained in:
parent
dba107b967
commit
6bb6e6c75e
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@
|
|||
#include <command.h>
|
||||
#include <asm/system.h>
|
||||
#include <asm/cache.h>
|
||||
#ifndef CONFIG_L2_OFF
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#endif
|
||||
|
||||
static void cache_flush(void);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue