]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: k3: fix fdt_del_node_path implicit declaration and a missing include
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Wed, 26 Jul 2023 14:36:50 +0000 (16:36 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jul 2023 14:11:01 +0000 (10:11 -0400)
Fix missing declaration of fdt_del_node_path() while compiling am625_fdt.c and
missing common_fdt.h include in common_fdt.c

Fixes: 70aa5a94d451 ("arm: mach-k3: am62: Fixup CPU core, gpu and pru nodes in fdt")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
arch/arm/mach-k3/common_fdt.c
arch/arm/mach-k3/common_fdt.h

index 9478f605441fe5251d188b05cc97cf1032cd473a..645c4de42f706dcc394ef6cf5f3eec1475e22b00 100644 (file)
@@ -7,6 +7,7 @@
 #include <dm.h>
 #include <fdt_support.h>
 #include <linux/soc/ti/ti_sci_protocol.h>
+#include "common_fdt.h"
 
 static int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name)
 {
index 46c3dc5e11973acee6d42143fdd7629cc69ef911..4d23ae638ca69670297ccc63303da3d04bfbb73e 100644 (file)
@@ -7,5 +7,6 @@
 #define _COMMON_FDT_H
 
 int fdt_fixup_msmc_ram_k3(void *blob);
+int fdt_del_node_path(void *blob, const char *path);
 
 #endif /* _COMMON_FDT_H */