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 |
||
---|---|---|
.. | ||
fe310_aon.c | ||
files.sifive | ||
fu740_pci_dw.c | ||
sifive_gpio.c | ||
sifive_prci.c | ||
sifive_spi.c | ||
sifive_uart.c | ||
std.sifive |