summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8610hpcd
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 22:22:04 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:16 -0700
commit89973f8a82c28ad893c4c3cc56839a8e10fe5f13 (patch)
tree6b27db2a54eae36850cf4ec07e8505c401652714 /board/freescale/mpc8610hpcd
parent5a8a163ac394d9f4f7ff57f415d82bd673b0068c (diff)
downloadu-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.zip
u-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.tar.gz
u-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.tar.bz2
Introduce netdev.h header file and remove externs
This addresses all drivers whose initializers have already been moved to board_eth_init()/cpu_eth_init(). Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/freescale/mpc8610hpcd')
-rw-r--r--board/freescale/mpc8610hpcd/mpc8610hpcd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c
index af79fc2..130f7aa 100644
--- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c
+++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c
@@ -32,6 +32,7 @@
#include <libfdt.h>
#include <fdt_support.h>
#include <spd_sdram.h>
+#include <netdev.h>
#include "../common/pixis.h"
@@ -520,12 +521,7 @@ get_board_sys_clk(ulong dummy)
return val;
}
-extern int uli526x_initialize(bd_t *);
-
int board_eth_init(bd_t *bis)
{
-#if defined(CONFIG_ULI526)
- uli526x_initialize(bis);
-#endif
- return 0;
+ return pci_eth_init(bis);
}