diff options
author | Terry Lv <r65388@freescale.com> | 2009-06-24 11:31:38 +0800 |
---|---|---|
committer | Fred Fan <r01011@freescale.com> | 2009-09-10 17:02:19 +0800 |
commit | 23b6527003ca6a12d7872e9e552160041d8b6285 (patch) | |
tree | 9abe3d5483436632fceb0cfcc51c64c9b443dc67 /net | |
parent | c6e205a9fde82e69608850c24686cc972cf258f1 (diff) | |
download | u-boot-imx-23b6527003ca6a12d7872e9e552160041d8b6285.zip u-boot-imx-23b6527003ca6a12d7872e9e552160041d8b6285.tar.gz u-boot-imx-23b6527003ca6a12d7872e9e552160041d8b6285.tar.bz2 |
ENGR00113611: Add FEC support for BBG2.
Add FEC support for BBG2.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -201,8 +201,13 @@ int eth_initialize(bd_t *bis) #endif /* Try board-specific initialization first. If it fails or isn't * present, try the cpu-specific initialization */ +#ifdef CONFIG_ETH_PRIME + board_eth_init(bis); + cpu_eth_init(bis); +#else if (board_eth_init(bis) < 0) cpu_eth_init(bis); +#endif #if defined(CONFIG_DB64360) || defined(CONFIG_CPCI750) mv6436x_eth_initialize(bis); |