From f7bbf53880298080015cc9f9b9e7a1405fe83c49 Mon Sep 17 00:00:00 2001 From: kaloz Date: Sat, 26 May 2007 15:36:22 +0000 Subject: fix magicbox, convert mtd mapping to platform_device, add support for combined flash layout git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7336 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/magicbox-2.6/patches/002-flash_map.patch | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 target/linux/magicbox-2.6/patches/002-flash_map.patch (limited to 'target/linux/magicbox-2.6/patches') diff --git a/target/linux/magicbox-2.6/patches/002-flash_map.patch b/target/linux/magicbox-2.6/patches/002-flash_map.patch deleted file mode 100644 index 415daa51b..000000000 --- a/target/linux/magicbox-2.6/patches/002-flash_map.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -urN linux.old/drivers/mtd/maps/Kconfig linux.dev/drivers/mtd/maps/Kconfig ---- linux.old/drivers/mtd/maps/Kconfig 2006-08-30 06:30:59.000000000 +0200 -+++ linux.dev/drivers/mtd/maps/Kconfig 2006-08-30 06:11:51.000000000 +0200 -@@ -323,6 +323,15 @@ - Walnut board. If you have one of these boards and would like to - use the flash chips on it, say 'Y'. - -+config MTD_MAGICMAP -+ tristate "Flash device mapped on IBM 405EP MagicBox" -+ depends on MTD_CFI && MTD_PARTITIONS && 40x && MAGICBOX -+ help -+ This enables access routines for the flash chips on the IBM 405EP -+ MagicBox board. If you have one of these boards and would like to -+ use the flash chips on it, say 'Y'. -+ -+ - config MTD_EBONY - tristate "Flash devices mapped on IBM 440GP Ebony" - depends on MTD_JEDECPROBE && EBONY -diff -urN linux.old/drivers/mtd/maps/Makefile linux.dev/drivers/mtd/maps/Makefile ---- linux.old/drivers/mtd/maps/Makefile 2006-08-30 06:30:59.000000000 +0200 -+++ linux.dev/drivers/mtd/maps/Makefile 2006-08-30 06:11:51.000000000 +0200 -@@ -58,6 +58,7 @@ - obj-$(CONFIG_MTD_BEECH) += beech-mtd.o - obj-$(CONFIG_MTD_ARCTIC) += arctic-mtd.o - obj-$(CONFIG_MTD_WALNUT) += walnut.o -+obj-$(CONFIG_MTD_MAGICMAP) += magicmap.o - obj-$(CONFIG_MTD_H720X) += h720x-flash.o - obj-$(CONFIG_MTD_SBC8240) += sbc8240.o - obj-$(CONFIG_MTD_NOR_TOTO) += omap-toto-flash.o -- cgit v1.2.3