diff options
| author | Stefan Eichenberger <[email protected]> | 2023-02-10 11:33:51 +0100 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-03-30 08:40:27 +0200 |
| commit | 3a84d61fd4fe6bc8eaa6eaf244368152e39f42cb (patch) | |
| tree | ad344c32de1cc64cd8ee62ace63a31d17fd035be | |
| parent | db869a278526020779cf1c855c353e92ba31733c (diff) | |
configs: colibri-imx7: Fix bad block table in flash configuration
Make sure that the bad block table in flash is used on Colibri iMX7.
Without this configuration enabled U-Boot corrupts the bad block table
and Linux will update the table on each reboot. The corruption occurs
because if CONFIG_SYS_NAND_USE_FLASH_BBT is not set, U-boot will store
bad blocks out of band, while the Linux driver for the iMX7 will store
them in band in a bad block table.
Fixes: fd8c1fc9430 ("arm: dts: imx7: colibri: add raw NAND support")
Signed-off-by: Stefan Eichenberger <[email protected]>
Signed-off-by: Francesco Dolcini <[email protected]>
Reviewed-by: Michael Trimarchi <[email protected]>
Reviewed-by: Marcel Ziswiler <[email protected]>
| -rw-r--r-- | configs/colibri_imx7_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/colibri_imx7_defconfig b/configs/colibri_imx7_defconfig index d00144eccc3..3a67ea38508 100644 --- a/configs/colibri_imx7_defconfig +++ b/configs/colibri_imx7_defconfig @@ -77,6 +77,7 @@ CONFIG_FSL_USDHC=y CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_MTD_RAW_NAND=y +CONFIG_SYS_NAND_USE_FLASH_BBT=y CONFIG_NAND_MXS_DT=y CONFIG_SYS_NAND_ONFI_DETECTION=y CONFIG_MTD_UBI_FASTMAP=y |
