diff options
author | Tom Rini <trini@konsulko.com> | 2017-08-26 21:17:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-26 21:17:05 -0400 |
commit | c3b572c4e29224bb5080a6d29a27d25efb037d4f (patch) | |
tree | f3f57c519b0de174bc65dcdaf4e67c8529837098 /cmd/spl.c | |
parent | 8b3cec7da18645eda7f7cd0b65ee9f2dac573409 (diff) | |
download | u-boot-c3b572c4e29224bb5080a6d29a27d25efb037d4f.tar.gz |
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>
Diffstat (limited to 'cmd/spl.c')
-rw-r--r-- | cmd/spl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <cmd_spl.h> +#include <libfdt.h> DECLARE_GLOBAL_DATA_PTR; |