Skip to content
Commit d1b9b06b authored by Jiafei Pan's avatar Jiafei Pan Committed by Benjamin Cabé
Browse files

arm64: reset: flush D-Cache before it is disabled



In the commit 573a712b patch "arm64:
reset: disable cache and MMU for safety", it disables D-Cache and MMU
for safety, but in some cases, for example the code is loaded into memory
by hardware debugger, we need to flush D-Cache before disable it in
order to make sure the data is coherent in the system, otherwise it
will report "Synchronous Abort" when D-Cache is disabled.

Signed-off-by: default avatarJiafei Pan <Jiafei.Pan@nxp.com>
parent ad0dfc5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment