Skip to content
Snippets Groups Projects
Commit 44cdfc0e authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Tom Rini
Browse files

mtd: nand: lpc32xx slc: disable DMA support in SPL builds


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: default avatarVladimir Zapolskiy <vz@mleia.com>
parent a098ce21
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment