Skip to content
Snippets Groups Projects
Commit 1e6ad55c authored by York Sun's avatar York Sun Committed by Albert ARIBAUD
Browse files

armv8/cache: Change cache invalidate and flush function


When SoC first boots up, we should invalidate the cache but not flush it.
We can use the same function for invalid and flush mostly, with a wrapper.

Invalidating large cache can ben slow on emulator, so we postpone doing
so until I-cache is enabled, and before enabling D-cache.

Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
CC: David Feng <fenghua@phytium.com.cn>
parent 83571bca
No related branches found
No related tags found
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