summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor
diff options
context:
space:
mode:
authorMason Yang <masonccyang@mxic.com.tw>2020-04-23 10:38:43 +0200
committerTudor Ambarus <tudor.ambarus@microchip.com>2020-04-28 09:21:38 +0200
commit9f09e37d154469eb989918940fba64d8b1f8c42c (patch)
tree9de5065fb8f5f30c557676e3f857c72437d58aaf /drivers/mtd/spi-nor
parentmtd: spi-nor: macronix: Add support for mx25l51245g (diff)
downloadlinux-9f09e37d154469eb989918940fba64d8b1f8c42c.tar.xz
linux-9f09e37d154469eb989918940fba64d8b1f8c42c.zip
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 <masonccyang@mxic.com.tw> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
-rw-r--r--drivers/mtd/spi-nor/macronix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index c864ac811a78..96735d83c77c 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -63,6 +63,9 @@ static const struct flash_info macronix_parts[] = {
.fixups = &mx25l25635_fixups },
{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512,
SECT_4K | SPI_NOR_4B_OPCODES) },
+ { "mx25u51245g", INFO(0xc2253a, 0, 64 * 1024, 1024,
+ SECT_4K | SPI_NOR_DUAL_READ |
+ SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
{ "mx25v8035f", INFO(0xc22314, 0, 64 * 1024, 16,
SECT_4K | SPI_NOR_DUAL_READ |
SPI_NOR_QUAD_READ) },