aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/raw/Kconfig')
-rw-r--r--drivers/mtd/nand/raw/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index da2c5795bc3..48a7507c643 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -83,6 +83,18 @@ config SPL_GENERATE_ATMEL_PMECC_HEADER
help
Generate Programmable Multibit ECC (PMECC) header for SPL image.
+choice
+ prompt "NAND bus width (bits)"
+ default SYS_NAND_DBW_8
+
+config SYS_NAND_DBW_8
+ bool "NAND bus width is 8 bits"
+
+config SYS_NAND_DBW_16
+ bool "NAND bus width is 16 bits"
+
+endchoice
+
endif
config NAND_BRCMNAND