aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2022-02-23 10:28:21 +0100
committerPaul Spooren <mail@aparcar.org>2022-02-27 14:41:28 +0100
commitc3ccc4529d883346d52d543887274290c619cb8c (patch)
treef0010a50ca2ed39974bdf11c8d9ccc0f9f976b08 /target/linux/bcm63xx
parenta1b8a4d7b3ff3fa671623e2bccafd43a3c141e07 (diff)
downloadupstream-c3ccc4529d883346d52d543887274290c619cb8c.tar.gz
upstream-c3ccc4529d883346d52d543887274290c619cb8c.tar.bz2
upstream-c3ccc4529d883346d52d543887274290c619cb8c.zip
bcm63xx: fix booting with Kernel 5.10
This is a workaround to make the target overall bootable. With this more people should be able to test the Kernel 5.10 and report further issues. Suggested-by: Daniel González Cabanelas <dgcbueu@gmail.com> Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'target/linux/bcm63xx')
-rw-r--r--target/linux/bcm63xx/patches-5.10/100-macronix_nand_block_protection_support.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/patches-5.10/100-macronix_nand_block_protection_support.patch b/target/linux/bcm63xx/patches-5.10/100-macronix_nand_block_protection_support.patch
new file mode 100644
index 0000000000..cee69dd8c6
--- /dev/null
+++ b/target/linux/bcm63xx/patches-5.10/100-macronix_nand_block_protection_support.patch
@@ -0,0 +1,18 @@
+bcm63xx: fix booting with Kernel 5.10
+
+This is a workaround to make the target overall bootable. With this more
+people should be able to test the Kernel 5.10 and report further issues.
+
+Suggested-by: Daniel González Cabanelas <dgcbueu@gmail.com>
+Signed-off-by: Paul Spooren <mail@aparcar.org>
+--- a/drivers/mtd/nand/raw/nand_macronix.c
++++ b/drivers/mtd/nand/raw/nand_macronix.c
+@@ -323,7 +323,7 @@ static int macronix_nand_init(struct nan
+
+ macronix_nand_fix_broken_get_timings(chip);
+ macronix_nand_onfi_init(chip);
+- macronix_nand_block_protection_support(chip);
++ //macronix_nand_block_protection_support(chip);
+ macronix_nand_deep_power_down_support(chip);
+
+ return 0;