public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: Add support for displaying second ethaddr in 'bdinfo' command
@ 2011-03-29 21:16 Gray Remlin
  2011-03-29 21:49 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Gray Remlin @ 2011-03-29 21:16 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-30 13:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 21:16 [U-Boot] [PATCH] ARM: Add support for displaying second ethaddr in 'bdinfo' command Gray Remlin
2011-03-29 21:49 ` Wolfgang Denk
2011-03-29 22:36   ` Gray Remlin
2011-03-30 11:34     ` Albert ARIBAUD
2011-03-30 13:35       ` Gray Remlin
2011-03-30 12:47     ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox