summaryrefslogtreecommitdiff
path: root/tools/fdtgrep.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-16 18:30:18 +0900
committerSimon Glass <sjg@chromium.org>2020-04-26 14:24:08 -0600
commit64045a6a173e6cf74a9c30bbe21a93d105be289e (patch)
tree279284ae7f5f735a99c8273253e677a99189db84 /tools/fdtgrep.c
parent3e69db1223b9db82705fcc96b76caf0d8a468d12 (diff)
downloadu-boot-64045a6a173e6cf74a9c30bbe21a93d105be289e.tar.gz
libfdt: split fdt_region declarations out to <fdt_region.h>
fdt_region APIs are not part of libfdt. They are U-Boot extension for the verified boot. Split the declarations related to fdt_region out of <fdt_region.h>. This allows <linux/libfdt.h> to become a simple wrapper file, like Linux does. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/fdtgrep.c')
-rw-r--r--tools/fdtgrep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
index 2a8058f57f..7e168a1e6b 100644
--- a/tools/fdtgrep.c
+++ b/tools/fdtgrep.c
@@ -17,6 +17,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <fdt_region.h>
#include "fdt_host.h"
#include "libfdt_internal.h"