summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/Kconfig
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2012-09-27 10:58:06 -0600
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-15 15:37:46 +0200
commit30f9f2fb7ba032665c8cea7694c815f18ed47a34 (patch)
treec6c8d570b67f4544b39ed4b4725d899cd1b970f1 /drivers/mtd/nand/Kconfig
parent2a0a288ec258bd38d8855fad9419aeb45b7e8499 (diff)
downloadlinux-30f9f2fb7ba032665c8cea7694c815f18ed47a34.tar.gz
linux-30f9f2fb7ba032665c8cea7694c815f18ed47a34.tar.bz2
linux-30f9f2fb7ba032665c8cea7694c815f18ed47a34.zip
mtd: denali: add a DT driver
Add a device tree version of the Denali NAND driver. Based on an original patch from Jamie Iles to add a MMIO version of this driver. Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r--drivers/mtd/nand/Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 5102e87f8df0..ee803d611e4e 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -69,7 +69,14 @@ config MTD_NAND_DENALI_PCI
help
Enable the driver for NAND flash on Intel Moorestown, using the
Denali NAND controller core.
-
+
+config MTD_NAND_DENALI_DT
+ tristate "Support Denali NAND controller as a DT device"
+ depends on HAVE_CLK && MTD_NAND_DENALI
+ help
+ Enable the driver for NAND flash on platforms using a Denali NAND
+ controller as a DT device.
+
config MTD_NAND_DENALI_SCRATCH_REG_ADDR
hex "Denali NAND size scratch register address"
default "0xFF108018"