[U-Boot] [PATCH] spi: Add support for MX66U51235F, MX66L1G45G, MT25QU02G, MT25QL02G
dumitru.bacrau at intel.com
dumitru.bacrau at intel.com
Fri Nov 18 19:01:17 CET 2016
From: Radu Bacrau <dumitru.bacrau at intel.com>
This commit adds support for the Macronix MX66U51235F, MX66L1G45G and Micron MT25QU02G, MT25QL02G flash parts.
Signed-off-by: Radu Bacrau <dumitru.bacrau at intel.com>
Cc: Chin Liang See <clsee at altera.com>
Cc: Jagan Teki <jteki at openedev.com>
Cc: Radu Bacrau <radu.bacrau at gmail.com>
---
drivers/mtd/spi/sf_params.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
index 5b50114..ac4aa0e 100644
--- a/drivers/mtd/spi/sf_params.c
+++ b/drivers/mtd/spi/sf_params.c
@@ -52,6 +52,8 @@ const struct spi_flash_params spi_flash_params_table[] = {
{"MX25L25635F", 0xc22019, 0x0, 64 * 1024, 512, RD_FULL | WR_QPP},
{"MX25L51235F", 0xc2201a, 0x0, 64 * 1024, 1024, RD_FULL | WR_QPP},
{"MX25L12855E", 0xc22618, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP},
+ {"MX66U51235F", 0xc2253a, 0x0, 64 * 1024, 1024, RD_FULL | WR_QPP},
+ {"MX66L1G45G", 0xc2201b, 0x0, 64 * 1024, 2048, RD_FULL | WR_QPP},
#endif
#ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */
{"S25FL008A", 0x010213, 0x0, 64 * 1024, 16, 0},
@@ -98,6 +100,8 @@ const struct spi_flash_params spi_flash_params_table[] = {
{"N25Q512A", 0x20bb20, 0x0, 64 * 1024, 1024, RD_FULL | WR_QPP | E_FSR | SECT_4K},
{"N25Q1024", 0x20ba21, 0x0, 64 * 1024, 2048, RD_FULL | WR_QPP | E_FSR | SECT_4K},
{"N25Q1024A", 0x20bb21, 0x0, 64 * 1024, 2048, RD_FULL | WR_QPP | E_FSR | SECT_4K},
+ {"MT25QU02G", 0x20bb22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K},
+ {"MT25QL02G", 0x20ba22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K},
#endif
#ifdef CONFIG_SPI_FLASH_SST /* SST */
{"SST25VF040B", 0xbf258d, 0x0, 64 * 1024, 8, SECT_4K | SST_WR},
--
1.9.1
More information about the U-Boot
mailing list