Skip to contentSkip to conversation

powerpc: Remove unused FCC ethernet code

PATCH In review Tom Rini 1 participant 2 messages Aug 11, 2021 – Aug 30, 2021 PowerPC

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 powerpc: Remove unused FCC ethernet code

This code is no longer used, remove it.

---
 arch/powerpc/cpu/mpc85xx/Makefile    |   1 -
 arch/powerpc/cpu/mpc85xx/ether_fcc.c | 460 ---------------------------
 arch/powerpc/cpu/mpc8xxx/cpu.c       |   4 -
 include/configs/MPC8560ADS.h         |  47 +--
 4 files changed, 1 insertion(+), 511 deletions(-)
 delete mode 100644 arch/powerpc/cpu/mpc85xx/ether_fcc.c
arch/powerpc/cpu/mpc85xx/Makefile +0 -1
index 15248a40824b..6f4ad1f9b762 100644
@@ -29,7 +29,6 @@ obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
 endif
 obj-$(CONFIG_CPM2)	+= commproc.o
 
-obj-$(CONFIG_CPM2)	+= ether_fcc.o
 obj-$(CONFIG_OF_LIBFDT) += fdt.o
 obj-$(CONFIG_FSL_CORENET) += liodn.o
 obj-$(CONFIG_MP)	+= mp.o
arch/powerpc/cpu/mpc85xx/ether_fcc.c deleted +0 -460

460 lines not on this page · raw message

arch/powerpc/cpu/mpc8xxx/cpu.c +0 -4
index eda64861ee6f..0985fb2d0577 100644
@@ -351,10 +351,6 @@ int fixup_cpu(void)
  */
 int cpu_eth_init(struct bd_info *bis)
 {
-#if defined(CONFIG_ETHER_ON_FCC)
-	fec_initialize(bis);
-#endif
-
 #if defined(CONFIG_UEC_ETH)
 	uec_standard_init(bis);
 #endif
include/configs/MPC8560ADS.h +1 -46

65 lines not on this page · raw message

Signature · 1 line
2.17.1