summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2024-06-14 17:54:40 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-06-28 12:29:13 +0000
commit9a12acf1e3fb6cfd6854b5c1fac63b5cac671be8 (patch)
tree52c005328840b2d6ef3b23a925e4f1abd59a6465 /src/lib
parent4bdb089147b7cfa3ab52de7449e7fba82672a080 (diff)
include/device_tree.h: Fix function name fdt_node_name
Rename fdt_node_name to the actual function name and also rename the references. Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: I527146df26264a0c3af1ad01c21644d751b80236 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83084 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/fit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fit.c b/src/lib/fit.c
index 7f0fe6773a..3bfca57aab 100644
--- a/src/lib/fit.c
+++ b/src/lib/fit.c
@@ -178,7 +178,7 @@ static int fdt_find_compat(const void *blob, uint32_t start_offset,
int offset = start_offset;
int size;
- size = fdt_node_name(blob, offset, NULL);
+ size = fdt_next_node_name(blob, offset, NULL);
if (!size)
return -1;
offset += size;