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

Gray Remlin gryrmln at gmail.com
Tue Mar 29 23:16:35 CEST 2011


Signed-off-by: Gray Remlin <gryrmln at 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



More information about the U-Boot mailing list