diff options
Diffstat (limited to 'net/eth.c')
-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); |