From 69e173eb57d1f4848f070c83456096ba5d2ba1b4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 22 Feb 2016 22:55:42 -0700 Subject: Move CONFIG_OF_LIBFDT to Kconfig Move this option to Kconfig and tidy up existing boards. Signed-off-by: Simon Glass --- lib/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib') diff --git a/lib/Kconfig b/lib/Kconfig index c7eab46516..d22a8e4338 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 -- cgit v1.2.1