aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen J. Kiernan <stevek@FreeBSD.org>2023-04-18 04:17:14 +0000
committerStephen J. Kiernan <stevek@FreeBSD.org>2023-04-18 04:21:17 +0000
commit76735c74398923a8cfcba405cc568461890bbc4e (patch)
tree0a468a1deaa8b88192a10a9962bb4dfe3c95227f
parentb5c3ade7657a0ebb0c0f829d90919858a39dba94 (diff)
flash: Add "n25q64" to mx25l driver
This is for 64Mb Micron N25Q serial NOR flash memory Obtained from: Juniper Networks, Inc.
-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 b57e9c9f8f77..7c00f3bcc22e 100644
--- a/sys/dev/flash/mx25l.c
+++ b/sys/dev/flash/mx25l.c
@@ -129,6 +129,7 @@ static struct mx25l_flash_ident flash_devices[] = {
{ "mx25ll64", 0xc2, 0x2017, 64 * 1024, 128, FL_NONE },
{ "mx25ll128", 0xc2, 0x2018, 64 * 1024, 256, FL_ERASE_4K | FL_ERASE_32K },
{ "mx25ll256", 0xc2, 0x2019, 64 * 1024, 512, FL_ERASE_4K | FL_ERASE_32K | FL_ENABLE_4B_ADDR },
+ { "n25q64", 0x20, 0xba17, 64 * 1024, 128, FL_ERASE_4K },
{ "s25fl032", 0x01, 0x0215, 64 * 1024, 64, FL_NONE },
{ "s25fl064", 0x01, 0x0216, 64 * 1024, 128, FL_NONE },
{ "s25fl128", 0x01, 0x2018, 64 * 1024, 256, FL_NONE },