summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2019-12-17 21:40:09 -0500
committerTom Rini <trini@konsulko.com>2020-01-15 19:50:31 -0500
commit327bb3bc1efd0ddd3976637df23f12aa5bc7e6fe (patch)
tree13a504492e6e2febf48f1eb2949078c3a34eaa5e /dts
parentfbdbf77edec26cc7869b310a5018590490ecb192 (diff)
Add dependencies for MALLOC_F and OF_LIBFDT
Some features implicitly depended on MALLOC_F and OF_LIBFDT and would fail at link-time if these features were not enabled. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'dts')
-rw-r--r--dts/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index 64c98dd723..d3313dd08f 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -25,6 +25,7 @@ menu "Device Tree Control"
config OF_CONTROL
bool "Run-time configuration via Device Tree"
select DTC
+ select OF_LIBFDT if !OF_PLATDATA
help
This feature provides for run-time configuration of U-Boot
via a flattened device tree.
@@ -42,6 +43,7 @@ config OF_BOARD_FIXUP
config SPL_OF_CONTROL
bool "Enable run-time configuration via Device Tree in SPL"
depends on SPL && OF_CONTROL
+ select SPL_OF_LIBFDT if !SPL_OF_PLATDATA
help
Some boards use device tree in U-Boot but only have 4KB of SRAM
which is not enough to support device tree. Disable this option to
@@ -50,6 +52,7 @@ config SPL_OF_CONTROL
config TPL_OF_CONTROL
bool "Enable run-time configuration via Device Tree in TPL"
depends on TPL && OF_CONTROL
+ select TPL_OF_LIBFDT if !TPL_OF_PLATDATA
help
Some boards use device tree in U-Boot but only have 4KB of SRAM
which is not enough to support device tree. Enable this option to