opnsense-src/sys/dev/flash
Adrian Chadd 89e3c2d27a flash: add w25n (nand flash) support
This adds read only support for the W25N series of flash parts.

Specifically starting with the W25N01GV, a 128MiB SPI NAND flash.

This doesn't currently support writing or erasing, as this requires
a NAND flash layer that we don't currently have.  There are also
plenty of other commands that aren't currently supported - notably
maintaining the on-chip flash translation layer, flash wear statistics,
etc.

But read support is fine enough for now; it at least allows for
reading the boot / config / calibration flash on my ASUS IPQ4018 based
router.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D48979
2025-02-14 19:03:55 -08:00
..
flexspi flexspi: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:27 +08:00
at45d.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cqspi.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
cqspi.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mx25l.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mx25lreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
n25q.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
qspi_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
w25n.c flash: add w25n (nand flash) support 2025-02-14 19:03:55 -08:00
w25nreg.h flash: add w25n (nand flash) support 2025-02-14 19:03:55 -08:00