When MAKEALL arm is run, the omap3 board *.ERR files contains this warning cpu.c: In function 'cleanup_before_linux': cpu.c:64: warning: implicit declaration of function 'get_device_type'
To fix this warning, use the declaration of get_device_type in sys_proto.h Signed-off-by: Tom Rix <tom....@windriver.com> --- cpu/arm_cortexa8/cpu.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/cpu/arm_cortexa8/cpu.c b/cpu/arm_cortexa8/cpu.c index 7f57ee9..ab59ab0 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); -- 1.6.0.5 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot