commit | 76f77ff63e81db44d7f59890cd403fd8854754d4 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Sat Aug 26 21:17:05 2017 -0400 |
committer | Tom Rini <trini@konsulko.com> | Sat Aug 26 21:17:05 2017 -0400 |
tree | f3f57c519b0de174bc65dcdaf4e67c8529837098 | |
parent | fd0dd1cae8c9516122b7db767a066f8dc9031b52 [diff] [blame] |
cmd/spl.c: Include <libfdt.h> for fdt_totalsize In order to be able to reliably use fdt_totalsize, we must have <libfdt.h> included. Fixes: 767cb74a0028 ("cmd: spl: provide address and size of prepared FDT ...") Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/cmd/spl.c b/cmd/spl.c index 1165b78..ad03365 100644 --- a/cmd/spl.c +++ b/cmd/spl.c
@@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <cmd_spl.h> +#include <libfdt.h> DECLARE_GLOBAL_DATA_PTR;