mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
microblaze: Remove support for LL_TEMAC
LL_TEMAC is available at big endian MB and it is not properly tested that's why the patch removes it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
4de9bbdcc8
commit
4632b1ea20
3 changed files with 1 additions and 46 deletions
|
@ -122,40 +122,5 @@ int board_eth_init(bd_t *bis)
|
|||
txpp, rxpp);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XILINX_LL_TEMAC
|
||||
# ifdef XILINX_LLTEMAC_BASEADDR
|
||||
# ifdef XILINX_LLTEMAC_FIFO_BASEADDR
|
||||
ret |= xilinx_ll_temac_eth_init(bis, XILINX_LLTEMAC_BASEADDR,
|
||||
XILINX_LL_TEMAC_M_FIFO, XILINX_LLTEMAC_FIFO_BASEADDR);
|
||||
# elif XILINX_LLTEMAC_SDMA_CTRL_BASEADDR
|
||||
# if XILINX_LLTEMAC_SDMA_USE_DCR == 1
|
||||
ret |= xilinx_ll_temac_eth_init(bis, XILINX_LLTEMAC_BASEADDR,
|
||||
XILINX_LL_TEMAC_M_SDMA_DCR,
|
||||
XILINX_LLTEMAC_SDMA_CTRL_BASEADDR);
|
||||
# else
|
||||
ret |= xilinx_ll_temac_eth_init(bis, XILINX_LLTEMAC_BASEADDR,
|
||||
XILINX_LL_TEMAC_M_SDMA_PLB,
|
||||
XILINX_LLTEMAC_SDMA_CTRL_BASEADDR);
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
# ifdef XILINX_LLTEMAC_BASEADDR1
|
||||
# ifdef XILINX_LLTEMAC_FIFO_BASEADDR1
|
||||
ret |= xilinx_ll_temac_eth_init(bis, XILINX_LLTEMAC_BASEADDR1,
|
||||
XILINX_LL_TEMAC_M_FIFO, XILINX_LLTEMAC_FIFO_BASEADDR1);
|
||||
# elif XILINX_LLTEMAC_SDMA_CTRL_BASEADDR1
|
||||
# if XILINX_LLTEMAC_SDMA_USE_DCR == 1
|
||||
ret |= xilinx_ll_temac_eth_init(bis, XILINX_LLTEMAC_BASEADDR1,
|
||||
XILINX_LL_TEMAC_M_SDMA_DCR,
|
||||
XILINX_LLTEMAC_SDMA_CTRL_BASEADDR1);
|
||||
# else
|
||||
ret |= xilinx_ll_temac_eth_init(bis, XILINX_LLTEMAC_BASEADDR1,
|
||||
XILINX_LL_TEMAC_M_SDMA_PLB,
|
||||
XILINX_LLTEMAC_SDMA_CTRL_BASEADDR1);
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -56,12 +56,6 @@
|
|||
/* Ethernet controller is Ethernet_MAC */
|
||||
#define XILINX_EMACLITE_BASEADDR 0x40C00000
|
||||
|
||||
/* LL_TEMAC Ethernet controller */
|
||||
#define XILINX_LLTEMAC_BASEADDR 0x44000000
|
||||
#define XILINX_LLTEMAC_SDMA_CTRL_BASEADDR 0x42000180
|
||||
#define XILINX_LLTEMAC_BASEADDR1 0x44200000
|
||||
#define XILINX_LLTEMAC_FIFO_BASEADDR1 0x42100000
|
||||
|
||||
/* Watchdog IP is wxi_timebase_wdt_0 */
|
||||
#define XILINX_WATCHDOG_BASEADDR 0x50000000
|
||||
#define XILINX_WATCHDOG_IRQ 1
|
||||
|
|
|
@ -68,10 +68,6 @@
|
|||
# define CONFIG_XILINX_EMACLITE 1
|
||||
# define CONFIG_SYS_ENET
|
||||
#endif
|
||||
#if defined(XILINX_LLTEMAC_BASEADDR)
|
||||
# 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
|
||||
|
@ -355,7 +351,7 @@
|
|||
#define CONFIG_FIT 1
|
||||
#define CONFIG_OF_LIBFDT 1
|
||||
|
||||
#if defined(CONFIG_XILINX_LL_TEMAC) || defined(CONFIG_XILINX_AXIEMAC)
|
||||
#if defined(CONFIG_XILINX_AXIEMAC)
|
||||
# define CONFIG_MII 1
|
||||
# define CONFIG_CMD_MII 1
|
||||
# define CONFIG_PHY_GIGE 1
|
||||
|
|
Loading…
Reference in a new issue