summaryrefslogtreecommitdiff
path: root/board/sbc8548
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2009-09-18 19:08:44 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-09-24 12:04:59 -0500
commit94ca091456d5c3040ddd6351c80cf3e74393f9be (patch)
tree82fcc114a225198dd850eea047a93f5eee5aa12e /board/sbc8548
parent82b7725b6d46d9ad2b962b4cdfa896bd5ee32fb5 (diff)
downloadu-boot-imx-94ca091456d5c3040ddd6351c80cf3e74393f9be.zip
u-boot-imx-94ca091456d5c3040ddd6351c80cf3e74393f9be.tar.gz
u-boot-imx-94ca091456d5c3040ddd6351c80cf3e74393f9be.tar.bz2
sbc8548: enable use of PCI network cards
Create a board_eth_init to allow a place to hook in the PCI ethernet init after all the eTSEC are up and configured. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sbc8548')
-rw-r--r--board/sbc8548/sbc8548.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c
index 4192eea..fc78a7c 100644
--- a/board/sbc8548/sbc8548.c
+++ b/board/sbc8548/sbc8548.c
@@ -33,6 +33,8 @@
#include <asm/fsl_pci.h>
#include <asm/fsl_ddr_sdram.h>
#include <spd_sdram.h>
+#include <netdev.h>
+#include <tsec.h>
#include <miiphy.h>
#include <libfdt.h>
#include <fdt_support.h>
@@ -491,6 +493,13 @@ pci_init_board(void)
}
+int board_eth_init(bd_t *bis)
+{
+ tsec_standard_init(bis);
+ pci_eth_init(bis);
+ return 0; /* otherwise cpu_eth_init gets run */
+}
+
int last_stage_init(void)
{
return 0;