Skip to contentSkip to conversation

arm: k3: fix fdt_del_node_path implicit declaration and a missing include

PATCH In review Emanuele Ghidoli 2 participants 2 messages Jul 26, 2023 – Jul 28, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: k3: fix fdt_del_node_path implicit declaration and a missing include

From: Emanuele Ghidoli <[email protected]>

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")
---
 arch/arm/mach-k3/common_fdt.c | 1 +
 arch/arm/mach-k3/common_fdt.h | 1 +
 2 files changed, 2 insertions(+)
arch/arm/mach-k3/common_fdt.c +1 -0
index 9478f605441f..645c4de42f70 100644
@@ -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)
 {
arch/arm/mach-k3/common_fdt.h +1 -0
index 46c3dc5e1197..4d23ae638ca6 100644
@@ -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 */
Signature · 1 line
2.34.1
#1 lore raw
Quoted 7 lines · Emanuele Ghidoli

From: Emanuele Ghidoli <[email protected]>

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")

Applied to u-boot/master, thanks!

Signature · 1 line
Tom