summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-06-30 15:04:13 -0500
committerWolfgang Denk <wd@denx.de>2009-07-18 22:36:32 +0200
commit6bb6e6c75ec4ef496f00f7f530e549d3e073c5de (patch)
tree7ba3777738f3f8644c164f8dc11d27116e8b130f /cpu
parentdba107b967332fc8a35867f4d58038626c968800 (diff)
downloadu-boot-imx-6bb6e6c75ec4ef496f00f7f530e549d3e073c5de.zip
u-boot-imx-6bb6e6c75ec4ef496f00f7f530e549d3e073c5de.tar.gz
u-boot-imx-6bb6e6c75ec4ef496f00f7f530e549d3e073c5de.tar.bz2
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>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm_cortexa8/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/cpu.c b/cpu/arm_cortexa8/cpu.c
index 822ee7d..5a5981e 100644
--- a/cpu/arm_cortexa8/cpu.c
+++ b/cpu/arm_cortexa8/cpu.c
@@ -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);