backport jffs2 changes and flash map from buildroot-ng
[openwrt/svn-archive/archive.git] / openwrt / target / linux / linux-2.4 / patches / generic / 006-winbond_flashchip_fix.patch
1 diff -ur linux-2.4.30/drivers/mtd/chips/gen_probe.c linux-2.4.30.openwrt/drivers/mtd/chips/gen_probe.c
2 --- linux-2.4.30/drivers/mtd/chips/gen_probe.c 2003-08-25 13:44:42.000000000 +0200
3 +++ linux-2.4.30.openwrt/drivers/mtd/chips/gen_probe.c 2005-12-07 10:53:43.000000000 +0100
4 @@ -329,6 +329,7 @@
5 #endif
6 #ifdef CONFIG_MTD_CFI_AMDSTD
7 case 0x0002:
8 + case 0x0006:
9 return cfi_cmdset_0002(map, primary);
10 #endif
11 #ifdef CONFIG_MTD_CFI_STAA