From 32b2ea346df78c30425f83ae68ac2d9383c48598 Mon Sep 17 00:00:00 2001 From: DENG Qingfang Date: Sun, 8 Sep 2019 00:14:37 +0800 Subject: [PATCH] ramips: spi_nor: fix missing ext_addr Signed-off-by: DENG Qingfang --- .../0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch | 8 ++++++++ 1 file changed, 8 insertions(+) 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);