Skip to contentSkip to conversation

net: Remove armada100_fec driver

PATCH In review Tom Rini 1 participant 20 messages Mar 31, 2022 – Apr 8, 2022

Subsystems (5)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/10 net: Remove armada100_fec driver

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile        |   1 -
 drivers/net/armada100_fec.c | 739 ------------------------------------
 drivers/net/armada100_fec.h | 208 ----------
 3 files changed, 948 deletions(-)
 delete mode 100644 drivers/net/armada100_fec.c
 delete mode 100644 drivers/net/armada100_fec.h
drivers/net/Makefile +0 -1
index a6d0c23f02d3..b57149b33994 100644
@@ -6,7 +6,6 @@
 
 obj-$(CONFIG_AG7XXX) += ag7xxx.o
 obj-$(CONFIG_ALTERA_TSE) += altera_tse.o
-obj-$(CONFIG_ARMADA100_FEC) += armada100_fec.o
 obj-$(CONFIG_ASPEED_MDIO) += aspeed_mdio.o
 obj-$(CONFIG_BCM6348_ETH) += bcm6348-eth.o
 obj-$(CONFIG_BCM6368_ETH) += bcm6368-eth.o
drivers/net/armada100_fec.c deleted +0 -739

739 lines not on this page · raw message

drivers/net/armada100_fec.h deleted +0 -208

208 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/10 net: Remove ax88180 driver

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile  |   1 -
 drivers/net/ax88180.c | 755 ------------------------------------------
 drivers/net/ax88180.h | 396 ----------------------
 3 files changed, 1152 deletions(-)
 delete mode 100644 drivers/net/ax88180.c
 delete mode 100644 drivers/net/ax88180.h
drivers/net/Makefile +0 -1
index b57149b33994..1d753bb7c202 100644
@@ -18,7 +18,6 @@ obj-$(CONFIG_CORTINA_NI_ENET) += cortina_ni.o
 obj-$(CONFIG_CS8900) += cs8900.o
 obj-$(CONFIG_DM_ETH_PHY) += eth-phy-uclass.o
 obj-$(CONFIG_DNET) += dnet.o
-obj-$(CONFIG_DRIVER_AX88180) += ax88180.o
 obj-$(CONFIG_DRIVER_DM9000) += dm9000x.o
 obj-$(CONFIG_DSA_SANDBOX) += dsa_sandbox.o
 obj-$(CONFIG_DWC_ETH_QOS) += dwc_eth_qos.o
drivers/net/ax88180.c deleted +0 -755

755 lines not on this page · raw message

drivers/net/ax88180.h deleted +0 -396

396 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#2 lore raw

Re: [PATCH 02/10] net: Remove ax88180 driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#3 lore raw

PATCH 3/10 net: Remove cs8900 driver

In reply to Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile |   1 -
 drivers/net/cs8900.c | 320 -------------------------------------------
 drivers/net/cs8900.h | 248 ---------------------------------
 3 files changed, 569 deletions(-)
 delete mode 100644 drivers/net/cs8900.c
 delete mode 100644 drivers/net/cs8900.h
drivers/net/Makefile +0 -1
index 1d753bb7c202..967f82c5157e 100644
@@ -15,7 +15,6 @@ obj-$(CONFIG_BCM_SF2_ETH_GMAC) += bcm-sf2-eth-gmac.o
 obj-$(CONFIG_BNXT_ETH) += bnxt/
 obj-$(CONFIG_CALXEDA_XGMAC) += calxedaxgmac.o
 obj-$(CONFIG_CORTINA_NI_ENET) += cortina_ni.o
-obj-$(CONFIG_CS8900) += cs8900.o
 obj-$(CONFIG_DM_ETH_PHY) += eth-phy-uclass.o
 obj-$(CONFIG_DNET) += dnet.o
 obj-$(CONFIG_DRIVER_DM9000) += dm9000x.o
drivers/net/cs8900.c deleted +0 -320

320 lines not on this page · raw message

drivers/net/cs8900.h deleted +0 -248

