u-boot-brain/arch/sh/cpu
Mike Frysinger 172106433b sh: avoid multiple definition errors with cache funcs
Recent builds for SH4 boards fail with a lot of errors like:
	cmd_mem.o: In function 'dcache_invalid_range':
	include/asm/cache.h:25: multiple definition of 'dcache_invalid_range'
	include/asm/cache.h:25: first defined here

This is due to the funcs being defined in the header, but not static
or inline or extern.  So move them to the sh4-specific cache.c file.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2011-12-02 13:46:21 +09:00
..
sh2 sh: only add -mno-fdpic if the compiler supports it 2011-12-02 13:46:20 +09:00
sh3 punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
sh4 sh: avoid multiple definition errors with cache funcs 2011-12-02 13:46:21 +09:00