mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
flashchips: Add support for Boya B25Q64AS
The B25Q64AS has been tested by ch341a programmer: read, write, erase Datasheet: https://archive.org/details/1912111437-boyamicro-by-25-q-64-assig-c-383793 Change-Id: I05ecf2b118902db974544d86e023a348912371dd Signed-off-by: Malcolm Boyes <boyesmalcolm@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/82259 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
parent
22e5d4a419
commit
86752777d5
38
flashchips.c
38
flashchips.c
@ -3605,6 +3605,44 @@ const struct flashchip flashchips[] = {
|
||||
.voltage = {2700, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Boya/BoHong Microelectronics",
|
||||
.name = "B.25Q64AS",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = BOYA_BOHONG_ID,
|
||||
.model_id = BOYA_BOHONG_B_25Q64AS,
|
||||
.total_size = 8192,
|
||||
.page_size = 256,
|
||||
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI,
|
||||
.tested = TEST_OK_PREW,
|
||||
.probe = PROBE_SPI_RDID,
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.block_erasers =
|
||||
{
|
||||
{
|
||||
.eraseblocks = { {4 * 1024, 2048} },
|
||||
.block_erase = SPI_BLOCK_ERASE_20,
|
||||
}, {
|
||||
.eraseblocks = { {32 * 1024, 256} },
|
||||
.block_erase = SPI_BLOCK_ERASE_52,
|
||||
}, {
|
||||
.eraseblocks = { {64 * 1024, 128} },
|
||||
.block_erase = SPI_BLOCK_ERASE_D8,
|
||||
}, {
|
||||
.eraseblocks = { {16 * 512 * 1024, 1} },
|
||||
.block_erase = SPI_BLOCK_ERASE_60,
|
||||
}, {
|
||||
.eraseblocks = { {16 * 512 * 1024, 1} },
|
||||
.block_erase = SPI_BLOCK_ERASE_C7,
|
||||
}
|
||||
},
|
||||
.printlock = SPI_PRETTYPRINT_STATUS_REGISTER_PLAIN,
|
||||
.unlock = SPI_DISABLE_BLOCKPROTECT_BP4_SRWD,
|
||||
.write = SPI_CHIP_WRITE256,
|
||||
.read = SPI_CHIP_READ,
|
||||
.voltage = {2700, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Boya/BoHong Microelectronics",
|
||||
.name = "B.25Q128AS",
|
||||
|
@ -213,6 +213,7 @@
|
||||
#define BOYA_BOHONG_ID 0x68
|
||||
#define BOYA_BOHONG_B__25D80A 0x4014
|
||||
#define BOYA_BOHONG_B_25D16A 0x4015
|
||||
#define BOYA_BOHONG_B_25Q64AS 0x4017
|
||||
#define BOYA_BOHONG_B_25Q128AS 0x4018
|
||||
|
||||
/* Bright Microelectronics has the same manufacturer ID as Hyundai... */
|
||||
|
Loading…
x
Reference in New Issue
Block a user