summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-05 16:07:38 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:36 -0600
commitff97380015b6b5d7d6267417a1cd6fc0e67b81bc (patch)
tree609a0e02cfd5bc0db31723bd418a4581dbc9ec00
parent3bc427006ac8d0661169ed771b3cac7e86f960e8 (diff)
downloadu-boot-imx-ff97380015b6b5d7d6267417a1cd6fc0e67b81bc.zip
u-boot-imx-ff97380015b6b5d7d6267417a1cd6fc0e67b81bc.tar.gz
u-boot-imx-ff97380015b6b5d7d6267417a1cd6fc0e67b81bc.tar.bz2
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>
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index b4cce25..f16d5c7 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -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);