aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-08 18:39:30 +0100
committerStefan Roese <sr@denx.de>2008-01-08 18:39:30 +0100
commit802b769bac17b0560d3535a42c502469ee190cd1 (patch)
tree71d6c03781483bb9226a6944379d2887940d0547 /cpu
parent74ac5facb988fc488a707db228b177ead63a6541 (diff)
downloadu-boot-802b769bac17b0560d3535a42c502469ee190cd1.zip
u-boot-802b769bac17b0560d3535a42c502469ee190cd1.tar.gz
u-boot-802b769bac17b0560d3535a42c502469ee190cd1.tar.bz2
ppc4xx: Return 0 on success in 4xx ethernet driver
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/4xx_enet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c
index bfe0864..ff707dd 100644
--- a/cpu/ppc4xx/4xx_enet.c
+++ b/cpu/ppc4xx/4xx_enet.c
@@ -1036,7 +1036,7 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis)
hw_p->bis = bis;
hw_p->first_init = 1;
- return (1);
+ return 0;
}
@@ -1755,7 +1755,8 @@ int ppc_4xx_eth_initialize (bd_t * bis)
#endif
#endif
} /* end for each supported device */
- return (1);
+
+ return 0;
}
#if !defined(CONFIG_NET_MULTI)