zephyr/drivers/spi/Kconfig.sifive
Ulf Magnusson 53376394b7 kconfig: Remove blank lines at the beginning/end of files
Maybe this is some "just in case" thing that got copied around. There's
no need to have a blank line at the beginning or end of Kconfig files.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-13 07:29:42 -05:00

29 lines
748 B
Plaintext

# Kconfig - SiFive SPI Driver configuration options
#
# Copyright (c) 2018 SiFive Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig SPI_SIFIVE
bool "SiFive SPI controller driver"
depends on SOC_SERIES_RISCV32_SIFIVE_FREEDOM
help
Enable the SPI peripherals on SiFive Freedom processors
if SPI_SIFIVE
config SIFIVE_SPI_0_ROM
bool "SPI 0 is used to access SPI Flash ROM"
default y
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.
endif # SPI_SIFIVE