From: Andrew Davis <afd@ti.com>
To: Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
Christian Gmeiner <christian.gmeiner@gmail.com>,
<u-boot@lists.denx.de>
Cc: Andrew Davis <afd@ti.com>
Subject: [PATCH v2 09/12] arm: mach-k3: Remove unused fdt_disable_node()
Date: Wed, 5 Apr 2023 13:13:34 -0500 [thread overview]
Message-ID: <20230405181337.19211-10-afd@ti.com> (raw)
In-Reply-To: <20230405181337.19211-1-afd@ti.com>
This function is not used currently; remove it.
Signed-off-by: Andrew Davis <afd@ti.com>
---
arch/arm/mach-k3/common.c | 19 -------------------
arch/arm/mach-k3/include/mach/sys_proto.h | 1 -
2 files changed, 20 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)
{
diff --git a/arch/arm/mach-k3/include/mach/sys_proto.h b/arch/arm/mach-k3/include/mach/sys_proto.h
index 939de0f79b4..bbe57718e1a 100644
--- a/arch/arm/mach-k3/include/mach/sys_proto.h
+++ b/arch/arm/mach-k3/include/mach/sys_proto.h
@@ -10,7 +10,6 @@
void sdelay(unsigned long loops);
u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
u32 bound);
-int fdt_disable_node(void *blob, char *node_path);
void k3_spl_init(void);
void k3_mem_init(void);
--
2.39.2
next prev parent reply other threads:[~2023-04-05 18:15 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 18:13 [PATCH v2 00/12] Remove K3 misc sys_proto.h header Andrew Davis
2023-04-05 18:13 ` [PATCH v2 01/12] arm: mach-k3: Move MSMC fixup to SoC level Andrew Davis
2023-04-05 18:13 ` [PATCH v2 02/12] arm: mach-k3: Move J721e SoC detection out of common section Andrew Davis
2023-04-06 9:11 ` Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 03/12] soc: soc_ti_k3: Use hardware.h to remove definition duplication Andrew Davis
2023-04-06 9:11 ` Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 04/12] configs: j721x_evm: Remove unneeded check for SYS_K3_SPL_ATF Andrew Davis
2023-04-06 9:25 ` Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 05/12] configs: j721s2_evm.h: Remove refrences to J7200 EVM Andrew Davis
2023-04-06 9:13 ` Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 06/12] arm: mach-k3: Make release_resources_for_core_shutdown() common Andrew Davis
2023-04-06 9:24 ` Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 07/12] arm: mach-k3: Move sysfw-loader.h out of mach includes Andrew Davis
2023-04-06 9:24 ` Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 08/12] arm: mach-k3: Add weak do_board_detect() to common file Andrew Davis
2023-04-05 20:09 ` Christian Gmeiner
2023-04-05 20:29 ` Andrew Davis
2023-04-06 9:26 ` Christian Gmeiner
2023-04-05 18:13 ` Andrew Davis [this message]
2023-04-06 9:14 ` [PATCH v2 09/12] arm: mach-k3: Remove unused fdt_disable_node() Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 10/12] arm: mach-k3: Move sdelay() and wait_on_value() declaration Andrew Davis
2023-04-06 9:20 ` Christian Gmeiner
2023-04-06 13:59 ` Andrew Davis
2023-04-05 18:13 ` [PATCH v2 11/12] arm: mach-k3: Move J721s2 SPL init functions to mach-k3 Andrew Davis
2023-04-06 9:22 ` Christian Gmeiner
2023-04-05 18:13 ` [PATCH v2 12/12] arm: mach-k3: Remove empty sys_proto.h include Andrew Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230405181337.19211-10-afd@ti.com \
--to=afd@ti.com \
--cc=christian.gmeiner@gmail.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox