spiFlashdb: add GigaDevice GD25Q256E (0xc86019)

This commit is contained in:
Nicholas Dietz 2026-06-15 17:29:52 -05:00 committed by Gwenhael Goavec-Merou
parent 305801c894
commit 775e5cc3dd
1 changed files with 17 additions and 0 deletions

View File

@ -651,6 +651,23 @@ static std::map <uint32_t, flash_t> flash_list = {
.quad_mask = (1 << 6), .quad_mask = (1 << 6),
.global_lock = false, .global_lock = false,
}}, }},
{0xc86019, {
/* https://www.gigadevice.com/product/flash/spi-nor-flash/gd25lq256h */
.manufacturer = "GigaDevice",
.model = "GD25LQ256H",
.nr_sector = 512,
.sector_erase = true,
.subsector_erase = true,
.has_extended = false,
.tb_otp = false,
.tb_offset = (1 << 6), // BP4
.tb_register = STATR,
.bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)},
.quad_register = CONFR,
.quad_mask = (1 << 1), // QE = SR2 S9 = bit1 of byte read by RDSR-2 (0x35)
.global_lock = false,
}},
{0xc22817, { {0xc22817, {
/* https://www.macronix.com/Lists/Datasheet/Attachments/8868/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.6.pdf */ /* https://www.macronix.com/Lists/Datasheet/Attachments/8868/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.6.pdf */
.manufacturer = "Macronix", .manufacturer = "Macronix",