[U-Boot-Users] do_bootm() and flush_cache()

Scott McNutt smcnutt at psyent.com
Wed Mar 23 02:40:38 CET 2005

I'm looking for some guidance:

On some processors (e.g. Nios-II), the instruction and
data caches can't be disabled. The code for loadb, loads,
etc. call flush_cache() ... so life is good.

But after reviewing do_bootm(), I don't see where the
caches are flushed. A call to flush_cache() after
moving/decompressing the image seems appropriate, but
I'm not sure if this would break other architectures ...

... do I need to wrap an ifdef around a call to
flush_cache() ?


More information about the U-Boot mailing list