]> git.baikalelectronics.ru Git - uboot.git/commit
configs: colibri-imx7: Fix bad block table in flash configuration
authorStefan Eichenberger <stefan.eichenberger@toradex.com>
Fri, 10 Feb 2023 10:33:51 +0000 (11:33 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 06:40:27 +0000 (08:40 +0200)
commit50bc0f4360a7a576e6c719902b18c149fd8e4b58
treead344c32de1cc64cd8ee62ace63a31d17fd035be
parentfce0f2b3a8fd4eac267c858d5e6c175593b81773
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: e0af4a568aa ("arm: dts: imx7: colibri: add raw NAND support")
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
configs/colibri_imx7_defconfig