kernel: Fix oob layout of XTX XT26G0xA
authorFelix Matouschek <felix@matouschek.org>
Fri, 8 Apr 2022 16:27:05 +0000 (18:27 +0200)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 9 Apr 2022 13:08:26 +0000 (21:08 +0800)
commita5de91a88a8a33ced147bb5340fd45599f652d4d
tree18517a2a24f362c6168cbb1709873a7fb14dba6b
parent3711aee56d864fab066d76afadc9d04e1c18102e
kernel: Fix oob layout of XTX XT26G0xA

The correct oob layout is:

ECC:
region->offset = 48;
region->length = 16;

Free:
/* Reserve 1 byte for the BBM. */
region->offset = 1;
region->length = 47;

Signed-off-by: Felix Matouschek <felix@matouschek.org>
target/linux/generic/pending-5.10/483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch
target/linux/generic/pending-5.15/483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch