Skip to content

Commit 9f09e37

Browse files
Mason Yangambarus
authored andcommitted
mtd: spi-nor: macronix: Add support for mx25u51245g
mx25u51245g is a mass production for new design and replace mx66u51235f(phase out). Validated by read, erase, read back, write and read back on Xilinx Zynq PicoZed FPGA board which included Macronix SPI Host (driver/spi/spi-mxic.c). Signed-off-by: Mason Yang <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]>
1 parent 04b8eda commit 9f09e37

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/mtd/spi-nor/macronix.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ static const struct flash_info macronix_parts[] = {
6363
.fixups = &mx25l25635_fixups },
6464
{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512,
6565
SECT_4K | SPI_NOR_4B_OPCODES) },
66+
{ "mx25u51245g", INFO(0xc2253a, 0, 64 * 1024, 1024,
67+
SECT_4K | SPI_NOR_DUAL_READ |
68+
SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
6669
{ "mx25v8035f", INFO(0xc22314, 0, 64 * 1024, 16,
6770
SECT_4K | SPI_NOR_DUAL_READ |
6871
SPI_NOR_QUAD_READ) },

0 commit comments

Comments
 (0)