[PATCH v3 64/81] dm: Add a TPL symbol for simple-bus

Simon Glass sjg at chromium.org
Mon Feb 6 20:05:32 CET 2023


This is used in some x86 code, so add a symbol for it.

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

(no changes since v1)

 drivers/core/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index f1ef5cd35f3..ae4f184b93f 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -305,6 +305,13 @@ config SPL_SIMPLE_BUS
 	  Supports the 'simple-bus' driver, which is used on some systems
 	  in SPL.
 
+config TPL_SIMPLE_BUS
+	bool "Support simple-bus driver in TPL"
+	depends on TPL_DM && TPL_OF_CONTROL
+	help
+	  Supports the 'simple-bus' driver, which is used on some systems
+	  in TPL.
+
 config SIMPLE_BUS_CORRECT_RANGE
 	bool "Decode the 'simple-bus' <range> by honoring the #address-cells and #size-cells"
 	depends on SIMPLE_BUS
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list