diff options
author | Stefan Roese <sr@denx.de> | 2019-08-22 12:28:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-25 20:58:37 -0400 |
commit | c680df7e84d3736ada08e4f0caa5a8b770e781ee (patch) | |
tree | de4fd7d43a7057453ee06bfa8f0cdf8a6998b63a /drivers/mtd/nand | |
parent | 1bf330150c2a34af797cafa5a09722a2fc4ae233 (diff) | |
download | u-boot-c680df7e84d3736ada08e4f0caa5a8b770e781ee.tar.gz u-boot-c680df7e84d3736ada08e4f0caa5a8b770e781ee.tar.bz2 u-boot-c680df7e84d3736ada08e4f0caa5a8b770e781ee.zip |
mtd: nand: raw: Move CONFIG_SYS_NAND_USE_FLASH_BBT to Kconfig
Convert CONFIG_SYS_NAND_USE_FLASH_BBT to Kconfig, update defconfigs,
headers and whitelist.
Please note that this symbol already was used in Kconfig
(imply in CONFIG_NAND_ATMEL) which did not work, since this symbol was
not available in Kconfig. This changes now with this patch and all
boards with CONFIG_NAND_ATMEL will have BBT enabled. Which is what
I also need on my GARDENA AT91SAM based board.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
[trini: Rework such that the configs are unchanged to start with]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/raw/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index f86035bcce..a129f44869 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -15,6 +15,11 @@ config SYS_NAND_DRIVER_ECC_LAYOUT Omit standard ECC layouts to safe space. Select this if your driver is known to provide its own ECC layout. +config SYS_NAND_USE_FLASH_BBT + bool "Enable BBT (Bad Block Table) support" + help + Enable the BBT (Bad Block Table) usage. + config NAND_ATMEL bool "Support Atmel NAND controller" imply SYS_NAND_USE_FLASH_BBT |