Angel Pons submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved
flashchips: Adapt IDs for Boya Microelectronics

Looks like BoHong Microelectronics has the same vendor ID and makes very
similar chips. For instance, Boya BY25Q128AS and BoHong BH25Q128AS have
the same specifications and their datasheets are mostly identical.

Change-Id: I8d6951797daeeecca6af200c995297c0394adefd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/52550
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
---
M flashchips.c
M flashchips.h
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/flashchips.c b/flashchips.c
index 5b328f8..7a8e857 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3481,11 +3481,11 @@
},

{
- .vendor = "Boya Microelectronics",
- .name = "BY25Q128AS",
+ .vendor = "Boya/BoHong Microelectronics",
+ .name = "B.25Q128AS",
.bustype = BUS_SPI,
- .manufacture_id = BOYA_ID,
- .model_id = BOYA_BY25Q128AS,
+ .manufacture_id = BOYA_BOHONG_ID,
+ .model_id = BOYA_BOHONG_B_25Q128AS,
.total_size = 16384,
.page_size = 256,
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI,
diff --git a/flashchips.h b/flashchips.h
index 2ad09df..4e155d3 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -208,9 +208,9 @@
#define ATMEL_AT49F080 0x23
#define ATMEL_AT49F080T 0x27

-/* Boya Microelectronics Inc.*/
-#define BOYA_ID 0x68
-#define BOYA_BY25Q128AS 0x4018
+/* Boya/BoHong Microelectronics Inc. */
+#define BOYA_BOHONG_ID 0x68
+#define BOYA_BOHONG_B_25Q128AS 0x4018

/* Bright Microelectronics has the same manufacturer ID as Hyundai... */
#define BRIGHT_ID 0xAD /* Bright Microelectronics */

To view, visit change 52550. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8d6951797daeeecca6af200c995297c0394adefd
Gerrit-Change-Number: 52550
Gerrit-PatchSet: 3
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Jack Olsen <omegasec@tutanota.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged