summaryrefslogtreecommitdiffstats
path: root/lib/fdt_empty_tree.c
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2014-02-04 17:11:10 +0100
committerMatt Fleming <matt.fleming@intel.com>2014-04-30 20:49:37 +0200
commitadaf5687846c25613d58c0a2f5d9e024547cdbec (patch)
tree28826ee2dd8945ebd05e772f7d17cef7e5cafd55 /lib/fdt_empty_tree.c
parentefivars: Add compatibility code for compat tasks (diff)
downloadlinux-adaf5687846c25613d58c0a2f5d9e024547cdbec.tar.xz
linux-adaf5687846c25613d58c0a2f5d9e024547cdbec.zip
lib: add fdt_empty_tree.c
CONFIG_LIBFDT support does not include fdt_empty_tree.c which is needed by arm64 EFI stub. Add it to libfdt_files. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'lib/fdt_empty_tree.c')
-rw-r--r--lib/fdt_empty_tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fdt_empty_tree.c b/lib/fdt_empty_tree.c
new file mode 100644
index 000000000000..5d30c58150ad
--- /dev/null
+++ b/lib/fdt_empty_tree.c
@@ -0,0 +1,2 @@
+#include <linux/libfdt_env.h>
+#include "../scripts/dtc/libfdt/fdt_empty_tree.c"