summaryrefslogtreecommitdiff
path: root/cmd/net.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-27 10:25:36 -0500
committerTom Rini <trini@konsulko.com>2022-12-07 16:04:17 -0500
commite524f3a449f58e2ef967fb9b64b01db3d099a27a (patch)
treec43505efa6b8a29f4382024c6ef606e9a9d34d94 /cmd/net.c
parent9e0bcf8043084515fd7d0102b5f3192ae2be1124 (diff)
downloadu-boot-e524f3a449f58e2ef967fb9b64b01db3d099a27a.tar.gz
u-boot-e524f3a449f58e2ef967fb9b64b01db3d099a27a.tar.bz2
u-boot-e524f3a449f58e2ef967fb9b64b01db3d099a27a.zip
net: Remove eth_legacy.c
As there are no more non-DM_ETH cases for networking, remove this legacy file and update the Makefile to match current usage. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/net.c')
-rw-r--r--cmd/net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/net.c b/cmd/net.c
index 0e9f200ca9..dd50930a36 100644
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -597,7 +597,6 @@ U_BOOT_CMD(
#endif /* CONFIG_CMD_LINK_LOCAL */
-#ifdef CONFIG_DM_ETH
static int do_net_list(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
const struct udevice *current = eth_get_dev();
@@ -640,7 +639,6 @@ U_BOOT_CMD(
"NET sub-system",
"list - list available devices\n"
);
-#endif // CONFIG_DM_ETH
#if defined(CONFIG_CMD_NCSI)
static int do_ncsi(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[])