Skip to contentSkip to conversation

cmd/spl.c: Include <libfdt.h> for fdt_totalsize

PATCH New Tom Rini 2 participants 2 messages Aug 27, 2017 – Aug 28, 2017

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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 ...")
---
 cmd/spl.c | 1 +
 1 file changed, 1 insertion(+)
cmd/spl.c +1 -0
index 1165b786d342..ad033652d4c2 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <command.h>
 #include <cmd_spl.h>
+#include <libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
Signature · 1 line
1.9.1