aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mtd/cfi.h
diff options
context:
space:
mode:
authorYogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com>2018-10-12 02:23:08 +0000
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-12-10 21:59:07 +0100
commit0005aad094538e1c290b1cdb5b940e4a16f405b0 (patch)
tree0df04fc7eebe2ce355f4d8e824d740ebf271f12b /include/linux/mtd/cfi.h
parentmtd: spi-nor: mark desirable switch case fall through (diff)
downloadwireguard-linux-0005aad094538e1c290b1cdb5b940e4a16f405b0.tar.xz
wireguard-linux-0005aad094538e1c290b1cdb5b940e4a16f405b0.zip
mtd: spi-nor: add macros related to MICRON flash
Some MICRON related macros in spi-nor domain were ST. Rename entries related to STMicroelectronics under macro SNOR_MFR_ST. Added entry of MFR Id for Micron flashes, 0x002C. Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'include/linux/mtd/cfi.h')
-rw-r--r--include/linux/mtd/cfi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/cfi.h b/include/linux/mtd/cfi.h
index 9b57a9b1b081..cbf77168658c 100644
--- a/include/linux/mtd/cfi.h
+++ b/include/linux/mtd/cfi.h
@@ -377,6 +377,7 @@ struct cfi_fixup {
#define CFI_MFR_SHARP 0x00B0
#define CFI_MFR_SST 0x00BF
#define CFI_MFR_ST 0x0020 /* STMicroelectronics */
+#define CFI_MFR_MICRON 0x002C /* Micron */
#define CFI_MFR_TOSHIBA 0x0098
#define CFI_MFR_WINBOND 0x00DA