[PATCH] arm: The CHIP DIP SCAN option should not be displayed in other mach
1425075683 at qq.com
1425075683 at qq.com
Tue Jan 28 14:37:37 CET 2025
From: Liya Huang <1425075683 at qq.com>
When I use mach STM32,
menuconfig sees this option; It bothers me.
I observed that the root cause was that the
option was not included in the endif,
but when I tried to fix it, an error occurred.
I didn't find a solution. Only deponds can be used for hiding.
Signed-off-by: Liya Huang <1425075683 at qq.com>
---
arch/arm/mach-sunxi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index ba1b1541437..48dd1e68363 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1137,6 +1137,7 @@ endif
config CHIP_DIP_SCAN
bool "Enable DIPs detection for CHIP board"
+ depends on ARCH_SUNXI
select SUPPORT_EXTENSION_SCAN
select W1
select W1_GPIO
--
2.25.1
More information about the U-Boot
mailing list