summaryrefslogtreecommitdiffstats
path: root/cpukit/include/libfdt_env.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-30 15:57:16 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-19 07:01:09 +0200
commite879a98ddeb5c738d598d6a91e4b4f2da6933cde (patch)
tree676c355973f31eb75bff720f2f7383ab0c73a640 /cpukit/include/libfdt_env.h
parentlibfdt: Extend the reach of FDT_ERR_BADPHANDLE (diff)
downloadrtems-e879a98ddeb5c738d598d6a91e4b4f2da6933cde.tar.bz2
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> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to '')
-rw-r--r--cpukit/include/libfdt_env.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/include/libfdt_env.h b/cpukit/include/libfdt_env.h
index 9dea97dfff..99f936dacc 100644
--- a/cpukit/include/libfdt_env.h
+++ b/cpukit/include/libfdt_env.h
@@ -54,6 +54,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#ifdef __CHECKER__