]> git.baikalelectronics.ru Git - uboot.git/commitdiff
dm: Add a TPL symbol for simple-bus
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 16:34:21 +0000 (09:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 3 Mar 2023 14:49:02 +0000 (09:49 -0500)
This is used in some x86 code, so add a symbol for it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/Kconfig

index 6fc8854b574babcfaa9add86798a61a0aafc62d8..0f755aa702ee45c3bf427f3476b2510c34fd6ba7 100644 (file)
@@ -301,6 +301,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