commit | 88590148fa8b7e2d7ca910a7a03b5c5700af58e4 | [log] [tgz] |
---|---|---|
author | York Sun <yorksun@freescale.com> | Mon Mar 31 14:40:32 2014 -0700 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Mon Apr 07 22:19:00 2014 +0200 |
tree | f7e4f3bf60c3fc2446fafb779a5bc560a2ce452f | |
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>