[U-Boot-Users] cache related query for MIPS

Hi All, I am using u-boot for booting Nucleus on our MIPS 4KC processor.
In u-boot code, when we give 'bootelf' command, it load all sections one by one and then do flus_cache for that section. (though flush_cache() function is empty). And in the last before jumping to start location it disable the caches using dcache_disable().
My question here is why cache is tried to flushed and disabled before jumping into start location? And what if new OS do not touches the cache configuration at all?
thanks, Chetan Nanda

Chetan Nanda wrote:
My question here is why cache is tried to flushed and disabled before jumping into start location?
As described in source code, it seems be the QNX requirement. I don't know much about QNX, but archives probably help you.
http://search.gmane.org/?query=bootelf+dcache_disable&author=&group=...
participants (2)
-
Chetan Nanda
-
Shinya Kuribayashi