[U-Boot] Conflicting definitions of flush_dcache

2011-10-31 Thread Stefan Kristiansson
Hi, I noticed the following dilemma when I tried to enable both CONFIG_ETHOC and CONFIG_CMD_CACHE: The ethoc ethernet driver expects: void flush_dcache(unsigned long start, unsigned long size) while cmd_cache.c expect it to be: void flush_dcache(void) Grepping around the sources, I found that

Re: [U-Boot] Conflicting definitions of flush_dcache

2011-10-31 Thread Mike Frysinger
On Monday 31 October 2011 03:56:25 Stefan Kristiansson wrote: so my gut feeling is that nios2 and the 2 ethernet drivers should be changed to use for example flush_dcache_range(?) correct Perhaps cmd_cache.c should also be fixed to use flush_dcache_all()? flush_icache() ofcourse suffer from

Re: [U-Boot] Conflicting definitions of flush_dcache

2011-10-31 Thread Thomas Chou
On 11/01/2011 02:32 AM, Mike Frysinger wrote: On Monday 31 October 2011 03:56:25 Stefan Kristiansson wrote: so my gut feeling is that nios2 and the 2 ethernet drivers should be changed to use for example flush_dcache_range(?) correct Thanks. I will fix the nios2 and the two net drivers to