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

Heiko Schocher hs at denx.de
Wed Jan 29 07:02:59 CET 2025


Hello,

On 28.01.25 14:45, 1425075683 at qq.com wrote:
> 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

I think we can even more restrict this to

TARGET_CAPRICORN

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list