zephyr/drivers/spi/Kconfig.oc_simple
Ulf Magnusson 378d6b137a kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:34 -06:00

14 lines
332 B
Plaintext

# Simple SPI Driver configuration options
# Copyright (c) 2019 Western Digital Corporation or its affiliates
# SPDX-License-Identifier: Apache-2.0
menuconfig SPI_OC_SIMPLE
bool "OpenCores Simple SPI controller driver"
help
Enable the Simple SPI controller
config SPI_OC_SIMPLE_BUS_WIDTH
def_int 8
depends on SPI_OC_SIMPLE