summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-04-20 21:39:11 +0200
committerAngel Pons <th3fanbus@gmail.com>2021-04-24 11:30:19 +0000
commit844d7716e4d61c8c78494ccd0030d3866799d7c3 (patch)
tree93d48c7e295de034fb4d59624f2cd36e650118b1
parentbc99e0659fe091b9bc751a2eb581559c70bfbf49 (diff)
downloadflashrom-844d7716e4d61c8c78494ccd0030d3866799d7c3.tar.gz
flashrom-844d7716e4d61c8c78494ccd0030d3866799d7c3.tar.bz2
flashrom-844d7716e4d61c8c78494ccd0030d3866799d7c3.zip
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>
-rw-r--r--flashchips.c8
-rw-r--r--flashchips.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/flashchips.c b/flashchips.c
index 5b328f8ab..7a8e8572a 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3481,11 +3481,11 @@ const struct flashchip flashchips[] = {
},
{
- .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 2ad09df73..4e155d359 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 */