summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2025-03-25 16:43:32 -0700
committerAnup Patel <[email protected]>2025-04-23 12:32:51 +0530
commit0dd8a26f1f3a6091a2ea6e4175fd63a79bba86d9 (patch)
tree6f8085d9aa341eca5fddf17a5ac975a399647ea3 /lib
parent1c579675beb551f03ee0fae0c00af5e7a890da71 (diff)
lib: utils/fdt: Remove fdt_match_node()
This function has been obsoleted by the fdt_driver library and is no longer used. Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/utils/fdt/fdt_helper.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/utils/fdt/fdt_helper.c b/lib/utils/fdt/fdt_helper.c
index 8939d906..79e59dd5 100644
--- a/lib/utils/fdt/fdt_helper.c
+++ b/lib/utils/fdt/fdt_helper.c
@@ -33,25 +33,6 @@
#define DEFAULT_SHAKTI_UART_FREQ 50000000
#define DEFAULT_SHAKTI_UART_BAUD 115200
-const struct fdt_match *fdt_match_node(const void *fdt, int nodeoff,
- const struct fdt_match *match_table)
-{
- int ret;
-
- if (!fdt || nodeoff < 0 || !match_table)
- return NULL;
-
- while (match_table->compatible) {
- ret = fdt_node_check_compatible(fdt, nodeoff,
- match_table->compatible);
- if (!ret)
- return match_table;
- match_table++;
- }
-
- return NULL;
-}
-
int fdt_parse_phandle_with_args(const void *fdt, int nodeoff,
const char *prop, const char *cells_prop,
int index, struct fdt_phandle_args *out_args)