summaryrefslogtreecommitdiff
path: root/src/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi')
-rw-r--r--src/drivers/spi/stmicro.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/drivers/spi/stmicro.c b/src/drivers/spi/stmicro.c
index 240d182b60..4ee0fcf7c2 100644
--- a/src/drivers/spi/stmicro.c
+++ b/src/drivers/spi/stmicro.c
@@ -45,17 +45,18 @@
* Device ID = (memory_type << 8) + memory_capacity
*/
#define STM_ID_M25P10 0x2011
-#define STM_ID_M25P16 0x2015
#define STM_ID_M25P20 0x2012
-#define STM_ID_M25P32 0x2016
#define STM_ID_M25P40 0x2013
-#define STM_ID_M25P64 0x2017
#define STM_ID_M25P80 0x2014
+#define STM_ID_M25P16 0x2015
+#define STM_ID_M25P32 0x2016
+#define STM_ID_M25P64 0x2017
#define STM_ID_M25P128 0x2018
+#define STM_ID_N25Q032__3E 0xba16
+#define STM_ID_N25Q128A 0xba18
#define STM_ID_N25Q256 0xba19
#define STM_ID_N25Q064 0xbb17
#define STM_ID_N25Q128 0xbb18
-#define STM_ID_N25Q128A 0xba18
struct stmicro_spi_flash_params {
u16 device_id;
@@ -132,6 +133,14 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.name = "M25P128",
},
{
+ .device_id = STM_ID_N25Q032__3E,
+ .op_erase = CMD_M25PXX_SSE,
+ .page_size = 256,
+ .pages_per_sector = 16,
+ .nr_sectors = 1024,
+ .name = "N25Q032..3E",
+ },
+ {
.device_id = STM_ID_N25Q064,
.op_erase = CMD_M25PXX_SSE,
.page_size = 256,