248 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#4 lore raw

Re: [PATCH 03/10] net: Remove cs8900 driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#5 lore raw

PATCH 4/10 net: Remove dnet driver

In reply to Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile |   1 -
 drivers/net/dnet.c   | 395 -------------------------------------------
 drivers/net/dnet.h   | 166 ------------------
 3 files changed, 562 deletions(-)
 delete mode 100644 drivers/net/dnet.c
 delete mode 100644 drivers/net/dnet.h
drivers/net/Makefile +0 -1
index 967f82c5157e..1fcd1b2d0b8d 100644
@@ -16,7 +16,6 @@ obj-$(CONFIG_BNXT_ETH) += bnxt/
 obj-$(CONFIG_CALXEDA_XGMAC) += calxedaxgmac.o
 obj-$(CONFIG_CORTINA_NI_ENET) += cortina_ni.o
 obj-$(CONFIG_DM_ETH_PHY) += eth-phy-uclass.o
-obj-$(CONFIG_DNET) += dnet.o
 obj-$(CONFIG_DRIVER_DM9000) += dm9000x.o
 obj-$(CONFIG_DSA_SANDBOX) += dsa_sandbox.o
 obj-$(CONFIG_DWC_ETH_QOS) += dwc_eth_qos.o
drivers/net/dnet.c deleted +0 -395

395 lines not on this page · raw message

drivers/net/dnet.h deleted +0 -166

166 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#6 lore raw

Re: [PATCH 04/10] net: Remove dnet driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#7 lore raw

PATCH 5/10 net: Remove ftmac110 driver

In reply to Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile   |   1 -
 drivers/net/ftmac110.c | 491 -----------------------------------------
 drivers/net/ftmac110.h | 175 ---------------
 3 files changed, 667 deletions(-)
 delete mode 100644 drivers/net/ftmac110.c
 delete mode 100644 drivers/net/ftmac110.h
drivers/net/Makefile +0 -1
index 1fcd1b2d0b8d..4c4fe9b0b396 100644
@@ -43,7 +43,6 @@ obj-$(CONFIG_FSL_MEMAC) += fm/memac_phy.o
 obj-$(CONFIG_FSL_PFE) += pfe_eth/
 obj-$(CONFIG_FTGMAC100) += ftgmac100.o
 obj-$(CONFIG_FTMAC100) += ftmac100.o
-obj-$(CONFIG_FTMAC110) += ftmac110.o
 obj-$(CONFIG_GMAC_ROCKCHIP) += gmac_rockchip.o
 obj-$(CONFIG_HIGMACV300_ETH) += higmacv300.o
 obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
drivers/net/ftmac110.c deleted +0 -491

491 lines not on this page · raw message

drivers/net/ftmac110.h deleted +0 -175

175 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#8 lore raw

Re: [PATCH 05/10] net: Remove ftmac110 driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#9 lore raw

PATCH 6/10 net: Remove lan91c96 driver

In reply to Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile   |   1 -
 drivers/net/lan91c96.c | 799 -----------------------------------------
 drivers/net/lan91c96.h | 616 -------------------------------
 3 files changed, 1416 deletions(-)
 delete mode 100644 drivers/net/lan91c96.c
 delete mode 100644 drivers/net/lan91c96.h
drivers/net/Makefile +0 -1
index 4c4fe9b0b396..be3264e04133 100644
@@ -47,7 +47,6 @@ obj-$(CONFIG_GMAC_ROCKCHIP) += gmac_rockchip.o
 obj-$(CONFIG_HIGMACV300_ETH) += higmacv300.o
 obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
 obj-$(CONFIG_KSZ9477) += ksz9477.o
-obj-$(CONFIG_LAN91C96) += lan91c96.o
 obj-$(CONFIG_LPC32XX_ETH) += lpc32xx_eth.o
 obj-$(CONFIG_MACB) += macb.o
 obj-$(CONFIG_MCFFEC) += mcffec.o mcfmii.o
drivers/net/lan91c96.c deleted +0 -799

