mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 23:04:36 -04:00
Introduce SPI-mode support which allows an SD card to communicate with a
host system using SPI protocol, as described in the SD Card Specification.
This feature is useful for low-end, FPGA or RISC-V research systems when a
SoC is limited in terms of peripherals available (e.g. lack of a dedicated
MMC controller in hardware). Examples of such systems include Codasip,
lowRISC and CVA6.
Project timeline:
2007: Warner first discussed SPI operational mode in his MMC presentation:
https://people.freebsd.org/~imp/bsdcan2007.pdf
2012: Patrick Kelsey engineered the support.
2025: Ruslan cleaned up, tested on Codasip X730 platform (RISC-V FPGA)
and put the patch to review.
2025: Patrick Kelsey reviewed the patch and aligned with the current MMC
code.
Reviewed by: pkelsey
Sponsored by: UKRI
Differential Revision: https://reviews.freebsd.org/D49248
|
||
|---|---|---|
| .. | ||
| host | ||
| bridge.h | ||
| mmc.c | ||
| mmc_fdt_helpers.c | ||
| mmc_fdt_helpers.h | ||
| mmc_helpers.c | ||
| mmc_helpers.h | ||
| mmc_ioctl.h | ||
| mmc_private.h | ||
| mmc_pwrseq.c | ||
| mmc_pwrseq_if.m | ||
| mmc_subr.c | ||
| mmc_subr.h | ||
| mmcbr_if.m | ||
| mmcbrvar.h | ||
| mmcbus_if.m | ||
| mmcreg.h | ||
| mmcsd.c | ||
| mmcspi.c | ||
| mmcvar.h | ||