summaryrefslogtreecommitdiff
path: root/libfdt/libfdt_env.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-30 15:57:16 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-10-06 19:22:41 +1100
commit0cdd06c5135bd9f46853c2f58ad2ac91b0fa87f3 (patch)
treeca2157c43d55f531e3c3339d03018522617d180c /libfdt/libfdt_env.h
parent39240cc865cfbd4aecf86e33a72156f7fc043df3 (diff)
downloaddevice-tree-compiler-0cdd06c5135bd9f46853c2f58ad2ac91b0fa87f3.tar.gz
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 'libfdt/libfdt_env.h')
-rw-r--r--libfdt/libfdt_env.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libfdt/libfdt_env.h b/libfdt/libfdt_env.h
index 9dea97d..99f936d 100644
--- a/libfdt/libfdt_env.h
+++ b/libfdt/libfdt_env.h
@@ -54,6 +54,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#ifdef __CHECKER__