linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: Add support for Macronix mx25u3235f
@ 2018-12-21  4:19 Ding Tao
  2019-01-17  7:33 ` Tudor.Ambarus at microchip.com
  0 siblings, 1 reply; 2+ messages in thread
From: Ding Tao @ 2018-12-21  4:19 UTC (permalink / raw)
  To: marek.vasut
  Cc: dwmw2, computersforpeace, boris.brezillon, richard, linux-mtd,
	linux-kernel, Ding Tao

Some ESPRESSObin board from GlobalScale have mx25u3235f spi nor flash
attached, add support for it.

Minimal tested with u-boot tools fw_printenv/fw_setenv on GlobalScale
ESPRESSObin v5 board.

Signed-off-by: Ding Tao <miyatsu@qq.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 1fdd2834fbcb..f3e337c61621 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1377,6 +1377,7 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "mx25u2033e",  INFO(0xc22532, 0, 64 * 1024,   4, SECT_4K) },
 	{ "mx25u4035",   INFO(0xc22533, 0, 64 * 1024,   8, SECT_4K) },
 	{ "mx25u8035",   INFO(0xc22534, 0, 64 * 1024,  16, SECT_4K) },
+	{ "mx25u3235f",  INFO(0xc22536, 0, 64 * 1024,  64, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ "mx25u6435f",  INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) },
 	{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
 	{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] mtd: spi-nor: Add support for Macronix mx25u3235f
  2018-12-21  4:19 [PATCH] mtd: spi-nor: Add support for Macronix mx25u3235f Ding Tao
@ 2019-01-17  7:33 ` Tudor.Ambarus at microchip.com
  0 siblings, 0 replies; 2+ messages in thread
From: Tudor.Ambarus at microchip.com @ 2019-01-17  7:33 UTC (permalink / raw)
  To: linux-mtd

Hi, Ding,

Similar patch was already submitted by Hauke at
http://patchwork.ozlabs.org/patch/1010030/.
Can you please test his next patch version and add your Tested-by tag?

Thanks,
ta

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-17  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-21  4:19 [PATCH] mtd: spi-nor: Add support for Macronix mx25u3235f Ding Tao
2019-01-17  7:33 ` Tudor.Ambarus at microchip.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).