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

Marek Vasut marek.vasut at gmail.com
Fri Mar 16 05:43:28 CET 2012


Dear Mike Frysinger,

> 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 ?

Nevermind.

Best regards,
Marek Vasut


More information about the U-Boot mailing list