[PATCH] arm: kconfig should not display the STATIC_MACH_TYPE option when SUPPORT_PASSING_ATAGS is not selected
1425075683 at qq.com
1425075683 at qq.com
Tue Jan 28 14:31:49 CET 2025
From: Liya Huang <1425075683 at qq.com>
When I use arch armv7,
menuconfig shows the STATIC_MACH_TYPE
option causing me confusion.
As we know, this should not occur when
SUPPORT_PASSING_ATAGS is not selected
Signed-off-by: Liya Huang <1425075683 at qq.com>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 314916527c9..349cfa1bdbc 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2184,6 +2184,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
--
2.25.1
More information about the U-Boot
mailing list