summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/eth.c5
1 files changed, 5 insertions, 0 deletions
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);