diff mbox series

mtd: spi-nor-ids: add Winbond W25Q32JW-IM flash

Message ID 20201130231239.26690-1-michael@walle.cc
State Accepted
Commit 382985675c7576d05969f61edbe14fb0a5ef1f0a
Delegated to: Tom Rini
Headers show
Series mtd: spi-nor-ids: add Winbond W25Q32JW-IM flash | expand

Commit Message

Michael Walle Nov. 30, 2020, 11:12 p.m. UTC
The Kontron SMARC-sAL28 board uses that flash.

This is the same change as in the linux commit f3418718c0ec ("mtd:
spi-nor: Add support for w25q32jwm").

Signed-off-by: Michael Walle <michael@walle.cc>
Reported-by: Leo Krueger <leo.krueger@zal.aero>
---

Hi,

I totally forgot that some revisions of the Kontron sl28 boards have the
newer SPI flash revision of the W25Q32.

It would be nice if this will make it into v2021.01.

 drivers/mtd/spi/spi-nor-ids.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Tom Rini Dec. 3, 2020, 4:59 p.m. UTC | #1
On Tue, Dec 01, 2020 at 12:12:39AM +0100, Michael Walle wrote:

> The Kontron SMARC-sAL28 board uses that flash.
> 
> This is the same change as in the linux commit f3418718c0ec ("mtd:
> spi-nor: Add support for w25q32jwm").
> 
> Signed-off-by: Michael Walle <michael@walle.cc>
> Reported-by: Leo Krueger <leo.krueger@zal.aero>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index bc9d4f7e9f..09e8196048 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -278,6 +278,11 @@  const struct flash_info spi_nor_ids[] = {
 			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
 			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
 	},
+	{
+		INFO("w25q32jwm", 0xef8016, 0, 64 * 1024,  64,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+	},
 	{ INFO("w25x64", 0xef3017, 0, 64 * 1024, 128, SECT_4K) },
 	{
 		INFO("w25q64dw", 0xef6017, 0, 64 * 1024, 128,