kernel: remove obsolete netfilter tcp window size check bypass patch
[openwrt/openwrt.git] / target / linux / generic / pending-5.10 / 465-m25p80-mx-disable-software-protection.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Subject: Disable software protection bits for Macronix flashes.
3
4 Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 ---
6 drivers/mtd/spi-nor/spi-nor.c | 1 +
7 1 file changed, 1 insertion(+)
8
9 --- a/drivers/mtd/spi-nor/macronix.c
10 +++ b/drivers/mtd/spi-nor/macronix.c
11 @@ -93,6 +93,7 @@ static void macronix_default_init(struct
12 {
13 nor->params->quad_enable = spi_nor_sr1_bit6_quad_enable;
14 nor->params->set_4byte_addr_mode = spi_nor_set_4byte_addr_mode;
15 + nor->flags |= SNOR_F_HAS_LOCK;
16 }
17
18 static const struct spi_nor_fixups macronix_fixups = {