[PATCH v1] drivers: sm: fix build warning

Alexey Romanov avromanov at salutedevices.com
Thu Oct 5 10:19:30 CEST 2023


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.
-- 
2.25.1



More information about the U-Boot mailing list