spi flash: add mapping for Macronix MX25L51245G (CertusPro Versa board and gr740-mini)
This commit is contained in:
parent
5f6074a7fc
commit
940da5fb2b
|
|
@ -283,6 +283,20 @@ static std::map <uint32_t, flash_t> flash_list = {
|
|||
.bp_len = 5,
|
||||
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
|
||||
},
|
||||
{0xc2201a, {
|
||||
/* https://www.macronix.com/Lists/Datasheet/Attachments/8745/MX25L51245G,%203V,%20512Mb,%20v1.7.pdf */
|
||||
.manufacturer = "Macronix",
|
||||
.model = "MX25L51245G",
|
||||
.nr_sector = 1024,
|
||||
.sector_erase = true,
|
||||
.subsector_erase = true,
|
||||
.has_extended = false,
|
||||
.tb_otp = true,
|
||||
.tb_offset = (1 << 3),
|
||||
.tb_register = CONFR,
|
||||
.bp_len = 5,
|
||||
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
|
||||
},
|
||||
{0xef4014, {
|
||||
/* https://cdn-shop.adafruit.com/datasheets/W25Q80BV.pdf */
|
||||
.manufacturer = "Winbond",
|
||||
|
|
|
|||
Loading…
Reference in New Issue