799 lines not on this page · raw message

drivers/net/lan91c96.h deleted +0 -616

616 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#10 lore raw

Re: [PATCH 06/10] net: Remove lan91c96 driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#11 lore raw

PATCH 7/10 net: Remove natsemi driver

In reply to Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile  |   1 -
 drivers/net/natsemi.c | 883 ------------------------------------------
 2 files changed, 884 deletions(-)
 delete mode 100644 drivers/net/natsemi.c
drivers/net/Makefile +0 -1
index be3264e04133..f902f0d06c26 100644
@@ -64,7 +64,6 @@ obj-$(CONFIG_MVGBE) += mvgbe.o
 obj-$(CONFIG_MVMDIO) += mvmdio.o
 obj-$(CONFIG_MVNETA) += mvneta.o
 obj-$(CONFIG_MVPP2) += mvpp2.o
-obj-$(CONFIG_NATSEMI) += natsemi.o
 obj-$(CONFIG_NETCONSOLE) += netconsole.o
 obj-$(CONFIG_NET_OCTEONTX) += octeontx/
 obj-$(CONFIG_NET_OCTEONTX2) += octeontx2/
drivers/net/natsemi.c deleted +0 -883

883 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#12 lore raw

Re: [PATCH 07/10] net: Remove natsemi driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#13 lore raw

PATCH 8/10 net: Remove ns8382x driver

In reply to Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile  |   1 -
 drivers/net/ns8382x.c | 854 ------------------------------------------
 2 files changed, 855 deletions(-)
 delete mode 100644 drivers/net/ns8382x.c
drivers/net/Makefile +0 -1
index f902f0d06c26..02b36582ce46 100644
@@ -67,7 +67,6 @@ obj-$(CONFIG_MVPP2) += mvpp2.o
 obj-$(CONFIG_NETCONSOLE) += netconsole.o
 obj-$(CONFIG_NET_OCTEONTX) += octeontx/
 obj-$(CONFIG_NET_OCTEONTX2) += octeontx2/
-obj-$(CONFIG_NS8382X) += ns8382x.o
 obj-$(CONFIG_OCTEONTX2_CGX_INTF) += octeontx2/cgx_intf.o
 obj-$(CONFIG_OCTEONTX_SMI) += octeontx/smi.o
 obj-$(CONFIG_PCH_GBE) += pch_gbe.o
drivers/net/ns8382x.c deleted +0 -854

854 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#14 lore raw

Re: [PATCH 08/10] net: Remove ns8382x driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#15 lore raw

PATCH 9/10 net: Remove uli526x driver

In reply to Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

---
 drivers/net/Makefile  |   1 -
 drivers/net/uli526x.c | 996 ------------------------------------------
 2 files changed, 997 deletions(-)
 delete mode 100644 drivers/net/uli526x.c
drivers/net/Makefile +0 -1
index 02b36582ce46..69570bebb447 100644
@@ -85,7 +85,6 @@ obj-$(CONFIG_SUN4I_EMAC) += sunxi_emac.o
 obj-$(CONFIG_SUN8I_EMAC) += sun8i_emac.o
 obj-$(CONFIG_TSEC_ENET) += tsec.o fsl_mdio.o
 obj-$(CONFIG_TULIP) += dc2114x.o
-obj-$(CONFIG_ULI526X) += uli526x.o
 obj-$(CONFIG_VSC7385_ENET) += vsc7385.o
 obj-$(CONFIG_VSC9953) += vsc9953.o
 obj-$(CONFIG_XILINX_AXIEMAC) += xilinx_axi_emac.o
drivers/net/uli526x.c deleted +0 -996

996 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#16 lore raw

Re: [PATCH 09/10] net: Remove uli526x driver

Quoted 4 lines · Tom Rini

This driver is not enabled by any board and not converted to DM_ETH. Remove.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
author
#17 lore raw

PATCH 10/10 arm: Remove unused ep93xx code

In reply to Tom Rini

There are no platforms for this architecture anymore, remove unused code.

