diff options
author | Andrew Davis <afd@ti.com> | 2023-04-06 11:38:18 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-24 13:18:48 -0400 |
commit | ee12d64f2d01d3103836dac08c0b571e8df10b18 (patch) | |
tree | 1cf3b4e130ecc8e4b920e24b963f6c2feabfa11b /arch/arm/mach-k3/common.c | |
parent | e25fe5b2759c792e2088c40ad1798659960c47c6 (diff) |
arm: mach-k3: Remove unused fdt_disable_node()
This function is not used currently; remove it.
Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'arch/arm/mach-k3/common.c')
-rw-r--r-- | arch/arm/mach-k3/common.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c index 115f5959734..9f2f5a98771 100644 --- a/arch/arm/mach-k3/common.c +++ b/arch/arm/mach-k3/common.c @@ -395,25 +395,6 @@ int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name) return 0; } -int fdt_disable_node(void *blob, char *node_path) -{ - int offs; - int ret; - - offs = fdt_path_offset(blob, node_path); - if (offs < 0) { - printf("Node %s not found.\n", node_path); - return offs; - } - ret = fdt_setprop_string(blob, offs, "status", "disabled"); - if (ret < 0) { - printf("Could not add status property to node %s: %s\n", - node_path, fdt_strerror(ret)); - return ret; - } - return 0; -} - #if defined(CONFIG_OF_SYSTEM_SETUP) int ft_system_setup(void *blob, struct bd_info *bd) { |