diff options
Diffstat (limited to 'common/image-fdt.c')
-rw-r--r-- | common/image-fdt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/image-fdt.c b/common/image-fdt.c index 3002948b6b..b63e772bd6 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -14,6 +14,8 @@ #include <env.h> #include <errno.h> #include <image.h> +#include <lmb.h> +#include <log.h> #include <malloc.h> #include <linux/libfdt.h> #include <mapmem.h> @@ -263,8 +265,8 @@ error: * 1, if fdt image is found but corrupted * of_flat_tree and of_size are set to 0 if no fdt exists */ -int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch, - bootm_headers_t *images, char **of_flat_tree, ulong *of_size) +int boot_get_fdt(int flag, int argc, char *const argv[], uint8_t arch, + bootm_headers_t *images, char **of_flat_tree, ulong *of_size) { #if CONFIG_IS_ENABLED(LEGACY_IMAGE_FORMAT) const image_header_t *fdt_hdr; |