mtd: spi-nor: Added support for gd25q16
Subsystems (3)
PATCH 1/1 mtd: spi-nor: Added support for gd25q16
Add GigaDevice GD25Q16 (16M-bit) to supported list.
--- drivers/mtd/spi-nor/spi-nor.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/mtd/spi-nor/spi-nor.c +5 -0
@@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)/* GigaDevice */ { +"gd25q16" ,INFO (0xc84015 ,0 ,64 *1024 ,32 , +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | +SPI_NOR_HAS_LOCK |SPI_NOR_HAS_TB ) + }, + {"gd25q32" ,INFO (0xc84016 ,0 ,64 *1024 ,64 ,SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ |SPI_NOR_HAS_LOCK |SPI_NOR_HAS_TB )
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Kamal Dasu
Add GigaDevice GD25Q16 (16M-bit) to supported list.
Signed-off-by Kamal Dasu <[email protected]>
Quoted 21 lines
--- drivers/mtd/spi-nor/spi-nor.c | 5 +++++ 1 file changed, 5 insertions(+)drivers/mtd/spi-nor/spi-nor.c +5
-0@@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)/* GigaDevice */ { +"gd25q16" ,INFO (0xc84015 ,0 ,64 *1024 ,32 , +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | +SPI_NOR_HAS_LOCK |SPI_NOR_HAS_TB ) + }, + {"gd25q32" ,INFO (0xc84016 ,0 ,64 *1024 ,64 ,SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ |SPI_NOR_HAS_LOCK |SPI_NOR_HAS_TB )
Signature · 6 lines
Best regards, Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Cyrille Pitchen
AppliedQuoted 7 lines · Marek Vasut
Quoted 3 lines · Kamal Dasu
Add GigaDevice GD25Q16 (16M-bit) to supported list.
Signed-off-by Kamal Dasu <[email protected]>Acked-by Marek Vasut <[email protected]>
Applied to git://github.com/spi-nor/linux.git
Please note that in the subject line, I've replaced "Added support ..." by "Add support ...". Indeed, looking at submitting-patches.rst:
Describe your changes in imperative mood, e.g. "make xyzzy do frotz" instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy to do frotz", as if you are giving orders to the codebase to change its behaviour.
This is a very small detail so I thought there would be no need to send another version for that.
Thanks!
Quoted 10 lines
Quoted 10 lines
--- drivers/mtd/spi-nor/spi-nor.c | 5 +++++ 1 file changed, 5 insertions(+)drivers/mtd/spi-nor/spi-nor.c +0
-0@@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
Quoted 13 lines
drivers/mtd/spi-nor/spi-nor.c static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) · line 843
Quoted 11 lines
drivers/mtd/spi-nor/spi-nor.c +5
-0/* GigaDevice */ { +"gd25q16" ,INFO (0xc84015 ,0 ,64 *1024 ,32 , +SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ | +SPI_NOR_HAS_LOCK |SPI_NOR_HAS_TB ) + }, + {"gd25q32" ,INFO (0xc84016 ,0 ,64 *1024 ,64 ,SECT_4K |SPI_NOR_DUAL_READ |SPI_NOR_QUAD_READ |SPI_NOR_HAS_LOCK |SPI_NOR_HAS_TB )
Applied to
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html