Skip to contentSkip to conversation

mips: delete Wind River ppmc eval board support.

PATCH In review Paul Gortmaker 2 participants 2 messages Jun 18, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: delete Wind River ppmc eval board support.

This board has been EOL for many years now; lets not burden people doing build coverage and other tree wide work with working on essentially dead files.

---
 arch/mips/Kbuild.platforms                       |   1 -
 arch/mips/Kconfig                                |  23 ----
 arch/mips/configs/wrppmc_defconfig               |  97 -----------------
 arch/mips/include/asm/mach-wrppmc/mach-gt64120.h |  83 ---------------
 arch/mips/pci/Makefile                           |   1 -
 arch/mips/pci/fixup-wrppmc.c                     |  37 -------
 arch/mips/wrppmc/Makefile                        |  12 ---
 arch/mips/wrppmc/Platform                        |   7 --
 arch/mips/wrppmc/irq.c                           |  56 ----------
 arch/mips/wrppmc/pci.c                           |  52 ---------
 arch/mips/wrppmc/reset.c                         |  41 --------
 arch/mips/wrppmc/serial.c                        |  80 --------------
 arch/mips/wrppmc/setup.c                         | 128 -----------------------
 arch/mips/wrppmc/time.c                          |  39 -------
 14 files changed, 657 deletions(-)
 delete mode 100644 arch/mips/configs/wrppmc_defconfig
 delete mode 100644 arch/mips/include/asm/mach-wrppmc/mach-gt64120.h
 delete mode 100644 arch/mips/pci/fixup-wrppmc.c
 delete mode 100644 arch/mips/wrppmc/Makefile
 delete mode 100644 arch/mips/wrppmc/Platform
 delete mode 100644 arch/mips/wrppmc/irq.c
 delete mode 100644 arch/mips/wrppmc/pci.c
 delete mode 100644 arch/mips/wrppmc/reset.c
 delete mode 100644 arch/mips/wrppmc/serial.c
 delete mode 100644 arch/mips/wrppmc/setup.c
 delete mode 100644 arch/mips/wrppmc/time.c
arch/mips/Kbuild.platforms +0 -1
index 4b597d9..d9d81c2 100644
@@ -30,7 +30,6 @@ platforms += sibyte
 platforms += sni
 platforms += txx9
 platforms += vr41xx
-platforms += wrppmc
 
 # include the platform specific files
 include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
arch/mips/Kconfig +0 -23
index 30d200d..1f8a495 100644
@@ -711,29 +711,6 @@ config MIKROTIK_RB532
 	  Support the Mikrotik(tm) RouterBoard 532 series,
 	  based on the IDT RC32434 SoC.
 
-config WR_PPMC
-	bool "Wind River PPMC board"
-	select CEVT_R4K
-	select CSRC_R4K
-	select IRQ_CPU
-	select BOOT_ELF32
-	select DMA_NONCOHERENT
-	select HW_HAS_PCI
-	select PCI_GT64XXX_PCI0
-	select SWAP_IO_SPACE
-	select SYS_HAS_CPU_MIPS32_R1
-	select SYS_HAS_CPU_MIPS32_R2
-	select SYS_HAS_CPU_MIPS64_R1
-	select SYS_HAS_CPU_NEVADA
-	select SYS_HAS_CPU_RM7000
-	select SYS_SUPPORTS_32BIT_KERNEL
-	select SYS_SUPPORTS_64BIT_KERNEL
-	select SYS_SUPPORTS_BIG_ENDIAN
-	select SYS_SUPPORTS_LITTLE_ENDIAN
-	help
-	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
-	  board, which is based on GT64120 bridge chip.
-
 config CAVIUM_OCTEON_SOC
 	bool "Cavium Networks Octeon SoC based boards"
 	select CEVT_R4K
arch/mips/configs/wrppmc_defconfig deleted +0 -97

97 lines not on this page · raw message

arch/mips/include/asm/mach-wrppmc/mach-gt64120.h deleted +0 -83

83 lines not on this page · raw message

arch/mips/pci/Makefile +0 -1
index fa3bcd2..b56fbc0 100644
@@ -52,7 +52,6 @@ obj-$(CONFIG_TOSHIBA_RBTX4927)	+= fixup-rbtx4927.o
 obj-$(CONFIG_TOSHIBA_RBTX4938)	+= fixup-rbtx4938.o
 obj-$(CONFIG_VICTOR_MPC30X)	+= fixup-mpc30x.o
 obj-$(CONFIG_ZAO_CAPCELLA)	+= fixup-capcella.o
-obj-$(CONFIG_WR_PPMC)		+= fixup-wrppmc.o
 obj-$(CONFIG_MIKROTIK_RB532)	+= pci-rc32434.o ops-rc32434.o fixup-rc32434.o
 obj-$(CONFIG_CAVIUM_OCTEON_SOC) += pci-octeon.o pcie-octeon.o
 obj-$(CONFIG_CPU_XLR)		+= pci-xlr.o
