[U-Boot] [PATCH] ARM: Add support for displaying second ethaddr in 'bdinfo' command

Gray Remlin
2011-03-29T21:16:35Z

Signed-off-by: Gray Remlin <gryrmln@gmail.com>
---
common/cmd_bdinfo.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index bba7374..c0553d5 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -340,6 +340,9 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])

#if defined(CONFIG_CMD_NET)
print_eth(0);
+#if defined(CONFIG_HAS_ETH1)
+ print_eth(1);
+#endif
printf ("ip_addr = %pI4\n", &bd->bi_ip_addr);
#endif
printf ("baudrate = %d bps\n", bd->bi_baudrate);
--
1.7.4