diff options
author | Daniel Palmer <daniel@0x0f.com> | 2021-06-17 20:08:42 +0900 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-08-06 22:01:56 +0200 |
commit | df12a75a2be915e7c419707bc71fba0fa7548d81 (patch) | |
tree | 8db0beb07ccb80dbebc691f76e45a68af9b634da /lib/smp_processor_id.c | |
parent | 5c2f387b48f063dd8a0c119d3659df8f3e2d88bb (diff) |
mtd: spinand: core: Properly fill the OOB area.
The comment in spinand_write_to_cache_op() says that
spinand_ondie_ecc_prepare_io_req() should 0xff fill the OOB
area but it doesn't.
This causes the OOB area to get filled with zeros
and anytime the first page in a block the bad block marker
is cleared and it becomes a bad block on the next boot.
This was observed on Longsys FORSEE branded parts and
might be specific to these parts.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210617110842.2358461-1-daniel@0x0f.com
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions