-
CONFIG_SIFIVE_SPI_0_ROM
¶
SPI 0 is used to access SPI Flash ROM
Type: bool
Help¶
If enabled, SPI 0 is reserved for accessing the SPI flash ROM and a driver interface won’t be instantiated for SPI 0.
Beware disabling this option on HiFive 1! The SPI flash ROM is where the program is stored, and if this driver initializes the interface for peripheral control the FE310 will crash on boot.
Defaults¶
- “y” if
SPI_SIFIVE
&&SPI
Kconfig definition¶
At drivers/spi/Kconfig.sifive:17
Included via Kconfig:10
→ Kconfig.zephyr:35
→ drivers/Kconfig:36
→ drivers/spi/Kconfig:203
Menu path: (top menu) → Device Drivers → SPI hardware bus support → SiFive SPI controller driver
config SIFIVE_SPI_0_ROM bool prompt "SPI 0 is used to access SPI Flash ROM" ifSPI_SIFIVE
&&SPI
default "y" ifSPI_SIFIVE
&&SPI
depends onSPI_SIFIVE
&&SPI
help If enabled, SPI 0 is reserved for accessing the SPI flash ROM and a driver interface won't be instantiated for SPI 0. Beware disabling this option on HiFive 1! The SPI flash ROM is where the program is stored, and if this driver initializes the interface for peripheral control the FE310 will crash on boot.
(Definitions include propagated dependencies, including from if’s and menus.)