summaryrefslogtreecommitdiff
path: root/cmd/bdinfo.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-12-08 15:39:24 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-01-27 15:55:49 +0100
commit062f078c3b44703e2e593df16e0e6d1d9935ea1c (patch)
treeb88891e43c577e8b642ed2ed540c21bbd4a417ef /cmd/bdinfo.c
parentf0e353ce5538367aa4c61a60702723f32e7c5cfb (diff)
downloadu-boot-062f078c3b44703e2e593df16e0e6d1d9935ea1c.tar.gz
microblaze: Do not print eth device when DM_ETH is enabled
Doing the same fix as is done for ARM by: "Avoid calling print_eths() with driver model" (sha1: ff97380015b6b5d7d6267417a1cd6fc0e67b81bc) Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd/bdinfo.c')
-rw-r--r--cmd/bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index deed6d8255..8eda68b4f9 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -205,7 +205,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_num("sram start ", (ulong)bd->bi_sramstart);
print_num("sram size ", (ulong)bd->bi_sramsize);
#endif
-#if defined(CONFIG_CMD_NET)
+#if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH)
print_eths();
#endif
printf("baudrate = %u bps\n", gd->baudrate);