summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiya Huang <[email protected]>2025-01-31 09:12:43 +0800
committerAndre Przywara <[email protected]>2025-03-27 00:26:35 +0000
commitc0c122bfa1621a1fe18631145f08039cb9a19341 (patch)
tree060ba194e1d1d61436237b19ad19c56a771dc582
parentb052de94fa14577cb5d9e724edeb09fee674d582 (diff)
sunxi: kconfig : Make CHIP_DIP_SCAN depend on ARCH_SUNXI
The CHIP_DIP_SCAN configuration option is relevant only to ARCH_SUNXI. Make CHIP_DIP_SCAN dependent on ARCH_SUNXI so that it does not show up on other goals. Signed-off-by: Liya Huang <[email protected]> Reviewed-by: Andre Przywara <[email protected]>
-rw-r--r--arch/arm/mach-sunxi/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index ba1b1541437..cc28f403fae 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1131,10 +1131,6 @@ config BLUETOOTH_DT_DEVICE_FIXUP
The used address is "bdaddr" if set, and "ethaddr" with the LSB
flipped elsewise.
-source "board/sunxi/Kconfig"
-
-endif
-
config CHIP_DIP_SCAN
bool "Enable DIPs detection for CHIP board"
select SUPPORT_EXTENSION_SCAN
@@ -1143,3 +1139,7 @@ config CHIP_DIP_SCAN
select W1_EEPROM
select W1_EEPROM_DS24XXX
select CMD_EXTENSION
+
+source "board/sunxi/Kconfig"
+
+endif