While trying to unbrick my Calao USB-A9G20, barebox couldn't read the NAND BB tables unlike the binary-only barebox from 2013. The first two patches fix that. The third one is a cleanup. Happy hacking! Wolfram Sang (3): mtd: nand: atmel: legacy: add 'algo' to use mtd: nand: atmel: legacy: use proper ecc_shift mtd: nand: atmel: legacy: remove superfluous code drivers/mtd/nand/atmel/legacy.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) -- 2.35.1