commit | c3b572c4e29224bb5080a6d29a27d25efb037d4f | [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 | 8b3cec7da18645eda7f7cd0b65ee9f2dac573409 [diff] |
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;