summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPoroCYon <p@pcy.be>2023-03-08 22:33:07 +0100
committerAnastasia Klimchuk <aklm@chromium.org>2023-03-26 09:02:53 +0000
commit5b8b6995a7d39c22c726b92324471a7c399a3135 (patch)
tree25a41a7fc76a6c190300b7f58ac9b3b62f55e7d2 /include
parent59fcde0895855b88961d4a28be569d62d0948808 (diff)
downloadflashrom-git-5b8b6995a7d39c22c726b92324471a7c399a3135.tar.gz
flashchips: Add Macronix MX25V4035F support
See https://www.macronix.com/Lists/Datasheet/Attachments/8670/MX25V4035F,%202.5V,%204Mb,%20v1.2.pdf . I've only tested this patch with the MX25V1635F I have here, though other chips in the series exist as well. Tested using serprog and ftdi by writing a few images to the flash and seeing if changes were stored correctly. Change-Id: I8b26926c354b840ca7b14b4c5cb000e3c02f5137 Signed-off-by: PoroCYon <p@pcy.be> Reviewed-on: https://review.coreboot.org/c/flashrom/+/73582 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/flashchips.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/flashchips.h b/include/flashchips.h
index 5df42dcf..58a6d0e6 100644
--- a/include/flashchips.h
+++ b/include/flashchips.h
@@ -512,6 +512,7 @@
#define MACRONIX_MX25L1635E 0x2515 /* MX25L1635{E} */
#define MACRONIX_MX66L51235F 0x201a /* MX66L51235F, MX25L51245G */
#define MACRONIX_MX66L1G45G 0x201b /* MX66L1G45G */
+#define MACRONIX_MX25V4035F 0x2313
#define MACRONIX_MX25U8032E 0x2534
#define MACRONIX_MX25U1635E 0x2535
#define MACRONIX_MX25U3235E 0x2536 /* Same as MX25U6435F */