Skip to content
Snippets Groups Projects
Commit 062f078c authored by Michal Simek's avatar Michal Simek
Browse files

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: ff973800)

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent f0e353ce
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ...@@ -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 start ", (ulong)bd->bi_sramstart);
print_num("sram size ", (ulong)bd->bi_sramsize); print_num("sram size ", (ulong)bd->bi_sramsize);
#endif #endif
#if defined(CONFIG_CMD_NET) #if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH)
print_eths(); print_eths();
#endif #endif
printf("baudrate = %u bps\n", gd->baudrate); printf("baudrate = %u bps\n", gd->baudrate);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment