From: Bin Meng Date: Wed, 3 Feb 2021 13:20:03 +0000 (+0800) Subject: dts: Fix OF_LIVE dependency X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ced4c31e93d905694553fd1df7aeb4e7d7ef6112;p=u-boot.git dts: Fix OF_LIVE dependency lib/of_live.c references the following 2 ofnode APIs: of_alias_scan() and of_get_property(). These APIs get built only when DM is on. Fix the dependency then. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/dts/Kconfig b/dts/Kconfig index 71f50552e4..00ac29a457 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -60,7 +60,7 @@ config TPL_OF_CONTROL config OF_LIVE bool "Enable use of a live tree" - depends on OF_CONTROL + depends on DM && OF_CONTROL help Normally U-Boot uses a flat device tree which saves space and avoids the need to unpack the tree before use. However a flat