[U-Boot] efi_loader: Always flush in cache line size granularity

Tom Rini trini at konsulko.com
Thu Apr 21 13:22:40 CEST 2016


On Mon, Apr 11, 2016 at 11:20:39PM +0200, Alexander Graf wrote:

> The cache line flush helpers only work properly when they get aligned
> start and end addresses. Round our flush range to cache line size. It's
> safe because we're guaranteed to flush within a single page which has the
> same cache attributes.
> 
> Reported-by: Marek Vasut <marex at denx.de>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> Reviewed-by: Andreas Färber <afaerber at suse.de>
> Tested-by: Andreas Färber <afaerber at suse.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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160421/5f0de3a7/attachment.sig>


More information about the U-Boot mailing list