aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Matouschek <felix@matouschek.org>2022-04-08 18:27:05 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-04-11 22:47:03 +0200
commitf12adc412bea0cf0a2fb428ca9be15f7ee4d1f54 (patch)
tree3c91226b2619fb8c03dba497ea71901b52e4b5c3
parentaa640401e579c9b6be27fe98c73c467f8c45201a (diff)
downloadupstream-f12adc412bea0cf0a2fb428ca9be15f7ee4d1f54.tar.gz
upstream-f12adc412bea0cf0a2fb428ca9be15f7ee4d1f54.tar.bz2
upstream-f12adc412bea0cf0a2fb428ca9be15f7ee4d1f54.zip
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> (cherry picked from commit a5de91a88a8a33ced147bb5340fd45599f652d4d)
-rw-r--r--target/linux/generic/pending-5.10/483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/pending-5.10/483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch b/target/linux/generic/pending-5.10/483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch
index c55ce87225..3a8ba498bd 100644
--- a/target/linux/generic/pending-5.10/483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch
+++ b/target/linux/generic/pending-5.10/483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch
@@ -83,8 +83,8 @@ Signed-off-by: Felix Matouschek <felix@matouschek.org>
+ if (section)
+ return -ERANGE;
+
-+ region->offset = 8;
-+ region->length = 40;
++ region->offset = 48;
++ region->length = 16;
+
+ return 0;
+}
@@ -96,7 +96,7 @@ Signed-off-by: Felix Matouschek <felix@matouschek.org>
+ return -ERANGE;
+
+ region->offset = 1;
-+ region->length = 7;
++ region->length = 47;
+
+ return 0;
+}