[PATCH 009/171] dm: Add a Kconfig for SPL_DM_HWSPINLOCK

Simon Glass sjg at chromium.org
Mon Jan 30 15:40:42 CET 2023


This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/hwspinlock/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig
index 96d4f5d6ca3..56406da3d87 100644
--- a/drivers/hwspinlock/Kconfig
+++ b/drivers/hwspinlock/Kconfig
@@ -5,6 +5,10 @@ config DM_HWSPINLOCK
 	help
 	  This option enables U-Boot hardware spinlock support
 
+config SPL_DM_HWSPINLOCK
+	def_bool n  # Enable U-Boot hardware spinlock support (SPL)
+	depends on SPL
+
 config HWSPINLOCK_SANDBOX
 	bool "Enable Hardware Spinlock support for Sandbox"
 	depends on SANDBOX && DM_HWSPINLOCK
-- 
2.39.1.456.gfc5497dd1b-goog



More information about the U-Boot mailing list