diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-12-10 15:46:27 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-12-11 09:18:22 +0100 |
commit | 4a15f9141efa8fb75323517f76594bfaec38bcf9 (patch) | |
tree | a1575325e2734187e3f65b593ca38e131b9267ab /drivers/mtd/nand/nand_bbt.c | |
parent | badb59f0309a4269f420173463ef4e6c2bc4d199 (diff) | |
download | barebox-4a15f9141efa8fb75323517f76594bfaec38bcf9.tar.gz barebox-4a15f9141efa8fb75323517f76594bfaec38bcf9.tar.xz |
nand: omap: Fix BCH16 read
When reading in BCH16 mode the ECC for the first 512 byte fails. I am
pretty sure this must have worked once and I can't see why it doesn't
now. Change reading in BCH16 mode to the same way as the kernel driver
does: Instead of using wrap mode 4 to skip ECC when reading the first
OOB bytes, just use wrap mode 1 and skip reading the first OOB bytes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nand_bbt.c')
0 files changed, 0 insertions, 0 deletions