Skip to contentSkip to conversation

drivers: sm: fix build warning

PATCH In review Alexey Romanov 2 participants 2 messages Oct 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 drivers/sm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/sm/Kconfig +1 -1
index b4cc3f768e..f0987275d2 100644
@@ -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.
Signature · 1 line
2.25.1
#1 lore raw
Quoted 19 lines · Alexey Romanov

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")
---
  drivers/sm/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/sm/Kconfig +0 -0
index b4cc3f768e..f0987275d2 100644

drivers/sm/Kconfig config SM · line 9

Quoted 8 lines
drivers/sm/Kconfig +1 -1
@@ -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