---
 arch/arm/cpu/arm920t/Makefile               |   1 -
 arch/arm/cpu/arm920t/ep93xx/Makefile        |  19 -
 arch/arm/cpu/arm920t/ep93xx/cpu.c           |  37 --
 arch/arm/cpu/arm920t/ep93xx/led.c           |  85 ---
 arch/arm/cpu/arm920t/ep93xx/lowlevel_init.S | 457 --------------
 arch/arm/cpu/arm920t/ep93xx/speed.c         |  96 ---
 arch/arm/cpu/arm920t/ep93xx/timer.c         | 117 ----
 arch/arm/include/asm/arch-ep93xx/ep93xx.h   | 666 --------------------
 drivers/net/Makefile                        |   1 -
 drivers/net/ep93xx_eth.c                    | 654 -------------------
 drivers/net/ep93xx_eth.h                    | 126 ----
 drivers/usb/host/Makefile                   |   1 -
 drivers/usb/host/ohci-ep93xx.c              |  37 --
 13 files changed, 2297 deletions(-)
 delete mode 100644 arch/arm/cpu/arm920t/ep93xx/Makefile
 delete mode 100644 arch/arm/cpu/arm920t/ep93xx/cpu.c
 delete mode 100644 arch/arm/cpu/arm920t/ep93xx/led.c
 delete mode 100644 arch/arm/cpu/arm920t/ep93xx/lowlevel_init.S
 delete mode 100644 arch/arm/cpu/arm920t/ep93xx/speed.c
 delete mode 100644 arch/arm/cpu/arm920t/ep93xx/timer.c
 delete mode 100644 arch/arm/include/asm/arch-ep93xx/ep93xx.h
 delete mode 100644 drivers/net/ep93xx_eth.c
 delete mode 100644 drivers/net/ep93xx_eth.h
 delete mode 100644 drivers/usb/host/ohci-ep93xx.c
arch/arm/cpu/arm920t/Makefile +0 -1
index c63f578f1a95..b70822c67ab9 100644
@@ -7,7 +7,6 @@ extra-y	= start.o
 
 obj-y	+= cpu.o
 
-obj-$(CONFIG_EP93XX) += ep93xx/
 obj-$(CONFIG_IMX) += imx/
 
 # some files can only build in ARM mode
arch/arm/cpu/arm920t/ep93xx/Makefile deleted +0 -19
deleted file mode 100644
index 152b5e7c5a2e..000000000000
@@ -1,19 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Cirrus Logic EP93xx CPU-specific Makefile
-#
-# Copyright (C) 2009 Matthias Kaehlcke <[email protected]>
-#
-# Copyright (C) 2004, 2005
-# Cory T. Tusar, Videon Central, Inc., <[email protected]>
-#
-# Copyright (C) 2006
-# Dominic Rath <[email protected]>
-#
-# Based on an original Makefile, which is
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, [email protected].
-
-obj-y   = cpu.o led.o speed.o timer.o
-obj-y   += lowlevel_init.o
arch/arm/cpu/arm920t/ep93xx/cpu.c deleted +0 -37
deleted file mode 100644
index 3435bdc748a2..000000000000
@@ -1,37 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Cirrus Logic EP93xx CPU-specific support.
- *
- * Copyright (C) 2009 Matthias Kaehlcke <[email protected]>
- *
- * Copyright (C) 2004, 2005
- * Cory T. Tusar, Videon Central, Inc., <[email protected]>
- */
-
-#include <common.h>
-#include <cpu_func.h>
-#include <asm/arch/ep93xx.h>
-#include <asm/io.h>
-
-/* We reset the CPU by generating a 1-->0 transition on DeviceCfg bit 31. */
-extern void reset_cpu(void)
-{
-	struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE;
-	uint32_t value;
-
-	/* Unlock DeviceCfg and set SWRST */
-	writel(0xAA, &syscon->sysswlock);
-	value = readl(&syscon->devicecfg);
-	value |= SYSCON_DEVICECFG_SWRST;
-	writel(value, &syscon->devicecfg);
-
-	/* Unlock DeviceCfg and clear SWRST */
-	writel(0xAA, &syscon->sysswlock);
-	value = readl(&syscon->devicecfg);
-	value &= ~SYSCON_DEVICECFG_SWRST;
-	writel(value, &syscon->devicecfg);
-
-	/* Dying... */
-	while (1)
-		; /* noop */
-}
arch/arm/cpu/arm920t/ep93xx/led.c deleted +0 -85

