Merge pull request #126 from emard/master

small contrib for ISSI 16MB protection
This commit is contained in:
Gwenhael Goavec-Merou
2021-10-15 06:48:12 +02:00
committed by GitHub
+13 -1
View File
@@ -74,8 +74,20 @@ static std::map <uint32_t, flash_t> flash_list = {
.bp_len = 4, .bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}} .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
}, },
{0x9d6018, {
.manufacturer = "ISSI",
.model = "IS25LP128",
.nr_sector = 256,
.sector_erase = true,
.subsector_erase = true,
.has_extended = false,
.tb_otp = true,
.tb_offset = (1 << 5),
.bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
},
{0xef4018, { {0xef4018, {
.manufacturer = "Windbond", .manufacturer = "Winbond",
.model = "W25Q128", .model = "W25Q128",
.nr_sector = 256, .nr_sector = 256,
.sector_erase = true, .sector_erase = true,