[RFC PATCH 0/9] Support for MMIO based Denali NAND controller

Jamie Iles jamie at jamieiles.com
Fri May 6 10:28:54 EDT 2011


The Denali block found in the Intel Moorestown platform can also be found in
some SoC devices on a simple bus rather than PCI.  This series refactors the
PCI based driver so that it can either be registered as either a PCI device or
a platform_device.

This series also incorporates a couple of small cleanups and support for MTD
partitioning.

This is an early RFC as the silicon with the device in isn't back yet and I
don't have a Moorestown platform to test against, but I'd appreciate any
feedback.

Jamie Iles (9):
  nand/denali: convert to generic DMA API
  nand/denali: remove nearly-duplicated register definitions
  nand/denali: detect the number of banks
  nand/denali: split the generic driver and PCI layer
  nand/denali: convert to dev_() printk helpers
  nand/denali: add an mmio driver
  nand/denali: annotate pci init/exit functions with correct section
  nand/denali: allow the number of ECC bits to be set by pdata
  nand/denali: support MTD partitioning

 drivers/mtd/nand/Kconfig             |   21 ++-
 drivers/mtd/nand/Makefile            |    2 +
 drivers/mtd/nand/denali.c            |  500 ++++++++++++----------------------
 drivers/mtd/nand/denali.h            |  379 +++++---------------------
 drivers/mtd/nand/denali_mmio.c       |  145 ++++++++++
 drivers/mtd/nand/denali_pci.c        |  143 ++++++++++
 include/linux/platform_data/denali.h |   25 ++
 7 files changed, 576 insertions(+), 639 deletions(-)
 create mode 100644 drivers/mtd/nand/denali_mmio.c
 create mode 100644 drivers/mtd/nand/denali_pci.c
 create mode 100644 include/linux/platform_data/denali.h

-- 
1.7.4.4




More information about the linux-mtd mailing list