Skip to contentSkip to conversation

net: Remove Xilinx ll_temac driver

PATCH New Michal Simek 2 participants 2 messages Feb 20, 2018 – Feb 23, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: Remove Xilinx ll_temac driver

ll_temac driver was used by Xilinx Microblaze big endian and Xilinx ppc405/ppc440 SoCs.

ppc support was removed by: "powerpc: remove 4xx support" (sha1: 98f705c9cefdfdba62c069821bbba10273a0a8ed)
and Microblaze BE is not tested for a long time that's why this driver can be removed because none is going to updated it to DM anyway.

---

Changes in v2:
- fix netdev.h

Travis build in progress
https://travis-ci.org/michalsimek/u-boot/builds/342284080

---
 drivers/net/Makefile               |   2 -
 drivers/net/xilinx_ll_temac.c      | 394 -------------------------------------
 drivers/net/xilinx_ll_temac.h      | 307 -----------------------------
 drivers/net/xilinx_ll_temac_fifo.c | 139 -------------
 drivers/net/xilinx_ll_temac_fifo.h | 118 -----------
 drivers/net/xilinx_ll_temac_mdio.c | 177 -----------------
 drivers/net/xilinx_ll_temac_mdio.h |  50 -----
 drivers/net/xilinx_ll_temac_sdma.c | 307 -----------------------------
 drivers/net/xilinx_ll_temac_sdma.h | 266 -------------------------
 include/netdev.h                   |  11 --
 scripts/config_whitelist.txt       |   1 -
 11 files changed, 1772 deletions(-)
 delete mode 100644 drivers/net/xilinx_ll_temac.c
 delete mode 100644 drivers/net/xilinx_ll_temac.h
 delete mode 100644 drivers/net/xilinx_ll_temac_fifo.c
 delete mode 100644 drivers/net/xilinx_ll_temac_fifo.h
 delete mode 100644 drivers/net/xilinx_ll_temac_mdio.c
 delete mode 100644 drivers/net/xilinx_ll_temac_mdio.h
 delete mode 100644 drivers/net/xilinx_ll_temac_sdma.c
 delete mode 100644 drivers/net/xilinx_ll_temac_sdma.h
drivers/net/Makefile +0 -2
index ac5443c752c2..4a16c62bac09 100644
@@ -66,8 +66,6 @@ obj-$(CONFIG_ULI526X) += uli526x.o
 obj-$(CONFIG_VSC7385_ENET) += vsc7385.o
 obj-$(CONFIG_XILINX_AXIEMAC) += xilinx_axi_emac.o
 obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
-obj-$(CONFIG_XILINX_LL_TEMAC) += xilinx_ll_temac.o xilinx_ll_temac_mdio.o \
-		xilinx_ll_temac_fifo.o xilinx_ll_temac_sdma.o
 obj-$(CONFIG_ZYNQ_GEM) += zynq_gem.o
 obj-$(CONFIG_FSL_MC_ENET) += fsl-mc/
 obj-$(CONFIG_FSL_MC_ENET) += ldpaa_eth/
drivers/net/xilinx_ll_temac.c deleted +0 -394

394 lines not on this page · raw message

drivers/net/xilinx_ll_temac.h deleted +0 -307

307 lines not on this page · raw message

drivers/net/xilinx_ll_temac_fifo.c deleted +0 -139

139 lines not on this page · raw message

drivers/net/xilinx_ll_temac_fifo.h deleted +0 -118

118 lines not on this page · raw message

drivers/net/xilinx_ll_temac_mdio.c deleted +0 -177

177 lines not on this page · raw message

drivers/net/xilinx_ll_temac_mdio.h deleted +0 -50

50 lines not on this page · raw message

drivers/net/xilinx_ll_temac_sdma.c deleted +0 -307

307 lines not on this page · raw message

drivers/net/xilinx_ll_temac_sdma.h deleted +0 -266

266 lines not on this page · raw message

include/netdev.h +0 -11
index b9bfebac67f7..3958a4cd32dd 100644
@@ -76,17 +76,6 @@ int tsi108_eth_initialize(bd_t *bis);
 int uec_standard_init(bd_t *bis);
 int uli526x_initialize(bd_t *bis);
 int armada100_fec_register(unsigned long base_addr);
-int xilinx_ll_temac_eth_init(bd_t *bis, unsigned long base_addr, int flags,
-						unsigned long ctrl_addr);
-/*
- * As long as the Xilinx xps_ll_temac ethernet driver has not its own interface
- * exported by a public hader file, we need a global definition@this point.
- */
-#if defined(CONFIG_XILINX_LL_TEMAC)
-#define XILINX_LL_TEMAC_M_FIFO		0	/* use FIFO Ctrl */
-#define XILINX_LL_TEMAC_M_SDMA_PLB	(1 << 0)/* use SDMA Ctrl via PLB */
-#define XILINX_LL_TEMAC_M_SDMA_DCR	(1 << 1)/* use SDMA Ctrl via DCR */
-#endif
 
 /* Boards with PCI network controllers can call this from their board_eth_init()
  * function to initialize whatever's on board.
scripts/config_whitelist.txt +0 -1
index 4ac89cdde0c6..00fe5da72d05 100644
@@ -4887,7 +4887,6 @@ CONFIG_X86_REFCODE_ADDR
 CONFIG_X86_REFCODE_RUN_ADDR
 CONFIG_XGI_XG22_BASE
 CONFIG_XILINX_GPIO
-CONFIG_XILINX_LL_TEMAC_CLK
 CONFIG_XILINX_SPI_IDLE_VAL
 CONFIG_XILINX_TB_WATCHDOG
 CONFIG_XR16L2751
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 net: Remove Xilinx ll_temac driver

Quoted 10 lines · Michal Simek

ll_temac driver was used by Xilinx Microblaze big endian and Xilinx ppc405/ppc440 SoCs.

ppc support was removed by: "powerpc: remove 4xx support" (sha1: 98f705c9cefdfdba62c069821bbba10273a0a8ed)
and Microblaze BE is not tested for a long time that's why this driver can be removed because none is going to updated it to DM anyway.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180223/a3c13293/attachment.sig>