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

Signed-off-by: Simon Glass <s...@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.581.gbfd45094c4-goog

Reply via email to