[U-Boot] [PATCH] net: force PKTALIGN to ARCH_DMA_MINALIGN

Mike Frysinger vapier at gentoo.org
Fri Mar 16 04:30:31 CET 2012


On Thursday 15 March 2012 22:50:08 Marek Vasut wrote:
> Dear Eric Nelson,
> > This will prevent the need for architectures whose DMA alignment
> > is greater than 32 to have bounce buffers.
> > 
> > --- a/include/net.h
> > +++ b/include/net.h
> > 
> > -#define PKTALIGN	32
> > +#define PKTALIGN	ARCH_DMA_MINALIGN
> 
> Won't this break retarded hardware that has ARCH_DMA_MINALIGN smaller than
> 32 ?

why would it ?
-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/20120315/6f794f64/attachment.pgp>


More information about the U-Boot mailing list