Commit 062f078c3b44703e2e593df16e0e6d1d9935ea1c
1 parent
f0e353ce55
Exists in
v2017.01-smarct4x
and in
30 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
cmd/bdinfo.c
... | ... | @@ -205,7 +205,7 @@ |
205 | 205 | print_num("sram start ", (ulong)bd->bi_sramstart); |
206 | 206 | print_num("sram size ", (ulong)bd->bi_sramsize); |
207 | 207 | #endif |
208 | -#if defined(CONFIG_CMD_NET) | |
208 | +#if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH) | |
209 | 209 | print_eths(); |
210 | 210 | #endif |
211 | 211 | printf("baudrate = %u bps\n", gd->baudrate); |