mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
Avoid calling print_eths() with driver model
This function is not supported with driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
3bc427006a
commit
ff97380015
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||
print_num("-> size", bd->bi_dram[i].size);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
#if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH)
|
||||
print_eths();
|
||||
#endif
|
||||
printf("baudrate = %u bps\n", gd->baudrate);
|
||||
|
|
Loading…
Reference in a new issue