summaryrefslogtreecommitdiffstats
path: root/board/freescale/mpc7448hpc2
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 09:59:33 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:16 -0700
commitccdd12f83ef93719fbe85f642aa4dc648b9498f0 (patch)
tree172383dede7a00bdac46164664d13da50c58586e /board/freescale/mpc7448hpc2
parent0b252f50ae218ae15bfb63af44227972686ebc56 (diff)
downloadblackbird-obmc-uboot-ccdd12f83ef93719fbe85f642aa4dc648b9498f0.tar.gz
blackbird-obmc-uboot-ccdd12f83ef93719fbe85f642aa4dc648b9498f0.zip
Moved initialization of TSI108 Ethernet controller to board_eth_init()
Affected boards: mpc7448hpc2 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/freescale/mpc7448hpc2')
-rw-r--r--board/freescale/mpc7448hpc2/mpc7448hpc2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mpc7448hpc2/mpc7448hpc2.c b/board/freescale/mpc7448hpc2/mpc7448hpc2.c
index 6f74c314eb..cfdbed5393 100644
--- a/board/freescale/mpc7448hpc2/mpc7448hpc2.c
+++ b/board/freescale/mpc7448hpc2/mpc7448hpc2.c
@@ -32,6 +32,7 @@
#include <common.h>
#include <74xx_7xx.h>
#include <fdt_support.h>
+#include <netdev.h>
#undef DEBUG
@@ -92,3 +93,12 @@ ft_board_setup(void *blob, bd_t *bd)
fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
}
#endif
+
+int board_eth_init(bd_t *bis)
+{
+ int rc = 0;
+#if defined(CONFIG_TSI108_ETH)
+ rc = tsi108_eth_initialize(bis);
+#endif
+ return rc;
+}
OpenPOWER on IntegriCloud