zephyr/drivers/spi/Kconfig
Daniel Leung a33aecc611 spi: restructure kconfig options
() Moves config options for each controllers into their own
   Kconfig files. This keeps upper level Kconfig from getting
   too big.
() Options for each controller are moved under their own
   submenus.

Origin: refactored from existing file
Change-Id: I813694f26126b43523b08ebdb0a5383edd241cda
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-03-17 21:05:12 +00:00

47 lines
1.0 KiB
Plaintext

# Kconfig - SPI driver configuration options
#
# Copyright (c) 2015-2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# SPI Drivers
#
menuconfig SPI
bool
prompt "SPI hardware bus support"
default n
help
Enable support for the SPI hardware bus.
if SPI
config SPI_DEBUG
bool
prompt "SPI drivers debug output"
depends on SPI
default n
help
Enable debug output for SPI drivers
source "drivers/spi/Kconfig.intel"
source "drivers/spi/Kconfig.dw"
source "drivers/spi/Kconfig.qmsi"
source "drivers/spi/Kconfig.k64"
endif # SPI