Skip to content

Commit 04b8eda

Browse files
Mason Yangambarus
authored andcommitted
mtd: spi-nor: macronix: Add support for mx25l51245g
mx25l51245g is a mass production for new design and replace mx66l51235l(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 f4363e6 commit 04b8eda

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
@@ -67,6 +67,9 @@ static const struct flash_info macronix_parts[] = {
6767
SECT_4K | SPI_NOR_DUAL_READ |
6868
SPI_NOR_QUAD_READ) },
6969
{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
70+
{ "mx25l51245g", INFO(0xc2201a, 0, 64 * 1024, 1024,
71+
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
72+
SPI_NOR_4B_OPCODES) },
7073
{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024,
7174
SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
7275
SPI_NOR_4B_OPCODES) },

0 commit comments

Comments
 (0)