[U-Boot] [RFC] command/cache: Add flush_cache command

York Sun yorksun at freescale.com
Tue Mar 19 23:07:33 CET 2013


On 03/19/2013 03:01 PM, Albert ARIBAUD wrote:
> What's the point of this command exactly? I can see the point of range
> flushes (and invalidates) in the code for drivers that use DMA, but as a
> shell command, I fail to see the interest of it.
> 

I am actually expecting this question. We have a situation that an
application is copied by u-boot to its destination in memory. The code
needs to be "seen" in the main memory. Without flushing cache, it is
only visible to cores.

York





More information about the U-Boot mailing list