From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 31 May 2020 08:10:46 -0600 Subject: [PATCH 2/2] dma-mapping: Add header file for ARCH_DMA_MINALIGN In-Reply-To: <20200530172722.GD23469@bill-the-cat> References: <20200530102901.1.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> <20200530102901.2.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> <20200530172010.GC23469@bill-the-cat> <20200530172722.GD23469@bill-the-cat> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, On Sat, 30 May 2020 at 11:27, Tom Rini wrote: > > On Sat, May 30, 2020 at 01:20:10PM -0400, Tom Rini wrote: > > On Sat, May 30, 2020 at 10:29:04AM -0600, Simon Glass wrote: > > > > > This is defined in the asm/cache.h header file. Update this header file to > > > include it. > > > > > > Signed-off-by: Simon Glass > > > > Reviewed-by: Tom Rini > > > > There's also drivers/usb/host/ohci.h and lib/elf.c which also reference > > ARCH_DMA_MINALIGN without also logically pulling it in, I'll fix those. > > Dunno how I missed that 1/2 is what fixed that one, sorry. And > lib/elf.c is a problem in theory but would be a fail to build if not > pulled in logically so I'll leave it be for now. Yes I think the issue is the #ifdef default. Probably that should be removed at some point as it is quite risky to have that sort of thing. Regards, Simon