0be3a7604b
Update spi drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
16 lines
391 B
Plaintext
16 lines
391 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"
|
|
default y
|
|
depends on DT_HAS_OPENCORES_SPI_SIMPLE_ENABLED
|
|
help
|
|
Enable the Simple SPI controller
|
|
|
|
config SPI_OC_SIMPLE_BUS_WIDTH
|
|
def_int 8
|
|
depends on SPI_OC_SIMPLE
|