Skip to contentSkip to conversation

Include missing headers for fdt_support.h

PATCH New Sean Anderson 2 participants 2 messages Dec 18, 2019 – Jan 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/fdt_support.h | 1 +
 1 file changed, 1 insertion(+)
include/fdt_support.h +1 -0
index 2286ea7793..3f4bc643d4 100644
@@ -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,
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 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.

---
 include/fdt_support.h | 1 +
 1 file changed, 1 insertion(+)

Applied to u-boot-dm, thanks!