mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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 <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
94b13bbae9
commit
ae9ace7089
@@ -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 */
|
||||
|
Reference in New Issue
Block a user