[U-Boot] bootcount: Fix misaligned cache operation

Tom Rini trini at konsulko.com
Sat Aug 4 23:40:28 UTC 2018


On Wed, Jul 25, 2018 at 11:45:58AM +0000, Alex Kiernan wrote:

> 1947c2d2a0 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: 1947c2d2a0 ("bootcount: flush after storing the bootcounter")
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
> Acked-by: Stefano Babic <sbabic at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180804/af1f8c12/attachment.sig>


More information about the U-Boot mailing list