summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-07-05 10:26:44 +0200
committerTom Rini <trini@konsulko.com>2016-08-20 11:35:04 -0400
commitddf67f71352be56d98f0e5bcf851146e54d764ad (patch)
treef649ddc66bbcbffaa8ecdfc74205300f55ee8cea /lib/Kconfig
parentea7b1a213e8b01befd05d94620add7cf84883876 (diff)
downloadu-boot-ddf67f71352be56d98f0e5bcf851146e54d764ad.tar.gz
u-boot-ddf67f71352be56d98f0e5bcf851146e54d764ad.tar.bz2
u-boot-ddf67f71352be56d98f0e5bcf851146e54d764ad.zip
libfdt: Add overlay application function
The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily plug new board in (like the BBB, the Raspberry Pi or the CHIP). Add a new function to merge overlays with a base device tree. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 02ca4058d3..16ff01a2cd 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -139,6 +139,11 @@ config OF_LIBFDT
particular compatible nodes. The library operates on a flattened
version of the device tree.
+config OF_LIBFDT_OVERLAY
+ bool "Enable the FDT library overlay support"
+ help
+ This enables the FDT library (libfdt) overlay support.
+
config SPL_OF_LIBFDT
bool "Enable the FDT library for SPL"
default y if SPL_OF_CONTROL