aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/flash
diff options
context:
space:
mode:
authorThomas Skibo <thomas-bsd@skibo.net>2021-08-30 20:39:20 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2021-08-30 22:38:02 +0000
commit416ac155bb750fa55917daf340abe4ef04e7d4e6 (patch)
tree6ced92a377e9b4cb1bd78d58511318ec32942df6 /sys/dev/flash
parentf5d78bea1f699c05e1694505088e61d22b8fb1f5 (diff)
mx25l: Add support for Integrated Silicon Solution is25wp256
This is used for the on-board flash on the HiFive Unmatched board. Reviewed by: #riscv, jrtc27 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31562
Diffstat (limited to 'sys/dev/flash')
-rw-r--r--sys/dev/flash/mx25l.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/flash/mx25l.c b/sys/dev/flash/mx25l.c
index be845c2064f9..9608bbf57314 100644
--- a/sys/dev/flash/mx25l.c
+++ b/sys/dev/flash/mx25l.c
@@ -152,6 +152,9 @@ static struct mx25l_flash_ident flash_devices[] = {
/* GigaDevice */
{ "gd25q64", 0xc8, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
{ "gd25q128", 0xc8, 0x4018, 64 * 1024, 256, FL_ERASE_4K },
+
+ /* Integrated Silicon Solution */
+ { "is25wp256", 0x9d, 0x7019, 64 * 1024, 512, FL_ERASE_4K | FL_ENABLE_4B_ADDR},
};
static int