From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 17 Nov 2018 08:32:43 -0500 Subject: [U-Boot] mtd: nand: lpc32xx slc: disable DMA support in SPL builds In-Reply-To: <20181019002118.4674-1-vz@mleia.com> References: <20181019002118.4674-1-vz@mleia.com> Message-ID: <20181117133243.GT11247@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 19, 2018 at 03:21:18AM +0300, Vladimir Zapolskiy wrote: > Testing and analysis shows that at the moment LPC32xx NAND SLC driver > can not get PL080 DMA backbone support in SPL build, because SPL NAND > loaders operate with subpage (ECC step to be precisely) reads, and > this is not supported in the NAND SLC + DMA + hardware ECC calculation > bundle. > > The change removes a cautious build time warning and explicitly > disables DMA flavour of the driver for SPL builds, to reduce the > amound of #ifdef sections the code blocks are minimally reorganized. > > Signed-off-by: Vladimir Zapolskiy Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: