spiFlashdb: add spansion S25FL 064P/128P

This commit is contained in:
Gwenhael Goavec-Merou 2021-12-22 18:59:52 +01:00
parent 50bdbde809
commit 55d5cba9fb
1 changed files with 26 additions and 0 deletions

View File

@ -33,6 +33,32 @@ typedef struct {
} flash_t;
static std::map <uint32_t, flash_t> flash_list = {
{0x010216, {
.manufacturer = "spansion",
.model = "S25FL064P / EPCS64",
.nr_sector = 128,
.sector_erase = true,
.subsector_erase = true,
.has_extended = true,
.tb_otp = false,
.tb_offset = (1 << 5),
.tb_register = CONFR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
},
{0x012018, {
.manufacturer = "spansion",
.model = "S25FL128S",
.nr_sector = 256,
.sector_erase = true,
.subsector_erase = false,
.has_extended = true,
.tb_otp = false,
.tb_offset = (1 << 5),
.tb_register = CONFR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
},
{0x0020ba16, {
.manufacturer = "micron",
.model = "N25Q32",