From: Kuba Ruks Date: Tue, 29 May 2018 13:26:31 +0000 (+0200) Subject: ar71xx: add support for Winbond W25Q128JVSIM Flash X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=772bdccbd58f8964b6187b4bd3909dd573eb85bd;p=openwrt%2Fstaging%2Fwigyori.git ar71xx: add support for Winbond W25Q128JVSIM Flash Signed-off-by: Kuba Ruks --- diff --git a/target/linux/ar71xx/patches-4.9/462-mtd-add-winbond-flash.patch b/target/linux/ar71xx/patches-4.9/462-mtd-add-winbond-flash.patch new file mode 100644 index 0000000000..4ed9f0e165 --- /dev/null +++ b/target/linux/ar71xx/patches-4.9/462-mtd-add-winbond-flash.patch @@ -0,0 +1,10 @@ +--- a/drivers/mtd/spi-nor/spi-nor.c ++++ b/drivers/mtd/spi-nor/spi-nor.c +@@ -1153,6 +1153,7 @@ static const struct flash_info spi_nor_i + { "w25q80bl", INFO(0xef4014, 0, 64 * 1024, 16, SECT_4K) }, + { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) }, + { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) }, ++ { "W25Q128JVSIM", INFO(0xef7018, 0x0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + + /* Catalyst / On Semiconductor -- non-JEDEC */ + { "cat25c11", CAT25_INFO( 16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },