powerpc: delete WR sbc8560 board support.
Subsystems (5)
cover powerpc: delete WR sbc8560 board support.
The support for this reference platform really no longer needs to be carried in tree anymore, since the hardware has been EOL'd for a while, and the age and configuration of the hardware doesn't really make it desireable to use vs. say using the newer Wind River sbc8548 board, which has had recent u-boot validation/updates, etc.
Removal lets us also get rid of a (now) unused MTD mapping, and some quirk handling in the 8250 UART support. These are grouped together here, but since the commits are only functionally tied to the sbc8560, we can have the mtd/uart changes go in via their respective trees if desired, and not risk introducing any build regressions by doing so.
Paul
---
Paul Gortmaker (3):
powerpc: remove Wind River SBC8560 support
mtd: delete SBC82xx/SBC8560 MTD mapping support serial/8250: delete WR SBC850 UART quirk handling
arch/powerpc/boot/Makefile | 1 - arch/powerpc/boot/dts/sbc8560.dts | 406 --------------------------- arch/powerpc/configs/85xx/sbc8560_defconfig | 65 ----- arch/powerpc/platforms/85xx/Kconfig | 6 - arch/powerpc/platforms/85xx/Makefile | 1 - arch/powerpc/platforms/85xx/sbc8560.c | 254 ----------------- drivers/mtd/maps/Kconfig | 12 - drivers/mtd/maps/wr_sbc82xx_flash.c | 174 ------------ drivers/tty/serial/8250/8250.h | 7 - 9 files changed, 0 insertions(+), 926 deletions(-) delete mode 100644 arch/powerpc/boot/dts/sbc8560.dts delete mode 100644 arch/powerpc/configs/85xx/sbc8560_defconfig delete mode 100644 arch/powerpc/platforms/85xx/sbc8560.c delete mode 100644 drivers/mtd/maps/wr_sbc82xx_flash.c
Signature · 1 line
1.7.9.1
PATCH 1/3 powerpc: remove Wind River SBC8560 support
This reference board dates back to 2004, and is largely a legacy EOL product. The MPC8560 is a pre e500v2 CPU. The SBC8548 is a more modern, better e500v2 target for people to use as a reference board with today's kernels, should they require one.
Removing support for it will also allow us to remove some sbc8560 specific quirk handling in 8250 UART code, and some MTD mapping support.
--- arch/powerpc/boot/Makefile | 1 - arch/powerpc/boot/dts/sbc8560.dts | 406 --------------------------- arch/powerpc/configs/85xx/sbc8560_defconfig | 65 ----- arch/powerpc/platforms/85xx/Kconfig | 6 - arch/powerpc/platforms/85xx/Makefile | 1 - arch/powerpc/platforms/85xx/sbc8560.c | 254 ----------------- 6 files changed, 0 insertions(+), 733 deletions(-) delete mode 100644 arch/powerpc/boot/dts/sbc8560.dts delete mode 100644 arch/powerpc/configs/85xx/sbc8560_defconfig delete mode 100644 arch/powerpc/platforms/85xx/sbc8560.c
arch/powerpc/boot/Makefile +0 -1
@@ -257,7 +257,6 @@ image-$(CONFIG_TQM8548) += cuImage.tqm8548 image-$(CONFIG_TQM8555) += cuImage.tqm8555 image-$(CONFIG_TQM8560) += cuImage.tqm8560 image-$(CONFIG_SBC8548) += cuImage.sbc8548 -image-$(CONFIG_SBC8560) += cuImage.sbc8560 image-$(CONFIG_KSI8560) += cuImage.ksi8560 # Board ports in arch/powerpc/platform/embedded6xx/Kconfig
arch/powerpc/boot/dts/sbc8560.dts deleted +0 -406
406 lines not on this page · raw message
arch/powerpc/configs/85xx/sbc8560_defconfig deleted +0 -65
65 lines not on this page · raw message
arch/powerpc/platforms/85xx/Kconfig +0 -6
@@ -175,12 +175,6 @@ config SBC8548 help This option enables support for the Wind River SBC8548 board -config SBC8560 - bool "Wind River SBC8560" - select DEFAULT_UIMAGE - help - This option enables support for the Wind River SBC8560 board - config GE_IMP3A bool "GE Intelligent Platforms IMP3A" select DEFAULT_UIMAGE
arch/powerpc/platforms/85xx/Makefile +0 -1
@@ -22,7 +22,6 @@ obj-$(CONFIG_P4080_DS) += p4080_ds.o corenet_ds.o obj-$(CONFIG_P5020_DS) += p5020_ds.o corenet_ds.o obj-$(CONFIG_STX_GP3) += stx_gp3.o obj-$(CONFIG_TQM85xx) += tqm85xx.o -obj-$(CONFIG_SBC8560) += sbc8560.o obj-$(CONFIG_SBC8548) += sbc8548.o obj-$(CONFIG_SOCRATES) += socrates.o socrates_fpga_pic.o obj-$(CONFIG_KSI8560) += ksi8560.o
arch/powerpc/platforms/85xx/sbc8560.c deleted +0 -254
254 lines not on this page · raw message
Signature · 1 line
1.7.9.1
Kumar Gala
AppliedRe: [PATCH 1/3] powerpc: remove Wind River SBC8560 support
Quoted 9 lines · Paul Gortmaker
This reference board dates back to 2004, and is largely a legacy EOL product. The MPC8560 is a pre e500v2 CPU. The SBC8548 is a more modern, better e500v2 target for people to use as a reference board with today's kernels, should they require one. =20
Removing support for it will also allow us to remove some sbc8560 specific quirk handling in 8250 UART code, and some MTD mapping support.
=20
Quoted 5 lines
Cc David Woodhouse <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>---
arch/powerpc/boot/Makefile| 1 -arch/powerpc/boot/dts/sbc8560.dts| 406 =
---------------------------
Quoted 8 lines
arch/powerpc/configs/85xx/sbc8560_defconfig | 65 ----- arch/powerpc/platforms/85xx/Kconfig | 6 - arch/powerpc/platforms/85xx/Makefile | 1 - arch/powerpc/platforms/85xx/sbc8560.c | 254 ----------------- 6 files changed, 0 insertions(+), 733 deletions(-)delete mode 100644
arch/powerpc/boot/dts/sbc8560.dtsdelete mode 100644arch/powerpc/configs/85xx/sbc8560_defconfigdelete mode 100644arch/powerpc/platforms/85xx/sbc8560.c
applied
- k=
PATCH 2/3 mtd: delete SBC82xx/SBC8560 MTD mapping support
In reply to Paul GortmakerThe SBC8260 support was dropped back when we moved from ppc to powerpc. We are now also dropping the support for the EOL SBC8560, so we can also delete this mapping support, as they were the only users of it.
--- drivers/mtd/maps/Kconfig | 12 --- drivers/mtd/maps/wr_sbc82xx_flash.c | 174 ----------------------------------- 2 files changed, 0 insertions(+), 186 deletions(-) delete mode 100644 drivers/mtd/maps/wr_sbc82xx_flash.c
drivers/mtd/maps/Kconfig +0 -12
@@ -447,18 +447,6 @@ config MTD_UCLINUX help Map driver to support image based filesystems for uClinux. -config MTD_WRSBC8260 - tristate "Map driver for WindRiver PowerQUICC II MPC82xx board" - depends on (SBC82xx || SBC8560) - select MTD_MAP_BANK_WIDTH_4 - select MTD_MAP_BANK_WIDTH_1 - select MTD_CFI_I1 - select MTD_CFI_I4 - help - Map driver for WindRiver PowerQUICC II MPC82xx board. Drives - all three flash regions on CS0, CS1 and CS6 if they are configured - correctly by the boot loader. - config MTD_DMV182 tristate "Map driver for Dy-4 SVME/DMV-182 board." depends on DMV182
drivers/mtd/maps/wr_sbc82xx_flash.c deleted +0 -174
174 lines not on this page · raw message
Signature · 1 line
1.7.9.1
Re: [PATCH 2/3] mtd: delete SBC82xx/SBC8560 MTD mapping support
Quoted 8 lines · Paul Gortmaker
The SBC8260 support was dropped back when we moved from ppc to powerpc. We are now also dropping the support for the EOL SBC8560, so we can also delete this mapping support, as they were the only users of it.
Cc David Woodhouse <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
You forgot this:
drivers/mtd/maps/Makefile +0 -1
@@ -47,7 +47,6 @@ obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o obj-$(CONFIG_MTD_H720X) += h720x-flash.o obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o obj-$(CONFIG_MTD_IXP2000) += ixp2000.o -obj-$(CONFIG_MTD_WRSBC8260) += wr_sbc82xx_flash.o obj-$(CONFIG_MTD_DMV182) += dmv182.o obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
I've amended the patch and pushed to l2-mtd.git tree, thanks!
Signature · 2 lines
Best Regards, Artem Bityutskiy
Re: [PATCH 2/3] mtd: delete SBC82xx/SBC8560 MTD mapping support
Quoted 17 lines · Artem Bityutskiy
Quoted 8 lines · Paul Gortmaker
The SBC8260 support was dropped back when we moved from ppc to powerpc. We are now also dropping the support for the EOL SBC8560, so we can also delete this mapping support, as they were the only users of it.
Cc David Woodhouse <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>You forgot this:
drivers/mtd/maps/Makefile +0
-0
drivers/mtd/maps/Makefile obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o · line 50
Quoted 4 lines
drivers/mtd/maps/Makefile +0
-1@@ -47,7 +47,6 @@ obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o obj-$(CONFIG_MTD_H720X) += h720x-flash.o obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o obj-$(CONFIG_MTD_IXP2000) += ixp2000.o -obj-$(CONFIG_MTD_WRSBC8260) += wr_sbc82xx_flash.o
Agreed. I'd figured that died back in 2.6.2x when the old ppc board got removed, and it never even crossed my mind to git grep for it. Funny that some automated orphan CONFIG_ checker script didn't find it (assuming there is one.)
Thanks,
Paul.
--
Quoted 6 lines
drivers/mtd/maps/Makefile +0
-0obj-$(CONFIG_MTD_DMV182) += dmv182.o obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.oI've amended the patch and pushed to l2-mtd.git tree, thanks!
PATCH 3/3 serial/8250: delete WR SBC850 UART quirk handling
In reply to Paul GortmakerWe've are dropping the support for the EOL SBC8560, so we can also delete this variant of the Alpha quirk support.
--- drivers/tty/serial/8250/8250.h | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
drivers/tty/serial/8250/8250.h +0 -7
@@ -119,13 +119,6 @@ static inline void serial_dl_write(struct uart_8250_port *up, int value)* is cleared, the machine locks up with endless interrupts. */ #define ALPHA_KLUDGE_MCR (UART_MCR_OUT2 | UART_MCR_OUT1) -#elif defined(CONFIG_SBC8560 ) -/* -* WindRiver did something similarly broken on their SBC8560 board. The -* UART tristates its IRQ output while OUT2 is clear, but they pulled -* the interrupt line _up_ instead of down, so if we register the IRQ -* while the UART is in that state, we die in an IRQ storm. */ -#define ALPHA_KLUDGE_MCR (UART_MCR_OUT2)#else #define ALPHA_KLUDGE_MCR 0#endif
Signature · 1 line
1.7.9.1
Re: [PATCH 3/3] serial/8250: delete WR SBC850 UART quirk handling
Quoted 19 lines · On Tue, 26 Jun 2012 15:54:29 -0400 Paul Gortmaker…
We've are dropping the support for the EOL SBC8560, so we can also delete this variant of the Alpha quirk support.
Cc Alan Cox <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>--- drivers/tty/serial/8250/8250.h | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)drivers/tty/serial/8250/8250.h +0
-0@@ -119,13 +119,6 @@ static inline void serial_dl_write(struct uart_8250_port *up, int value)* is cleared, the machine locks up with endless interrupts. */ #define ALPHA_KLUDGE_MCR (UART_MCR_OUT2 | UART_MCR_OUT1)
drivers/tty/serial/8250/8250.h static inline void serial_dl_write(struct uart_8250_port *up, int value) · line 124
Quoted 10 lines
drivers/tty/serial/8250/8250.h +0
-7-#elif defined(CONFIG_SBC8560 ) -/* -* WindRiver did something similarly broken on their SBC8560 board. The -* UART tristates its IRQ output while OUT2 is clear, but they pulled -* the interrupt line _up_ instead of down, so if we register the IRQ -* while the UART is in that state, we die in an IRQ storm. */ -#define ALPHA_KLUDGE_MCR (UART_MCR_OUT2)#else #define ALPHA_KLUDGE_MCR 0#endif
Would you mind removing all of the crap from this if its going (eg 8250.c) not just the header so it gets missed ? Kill the symbol entirely ?
Alan
Re: [PATCH 3/3] serial/8250: delete WR SBC850 UART quirk handling
Quoted 27 lines · Alan Cox
Quoted 24 lines · On Tue, 26 Jun 2012 15:54:29 -0400 Paul Gortmaker…
We've are dropping the support for the EOL SBC8560, so we can also delete this variant of the Alpha quirk support.
Cc Alan Cox <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>--- drivers/tty/serial/8250/8250.h | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)drivers/tty/serial/8250/8250.h +0
-5@@ -119,13 +119,6 @@ static inline void serial_dl_write(struct uart_8250_port *up, int value)* is cleared, the machine locks up with endless interrupts. */ #define ALPHA_KLUDGE_MCR (UART_MCR_OUT2 | UART_MCR_OUT1) -#elif defined(CONFIG_SBC8560 ) -/* -* WindRiver did something similarly broken on their SBC8560 board. The -* UART tristates its IRQ output while OUT2 is clear, but they pulled -* the interrupt line _up_ instead of down, so if we register the IRQ
Quoted 8 lines
drivers/tty/serial/8250/8250.h static inline void serial_dl_write(struct uart_8250_port *up, int value) · line 124
Quoted 5 lines
drivers/tty/serial/8250/8250.h +0
-2-* while the UART is in that state, we die in an IRQ storm. */ -#define ALPHA_KLUDGE_MCR (UART_MCR_OUT2)#else #define ALPHA_KLUDGE_MCR 0#endif Would you mind removing all of the crap from this if its going (eg 8250.c) not just the header so it gets missed ? Kill the symbol entirely ?
I will, once Alpha is removed from the tree. At the moment, it still uses it.
Paul.
--
Quoted 2 lines
Alan
Re: [PATCH 3/3] serial/8250: delete WR SBC850 UART quirk handling
Quoted 3 lines
I will, once Alpha is removed from the tree. At the moment, it still uses it.
Ok I hadn't realised that.
Alan