Re: [PATCH 3/3] ARM v7: added v7_mmu_cache_invalidate()

2013-05-17 Thread Sascha Hauer
On Tue, May 14, 2013 at 03:14:56PM +0200, Enrico Scholz wrote: > At least the iMX6 boot rom seems to jump into barebox with a non > invalidated d-cache which causes data corruption when > v7_mmu_cache_flush() executed by arm_early_mmu_cache_flush() overrides > stack or other valid data. > > That's

[PATCH 3/3] ARM v7: added v7_mmu_cache_invalidate()

2013-05-14 Thread Enrico Scholz
At least the iMX6 boot rom seems to jump into barebox with a non invalidated d-cache which causes data corruption when v7_mmu_cache_flush() executed by arm_early_mmu_cache_flush() overrides stack or other valid data. That's why the cache must be invalided for this processors explicitly (e.g. in ba