summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-03-28 16:44:46 -0300
committerLuiz Souza <luiz@netgate.com>2018-03-28 16:48:01 -0300
commit2d610b9dd3fbae01c76c63d1ff563db29b0e79a3 (patch)
tree3a4f8e9d26d230e3504eddbe496dd52fddf61468 /sys
parent986837ba7e9d5496fdf03466eea7f500646d8fcb (diff)
downloadFreeBSD-src-2d610b9dd3fbae01c76c63d1ff563db29b0e79a3.zip
FreeBSD-src-2d610b9dd3fbae01c76c63d1ff563db29b0e79a3.tar.gz
Add support for the SPI flash W25Q32JV from Winbond.
Tested on production SG-3100. (cherry picked from commit 276b374d3d1baa24389227e6c6aa350654503ef2)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/flash/mx25l.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/flash/mx25l.c b/sys/dev/flash/mx25l.c
index 192c1de..b2983e9 100644
--- a/sys/dev/flash/mx25l.c
+++ b/sys/dev/flash/mx25l.c
@@ -127,6 +127,7 @@ struct mx25l_flash_ident flash_devices[] = {
{ "w25x32", 0xef, 0x3016, 64 * 1024, 64, FL_ERASE_4K },
{ "w25x64", 0xef, 0x3017, 64 * 1024, 128, FL_ERASE_4K },
{ "w25q32", 0xef, 0x4016, 64 * 1024, 64, FL_ERASE_4K },
+ { "w25q32jv", 0xef, 0x7016, 64 * 1024, 64, FL_ERASE_4K },
{ "w25q64", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
{ "w25q64bv", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
{ "w25q128", 0xef, 0x4018, 64 * 1024, 256, FL_ERASE_4K },
OpenPOWER on IntegriCloud