diff options
author | Mason Yang <masonccyang@mxic.com.tw> | 2020-04-23 16:38:42 +0800 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-04-28 10:02:15 +0300 |
commit | 04b8edad262eec0d153005973dfbdd83423c0dcb (patch) | |
tree | 5d6cedd332200ce2ca80753f011e40d2b8c71cac /drivers/mtd | |
parent | f4363e64c204411c8f446921e0ac06d18806652c (diff) | |
download | linux-04b8edad262eec0d153005973dfbdd83423c0dcb.tar.gz linux-04b8edad262eec0d153005973dfbdd83423c0dcb.tar.bz2 linux-04b8edad262eec0d153005973dfbdd83423c0dcb.zip |
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 <masonccyang@mxic.com.tw>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/spi-nor/macronix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index ab0f963d630c..c864ac811a78 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -67,6 +67,9 @@ static const struct flash_info macronix_parts[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, + { "mx25l51245g", INFO(0xc2201a, 0, 64 * 1024, 1024, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_4B_OPCODES) }, { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, |