summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-03 19:21:04 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-05 14:10:09 +0900
commit845034e6b217d5ff73de03213ede9b17646a91b1 (patch)
treed14cb46361813d97a6a90d769d31f901ff7f318a /drivers/mtd/nand/Kconfig
parent4b0abf9f3c024225987ec92ea9ae9e8a1ac5950d (diff)
mtd: denali: add Denali NAND driver for SPL
The SPL-mode driver for Denali(Cadence) NAND Flash Memory Controller IP. This driver requires two CONFIG macros: - CONFIG_SPL_NAND_DENALI Define to enable this driver. - CONFIG_SYS_NAND_BAD_BLOCK_POS Specify bad block mark position in the oob space. Typically 0. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Chin Liang See <clsee@altera.com> Cc: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r--drivers/mtd/nand/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 1d9bf4802c..75c2c065c8 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -29,4 +29,14 @@ config NAND_DENALI_SPARE_AREA_SKIP_BYTES
endif
+if SPL_BUILD
+
+config SPL_NAND_DENALI
+ bool "Support Denali NAND controller for SPL"
+ help
+ This is a small implementation of the Denali NAND controller
+ for use on SPL.
+
+endif
+
endmenu