[PATCH 00/13] pxa3xx patches to support mvebu builds

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Mon Jul 29 19:24:10 EDT 2013


Hello everyone!

This patchset is part of the work I'm doing to enable the pxa3xx-nand
driver to support the NAND controller in Armada 370/XP. While this
work in progress, here's a subet of patches I consider good enough
for mainline.

It's worth noting that using these patches and adding appropriate
DT nodes, the NAND controller in Armada 370/XP SoC can detect
devices that are ONFI-compliant.

It's also worth noting that since pxa3xx has a mach-specific
DMA API, I'm including a few patches to ifdef such pxa-specific
code in non PXA/MMP platforms. This ugly workaround should be
removed once the specific DMA API is replaced by dmaengine.

Since there's no current schedule on when should that move happen,
for now we have no choice but to implement some ifdefs workaround.

Other than that, the rest of the patchset is just assorted cleanups
and minor fixes.

I'm Ccing some past pxa3xx-nand testers and reviewers, with the hope
they can take a look at this new patchset.

Any feedback and testing will be highly appreciated!

Ezequiel Garcia (13):
  mtd: nand: pxa3xx: Handle ECC and DMA enable/disable properly
  mtd: nand: pxa3xx: Allow to set/clear the 'spare enable' field
  mtd: nand: pxa3xx: Support command buffer #3
  mtd: nand: pxa3xx: Use 'length override' in ONFI paramater page read
  mtd: nand: pxa3xx: Add a local loop variable
  mtd: nand: pxa3xx: Remove hardcoded mtd name
  mtd: nand: pxa3xx: Remove uneeded internal cmdset
  mtd: nand: pxa3xx: Move cached registers to info structure
  mtd: nand: pxa3xx: Make dma code dependent on dma capable platforms
  mtd: nand: pxa3xx: Add inline keyword to function enable_int()
  mtd: nand: pxa3xx: Allow devices with no dma resources
  mtd: nand: pxa3xx-nand: Increase data buffer size
  mtd: nand: Allow to build pxa3xx_nand on Orion platforms

 drivers/mtd/nand/Kconfig                      |   2 +-
 drivers/mtd/nand/pxa3xx_nand.c                | 229 +++++++++++++++-----------
 include/linux/platform_data/mtd-nand-pxa3xx.h |  13 --
 3 files changed, 132 insertions(+), 112 deletions(-)

-- 
1.8.1.5




More information about the linux-mtd mailing list