mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
microblaze: Wire up axi_ethernet driver initialization
Initialize axi_ethernet driver. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
4962e38e9a
commit
e634138e73
2 changed files with 10 additions and 0 deletions
|
@ -72,6 +72,12 @@ int fsl_init2 (void) {
|
|||
int board_eth_init(bd_t *bis)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
#ifdef CONFIG_XILINX_AXIEMAC
|
||||
ret |= xilinx_axiemac_initialize(bis, XILINX_AXIEMAC_BASEADDR,
|
||||
XILINX_AXIDMA_BASEADDR);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XILINX_EMACLITE
|
||||
u32 txpp = 0;
|
||||
u32 rxpp = 0;
|
||||
|
|
|
@ -68,6 +68,10 @@
|
|||
# define CONFIG_XILINX_LL_TEMAC 1
|
||||
# define CONFIG_SYS_ENET
|
||||
#endif
|
||||
#if defined(XILINX_AXIEMAC_BASEADDR)
|
||||
# define CONFIG_XILINX_AXIEMAC 1
|
||||
# define CONFIG_SYS_ENET
|
||||
#endif
|
||||
|
||||
#undef ET_DEBUG
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue