Updated yaffs2, thanks to David Goodenough (#1779)
[openwrt.git] / target / linux / brcm63xx-2.6 / patches / 150-sst_flash.patch
1 diff -urN linux-2.6.19.2/drivers/mtd/chips/jedec_probe.c linux-2.6.19.2.new/drivers/mtd/chips/jedec_probe.c
2 --- linux-2.6.19.2/drivers/mtd/chips/jedec_probe.c 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2.new/drivers/mtd/chips/jedec_probe.c 2007-04-09 22:33:05.000000000 +0200
4 @@ -158,6 +158,7 @@
5 #define SST49LF030A 0x001C
6 #define SST49LF040A 0x0051
7 #define SST49LF080A 0x005B
8 +#define SST39VF6402B 0x236C
9
10 /* Toshiba */
11 #define TC58FVT160 0x00C2
12 @@ -1494,7 +1495,23 @@
13 ERASEINFO(0x1000,256),
14 ERASEINFO(0x1000,256)
15 }
16 -
17 + }, {
18 + .mfr_id = MANUFACTURER_SST,
19 + .dev_id = SST39VF6402B,
20 + .name = "SST 39VF6402B",
21 + .uaddr = {
22 + [0] = MTD_UADDR_0x5555_0x2AAA, /* x8 */
23 + [1] = MTD_UADDR_0x5555_0x2AAA /* x16 */
24 + },
25 + .DevSize = SIZE_8MiB,
26 + .CmdSet = P_ID_AMD_STD,
27 + .NumEraseRegions= 4,
28 + .regions = {
29 + ERASEINFO(0x2000,256),
30 + ERASEINFO(0x2000,256),
31 + ERASEINFO(0x2000,256),
32 + ERASEINFO(0x2000,256)
33 + }
34 }, {
35 .mfr_id = MANUFACTURER_ST, /* FIXME - CFI device? */
36 .dev_id = M29W800DT,
This page took 0.040139 seconds and 5 git commands to generate.