Skip to contentSkip to conversation

mtd: spi-nor: Add support for Macronix mx25u3235f

PATCH In review Ding Tao 2 participants 2 messages Dec 21, 2018 – Jan 17, 2019

Subsystems (2)
lore
Share & tools
lore

Ding Tao

author
#0 lore raw

PATCH 1/1 mtd: spi-nor: Add support for Macronix mx25u3235f

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.

---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/spi-nor.c +1 -0
index 1fdd2834fbcb..f3e337c61621 100644
@@ -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) },
Signature · 1 line
2.17.1