spiFlashdb: adding S25FL512S

This commit is contained in:
Gwenhael Goavec-Merou 2022-05-14 10:16:08 +02:00
parent c9c56eab51
commit f83670996e
1 changed files with 13 additions and 0 deletions

View File

@ -60,6 +60,19 @@ static std::map <uint32_t, flash_t> flash_list = {
.bp_len = 3, .bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}} .bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
}, },
{0x010220, {
.manufacturer = "spansion",
.model = "S25FL512S",
.nr_sector = 1024,
.sector_erase = true,
.subsector_erase = false,
.has_extended = true,
.tb_otp = true,
.tb_offset = (1 << 5),
.tb_register = CONFR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
},
{0x012018, { {0x012018, {
.manufacturer = "spansion", .manufacturer = "spansion",
.model = "S25FL128S", .model = "S25FL128S",