freebsd-nq/sys/riscv/sifive
Thomas Skibo f5d78bea1f 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
2021-08-30 23:38:02 +01:00
..
fe310_aon.c riscv/sifive: add FE310 Always-on driver 2020-04-02 00:33:15 +00:00
files.sifive fu740_pci_dw: Add SiFive FU740 PCIe controller driver 2021-08-07 19:27:31 +01:00
fu740_pci_dw.c fu740_pci_dw: Add SiFive FU740 PCIe controller driver 2021-08-07 19:27:31 +01:00
sifive_gpio.c sifive_gpio: Add SiFive GPIO controller driver 2021-08-07 19:27:31 +01:00
sifive_prci.c sifive_prci: Add reset support for the FU540 and FU740 2021-08-07 19:27:29 +01:00
sifive_spi.c sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-08-30 23:38:02 +01:00
sifive_uart.c sifive_uart: Fix input character dropping in ddb and at a mountroot prompt 2021-07-21 02:51:25 +01:00
std.sifive