opnsense-src/sys/riscv
Thomas Skibo c108f30447 sifive_spi: Add missing case for SPIBUS_MODE_NONE
Otherwise sckmode is left uninitialised, not zero. This mode is used for
the on-board flash on the HiFive Unmatched board. Whilst here, catch
unknown modes and return an error rather than silently continuing.

Reviewed by:	#riscv, jrtc27
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31562

(cherry picked from commit f5d78bea1f)
2021-09-07 13:08:20 +01:00
..
conf riscv: Sync NOTES with GENERIC changes 2021-09-07 13:08:16 +01:00
include riscv: Implement non-stub __vdso_gettc and __vdso_gettimekeep 2021-09-07 13:06:44 +01:00
riscv riscv: Fix pmap_alloc_l2 when it should allocate a new L1 entry 2021-09-07 13:08:16 +01:00
sifive sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-09-07 13:08:20 +01:00