summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-08-26 21:17:05 -0400
committerTom Rini <trini@konsulko.com>2017-08-26 21:17:05 -0400
commitc3b572c4e29224bb5080a6d29a27d25efb037d4f (patch)
treef3f57c519b0de174bc65dcdaf4e67c8529837098
parent8b3cec7da18645eda7f7cd0b65ee9f2dac573409 (diff)
downloadu-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>
-rw-r--r--cmd/spl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/spl.c b/cmd/spl.c
index 1165b786d3..ad033652d4 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;