[PATCH] spl: fit: Allocate buffers aligned to cache line size

Tom Rini trini at konsulko.com
Thu Sep 15 16:01:41 CEST 2022


On Tue, Jun 14, 2022 at 04:12:00PM +0200, Stefan Herbrechtsmeier wrote:

> From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
> 
> Allocate memory for buffers at a cache-line boundary to avoid
> misaligned buffer address for subsequent reads. This avoids an
> additional sector-based memory copy in the fat file system driver:
> 
> FAT: Misaligned buffer address (...)
> 
> Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>

Applied to u-boot/next, thanks!

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


More information about the U-Boot mailing list