diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-06-30 15:21:35 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-06-30 15:21:35 +0000 |
commit | 7f55d0c9a84e1c4bff00e64e60d9daeec456dafa (patch) | |
tree | 58f544b110d119cf300da6a9a4bd1502d2cd8e58 /target/linux/adm5120-2.6/patches/101-mtd-mxflash.patch | |
parent | 9e922402c2d1bddfa6cce8e7534771cfdfade3fe (diff) | |
download | master-187ad058-7f55d0c9a84e1c4bff00e64e60d9daeec456dafa.tar.gz master-187ad058-7f55d0c9a84e1c4bff00e64e60d9daeec456dafa.tar.bz2 master-187ad058-7f55d0c9a84e1c4bff00e64e60d9daeec456dafa.zip |
Oops! I've copied r7557 instead of r7757, sorry
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7799 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/patches/101-mtd-mxflash.patch')
-rwxr-xr-x | target/linux/adm5120-2.6/patches/101-mtd-mxflash.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/adm5120-2.6/patches/101-mtd-mxflash.patch b/target/linux/adm5120-2.6/patches/101-mtd-mxflash.patch deleted file mode 100755 index 754a91e09f..0000000000 --- a/target/linux/adm5120-2.6/patches/101-mtd-mxflash.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- linux-2.6.19.2/drivers/mtd/chips/Kconfig.old 2007-01-11 03:10:36.000000000 +0800 -+++ linux-2.6.19.2/drivers/mtd/chips/Kconfig 2007-03-29 14:43:32.000000000 +0800 -@@ -199,6 +199,14 @@ - provides support for one of those command sets, used on chips - including the AMD Am29LV320. - -+config MTD_CFI_AMDSTD_FORCE_BOTTOM_BOOT -+ bool "Force bottom boot for Macronix flash chips" -+ depends on MTD_CFI_AMDSTD -+ help -+ Some Macronix flash chips have wrong CFI info, and the driver may -+ detect the type incorrectly. Select this if the chip part number -+ ends with BTC. -+ - config MTD_CFI_STAA - tristate "Support for ST (Advanced Architecture) flash chips" - depends on MTD_GEN_PROBE ---- linux-2.6.19.2/drivers/mtd/chips/cfi_cmdset_0002.c.old 2007-03-22 16:14:56.000000000 +0800 -+++ linux-2.6.19.2/drivers/mtd/chips/cfi_cmdset_0002.c 2007-03-29 14:07:28.000000000 +0800 -@@ -320,6 +320,11 @@ - cfi_tell_features(extp); - #endif - -+#ifdef CONFIG_MTD_CFI_AMDSTD_FORCE_BOTTOM_BOOT -+ extp->TopBottom = 2; -+ bootloc = extp->TopBottom; -+#endif -+ - bootloc = extp->TopBottom; - if ((bootloc != 2) && (bootloc != 3)) { - printk(KERN_WARNING "%s: CFI does not contain boot " |