Hello, this is v2 of this series. The changes are: - More cleanups - Keep checkbad() function (Sascha) - Check each block if it contains a barebox image or a UBI (implicit) v1 available at https://lore.barebox.org/barebox/20240430094451.1038256-4-u.kleine-koenig@xxxxxxxxxxxxxx/T/#t This is based on master. Best regards Uwe Uwe Kleine-König (4): mtd: nand: mxc_nand: Improve comment about vendor BBM and address verschwurbelung mtd: nand: mxc_nand: Cleanup code creating bad block table mtd: nand: mxc_nand: Add error message if BBT creation fails mtd: nand: mxc_nand: Only automatically create BBT if NAND seems to be pristine drivers/mtd/nand/raw/mxc_nand.c | 95 ++++++++++++++++++++++----------- 1 file changed, 64 insertions(+), 31 deletions(-) base-commit: 302db826b67c44a925a25a7b7508bc82a0fcd6a8 -- 2.43.0