From 5451333e82caa06855bb8a55e126171845e72799 Mon Sep 17 00:00:00 2001 From: kaloz Date: Wed, 26 Nov 2008 10:06:34 +0000 Subject: nuke the magicbox target and incorporate a rewritten port into ppc40x - note: no CF driver for now git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13358 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../magicbox/patches/001-magicbox_support.patch | 65 ---------------------- target/linux/magicbox/patches/100-cf_slot.patch | 24 -------- 2 files changed, 89 deletions(-) delete mode 100644 target/linux/magicbox/patches/001-magicbox_support.patch delete mode 100644 target/linux/magicbox/patches/100-cf_slot.patch (limited to 'target/linux/magicbox/patches') diff --git a/target/linux/magicbox/patches/001-magicbox_support.patch b/target/linux/magicbox/patches/001-magicbox_support.patch deleted file mode 100644 index 984902f7a..000000000 --- a/target/linux/magicbox/patches/001-magicbox_support.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- a/arch/ppc/platforms/4xx/Kconfig -+++ b/arch/ppc/platforms/4xx/Kconfig -@@ -53,6 +53,12 @@ config WALNUT - help - This option enables support for the IBM PPC405GP evaluation board. - -+config MAGICBOX -+ bool "MagicBox" -+ select WANT_EARLY_SERIAL -+ help -+ This option enables support for the IBM PPC405EP evaluation board. -+ - config XILINX_ML300 - bool "Xilinx-ML300" - select XILINX_VIRTEX_II_PRO -@@ -184,7 +190,7 @@ config BOOKE - - config IBM_OCP - bool -- depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT -+ depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT || MAGICBOX - default y - - config IBM_EMAC4 -@@ -194,7 +200,7 @@ config IBM_EMAC4 - - config BIOS_FIXUP - bool -- depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405 -+ depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405 || MAGICBOX - default y - - # OAK doesn't exist but wanted to keep this around for any future 403GCX boards -@@ -205,7 +211,7 @@ config 403GCX - - config 405EP - bool -- depends on BUBINGA -+ depends on BUBINGA || MAGICBOX - default y - - config 405GP ---- a/arch/ppc/platforms/4xx/Makefile -+++ b/arch/ppc/platforms/4xx/Makefile -@@ -14,6 +14,7 @@ obj-$(CONFIG_REDWOOD_6) += redwood6.o - obj-$(CONFIG_SYCAMORE) += sycamore.o - obj-$(CONFIG_TAISHAN) += taishan.o - obj-$(CONFIG_WALNUT) += walnut.o -+obj-$(CONFIG_MAGICBOX) += magicbox.o - obj-$(CONFIG_XILINX_ML300) += xilinx_ml300.o - obj-$(CONFIG_XILINX_ML403) += xilinx_ml403.o - ---- a/include/asm-ppc/ibm4xx.h -+++ b/include/asm-ppc/ibm4xx.h -@@ -19,6 +19,10 @@ - - #ifdef CONFIG_40x - -+#if defined(CONFIG_MAGICBOX) -+#include -+#endif -+ - #if defined(CONFIG_BUBINGA) - #include - #endif diff --git a/target/linux/magicbox/patches/100-cf_slot.patch b/target/linux/magicbox/patches/100-cf_slot.patch deleted file mode 100644 index c37497342..000000000 --- a/target/linux/magicbox/patches/100-cf_slot.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/drivers/ide/Kconfig -+++ b/drivers/ide/Kconfig -@@ -928,6 +928,14 @@ config BLK_DEV_MPC8xx_IDE - - If unsure, say N. - -+config BLK_DEV_MAGICBOX_IDE -+ tristate "MagicBox 2.0 CF IDE support" -+ depends on 4xx && IDE -+ help -+ This option provides support for IDE on MagicBox 2.0 boards. -+ -+ If unsure, say N. -+ - choice - prompt "Type of MPC8xx IDE interface" - depends on BLK_DEV_MPC8xx_IDE ---- a/drivers/ide/ppc/Makefile -+++ b/drivers/ide/ppc/Makefile -@@ -1,3 +1,4 @@ - - obj-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o - obj-$(CONFIG_BLK_DEV_MPC8xx_IDE) += mpc8xx.o -+obj-$(CONFIG_BLK_DEV_MAGICBOX_IDE) += magicbox_ide.o -- cgit v1.2.3