[PATCH v1] drivers: sm: fix build warning

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@salutedevices.com Signed-off-by: Igor Prusov ivprusov@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.

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@salutedevices.com Signed-off-by: Igor Prusov ivprusov@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
participants (2)
-
Alexey Romanov
-
neil.armstrong@linaro.org