From: Paul Gortmaker Date: Fri, 18 Sep 2009 23:08:44 +0000 (-0400) Subject: sbc8548: enable use of PCI network cards X-Git-Tag: v2010.09-rc1~28^2~7^2~42^2~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e5e7819f9ff2bb6345c3132bcca701a412f49572;p=u-boot 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 Signed-off-by: Kumar Gala --- diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c index 4192eea8c3..fc78a7c6a1 100644 --- a/board/sbc8548/sbc8548.c +++ b/board/sbc8548/sbc8548.c @@ -33,6 +33,8 @@ #include #include #include +#include +#include #include #include #include @@ -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;