spiFlashdb: add windbond w25q devices

This commit is contained in:
Gwenhael Goavec-Merou 2021-12-22 18:58:07 +01:00
parent b18191b0ba
commit 5df1d9775d
1 changed files with 39 additions and 0 deletions

View File

@ -98,6 +98,45 @@ static std::map <uint32_t, flash_t> flash_list = {
.bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
},
{0xef4015, {
.manufacturer = "Winbond",
.model = "W25Q16",
.nr_sector = 32,
.sector_erase = true,
.subsector_erase = true,
.has_extended = false,
.tb_otp = false,
.tb_offset = (1 << 5),
.tb_register = STATR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
},
{0xef4016, {
.manufacturer = "Winbond",
.model = "W25Q32",
.nr_sector = 64,
.sector_erase = true,
.subsector_erase = true,
.has_extended = false,
.tb_otp = false,
.tb_offset = (1 << 5),
.tb_register = STATR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
},
{0xef4017, {
.manufacturer = "Winbond",
.model = "W25Q64",
.nr_sector = 128,
.sector_erase = true,
.subsector_erase = true,
.has_extended = false,
.tb_otp = false,
.tb_offset = (1 << 5),
.tb_register = STATR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
},
{0xef4018, {
.manufacturer = "Winbond",
.model = "W25Q128",