On 10/18/2011 12:35 AM, Joachim Foerster wrote: > AFAIK the NIOS2 architecture does not have any possibility to > dynamically switch off the data cache. So _status() always reports 1 and > _enable/_disable() just issue a flush of everything. > > For example, common/cmd_elf.c depends on these symbols. > > Signed-off-by: Joachim Foerster<joachim.foers...@missinglinkelectronics.com> > --- > Changes for v2: > - Remove return; from added void functions > > arch/nios2/cpu/cpu.c | 15 +++++++++++++++ > 1 files changed, 15 insertions(+), 0 deletions(-)
Hi Joachim, I got this warning. Please fix it with appropriate header. Thanks. Configuring for nios2-generic board... cpu.c: In function 'dcache_enable': cpu.c:58: warning: implicit declaration of function 'flush_dcache' Best regards, Thomas _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot