From: Simon Glass Date: Wed, 22 Feb 2023 16:34:21 +0000 (-0700) Subject: dm: Add a TPL symbol for simple-bus X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=fd3753593afd110804635cf504d673d42d78ea6e;p=u-boot.git 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 --- 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' by honoring the #address-cells and #size-cells" depends on SIMPLE_BUS