[PATCH] arm: Other boards should not show this option in menuconfig

1425075683 at qq.com 1425075683 at qq.com
Tue Jan 28 14:45:52 CET 2025


From: Liya Huang <1425075683 at qq.com>

When I was using STM32 board,
this option appeared in menuconfig and caused me trouble.
I found that arch/arm/mach-imx/imx8/Kconfig
already excludes using if endif.
I don't know why other boards are displayed.
I used the following command:
    export CROSS_COMPILE=arm-none-eabi- ARCH=arm
    make stm32h750-art-pi_defconfig
    make menuconfig

Signed-off-by: Liya Huang <1425075683 at qq.com>
---

 board/siemens/common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/siemens/common/Kconfig b/board/siemens/common/Kconfig
index 4ae12b1c973..800eb8dd1c1 100644
--- a/board/siemens/common/Kconfig
+++ b/board/siemens/common/Kconfig
@@ -3,4 +3,5 @@ config FACTORYSET
 
 config DDR_SI_TEST
 	bool "DDR signal integrity test implementations"
+	depends on ARCH_IMX8
 	default y
-- 
2.25.1



More information about the U-Boot mailing list