summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-22 22:55:42 -0700
committerTom Rini <trini@konsulko.com>2016-03-14 14:50:25 -0400
commit69e173eb57d1f4848f070c83456096ba5d2ba1b4 (patch)
tree2505e4c13b397edf64d640e0a1a92e3a503707a9 /lib
parent9e971632cd6dae4fc2b30c600ff5650ecf8944f1 (diff)
Move CONFIG_OF_LIBFDT to Kconfig
Move this option to Kconfig and tidy up existing boards. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index c7eab46516f..d22a8e4338a 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -128,6 +128,16 @@ config ERRNO_STR
- if errno is null or positive number - a pointer to "Success" message
- if errno is negative - a pointer to errno related message
+config OF_LIBFDT
+ bool "Enable the FDT library"
+ default y if OF_CONTROL
+ help
+ This enables the FDT library (libfdt). It provides functions for
+ accessing binary device tree images in memory, such as adding and
+ removing notes and properties, scanning through the tree and finding
+ particular compatible nodes. The library operates on a flattened
+ version of the device tree.
+
source lib/efi/Kconfig
endmenu