blob: bc16b2e455ae1f060a547d954e4d572252ff0c7d [file] [log] [blame]
Ollie Lho184a4042005-11-26 21:55:36 +00001/*
Uwe Hermannd1107642007-08-29 17:52:32 +00002 * This file is part of the flashrom project.
Ollie Lho184a4042005-11-26 21:55:36 +00003 *
Uwe Hermannd22a1d42007-09-09 20:21:05 +00004 * Copyright (C) 2000 Silicon Integrated System Corporation
5 * Copyright (C) 2004 Tyan Corp
Stefan Reinauer4c390c82008-07-02 13:33:09 +00006 * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org>
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +00007 * Copyright (C) 2006-2009 Carl-Daniel Hailfinger
Uwe Hermannd1107642007-08-29 17:52:32 +00008 *
Stefan Reinauerce532972007-05-23 17:20:56 +00009 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
Ollie Lho184a4042005-11-26 21:55:36 +000013 *
Stefan Reinauerce532972007-05-23 17:20:56 +000014 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
Ollie Lho184a4042005-11-26 21:55:36 +000018 *
Stefan Reinauerce532972007-05-23 17:20:56 +000019 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
Uwe Hermannd1107642007-08-29 17:52:32 +000021 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Ollie Lho184a4042005-11-26 21:55:36 +000022 */
23
24#include "flash.h"
Ollie Lho184a4042005-11-26 21:55:36 +000025
Uwe Hermannfc425e82008-03-16 02:06:25 +000026/**
27 * List of supported flash ROM chips.
28 *
29 * Please keep the list sorted by vendor name and chip name, so that
30 * the output of 'flashrom -L' is alphabetically sorted.
31 */
Ollie Lho184a4042005-11-26 21:55:36 +000032struct flashchip flashchips[] = {
Uwe Hermannfc425e82008-03-16 02:06:25 +000033
FENG yu ningff692fb2008-12-08 18:15:10 +000034 /* Vendor, Chip, Vendor ID, Chip ID,
35 * Total size (kB), Page size (B),
36 * Test status,
37 * Probe function, Erase function, Write function, Read function
38 */
39
Stephan Guilloux5c5b5252009-01-08 03:40:17 +000040 {
41 .vendor = "AMD",
42 .name = "Am29F002(N)BB",
43 .manufacture_id = AMD_ID,
44 .model_id = AM_29F002BB,
45 .total_size = 256,
46 .page_size = 256,
47 .tested = TEST_UNTESTED,
48 .probe = probe_jedec,
49 .erase = erase_chip_jedec,
50 .write = write_en29f002a,
FENG yu ningff692fb2008-12-08 18:15:10 +000051 },
52
Stephan Guilloux5c5b5252009-01-08 03:40:17 +000053 {
54 .vendor = "AMD",
55 .name = "Am29F002(N)BT",
56 .manufacture_id = AMD_ID,
57 .model_id = AM_29F002BT,
58 .total_size = 256,
59 .page_size = 256,
60 .tested = TEST_OK_PREW,
61 .probe = probe_jedec,
62 .erase = erase_chip_jedec,
63 .write = write_en29f002a,
FENG yu ningff692fb2008-12-08 18:15:10 +000064 },
65
Stephan Guilloux5c5b5252009-01-08 03:40:17 +000066 {
67 .vendor = "AMD",
68 .name = "Am29F016D",
69 .manufacture_id = AMD_ID,
70 .model_id = AM_29F016D,
71 .total_size = 2048,
72 .page_size = 64 * 1024,
73 .tested = TEST_UNTESTED,
74 .probe = probe_29f040b,
75 .erase = erase_29f040b,
76 .write = write_29f040b,
FENG yu ningff692fb2008-12-08 18:15:10 +000077 },
78
Stephan Guilloux5c5b5252009-01-08 03:40:17 +000079 {
80 .vendor = "AMD",
81 .name = "Am29F040B",
82 .manufacture_id = AMD_ID,
83 .model_id = AM_29F040B,
84 .total_size = 512,
85 .page_size = 64 * 1024,
86 .tested = TEST_OK_PREW,
87 .probe = probe_29f040b,
88 .erase = erase_29f040b,
89 .write = write_29f040b,
FENG yu ningff692fb2008-12-08 18:15:10 +000090 },
91
Stephan Guilloux5c5b5252009-01-08 03:40:17 +000092 {
93 .vendor = "AMD",
Peter Stuge8440cc02009-01-25 23:55:12 +000094 .name = "Am29F080B",
95 .manufacture_id = 0x01,
96 .model_id = 0xd5,
97 .total_size = 1024,
98 .page_size = 64 * 1024,
99 .tested = TEST_UNTESTED,
100 .probe = probe_jedec,
101 .erase = erase_29f040b,
102 .write = write_29f040b,
103 },
104
105 {
106 .vendor = "AMD",
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000107 .name = "Am29LV040B",
108 .manufacture_id = AMD_ID,
109 .model_id = AM_29LV040B,
110 .total_size = 512,
111 .page_size = 64 * 1024,
112 .tested = TEST_UNTESTED,
113 .probe = probe_29f040b,
114 .erase = erase_29f040b,
115 .write = write_29f040b,
FENG yu ningff692fb2008-12-08 18:15:10 +0000116 },
117
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000118 {
Peter Stuge8440cc02009-01-25 23:55:12 +0000119 .vendor = "AMD",
120 .name = "Am29LV081B",
121 .manufacture_id = 0x01,
122 .model_id = 0x38,
123 .total_size = 1024,
124 .page_size = 64 * 1024,
125 .tested = TEST_UNTESTED,
126 .probe = probe_29f040b,
127 .erase = erase_29f040b,
128 .write = write_29f040b,
129 },
130
131 {
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000132 .vendor = "ASD",
133 .name = "AE49F2008",
134 .manufacture_id = ASD_ID,
135 .model_id = ASD_AE49F2008,
136 .total_size = 256,
137 .page_size = 128,
138 .tested = TEST_UNTESTED,
139 .probe = probe_jedec,
140 .erase = erase_chip_jedec,
141 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +0000142 },
143
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000144 {
145 .vendor = "Atmel",
146 .name = "AT25DF021",
147 .manufacture_id = ATMEL_ID,
148 .model_id = AT_25DF021,
149 .total_size = 256,
150 .page_size = 256,
151 .tested = TEST_UNTESTED,
152 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000153 .erase = spi_chip_erase_60_c7,
154 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000155 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000156 },
157
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000158 {
159 .vendor = "Atmel",
160 .name = "AT25DF041A",
161 .manufacture_id = ATMEL_ID,
162 .model_id = AT_25DF041A,
163 .total_size = 512,
164 .page_size = 256,
165 .tested = TEST_UNTESTED,
166 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000167 .erase = spi_chip_erase_60_c7,
168 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000169 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000170 },
171
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000172 {
173 .vendor = "Atmel",
174 .name = "AT25DF081",
175 .manufacture_id = ATMEL_ID,
176 .model_id = AT_25DF081,
177 .total_size = 1024,
178 .page_size = 256,
179 .tested = TEST_UNTESTED,
180 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000181 .erase = spi_chip_erase_60_c7,
182 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000183 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000184 },
185
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000186 {
187 .vendor = "Atmel",
188 .name = "AT25DF161",
189 .manufacture_id = ATMEL_ID,
190 .model_id = AT_25DF161,
191 .total_size = 2048,
192 .page_size = 256,
193 .tested = TEST_UNTESTED,
194 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000195 .erase = spi_chip_erase_60_c7,
196 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000197 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000198 },
199
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000200 {
201 .vendor = "Atmel",
202 .name = "AT25DF321",
203 .manufacture_id = ATMEL_ID,
204 .model_id = AT_25DF321,
205 .total_size = 4096,
206 .page_size = 256,
207 .tested = TEST_OK_PREW,
208 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000209 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000210 .write = spi_chip_write,
211 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000212 },
213
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000214 {
215 .vendor = "Atmel",
216 .name = "AT25DF321A",
217 .manufacture_id = ATMEL_ID,
218 .model_id = AT_25DF321A,
219 .total_size = 4096,
220 .page_size = 256,
221 .tested = TEST_UNTESTED,
222 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000223 .erase = spi_chip_erase_60_c7,
224 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000225 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000226 },
227
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000228 {
229 .vendor = "Atmel",
230 .name = "AT25DF641",
231 .manufacture_id = ATMEL_ID,
232 .model_id = AT_25DF641,
233 .total_size = 8192,
234 .page_size = 256,
235 .tested = TEST_UNTESTED,
236 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000237 .erase = spi_chip_erase_60_c7,
238 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000239 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000240 },
241
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000242 {
243 .vendor = "Atmel",
244 .name = "AT25F512B",
245 .manufacture_id = ATMEL_ID,
246 .model_id = AT_25F512B,
247 .total_size = 64,
248 .page_size = 256,
249 .tested = TEST_UNTESTED,
250 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000251 .erase = spi_chip_erase_60_c7,
252 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000253 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000254 },
255
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000256 {
257 .vendor = "Atmel",
258 .name = "AT25FS010",
259 .manufacture_id = ATMEL_ID,
260 .model_id = AT_25FS010,
261 .total_size = 128,
262 .page_size = 256,
263 .tested = TEST_UNTESTED,
264 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000265 .erase = spi_chip_erase_60_c7,
266 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000267 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000268 },
269
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000270 {
271 .vendor = "Atmel",
272 .name = "AT25FS040",
273 .manufacture_id = ATMEL_ID,
274 .model_id = AT_25FS040,
275 .total_size = 512,
276 .page_size = 256,
277 .tested = TEST_UNTESTED,
278 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000279 .erase = spi_chip_erase_60_c7,
280 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000281 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000282 },
283
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000284 {
285 .vendor = "Atmel",
286 .name = "AT26DF041",
287 .manufacture_id = ATMEL_ID,
288 .model_id = AT_26DF041,
289 .total_size = 512,
290 .page_size = 256,
291 .tested = TEST_UNTESTED,
292 .probe = probe_spi_rdid,
293 .erase = NULL,
294 .write = NULL /* Incompatible Page write */,
295 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000296 },
297
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000298 {
299 .vendor = "Atmel",
300 .name = "AT26DF081A",
301 .manufacture_id = ATMEL_ID,
302 .model_id = AT_26DF081A,
303 .total_size = 1024,
304 .page_size = 256,
305 .tested = TEST_UNTESTED,
306 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000307 .erase = spi_chip_erase_60_c7,
308 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000309 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000310 },
311
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000312 {
313 .vendor = "Atmel",
314 .name = "AT26DF161",
315 .manufacture_id = ATMEL_ID,
316 .model_id = AT_26DF161,
317 .total_size = 2048,
318 .page_size = 256,
319 .tested = TEST_UNTESTED,
320 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000321 .erase = spi_chip_erase_60_c7,
322 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000323 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000324 },
325
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000326 {
327 .vendor = "Atmel",
328 .name = "AT26DF161A",
329 .manufacture_id = ATMEL_ID,
330 .model_id = AT_26DF161A,
331 .total_size = 2048,
332 .page_size = 256,
333 .tested = TEST_UNTESTED,
334 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000335 .erase = spi_chip_erase_60_c7,
336 .write = spi_chip_write,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000337 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000338 },
339
340 /*The AT26DF321 has the same ID as the AT25DF321. */
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000341 /*{
342 .vendor = "Atmel",
343 .name = "AT26DF321",
344 .manufacture_id = ATMEL_ID,
345 .model_id = AT_26DF321,
346 .total_size = 4096,
347 .page_size = 256,
348 .tested = TEST_UNTESTED,
349 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000350 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000351 .write = spi_chip_write,
352 .read = spi_chip_read,
353 },*/
FENG yu ningff692fb2008-12-08 18:15:10 +0000354
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000355 {
356 .vendor = "Atmel",
357 .name = "AT26F004",
358 .manufacture_id = ATMEL_ID,
359 .model_id = AT_26F004,
360 .total_size = 512,
361 .page_size = 256,
362 .tested = TEST_UNTESTED,
363 .probe = probe_spi_rdid,
Carl-Daniel Hailfingerf8bc28f2009-01-08 16:53:13 +0000364 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000365 .write = NULL /* Incompatible Page write */,
366 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000367 },
368
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000369 {
370 .vendor = "Atmel",
371 .name = "AT29C020",
372 .manufacture_id = ATMEL_ID,
373 .model_id = AT_29C020,
374 .total_size = 256,
375 .page_size = 256,
376 .tested = TEST_OK_PREW,
377 .probe = probe_jedec,
378 .erase = erase_chip_jedec,
379 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +0000380 },
381
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000382 {
383 .vendor = "Atmel",
384 .name = "AT29C040A",
385 .manufacture_id = ATMEL_ID,
386 .model_id = AT_29C040A,
387 .total_size = 512,
388 .page_size = 256,
389 .tested = TEST_UNTESTED,
390 .probe = probe_jedec,
391 .erase = erase_chip_jedec,
392 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +0000393 },
394
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000395 {
396 .vendor = "Atmel",
397 .name = "AT45CS1282",
398 .manufacture_id = ATMEL_ID,
399 .model_id = AT_45CS1282,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000400 .total_size = 16896 /* No power of two sizes */,
401 .page_size = 1056 /* No power of two sizes */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000402 .tested = TEST_BAD_READ,
403 .probe = probe_spi_rdid,
404 .erase = NULL,
405 .write = NULL /* Incompatible Page write */,
406 .read = NULL /* Incompatible read */,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000407 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000408
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000409 {
410 .vendor = "Atmel",
411 .name = "AT45DB011D",
412 .manufacture_id = ATMEL_ID,
413 .model_id = AT_45DB011D,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000414 .total_size = 128 /* Size can only be determined from status register */,
415 .page_size = 256 /* Size can only be determined from status register */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000416 .tested = TEST_BAD_READ,
417 .probe = probe_spi_rdid,
418 .erase = NULL,
419 .write = NULL,
420 .read = NULL,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000421 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000422
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000423 {
424 .vendor = "Atmel",
425 .name = "AT45DB021D",
426 .manufacture_id = ATMEL_ID,
427 .model_id = AT_45DB021D,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000428 .total_size = 256 /* Size can only be determined from status register */,
429 .page_size = 256 /* Size can only be determined from status register */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000430 .tested = TEST_BAD_READ,
431 .probe = probe_spi_rdid,
432 .erase = NULL,
433 .write = NULL,
434 .read = NULL,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000435 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000436
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000437 {
438 .vendor = "Atmel",
439 .name = "AT45DB041D",
440 .manufacture_id = ATMEL_ID,
441 .model_id = AT_45DB041D,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000442 .total_size = 512 /* Size can only be determined from status register */,
443 .page_size = 256 /* Size can only be determined from status register */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000444 .tested = TEST_BAD_READ,
445 .probe = probe_spi_rdid,
446 .erase = NULL,
447 .write = NULL,
448 .read = NULL,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000449 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000450
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000451 {
452 .vendor = "Atmel",
453 .name = "AT45DB081D",
454 .manufacture_id = ATMEL_ID,
455 .model_id = AT_45DB081D,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000456 .total_size = 1024 /* Size can only be determined from status register */,
457 .page_size = 256 /* Size can only be determined from status register */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000458 .tested = TEST_BAD_READ,
459 .probe = probe_spi_rdid,
460 .erase = NULL,
461 .write = NULL,
462 .read = NULL,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000463 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000464
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000465 {
466 .vendor = "Atmel",
467 .name = "AT45DB161D",
468 .manufacture_id = ATMEL_ID,
469 .model_id = AT_45DB161D,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000470 .total_size = 2048 /* Size can only be determined from status register */,
471 .page_size = 512 /* Size can only be determined from status register */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000472 .tested = TEST_BAD_READ,
473 .probe = probe_spi_rdid,
474 .erase = NULL,
475 .write = NULL,
476 .read = NULL,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000477 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000478
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000479 {
480 .vendor = "Atmel",
481 .name = "AT45DB321C",
482 .manufacture_id = ATMEL_ID,
483 .model_id = AT_45DB321C,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000484 .total_size = 4224 /* No power of two sizes */,
485 .page_size = 528 /* No power of two sizes */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000486 .tested = TEST_BAD_READ,
487 .probe = probe_spi_rdid,
488 .erase = NULL,
489 .write = NULL,
490 .read = NULL /* Incompatible read */,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000491 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000492
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000493 {
494 .vendor = "Atmel",
495 .name = "AT45DB321D",
496 .manufacture_id = ATMEL_ID,
497 .model_id = AT_45DB321D,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000498 .total_size = 4096 /* Size can only be determined from status register */,
499 .page_size = 512 /* Size can only be determined from status register */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000500 .tested = TEST_BAD_READ,
501 .probe = probe_spi_rdid,
502 .erase = NULL,
503 .write = NULL,
504 .read = NULL,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000505 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000506
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000507 {
508 .vendor = "Atmel",
509 .name = "AT45DB642D",
510 .manufacture_id = ATMEL_ID,
511 .model_id = AT_45DB642D,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000512 .total_size = 8192 /* Size can only be determined from status register */,
513 .page_size = 1024 /* Size can only be determined from status register */,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000514 .tested = TEST_BAD_READ,
515 .probe = probe_spi_rdid,
516 .erase = NULL,
517 .write = NULL,
518 .read = NULL,
Carl-Daniel Hailfinger66afb362009-03-19 12:18:13 +0000519 },
FENG yu ningff692fb2008-12-08 18:15:10 +0000520
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000521 {
522 .vendor = "Atmel",
523 .name = "AT49F002(N)",
524 .manufacture_id = ATMEL_ID,
525 .model_id = AT_49F002N,
526 .total_size = 256,
527 .page_size = 256,
528 .tested = TEST_UNTESTED,
529 .probe = probe_jedec,
530 .erase = erase_chip_jedec,
531 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000532 },
533
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000534 {
535 .vendor = "Atmel",
536 .name = "AT49F002(N)T",
537 .manufacture_id = ATMEL_ID,
538 .model_id = AT_49F002NT,
539 .total_size = 256,
540 .page_size = 256,
541 .tested = TEST_OK_PREW,
542 .probe = probe_jedec,
543 .erase = erase_chip_jedec,
544 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000545 },
546
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000547 {
548 .vendor = "AMIC",
549 .name = "A25L40P",
550 .manufacture_id = AMIC_ID,
551 .model_id = AMIC_A25L40P,
552 .total_size = 512,
553 .page_size = 256,
554 .tested = TEST_OK_PREW,
555 .probe = probe_spi_rdid4,
556 .erase = spi_chip_erase_c7,
557 .write = spi_chip_write,
558 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000559 },
560
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000561 {
562 .vendor = "AMIC",
563 .name = "A29002B",
564 .manufacture_id = AMIC_ID_NOPREFIX,
565 .model_id = AMIC_A29002B,
566 .total_size = 256,
567 .page_size = 64 * 1024,
568 .tested = TEST_UNTESTED,
569 .probe = probe_29f002,
570 .erase = erase_29f002,
571 .write = write_29f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000572 },
573
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000574 {
575 .vendor = "AMIC",
576 .name = "A29002T",
577 .manufacture_id = AMIC_ID_NOPREFIX,
578 .model_id = AMIC_A29002T,
579 .total_size = 256,
580 .page_size = 64 * 1024,
581 .tested = TEST_OK_PREW,
582 .probe = probe_29f002,
583 .erase = erase_29f002,
584 .write = write_29f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000585 },
586
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000587 {
588 .vendor = "AMIC",
589 .name = "A29040B",
590 .manufacture_id = AMIC_ID_NOPREFIX,
591 .model_id = AMIC_A29040B,
592 .total_size = 512,
593 .page_size = 64 * 1024,
594 .tested = TEST_OK_PR,
595 .probe = probe_29f040b,
596 .erase = erase_29f040b,
597 .write = write_29f040b,
FENG yu ningff692fb2008-12-08 18:15:10 +0000598 },
599
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000600 {
601 .vendor = "AMIC",
602 .name = "A49LF040A",
603 .manufacture_id = AMIC_ID_NOPREFIX,
604 .model_id = AMIC_A49LF040A,
605 .total_size = 512,
606 .page_size = 64 * 1024,
607 .tested = TEST_OK_PREW,
608 .probe = probe_49fl00x,
609 .erase = erase_49fl00x,
610 .write = write_49fl00x,
FENG yu ningff692fb2008-12-08 18:15:10 +0000611 },
612
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000613 {
614 .vendor = "EMST",
615 .name = "F49B002UA",
616 .manufacture_id = EMST_ID,
617 .model_id = EMST_F49B002UA,
618 .total_size = 256,
619 .page_size = 4096,
620 .tested = TEST_UNTESTED,
621 .probe = probe_jedec,
622 .erase = erase_chip_jedec,
623 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000624 },
625
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000626 {
627 .vendor = "EON",
628 .name = "EN29F002(A)(N)B",
629 .manufacture_id = EON_ID,
630 .model_id = EN_29F002B,
631 .total_size = 256,
632 .page_size = 256,
633 .tested = TEST_UNTESTED,
634 .probe = probe_jedec,
635 .erase = erase_chip_jedec,
636 .write = write_en29f002a,
FENG yu ningff692fb2008-12-08 18:15:10 +0000637 },
638
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000639 {
640 .vendor = "EON",
641 .name = "EN29F002(A)(N)T",
642 .manufacture_id = EON_ID,
643 .model_id = EN_29F002T,
644 .total_size = 256,
645 .page_size = 256,
646 .tested = TEST_OK_PREW,
647 .probe = probe_jedec,
648 .erase = erase_chip_jedec,
649 .write = write_en29f002a,
FENG yu ningff692fb2008-12-08 18:15:10 +0000650 },
651
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000652 {
653 .vendor = "Fujitsu",
654 .name = "MBM29F004BC",
655 .manufacture_id = FUJITSU_ID,
656 .model_id = MBM29F004BC,
657 .total_size = 512,
658 .page_size = 64 * 1024,
659 .tested = TEST_UNTESTED,
660 .probe = probe_jedec,
661 .erase = NULL,
662 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +0000663 },
664
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000665 {
666 .vendor = "Fujitsu",
667 .name = "MBM29F004TC",
668 .manufacture_id = FUJITSU_ID,
669 .model_id = MBM29F004TC,
670 .total_size = 512,
671 .page_size = 64 * 1024,
672 .tested = TEST_UNTESTED,
673 .probe = probe_jedec,
674 .erase = NULL,
675 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +0000676 },
677
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000678 {
679 .vendor = "Fujitsu",
680 .name = "MBM29F400BC",
681 .manufacture_id = FUJITSU_ID,
682 .model_id = MBM29F400BC,
683 .total_size = 512,
684 .page_size = 64 * 1024,
685 .tested = TEST_UNTESTED,
686 .probe = probe_m29f400bt,
687 .erase = erase_m29f400bt,
688 .write = write_coreboot_m29f400bt,
FENG yu ningff692fb2008-12-08 18:15:10 +0000689 },
690
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000691 {
692 .vendor = "Fujitsu",
693 .name = "MBM29F400TC",
694 .manufacture_id = FUJITSU_ID,
695 .model_id = MBM29F400TC,
696 .total_size = 512,
697 .page_size = 64 * 1024,
698 .tested = TEST_UNTESTED,
699 .probe = probe_m29f400bt,
700 .erase = erase_m29f400bt,
701 .write = write_coreboot_m29f400bt,
FENG yu ningff692fb2008-12-08 18:15:10 +0000702 },
703
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000704 {
705 .vendor = "Intel",
706 .name = "82802AB",
707 .manufacture_id = INTEL_ID,
708 .model_id = 173,
709 .total_size = 512,
710 .page_size = 64 * 1024,
711 .tested = TEST_OK_PREW,
712 .probe = probe_82802ab,
713 .erase = erase_82802ab,
714 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +0000715 },
716
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000717 {
718 .vendor = "Intel",
719 .name = "82802AC",
720 .manufacture_id = INTEL_ID,
721 .model_id = 172,
722 .total_size = 1024,
723 .page_size = 64 * 1024,
724 .tested = TEST_OK_PREW,
725 .probe = probe_82802ab,
726 .erase = erase_82802ab,
727 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +0000728 },
729
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000730 {
731 .vendor = "Macronix",
732 .name = "MX25L512",
733 .manufacture_id = MX_ID,
734 .model_id = MX_25L512,
735 .total_size = 64,
736 .page_size = 256,
737 .tested = TEST_UNTESTED,
738 .probe = probe_spi_rdid,
Stephan Guillouxfd315502009-04-20 22:54:13 +0000739 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000740 .write = spi_chip_write,
741 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000742 },
743
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000744 {
745 .vendor = "Macronix",
746 .name = "MX25L1005",
747 .manufacture_id = MX_ID,
748 .model_id = MX_25L1005,
749 .total_size = 128,
750 .page_size = 256,
751 .tested = TEST_UNTESTED,
752 .probe = probe_spi_rdid,
Stephan Guillouxfd315502009-04-20 22:54:13 +0000753 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000754 .write = spi_chip_write,
755 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000756 },
757
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000758 {
759 .vendor = "Macronix",
760 .name = "MX25L2005",
761 .manufacture_id = MX_ID,
762 .model_id = MX_25L2005,
763 .total_size = 256,
764 .page_size = 256,
765 .tested = TEST_UNTESTED,
766 .probe = probe_spi_rdid,
Stephan Guillouxfd315502009-04-20 22:54:13 +0000767 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000768 .write = spi_chip_write,
769 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000770 },
771
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000772 {
773 .vendor = "Macronix",
774 .name = "MX25L4005",
775 .manufacture_id = MX_ID,
776 .model_id = MX_25L4005,
777 .total_size = 512,
778 .page_size = 256,
779 .tested = TEST_OK_PREW,
780 .probe = probe_spi_rdid,
Stephan Guillouxfd315502009-04-20 22:54:13 +0000781 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000782 .write = spi_chip_write,
783 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000784 },
785
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000786 {
787 .vendor = "Macronix",
788 .name = "MX25L8005",
789 .manufacture_id = MX_ID,
790 .model_id = MX_25L8005,
791 .total_size = 1024,
792 .page_size = 256,
793 .tested = TEST_OK_PREW,
794 .probe = probe_spi_rdid,
Stephan Guillouxfd315502009-04-20 22:54:13 +0000795 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000796 .write = spi_chip_write,
797 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000798 },
799
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000800 {
801 .vendor = "Macronix",
802 .name = "MX25L1605",
803 .manufacture_id = MX_ID,
804 .model_id = MX_25L1605,
805 .total_size = 2048,
806 .page_size = 256,
807 .tested = TEST_UNTESTED,
808 .probe = probe_spi_rdid,
Stephan Guillouxe39631c2009-04-19 23:24:26 +0000809 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000810 .write = spi_chip_write,
811 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000812 },
813
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000814 {
815 .vendor = "Macronix",
Stephan Guillouxf5c70902009-04-19 23:04:00 +0000816 .name = "MX25L1635D",
817 .manufacture_id = MX_ID,
818 .model_id = MX_25L1635D,
819 .total_size = 2048,
820 .page_size = 256,
821 .tested = TEST_UNTESTED,
822 .probe = probe_spi_rdid,
Stephan Guillouxe39631c2009-04-19 23:24:26 +0000823 .erase = spi_chip_erase_60_c7,
Stephan Guillouxf5c70902009-04-19 23:04:00 +0000824 .write = spi_chip_write,
825 .read = spi_chip_read,
826 },
Stephan Guillouxfd315502009-04-20 22:54:13 +0000827
Stephan Guillouxf5c70902009-04-19 23:04:00 +0000828 {
829 .vendor = "Macronix",
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000830 .name = "MX25L3205",
831 .manufacture_id = MX_ID,
832 .model_id = MX_25L3205,
833 .total_size = 4096,
834 .page_size = 256,
835 .tested = TEST_OK_PREW,
836 .probe = probe_spi_rdid,
Stephan Guillouxfd315502009-04-20 22:54:13 +0000837 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000838 .write = spi_chip_write,
839 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000840 },
841
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000842 {
843 .vendor = "Macronix",
844 .name = "MX25L6405",
845 .manufacture_id = MX_ID,
846 .model_id = MX_25L6405,
847 .total_size = 8192,
848 .page_size = 256,
849 .tested = TEST_UNTESTED,
850 .probe = probe_spi_rdid,
Stephan Guillouxfd315502009-04-20 22:54:13 +0000851 .erase = spi_chip_erase_60_c7,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000852 .write = spi_chip_write,
853 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000854 },
855
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000856 {
857 .vendor = "Macronix",
Stephan Guilloux2f132fe2009-04-21 01:47:16 +0000858 .name = "MX25L12805",
859 .manufacture_id = MX_ID,
860 .model_id = MX_25L12805,
861 .total_size = 16384,
862 .page_size = 256,
863 .tested = TEST_UNTESTED,
864 .probe = probe_spi_rdid,
865 .erase = spi_chip_erase_60_c7,
866 .write = spi_chip_write,
867 .read = spi_chip_read,
868 },
869
870 {
871 .vendor = "Macronix",
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000872 .name = "MX29F002B",
873 .manufacture_id = MX_ID,
874 .model_id = MX_29F002B,
875 .total_size = 256,
876 .page_size = 64 * 1024,
877 .tested = TEST_UNTESTED,
878 .probe = probe_29f002,
879 .erase = erase_29f002,
880 .write = write_29f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000881 },
882
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000883 {
884 .vendor = "Macronix",
885 .name = "MX29F002T",
886 .manufacture_id = MX_ID,
887 .model_id = MX_29F002T,
888 .total_size = 256,
889 .page_size = 64 * 1024,
890 .tested = TEST_UNTESTED,
891 .probe = probe_29f002,
892 .erase = erase_29f002,
893 .write = write_29f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000894 },
895
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000896 {
897 .vendor = "Macronix",
898 .name = "MX29LV040C",
899 .manufacture_id = MX_ID,
900 .model_id = MX_29LV040C,
901 .total_size = 512,
902 .page_size = 64 * 1024,
903 .tested = TEST_OK_PR,
904 .probe = probe_29f002,
905 .erase = erase_29f002,
906 .write = write_29f002,
Carl-Daniel Hailfinger7de86392008-12-10 10:32:05 +0000907 },
908
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000909 {
910 .vendor = "Numonyx",
911 .name = "M25PE10",
912 .manufacture_id = ST_ID,
913 .model_id = 0x8011,
914 .total_size = 128,
915 .page_size = 256,
916 .tested = TEST_UNTESTED,
917 .probe = probe_spi_rdid,
918 .erase = spi_chip_erase_d8,
919 .write = spi_chip_write,
920 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000921 },
922
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000923 {
924 .vendor = "Numonyx",
925 .name = "M25PE20",
926 .manufacture_id = ST_ID,
927 .model_id = 0x8012,
928 .total_size = 256,
929 .page_size = 256,
930 .tested = TEST_UNTESTED,
931 .probe = probe_spi_rdid,
932 .erase = spi_chip_erase_d8,
933 .write = spi_chip_write,
934 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000935 },
936
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000937 {
938 .vendor = "Numonyx",
939 .name = "M25PE40",
940 .manufacture_id = ST_ID,
941 .model_id = 0x8013,
942 .total_size = 256,
943 .page_size = 256,
944 .tested = TEST_UNTESTED,
945 .probe = probe_spi_rdid,
946 .erase = spi_chip_erase_d8,
947 .write = spi_chip_write,
948 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000949 },
950
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000951 {
952 .vendor = "Numonyx",
953 .name = "M25PE80",
954 .manufacture_id = ST_ID,
955 .model_id = 0x8014,
956 .total_size = 1024,
957 .page_size = 256,
958 .tested = TEST_OK_PREW,
959 .probe = probe_spi_rdid,
960 .erase = spi_chip_erase_d8,
961 .write = spi_chip_write,
962 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000963 },
964
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000965 {
966 .vendor = "Numonyx",
967 .name = "M25PE16",
968 .manufacture_id = ST_ID,
969 .model_id = 0x8015,
970 .total_size = 2048,
971 .page_size = 256,
972 .tested = TEST_UNTESTED,
973 .probe = probe_spi_rdid,
974 .erase = spi_chip_erase_d8,
975 .write = spi_chip_write,
976 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000977 },
978
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000979 {
980 .vendor = "PMC",
981 .name = "Pm25LV010",
982 .manufacture_id = PMC_ID,
983 .model_id = PMC_25LV010,
984 .total_size = 128,
985 .page_size = 256,
986 .tested = TEST_UNTESTED,
987 .probe = probe_spi_rdid,
988 .erase = spi_chip_erase_c7,
989 .write = spi_chip_write,
990 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000991 },
992
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000993 {
994 .vendor = "PMC",
995 .name = "Pm25LV016B",
996 .manufacture_id = PMC_ID,
997 .model_id = PMC_25LV016B,
998 .total_size = 2048,
999 .page_size = 256,
1000 .tested = TEST_UNTESTED,
1001 .probe = probe_spi_rdid,
1002 .erase = spi_chip_erase_c7,
1003 .write = spi_chip_write,
1004 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001005 },
1006
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001007 {
1008 .vendor = "PMC",
1009 .name = "Pm25LV020",
1010 .manufacture_id = PMC_ID,
1011 .model_id = PMC_25LV020,
1012 .total_size = 256,
1013 .page_size = 256,
1014 .tested = TEST_UNTESTED,
1015 .probe = probe_spi_rdid,
1016 .erase = spi_chip_erase_c7,
1017 .write = spi_chip_write,
1018 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001019 },
1020
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001021 {
1022 .vendor = "PMC",
1023 .name = "Pm25LV040",
1024 .manufacture_id = PMC_ID,
1025 .model_id = PMC_25LV040,
1026 .total_size = 512,
1027 .page_size = 256,
1028 .tested = TEST_UNTESTED,
1029 .probe = probe_spi_rdid,
1030 .erase = spi_chip_erase_c7,
1031 .write = spi_chip_write,
1032 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001033 },
1034
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001035 {
1036 .vendor = "PMC",
1037 .name = "Pm25LV080B",
1038 .manufacture_id = PMC_ID,
1039 .model_id = PMC_25LV080B,
1040 .total_size = 1024,
1041 .page_size = 256,
1042 .tested = TEST_UNTESTED,
1043 .probe = probe_spi_rdid,
1044 .erase = spi_chip_erase_c7,
1045 .write = spi_chip_write,
1046 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001047 },
1048
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001049 {
1050 .vendor = "PMC",
1051 .name = "Pm25LV512",
1052 .manufacture_id = PMC_ID,
1053 .model_id = PMC_25LV512,
1054 .total_size = 64,
1055 .page_size = 256,
1056 .tested = TEST_UNTESTED,
1057 .probe = probe_spi_rdid,
1058 .erase = spi_chip_erase_c7,
1059 .write = spi_chip_write,
1060 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001061 },
1062
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001063 {
1064 .vendor = "PMC",
1065 .name = "Pm49FL002",
1066 .manufacture_id = PMC_ID_NOPREFIX,
1067 .model_id = PMC_49FL002,
1068 .total_size = 256,
1069 .page_size = 16 * 1024,
1070 .tested = TEST_OK_PREW,
1071 .probe = probe_49fl00x,
1072 .erase = erase_49fl00x,
1073 .write = write_49fl00x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001074 },
1075
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001076 {
1077 .vendor = "PMC",
1078 .name = "Pm49FL004",
1079 .manufacture_id = PMC_ID_NOPREFIX,
1080 .model_id = PMC_49FL004,
1081 .total_size = 512,
1082 .page_size = 64 * 1024,
1083 .tested = TEST_OK_PREW,
1084 .probe = probe_49fl00x,
1085 .erase = erase_49fl00x,
1086 .write = write_49fl00x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001087 },
1088
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001089 {
1090 .vendor = "Sharp",
1091 .name = "LHF00L04",
1092 .manufacture_id = SHARP_ID,
1093 .model_id = SHARP_LHF00L04,
1094 .total_size = 1024,
1095 .page_size = 64 * 1024,
1096 .tested = TEST_UNTESTED,
1097 .probe = probe_lhf00l04,
1098 .erase = erase_lhf00l04,
1099 .write = write_lhf00l04,
FENG yu ningff692fb2008-12-08 18:15:10 +00001100 },
1101
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001102 {
1103 .vendor = "Spansion",
1104 .name = "S25FL016A",
1105 .manufacture_id = SPANSION_ID,
1106 .model_id = SPANSION_S25FL016A,
1107 .total_size = 2048,
1108 .page_size = 256,
1109 .tested = TEST_OK_PREW,
1110 .probe = probe_spi_rdid,
1111 .erase = spi_chip_erase_c7,
1112 .write = spi_chip_write,
1113 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001114 },
1115
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001116 {
1117 .vendor = "SST",
1118 .name = "SST25VF016B",
1119 .manufacture_id = SST_ID,
1120 .model_id = SST_25VF016B,
1121 .total_size = 2048,
1122 .page_size = 256,
1123 .tested = TEST_OK_PREW,
1124 .probe = probe_spi_rdid,
1125 .erase = spi_chip_erase_c7,
1126 .write = spi_chip_write,
1127 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001128 },
1129
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001130 {
1131 .vendor = "SST",
1132 .name = "SST25VF032B",
1133 .manufacture_id = SST_ID,
1134 .model_id = SST_25VF032B,
1135 .total_size = 4096,
1136 .page_size = 256,
1137 .tested = TEST_OK_PREW,
1138 .probe = probe_spi_rdid,
1139 .erase = spi_chip_erase_c7,
1140 .write = spi_chip_write,
1141 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001142 },
1143
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001144 {
1145 .vendor = "SST",
1146 .name = "SST25VF040B",
1147 .manufacture_id = SST_ID,
1148 .model_id = SST_25VF040B,
1149 .total_size = 512,
1150 .page_size = 256,
1151 .tested = TEST_UNTESTED,
1152 .probe = probe_spi_rdid,
1153 .erase = spi_chip_erase_c7,
1154 .write = spi_chip_write,
1155 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001156 },
1157
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001158 {
1159 .vendor = "SST",
Zheng Bao0677dff2009-02-25 08:07:33 +00001160 .name = "SST25VF040.REMS",
1161 .manufacture_id = 0xbf,
1162 .model_id = 0x44,
1163 .total_size = 512,
1164 .page_size = 64*1024,
1165 .tested = TEST_OK_PR,
1166 .probe = probe_spi_rems,
1167 .erase = spi_chip_erase_60,
1168 .write = spi_chip_write,
1169 .read = spi_chip_read,
1170 },
1171
1172 {
1173 .vendor = "SST",
Peter Stugefd9217d2009-01-26 03:37:40 +00001174 .name = "SST25VF040B.REMS",
1175 .manufacture_id = 0xbf,
1176 .model_id = 0x8d,
1177 .total_size = 512,
1178 .page_size = 64*1024,
1179 .tested = TEST_OK_PR,
1180 .probe = probe_spi_rems,
1181 .erase = spi_chip_erase_c7,
Peter Stugec6e90552009-01-26 04:48:01 +00001182 .write = spi_aai_write,
Peter Stugefd9217d2009-01-26 03:37:40 +00001183 .read = spi_chip_read,
1184 },
1185
1186 {
1187 .vendor = "SST",
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001188 .name = "SST25VF080B",
1189 .manufacture_id = SST_ID,
1190 .model_id = SST_25VF080B,
1191 .total_size = 1024,
1192 .page_size = 256,
Peter Stuge51f40622009-01-24 01:32:40 +00001193 .tested = TEST_OK_PROBE,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001194 .probe = probe_spi_rdid,
1195 .erase = spi_chip_erase_60_c7,
1196 .write = spi_chip_write,
1197 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001198 },
1199
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001200 {
1201 .vendor = "SST",
1202 .name = "SST28SF040A",
1203 .manufacture_id = SST_ID,
1204 .model_id = SST_28SF040,
1205 .total_size = 512,
1206 .page_size = 256,
1207 .tested = TEST_UNTESTED,
1208 .probe = probe_28sf040,
1209 .erase = erase_28sf040,
1210 .write = write_28sf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001211 },
1212
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001213 {
1214 .vendor = "SST",
1215 .name = "SST29EE010",
1216 .manufacture_id = SST_ID,
1217 .model_id = SST_29EE010,
1218 .total_size = 128,
1219 .page_size = 128,
1220 .tested = TEST_OK_PREW,
1221 .probe = probe_jedec,
1222 .erase = erase_chip_jedec,
1223 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001224 },
1225
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001226 {
1227 .vendor = "SST",
1228 .name = "SST29LE010",
1229 .manufacture_id = SST_ID,
1230 .model_id = SST_29LE010,
1231 .total_size = 128,
1232 .page_size = 128,
1233 .tested = TEST_UNTESTED,
1234 .probe = probe_jedec,
1235 .erase = erase_chip_jedec,
1236 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001237 },
1238
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001239 {
1240 .vendor = "SST",
1241 .name = "SST29EE020A",
1242 .manufacture_id = SST_ID,
1243 .model_id = SST_29EE020A,
1244 .total_size = 256,
1245 .page_size = 128,
Peter Stugeb27d0a22009-02-22 21:07:28 +00001246 .tested = TEST_OK_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001247 .probe = probe_jedec,
1248 .erase = erase_chip_jedec,
1249 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001250 },
1251
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001252 {
1253 .vendor = "SST",
1254 .name = "SST29LE020",
1255 .manufacture_id = SST_ID,
1256 .model_id = SST_29LE020,
1257 .total_size = 256,
1258 .page_size = 128,
1259 .tested = TEST_UNTESTED,
1260 .probe = probe_jedec,
1261 .erase = erase_chip_jedec,
1262 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001263 },
1264
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001265 {
1266 .vendor = "SST",
1267 .name = "SST39SF010A",
1268 .manufacture_id = SST_ID,
1269 .model_id = SST_39SF010,
1270 .total_size = 128,
1271 .page_size = 4096,
1272 .tested = TEST_OK_PREW,
1273 .probe = probe_jedec,
1274 .erase = erase_chip_jedec,
1275 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001276 },
1277
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001278 {
1279 .vendor = "SST",
1280 .name = "SST39SF020A",
1281 .manufacture_id = SST_ID,
1282 .model_id = SST_39SF020,
1283 .total_size = 256,
1284 .page_size = 4096,
1285 .tested = TEST_OK_PREW,
1286 .probe = probe_jedec,
1287 .erase = erase_chip_jedec,
1288 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001289 },
1290
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001291 {
1292 .vendor = "SST",
1293 .name = "SST39SF040",
1294 .manufacture_id = SST_ID,
1295 .model_id = SST_39SF040,
1296 .total_size = 512,
1297 .page_size = 4096,
1298 .tested = TEST_OK_PREW,
1299 .probe = probe_jedec,
1300 .erase = erase_chip_jedec,
1301 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001302 },
1303
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001304 {
1305 .vendor = "SST",
1306 .name = "SST39VF512",
1307 .manufacture_id = SST_ID,
1308 .model_id = SST_39VF512,
1309 .total_size = 64,
1310 .page_size = 4096,
1311 .tested = TEST_UNTESTED,
1312 .probe = probe_jedec,
1313 .erase = erase_chip_jedec,
1314 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001315 },
1316
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001317 {
1318 .vendor = "SST",
1319 .name = "SST39VF010",
1320 .manufacture_id = SST_ID,
1321 .model_id = SST_39VF010,
1322 .total_size = 128,
1323 .page_size = 4096,
1324 .tested = TEST_UNTESTED,
1325 .probe = probe_jedec,
1326 .erase = erase_chip_jedec,
1327 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001328 },
1329
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001330 {
1331 .vendor = "SST",
1332 .name = "SST39VF020",
1333 .manufacture_id = SST_ID,
1334 .model_id = SST_39VF020,
1335 .total_size = 256,
1336 .page_size = 4096,
1337 .tested = TEST_OK_PREW,
1338 .probe = probe_jedec,
1339 .erase = erase_chip_jedec,
1340 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001341 },
1342
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001343 {
1344 .vendor = "SST",
1345 .name = "SST39VF040",
1346 .manufacture_id = SST_ID,
1347 .model_id = SST_39VF040,
1348 .total_size = 512,
1349 .page_size = 4096,
1350 .tested = TEST_OK_PROBE,
1351 .probe = probe_jedec,
1352 .erase = erase_chip_jedec,
1353 .write = write_39sf020,
Carl-Daniel Hailfinger90eff152008-12-08 23:51:45 +00001354 },
FENG yu ningff692fb2008-12-08 18:15:10 +00001355
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001356 {
1357 .vendor = "SST",
Peter Stuge8440cc02009-01-25 23:55:12 +00001358 .name = "SST39VF080",
1359 .manufacture_id = 0xbf,
1360 .model_id = 0xd8,
1361 .total_size = 1024,
1362 .page_size = 4096,
1363 .tested = TEST_UNTESTED,
1364 .probe = probe_jedec,
1365 .erase = erase_chip_jedec,
1366 .write = write_39sf020,
1367 },
1368
1369 {
1370 .vendor = "SST",
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001371 .name = "SST49LF002A/B",
1372 .manufacture_id = SST_ID,
1373 .model_id = SST_49LF002A,
1374 .total_size = 256,
1375 .page_size = 16 * 1024,
1376 .tested = TEST_OK_PREW,
1377 .probe = probe_sst_fwhub,
1378 .erase = erase_sst_fwhub,
1379 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001380 },
1381
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001382 {
1383 .vendor = "SST",
1384 .name = "SST49LF003A/B",
1385 .manufacture_id = SST_ID,
1386 .model_id = SST_49LF003A,
1387 .total_size = 384,
1388 .page_size = 64 * 1024,
1389 .tested = TEST_UNTESTED,
1390 .probe = probe_sst_fwhub,
1391 .erase = erase_sst_fwhub,
1392 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001393 },
1394
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001395 {
1396 .vendor = "SST",
1397 .name = "SST49LF004A/B",
1398 .manufacture_id = SST_ID,
1399 .model_id = SST_49LF004A,
1400 .total_size = 512,
1401 .page_size = 64 * 1024,
1402 .tested = TEST_OK_PREW,
1403 .probe = probe_sst_fwhub,
1404 .erase = erase_sst_fwhub,
1405 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001406 },
1407
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001408 {
1409 .vendor = "SST",
1410 .name = "SST49LF004C",
1411 .manufacture_id = SST_ID,
1412 .model_id = SST_49LF004C,
1413 .total_size = 512,
1414 .page_size = 4 * 1024,
1415 .tested = TEST_UNTESTED,
1416 .probe = probe_49lfxxxc,
1417 .erase = erase_49lfxxxc,
1418 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001419 },
1420
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001421 {
1422 .vendor = "SST",
1423 .name = "SST49LF008A",
1424 .manufacture_id = SST_ID,
1425 .model_id = SST_49LF008A,
1426 .total_size = 1024,
1427 .page_size = 64 * 1024,
1428 .tested = TEST_OK_PREW,
1429 .probe = probe_sst_fwhub,
1430 .erase = erase_sst_fwhub,
1431 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001432 },
1433
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001434 {
1435 .vendor = "SST",
1436 .name = "SST49LF008C",
1437 .manufacture_id = SST_ID,
1438 .model_id = SST_49LF008C,
1439 .total_size = 1024,
1440 .page_size = 4 * 1024,
1441 .tested = TEST_UNTESTED,
1442 .probe = probe_49lfxxxc,
1443 .erase = erase_49lfxxxc,
1444 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001445 },
1446
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001447 {
1448 .vendor = "SST",
1449 .name = "SST49LF016C",
1450 .manufacture_id = SST_ID,
1451 .model_id = SST_49LF016C,
1452 .total_size = 2048,
1453 .page_size = 4 * 1024,
1454 .tested = TEST_OK_PREW,
1455 .probe = probe_49lfxxxc,
1456 .erase = erase_49lfxxxc,
1457 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001458 },
1459
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001460 {
1461 .vendor = "SST",
1462 .name = "SST49LF020",
1463 .manufacture_id = SST_ID,
1464 .model_id = SST_49LF020,
1465 .total_size = 256,
1466 .page_size = 16 * 1024,
1467 .tested = TEST_OK_PR,
1468 .probe = probe_jedec,
1469 .erase = erase_49lf040,
1470 .write = write_49lf040,
Sven Schnellec208dfb2009-01-07 12:35:09 +00001471 },
1472
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001473 {
1474 .vendor = "SST",
1475 .name = "SST49LF020A",
1476 .manufacture_id = SST_ID,
1477 .model_id = SST_49LF020A,
1478 .total_size = 256,
1479 .page_size = 16 * 1024,
1480 .tested = TEST_UNTESTED,
1481 .probe = probe_jedec,
1482 .erase = erase_49lf040,
1483 .write = write_49lf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001484 },
1485
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001486 {
1487 .vendor = "SST",
1488 .name = "SST49LF040",
1489 .manufacture_id = SST_ID,
1490 .model_id = SST_49LF040,
1491 .total_size = 512,
1492 .page_size = 4096,
1493 .tested = TEST_OK_PREW,
1494 .probe = probe_jedec,
1495 .erase = erase_49lf040,
1496 .write = write_49lf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001497 },
1498
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001499 {
1500 .vendor = "SST",
1501 .name = "SST49LF040B",
1502 .manufacture_id = SST_ID,
1503 .model_id = SST_49LF040B,
1504 .total_size = 512,
1505 .page_size = 64 * 1024,
1506 .tested = TEST_OK_PREW,
1507 .probe = probe_sst_fwhub,
1508 .erase = erase_sst_fwhub,
1509 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001510 },
1511
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001512 {
1513 .vendor = "SST",
1514 .name = "SST49LF080A",
1515 .manufacture_id = SST_ID,
1516 .model_id = SST_49LF080A,
1517 .total_size = 1024,
1518 .page_size = 4096,
1519 .tested = TEST_OK_PREW,
1520 .probe = probe_jedec,
1521 .erase = erase_49lf040,
1522 .write = write_49lf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001523 },
1524
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001525 {
1526 .vendor = "SST",
1527 .name = "SST49LF160C",
1528 .manufacture_id = SST_ID,
1529 .model_id = SST_49LF160C,
1530 .total_size = 2048,
1531 .page_size = 4 * 1024,
1532 .tested = TEST_OK_PREW,
1533 .probe = probe_49lfxxxc,
1534 .erase = erase_49lfxxxc,
1535 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001536 },
1537
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001538 {
1539 .vendor = "ST",
1540 .name = "M25P05-A",
1541 .manufacture_id = ST_ID,
1542 .model_id = ST_M25P05A,
1543 .total_size = 64,
1544 .page_size = 256,
1545 .tested = TEST_UNTESTED,
1546 .probe = probe_spi_rdid,
1547 .erase = spi_chip_erase_c7,
1548 .write = spi_chip_write,
1549 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001550 },
1551
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001552 {
1553 .vendor = "ST",
1554 .name = "M25P10-A",
1555 .manufacture_id = ST_ID,
1556 .model_id = ST_M25P10A,
1557 .total_size = 128,
1558 .page_size = 256,
1559 .tested = TEST_UNTESTED,
1560 .probe = probe_spi_rdid,
1561 .erase = spi_chip_erase_c7,
1562 .write = spi_chip_write,
1563 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001564 },
1565
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001566 {
1567 .vendor = "ST",
1568 .name = "M25P20",
1569 .manufacture_id = ST_ID,
1570 .model_id = ST_M25P20,
1571 .total_size = 256,
1572 .page_size = 256,
1573 .tested = TEST_UNTESTED,
1574 .probe = probe_spi_rdid,
1575 .erase = spi_chip_erase_c7,
1576 .write = spi_chip_write,
1577 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001578 },
1579
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001580 {
1581 .vendor = "ST",
1582 .name = "M25P40",
1583 .manufacture_id = ST_ID,
1584 .model_id = ST_M25P40,
1585 .total_size = 512,
1586 .page_size = 256,
1587 .tested = TEST_UNTESTED,
1588 .probe = probe_spi_rdid,
1589 .erase = spi_chip_erase_c7,
1590 .write = spi_chip_write,
1591 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001592 },
1593
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001594 {
1595 .vendor = "ST",
1596 .name = "M25P40-old",
1597 .manufacture_id = ST_ID,
1598 .model_id = ST_M25P40_RES,
1599 .total_size = 512,
1600 .page_size = 256,
1601 .tested = TEST_UNTESTED,
1602 .probe = probe_spi_res,
1603 .erase = spi_chip_erase_c7,
1604 .write = spi_chip_write,
1605 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001606 },
1607
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001608 {
1609 .vendor = "ST",
1610 .name = "M25P80",
1611 .manufacture_id = ST_ID,
1612 .model_id = ST_M25P80,
1613 .total_size = 1024,
1614 .page_size = 256,
1615 .tested = TEST_UNTESTED,
1616 .probe = probe_spi_rdid,
1617 .erase = spi_chip_erase_c7,
1618 .write = spi_chip_write,
1619 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001620 },
1621
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001622 {
1623 .vendor = "ST",
1624 .name = "M25P16",
1625 .manufacture_id = ST_ID,
1626 .model_id = ST_M25P16,
1627 .total_size = 2048,
1628 .page_size = 256,
1629 .tested = TEST_OK_PREW,
1630 .probe = probe_spi_rdid,
1631 .erase = spi_chip_erase_c7,
1632 .write = spi_chip_write,
1633 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001634 },
1635
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001636 {
1637 .vendor = "ST",
1638 .name = "M25P32",
1639 .manufacture_id = ST_ID,
1640 .model_id = ST_M25P32,
1641 .total_size = 4096,
1642 .page_size = 256,
1643 .tested = TEST_OK_PREW,
1644 .probe = probe_spi_rdid,
1645 .erase = spi_chip_erase_c7,
1646 .write = spi_chip_write,
1647 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001648 },
1649
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001650 {
1651 .vendor = "ST",
1652 .name = "M25P64",
1653 .manufacture_id = ST_ID,
1654 .model_id = ST_M25P64,
1655 .total_size = 8192,
1656 .page_size = 256,
1657 .tested = TEST_UNTESTED,
1658 .probe = probe_spi_rdid,
1659 .erase = spi_chip_erase_c7,
1660 .write = spi_chip_write,
1661 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001662 },
1663
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001664 {
1665 .vendor = "ST",
1666 .name = "M25P128",
1667 .manufacture_id = ST_ID,
1668 .model_id = ST_M25P128,
1669 .total_size = 16384,
1670 .page_size = 256,
1671 .tested = TEST_UNTESTED,
1672 .probe = probe_spi_rdid,
1673 .erase = spi_chip_erase_c7,
1674 .write = spi_chip_write,
1675 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001676 },
1677
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001678 {
1679 .vendor = "ST",
1680 .name = "M29F002B",
1681 .manufacture_id = ST_ID,
1682 .model_id = ST_M29F002B,
1683 .total_size = 256,
1684 .page_size = 64 * 1024,
1685 .tested = TEST_UNTESTED,
1686 .probe = probe_jedec,
Peter Stugeaf8ffac2009-01-26 06:42:02 +00001687 .erase = erase_m29f002,
1688 .write = write_m29f002b,
FENG yu ningff692fb2008-12-08 18:15:10 +00001689 },
1690
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001691 {
1692 .vendor = "ST",
1693 .name = "M29F002T/NT",
1694 .manufacture_id = ST_ID,
1695 .model_id = ST_M29F002T,
1696 .total_size = 256,
1697 .page_size = 64 * 1024,
Peter Stugeaf8ffac2009-01-26 06:42:02 +00001698 .tested = TEST_OK_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001699 .probe = probe_jedec,
Peter Stugeaf8ffac2009-01-26 06:42:02 +00001700 .erase = erase_m29f002,
1701 .write = write_m29f002t,
FENG yu ningff692fb2008-12-08 18:15:10 +00001702 },
1703
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001704 {
1705 .vendor = "ST",
1706 .name = "M29F040B",
1707 .manufacture_id = ST_ID,
1708 .model_id = ST_M29F040B,
1709 .total_size = 512,
1710 .page_size = 64 * 1024,
1711 .tested = TEST_OK_PREW,
1712 .probe = probe_29f040b,
1713 .erase = erase_29f040b,
1714 .write = write_29f040b,
FENG yu ningff692fb2008-12-08 18:15:10 +00001715 },
1716
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001717 {
1718 .vendor = "ST",
1719 .name = "M29F400BT",
1720 .manufacture_id = ST_ID,
1721 .model_id = ST_M29F400BT,
1722 .total_size = 512,
1723 .page_size = 64 * 1024,
1724 .tested = TEST_UNTESTED,
1725 .probe = probe_m29f400bt,
1726 .erase = erase_m29f400bt,
1727 .write = write_coreboot_m29f400bt,
FENG yu ningff692fb2008-12-08 18:15:10 +00001728 },
1729
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001730 {
1731 .vendor = "ST",
1732 .name = "M29W010B",
1733 .manufacture_id = ST_ID,
1734 .model_id = ST_M29W010B,
1735 .total_size = 128,
1736 .page_size = 16 * 1024,
1737 .tested = TEST_UNTESTED,
1738 .probe = probe_jedec,
1739 .erase = erase_chip_jedec,
1740 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001741 },
1742
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001743 {
1744 .vendor = "ST",
1745 .name = "M29W040B",
1746 .manufacture_id = ST_ID,
1747 .model_id = ST_M29W040B,
1748 .total_size = 512,
1749 .page_size = 64 * 1024,
1750 .tested = TEST_UNTESTED,
1751 .probe = probe_jedec,
1752 .erase = erase_chip_jedec,
1753 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001754 },
1755
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001756 {
1757 .vendor = "ST",
1758 .name = "M50FLW040A",
1759 .manufacture_id = ST_ID,
1760 .model_id = ST_M50FLW040A,
1761 .total_size = 512,
1762 .page_size = 64 * 1024,
1763 .tested = TEST_UNTESTED,
1764 .probe = probe_stm50flw0x0x,
1765 .erase = erase_stm50flw0x0x,
1766 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001767 },
1768
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001769 {
1770 .vendor = "ST",
1771 .name = "M50FLW040B",
1772 .manufacture_id = ST_ID,
1773 .model_id = ST_M50FLW040B,
1774 .total_size = 512,
1775 .page_size = 64 * 1024,
1776 .tested = TEST_UNTESTED,
1777 .probe = probe_stm50flw0x0x,
1778 .erase = erase_stm50flw0x0x,
1779 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001780 },
1781
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001782 {
1783 .vendor = "ST",
1784 .name = "M50FLW080A",
1785 .manufacture_id = ST_ID,
1786 .model_id = ST_M50FLW080A,
1787 .total_size = 1024,
1788 .page_size = 64 * 1024,
1789 .tested = TEST_OK_PREW,
1790 .probe = probe_stm50flw0x0x,
1791 .erase = erase_stm50flw0x0x,
1792 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001793 },
1794
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001795 {
1796 .vendor = "ST",
1797 .name = "M50FLW080B",
1798 .manufacture_id = ST_ID,
1799 .model_id = ST_M50FLW080B,
1800 .total_size = 1024,
1801 .page_size = 64 * 1024,
1802 .tested = TEST_UNTESTED,
1803 .probe = probe_stm50flw0x0x,
1804 .erase = erase_stm50flw0x0x,
1805 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001806 },
1807
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001808 {
1809 .vendor = "ST",
1810 .name = "M50FW002",
1811 .manufacture_id = ST_ID,
1812 .model_id = ST_M50FW002,
1813 .total_size = 256,
1814 .page_size = 64 * 1024,
1815 .tested = TEST_UNTESTED,
1816 .probe = probe_49lfxxxc,
1817 .erase = NULL,
1818 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00001819 },
1820
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001821 {
1822 .vendor = "ST",
1823 .name = "M50FW016",
1824 .manufacture_id = ST_ID,
1825 .model_id = ST_M50FW016,
1826 .total_size = 2048,
1827 .page_size = 64 * 1024,
1828 .tested = TEST_UNTESTED,
1829 .probe = probe_82802ab,
1830 .erase = erase_82802ab,
1831 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +00001832 },
1833
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001834 {
1835 .vendor = "ST",
1836 .name = "M50FW040",
1837 .manufacture_id = ST_ID,
1838 .model_id = ST_M50FW040,
1839 .total_size = 512,
1840 .page_size = 64 * 1024,
1841 .tested = TEST_OK_PREW,
1842 .probe = probe_82802ab,
1843 .erase = erase_82802ab,
1844 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +00001845 },
1846
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001847 {
1848 .vendor = "ST",
1849 .name = "M50FW080",
1850 .manufacture_id = ST_ID,
1851 .model_id = ST_M50FW080,
1852 .total_size = 1024,
1853 .page_size = 64 * 1024,
Peter Stugea657e942009-01-24 23:01:08 +00001854 .tested = TEST_OK_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001855 .probe = probe_82802ab,
1856 .erase = erase_82802ab,
1857 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +00001858 },
1859
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001860 {
1861 .vendor = "ST",
1862 .name = "M50LPW116",
1863 .manufacture_id = ST_ID,
1864 .model_id = ST_M50LPW116,
1865 .total_size = 2048,
1866 .page_size = 64 * 1024,
1867 .tested = TEST_UNTESTED,
1868 .probe = probe_jedec,
1869 .erase = erase_chip_jedec,
1870 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001871 },
1872
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001873 {
1874 .vendor = "SyncMOS",
1875 .name = "S29C31004T",
1876 .manufacture_id = SYNCMOS_ID,
1877 .model_id = S29C31004T,
1878 .total_size = 512,
1879 .page_size = 128,
1880 .tested = TEST_UNTESTED,
1881 .probe = probe_jedec,
1882 .erase = erase_chip_jedec,
1883 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001884 },
1885
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001886 {
1887 .vendor = "SyncMOS",
1888 .name = "S29C51001T",
1889 .manufacture_id = SYNCMOS_ID,
1890 .model_id = S29C51001T,
1891 .total_size = 128,
1892 .page_size = 128,
1893 .tested = TEST_UNTESTED,
1894 .probe = probe_jedec,
1895 .erase = erase_chip_jedec,
1896 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001897 },
1898
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001899 {
1900 .vendor = "SyncMOS",
1901 .name = "S29C51002T",
1902 .manufacture_id = SYNCMOS_ID,
1903 .model_id = S29C51002T,
1904 .total_size = 256,
1905 .page_size = 128,
1906 .tested = TEST_OK_PREW,
1907 .probe = probe_jedec,
1908 .erase = erase_chip_jedec,
1909 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001910 },
1911
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001912 {
1913 .vendor = "SyncMOS",
1914 .name = "S29C51004T",
1915 .manufacture_id = SYNCMOS_ID,
1916 .model_id = S29C51004T,
1917 .total_size = 512,
1918 .page_size = 128,
1919 .tested = TEST_UNTESTED,
1920 .probe = probe_jedec,
1921 .erase = erase_chip_jedec,
1922 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001923 },
1924
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001925 {
1926 .vendor = "Winbond",
1927 .name = "W25x10",
1928 .manufacture_id = WINBOND_NEX_ID,
1929 .model_id = W_25X10,
1930 .total_size = 128,
1931 .page_size = 256,
1932 .tested = TEST_UNTESTED,
1933 .probe = probe_spi_rdid,
1934 .erase = spi_chip_erase_c7,
1935 .write = spi_chip_write,
1936 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001937 },
1938
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001939 {
1940 .vendor = "Winbond",
1941 .name = "W25x20",
1942 .manufacture_id = WINBOND_NEX_ID,
1943 .model_id = W_25X20,
1944 .total_size = 256,
1945 .page_size = 256,
1946 .tested = TEST_UNTESTED,
1947 .probe = probe_spi_rdid,
1948 .erase = spi_chip_erase_c7,
1949 .write = spi_chip_write,
1950 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001951 },
1952
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001953 {
1954 .vendor = "Winbond",
1955 .name = "W25x40",
1956 .manufacture_id = WINBOND_NEX_ID,
1957 .model_id = W_25X40,
1958 .total_size = 512,
1959 .page_size = 256,
1960 .tested = TEST_OK_PREW,
1961 .probe = probe_spi_rdid,
1962 .erase = spi_chip_erase_c7,
1963 .write = spi_chip_write,
1964 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001965 },
1966
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001967 {
1968 .vendor = "Winbond",
1969 .name = "W25x80",
1970 .manufacture_id = WINBOND_NEX_ID,
1971 .model_id = W_25X80,
1972 .total_size = 1024,
1973 .page_size = 256,
1974 .tested = TEST_OK_PREW,
1975 .probe = probe_spi_rdid,
1976 .erase = spi_chip_erase_c7,
1977 .write = spi_chip_write,
1978 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001979 },
1980
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001981 {
1982 .vendor = "Winbond",
1983 .name = "W29C011",
1984 .manufacture_id = WINBOND_ID,
1985 .model_id = W_29C011,
1986 .total_size = 128,
1987 .page_size = 128,
1988 .tested = TEST_OK_PREW,
1989 .probe = probe_jedec,
1990 .erase = erase_chip_jedec,
1991 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001992 },
1993
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001994 {
1995 .vendor = "Winbond",
1996 .name = "W29C020C",
1997 .manufacture_id = WINBOND_ID,
1998 .model_id = W_29C020C,
1999 .total_size = 256,
2000 .page_size = 128,
2001 .tested = TEST_OK_PREW,
2002 .probe = probe_jedec,
2003 .erase = erase_chip_jedec,
2004 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00002005 },
2006
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002007 {
2008 .vendor = "Winbond",
2009 .name = "W29C040P",
2010 .manufacture_id = WINBOND_ID,
2011 .model_id = W_29C040P,
2012 .total_size = 512,
2013 .page_size = 256,
2014 .tested = TEST_UNTESTED,
2015 .probe = probe_jedec,
2016 .erase = erase_chip_jedec,
2017 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00002018 },
2019
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002020 {
2021 .vendor = "Winbond",
2022 .name = "W29EE011",
2023 .manufacture_id = WINBOND_ID,
2024 .model_id = W_29C011,
2025 .total_size = 128,
2026 .page_size = 128,
2027 .tested = TEST_OK_PREW,
2028 .probe = probe_w29ee011,
2029 .erase = erase_chip_jedec,
2030 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00002031 },
2032
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002033 {
2034 .vendor = "Winbond",
2035 .name = "W39V040A",
2036 .manufacture_id = WINBOND_ID,
2037 .model_id = W_39V040A,
2038 .total_size = 512,
2039 .page_size = 64*1024,
2040 .tested = TEST_UNTESTED,
2041 .probe = probe_jedec,
2042 .erase = erase_chip_jedec,
2043 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002044 },
2045
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002046 {
2047 .vendor = "Winbond",
2048 .name = "W39V040B",
2049 .manufacture_id = WINBOND_ID,
2050 .model_id = W_39V040B,
2051 .total_size = 512,
2052 .page_size = 64*1024,
2053 .tested = TEST_OK_PREW,
2054 .probe = probe_jedec,
2055 .erase = erase_chip_jedec,
2056 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002057 },
2058
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002059 {
2060 .vendor = "Winbond",
2061 .name = "W39V040C",
2062 .manufacture_id = WINBOND_ID,
2063 .model_id = 0x50,
2064 .total_size = 512,
2065 .page_size = 64*1024,
2066 .tested = TEST_OK_PREW,
2067 .probe = probe_w39v040c,
2068 .erase = erase_w39v040c,
2069 .write = write_w39v040c,
FENG yu ningff692fb2008-12-08 18:15:10 +00002070 },
2071
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002072 {
2073 .vendor = "Winbond",
2074 .name = "W39V040FA",
2075 .manufacture_id = WINBOND_ID,
2076 .model_id = W_39V040FA,
2077 .total_size = 512,
2078 .page_size = 64*1024,
2079 .tested = TEST_OK_PREW,
2080 .probe = probe_jedec,
2081 .erase = erase_chip_jedec,
2082 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002083 },
2084
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002085 {
2086 .vendor = "Winbond",
2087 .name = "W39V080A",
2088 .manufacture_id = WINBOND_ID,
2089 .model_id = W_39V080A,
2090 .total_size = 1024,
2091 .page_size = 64*1024,
2092 .tested = TEST_OK_PREW,
2093 .probe = probe_jedec,
2094 .erase = erase_chip_jedec,
2095 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002096 },
2097
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002098 {
2099 .vendor = "Winbond",
2100 .name = "W49F002U",
2101 .manufacture_id = WINBOND_ID,
2102 .model_id = W_49F002U,
2103 .total_size = 256,
2104 .page_size = 128,
2105 .tested = TEST_OK_PREW,
2106 .probe = probe_jedec,
2107 .erase = erase_chip_jedec,
2108 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00002109 },
2110
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002111 {
2112 .vendor = "Winbond",
2113 .name = "W49V002A",
2114 .manufacture_id = WINBOND_ID,
2115 .model_id = W_49V002A,
2116 .total_size = 256,
2117 .page_size = 128,
2118 .tested = TEST_OK_PREW,
2119 .probe = probe_jedec,
2120 .erase = erase_chip_jedec,
2121 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00002122 },
2123
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002124 {
2125 .vendor = "Winbond",
2126 .name = "W49V002FA",
2127 .manufacture_id = WINBOND_ID,
2128 .model_id = W_49V002FA,
2129 .total_size = 256,
2130 .page_size = 128,
2131 .tested = TEST_UNTESTED,
2132 .probe = probe_jedec,
2133 .erase = erase_chip_jedec,
2134 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00002135 },
2136
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002137 {
2138 .vendor = "Winbond",
2139 .name = "W39V080FA",
2140 .manufacture_id = WINBOND_ID,
2141 .model_id = W_39V080FA,
2142 .total_size = 1024,
2143 .page_size = 64*1024,
2144 .tested = TEST_OK_PREW,
2145 .probe = probe_winbond_fwhub,
2146 .erase = erase_winbond_fwhub,
2147 .write = write_winbond_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00002148 },
2149
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002150 {
2151 .vendor = "Winbond",
2152 .name = "W39V080FA (dual mode)",
2153 .manufacture_id = WINBOND_ID,
2154 .model_id = W_39V080FA_DM,
2155 .total_size = 512,
2156 .page_size = 64*1024,
2157 .tested = TEST_UNTESTED,
2158 .probe = probe_winbond_fwhub,
2159 .erase = erase_winbond_fwhub,
2160 .write = write_winbond_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00002161 },
2162
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002163 {
2164 .vendor = "Atmel",
2165 .name = "unknown Atmel SPI chip",
2166 .manufacture_id = ATMEL_ID,
2167 .model_id = GENERIC_DEVICE_ID,
2168 .total_size = 0,
2169 .page_size = 256,
Carl-Daniel Hailfinger42882fd2009-04-22 13:33:43 +00002170 .tested = TEST_BAD_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002171 .probe = probe_spi_rdid,
2172 .erase = NULL,
2173 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002174 },
2175
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002176 {
2177 .vendor = "EON",
2178 .name = "unknown EON SPI chip",
2179 .manufacture_id = EON_ID_NOPREFIX,
2180 .model_id = GENERIC_DEVICE_ID,
2181 .total_size = 0,
2182 .page_size = 256,
Carl-Daniel Hailfinger42882fd2009-04-22 13:33:43 +00002183 .tested = TEST_BAD_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002184 .probe = probe_spi_rdid,
2185 .erase = NULL,
2186 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002187 },
2188
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002189 {
2190 .vendor = "Macronix",
2191 .name = "unknown Macronix SPI chip",
2192 .manufacture_id = MX_ID,
2193 .model_id = GENERIC_DEVICE_ID,
2194 .total_size = 0,
2195 .page_size = 256,
Carl-Daniel Hailfinger42882fd2009-04-22 13:33:43 +00002196 .tested = TEST_BAD_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002197 .probe = probe_spi_rdid,
2198 .erase = NULL,
2199 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002200 },
2201
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002202 {
2203 .vendor = "PMC",
2204 .name = "unknown PMC SPI chip",
2205 .manufacture_id = PMC_ID,
2206 .model_id = GENERIC_DEVICE_ID,
2207 .total_size = 0,
2208 .page_size = 256,
Carl-Daniel Hailfinger42882fd2009-04-22 13:33:43 +00002209 .tested = TEST_BAD_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002210 .probe = probe_spi_rdid,
2211 .erase = NULL,
2212 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002213 },
2214
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002215 {
2216 .vendor = "SST",
2217 .name = "unknown SST SPI chip",
2218 .manufacture_id = SST_ID,
2219 .model_id = GENERIC_DEVICE_ID,
2220 .total_size = 0,
2221 .page_size = 256,
Carl-Daniel Hailfinger42882fd2009-04-22 13:33:43 +00002222 .tested = TEST_BAD_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002223 .probe = probe_spi_rdid,
2224 .erase = NULL,
2225 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002226 },
2227
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002228 {
2229 .vendor = "ST",
2230 .name = "unknown ST SPI chip",
2231 .manufacture_id = ST_ID,
2232 .model_id = GENERIC_DEVICE_ID,
2233 .total_size = 0,
2234 .page_size = 256,
Carl-Daniel Hailfinger42882fd2009-04-22 13:33:43 +00002235 .tested = TEST_BAD_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002236 .probe = probe_spi_rdid,
2237 .erase = NULL,
2238 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002239 },
Uwe Hermannfc425e82008-03-16 02:06:25 +00002240
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002241 { NULL }
Stephan Guilloux72cf5652009-04-21 01:46:07 +00002242};