diff options
| author | Masahiro Yamada <[email protected]> | 2018-01-21 19:19:13 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-01-28 12:27:30 -0500 |
| commit | ae9ace7089d2167cbf8a69a29705049ae11c8eea (patch) | |
| tree | 0b7e60a539711c42a9d46ae9ae02b70c2af714ef /tools/fdtgrep.c | |
| parent | 94b13bbae90bfb94204b8fe9c531bc163e746a9f (diff) | |
libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.c
The only difference between scripts/dtc/libfdt/fdt_rw.c and
lib/libfdt/fdt_rw.c is fdt_remove_unused_strings().
It is only used by fdtgrep, so we do not need to compile it for U-Boot
image. Move it to tools/libfdt/fdw_rw.c so that lib/libfdt/fdt_rw.c
can be a wrapper of scripts/dtc/libfdt/fdt_rw.c.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/fdtgrep.c')
| -rw-r--r-- | tools/fdtgrep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c index 5897b6d5f78..7af77b7afe3 100644 --- a/tools/fdtgrep.c +++ b/tools/fdtgrep.c @@ -16,7 +16,7 @@ #include <string.h> #include <unistd.h> -#include "../include/libfdt.h" +#include "fdt_host.h" #include "libfdt_internal.h" /* Define DEBUG to get some debugging output on stderr */ |
