RT106081: U-Boot STM32F7. Synchronize D-/I-caches on bootm
This is to avoid 'HARD FAULT' when booting from flash mem having the
'write-back' caching policy. In this case the data copied may remain
in D-cache without flushing them to SDRAM, so on executing such code
we'll fill I-cache with garbage from SDRAM.
Signed-off-by:
Yuri Tikhonov <yur@emcraft.com>
Please register or sign in to comment