summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2016-05-26 01:19:13 +0000
committeradrian <adrian@FreeBSD.org>2016-05-26 01:19:13 +0000
commiteaf1e1649149676f6087590e0b83fa23c961daa9 (patch)
tree0c7e01c6d3217054c0aa1049a5fbe23cf6407180
parent4c87bece907821e83ff5fe8654265cdfe6b0977b (diff)
downloadFreeBSD-src-eaf1e1649149676f6087590e0b83fa23c961daa9.zip
FreeBSD-src-eaf1e1649149676f6087590e0b83fa23c961daa9.tar.gz
[mx25l] add Winbond w25x64 support.
PR: https://github.com/freebsd/freebsd/pull/16 Submitted by: https://github.com/epipenau
-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 338129a..832e790 100644
--- a/sys/dev/flash/mx25l.c
+++ b/sys/dev/flash/mx25l.c
@@ -124,6 +124,7 @@ struct mx25l_flash_ident flash_devices[] = {
/* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
{ "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 },
{ "w25q64", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
{ "w25q64bv", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
OpenPOWER on IntegriCloud