diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-16 18:30:18 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-04-26 14:24:08 -0600 |
commit | 64045a6a173e6cf74a9c30bbe21a93d105be289e (patch) | |
tree | 279284ae7f5f735a99c8273253e677a99189db84 /tools | |
parent | 3e69db1223b9db82705fcc96b76caf0d8a468d12 (diff) | |
download | u-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')
-rw-r--r-- | tools/fdtgrep.c | 1 | ||||
-rw-r--r-- | tools/image-host.c | 1 |
2 files changed, 2 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" diff --git a/tools/image-host.c b/tools/image-host.c index 5bb68965e7..9a83b7f675 100644 --- a/tools/image-host.c +++ b/tools/image-host.c @@ -10,6 +10,7 @@ #include "mkimage.h" #include <bootm.h> +#include <fdt_region.h> #include <image.h> #include <version.h> |