Skip to content

Commit 331e8e4

Browse files
chrtaMaureenHelm
authored andcommitted
soc: silabs: Replace defconfig singe-symbol 'if's with 'depends on'
All other silabs_exx32 socs already have this change applied, only efr32bg13p was missing. This is now done, so all silabs_exx32 are similar. Signed-off-by: Christian Taedcke <[email protected]>
1 parent 1c44e59 commit 331e8e4

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

soc/arm/silabs_exx32/efr32bg13p/Kconfig.defconfig.efr32bg13p

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,18 @@
33
# Copyright (c) 2020 Piotr Mienkowski
44
# SPDX-License-Identifier: Apache-2.0
55

6-
if GPIO
7-
86
config GPIO_GECKO
97
default y
10-
11-
endif # GPIO
12-
13-
if I2C
8+
depends on GPIO
149

1510
config I2C_GECKO
1611
default y
17-
18-
endif # I2C
19-
20-
if FLASH
12+
depends on I2C
2113

2214
config SOC_FLASH_GECKO
2315
default y
24-
25-
endif # FLASH
26-
27-
if SPI
16+
depends on FLASH
2817

2918
config SPI_GECKO
3019
default y
31-
32-
endif # SPI
20+
depends on SPI

0 commit comments

Comments
 (0)