Remove obsolete board support
Subsystems (3)
Hi Ralf,
This patchset finishes to remove deprecated board support.
It should simplify a bit the hrtimer migration work.
Please consider,
Franck
---
arch/mips/Kconfig | 66 -- arch/mips/Makefile | 31 - arch/mips/configs/atlas_defconfig | 1481 --------------------------- arch/mips/configs/ocelot_c_defconfig | 982 ------------------ arch/mips/configs/sead_defconfig | 651 ------------ arch/mips/mips-boards/atlas/Makefile | 20 - arch/mips/mips-boards/atlas/atlas_gdb.c | 97 -- arch/mips/mips-boards/atlas/atlas_int.c | 271 ----- arch/mips/mips-boards/atlas/atlas_setup.c | 92 -- arch/mips/mips-boards/generic/console.c | 22 - arch/mips/mips-boards/generic/init.c | 22 +- arch/mips/mips-boards/generic/reset.c | 20 - arch/mips/mips-boards/generic/time.c | 16 +- arch/mips/mips-boards/sead/Makefile | 26 - arch/mips/mips-boards/sead/sead_int.c | 117 --- arch/mips/mips-boards/sead/sead_setup.c | 81 -- arch/mips/momentum/ocelot_c/Makefile | 8 - arch/mips/momentum/ocelot_c/cpci-irq.c | 100 -- arch/mips/momentum/ocelot_c/dbg_io.c | 121 --- arch/mips/momentum/ocelot_c/irq.c | 107 -- arch/mips/momentum/ocelot_c/ocelot_c_fpga.h | 61 -- arch/mips/momentum/ocelot_c/platform.c | 183 ---- arch/mips/momentum/ocelot_c/prom.c | 183 ---- arch/mips/momentum/ocelot_c/reset.c | 58 -- arch/mips/momentum/ocelot_c/setup.c | 362 ------- arch/mips/momentum/ocelot_c/uart-irq.c | 91 -- arch/mips/pci/Makefile | 2 - arch/mips/pci/fixup-atlas.c | 91 -- arch/mips/pci/fixup-ocelot-c.c | 41 - arch/mips/pci/pci-ocelot-c.c | 145 --- include/asm-mips/bootinfo.h | 2 +- include/asm-mips/mach-atlas/mc146818rtc.h | 60 -- include/asm-mips/mips-boards/atlas.h | 80 -- include/asm-mips/mips-boards/atlasint.h | 115 --- include/asm-mips/mips-boards/generic.h | 10 +- include/asm-mips/mips-boards/sead.h | 36 - include/asm-mips/mips-boards/seadint.h | 35 - include/asm-mips/serial.h | 26 - include/asm-mips/war.h | 6 +- 39 files changed, 11 insertions(+), 5907 deletions(-) delete mode 100644 arch/mips/configs/atlas_defconfig delete mode 100644 arch/mips/configs/ocelot_c_defconfig delete mode 100644 arch/mips/configs/sead_defconfig delete mode 100644 arch/mips/mips-boards/atlas/Makefile delete mode 100644 arch/mips/mips-boards/atlas/atlas_gdb.c delete mode 100644 arch/mips/mips-boards/atlas/atlas_int.c delete mode 100644 arch/mips/mips-boards/atlas/atlas_setup.c delete mode 100644 arch/mips/mips-boards/sead/Makefile delete mode 100644 arch/mips/mips-boards/sead/sead_int.c delete mode 100644 arch/mips/mips-boards/sead/sead_setup.c delete mode 100644 arch/mips/momentum/ocelot_c/Makefile delete mode 100644 arch/mips/momentum/ocelot_c/cpci-irq.c delete mode 100644 arch/mips/momentum/ocelot_c/dbg_io.c delete mode 100644 arch/mips/momentum/ocelot_c/irq.c delete mode 100644 arch/mips/momentum/ocelot_c/ocelot_c_fpga.h delete mode 100644 arch/mips/momentum/ocelot_c/platform.c delete mode 100644 arch/mips/momentum/ocelot_c/prom.c delete mode 100644 arch/mips/momentum/ocelot_c/reset.c delete mode 100644 arch/mips/momentum/ocelot_c/setup.c delete mode 100644 arch/mips/momentum/ocelot_c/uart-irq.c delete mode 100644 arch/mips/pci/fixup-atlas.c delete mode 100644 arch/mips/pci/fixup-ocelot-c.c delete mode 100644 arch/mips/pci/pci-ocelot-c.c delete mode 100644 include/asm-mips/mach-atlas/mc146818rtc.h delete mode 100644 include/asm-mips/mips-boards/atlas.h delete mode 100644 include/asm-mips/mips-boards/atlasint.h delete mode 100644 include/asm-mips/mips-boards/sead.h delete mode 100644 include/asm-mips/mips-boards/seadint.h
PATCH 1/3 Remove MIPS ATLAS support
From: Franck Bui-Huu <[email protected]>
Mips Atlas support is deprecated and scheduled for removal since September 2006.
--- arch/mips/Kconfig | 29 - arch/mips/Makefile | 12 - arch/mips/configs/atlas_defconfig | 1481 ----------------------------- arch/mips/mips-boards/atlas/Makefile | 20 - arch/mips/mips-boards/atlas/atlas_gdb.c | 97 -- arch/mips/mips-boards/atlas/atlas_int.c | 271 ------ arch/mips/mips-boards/atlas/atlas_setup.c | 92 -- arch/mips/mips-boards/generic/console.c | 11 +- arch/mips/mips-boards/generic/init.c | 17 +- arch/mips/mips-boards/generic/reset.c | 18 - arch/mips/mips-boards/generic/time.c | 5 +- arch/mips/pci/Makefile | 1 - arch/mips/pci/fixup-atlas.c | 91 -- include/asm-mips/mach-atlas/mc146818rtc.h | 60 -- include/asm-mips/mips-boards/atlas.h | 80 -- include/asm-mips/mips-boards/atlasint.h | 115 --- include/asm-mips/war.h | 6 +- 17 files changed, 8 insertions(+), 2398 deletions(-) delete mode 100644 arch/mips/configs/atlas_defconfig delete mode 100644 arch/mips/mips-boards/atlas/Makefile delete mode 100644 arch/mips/mips-boards/atlas/atlas_gdb.c delete mode 100644 arch/mips/mips-boards/atlas/atlas_int.c delete mode 100644 arch/mips/mips-boards/atlas/atlas_setup.c delete mode 100644 arch/mips/pci/fixup-atlas.c delete mode 100644 include/asm-mips/mach-atlas/mc146818rtc.h delete mode 100644 include/asm-mips/mips-boards/atlas.h delete mode 100644 include/asm-mips/mips-boards/atlasint.h
arch/mips/Kconfig +0 -29
@@ -140,35 +140,6 @@ config LASAT select SYS_SUPPORTS_LITTLE_ENDIAN select GENERIC_HARDIRQS_NO__DO_IRQ -config MIPS_ATLAS - bool "MIPS Atlas board" - select BOOT_ELF32 - select DMA_NONCOHERENT - select SYS_HAS_EARLY_PRINTK - select IRQ_CPU - select HW_HAS_PCI - select MIPS_BOARDS_GEN - select MIPS_BONITO64 - select PCI_GT64XXX_PCI0 - select MIPS_MSC - select RM7000_CPU_SCACHE - 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 - select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL - select SYS_SUPPORTS_SMARTMIPS - select GENERIC_HARDIRQS_NO__DO_IRQ - help - This enables support for the MIPS Technologies Atlas evaluation - board. - config MIPS_MALTA bool "MIPS Malta board" select ARCH_MAY_HAVE_PC_FDC
arch/mips/Makefile +0 -12
@@ -303,14 +303,6 @@ load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 core-$(CONFIG_MIPS_BOARDS_GEN) += arch/mips/mips-boards/generic/ # -# MIPS Atlas board -# -core-$(CONFIG_MIPS_ATLAS) += arch/mips/mips-boards/atlas/ -cflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-atlas -cflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-mips -load-$(CONFIG_MIPS_ATLAS) += 0xffffffff80100000 - -# # MIPS Malta board # core-$(CONFIG_MIPS_MALTA) += arch/mips/mips-boards/malta/
@@ -670,10 +662,6 @@ ifdef CONFIG_BOOT_ELF64 all: $(vmlinux-64) endif -ifdef CONFIG_MIPS_ATLAS -all: vmlinux.srec -endif - ifdef CONFIG_MIPS_MALTA all: vmlinux.srec endif
arch/mips/configs/atlas_defconfig deleted +0 -1481
1,481 lines not on this page · raw message
arch/mips/mips-boards/atlas/Makefile deleted +0 -20
@@ -1,20 +0,0 @@ -# -# Carsten Langgaard, [email protected] -# Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved. -# -# This program is free software; you can distribute it and/or modify it -# under the terms of the GNU General Public License (Version 2) as -# published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -# - -obj-y := atlas_int.o atlas_setup.o -obj-$(CONFIG_KGDB) += atlas_gdb.o
arch/mips/mips-boards/atlas/atlas_gdb.c deleted +0 -97
97 lines not on this page · raw message
arch/mips/mips-boards/atlas/atlas_int.c deleted +0 -271
271 lines not on this page · raw message
arch/mips/mips-boards/atlas/atlas_setup.c deleted +0 -92
92 lines not on this page · raw message
arch/mips/mips-boards/generic/console.c +1 -10
@@ -22,16 +22,7 @@#include <linux/serial_reg.h> #include <asm/io.h> -#ifdef CONFIG_MIPS_ATLAS -#include <asm/mips-boards/atlas.h> - -#ifdef CONFIG_CPU_LITTLE_ENDIAN -#define PORT (offset) (ATLAS_UART_REGS_BASE + ((offset)<<3)) -#else -#define PORT (offset) (ATLAS_UART_REGS_BASE + 3 + ((offset)<<3)) -#endif - -#elif defined(CONFIG_MIPS_SEAD ) +#ifdef CONFIG_MIPS_SEAD #include <asm/mips-boards/sead.h>
arch/mips/mips-boards/generic/init.c +4 -13
@@ -197,19 +197,10 @@ void __init kgdb_config (void)while ((c = *++argptr) && ('0' <= c && c <='9' )) speed = speed *10 + c -'0' ; } -#ifdef CONFIG_MIPS_ATLAS -if (line ==1 ) { - speed =saa9730_kgdb_hook (speed); - generic_putDebugChar = saa9730_putDebugChar; - generic_getDebugChar = saa9730_getDebugChar; - } - else -#endif - { - speed =rs_kgdb_hook (line, speed); - generic_putDebugChar = rs_putDebugChar; - generic_getDebugChar = rs_getDebugChar; - } + + speed =rs_kgdb_hook (line, speed); + generic_putDebugChar = rs_putDebugChar; + generic_getDebugChar = rs_getDebugChar; pr_info("KGDB: Using serial line /dev/ttyS%d at %d for " "session, please connect your debugger\n",
arch/mips/mips-boards/generic/reset.c +0 -18
@@ -27,15 +27,9 @@#include <asm/io.h> #include <asm/reboot.h> #include <asm/mips-boards/generic.h> -#if defined(CONFIG_MIPS_ATLAS ) -#include <asm/mips-boards/atlas.h> -#endif static void mips_machine_restart (char *command);static void mips_machine_halt (void ); -#if defined(CONFIG_MIPS_ATLAS ) -static void atlas_machine_power_off (void ); -#endif static void mips_machine_restart (char *command) {
@@ -51,22 +45,10 @@ static void mips_machine_halt(void)writew (GORESET , softres_reg); } -#if defined(CONFIG_MIPS_ATLAS ) -static void atlas_machine_power_off (void ) -{ -unsigned int __iomem *psustby_reg =ioremap (ATLAS_PSUSTBY_REG ,sizeof (unsigned int )); - -writew (ATLAS_GOSTBY , psustby_reg); -} -#endif -void mips_reboot_setup (void ) { _machine_restart = mips_machine_restart; _machine_halt = mips_machine_halt; -#if defined(CONFIG_MIPS_ATLAS ) - pm_power_off = atlas_machine_power_off; -#endif #if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_SEAD ) pm_power_off = mips_machine_halt;#endif
arch/mips/mips-boards/generic/time.c +1 -4
@@ -41,9 +41,6 @@#include <asm/mips-boards/generic.h> #include <asm/mips-boards/prom.h> -#ifdef CONFIG_MIPS_ATLAS -#include <asm/mips-boards/atlasint.h> -#endif #ifdef CONFIG_MIPS_MALTA #include <asm/mips-boards/maltaint.h> #endif
@@ -190,7 +187,7 @@ static unsigned int __init estimate_cpu_frequency(void) else count =6000000 ;#endif -#if defined(CONFIG_MIPS_ATLAS ) || defined(CONFIG_MIPS_MALTA ) +#ifdef CONFIG_MIPS_MALTA unsigned long flags;unsigned int start;
arch/mips/pci/Makefile +0 -1
@@ -23,7 +23,6 @@ obj-$(CONFIG_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o obj-$(CONFIG_BASLER_EXCITE) += ops-titan.o pci-excite.o fixup-excite.o obj-$(CONFIG_DDB5477) += fixup-ddb5477.o pci-ddb5477.o ops-ddb5477.o obj-$(CONFIG_LASAT) += pci-lasat.o -obj-$(CONFIG_MIPS_ATLAS) += fixup-atlas.o obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o obj-$(CONFIG_MIPS_EV64120) += pci-ev64120.o obj-$(CONFIG_SOC_AU1500) += fixup-au1000.o ops-au1000.o
arch/mips/pci/fixup-atlas.c deleted +0 -91
91 lines not on this page · raw message
include/asm-mips/mach-atlas/mc146818rtc.h deleted +0 -60
60 lines not on this page · raw message
include/asm-mips/mips-boards/atlas.h deleted +0 -80
80 lines not on this page · raw message
include/asm-mips/mips-boards/atlasint.h deleted +0 -115
115 lines not on this page · raw message
include/asm-mips/war.h +2 -4
@@ -131,8 +131,7 @@* Affects: * MIPS 4K RTL revision <3.0, PRID revision <4 */ -#if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_ATLAS ) || \ - defined(CONFIG_MIPS_SEAD ) +#if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_SEAD )#define MIPS4K_ICACHE_REFILL_WAR 1#endif
@@ -151,8 +150,7 @@* MIPS 5Kc,5Kf RTL revision <2.3, PRID revision <8 * MIPS 20Kc RTL revision <4.0, PRID revision <? */ -#if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_ATLAS ) || \ - defined(CONFIG_MIPS_SEAD ) +#if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_SEAD )#define MIPS_CACHE_SYNC_WAR 1#endif
Signature · 1 line
1.5.2.1
Re: [PATCH 1/3] Remove MIPS ATLAS support
Quoted 2 lines · Franck Bui-Huu
Mips Atlas support is deprecated and scheduled for removal since September 2006.
Ditto.
Maciej
PATCH 2/3 Remove MIPS SEAD support
In reply to Franck Bui-HuuFrom: Franck Bui-Huu <[email protected]>
Mips Sead support is deprecated and scheduled for removal since September 2006.
--- arch/mips/Kconfig | 19 - arch/mips/Makefile | 11 - arch/mips/configs/sead_defconfig | 651 ------------------------------- arch/mips/mips-boards/generic/console.c | 13 - arch/mips/mips-boards/generic/init.c | 5 +- arch/mips/mips-boards/generic/reset.c | 2 - arch/mips/mips-boards/generic/time.c | 11 +- arch/mips/mips-boards/sead/Makefile | 26 -- arch/mips/mips-boards/sead/sead_int.c | 117 ------ arch/mips/mips-boards/sead/sead_setup.c | 81 ---- include/asm-mips/mips-boards/generic.h | 10 +- include/asm-mips/mips-boards/sead.h | 36 -- include/asm-mips/mips-boards/seadint.h | 35 -- include/asm-mips/war.h | 4 +- 14 files changed, 5 insertions(+), 1016 deletions(-) delete mode 100644 arch/mips/configs/sead_defconfig delete mode 100644 arch/mips/mips-boards/sead/Makefile delete mode 100644 arch/mips/mips-boards/sead/sead_int.c delete mode 100644 arch/mips/mips-boards/sead/sead_setup.c delete mode 100644 include/asm-mips/mips-boards/sead.h delete mode 100644 include/asm-mips/mips-boards/seadint.h
arch/mips/Kconfig +0 -19
@@ -172,25 +172,6 @@ config MIPS_MALTA This enables support for the MIPS Technologies Malta evaluation board. -config MIPS_SEAD - bool "MIPS SEAD board (EXPERIMENTAL)" - depends on EXPERIMENTAL - select IRQ_CPU - select DMA_NONCOHERENT - select SYS_HAS_EARLY_PRINTK - select MIPS_BOARDS_GEN - select SYS_HAS_CPU_MIPS32_R1 - select SYS_HAS_CPU_MIPS32_R2 - select SYS_HAS_CPU_MIPS64_R1 - select SYS_SUPPORTS_32BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL - select SYS_SUPPORTS_BIG_ENDIAN - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_SUPPORTS_SMARTMIPS - help - This enables support for the MIPS Technologies SEAD evaluation - board. - config WR_PPMC bool "Wind River PPMC board" select IRQ_CPU
arch/mips/Makefile +0 -11
@@ -310,13 +310,6 @@ cflags-$(CONFIG_MIPS_MALTA) += -Iinclude/asm-mips/mach-mips load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 # -# MIPS SEAD board -# -core-$(CONFIG_MIPS_SEAD) += arch/mips/mips-boards/sead/ -cflags-$(CONFIG_MIPS_SEAD) += -Iinclude/asm-mips/mach-mips -load-$(CONFIG_MIPS_SEAD) += 0xffffffff80100000 - -# # MIPS SIM # core-$(CONFIG_MIPS_SIM) += arch/mips/mips-boards/sim/
@@ -666,10 +659,6 @@ ifdef CONFIG_MIPS_MALTA all: vmlinux.srec endif -ifdef CONFIG_MIPS_SEAD -all: vmlinux.srec -endif - ifdef CONFIG_QEMU all: vmlinux.bin endif
arch/mips/configs/sead_defconfig deleted +0 -651
651 lines not on this page · raw message
arch/mips/mips-boards/generic/console.c +0 -13
@@ -22,21 +22,8 @@#include <linux/serial_reg.h> #include <asm/io.h> -#ifdef CONFIG_MIPS_SEAD - -#include <asm/mips-boards/sead.h> - -#ifdef CONFIG_CPU_LITTLE_ENDIAN -#define PORT (offset) (SEAD_UART0_REGS_BASE + ((offset)<<3)) -#else -#define PORT (offset) (SEAD_UART0_REGS_BASE + 3 + ((offset)<<3)) -#endif - -#else -#define PORT (offset) (0x3f8 + (offset)) -#endif static inline unsigned int serial_in (int offset) {
arch/mips/mips-boards/generic/init.c +1 -4
@@ -249,9 +249,6 @@ void __init prom_init(void)mips_display_message ("LINUX" ); -#ifdef CONFIG_MIPS_SEAD -set_io_port_base (KSEG1 ); -#else /* * early setup of _pcictrl_bonito so that we can determine * the system controller on a CORE_EMUL board
@@ -396,7 +393,7 @@ void __init prom_init(void)mips_display_message ("SC Error" );while (1 );/* We die here... */ } -#endif + board_nmi_handler_setup = mips_nmi_setup; board_ejtag_handler_setup = mips_ejtag_setup;
arch/mips/mips-boards/generic/reset.c +0 -2
@@ -49,7 +49,5 @@ void mips_reboot_setup(void) { _machine_restart = mips_machine_restart; _machine_halt = mips_machine_halt; -#if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_SEAD ) pm_power_off = mips_machine_halt; -#endif }
arch/mips/mips-boards/generic/time.c +1 -10
@@ -44,9 +44,6 @@#ifdef CONFIG_MIPS_MALTA #include <asm/mips-boards/maltaint.h> #endif -#ifdef CONFIG_MIPS_SEAD -#include <asm/mips-boards/seadint.h> -#endif unsigned long cpu_khz;
@@ -174,13 +171,7 @@ static unsigned int __init estimate_cpu_frequency(void)unsigned int prid =read_c0_prid () &0xffff00 ;unsigned int count; -#if defined(CONFIG_MIPS_SEAD ) || defined(CONFIG_MIPS_SIM ) -/* -* The SEAD board doesn't have a real time clock, so we can't -* really calculate the timer frequency -* For now we hardwire the SEAD board frequency to 12MHz. -*/ - +#if defined(CONFIG_MIPS_SIM )if ((prid == (PRID_COMP_MIPS |PRID_IMP_20KC )) || (prid == (PRID_COMP_MIPS |PRID_IMP_25KF ))) count =12000000 ;
arch/mips/mips-boards/sead/Makefile deleted +0 -26
@@ -1,26 +0,0 @@ -# -# Carsten Langgaard, [email protected] -# Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved. -# -# ######################################################################## -# -# This program is free software; you can distribute it and/or modify it -# under the terms of the GNU General Public License (Version 2) as -# published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -# -# ####################################################################### -# -# Makefile for the MIPS SEAD specific kernel interface routines -# under Linux. -# - -obj-y := sead_int.o sead_setup.o
arch/mips/mips-boards/sead/sead_int.c deleted +0 -117
117 lines not on this page · raw message
arch/mips/mips-boards/sead/sead_setup.c deleted +0 -81
81 lines not on this page · raw message
include/asm-mips/mips-boards/generic.h +1 -9
@@ -27,12 +27,8 @@/* * Display register base. */ -#ifdef CONFIG_MIPS_SEAD -#define ASCII_DISPLAY_POS_BASE 0x1f0005c0 -#else #define ASCII_DISPLAY_WORD_BASE 0x1f000410#define ASCII_DISPLAY_POS_BASE 0x1f000418 -#endif /*
@@ -44,13 +40,9 @@/* * Reset register. */ -#ifdef CONFIG_MIPS_SEAD -#define SOFTRES_REG 0x1e800050 -#define GORESET 0x4d -#else #define SOFTRES_REG 0x1f000500#define GORESET 0x42 -#endif +/* * Revision register.
include/asm-mips/mips-boards/sead.h deleted +0 -36
@@ -1,36 +0,0 @@ -/* -* Carsten Langgaard, [email protected] -* Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved. -* -* ######################################################################## -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License (Version 2) as -* published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -* for more details. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -* -* ######################################################################## -* -* Defines of the SEAD board specific address-MAP, registers, etc. -* -*/ -#ifndef _MIPS_SEAD_H -#define _MIPS_SEAD_H - -#include <asm/addrspace.h> - -/* -* SEAD UART register base. -*/ -#define SEAD_UART0_REGS_BASE (0x1f000800) -#define SEAD_BASE_BAUD ( 3686400 / 16 ) - -#endif /* !(_MIPS_SEAD_H) */
include/asm-mips/mips-boards/seadint.h deleted +0 -35
@@ -1,35 +0,0 @@ -/* -* Carsten Langgaard, [email protected] -* Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved. -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License (Version 2) as -* published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -* for more details. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -* -* Defines for the SEAD interrupt controller. -*/ -#ifndef _MIPS_SEADINT_H -#define _MIPS_SEADINT_H - -#include <irq.h> - -/* -* Interrupts 0..7 are used for SEAD CPU interrupts -*/ -#define MIPSCPU_INT_BASE MIPS_CPU_IRQ_BASE - -#define MIPSCPU_INT_UART0 2 -#define MIPSCPU_INT_UART1 3 - -#define MIPSCPU_INT_CPUCTR 7 - -#endif /* !(_MIPS_SEADINT_H) */
include/asm-mips/war.h +2 -2
@@ -131,7 +131,7 @@* Affects: * MIPS 4K RTL revision <3.0, PRID revision <4 */ -#if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_SEAD ) +#if defined(CONFIG_MIPS_MALTA )#define MIPS4K_ICACHE_REFILL_WAR 1#endif
@@ -150,7 +150,7 @@* MIPS 5Kc,5Kf RTL revision <2.3, PRID revision <8 * MIPS 20Kc RTL revision <4.0, PRID revision <? */ -#if defined(CONFIG_MIPS_MALTA ) || defined(CONFIG_MIPS_SEAD ) +#if defined(CONFIG_MIPS_MALTA )#define MIPS_CACHE_SYNC_WAR 1#endif
Signature · 1 line
1.5.2.1
Re: [PATCH 2/3] Remove MIPS SEAD support
Quoted 2 lines · Franck Bui-Huu
Mips Sead support is deprecated and scheduled for removal since September 2006.
Oh, is it? The last time I tried it worked. Have you tried it and
failed to build? That should be easy to fix.
Maciej
Re: [PATCH 2/3] Remove MIPS SEAD support
Quoted 7 lines · Franck Bui-Huu
Quoted 3 lines
Mips Sead support is deprecated and scheduled for removal since September 2006.
Oh, is it? The last time I tried it worked. Have you tried it and
failed to build? That should be easy to fix.
There aren't that many SEAD users out there, but then again, no replacement platform for SEAD has been announced, so I'm not wildly enthusiastic about deleting support for it, if it still works.
Regards,
Kevin K.
Re: [PATCH 2/3] Remove MIPS SEAD support
Quoted 3 lines · Kevin D. Kissell
There aren't that many SEAD users out there, but then again, no replacement platform for SEAD has been announced, so I'm not wildly enthusiastic about deleting support for it, if it still works.
Any breakage possible should be minimal -- there is not too much to break
there. ;-) I am not sure if I find a couple of minutes to check it though...
Maciej
Re: [PATCH 2/3] Remove MIPS SEAD support
In reply to Kevin D. KissellQuoted 9 lines · Kevin D. Kissell
Quoted 5 lines
Quoted 2 lines
Mips Sead support is deprecated and scheduled for removal since September 2006.
Oh, is it? The last time I tried it worked. Have you tried it and
failed to build? That should be easy to fix.There aren't that many SEAD users out there, but then again, no replacement platform for SEAD has been announced, so I'm not wildly enthusiastic about deleting support for it, if it still works.
It's relativly trivial to keep alive - like all the others in this series. Actuall the Atlas is probably the most problematic due to its heart, the amazingly broken SAA9730 which I think I've also never seen docs beyond a useless leaflet for.
Ralf
Re: [PATCH 2/3] Remove MIPS SEAD support
In reply to Maciej W. RozyckiQuoted 2 lines · Maciej W. Rozycki
Oh, is it? The last time I tried it worked. Have you tried it and
failed to build? That should be easy to fix.
According to the latest auto-builder report it's building fine, just like Atlas.
Ralf
Re: [PATCH 2/3] Remove MIPS SEAD support
In reply to Maciej W. RozyckiHi,
Quoted 8 lines · Maciej W. Rozycki
Quoted 2 lines · Franck Bui-Huu
Mips Sead support is deprecated and scheduled for removal since September 2006.
Oh, is it? The last time I tried it worked. Have you tried it and
failed to build? That should be easy to fix.
Well I haven't tried to build it. I only took a look to the wiki and get rid of listed deprecated boards... I thought that was an good reason...
Signature · 1 line
Franck
PATCH 3/3 Remove Momenco Ocelot C support
In reply to Franck Bui-HuuFrom: Franck Bui-Huu <[email protected]>
Momenco Ocelot C support is deprecated and scheduled for removal since September 2006.
--- arch/mips/Kconfig | 18 - arch/mips/Makefile | 8 - arch/mips/configs/ocelot_c_defconfig | 982 --------------------------- arch/mips/momentum/ocelot_c/Makefile | 8 - arch/mips/momentum/ocelot_c/cpci-irq.c | 100 --- arch/mips/momentum/ocelot_c/dbg_io.c | 121 ---- arch/mips/momentum/ocelot_c/irq.c | 107 --- arch/mips/momentum/ocelot_c/ocelot_c_fpga.h | 61 -- arch/mips/momentum/ocelot_c/platform.c | 183 ----- arch/mips/momentum/ocelot_c/prom.c | 183 ----- arch/mips/momentum/ocelot_c/reset.c | 58 -- arch/mips/momentum/ocelot_c/setup.c | 362 ---------- arch/mips/momentum/ocelot_c/uart-irq.c | 91 --- arch/mips/pci/Makefile | 1 - arch/mips/pci/fixup-ocelot-c.c | 41 -- arch/mips/pci/pci-ocelot-c.c | 145 ---- include/asm-mips/bootinfo.h | 2 +- include/asm-mips/serial.h | 26 - 18 files changed, 1 insertions(+), 2496 deletions(-) delete mode 100644 arch/mips/configs/ocelot_c_defconfig delete mode 100644 arch/mips/momentum/ocelot_c/Makefile delete mode 100644 arch/mips/momentum/ocelot_c/cpci-irq.c delete mode 100644 arch/mips/momentum/ocelot_c/dbg_io.c delete mode 100644 arch/mips/momentum/ocelot_c/irq.c delete mode 100644 arch/mips/momentum/ocelot_c/ocelot_c_fpga.h delete mode 100644 arch/mips/momentum/ocelot_c/platform.c delete mode 100644 arch/mips/momentum/ocelot_c/prom.c delete mode 100644 arch/mips/momentum/ocelot_c/reset.c delete mode 100644 arch/mips/momentum/ocelot_c/setup.c delete mode 100644 arch/mips/momentum/ocelot_c/uart-irq.c delete mode 100644 arch/mips/pci/fixup-ocelot-c.c delete mode 100644 arch/mips/pci/pci-ocelot-c.c
arch/mips/Kconfig +0 -18
@@ -245,24 +245,6 @@ config MOMENCO_OCELOT_3 The Ocelot-3 is based off Discovery III System Controller and PMC-Sierra Rm79000 core. -config MOMENCO_OCELOT_C - bool "Momentum Ocelot-C board" - select DMA_NONCOHERENT - select HW_HAS_PCI - select IRQ_CPU - select IRQ_MV64340 - select PCI_MARVELL - select RM7000_CPU_SCACHE - select SWAP_IO_SPACE - select SYS_HAS_CPU_RM7000 - select SYS_SUPPORTS_32BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL - select SYS_SUPPORTS_BIG_ENDIAN - select GENERIC_HARDIRQS_NO__DO_IRQ - help - The Ocelot is a MIPS-based Single Board Computer (SBC) made by - Momentum Computer <http://www.momenco.com/>. - config PNX8550_JBS bool "Philips PNX8550 based JBS board" select PNX8550
arch/mips/Makefile +0 -8
@@ -328,14 +328,6 @@ cflags-$(CONFIG_MOMENCO_OCELOT) += -Iinclude/asm-mips/mach-ocelot load-$(CONFIG_MOMENCO_OCELOT) += 0xffffffff80100000 # -# Momentum Ocelot-C and -CS boards -# -# The Ocelot-C[S] setup.o must be linked early - it does the ioremap() for the -# mips_io_port_base. -core-$(CONFIG_MOMENCO_OCELOT_C) += arch/mips/momentum/ocelot_c/ -load-$(CONFIG_MOMENCO_OCELOT_C) += 0xffffffff80100000 - -# # PMC-Sierra Yosemite # core-$(CONFIG_PMC_YOSEMITE) += arch/mips/pmc-sierra/yosemite/
arch/mips/configs/ocelot_c_defconfig deleted +0 -982
982 lines not on this page · raw message
arch/mips/momentum/ocelot_c/Makefile deleted +0 -8
@@ -1,8 +0,0 @@ -# -# Makefile for Momentum Computer's Ocelot-C and -CS boards. -# - -obj-y += cpci-irq.o irq.o platform.o prom.o reset.o \ - setup.o uart-irq.o - -obj-$(CONFIG_KGDB) += dbg_io.o
arch/mips/momentum/ocelot_c/cpci-irq.c deleted +0 -100
100 lines not on this page · raw message
arch/mips/momentum/ocelot_c/dbg_io.c deleted +0 -121
121 lines not on this page · raw message
arch/mips/momentum/ocelot_c/irq.c deleted +0 -107
107 lines not on this page · raw message
arch/mips/momentum/ocelot_c/ocelot_c_fpga.h deleted +0 -61
61 lines not on this page · raw message
arch/mips/momentum/ocelot_c/platform.c deleted +0 -183
183 lines not on this page · raw message
arch/mips/momentum/ocelot_c/prom.c deleted +0 -183
183 lines not on this page · raw message
arch/mips/momentum/ocelot_c/reset.c deleted +0 -58
58 lines not on this page · raw message
arch/mips/momentum/ocelot_c/setup.c deleted +0 -362
362 lines not on this page · raw message
arch/mips/momentum/ocelot_c/uart-irq.c deleted +0 -91
91 lines not on this page · raw message
arch/mips/pci/Makefile +0 -1
@@ -31,7 +31,6 @@ obj-$(CONFIG_SOC_PNX8550) += fixup-pnx8550.o ops-pnx8550.o obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o obj-$(CONFIG_MOMENCO_OCELOT) += fixup-ocelot.o pci-ocelot.o obj-$(CONFIG_MOMENCO_OCELOT_3) += fixup-ocelot3.o -obj-$(CONFIG_MOMENCO_OCELOT_C) += fixup-ocelot-c.o pci-ocelot-c.o obj-$(CONFIG_PMC_YOSEMITE) += fixup-yosemite.o ops-titan.o ops-titan-ht.o \ pci-yosemite.o obj-$(CONFIG_SGI_IP27) += ops-bridge.o pci-ip27.o
arch/mips/pci/fixup-ocelot-c.c deleted +0 -41
41 lines not on this page · raw message
arch/mips/pci/pci-ocelot-c.c deleted +0 -145
145 lines not on this page · raw message
include/asm-mips/bootinfo.h +1 -1
@@ -120,7 +120,7 @@#define MACH_GROUP_MOMENCO 12/* Momentum Boards */ #define MACH_MOMENCO_OCELOT 0#define MACH_MOMENCO_OCELOT_G 1/* no more supported (may 2007) */ -#define MACH_MOMENCO_OCELOT_C 2 +#define MACH_MOMENCO_OCELOT_C 2/* no more supported (jun 2007) */ #define MACH_MOMENCO_JAGUAR_ATX 3/* no more supported (may 2007) */ #define MACH_MOMENCO_OCELOT_3 4
include/asm-mips/serial.h +0 -26
@@ -115,31 +115,6 @@#define MOMENCO_OCELOT_SERIAL_PORT_DEFNS #endif -#ifdef CONFIG_MOMENCO_OCELOT_C -/* Ordinary NS16552 duart with a 20MHz crystal. */ -#define OCELOT_C_BASE_BAUD ( 20000000 / 16 ) - -#define OCELOT_C_SERIAL1_IRQ 80 -#define OCELOT_C_SERIAL1_BASE 0xfd000020 - -#define OCELOT_C_SERIAL2_IRQ 81 -#define OCELOT_C_SERIAL2_BASE 0xfd000000 - -#define _OCELOT_C_SERIAL_INIT (int, base) \ - { .baud_base = OCELOT_C_BASE_BAUD, \ - .irq = (int), \ - .flags = STD_COM_FLAGS, \ - .iomem_base = (u8 *) base, \ - .iomem_reg_shift = 2, \ - .io_type = SERIAL_IO_MEM \ - } -#define MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS \ - _OCELOT_C_SERIAL_INIT(OCELOT_C_SERIAL1_IRQ, OCELOT_C_SERIAL1_BASE), \ - _OCELOT_C_SERIAL_INIT(OCELOT_C_SERIAL2_IRQ, OCELOT_C_SERIAL2_BASE) -#else -#define MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS -#endif -#ifdef CONFIG_DDB5477 #include <asm/ddb5xxx/ddb5477.h> #define DDB5477_SERIAL_PORT_DEFNS \
@@ -170,7 +145,6 @@IP32_SERIAL_PORT_DEFNS \ JAZZ_SERIAL_PORT_DEFNS \STD_SERIAL_PORT_DEFNS \ - MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS \ MOMENCO_OCELOT_SERIAL_PORT_DEFNS \MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS
Signature · 1 line
1.5.2.1
Re: [PATCH 3/3] Remove Momenco Ocelot C support
Quoted 2 lines · Franck Bui-Huu
Momenco Ocelot C support is deprecated and scheduled for removal since September 2006.
And totally untested since ages. 2.6.22 will be its last summer ;-)
Patch queued up to 2.6.23, actually already a few days ago.
Thanks,
Ralf
Re: [PATCH 3/3] Remove Momenco Ocelot C support
Quoted 8 lines · On Wed, 13 Jun 2007 19:52:32 +0100 Ralf Baechle <[email protected]> wrote:
Quoted 2 lines · Franck Bui-Huu
Momenco Ocelot C support is deprecated and scheduled for removal since September 2006.
And totally untested since ages. 2.6.22 will be its last summer ;-)
Patch queued up to 2.6.23, actually already a few days ago.
Please queue this patch too.
Yoichi
---
Already dropped Momenco Ocelot C/G boards support. also remove their MTD support.
drivers/mtd/devices/docprobe.c +0 -2
@@ -84,8 +84,6 @@ static unsigned long __initdata doc_loca#elif defined(CONFIG_MOMENCO_OCELOT ) 0x2f000000, 0xff000000, -#elif defined(CONFIG_MOMENCO_OCELOT_G ) || defined (CONFIG_MOMENCO_OCELOT_C ) - 0xff000000,#else #warning Unknown architecture for DiskOnChip. No default probe locations defined#endif
drivers/mtd/nand/diskonchip.c +0 -2
@@ -59,8 +59,6 @@ static unsigned long __initdata doc_loca#elif defined(CONFIG_MOMENCO_OCELOT ) 0x2f000000, 0xff000000, -#elif defined(CONFIG_MOMENCO_OCELOT_G ) || defined (CONFIG_MOMENCO_OCELOT_C ) - 0xff000000,#else #warning Unknown architecture for DiskOnChip. No default probe locations defined#endif
Re: [PATCH 3/3] Remove Momenco Ocelot C support
Hi Yoichi,
Quoted 5 lines · Yoichi Yuasa
Quoted 2 lines · On Wed, 13 Jun 2007 19:52:32 +0100 Ralf Baechle <[email protected]> wrote:
On Mon, Jun 11, 2007 at 03:08:55PM +0200, Franck Bui-Huu wrote:
Quoted 9 lines
Quoted 6 lines
Quoted 2 lines
Momenco Ocelot C support is deprecated and scheduled for removal since September 2006.
And totally untested since ages. 2.6.22 will be its last summer ;-)
Patch queued up to 2.6.23, actually already a few days ago.
Please queue this patch too.
Good catch !
Thanks
Signature · 1 line
Franck
Quoted 1 line · Franck Bui-Huu
This patchset finishes to remove deprecated board support.
I de-deprecated the files but only in feature-removal-schedule.txt not the wiki ...
Ralf
Quoted 7 lines · Ralf Baechle
Quoted 1 line · Franck Bui-Huu
This patchset finishes to remove deprecated board support.
I de-deprecated the files but only in feature-removal-schedule.txt not the wiki ...
OK then this patchset is deprecated...
Signature · 1 line
Franck