From 845034e6b217d5ff73de03213ede9b17646a91b1 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 3 Oct 2014 19:21:04 +0900 Subject: 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 Cc: Chin Liang See Cc: Scott Wood --- drivers/mtd/nand/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/mtd/nand/Kconfig') diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 1d9bf48..75c2c06 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 -- cgit v1.1