arch/mips/pci/fixup-wrppmc.c deleted +0 -37
deleted file mode 100644
index 29737ed..0000000
@@ -1,37 +0,0 @@
-/*
- * fixup-wrppmc.c: PPMC board specific PCI fixup
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2006, Wind River Inc. Rongkai.zhan ([email protected])
- */
-#include <linux/init.h>
-#include <linux/pci.h>
-#include <asm/gt64120.h>
-
-/* PCI interrupt pins */
-#define PCI_INTA		1
-#define PCI_INTB		2
-#define PCI_INTC		3
-#define PCI_INTD		4
-
-#define PCI_SLOT_MAXNR	32 /* Each PCI bus has 32 physical slots */
-
-static char pci_irq_tab[PCI_SLOT_MAXNR][5] __initdata = {
-	/* 0	INTA   INTB   INTC   INTD */
-	[0] = {0, 0, 0, 0, 0},		/* Slot 0: GT64120 PCI bridge */
-	[6] = {0, WRPPMC_PCI_INTA_IRQ, 0, 0, 0},
-};
-
-int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
-{
-	return pci_irq_tab[slot][pin];
-}
-
-/* Do platform specific device initialization at pci_enable_device() time */
-int pcibios_plat_dev_init(struct pci_dev *dev)
-{
-	return 0;
-}
arch/mips/wrppmc/Makefile deleted +0 -12
deleted file mode 100644
index 307cc69..0000000
@@ -1,12 +0,0 @@
-#
-# This file is subject to the terms and conditions of the GNU General Public
-# License.  See the file "COPYING" in the main directory of this archive
-# for more details.
-#
-# Copyright 2006 Wind River System, Inc.
-# Author: Rongkai.Zhan <[email protected]>
-#
-# Makefile for the Wind River MIPS 4Kc PPMC Eval Board
-#
-
-obj-y += irq.o pci.o reset.o serial.o setup.o time.o
arch/mips/wrppmc/Platform deleted +0 -7
deleted file mode 100644
index dc78b25..0000000
@@ -1,7 +0,0 @@
-#
-# Wind River PPMC Board (4KC + GT64120)
-#
-platform-$(CONFIG_WR_PPMC)	+= wrppmc/
-cflags-$(CONFIG_WR_PPMC)	+=					\
-		-I$(srctree)/arch/mips/include/asm/mach-wrppmc
-load-$(CONFIG_WR_PPMC)		+= 0xffffffff80100000
arch/mips/wrppmc/irq.c deleted +0 -56

56 lines not on this page · raw message

arch/mips/wrppmc/pci.c deleted +0 -52

52 lines not on this page · raw message

arch/mips/wrppmc/reset.c deleted +0 -41

41 lines not on this page · raw message

arch/mips/wrppmc/serial.c deleted +0 -80

80 lines not on this page · raw message

arch/mips/wrppmc/setup.c deleted +0 -128

128 lines not on this page · raw message

arch/mips/wrppmc/time.c deleted +0 -39
deleted file mode 100644
index 668dbd5..0000000
@@ -1,39 +0,0 @@
-/*
- * time.c: MIPS CPU Count/Compare timer hookup
- *
- * Author: Mark.Zhan, <[email protected]>
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1996, 1997, 2004 by Ralf Baechle ([email protected])
- * Copyright (C) 2006, Wind River System Inc.
- */
-#include <linux/init.h>
-#include <linux/interrupt.h>
-#include <linux/irq.h>
-
-#include <asm/gt64120.h>
-#include <asm/time.h>
-
-#define WRPPMC_CPU_CLK_FREQ 40000000 /* 40MHZ */
-
-/*
- * Estimate CPU frequency.  Sets mips_hpt_frequency as a side-effect
- *
- * NOTE: We disable all GT64120 timers, and use MIPS processor internal
- * timer as the source of kernel clock tick.
- */
-void __init plat_time_init(void)
-{
-	/* Disable GT64120 timers */
-	GT_WRITE(GT_TC_CONTROL_OFS, 0x00);
-	GT_WRITE(GT_TC0_OFS, 0x00);
-	GT_WRITE(GT_TC1_OFS, 0x00);
-	GT_WRITE(GT_TC2_OFS, 0x00);
-	GT_WRITE(GT_TC3_OFS, 0x00);
-
-	/* Use MIPS compare/count internal timer */
-	mips_hpt_frequency = WRPPMC_CPU_CLK_FREQ;
-}
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 3 lines · Paul Gortmaker

This board has been EOL for many years now; lets not burden people doing build coverage and other tree wide work with working on essentially dead files.

Good riddance!

One of the platforms that I don't recall ever receiving any kind of feedback for. So I'm following the kill first, ask later protocol. I queued the patch for 3.11 but people still have a chance of speaking up :-)

Ralf