flashchips: Add support for Boya Microelectronics BY25Q128AS
Tested on Buspirate.
Signed-off-by: Jack Olsen <omegasec@tutanota.com>
Change-Id: I881ba86cfaa82e43c73360135d47c74d896cc191
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/44308
Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
diff --git a/flashchips.h b/flashchips.h
index 87aedc2..e9c0432 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -207,6 +207,10 @@
#define ATMEL_AT49F080 0x23
#define ATMEL_AT49F080T 0x27
+/* Boya Microelectronics Inc.*/
+#define BOYA_ID 0x68
+#define BOYA_BY25Q128AS 0x4018
+
/* Bright Microelectronics has the same manufacturer ID as Hyundai... */
#define BRIGHT_ID 0xAD /* Bright Microelectronics */
#define BRIGHT_BM29F040 0x40