[U-Boot] [PATCH 5/7] FAT: get_cluster: Add buffer bouncing

Mike Frysinger vapier at gentoo.org
Fri Jul 20 00:48:26 CEST 2012


On Thursday 19 July 2012 18:02:37 Benoît Thébaudeau wrote:
> +	if ((unsigned long)buffer & (ARCH_DMA_MINALIGN - 1)) {
>  		ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size);
> 
> +		debug("FAT: Misaligned buffer address (%p)\n", buffer);

i'd suggest making this a printf.  bounce buffers are not cheap.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120719/15ecb8f4/attachment.pgp>


More information about the U-Boot mailing list