[U-Boot] [PATCH] sh: fix build error in cache.h

2011-10-30 Thread Yoshihiro Shimoda
In the latest U-Boot, the include/common.h includes the asm/cache.h. So, the dcache_invalid_range() in the arch/sh/include/asm/cache.h is multiple defination. sh4-linux-gnu-ld -e 0x8FFC --defsym reloc_dst=0x8FFC -r -o libsh4.o cpu.o interrupts.o watchdog.o cache.o start.o interrupts.o:

Re: [U-Boot] [PATCH] sh: fix build error in cache.h

2011-10-30 Thread Mike Frysinger
On Sunday 30 October 2011 21:44:13 Yoshihiro Shimoda wrote: In the latest U-Boot, the include/common.h includes the asm/cache.h. So, the dcache_invalid_range() in the arch/sh/include/asm/cache.h is multiple defination. i posted a fix for this already:

Re: [U-Boot] [PATCH] sh: fix build error in cache.h

2011-10-30 Thread Yoshihiro Shimoda
2011/10/31 11:25, Mike Frysinger wrote: On Sunday 30 October 2011 21:44:13 Yoshihiro Shimoda wrote: In the latest U-Boot, the include/common.h includes the asm/cache.h. So, the dcache_invalid_range() in the arch/sh/include/asm/cache.h is multiple defination. i posted a fix for this already: