summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2019-12-17 21:21:54 -0500
committerSimon Glass <sjg@chromium.org>2020-01-07 16:02:39 -0700
commit63736e9c9622147672a0782c630f529c92bcb7b5 (patch)
treeefbbb9d9a8c6a51834728566a949abe503d68163
parentf6a8c0f4680f2364289c9fc45dabab5f63fd06a0 (diff)
downloadu-boot-63736e9c9622147672a0782c630f529c92bcb7b5.tar.gz
Include missing headers for fdt_support.h
fdt_support.h is missing declarations for bd_t. Including asm/u-boot.h pulls in the definition. Signed-off-by: Sean Anderson <seanga2@gmail.com>
-rw-r--r--include/fdt_support.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 2286ea7793..3f4bc643d4 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -9,6 +9,7 @@
#ifdef CONFIG_OF_LIBFDT
+#include <asm/u-boot.h>
#include <linux/libfdt.h>
u32 fdt_getprop_u32_default_node(const void *fdt, int off, int cell,