diff options
author | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2023-07-26 16:36:50 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-28 10:11:01 -0400 |
commit | 2a61447414aaaecac910a0c46cc44aee9ab5d2d0 (patch) | |
tree | ccedcda3a6cc502bc322e951deed8b9f36e1f108 | |
parent | 784f7382de2f06d510d5d5d3bef717001e82e912 (diff) | |
download | u-boot-2a61447414aaaecac910a0c46cc44aee9ab5d2d0.zip u-boot-2a61447414aaaecac910a0c46cc44aee9ab5d2d0.tar.gz u-boot-2a61447414aaaecac910a0c46cc44aee9ab5d2d0.tar.bz2 |
arm: k3: fix fdt_del_node_path implicit declaration and a missing include
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>
-rw-r--r-- | arch/arm/mach-k3/common_fdt.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-k3/common_fdt.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common_fdt.c b/arch/arm/mach-k3/common_fdt.c index 9478f60..645c4de 100644 --- a/arch/arm/mach-k3/common_fdt.c +++ b/arch/arm/mach-k3/common_fdt.c @@ -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) { diff --git a/arch/arm/mach-k3/common_fdt.h b/arch/arm/mach-k3/common_fdt.h index 46c3dc5..4d23ae6 100644 --- a/arch/arm/mach-k3/common_fdt.h +++ b/arch/arm/mach-k3/common_fdt.h @@ -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 */ |