aboutsummaryrefslogtreecommitdiff
path: root/cmd/bootm.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-09-06 23:29:41 +0200
committerTom Rini <trini@konsulko.com>2023-09-14 10:42:24 -0400
commit446d6643033edffd4b832de71ef190533398bd91 (patch)
tree9c3629262790ef7af2bc63b98b02c47de76a5284 /cmd/bootm.c
parent3cba5a115ff8b5aeca62e5ae7dfad6bacb32e9fd (diff)
downloadu-boot-446d6643033edffd4b832de71ef190533398bd91.zip
u-boot-446d6643033edffd4b832de71ef190533398bd91.tar.gz
u-boot-446d6643033edffd4b832de71ef190533398bd91.tar.bz2
boot: Remove unused NEEDS_MANUAL_RELOC code bits
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'cmd/bootm.c')
-rw-r--r--cmd/bootm.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmd/bootm.c b/cmd/bootm.c
index 37c2af9..7968415 100644
--- a/cmd/bootm.c
+++ b/cmd/bootm.c
@@ -123,20 +123,6 @@ int do_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
int states;
int ret;
-#ifdef CONFIG_NEEDS_MANUAL_RELOC
- static int relocated = 0;
-
- if (!relocated) {
- int i;
-
- /* relocate names of sub-command table */
- for (i = 0; i < ARRAY_SIZE(cmd_bootm_sub); i++)
- cmd_bootm_sub[i].name += gd->reloc_off;
-
- relocated = 1;
- }
-#endif
-
/* determine if we have a sub command */
argc--; argv++;
if (argc > 0) {