diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-01-14 11:50:54 +0100 |
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-01-14 11:50:54 +0100 |
| commit | e6fe4bd989b93b1f37a25771fc14478dd33aa0df (patch) | |
| tree | 58943761873a212fa7d7547e5220b16d67fb5daa /board/freescale/mx6qarm2/mx6qarm2.c | |
| parent | b02bfc4dfcef3be8276521e1933573e97a5cf203 (diff) | |
| parent | a6bbee66197759f790de83181924bf1d2cf482b2 (diff) | |
| download | olio-uboot-2014.01-e6fe4bd989b93b1f37a25771fc14478dd33aa0df.tar.xz olio-uboot-2014.01-e6fe4bd989b93b1f37a25771fc14478dd33aa0df.zip | |
Merge 'u-boot-imx/master' into 'u-boot-arm/master'
Diffstat (limited to 'board/freescale/mx6qarm2/mx6qarm2.c')
| -rw-r--r-- | board/freescale/mx6qarm2/mx6qarm2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/board/freescale/mx6qarm2/mx6qarm2.c b/board/freescale/mx6qarm2/mx6qarm2.c index e06340784..6c51f3a18 100644 --- a/board/freescale/mx6qarm2/mx6qarm2.c +++ b/board/freescale/mx6qarm2/mx6qarm2.c @@ -186,13 +186,10 @@ int fecmxc_mii_postcall(int phy) int board_eth_init(bd_t *bis) { struct eth_device *dev; - int ret; + int ret = cpu_eth_init(bis); - ret = cpu_eth_init(bis); - if (ret) { - printf("FEC MXC: %s:failed\n", __func__); + if (ret) return ret; - } dev = eth_get_dev_by_name("FEC"); if (!dev) { |