diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-02-03 21:20:03 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-03 19:17:25 -0700 |
commit | ced4c31e93d905694553fd1df7aeb4e7d7ef6112 (patch) | |
tree | 84e0f5f783b2f5b7e12466765b8d68015a4710ac /dts | |
parent | 56e7257ca8bb7c4f1a2d720fe289d2b8b6508922 (diff) | |
download | u-boot-ced4c31e93d905694553fd1df7aeb4e7d7ef6112.zip u-boot-ced4c31e93d905694553fd1df7aeb4e7d7ef6112.tar.gz u-boot-ced4c31e93d905694553fd1df7aeb4e7d7ef6112.tar.bz2 |
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 <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dts')
-rw-r--r-- | dts/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dts/Kconfig b/dts/Kconfig index 71f5055..00ac29a 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 |