diff options
author | Stefan Agner | 2018-06-24 23:27:25 +0200 |
---|---|---|
committer | Miquel Raynal | 2018-07-02 09:02:06 +0200 |
commit | d7d9f8ec77fe90472a649d1c2adba43a2e306eeb (patch) | |
tree | 06d362d7544a707ae5f5465c8dedafb65e564f58 /drivers/mtd/nand/raw/Kconfig | |
parent | dt-bindings: mtd: add tegra NAND controller binding (diff) | |
download | kernel-qcow2-linux-d7d9f8ec77fe90472a649d1c2adba43a2e306eeb.tar.gz kernel-qcow2-linux-d7d9f8ec77fe90472a649d1c2adba43a2e306eeb.tar.xz kernel-qcow2-linux-d7d9f8ec77fe90472a649d1c2adba43a2e306eeb.zip |
mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver
Add support for the NAND flash controller found on NVIDIA
Tegra 2 SoCs. This implementation does not make use of the
command queue feature. Regular operations using ->exec_op()
use PIO mode for data transfers. Raw, ECC and OOB read/writes
make use of the DMA mode for data transfer.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/Kconfig')
-rw-r--r-- | drivers/mtd/nand/raw/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 6871ff0fd300..6074a946708a 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -530,4 +530,14 @@ config MTD_NAND_MTK Enables support for NAND controller on MTK SoCs. This controller is found on mt27xx, mt81xx, mt65xx SoCs. +config MTD_NAND_TEGRA + tristate "Support for NAND controller on NVIDIA Tegra" + depends on ARCH_TEGRA || COMPILE_TEST + help + Enables support for NAND flash controller on NVIDIA Tegra SoC. + The driver has been developed and tested on a Tegra 2 SoC. DMA + support, raw read/write page as well as HW ECC read/write page + is supported. Extra OOB bytes when using HW ECC are currently + not supported. + endif # MTD_NAND |