summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2009-12-29 15:26:47 +0800
committerTerry Lv <r65388@freescale.com>2009-12-31 14:38:10 +0800
commit2d6150b0d95259c12877d82ac7f18d4d35b6b371 (patch)
treeb24cee6ea9537baf7f2cce5a6bdbf16477abc0df /net/eth.c
parentfaab46cc860ba9e89290dd4931bca866cb269a75 (diff)
ENGR00119715: Add multi network support for mx35
mx35 need to enable both smc911x and FEC. So add CONFIG_ETHPRIME for it. Also, change CONFIG_ETH_PRIME to CONFIG_ETHPRIME. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index b72a4e8103..7e4b187f5f 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -201,7 +201,7 @@ 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
+#ifdef CONFIG_ETHPRIME
board_eth_init(bis);
cpu_eth_init(bis);
#else