summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-03-05 00:21:37 +0100
committerWolfgang Denk <wd@denx.de>2008-03-05 00:21:37 +0100
commit334fb53514f7fa5e84ac09cc4636b468aa7ba41c (patch)
tree2f039a80af14c6cf487d12178eff2fefe94a60a6 /net
parenta4475386cef14af3fd88f0518b688e755669486d (diff)
parent6bc113886d7d316df1a4e459bec8baf027518551 (diff)
downloadu-boot-imx-334fb53514f7fa5e84ac09cc4636b468aa7ba41c.zip
u-boot-imx-334fb53514f7fa5e84ac09cc4636b468aa7ba41c.tar.gz
u-boot-imx-334fb53514f7fa5e84ac09cc4636b468aa7ba41c.tar.bz2
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'net')
-rw-r--r--net/eth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index 62297ab..16a6dcb 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -441,8 +441,10 @@ int eth_init(bd_t *bis)
{
struct eth_device* old_current;
- if (!eth_current)
+ if (!eth_current) {
+ puts ("No ethernet found.\n");
return -1;
+ }
old_current = eth_current;
do {