diff --git a/target/linux/ramips/patches-4.19/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch b/target/linux/ramips/patches-4.19/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch index 1c3d36d87e..2fedcd26c8 100644 --- a/target/linux/ramips/patches-4.19/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch +++ b/target/linux/ramips/patches-4.19/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch @@ -204,3 +204,11 @@ Signed-off-by: Felix Fietkau }; /** +@@ -297,6 +299,7 @@ struct spi_nor { + bool sst_write_second; + u32 flags; + u8 cmd_buf[SPI_NOR_MAX_CMD_SIZE]; ++ bool ext_addr; + + int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); + void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops);