driver: spi: Add support for Macronix-(MX25U51245G) nor flash.
This change is to add support for Macronix-(MX25U51245G) nor
flash device.
The total density of this device is 64 MiB. Sector size 64K.
64K sector we are cosidering due to 64K sector size works with
CMD_ERASE_64K.
Total number of sector for this device will 1024 because,
64K * 1024 = 64MiB.
Change-Id: Ia1f2117bc42457e4b3c25934ff1fdcb798e4ea6f
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
index 6295699..4608cba 100644
--- a/drivers/mtd/spi/sf_params.c
+++ b/drivers/mtd/spi/sf_params.c
@@ -60,6 +60,7 @@
{"MX25U12835F", 0xc22538, 0x0, 64 * 1024, 256, RD_NORM, 0},
{"MX25U25635F", 0xc22539, 0x0, 64 * 1024, 512, RD_NORM, 0},
{"MX66U1G45GM", 0xc2253b, 0x0, 64 * 1024, 2048, RD_FULL, 0},
+ {"MX25U51245G", 0xc2253a, 0x0, 64 * 1024, 1024, RD_FULL, 0},
#endif
#ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */
{"S25FL008A", 0x010213, 0x0, 64 * 1024, 16, RD_NORM, 0},