Skip to content

Commit f7496df

Browse files
committed
boards: remove unnecessary I2C / SPI bus Kconfig enablement
We now 'select I2C' and/or SPI bus in Kconfig in the sensor driver Kconfig's so there is no need to have boards do the following: config I2C default y if SENSOR config SPI default y if SENSOR Signed-off-by: Kumar Gala <[email protected]>
1 parent 8fe855f commit f7496df

File tree

43 files changed

+1
-177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1
-177
lines changed

boards/arm/96b_argonkey/Kconfig.defconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,4 @@ endchoice
4040

4141
endif # LSM6DSL
4242

43-
config I2C
44-
default y if SENSOR
45-
46-
config SPI
47-
default y if SENSOR
48-
4943
endif # BOARD_96B_ARGONKEY

boards/arm/96b_wistrio/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@ config BOARD
1111
config REGULATOR
1212
default y if LORA
1313

14-
config I2C
15-
default y if SENSOR
16-
1714
endif # BOARD_96B_WISTRIO

boards/arm/actinius_icarus/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if BOARD_ACTINIUS_ICARUS || BOARD_ACTINIUS_ICARUS_NS
88
config BOARD
99
default "actinius_icarus"
1010

11-
config I2C
12-
default y if SENSOR
13-
1411
# For the secure version of the board the firmware is linked at the beginning
1512
# of the flash, or into the code-partition defined in DT if it is intended to
1613
# be loaded by MCUboot. If the secure firmware is to be combined with a non-

boards/arm/actinius_icarus_bee/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if BOARD_ACTINIUS_ICARUS_BEE || BOARD_ACTINIUS_ICARUS_BEE_NS
88
config BOARD
99
default "actinius_icarus_bee"
1010

11-
config I2C
12-
default y if SENSOR
13-
1411
# For the secure version of the board the firmware is linked at the beginning
1512
# of the flash, or into the code-partition defined in DT if it is intended to
1613
# be loaded by MCUboot. If the secure firmware is to be combined with a non-

boards/arm/actinius_icarus_som/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if BOARD_ACTINIUS_ICARUS_SOM || BOARD_ACTINIUS_ICARUS_SOM_NS
88
config BOARD
99
default "actinius_icarus_som"
1010

11-
config I2C
12-
default y if SENSOR
13-
1411
# For the secure version of the board the firmware is linked at the beginning
1512
# of the flash, or into the code-partition defined in DT if it is intended to
1613
# be loaded by MCUboot. If the secure firmware is to be combined with a non-

boards/arm/b_l4s5i_iot01a/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ choice LSM6DSL_TRIGGER_MODE
2525
depends on LSM6DSL
2626
endchoice
2727

28-
config I2C
29-
default y if SENSOR
30-
3128
if BT
3229

3330
config SPI

boards/arm/bbc_microbit/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ config BT_CTLR
1414
config LOG_BUFFER_SIZE
1515
default 128 if LOG
1616

17-
config I2C
18-
default y if SENSOR
19-
2017
if FXOS8700
2118

2219
choice FXOS8700_MODE

boards/arm/bbc_microbit_v2/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@ config BOARD
1111
config BT_CTLR
1212
default BT
1313

14-
config I2C
15-
default y if SENSOR
16-
1714
endif # BOARD_BBC_MICROBIT_V2

boards/arm/circuitdojo_feather_nrf9160/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ if BOARD_CIRCUITDOJO_FEATHER_NRF9160 || BOARD_CIRCUITDOJO_FEATHER_NRF9160_NS
99
config BOARD
1010
default "circuitdojo_feather_nrf9160"
1111

12-
config I2C
13-
default y if SENSOR
14-
1512
# For the secure version of the board the firmware is linked at the beginning
1613
# of the flash, or into the code-partition defined in DT if it is intended to
1714
# be loaded by MCUboot. If the secure firmware is to be combined with a non-

boards/arm/disco_l475_iot1/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ choice LSM6DSL_TRIGGER_MODE
3030
depends on LSM6DSL
3131
endchoice
3232

33-
config I2C
34-
default y if SENSOR
35-
3633
if BT
3734

3835
config SPI

0 commit comments

Comments
 (0)