85 lines not on this page · raw message

arch/arm/cpu/arm920t/ep93xx/lowlevel_init.S deleted +0 -457

457 lines not on this page · raw message

arch/arm/cpu/arm920t/ep93xx/speed.c deleted +0 -96

96 lines not on this page · raw message

arch/arm/cpu/arm920t/ep93xx/timer.c deleted +0 -117

117 lines not on this page · raw message

arch/arm/include/asm/arch-ep93xx/ep93xx.h deleted +0 -666

666 lines not on this page · raw message

drivers/net/Makefile +0 -1
index 69570bebb447..16733d2d1f8b 100644
@@ -22,7 +22,6 @@ obj-$(CONFIG_DWC_ETH_QOS) += dwc_eth_qos.o
 obj-$(CONFIG_E1000) += e1000.o
 obj-$(CONFIG_E1000_SPI) += e1000_spi.o
 obj-$(CONFIG_EEPRO100) += eepro100.o
-obj-$(CONFIG_EP93XX) += ep93xx_eth.o
 obj-$(CONFIG_ETHOC) += ethoc.o
 obj-$(CONFIG_ETH_DESIGNWARE) += designware.o
 obj-$(CONFIG_ETH_DESIGNWARE_MESON8B) += dwmac_meson8b.o
drivers/net/ep93xx_eth.c deleted +0 -654

654 lines not on this page · raw message

drivers/net/ep93xx_eth.h deleted +0 -126

126 lines not on this page · raw message

drivers/usb/host/Makefile +0 -1
index eb6fe9f6b30f..a4472da9f182 100644
@@ -14,7 +14,6 @@ obj-$(CONFIG_USB_ATMEL) += ohci-at91.o
 obj-$(CONFIG_USB_OHCI_DA8XX) += ohci-da8xx.o
 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
 obj-$(CONFIG_USB_SL811HS) += sl811-hcd.o
-obj-$(CONFIG_USB_OHCI_EP93XX) += ohci-ep93xx.o
 obj-$(CONFIG_USB_OHCI_LPC32XX) += ohci-lpc32xx.o
 obj-$(CONFIG_USB_OHCI_PCI) += ohci-pci.o
 obj-$(CONFIG_USB_OHCI_GENERIC) += ohci-generic.o
drivers/usb/host/ohci-ep93xx.c deleted +0 -37
deleted file mode 100644
index 9654fa2996f8..000000000000
@@ -1,37 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2013
- * Sergey Kostanbaev < sergey.kostanbaev <at> fairwaves.ru >
- */
-
-#include <config.h>
-#include <common.h>
-
-#if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT)
-#include <asm/io.h>
-#include <asm/arch/ep93xx.h>
-
-int usb_cpu_init(void)
-{
-	struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE;
-	unsigned long pwr = readl(&syscon->pwrcnt);
-	writel(pwr | SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt);
-
-	return 0;
-}
-
-int usb_cpu_stop(void)
-{
-	struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE;
-	unsigned long pwr = readl(&syscon->pwrcnt);
-	writel(pwr &  ~SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt);
-
-	return 0;
-}
-
-int usb_cpu_init_fail(void)
-{
-	return usb_cpu_stop();
-}
-
-#endif /* defined(CONFIG_USB_OHCI) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT) */
Signature · 1 line
2.25.1
author
#18 lore raw

Re: [PATCH 10/10] arm: Remove unused ep93xx code

Quoted 4 lines · Tom Rini

There are no platforms for this architecture anymore, remove unused code.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom