sunxi: kconfig : Make CHIP_DIP_SCAN depend on ARCH_SUNXI
authorLiya Huang <1425075683@qq.com>
Fri, 31 Jan 2025 01:12:43 +0000 (09:12 +0800)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 27 Mar 2025 00:26:35 +0000 (00:26 +0000)
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 <1425075683@qq.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/mach-sunxi/Kconfig

index ba1b154..cc28f40 100644 (file)
@@ -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