spiFlashdb: fix tb_offset for ISSI devices

This commit is contained in:
Gwenhael Goavec-Merou 2021-12-22 18:57:34 +01:00
parent 496e6678ec
commit b18191b0ba
1 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ static std::map <uint32_t, flash_t> flash_list = {
.subsector_erase = true,
.has_extended = false,
.tb_otp = true,
.tb_offset = (1 << 5),
.tb_offset = (1 << 1),
.tb_register = FUNCR,
.bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
@ -80,7 +80,7 @@ static std::map <uint32_t, flash_t> flash_list = {
.subsector_erase = true,
.has_extended = false,
.tb_otp = true,
.tb_offset = (1 << 5),
.tb_offset = (1 << 1),
.tb_register = FUNCR,
.bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
@ -93,7 +93,7 @@ static std::map <uint32_t, flash_t> flash_list = {
.subsector_erase = true,
.has_extended = false,
.tb_otp = true,
.tb_offset = (1 << 5),
.tb_offset = (1 << 1),
.tb_register = FUNCR,
.bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}