[PATCH v2 008/169] dm: Add a Kconfig for SPL_DEVRES
Simon Glass
sjg at chromium.org
Sun Feb 5 23:35:54 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/core/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 6fc8854b574..22381500afe 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -275,6 +275,10 @@ config DEVRES
non-managed variants. For example, devres_alloc() to kzalloc(),
devm_kmalloc() to kmalloc(), etc.
+config SPL_DEVRES
+ def_bool n # Managed device resources (SPL)
+ depends on SPL_DM
+
config DEBUG_DEVRES
bool "Managed device resources debugging functions"
depends on DEVRES
--
2.39.1.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list