Skip to content
Commit fe9805fc authored by Alex Kiernan's avatar Alex Kiernan Committed by Tom Rini
Browse files

bootcount: Fix misaligned cache operation



1947c2d2 introduces cache line flushes for the bootcounter, but if
the start address is not aligned then the flush causes warnings of
the form:

  CACHE: Misaligned operation at range [4030b7fc, 4030b83c]

Align both the start and end of the buffer (possibly crossing multiple
lines).

Fixes: 1947c2d2 ("bootcount: flush after storing the bootcounter")
Signed-off-by: default avatarAlex Kiernan <alex.kiernan@gmail.com>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
parent 1416e2d2
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