blob: dae07911806cb0d6bacb998fbc634be2c13168e3 [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",
858 .name = "MX29F002B",
859 .manufacture_id = MX_ID,
860 .model_id = MX_29F002B,
861 .total_size = 256,
862 .page_size = 64 * 1024,
863 .tested = TEST_UNTESTED,
864 .probe = probe_29f002,
865 .erase = erase_29f002,
866 .write = write_29f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000867 },
868
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000869 {
870 .vendor = "Macronix",
871 .name = "MX29F002T",
872 .manufacture_id = MX_ID,
873 .model_id = MX_29F002T,
874 .total_size = 256,
875 .page_size = 64 * 1024,
876 .tested = TEST_UNTESTED,
877 .probe = probe_29f002,
878 .erase = erase_29f002,
879 .write = write_29f002,
FENG yu ningff692fb2008-12-08 18:15:10 +0000880 },
881
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000882 {
883 .vendor = "Macronix",
884 .name = "MX29LV040C",
885 .manufacture_id = MX_ID,
886 .model_id = MX_29LV040C,
887 .total_size = 512,
888 .page_size = 64 * 1024,
889 .tested = TEST_OK_PR,
890 .probe = probe_29f002,
891 .erase = erase_29f002,
892 .write = write_29f002,
Carl-Daniel Hailfinger7de86392008-12-10 10:32:05 +0000893 },
894
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000895 {
896 .vendor = "Numonyx",
897 .name = "M25PE10",
898 .manufacture_id = ST_ID,
899 .model_id = 0x8011,
900 .total_size = 128,
901 .page_size = 256,
902 .tested = TEST_UNTESTED,
903 .probe = probe_spi_rdid,
904 .erase = spi_chip_erase_d8,
905 .write = spi_chip_write,
906 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +0000907 },
908
Stephan Guilloux5c5b5252009-01-08 03:40:17 +0000909 {
910 .vendor = "Numonyx",
911 .name = "M25PE20",
912 .manufacture_id = ST_ID,
913 .model_id = 0x8012,
914 .total_size = 256,
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 = "M25PE40",
926 .manufacture_id = ST_ID,
927 .model_id = 0x8013,
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 = "M25PE80",
940 .manufacture_id = ST_ID,
941 .model_id = 0x8014,
942 .total_size = 1024,
943 .page_size = 256,
944 .tested = TEST_OK_PREW,
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 = "M25PE16",
954 .manufacture_id = ST_ID,
955 .model_id = 0x8015,
956 .total_size = 2048,
957 .page_size = 256,
958 .tested = TEST_UNTESTED,
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 = "PMC",
967 .name = "Pm25LV010",
968 .manufacture_id = PMC_ID,
969 .model_id = PMC_25LV010,
970 .total_size = 128,
971 .page_size = 256,
972 .tested = TEST_UNTESTED,
973 .probe = probe_spi_rdid,
974 .erase = spi_chip_erase_c7,
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 = "Pm25LV016B",
982 .manufacture_id = PMC_ID,
983 .model_id = PMC_25LV016B,
984 .total_size = 2048,
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 = "Pm25LV020",
996 .manufacture_id = PMC_ID,
997 .model_id = PMC_25LV020,
998 .total_size = 256,
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 = "Pm25LV040",
1010 .manufacture_id = PMC_ID,
1011 .model_id = PMC_25LV040,
1012 .total_size = 512,
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 = "Pm25LV080B",
1024 .manufacture_id = PMC_ID,
1025 .model_id = PMC_25LV080B,
1026 .total_size = 1024,
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 = "Pm25LV512",
1038 .manufacture_id = PMC_ID,
1039 .model_id = PMC_25LV512,
1040 .total_size = 64,
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 = "Pm49FL002",
1052 .manufacture_id = PMC_ID_NOPREFIX,
1053 .model_id = PMC_49FL002,
1054 .total_size = 256,
1055 .page_size = 16 * 1024,
1056 .tested = TEST_OK_PREW,
1057 .probe = probe_49fl00x,
1058 .erase = erase_49fl00x,
1059 .write = write_49fl00x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001060 },
1061
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001062 {
1063 .vendor = "PMC",
1064 .name = "Pm49FL004",
1065 .manufacture_id = PMC_ID_NOPREFIX,
1066 .model_id = PMC_49FL004,
1067 .total_size = 512,
1068 .page_size = 64 * 1024,
1069 .tested = TEST_OK_PREW,
1070 .probe = probe_49fl00x,
1071 .erase = erase_49fl00x,
1072 .write = write_49fl00x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001073 },
1074
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001075 {
1076 .vendor = "Sharp",
1077 .name = "LHF00L04",
1078 .manufacture_id = SHARP_ID,
1079 .model_id = SHARP_LHF00L04,
1080 .total_size = 1024,
1081 .page_size = 64 * 1024,
1082 .tested = TEST_UNTESTED,
1083 .probe = probe_lhf00l04,
1084 .erase = erase_lhf00l04,
1085 .write = write_lhf00l04,
FENG yu ningff692fb2008-12-08 18:15:10 +00001086 },
1087
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001088 {
1089 .vendor = "Spansion",
1090 .name = "S25FL016A",
1091 .manufacture_id = SPANSION_ID,
1092 .model_id = SPANSION_S25FL016A,
1093 .total_size = 2048,
1094 .page_size = 256,
1095 .tested = TEST_OK_PREW,
1096 .probe = probe_spi_rdid,
1097 .erase = spi_chip_erase_c7,
1098 .write = spi_chip_write,
1099 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001100 },
1101
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001102 {
1103 .vendor = "SST",
1104 .name = "SST25VF016B",
1105 .manufacture_id = SST_ID,
1106 .model_id = SST_25VF016B,
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 = "SST25VF032B",
1119 .manufacture_id = SST_ID,
1120 .model_id = SST_25VF032B,
1121 .total_size = 4096,
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 = "SST25VF040B",
1133 .manufacture_id = SST_ID,
1134 .model_id = SST_25VF040B,
1135 .total_size = 512,
1136 .page_size = 256,
1137 .tested = TEST_UNTESTED,
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",
Zheng Bao0677dff2009-02-25 08:07:33 +00001146 .name = "SST25VF040.REMS",
1147 .manufacture_id = 0xbf,
1148 .model_id = 0x44,
1149 .total_size = 512,
1150 .page_size = 64*1024,
1151 .tested = TEST_OK_PR,
1152 .probe = probe_spi_rems,
1153 .erase = spi_chip_erase_60,
1154 .write = spi_chip_write,
1155 .read = spi_chip_read,
1156 },
1157
1158 {
1159 .vendor = "SST",
Peter Stugefd9217d2009-01-26 03:37:40 +00001160 .name = "SST25VF040B.REMS",
1161 .manufacture_id = 0xbf,
1162 .model_id = 0x8d,
1163 .total_size = 512,
1164 .page_size = 64*1024,
1165 .tested = TEST_OK_PR,
1166 .probe = probe_spi_rems,
1167 .erase = spi_chip_erase_c7,
Peter Stugec6e90552009-01-26 04:48:01 +00001168 .write = spi_aai_write,
Peter Stugefd9217d2009-01-26 03:37:40 +00001169 .read = spi_chip_read,
1170 },
1171
1172 {
1173 .vendor = "SST",
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001174 .name = "SST25VF080B",
1175 .manufacture_id = SST_ID,
1176 .model_id = SST_25VF080B,
1177 .total_size = 1024,
1178 .page_size = 256,
Peter Stuge51f40622009-01-24 01:32:40 +00001179 .tested = TEST_OK_PROBE,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001180 .probe = probe_spi_rdid,
1181 .erase = spi_chip_erase_60_c7,
1182 .write = spi_chip_write,
1183 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001184 },
1185
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001186 {
1187 .vendor = "SST",
1188 .name = "SST28SF040A",
1189 .manufacture_id = SST_ID,
1190 .model_id = SST_28SF040,
1191 .total_size = 512,
1192 .page_size = 256,
1193 .tested = TEST_UNTESTED,
1194 .probe = probe_28sf040,
1195 .erase = erase_28sf040,
1196 .write = write_28sf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001197 },
1198
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001199 {
1200 .vendor = "SST",
1201 .name = "SST29EE010",
1202 .manufacture_id = SST_ID,
1203 .model_id = SST_29EE010,
1204 .total_size = 128,
1205 .page_size = 128,
1206 .tested = TEST_OK_PREW,
1207 .probe = probe_jedec,
1208 .erase = erase_chip_jedec,
1209 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001210 },
1211
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001212 {
1213 .vendor = "SST",
1214 .name = "SST29LE010",
1215 .manufacture_id = SST_ID,
1216 .model_id = SST_29LE010,
1217 .total_size = 128,
1218 .page_size = 128,
1219 .tested = TEST_UNTESTED,
1220 .probe = probe_jedec,
1221 .erase = erase_chip_jedec,
1222 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001223 },
1224
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001225 {
1226 .vendor = "SST",
1227 .name = "SST29EE020A",
1228 .manufacture_id = SST_ID,
1229 .model_id = SST_29EE020A,
1230 .total_size = 256,
1231 .page_size = 128,
Peter Stugeb27d0a22009-02-22 21:07:28 +00001232 .tested = TEST_OK_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001233 .probe = probe_jedec,
1234 .erase = erase_chip_jedec,
1235 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001236 },
1237
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001238 {
1239 .vendor = "SST",
1240 .name = "SST29LE020",
1241 .manufacture_id = SST_ID,
1242 .model_id = SST_29LE020,
1243 .total_size = 256,
1244 .page_size = 128,
1245 .tested = TEST_UNTESTED,
1246 .probe = probe_jedec,
1247 .erase = erase_chip_jedec,
1248 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001249 },
1250
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001251 {
1252 .vendor = "SST",
1253 .name = "SST39SF010A",
1254 .manufacture_id = SST_ID,
1255 .model_id = SST_39SF010,
1256 .total_size = 128,
1257 .page_size = 4096,
1258 .tested = TEST_OK_PREW,
1259 .probe = probe_jedec,
1260 .erase = erase_chip_jedec,
1261 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001262 },
1263
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001264 {
1265 .vendor = "SST",
1266 .name = "SST39SF020A",
1267 .manufacture_id = SST_ID,
1268 .model_id = SST_39SF020,
1269 .total_size = 256,
1270 .page_size = 4096,
1271 .tested = TEST_OK_PREW,
1272 .probe = probe_jedec,
1273 .erase = erase_chip_jedec,
1274 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001275 },
1276
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001277 {
1278 .vendor = "SST",
1279 .name = "SST39SF040",
1280 .manufacture_id = SST_ID,
1281 .model_id = SST_39SF040,
1282 .total_size = 512,
1283 .page_size = 4096,
1284 .tested = TEST_OK_PREW,
1285 .probe = probe_jedec,
1286 .erase = erase_chip_jedec,
1287 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001288 },
1289
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001290 {
1291 .vendor = "SST",
1292 .name = "SST39VF512",
1293 .manufacture_id = SST_ID,
1294 .model_id = SST_39VF512,
1295 .total_size = 64,
1296 .page_size = 4096,
1297 .tested = TEST_UNTESTED,
1298 .probe = probe_jedec,
1299 .erase = erase_chip_jedec,
1300 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001301 },
1302
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001303 {
1304 .vendor = "SST",
1305 .name = "SST39VF010",
1306 .manufacture_id = SST_ID,
1307 .model_id = SST_39VF010,
1308 .total_size = 128,
1309 .page_size = 4096,
1310 .tested = TEST_UNTESTED,
1311 .probe = probe_jedec,
1312 .erase = erase_chip_jedec,
1313 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001314 },
1315
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001316 {
1317 .vendor = "SST",
1318 .name = "SST39VF020",
1319 .manufacture_id = SST_ID,
1320 .model_id = SST_39VF020,
1321 .total_size = 256,
1322 .page_size = 4096,
1323 .tested = TEST_OK_PREW,
1324 .probe = probe_jedec,
1325 .erase = erase_chip_jedec,
1326 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00001327 },
1328
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001329 {
1330 .vendor = "SST",
1331 .name = "SST39VF040",
1332 .manufacture_id = SST_ID,
1333 .model_id = SST_39VF040,
1334 .total_size = 512,
1335 .page_size = 4096,
1336 .tested = TEST_OK_PROBE,
1337 .probe = probe_jedec,
1338 .erase = erase_chip_jedec,
1339 .write = write_39sf020,
Carl-Daniel Hailfinger90eff152008-12-08 23:51:45 +00001340 },
FENG yu ningff692fb2008-12-08 18:15:10 +00001341
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001342 {
1343 .vendor = "SST",
Peter Stuge8440cc02009-01-25 23:55:12 +00001344 .name = "SST39VF080",
1345 .manufacture_id = 0xbf,
1346 .model_id = 0xd8,
1347 .total_size = 1024,
1348 .page_size = 4096,
1349 .tested = TEST_UNTESTED,
1350 .probe = probe_jedec,
1351 .erase = erase_chip_jedec,
1352 .write = write_39sf020,
1353 },
1354
1355 {
1356 .vendor = "SST",
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001357 .name = "SST49LF002A/B",
1358 .manufacture_id = SST_ID,
1359 .model_id = SST_49LF002A,
1360 .total_size = 256,
1361 .page_size = 16 * 1024,
1362 .tested = TEST_OK_PREW,
1363 .probe = probe_sst_fwhub,
1364 .erase = erase_sst_fwhub,
1365 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001366 },
1367
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001368 {
1369 .vendor = "SST",
1370 .name = "SST49LF003A/B",
1371 .manufacture_id = SST_ID,
1372 .model_id = SST_49LF003A,
1373 .total_size = 384,
1374 .page_size = 64 * 1024,
1375 .tested = TEST_UNTESTED,
1376 .probe = probe_sst_fwhub,
1377 .erase = erase_sst_fwhub,
1378 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001379 },
1380
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001381 {
1382 .vendor = "SST",
1383 .name = "SST49LF004A/B",
1384 .manufacture_id = SST_ID,
1385 .model_id = SST_49LF004A,
1386 .total_size = 512,
1387 .page_size = 64 * 1024,
1388 .tested = TEST_OK_PREW,
1389 .probe = probe_sst_fwhub,
1390 .erase = erase_sst_fwhub,
1391 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001392 },
1393
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001394 {
1395 .vendor = "SST",
1396 .name = "SST49LF004C",
1397 .manufacture_id = SST_ID,
1398 .model_id = SST_49LF004C,
1399 .total_size = 512,
1400 .page_size = 4 * 1024,
1401 .tested = TEST_UNTESTED,
1402 .probe = probe_49lfxxxc,
1403 .erase = erase_49lfxxxc,
1404 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001405 },
1406
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001407 {
1408 .vendor = "SST",
1409 .name = "SST49LF008A",
1410 .manufacture_id = SST_ID,
1411 .model_id = SST_49LF008A,
1412 .total_size = 1024,
1413 .page_size = 64 * 1024,
1414 .tested = TEST_OK_PREW,
1415 .probe = probe_sst_fwhub,
1416 .erase = erase_sst_fwhub,
1417 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001418 },
1419
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001420 {
1421 .vendor = "SST",
1422 .name = "SST49LF008C",
1423 .manufacture_id = SST_ID,
1424 .model_id = SST_49LF008C,
1425 .total_size = 1024,
1426 .page_size = 4 * 1024,
1427 .tested = TEST_UNTESTED,
1428 .probe = probe_49lfxxxc,
1429 .erase = erase_49lfxxxc,
1430 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001431 },
1432
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001433 {
1434 .vendor = "SST",
1435 .name = "SST49LF016C",
1436 .manufacture_id = SST_ID,
1437 .model_id = SST_49LF016C,
1438 .total_size = 2048,
1439 .page_size = 4 * 1024,
1440 .tested = TEST_OK_PREW,
1441 .probe = probe_49lfxxxc,
1442 .erase = erase_49lfxxxc,
1443 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001444 },
1445
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001446 {
1447 .vendor = "SST",
1448 .name = "SST49LF020",
1449 .manufacture_id = SST_ID,
1450 .model_id = SST_49LF020,
1451 .total_size = 256,
1452 .page_size = 16 * 1024,
1453 .tested = TEST_OK_PR,
1454 .probe = probe_jedec,
1455 .erase = erase_49lf040,
1456 .write = write_49lf040,
Sven Schnellec208dfb2009-01-07 12:35:09 +00001457 },
1458
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001459 {
1460 .vendor = "SST",
1461 .name = "SST49LF020A",
1462 .manufacture_id = SST_ID,
1463 .model_id = SST_49LF020A,
1464 .total_size = 256,
1465 .page_size = 16 * 1024,
1466 .tested = TEST_UNTESTED,
1467 .probe = probe_jedec,
1468 .erase = erase_49lf040,
1469 .write = write_49lf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001470 },
1471
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001472 {
1473 .vendor = "SST",
1474 .name = "SST49LF040",
1475 .manufacture_id = SST_ID,
1476 .model_id = SST_49LF040,
1477 .total_size = 512,
1478 .page_size = 4096,
1479 .tested = TEST_OK_PREW,
1480 .probe = probe_jedec,
1481 .erase = erase_49lf040,
1482 .write = write_49lf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001483 },
1484
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001485 {
1486 .vendor = "SST",
1487 .name = "SST49LF040B",
1488 .manufacture_id = SST_ID,
1489 .model_id = SST_49LF040B,
1490 .total_size = 512,
1491 .page_size = 64 * 1024,
1492 .tested = TEST_OK_PREW,
1493 .probe = probe_sst_fwhub,
1494 .erase = erase_sst_fwhub,
1495 .write = write_sst_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00001496 },
1497
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001498 {
1499 .vendor = "SST",
1500 .name = "SST49LF080A",
1501 .manufacture_id = SST_ID,
1502 .model_id = SST_49LF080A,
1503 .total_size = 1024,
1504 .page_size = 4096,
1505 .tested = TEST_OK_PREW,
1506 .probe = probe_jedec,
1507 .erase = erase_49lf040,
1508 .write = write_49lf040,
FENG yu ningff692fb2008-12-08 18:15:10 +00001509 },
1510
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001511 {
1512 .vendor = "SST",
1513 .name = "SST49LF160C",
1514 .manufacture_id = SST_ID,
1515 .model_id = SST_49LF160C,
1516 .total_size = 2048,
1517 .page_size = 4 * 1024,
1518 .tested = TEST_OK_PREW,
1519 .probe = probe_49lfxxxc,
1520 .erase = erase_49lfxxxc,
1521 .write = write_49lfxxxc,
FENG yu ningff692fb2008-12-08 18:15:10 +00001522 },
1523
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001524 {
1525 .vendor = "ST",
1526 .name = "M25P05-A",
1527 .manufacture_id = ST_ID,
1528 .model_id = ST_M25P05A,
1529 .total_size = 64,
1530 .page_size = 256,
1531 .tested = TEST_UNTESTED,
1532 .probe = probe_spi_rdid,
1533 .erase = spi_chip_erase_c7,
1534 .write = spi_chip_write,
1535 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001536 },
1537
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001538 {
1539 .vendor = "ST",
1540 .name = "M25P10-A",
1541 .manufacture_id = ST_ID,
1542 .model_id = ST_M25P10A,
1543 .total_size = 128,
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 = "M25P20",
1555 .manufacture_id = ST_ID,
1556 .model_id = ST_M25P20,
1557 .total_size = 256,
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 = "M25P40",
1569 .manufacture_id = ST_ID,
1570 .model_id = ST_M25P40,
1571 .total_size = 512,
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-old",
1583 .manufacture_id = ST_ID,
1584 .model_id = ST_M25P40_RES,
1585 .total_size = 512,
1586 .page_size = 256,
1587 .tested = TEST_UNTESTED,
1588 .probe = probe_spi_res,
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 = "M25P80",
1597 .manufacture_id = ST_ID,
1598 .model_id = ST_M25P80,
1599 .total_size = 1024,
1600 .page_size = 256,
1601 .tested = TEST_UNTESTED,
1602 .probe = probe_spi_rdid,
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 = "M25P16",
1611 .manufacture_id = ST_ID,
1612 .model_id = ST_M25P16,
1613 .total_size = 2048,
1614 .page_size = 256,
1615 .tested = TEST_OK_PREW,
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 = "M25P32",
1625 .manufacture_id = ST_ID,
1626 .model_id = ST_M25P32,
1627 .total_size = 4096,
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 = "M25P64",
1639 .manufacture_id = ST_ID,
1640 .model_id = ST_M25P64,
1641 .total_size = 8192,
1642 .page_size = 256,
1643 .tested = TEST_UNTESTED,
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 = "M25P128",
1653 .manufacture_id = ST_ID,
1654 .model_id = ST_M25P128,
1655 .total_size = 16384,
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 = "M29F002B",
1667 .manufacture_id = ST_ID,
1668 .model_id = ST_M29F002B,
1669 .total_size = 256,
1670 .page_size = 64 * 1024,
1671 .tested = TEST_UNTESTED,
1672 .probe = probe_jedec,
Peter Stugeaf8ffac2009-01-26 06:42:02 +00001673 .erase = erase_m29f002,
1674 .write = write_m29f002b,
FENG yu ningff692fb2008-12-08 18:15:10 +00001675 },
1676
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001677 {
1678 .vendor = "ST",
1679 .name = "M29F002T/NT",
1680 .manufacture_id = ST_ID,
1681 .model_id = ST_M29F002T,
1682 .total_size = 256,
1683 .page_size = 64 * 1024,
Peter Stugeaf8ffac2009-01-26 06:42:02 +00001684 .tested = TEST_OK_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001685 .probe = probe_jedec,
Peter Stugeaf8ffac2009-01-26 06:42:02 +00001686 .erase = erase_m29f002,
1687 .write = write_m29f002t,
FENG yu ningff692fb2008-12-08 18:15:10 +00001688 },
1689
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001690 {
1691 .vendor = "ST",
1692 .name = "M29F040B",
1693 .manufacture_id = ST_ID,
1694 .model_id = ST_M29F040B,
1695 .total_size = 512,
1696 .page_size = 64 * 1024,
1697 .tested = TEST_OK_PREW,
1698 .probe = probe_29f040b,
1699 .erase = erase_29f040b,
1700 .write = write_29f040b,
FENG yu ningff692fb2008-12-08 18:15:10 +00001701 },
1702
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001703 {
1704 .vendor = "ST",
1705 .name = "M29F400BT",
1706 .manufacture_id = ST_ID,
1707 .model_id = ST_M29F400BT,
1708 .total_size = 512,
1709 .page_size = 64 * 1024,
1710 .tested = TEST_UNTESTED,
1711 .probe = probe_m29f400bt,
1712 .erase = erase_m29f400bt,
1713 .write = write_coreboot_m29f400bt,
FENG yu ningff692fb2008-12-08 18:15:10 +00001714 },
1715
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001716 {
1717 .vendor = "ST",
1718 .name = "M29W010B",
1719 .manufacture_id = ST_ID,
1720 .model_id = ST_M29W010B,
1721 .total_size = 128,
1722 .page_size = 16 * 1024,
1723 .tested = TEST_UNTESTED,
1724 .probe = probe_jedec,
1725 .erase = erase_chip_jedec,
1726 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001727 },
1728
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001729 {
1730 .vendor = "ST",
1731 .name = "M29W040B",
1732 .manufacture_id = ST_ID,
1733 .model_id = ST_M29W040B,
1734 .total_size = 512,
1735 .page_size = 64 * 1024,
1736 .tested = TEST_UNTESTED,
1737 .probe = probe_jedec,
1738 .erase = erase_chip_jedec,
1739 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001740 },
1741
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001742 {
1743 .vendor = "ST",
1744 .name = "M50FLW040A",
1745 .manufacture_id = ST_ID,
1746 .model_id = ST_M50FLW040A,
1747 .total_size = 512,
1748 .page_size = 64 * 1024,
1749 .tested = TEST_UNTESTED,
1750 .probe = probe_stm50flw0x0x,
1751 .erase = erase_stm50flw0x0x,
1752 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001753 },
1754
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001755 {
1756 .vendor = "ST",
1757 .name = "M50FLW040B",
1758 .manufacture_id = ST_ID,
1759 .model_id = ST_M50FLW040B,
1760 .total_size = 512,
1761 .page_size = 64 * 1024,
1762 .tested = TEST_UNTESTED,
1763 .probe = probe_stm50flw0x0x,
1764 .erase = erase_stm50flw0x0x,
1765 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001766 },
1767
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001768 {
1769 .vendor = "ST",
1770 .name = "M50FLW080A",
1771 .manufacture_id = ST_ID,
1772 .model_id = ST_M50FLW080A,
1773 .total_size = 1024,
1774 .page_size = 64 * 1024,
1775 .tested = TEST_OK_PREW,
1776 .probe = probe_stm50flw0x0x,
1777 .erase = erase_stm50flw0x0x,
1778 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001779 },
1780
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001781 {
1782 .vendor = "ST",
1783 .name = "M50FLW080B",
1784 .manufacture_id = ST_ID,
1785 .model_id = ST_M50FLW080B,
1786 .total_size = 1024,
1787 .page_size = 64 * 1024,
1788 .tested = TEST_UNTESTED,
1789 .probe = probe_stm50flw0x0x,
1790 .erase = erase_stm50flw0x0x,
1791 .write = write_stm50flw0x0x,
FENG yu ningff692fb2008-12-08 18:15:10 +00001792 },
1793
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001794 {
1795 .vendor = "ST",
1796 .name = "M50FW002",
1797 .manufacture_id = ST_ID,
1798 .model_id = ST_M50FW002,
1799 .total_size = 256,
1800 .page_size = 64 * 1024,
1801 .tested = TEST_UNTESTED,
1802 .probe = probe_49lfxxxc,
1803 .erase = NULL,
1804 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00001805 },
1806
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001807 {
1808 .vendor = "ST",
1809 .name = "M50FW016",
1810 .manufacture_id = ST_ID,
1811 .model_id = ST_M50FW016,
1812 .total_size = 2048,
1813 .page_size = 64 * 1024,
1814 .tested = TEST_UNTESTED,
1815 .probe = probe_82802ab,
1816 .erase = erase_82802ab,
1817 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +00001818 },
1819
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001820 {
1821 .vendor = "ST",
1822 .name = "M50FW040",
1823 .manufacture_id = ST_ID,
1824 .model_id = ST_M50FW040,
1825 .total_size = 512,
1826 .page_size = 64 * 1024,
1827 .tested = TEST_OK_PREW,
1828 .probe = probe_82802ab,
1829 .erase = erase_82802ab,
1830 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +00001831 },
1832
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001833 {
1834 .vendor = "ST",
1835 .name = "M50FW080",
1836 .manufacture_id = ST_ID,
1837 .model_id = ST_M50FW080,
1838 .total_size = 1024,
1839 .page_size = 64 * 1024,
Peter Stugea657e942009-01-24 23:01:08 +00001840 .tested = TEST_OK_PREW,
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001841 .probe = probe_82802ab,
1842 .erase = erase_82802ab,
1843 .write = write_82802ab,
FENG yu ningff692fb2008-12-08 18:15:10 +00001844 },
1845
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001846 {
1847 .vendor = "ST",
1848 .name = "M50LPW116",
1849 .manufacture_id = ST_ID,
1850 .model_id = ST_M50LPW116,
1851 .total_size = 2048,
1852 .page_size = 64 * 1024,
1853 .tested = TEST_UNTESTED,
1854 .probe = probe_jedec,
1855 .erase = erase_chip_jedec,
1856 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001857 },
1858
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001859 {
1860 .vendor = "SyncMOS",
1861 .name = "S29C31004T",
1862 .manufacture_id = SYNCMOS_ID,
1863 .model_id = S29C31004T,
1864 .total_size = 512,
1865 .page_size = 128,
1866 .tested = TEST_UNTESTED,
1867 .probe = probe_jedec,
1868 .erase = erase_chip_jedec,
1869 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001870 },
1871
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001872 {
1873 .vendor = "SyncMOS",
1874 .name = "S29C51001T",
1875 .manufacture_id = SYNCMOS_ID,
1876 .model_id = S29C51001T,
1877 .total_size = 128,
1878 .page_size = 128,
1879 .tested = TEST_UNTESTED,
1880 .probe = probe_jedec,
1881 .erase = erase_chip_jedec,
1882 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001883 },
1884
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001885 {
1886 .vendor = "SyncMOS",
1887 .name = "S29C51002T",
1888 .manufacture_id = SYNCMOS_ID,
1889 .model_id = S29C51002T,
1890 .total_size = 256,
1891 .page_size = 128,
1892 .tested = TEST_OK_PREW,
1893 .probe = probe_jedec,
1894 .erase = erase_chip_jedec,
1895 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001896 },
1897
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001898 {
1899 .vendor = "SyncMOS",
1900 .name = "S29C51004T",
1901 .manufacture_id = SYNCMOS_ID,
1902 .model_id = S29C51004T,
1903 .total_size = 512,
1904 .page_size = 128,
1905 .tested = TEST_UNTESTED,
1906 .probe = probe_jedec,
1907 .erase = erase_chip_jedec,
1908 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00001909 },
1910
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001911 {
1912 .vendor = "Winbond",
1913 .name = "W25x10",
1914 .manufacture_id = WINBOND_NEX_ID,
1915 .model_id = W_25X10,
1916 .total_size = 128,
1917 .page_size = 256,
1918 .tested = TEST_UNTESTED,
1919 .probe = probe_spi_rdid,
1920 .erase = spi_chip_erase_c7,
1921 .write = spi_chip_write,
1922 .read = spi_chip_read,
FENG yu ningff692fb2008-12-08 18:15:10 +00001923 },
1924
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001925 {
1926 .vendor = "Winbond",
1927 .name = "W25x20",
1928 .manufacture_id = WINBOND_NEX_ID,
1929 .model_id = W_25X20,
1930 .total_size = 256,
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 = "W25x40",
1942 .manufacture_id = WINBOND_NEX_ID,
1943 .model_id = W_25X40,
1944 .total_size = 512,
1945 .page_size = 256,
1946 .tested = TEST_OK_PREW,
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 = "W25x80",
1956 .manufacture_id = WINBOND_NEX_ID,
1957 .model_id = W_25X80,
1958 .total_size = 1024,
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 = "W29C011",
1970 .manufacture_id = WINBOND_ID,
1971 .model_id = W_29C011,
1972 .total_size = 128,
1973 .page_size = 128,
1974 .tested = TEST_OK_PREW,
1975 .probe = probe_jedec,
1976 .erase = erase_chip_jedec,
1977 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001978 },
1979
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001980 {
1981 .vendor = "Winbond",
1982 .name = "W29C020C",
1983 .manufacture_id = WINBOND_ID,
1984 .model_id = W_29C020C,
1985 .total_size = 256,
1986 .page_size = 128,
1987 .tested = TEST_OK_PREW,
1988 .probe = probe_jedec,
1989 .erase = erase_chip_jedec,
1990 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00001991 },
1992
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00001993 {
1994 .vendor = "Winbond",
1995 .name = "W29C040P",
1996 .manufacture_id = WINBOND_ID,
1997 .model_id = W_29C040P,
1998 .total_size = 512,
1999 .page_size = 256,
2000 .tested = TEST_UNTESTED,
2001 .probe = probe_jedec,
2002 .erase = erase_chip_jedec,
2003 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00002004 },
2005
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002006 {
2007 .vendor = "Winbond",
2008 .name = "W29EE011",
2009 .manufacture_id = WINBOND_ID,
2010 .model_id = W_29C011,
2011 .total_size = 128,
2012 .page_size = 128,
2013 .tested = TEST_OK_PREW,
2014 .probe = probe_w29ee011,
2015 .erase = erase_chip_jedec,
2016 .write = write_jedec,
FENG yu ningff692fb2008-12-08 18:15:10 +00002017 },
2018
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002019 {
2020 .vendor = "Winbond",
2021 .name = "W39V040A",
2022 .manufacture_id = WINBOND_ID,
2023 .model_id = W_39V040A,
2024 .total_size = 512,
2025 .page_size = 64*1024,
2026 .tested = TEST_UNTESTED,
2027 .probe = probe_jedec,
2028 .erase = erase_chip_jedec,
2029 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002030 },
2031
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002032 {
2033 .vendor = "Winbond",
2034 .name = "W39V040B",
2035 .manufacture_id = WINBOND_ID,
2036 .model_id = W_39V040B,
2037 .total_size = 512,
2038 .page_size = 64*1024,
2039 .tested = TEST_OK_PREW,
2040 .probe = probe_jedec,
2041 .erase = erase_chip_jedec,
2042 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002043 },
2044
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002045 {
2046 .vendor = "Winbond",
2047 .name = "W39V040C",
2048 .manufacture_id = WINBOND_ID,
2049 .model_id = 0x50,
2050 .total_size = 512,
2051 .page_size = 64*1024,
2052 .tested = TEST_OK_PREW,
2053 .probe = probe_w39v040c,
2054 .erase = erase_w39v040c,
2055 .write = write_w39v040c,
FENG yu ningff692fb2008-12-08 18:15:10 +00002056 },
2057
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002058 {
2059 .vendor = "Winbond",
2060 .name = "W39V040FA",
2061 .manufacture_id = WINBOND_ID,
2062 .model_id = W_39V040FA,
2063 .total_size = 512,
2064 .page_size = 64*1024,
2065 .tested = TEST_OK_PREW,
2066 .probe = probe_jedec,
2067 .erase = erase_chip_jedec,
2068 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002069 },
2070
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002071 {
2072 .vendor = "Winbond",
2073 .name = "W39V080A",
2074 .manufacture_id = WINBOND_ID,
2075 .model_id = W_39V080A,
2076 .total_size = 1024,
2077 .page_size = 64*1024,
2078 .tested = TEST_OK_PREW,
2079 .probe = probe_jedec,
2080 .erase = erase_chip_jedec,
2081 .write = write_39sf020,
FENG yu ningff692fb2008-12-08 18:15:10 +00002082 },
2083
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002084 {
2085 .vendor = "Winbond",
2086 .name = "W49F002U",
2087 .manufacture_id = WINBOND_ID,
2088 .model_id = W_49F002U,
2089 .total_size = 256,
2090 .page_size = 128,
2091 .tested = TEST_OK_PREW,
2092 .probe = probe_jedec,
2093 .erase = erase_chip_jedec,
2094 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00002095 },
2096
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002097 {
2098 .vendor = "Winbond",
2099 .name = "W49V002A",
2100 .manufacture_id = WINBOND_ID,
2101 .model_id = W_49V002A,
2102 .total_size = 256,
2103 .page_size = 128,
2104 .tested = TEST_OK_PREW,
2105 .probe = probe_jedec,
2106 .erase = erase_chip_jedec,
2107 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00002108 },
2109
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002110 {
2111 .vendor = "Winbond",
2112 .name = "W49V002FA",
2113 .manufacture_id = WINBOND_ID,
2114 .model_id = W_49V002FA,
2115 .total_size = 256,
2116 .page_size = 128,
2117 .tested = TEST_UNTESTED,
2118 .probe = probe_jedec,
2119 .erase = erase_chip_jedec,
2120 .write = write_49f002,
FENG yu ningff692fb2008-12-08 18:15:10 +00002121 },
2122
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002123 {
2124 .vendor = "Winbond",
2125 .name = "W39V080FA",
2126 .manufacture_id = WINBOND_ID,
2127 .model_id = W_39V080FA,
2128 .total_size = 1024,
2129 .page_size = 64*1024,
2130 .tested = TEST_OK_PREW,
2131 .probe = probe_winbond_fwhub,
2132 .erase = erase_winbond_fwhub,
2133 .write = write_winbond_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00002134 },
2135
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002136 {
2137 .vendor = "Winbond",
2138 .name = "W39V080FA (dual mode)",
2139 .manufacture_id = WINBOND_ID,
2140 .model_id = W_39V080FA_DM,
2141 .total_size = 512,
2142 .page_size = 64*1024,
2143 .tested = TEST_UNTESTED,
2144 .probe = probe_winbond_fwhub,
2145 .erase = erase_winbond_fwhub,
2146 .write = write_winbond_fwhub,
FENG yu ningff692fb2008-12-08 18:15:10 +00002147 },
2148
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002149 {
2150 .vendor = "Atmel",
2151 .name = "unknown Atmel SPI chip",
2152 .manufacture_id = ATMEL_ID,
2153 .model_id = GENERIC_DEVICE_ID,
2154 .total_size = 0,
2155 .page_size = 256,
2156 .tested = TEST_UNTESTED,
2157 .probe = probe_spi_rdid,
2158 .erase = NULL,
2159 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002160 },
2161
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002162 {
2163 .vendor = "EON",
2164 .name = "unknown EON SPI chip",
2165 .manufacture_id = EON_ID_NOPREFIX,
2166 .model_id = GENERIC_DEVICE_ID,
2167 .total_size = 0,
2168 .page_size = 256,
2169 .tested = TEST_UNTESTED,
2170 .probe = probe_spi_rdid,
2171 .erase = NULL,
2172 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002173 },
2174
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002175 {
2176 .vendor = "Macronix",
2177 .name = "unknown Macronix SPI chip",
2178 .manufacture_id = MX_ID,
2179 .model_id = GENERIC_DEVICE_ID,
2180 .total_size = 0,
2181 .page_size = 256,
2182 .tested = TEST_UNTESTED,
2183 .probe = probe_spi_rdid,
2184 .erase = NULL,
2185 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002186 },
2187
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002188 {
2189 .vendor = "PMC",
2190 .name = "unknown PMC SPI chip",
2191 .manufacture_id = PMC_ID,
2192 .model_id = GENERIC_DEVICE_ID,
2193 .total_size = 0,
2194 .page_size = 256,
2195 .tested = TEST_UNTESTED,
2196 .probe = probe_spi_rdid,
2197 .erase = NULL,
2198 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002199 },
2200
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002201 {
2202 .vendor = "SST",
2203 .name = "unknown SST SPI chip",
2204 .manufacture_id = SST_ID,
2205 .model_id = GENERIC_DEVICE_ID,
2206 .total_size = 0,
2207 .page_size = 256,
2208 .tested = TEST_UNTESTED,
2209 .probe = probe_spi_rdid,
2210 .erase = NULL,
2211 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002212 },
2213
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002214 {
2215 .vendor = "ST",
2216 .name = "unknown ST SPI chip",
2217 .manufacture_id = ST_ID,
2218 .model_id = GENERIC_DEVICE_ID,
2219 .total_size = 0,
2220 .page_size = 256,
2221 .tested = TEST_UNTESTED,
2222 .probe = probe_spi_rdid,
2223 .erase = NULL,
2224 .write = NULL,
FENG yu ningff692fb2008-12-08 18:15:10 +00002225 },
Uwe Hermannfc425e82008-03-16 02:06:25 +00002226
Stephan Guilloux5c5b5252009-01-08 03:40:17 +00002227 { NULL }
2228 };