diff options
author | Marek Vasut <marex@denx.de> | 2012-03-02 22:39:31 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-06 21:13:22 +0100 |
commit | 658c3b9eafd0167fd150f129c0720eb305efc225 (patch) | |
tree | 3a9e2fc5deb5db12ba386a797ff791fcf703bd0a /board/Marvell/db64360/db64360.c | |
parent | 4c12eeb8b55483e48ef98b8a480e2bbacc9f210d (diff) | |
download | u-boot-imx-658c3b9eafd0167fd150f129c0720eb305efc225.zip u-boot-imx-658c3b9eafd0167fd150f129c0720eb305efc225.tar.gz u-boot-imx-658c3b9eafd0167fd150f129c0720eb305efc225.tar.bz2 |
PPC: Drop mv6436x_eth_initialize() from net/eth.c
This function was defined as an extern in net/eth.c, drop that and use
standard means of calling it.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Diffstat (limited to 'board/Marvell/db64360/db64360.c')
-rw-r--r-- | board/Marvell/db64360/db64360.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/board/Marvell/db64360/db64360.c b/board/Marvell/db64360/db64360.c index 5183466..6cae686 100644 --- a/board/Marvell/db64360/db64360.c +++ b/board/Marvell/db64360/db64360.c @@ -934,5 +934,9 @@ void board_prebootm_init () int board_eth_init(bd_t *bis) { - return pci_eth_init(bis); + int ret; + ret = pci_eth_init(bis); + if (!ret) + ret = mv6436x_eth_initialize(bis); + return ret; } |