diff options
author | York Sun <yorksun@freescale.com> | 2014-03-31 14:40:32 -0700 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-04-07 22:19:00 +0200 |
commit | 88590148fa8b7e2d7ca910a7a03b5c5700af58e4 (patch) | |
tree | f7e4f3bf60c3fc2446fafb779a5bc560a2ce452f /lib | |
parent | 0883b0b58eac1a82e4c332f4506cdaeb92e09727 (diff) |
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: York Sun <yorksun@freescale.com>
Acked-by: David.Feng <fenghua@phytium.com.cn>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions