aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 14:16:52 -0600
committerTom Rini <trini@konsulko.com>2020-06-25 13:24:12 -0400
commit3c89c4c8562754fe1540938ec0ddbb41e7d130a8 (patch)
tree260035a42e0b50abc7910c75f74d708535830f6c /cmd
parent32d0b2dfe57ddb4e88f3f30c5fcabc10aabde6ed (diff)
downloadu-boot-3c89c4c8562754fe1540938ec0ddbb41e7d130a8.zip
u-boot-3c89c4c8562754fe1540938ec0ddbb41e7d130a8.tar.gz
u-boot-3c89c4c8562754fe1540938ec0ddbb41e7d130a8.tar.bz2
bdinfo: net: ppc: Drop prints for CONFIG_HAS_ETHn
These config options have not been migrated to Kconfig. This should be handled using driver model, iterating over the available Ethernet devices. For now, remove the code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bdinfo.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index a7bbd07..1a08e14 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -88,21 +88,6 @@ static void print_eth_ip_addr(void)
{
#if defined(CONFIG_CMD_NET)
print_eth(0);
-#if defined(CONFIG_HAS_ETH1)
- print_eth(1);
-#endif
-#if defined(CONFIG_HAS_ETH2)
- print_eth(2);
-#endif
-#if defined(CONFIG_HAS_ETH3)
- print_eth(3);
-#endif
-#if defined(CONFIG_HAS_ETH4)
- print_eth(4);
-#endif
-#if defined(CONFIG_HAS_ETH5)
- print_eth(5);
-#endif
printf("IP addr = %s\n", env_get("ipaddr"));
#endif
}