boards/shields: Clean up Kconfig'ery
Following change of selection mechanism, clean boards/shields from Kconfig related code. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
0115c47b69
commit
5a197bf8f2
|
@ -18,8 +18,6 @@
|
|||
# Note: $ARCH and $BOARD_DIR might be glob patterns.
|
||||
source "$(BOARD_DIR)/Kconfig.defconfig"
|
||||
|
||||
source "boards/shields/*/Kconfig.defconfig"
|
||||
|
||||
source "$(SOC_DIR)/$(ARCH)/*/Kconfig.defconfig"
|
||||
|
||||
source "boards/Kconfig"
|
||||
|
|
|
@ -25,7 +25,3 @@ menu "Board Options"
|
|||
# There might not be any board options, hence the optional source
|
||||
osource "$(BOARD_DIR)/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Shields"
|
||||
source "boards/shields/*/Kconfig.shield"
|
||||
endmenu
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# Copyright (c) 2018, NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
config SHIELD_FRDM_KW41Z
|
||||
bool "frdm_kw41z"
|
|
@ -1,33 +0,0 @@
|
|||
# Kconfig - ST Nucleo Expansion Board x-nucleo-iks01a1 configuration
|
||||
#
|
||||
# Copyright (c) 2018 Linaro Limited.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
if SHIELD_X_NUCLEO_IKS01A1
|
||||
|
||||
if HTS221
|
||||
|
||||
choice HTS221_TRIGGER_MODE
|
||||
default HTS221_TRIGGER_NONE
|
||||
endchoice
|
||||
|
||||
endif # HTS221
|
||||
|
||||
if LIS3MDL
|
||||
|
||||
choice LIS3MDL_TRIGGER_MODE
|
||||
default LIS3MDL_TRIGGER_NONE
|
||||
endchoice
|
||||
|
||||
endif # LIS3MDL
|
||||
|
||||
if I2C_STM32
|
||||
|
||||
config I2C_STM32_INTERRUPT
|
||||
default y
|
||||
|
||||
endif # I2C_STM32
|
||||
|
||||
endif # SHIELD_X_NUCLEO_IKS01A1
|
|
@ -1,15 +0,0 @@
|
|||
# Kconfig - ST Nucleo Expansion Board x-nucleo-iks01a1 configuration
|
||||
#
|
||||
# Copyright (c) 2018 Linaro Limited.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
config SHIELD_X_NUCLEO_IKS01A1
|
||||
bool "x-nucleo-iks01a1"
|
||||
select I2C
|
||||
select SENSOR
|
||||
select HTS221
|
||||
select LPS25HB
|
||||
select LSM6DS0
|
||||
select LIS3MDL
|
|
@ -1,25 +0,0 @@
|
|||
# Kconfig - ST Nucleo Expansion Board x-nucleo-iks01a2 configuration
|
||||
#
|
||||
# Copyright (c) 2018 Linaro Limited.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
if SHIELD_X_NUCLEO_IKS01A2
|
||||
|
||||
if HTS221
|
||||
|
||||
choice HTS221_TRIGGER_MODE
|
||||
default HTS221_TRIGGER_NONE
|
||||
endchoice
|
||||
|
||||
endif # HTS221
|
||||
|
||||
if I2C_STM32
|
||||
|
||||
config I2C_STM32_INTERRUPT
|
||||
default y
|
||||
|
||||
endif # I2C_STM32
|
||||
|
||||
endif # SHIELD_X_NUCLEO_IKS01A2
|
|
@ -1,14 +0,0 @@
|
|||
# Kconfig - ST Nucleo Expansion Board x-nucleo-iks01a2 configuration
|
||||
#
|
||||
# Copyright (c) 2018 Linaro Limited.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
config SHIELD_X_NUCLEO_IKS01A2
|
||||
bool "x-nucleo-iks01a2"
|
||||
select I2C
|
||||
select SENSOR
|
||||
select HTS221
|
||||
select LPS22HB
|
||||
select LSM6DSL
|
Loading…
Reference in a new issue