Skip to content
Commit 85cdf38e authored by Hou Zhiqiang's avatar Hou Zhiqiang Committed by York Sun
Browse files

armv8: fsl-layerscape: add i/d-cache enable function to enable_caches



This function assume that the d-cache and MMU has been enabled earlier,
so it just created MMU table in main memory. But the assumption is not
always correct, for example, the early setup is done in EL3, while
enable_caches() is called when the PE has turned into another EL.

Define the function mmu_setup() for fsl-layerscape to cover the weak
one.

Signed-off-by: default avatarHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent 5ad5823d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment