OSDN Git Service

bcm63xx: add linux v5.15 support
[immortalwrt/immortalwrt.git] / target / linux / bcm63xx / patches-5.15 / 100-macronix_nand_block_protection_support.patch
1 bcm63xx: fix booting with Kernel 5.10
2
3 This is a workaround to make the target overall bootable. With this more
4 people should be able to test the Kernel 5.10 and report further issues.
5
6 Suggested-by: Daniel Gonz├ílez Cabanelas <dgcbueu@gmail.com>
7 Signed-off-by: Paul Spooren <mail@aparcar.org>
8 --- a/drivers/mtd/nand/raw/nand_macronix.c
9 +++ b/drivers/mtd/nand/raw/nand_macronix.c
10 @@ -323,7 +323,7 @@ static int macronix_nand_init(struct nan
11  
12         macronix_nand_fix_broken_get_timings(chip);
13         macronix_nand_onfi_init(chip);
14 -       macronix_nand_block_protection_support(chip);
15 +       //macronix_nand_block_protection_support(chip);
16         macronix_nand_deep_power_down_support(chip);
17  
18         return 0;