Skip to content
Commit 88590148 authored by York Sun's avatar York Sun Committed by Albert ARIBAUD
Browse files

armv8: Flush dcache before switching to EL2



For ARMv8, U-boot has been running at EL3 with cache and MMU enabled.
Without proper setup for EL2, cache and MMU are both disabled (out of
reset). Before switching, we need to flush the dcache to make sure the
data is in the main memory.

Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
Acked-by: default avatarDavid.Feng <fenghua@phytium.com.cn>
parent 0883b0b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment