flashchips: Add Fudan FM25W128, wide voltage range chip
Surprisingly, this chip is status-register-wise closer to the
FM25Q64 than the FM25Q128. There's also a 3rd status register,
but it is read only.
Some of the BP bits aren't documented. Hence we don't hook the
WP support up.
Datasheet used:
https://www.fmsh.com/nvm/FM25W128_ds_eng.pdf
Change-Id: Id0e3ac404b5de0caa84775cdb112e6ccf50566a5
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/573
diff --git a/include/flashchips.h b/include/flashchips.h
index 0631277..557043e 100644
--- a/include/flashchips.h
+++ b/include/flashchips.h
@@ -346,6 +346,7 @@
#define FUDAN_ID 0x7F7F7F7F7F7F7FA1 /* Shanghai Fudan Microelectronics resides in bank 8 */
#define FUDAN_ID_NOPREFIX 0xA1 /* Fudan, missing 0x7F prefix */
+#define FUDAN_FM25W128 0x2818
#define FUDAN_FM25F005 0x3110
#define FUDAN_FM25F01 0x3111
#define FUDAN_FM25F02 0x3112 /* Same as FM25F02A */