[PATCH v3 20/95] dm: Add a Kconfig for SPL_DM_HWSPINLOCK
Simon Glass
sjg at chromium.org
Mon Feb 13 00:15:23 CET 2023
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
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.581.gbfd45094c4-goog
More information about the U-Boot
mailing list