From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 15 Mar 2012 23:30:31 -0400 Subject: [U-Boot] [PATCH] net: force PKTALIGN to ARCH_DMA_MINALIGN In-Reply-To: <201203160350.08910.marex@denx.de> References: <1331760956-3901-1-git-send-email-eric.nelson@boundarydevices.com> <201203160350.08910.marex@denx.de> Message-ID: <201203152330.32987.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: