Skip to content
Snippets Groups Projects
Commit 42ddfad6 authored by Leo Yan's avatar Leo Yan Committed by Albert ARIBAUD
Browse files

ARMv8: fix bug for flush data cache by set/way


When flush the d$ with set/way instruction, it need calculate the way's
offset = log2(Associativity); but in current uboot's code, it use below
formula to calculate the offset: log2(Associativity * 2 - 1), so finally
it cannot flush data cache properly.

Signed-off-by: default avatarLeo Yan <leoy@marvell.com>
parent 88590148
No related branches found
No related tags found
No related merge requests found
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