Forum Discussion
Altera_Forum
Honored Contributor
21 years agoWith u-boot on the \f core, it seems the dcache is not invalidated for a flash erase.
This will cause some confusion when displaying a sector, erasing it, and then displaying it again. 'md' does not bypass dcache, and maybe that is the way it should be, so what is the proper way to handle this? BTW I do not see any doc details on how dcache is supposed to work - like what is the behavior on read vs write, and what sort of latency before actual HW access in each case. Does cache_bypass macro just bypass or also update cache? thanks