[PATCH v1] drivers: sm: fix build warning

neil.armstrong at linaro.org neil.armstrong at linaro.org
Thu Oct 5 14:27:51 CEST 2023


On 05/10/2023 10:19, Alexey Romanov wrote:
> This fixes following warning during u-boot build:
> WARNING: unmet direct dependencies detected for MESON_SM
>    Depends on [n]: SM [=n]
>    Selected by [y]:
>    - MESON64_COMMON [=y] && ARM [=y] && ARCH_MESON [=y]
> 
> Fixes: 9849712e7655 ("drivers: introduce Meson Secure Monitor driver")
> 
> Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
> Signed-off-by: Igor Prusov <ivprusov at salutedevices.com>
> ---
>   drivers/sm/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/sm/Kconfig b/drivers/sm/Kconfig
> index b4cc3f768e..f0987275d2 100644
> --- a/drivers/sm/Kconfig
> +++ b/drivers/sm/Kconfig
> @@ -3,7 +3,7 @@ config SM
>   
>   config MESON_SM
>   	bool "Amlogic Secure Monitor driver"
> -	depends on SM
> +	select SM
>   	default n
>   	help
>   	  Say y here to enable the Amlogic secure monitor driver.

Thanks,

Squashed into 9849712e7655 ("drivers: introduce Meson Secure Monitor driver")

Neil


More information about the U-Boot mailing list