[PATCH v1 1/1] mtd: spi-nor: Add some M45PEx ids
Hongwei Zhang
hongweiz at ami.com
Tue Jun 29 08:08:46 PDT 2021
Add some Micron M45PEx flash memeories into the IDs table.
Fixes: dd1e9367157f900616f (ARM: dts: everest: Add phase corrections for
eMMC)
Signed-off-by: Hongwei Zhang <hongweiz at ami.com>
---
drivers/mtd/spi-nor/micron-st.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi-nor/micron-st.c b/drivers/mtd/spi-nor/micron-st.c
index ef3695080710..379b14e339ff 100644
--- a/drivers/mtd/spi-nor/micron-st.c
+++ b/drivers/mtd/spi-nor/micron-st.c
@@ -95,8 +95,12 @@ static const struct flash_info st_parts[] = {
{ "m25p128-nonjedec", INFO(0, 0, 256 * 1024, 64, 0) },
{ "m45pe10", INFO(0x204011, 0, 64 * 1024, 2, 0) },
+ { "m45pe20", INFO(0x204012, 0, 64 * 1024, 4, 0) },
+ { "m45pe40", INFO(0x204013, 0, 64 * 1024, 8, 0) },
{ "m45pe80", INFO(0x204014, 0, 64 * 1024, 16, 0) },
{ "m45pe16", INFO(0x204015, 0, 64 * 1024, 32, 0) },
+ { "m45pe32", INFO(0x204016, 0, 64 * 1024, 64, 0) },
+ { "m45pe64", INFO(0x204017, 0, 64 * 1024, 128, 0) },
{ "m25pe20", INFO(0x208012, 0, 64 * 1024, 4, 0) },
{ "m25pe80", INFO(0x208014, 0, 64 * 1024, 16, 0) },
--
2.17.1
More information about the linux-mtd
mailing list