Bluetooth: Kconfig: Move BLUETOOTH_CONTROLLER to Controller file

Move the Kconfig BLUETOOTH_CONTROLLER switch from top-level
Bluetooth Kconfig to Bluetooth Controller Kconfig.

Change-id: Iead760c22a0fbbda11e4558c4943b3366ecc8769
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
This commit is contained in:
Vinayak Chettimada 2017-03-31 03:50:49 +02:00 committed by Johan Hedberg
commit ddba873aae
2 changed files with 18 additions and 13 deletions

View file

@ -34,18 +34,8 @@ config BLUETOOTH_CUSTOM
endchoice
if BLUETOOTH_HCI
config BLUETOOTH_CONTROLLER
bool "Bluetooth Controller"
select BLUETOOTH_RECV_IS_RX_THREAD
help
Enables support for SoC native controller implementations.
source "subsys/bluetooth/host/Kconfig"
if BLUETOOTH_CONTROLLER
source "subsys/bluetooth/controller/Kconfig"
endif
endif # BLUETOOTH_HCI
endif # BLUETOOTH

View file

@ -1,6 +1,19 @@
if BLUETOOTH_CONTROLLER
# Kconfig - Bluetooth Controller configuration options
#
# Copyright (c) 2016-2017 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
comment "BLE Controller configuration"
comment "BLE Controller support"
config BLUETOOTH_CONTROLLER
bool "Bluetooth Controller"
select BLUETOOTH_RECV_IS_RX_THREAD
help
Enables support for SoC native controller implementations.
if BLUETOOTH_CONTROLLER
choice
prompt "Bluetooth Link Layer Selection"
@ -15,6 +28,8 @@ config BLUETOOTH_LL_SW
endchoice
comment "BLE Controller configuration"
config BLUETOOTH_CONTROLLER_RX_BUFFERS
prompt "Number of Rx buffers"
int