All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: u-boot@lists.denx.de
Subject: [PATCH] arm: at91: configs: Enable CONFIG_SYS_NAND_USE_FLASH_BBT on all boards
Date: Thu, 26 Nov 2020 13:16:44 +0100	[thread overview]
Message-ID: <8576174.T7zDctlTAD@ada> (raw)
In-Reply-To: <20201126082135.247779-1-eugen.hristev@microchip.com>

Hello,

Am Donnerstag, 26. November 2020, 09:21:35 CET schrieb Eugen Hristev:
> From: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> As highlighted by Stefan in the commit e074d0f79b2e ("arm: at91:
> gardena-smart-gateway-at91sam: Enable CONFIG_SYS_NAND_USE_FLASH_BBT")
> it's important to use BBT when Linux enables it. We use it for a long
> time on all our boards.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> Cc: Stefan Roese <sr@denx.de>
> Cc: Eugen Hristev <eugen.hristev@microchip.com>
> Cc: Tom Rini <trini@konsulko.com>

Acked-by: Alexander Dahl <ada@thorsis.com>

Greets
Alex

> ---
>  configs/at91sam9260ek_dataflash_cs0_defconfig  | 1 -
>  configs/at91sam9260ek_dataflash_cs1_defconfig  | 1 -
>  configs/at91sam9260ek_nandflash_defconfig      | 1 -
>  configs/at91sam9261ek_dataflash_cs0_defconfig  | 1 -
>  configs/at91sam9261ek_dataflash_cs3_defconfig  | 1 -
>  configs/at91sam9261ek_nandflash_defconfig      | 1 -
>  configs/at91sam9263ek_dataflash_cs0_defconfig  | 1 -
>  configs/at91sam9263ek_dataflash_defconfig      | 1 -
>  configs/at91sam9263ek_nandflash_defconfig      | 1 -
>  configs/at91sam9263ek_norflash_boot_defconfig  | 1 -
>  configs/at91sam9263ek_norflash_defconfig       | 1 -
>  configs/at91sam9g10ek_dataflash_cs0_defconfig  | 1 -
>  configs/at91sam9g10ek_dataflash_cs3_defconfig  | 1 -
>  configs/at91sam9g10ek_nandflash_defconfig      | 1 -
>  configs/at91sam9g20ek_2mmc_defconfig           | 1 -
>  configs/at91sam9g20ek_2mmc_nandflash_defconfig | 1 -
>  configs/at91sam9g20ek_dataflash_cs0_defconfig  | 1 -
>  configs/at91sam9g20ek_dataflash_cs1_defconfig  | 1 -
>  configs/at91sam9g20ek_nandflash_defconfig      | 1 -
>  configs/at91sam9m10g45ek_mmc_defconfig         | 1 -
>  configs/at91sam9m10g45ek_nandflash_defconfig   | 1 -
>  configs/at91sam9n12ek_mmc_defconfig            | 1 -
>  configs/at91sam9n12ek_nandflash_defconfig      | 1 -
>  configs/at91sam9n12ek_spiflash_defconfig       | 1 -
>  configs/at91sam9rlek_dataflash_defconfig       | 1 -
>  configs/at91sam9rlek_mmc_defconfig             | 1 -
>  configs/at91sam9rlek_nandflash_defconfig       | 1 -
>  configs/at91sam9x5ek_dataflash_defconfig       | 1 -
>  configs/at91sam9x5ek_mmc_defconfig             | 1 -
>  configs/at91sam9x5ek_nandflash_defconfig       | 1 -
>  configs/at91sam9x5ek_spiflash_defconfig        | 1 -
>  configs/at91sam9xeek_dataflash_cs0_defconfig   | 1 -
>  configs/at91sam9xeek_dataflash_cs1_defconfig   | 1 -
>  configs/at91sam9xeek_nandflash_defconfig       | 1 -
>  configs/sama5d2_ptc_ek_mmc_defconfig           | 1 -
>  configs/sama5d2_ptc_ek_nandflash_defconfig     | 1 -
>  configs/sama5d36ek_cmp_mmc_defconfig           | 1 -
>  configs/sama5d36ek_cmp_nandflash_defconfig     | 1 -
>  configs/sama5d36ek_cmp_spiflash_defconfig      | 1 -
>  configs/sama5d3_xplained_mmc_defconfig         | 1 -
>  configs/sama5d3_xplained_nandflash_defconfig   | 1 -
>  configs/sama5d3xek_mmc_defconfig               | 1 -
>  configs/sama5d3xek_nandflash_defconfig         | 1 -
>  configs/sama5d3xek_spiflash_defconfig          | 1 -
>  configs/sama5d4_xplained_mmc_defconfig         | 1 -
>  configs/sama5d4_xplained_nandflash_defconfig   | 1 -
>  configs/sama5d4_xplained_spiflash_defconfig    | 1 -
>  configs/sama5d4ek_mmc_defconfig                | 1 -
>  configs/sama5d4ek_nandflash_defconfig          | 1 -
>  configs/sama5d4ek_spiflash_defconfig           | 1 -
>  50 files changed, 50 deletions(-)
> 
> diff --git a/configs/at91sam9260ek_dataflash_cs0_defconfig
> b/configs/at91sam9260ek_dataflash_cs0_defconfig index
> 0d9b69160a..89f5f2c959 100644
> --- a/configs/at91sam9260ek_dataflash_cs0_defconfig
> +++ b/configs/at91sam9260ek_dataflash_cs0_defconfig
> @@ -43,7 +43,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9260ek_dataflash_cs1_defconfig
> b/configs/at91sam9260ek_dataflash_cs1_defconfig index
> d0542ec60e..a7d0d2811b 100644
> --- a/configs/at91sam9260ek_dataflash_cs1_defconfig
> +++ b/configs/at91sam9260ek_dataflash_cs1_defconfig
> @@ -43,7 +43,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9260ek_nandflash_defconfig
> b/configs/at91sam9260ek_nandflash_defconfig index e68f0bd03d..a5eaba57bd
> 100644
> --- a/configs/at91sam9260ek_nandflash_defconfig
> +++ b/configs/at91sam9260ek_nandflash_defconfig
> @@ -40,7 +40,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9261ek_dataflash_cs0_defconfig
> b/configs/at91sam9261ek_dataflash_cs0_defconfig index
> e19b97b3b1..2172c7908d 100644
> --- a/configs/at91sam9261ek_dataflash_cs0_defconfig
> +++ b/configs/at91sam9261ek_dataflash_cs0_defconfig
> @@ -42,7 +42,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9261ek_dataflash_cs3_defconfig
> b/configs/at91sam9261ek_dataflash_cs3_defconfig index
> 0ea3d0d471..c1f79bc69d 100644
> --- a/configs/at91sam9261ek_dataflash_cs3_defconfig
> +++ b/configs/at91sam9261ek_dataflash_cs3_defconfig
> @@ -42,7 +42,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9261ek_nandflash_defconfig
> b/configs/at91sam9261ek_nandflash_defconfig index 48a8f3591a..4aaae5016a
> 100644
> --- a/configs/at91sam9261ek_nandflash_defconfig
> +++ b/configs/at91sam9261ek_nandflash_defconfig
> @@ -39,7 +39,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9263ek_dataflash_cs0_defconfig
> b/configs/at91sam9263ek_dataflash_cs0_defconfig index
> 2e0e808fe1..cee2b72c89 100644
> --- a/configs/at91sam9263ek_dataflash_cs0_defconfig
> +++ b/configs/at91sam9263ek_dataflash_cs0_defconfig
> @@ -47,7 +47,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9263ek_dataflash_defconfig
> b/configs/at91sam9263ek_dataflash_defconfig index 2e0e808fe1..cee2b72c89
> 100644
> --- a/configs/at91sam9263ek_dataflash_defconfig
> +++ b/configs/at91sam9263ek_dataflash_defconfig
> @@ -47,7 +47,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9263ek_nandflash_defconfig
> b/configs/at91sam9263ek_nandflash_defconfig index aad5e138f4..4f5a9d46e4
> 100644
> --- a/configs/at91sam9263ek_nandflash_defconfig
> +++ b/configs/at91sam9263ek_nandflash_defconfig
> @@ -44,7 +44,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9263ek_norflash_boot_defconfig
> b/configs/at91sam9263ek_norflash_boot_defconfig index
> f1d3575a19..7ee13e3199 100644
> --- a/configs/at91sam9263ek_norflash_boot_defconfig
> +++ b/configs/at91sam9263ek_norflash_boot_defconfig
> @@ -47,7 +47,6 @@ CONFIG_MTD_NOR_FLASH=y
>  CONFIG_FLASH_CFI_DRIVER=y
>  CONFIG_SYS_FLASH_CFI=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9263ek_norflash_defconfig
> b/configs/at91sam9263ek_norflash_defconfig index 04302f88e9..4eba692e03
> 100644
> --- a/configs/at91sam9263ek_norflash_defconfig
> +++ b/configs/at91sam9263ek_norflash_defconfig
> @@ -47,7 +47,6 @@ CONFIG_MTD_NOR_FLASH=y
>  CONFIG_FLASH_CFI_DRIVER=y
>  CONFIG_SYS_FLASH_CFI=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g10ek_dataflash_cs0_defconfig
> b/configs/at91sam9g10ek_dataflash_cs0_defconfig index
> 2b3469b26e..65e8fab559 100644
> --- a/configs/at91sam9g10ek_dataflash_cs0_defconfig
> +++ b/configs/at91sam9g10ek_dataflash_cs0_defconfig
> @@ -42,7 +42,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g10ek_dataflash_cs3_defconfig
> b/configs/at91sam9g10ek_dataflash_cs3_defconfig index
> 8f5fdd21a6..2c292d2c7f 100644
> --- a/configs/at91sam9g10ek_dataflash_cs3_defconfig
> +++ b/configs/at91sam9g10ek_dataflash_cs3_defconfig
> @@ -42,7 +42,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g10ek_nandflash_defconfig
> b/configs/at91sam9g10ek_nandflash_defconfig index 5bc3cb3d00..2a5acd5f01
> 100644
> --- a/configs/at91sam9g10ek_nandflash_defconfig
> +++ b/configs/at91sam9g10ek_nandflash_defconfig
> @@ -39,7 +39,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g20ek_2mmc_defconfig
> b/configs/at91sam9g20ek_2mmc_defconfig index 546ae19227..67dbca0b86 100644
> --- a/configs/at91sam9g20ek_2mmc_defconfig
> +++ b/configs/at91sam9g20ek_2mmc_defconfig
> @@ -42,7 +42,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g20ek_2mmc_nandflash_defconfig
> b/configs/at91sam9g20ek_2mmc_nandflash_defconfig index
> bb9ff3ea9c..6bba1ab46f 100644
> --- a/configs/at91sam9g20ek_2mmc_nandflash_defconfig
> +++ b/configs/at91sam9g20ek_2mmc_nandflash_defconfig
> @@ -42,7 +42,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g20ek_dataflash_cs0_defconfig
> b/configs/at91sam9g20ek_dataflash_cs0_defconfig index
> 2576f93acd..25232054b1 100644
> --- a/configs/at91sam9g20ek_dataflash_cs0_defconfig
> +++ b/configs/at91sam9g20ek_dataflash_cs0_defconfig
> @@ -43,7 +43,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g20ek_dataflash_cs1_defconfig
> b/configs/at91sam9g20ek_dataflash_cs1_defconfig index
> 46d611c158..ecfbacde0b 100644
> --- a/configs/at91sam9g20ek_dataflash_cs1_defconfig
> +++ b/configs/at91sam9g20ek_dataflash_cs1_defconfig
> @@ -43,7 +43,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9g20ek_nandflash_defconfig
> b/configs/at91sam9g20ek_nandflash_defconfig index 843e17f796..8e0db87696
> 100644
> --- a/configs/at91sam9g20ek_nandflash_defconfig
> +++ b/configs/at91sam9g20ek_nandflash_defconfig
> @@ -40,7 +40,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9m10g45ek_mmc_defconfig
> b/configs/at91sam9m10g45ek_mmc_defconfig index dd77c8d6ed..2c4bbd016c
> 100644
> --- a/configs/at91sam9m10g45ek_mmc_defconfig
> +++ b/configs/at91sam9m10g45ek_mmc_defconfig
> @@ -42,7 +42,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_ETH=y
>  CONFIG_MACB=y
> diff --git a/configs/at91sam9m10g45ek_nandflash_defconfig
> b/configs/at91sam9m10g45ek_nandflash_defconfig index e13851d8f6..4494f8d9ed
> 100644
> --- a/configs/at91sam9m10g45ek_nandflash_defconfig
> +++ b/configs/at91sam9m10g45ek_nandflash_defconfig
> @@ -42,7 +42,6 @@ CONFIG_AT91_GPIO=y
>  CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_ETH=y
>  CONFIG_MACB=y
> diff --git a/configs/at91sam9n12ek_mmc_defconfig
> b/configs/at91sam9n12ek_mmc_defconfig index fa802c3625..74a28a3029 100644
> --- a/configs/at91sam9n12ek_mmc_defconfig
> +++ b/configs/at91sam9n12ek_mmc_defconfig
> @@ -41,7 +41,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/at91sam9n12ek_nandflash_defconfig
> b/configs/at91sam9n12ek_nandflash_defconfig index 429b14053d..42d86fd3b7
> 100644
> --- a/configs/at91sam9n12ek_nandflash_defconfig
> +++ b/configs/at91sam9n12ek_nandflash_defconfig
> @@ -41,7 +41,6 @@ CONFIG_AT91_GPIO=y
>  CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
>  CONFIG_DM_SPI_FLASH=y
> diff --git a/configs/at91sam9n12ek_spiflash_defconfig
> b/configs/at91sam9n12ek_spiflash_defconfig index 997594720b..6a340f5a01
> 100644
> --- a/configs/at91sam9n12ek_spiflash_defconfig
> +++ b/configs/at91sam9n12ek_spiflash_defconfig
> @@ -43,7 +43,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/at91sam9rlek_dataflash_defconfig
> b/configs/at91sam9rlek_dataflash_defconfig index ea14df9e27..7e2b63562f
> 100644
> --- a/configs/at91sam9rlek_dataflash_defconfig
> +++ b/configs/at91sam9rlek_dataflash_defconfig
> @@ -45,7 +45,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9rlek_mmc_defconfig
> b/configs/at91sam9rlek_mmc_defconfig index 5e62ff3d3f..f8fe961ddc 100644
> --- a/configs/at91sam9rlek_mmc_defconfig
> +++ b/configs/at91sam9rlek_mmc_defconfig
> @@ -41,7 +41,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9rlek_nandflash_defconfig
> b/configs/at91sam9rlek_nandflash_defconfig index ff32bf5801..60715a0cd9
> 100644
> --- a/configs/at91sam9rlek_nandflash_defconfig
> +++ b/configs/at91sam9rlek_nandflash_defconfig
> @@ -42,7 +42,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9x5ek_dataflash_defconfig
> b/configs/at91sam9x5ek_dataflash_defconfig index e9159d8ec3..b6d6a302d8
> 100644
> --- a/configs/at91sam9x5ek_dataflash_defconfig
> +++ b/configs/at91sam9x5ek_dataflash_defconfig
> @@ -46,7 +46,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
>  CONFIG_DM_SPI_FLASH=y
> diff --git a/configs/at91sam9x5ek_mmc_defconfig
> b/configs/at91sam9x5ek_mmc_defconfig index 7f8fa22dc2..d48d2d7333 100644
> --- a/configs/at91sam9x5ek_mmc_defconfig
> +++ b/configs/at91sam9x5ek_mmc_defconfig
> @@ -44,7 +44,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/at91sam9x5ek_nandflash_defconfig
> b/configs/at91sam9x5ek_nandflash_defconfig index 2f39c8235c..2b1256d184
> 100644
> --- a/configs/at91sam9x5ek_nandflash_defconfig
> +++ b/configs/at91sam9x5ek_nandflash_defconfig
> @@ -44,7 +44,6 @@ CONFIG_AT91_GPIO=y
>  CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
>  CONFIG_DM_SPI_FLASH=y
> diff --git a/configs/at91sam9x5ek_spiflash_defconfig
> b/configs/at91sam9x5ek_spiflash_defconfig index 8575a33943..eb935d6ddc
> 100644
> --- a/configs/at91sam9x5ek_spiflash_defconfig
> +++ b/configs/at91sam9x5ek_spiflash_defconfig
> @@ -46,7 +46,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/at91sam9xeek_dataflash_cs0_defconfig
> b/configs/at91sam9xeek_dataflash_cs0_defconfig index c92d08f5c7..d9633051fd
> 100644
> --- a/configs/at91sam9xeek_dataflash_cs0_defconfig
> +++ b/configs/at91sam9xeek_dataflash_cs0_defconfig
> @@ -43,7 +43,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9xeek_dataflash_cs1_defconfig
> b/configs/at91sam9xeek_dataflash_cs1_defconfig index 5959c623e4..fd07ebcb8d
> 100644
> --- a/configs/at91sam9xeek_dataflash_cs1_defconfig
> +++ b/configs/at91sam9xeek_dataflash_cs1_defconfig
> @@ -43,7 +43,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/at91sam9xeek_nandflash_defconfig
> b/configs/at91sam9xeek_nandflash_defconfig index 1f32b824b1..a7722276ea
> 100644
> --- a/configs/at91sam9xeek_nandflash_defconfig
> +++ b/configs/at91sam9xeek_nandflash_defconfig
> @@ -40,7 +40,6 @@ CONFIG_AT91_GPIO=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_ATMEL=y
> diff --git a/configs/sama5d2_ptc_ek_mmc_defconfig
> b/configs/sama5d2_ptc_ek_mmc_defconfig index e566f54685..0c0dcbb545 100644
> --- a/configs/sama5d2_ptc_ek_mmc_defconfig
> +++ b/configs/sama5d2_ptc_ek_mmc_defconfig
> @@ -52,7 +52,6 @@ CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_ATMEL=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_ATMEL_NAND_HW_PMECC=y
>  CONFIG_PMECC_CAP=4
> diff --git a/configs/sama5d2_ptc_ek_nandflash_defconfig
> b/configs/sama5d2_ptc_ek_nandflash_defconfig index a3316093c0..224afea367
> 100644
> --- a/configs/sama5d2_ptc_ek_nandflash_defconfig
> +++ b/configs/sama5d2_ptc_ek_nandflash_defconfig
> @@ -52,7 +52,6 @@ CONFIG_DM_MMC=y
>  CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_ATMEL=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_ATMEL_NAND_HW_PMECC=y
>  CONFIG_PMECC_CAP=4
> diff --git a/configs/sama5d36ek_cmp_mmc_defconfig
> b/configs/sama5d36ek_cmp_mmc_defconfig index 846f96b595..22c1134658 100644
> --- a/configs/sama5d36ek_cmp_mmc_defconfig
> +++ b/configs/sama5d36ek_cmp_mmc_defconfig
> @@ -45,7 +45,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/sama5d36ek_cmp_nandflash_defconfig
> b/configs/sama5d36ek_cmp_nandflash_defconfig index d38a0bea6d..ed78f4ed48
> 100644
> --- a/configs/sama5d36ek_cmp_nandflash_defconfig
> +++ b/configs/sama5d36ek_cmp_nandflash_defconfig
> @@ -45,7 +45,6 @@ CONFIG_AT91_GPIO=y
>  CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
>  CONFIG_DM_SPI_FLASH=y
> diff --git a/configs/sama5d36ek_cmp_spiflash_defconfig
> b/configs/sama5d36ek_cmp_spiflash_defconfig index 6a63a74162..8fc183faa2
> 100644
> --- a/configs/sama5d36ek_cmp_spiflash_defconfig
> +++ b/configs/sama5d36ek_cmp_spiflash_defconfig
> @@ -47,7 +47,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/sama5d3_xplained_mmc_defconfig
> b/configs/sama5d3_xplained_mmc_defconfig index ec117ee693..c839b4fe6e
> 100644
> --- a/configs/sama5d3_xplained_mmc_defconfig
> +++ b/configs/sama5d3_xplained_mmc_defconfig
> @@ -64,7 +64,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_ETH=y
>  CONFIG_MACB=y
> diff --git a/configs/sama5d3_xplained_nandflash_defconfig
> b/configs/sama5d3_xplained_nandflash_defconfig index 7f9c73b464..4d8a63fbd7
> 100644
> --- a/configs/sama5d3_xplained_nandflash_defconfig
> +++ b/configs/sama5d3_xplained_nandflash_defconfig
> @@ -63,7 +63,6 @@ CONFIG_AT91_GPIO=y
>  CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_PMECC_CAP=4
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
> diff --git a/configs/sama5d3xek_mmc_defconfig
> b/configs/sama5d3xek_mmc_defconfig index 50f97e68e1..70c6e30718 100644
> --- a/configs/sama5d3xek_mmc_defconfig
> +++ b/configs/sama5d3xek_mmc_defconfig
> @@ -69,7 +69,6 @@ CONFIG_FLASH_CFI_DRIVER=y
>  CONFIG_SYS_FLASH_PROTECTION=y
>  CONFIG_SYS_FLASH_CFI=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/sama5d3xek_nandflash_defconfig
> b/configs/sama5d3xek_nandflash_defconfig index 3521a44081..fe615c3d1d
> 100644
> --- a/configs/sama5d3xek_nandflash_defconfig
> +++ b/configs/sama5d3xek_nandflash_defconfig
> @@ -67,7 +67,6 @@ CONFIG_MTD_NOR_FLASH=y
>  CONFIG_FLASH_CFI_DRIVER=y
>  CONFIG_SYS_FLASH_PROTECTION=y
>  CONFIG_SYS_FLASH_CFI=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_PMECC_CAP=4
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
> diff --git a/configs/sama5d3xek_spiflash_defconfig
> b/configs/sama5d3xek_spiflash_defconfig index b8c4d3263f..5a06518c9c 100644
> --- a/configs/sama5d3xek_spiflash_defconfig
> +++ b/configs/sama5d3xek_spiflash_defconfig
> @@ -70,7 +70,6 @@ CONFIG_FLASH_CFI_DRIVER=y
>  CONFIG_SYS_FLASH_PROTECTION=y
>  CONFIG_SYS_FLASH_CFI=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/sama5d4_xplained_mmc_defconfig
> b/configs/sama5d4_xplained_mmc_defconfig index 33a1ea7165..d1cbf32bd0
> 100644
> --- a/configs/sama5d4_xplained_mmc_defconfig
> +++ b/configs/sama5d4_xplained_mmc_defconfig
> @@ -60,7 +60,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_ATMEL_NAND_HW_PMECC=y
>  CONFIG_PMECC_CAP=8
> diff --git a/configs/sama5d4_xplained_nandflash_defconfig
> b/configs/sama5d4_xplained_nandflash_defconfig index a47199fbf7..f805cf1182
> 100644
> --- a/configs/sama5d4_xplained_nandflash_defconfig
> +++ b/configs/sama5d4_xplained_nandflash_defconfig
> @@ -60,7 +60,6 @@ CONFIG_I2C_EEPROM=y
>  CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_PMECC_CAP=8
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
> diff --git a/configs/sama5d4_xplained_spiflash_defconfig
> b/configs/sama5d4_xplained_spiflash_defconfig index de5f92de6f..d9ad9cc522
> 100644
> --- a/configs/sama5d4_xplained_spiflash_defconfig
> +++ b/configs/sama5d4_xplained_spiflash_defconfig
> @@ -66,7 +66,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/sama5d4ek_mmc_defconfig
> b/configs/sama5d4ek_mmc_defconfig index 25d875ec2e..d91a6f6644 100644
> --- a/configs/sama5d4ek_mmc_defconfig
> +++ b/configs/sama5d4ek_mmc_defconfig
> @@ -60,7 +60,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000
> diff --git a/configs/sama5d4ek_nandflash_defconfig
> b/configs/sama5d4ek_nandflash_defconfig index 3ef8ed6c30..00216f0da8 100644
> --- a/configs/sama5d4ek_nandflash_defconfig
> +++ b/configs/sama5d4ek_nandflash_defconfig
> @@ -60,7 +60,6 @@ CONFIG_AT91_GPIO=y
>  CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_PMECC_CAP=8
>  CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
> diff --git a/configs/sama5d4ek_spiflash_defconfig
> b/configs/sama5d4ek_spiflash_defconfig index cb8ed99cdd..5ebd1cc9b1 100644
> --- a/configs/sama5d4ek_spiflash_defconfig
> +++ b/configs/sama5d4ek_spiflash_defconfig
> @@ -63,7 +63,6 @@ CONFIG_DM_MMC=y
>  CONFIG_GENERIC_ATMEL_MCI=y
>  CONFIG_MTD=y
>  CONFIG_MTD_RAW_NAND=y
> -# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
>  CONFIG_NAND_ATMEL=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SF_DEFAULT_SPEED=30000000

  reply	other threads:[~2020-11-26 12:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26  8:21 [PATCH] arm: at91: configs: Enable CONFIG_SYS_NAND_USE_FLASH_BBT on all boards Eugen Hristev
2020-11-26 12:16 ` Alexander Dahl [this message]
2021-01-07  7:46   ` Eugen.Hristev at microchip.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8576174.T7zDctlTAD@ada \
    --to=ada@thorsis.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.