From 23b6527003ca6a12d7872e9e552160041d8b6285 Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Wed, 24 Jun 2009 11:31:38 +0800 Subject: ENGR00113611: Add FEC support for BBG2. Add FEC support for BBG2. Signed-off-by: Terry Lv --- net/eth.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net/eth.c') diff --git a/net/eth.c b/net/eth.c index bb8b6e4..67f6646 100644 --- a/net/eth.c +++ b/net/eth.c @@ -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); -- cgit v1.1