The Macronix mx25um51245g is a 1.8V, 512Mbit (64MB) device that supports x1, or x8 operation. Tested on Marvell Octeon SoC hardware with a Cadence xSPI controller. Signed-off-by: Witold Sadowski <wsadowski@xxxxxxxxxxx> --- drivers/mtd/spi-nor/macronix.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index ea6be95e75a5..f5fbdb7912e0 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -182,6 +182,12 @@ static const struct flash_info macronix_nor_parts[] = { .name = "mx25l3255e", .size = SZ_4M, .no_sfdp_flags = SECT_4K, + }, { + .id = SNOR_ID(0xc2, 0x80, 0x3a), + .name = "mx25um51245g", + .size = SZ_64M, + .no_sfdp_flags = SECT_4K, + .fixup_flags = SPI_NOR_4B_OPCODES, } }; -- 2.17.1