提交 e5e7819f 编写于 作者: P Paul Gortmaker 提交者: Tom Rix

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: NPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 bdc810a7
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
#include <asm/fsl_pci.h> #include <asm/fsl_pci.h>
#include <asm/fsl_ddr_sdram.h> #include <asm/fsl_ddr_sdram.h>
#include <spd_sdram.h> #include <spd_sdram.h>
#include <netdev.h>
#include <tsec.h>
#include <miiphy.h> #include <miiphy.h>
#include <libfdt.h> #include <libfdt.h>
#include <fdt_support.h> #include <fdt_support.h>
...@@ -491,6 +493,13 @@ pci_init_board(void) ...@@ -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) int last_stage_init(void)
{ {
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册