From c680df7e84d3736ada08e4f0caa5a8b770e781ee Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 22 Aug 2019 12:28:04 +0200 Subject: 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 Cc: Eugen Hristev Cc: Miquel Raynal Cc: Gregory CLEMENT [trini: Rework such that the configs are unchanged to start with] Signed-off-by: Tom Rini --- configs/at91sam9260ek_dataflash_cs1_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/at91sam9260ek_dataflash_cs1_defconfig') diff --git a/configs/at91sam9260ek_dataflash_cs1_defconfig b/configs/at91sam9260ek_dataflash_cs1_defconfig index 7d7da16025..89129ce2f9 100644 --- a/configs/at91sam9260ek_dataflash_cs1_defconfig +++ b/configs/at91sam9260ek_dataflash_cs1_defconfig @@ -42,6 +42,7 @@ CONFIG_DM_GPIO=y CONFIG_AT91_GPIO=y # CONFIG_MMC is not set CONFIG_NAND=y +# CONFIG_SYS_NAND_USE_FLASH_BBT is not set CONFIG_NAND_ATMEL=y CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y -- cgit