summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2023-02-08 16:11:49 +0100
committerStefan Eichenberger <eichest@gmail.com>2023-02-15 09:17:15 +0100
commitd7ac31a7e7ac919d97997c1eca7e39a919cd79a8 (patch)
treeb1b55b8e8651e4bd3e5e65a8ebf27fb6a22655c0
parent9923ae04ae82d1e947e9580a83bcc9ab429ff771 (diff)
configs: colibri-imx7-tezi: Fix bad block table in flash configuration
Make sure that the bad block table in flash is used on Colibri iMX7 for Tezi. 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. Upstream-Status: Inappropriate [other] - There is no tezi specific defconfig upstream - The non tezi specific configuration is submitted see [https://lore.kernel.org/all/20230210103351.22907-1-francesco@dolcini.it/] Related-to: ELB-4989 Fixes: fd8c1fc9430 ("arm: dts: imx7: colibri: add raw NAND support") Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r--configs/colibri_imx7_tezi_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/colibri_imx7_tezi_defconfig b/configs/colibri_imx7_tezi_defconfig
index 2cb9050847..f349b62e77 100644
--- a/configs/colibri_imx7_tezi_defconfig
+++ b/configs/colibri_imx7_tezi_defconfig
@@ -69,6 +69,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_MTD_UBI_FASTMAP=y
CONFIG_PHYLIB=y