diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-04-20 21:39:11 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-04-24 11:30:19 +0000 |
commit | 844d7716e4d61c8c78494ccd0030d3866799d7c3 (patch) | |
tree | 93d48c7e295de034fb4d59624f2cd36e650118b1 | |
parent | bc99e0659fe091b9bc751a2eb581559c70bfbf49 (diff) | |
download | flashrom-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.c | 8 | ||||
-rw-r--r-- | flashchips.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/flashchips.c b/flashchips.c index 5b328f8a..7a8e8572 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 2ad09df7..4e155d35 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 */ |