[PATCH v2 009/169] dm: Add a Kconfig for SPL_DM_HWSPINLOCK
Simon Glass
sjg at chromium.org
Sun Feb 5 23:35:55 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.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list