spiFlashdb: add micron N25Q32
This commit is contained in:
parent
5df1d9775d
commit
50bdbde809
|
|
@ -33,6 +33,19 @@ typedef struct {
|
||||||
} flash_t;
|
} flash_t;
|
||||||
|
|
||||||
static std::map <uint32_t, flash_t> flash_list = {
|
static std::map <uint32_t, flash_t> flash_list = {
|
||||||
|
{0x0020ba16, {
|
||||||
|
.manufacturer = "micron",
|
||||||
|
.model = "N25Q32",
|
||||||
|
.nr_sector = 64,
|
||||||
|
.sector_erase = true,
|
||||||
|
.subsector_erase = true,
|
||||||
|
.has_extended = true,
|
||||||
|
.tb_otp = false,
|
||||||
|
.tb_offset = (1 << 5),
|
||||||
|
.tb_register = STATR,
|
||||||
|
.bp_len = 3,
|
||||||
|
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
|
||||||
|
},
|
||||||
{0x0020ba18, {
|
{0x0020ba18, {
|
||||||
.manufacturer = "micron",
|
.manufacturer = "micron",
|
||||||
.model = "N25Q128",
|
.model = "N25Q128",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue