diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-07 16:24:03 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-09-25 18:46:15 +0300 |
commit | 414cc15144f69b66d12aa8881192e34862bc6042 (patch) | |
tree | 07a154a1f32dca9f051e5809fa70d8a81b4b324f /dts | |
parent | eaad01a3d018a8a5b1003ab2d28e9e23e2b2db3f (diff) | |
download | u-boot-414cc15144f69b66d12aa8881192e34862bc6042.tar.xz |
treewide: Simply conditions with the new OF_REAL
Use this new Kconfig to simplify the compilation conditions where
appropriate.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dts')
-rw-r--r-- | dts/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dts/Kconfig b/dts/Kconfig index d853aaafbc..0cc562c626 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -44,12 +44,13 @@ config OF_CONTROL bool "Run-time configuration via Device Tree" select DTC select OF_LIBFDT if !OF_PLATDATA + select OF_REAL if !OF_PLATDATA help This feature provides for run-time configuration of U-Boot via a flattened device tree. config OF_REAL - def_bool y + bool help Indicates that a real devicetree is available which can be accessed at runtime. This means that dev_read_...() functions can be used to |