cmd/spl.c: Include <libfdt.h> for fdt_totalsize
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 ...")
Signed-off-by Tom Rini <[email protected]>
--- cmd/spl.c | 1 + 1 file changed, 1 insertion(+)
cmd/spl.c +1 -0
@@ -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
PATCH 1/1 cmd/spl.c: Include <libfdt.h> for fdt_totalsize
Quoted 5 lines · Tom Rini
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 <[email protected]>
Reviewed-by Joe Hershberger <[email protected]>
Tested-by Joe Hershberger <[email protected]>