The latest development version of this page may be more current than this released 1.14.1 version.
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.

Direct dependencies

SPI_SIFIVE && SPI

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/spi/Kconfig.sifive:17

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:36drivers/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" if SPI_SIFIVE && SPI
    default "y" if SPI_SIFIVE && SPI
    depends on SPI_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.)