diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-22 09:34:21 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-03 09:49:02 -0500 |
commit | fd3753593afd110804635cf504d673d42d78ea6e (patch) | |
tree | ffc5c439ecdad0bd26da3c8573d374a4e7f5a1c3 | |
parent | e6c5205d646df241a1f2f87c10d7c6fbe0ae4da1 (diff) |
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>
-rw-r--r-- | drivers/core/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 6fc8854b57..0f755aa702 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 |