:orphan: .. title:: CONFIG_SIFIVE_SPI_0_ROM .. kconfig:: CONFIG_SIFIVE_SPI_0_ROM CONFIG_SIFIVE_SPI_0_ROM ####################### *SPI 0 is used to access SPI Flash ROM* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`SPI_SIFIVE ` && \ :kconfig:`SPI ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== At ``/spi/Kconfig.sifive:12`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:40`` → ``/spi/Kconfig:62`` Menu path: (Top) → Device Drivers → SPI hardware bus support → SiFive SPI controller driver .. code-block:: kconfig config SIFIVE_SPI_0_ROM bool "SPI 0 is used to access SPI Flash ROM" default y 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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*