[U-Boot-Users] do_bootm() and flush_cache()
Scott McNutt
smcnutt at psyent.com
Thu Mar 24 03:56:01 CET 2005
>>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
>
>
> Why?
After the move/decompression, the data cache must be
flushed to main memory ... otherwise an instruction
cache miss (after jumping into the kernel) may read
in a (potentially) stale line. (Neither cache can be
disabled.)
Regards,
--Scott
More information about the U-Boot
mailing list