From: Vikhyat Goyal Date: Fri, 12 Apr 2019 19:50:14 +0000 (-0600) Subject: mtd: spi: Add support for Macronix flash parts X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b3b24ddbe379cf96d1de7c98aa6aae11d603176;p=thirdparty%2Fu-boot.git mtd: spi: Add support for Macronix flash parts Adds support for mx25u51245f,mx66u2g45g and mx66l2g45g flash parts. Signed-off-by: Vikhyat Goyal Acked-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index b265d0edb2f..e63cad84372 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -96,6 +96,7 @@ const struct spi_flash_info spi_flash_ids[] = { {"mx25l12805", INFO(0xc22018, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP) }, {"mx25l25635f", INFO(0xc22019, 0x0, 64 * 1024, 512, RD_FULL | WR_QPP) }, {"mx25l51235f", INFO(0xc2201a, 0x0, 64 * 1024, 1024, RD_FULL | WR_QPP) }, + {"mx25u51245f", INFO(0xc2953a, 0x0, 64 * 1024, 1024, RD_FULL | WR_QPP) }, {"mx25l1633e", INFO(0xc22415, 0x0, 64 * 1024, 32, RD_FULL | WR_QPP | SECT_4K) }, {"mx25u6435f", INFO(0xc22537, 0x0, 64 * 1024, 128, RD_FULL | WR_QPP) }, {"mx25u12835f", INFO(0xc22538, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP) }, @@ -106,6 +107,8 @@ const struct spi_flash_info spi_flash_ids[] = { {"mx66u51235f", INFO(0xc2253a, 0x0, 64 * 1024, 1024, RD_FULL | WR_QPP) }, {"mx66l1g45g", INFO(0xc2201b, 0x0, 64 * 1024, 2048, RD_FULL | WR_QPP) }, {"mx66u1g45g", INFO(0xc2253b, 0x0, 64 * 1024, 2048, RD_FULL | WR_QPP) }, + {"mx66l2g45g", INFO(0xc2201c, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP) }, + {"mx66u2g45g", INFO(0xc2253c, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP) }, #endif #ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */ {"s25fl008a", INFO(0x010213, 0x0, 64 * 1024, 16, 0) },