From: Liya Huang <1425075683@qq.com> Date: Tue, 28 Jan 2025 13:31:49 +0000 (+0800) Subject: arm: Correct dependency for STATIC_MACH_TYPE X-Git-Tag: v2025.04-rc2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93bcabd9b244b26c252743c1994d968d5e3e9a28;p=pandora-u-boot.git arm: Correct dependency for STATIC_MACH_TYPE Kconfig should not display the STATIC_MACH_TYPE option when SUPPORT_PASSING_ATAGS is not selected. For example, when using most platforms with menuconfig, it shows the STATIC_MACH_TYPE option causing confusion. As we know, this should not occur when SUPPORT_PASSING_ATAGS is not selected [trini: Reword commit message] Signed-off-by: Liya Huang <1425075683@qq.com> --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 791e2189480..da6f1174934 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -2202,6 +2202,7 @@ config SERIAL_TAG config STATIC_MACH_TYPE bool "Statically define the Machine ID number" default y if TARGET_DS109 || TARGET_DS414 || DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac" + depends on SUPPORT_PASSING_ATAGS help When booting via ATAGs, enable this option if we know the correct machine ID number to use at compile time. Some systems will be