aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-22 09:34:21 -0700
committerTom Rini <trini@konsulko.com>2023-03-03 09:49:02 -0500
commitfd3753593afd110804635cf504d673d42d78ea6e (patch)
treeffc5c439ecdad0bd26da3c8573d374a4e7f5a1c3 /drivers
parente6c5205d646df241a1f2f87c10d7c6fbe0ae4da1 (diff)
downloadu-boot-fd3753593afd110804635cf504d673d42d78ea6e.zip
u-boot-fd3753593afd110804635cf504d673d42d78ea6e.tar.gz
u-boot-fd3753593afd110804635cf504d673d42d78ea6e.tar.bz2
dm: Add a TPL symbol for simple-bus
This is used in some x86 code, so add a symbol for it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/core/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 6fc8854..0f755aa 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -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