Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 8 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 9 | * 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 Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 13 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 14 | * 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 Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 18 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 19 | * 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 Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 21 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 22 | */ |
| 23 | |
| 24 | #include "flash.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 25 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 26 | /** |
| 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 Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 32 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 33 | |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 34 | /* 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 Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 40 | { |
| 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, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 51 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 52 | }, |
| 53 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 54 | { |
| 55 | .vendor = "AMD", |
| 56 | .name = "Am29F002(N)BT", |
| 57 | .manufacture_id = AMD_ID, |
| 58 | .model_id = AM_29F002BT, |
| 59 | .total_size = 256, |
| 60 | .page_size = 256, |
| 61 | .tested = TEST_OK_PREW, |
| 62 | .probe = probe_jedec, |
| 63 | .erase = erase_chip_jedec, |
| 64 | .write = write_en29f002a, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 65 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 66 | }, |
| 67 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 68 | { |
| 69 | .vendor = "AMD", |
| 70 | .name = "Am29F016D", |
| 71 | .manufacture_id = AMD_ID, |
| 72 | .model_id = AM_29F016D, |
| 73 | .total_size = 2048, |
| 74 | .page_size = 64 * 1024, |
| 75 | .tested = TEST_UNTESTED, |
| 76 | .probe = probe_29f040b, |
| 77 | .erase = erase_29f040b, |
| 78 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 79 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 80 | }, |
| 81 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 82 | { |
| 83 | .vendor = "AMD", |
| 84 | .name = "Am29F040B", |
| 85 | .manufacture_id = AMD_ID, |
| 86 | .model_id = AM_29F040B, |
| 87 | .total_size = 512, |
| 88 | .page_size = 64 * 1024, |
| 89 | .tested = TEST_OK_PREW, |
| 90 | .probe = probe_29f040b, |
| 91 | .erase = erase_29f040b, |
| 92 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 93 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 94 | }, |
| 95 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 96 | { |
| 97 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 98 | .name = "Am29F080B", |
| 99 | .manufacture_id = 0x01, |
| 100 | .model_id = 0xd5, |
| 101 | .total_size = 1024, |
| 102 | .page_size = 64 * 1024, |
| 103 | .tested = TEST_UNTESTED, |
| 104 | .probe = probe_jedec, |
| 105 | .erase = erase_29f040b, |
| 106 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 107 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 108 | }, |
| 109 | |
| 110 | { |
| 111 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 112 | .name = "Am29LV040B", |
| 113 | .manufacture_id = AMD_ID, |
| 114 | .model_id = AM_29LV040B, |
| 115 | .total_size = 512, |
| 116 | .page_size = 64 * 1024, |
| 117 | .tested = TEST_UNTESTED, |
| 118 | .probe = probe_29f040b, |
| 119 | .erase = erase_29f040b, |
| 120 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 121 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 122 | }, |
| 123 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 124 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 125 | .vendor = "AMD", |
| 126 | .name = "Am29LV081B", |
| 127 | .manufacture_id = 0x01, |
| 128 | .model_id = 0x38, |
| 129 | .total_size = 1024, |
| 130 | .page_size = 64 * 1024, |
| 131 | .tested = TEST_UNTESTED, |
| 132 | .probe = probe_29f040b, |
| 133 | .erase = erase_29f040b, |
| 134 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 135 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 136 | }, |
| 137 | |
| 138 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 139 | .vendor = "ASD", |
| 140 | .name = "AE49F2008", |
| 141 | .manufacture_id = ASD_ID, |
| 142 | .model_id = ASD_AE49F2008, |
| 143 | .total_size = 256, |
| 144 | .page_size = 128, |
| 145 | .tested = TEST_UNTESTED, |
| 146 | .probe = probe_jedec, |
| 147 | .erase = erase_chip_jedec, |
| 148 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 149 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 150 | }, |
| 151 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 152 | { |
| 153 | .vendor = "Atmel", |
| 154 | .name = "AT25DF021", |
| 155 | .manufacture_id = ATMEL_ID, |
| 156 | .model_id = AT_25DF021, |
| 157 | .total_size = 256, |
| 158 | .page_size = 256, |
| 159 | .tested = TEST_UNTESTED, |
| 160 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 161 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 162 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 163 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 164 | }, |
| 165 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 166 | { |
| 167 | .vendor = "Atmel", |
| 168 | .name = "AT25DF041A", |
| 169 | .manufacture_id = ATMEL_ID, |
| 170 | .model_id = AT_25DF041A, |
| 171 | .total_size = 512, |
| 172 | .page_size = 256, |
| 173 | .tested = TEST_UNTESTED, |
| 174 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 175 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 176 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 178 | }, |
| 179 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 180 | { |
| 181 | .vendor = "Atmel", |
| 182 | .name = "AT25DF081", |
| 183 | .manufacture_id = ATMEL_ID, |
| 184 | .model_id = AT_25DF081, |
| 185 | .total_size = 1024, |
| 186 | .page_size = 256, |
| 187 | .tested = TEST_UNTESTED, |
| 188 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 189 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 190 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 191 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 192 | }, |
| 193 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 194 | { |
| 195 | .vendor = "Atmel", |
| 196 | .name = "AT25DF161", |
| 197 | .manufacture_id = ATMEL_ID, |
| 198 | .model_id = AT_25DF161, |
| 199 | .total_size = 2048, |
| 200 | .page_size = 256, |
| 201 | .tested = TEST_UNTESTED, |
| 202 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 203 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 204 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 205 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 206 | }, |
| 207 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 208 | { |
| 209 | .vendor = "Atmel", |
| 210 | .name = "AT25DF321", |
| 211 | .manufacture_id = ATMEL_ID, |
| 212 | .model_id = AT_25DF321, |
| 213 | .total_size = 4096, |
| 214 | .page_size = 256, |
| 215 | .tested = TEST_OK_PREW, |
| 216 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 217 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 218 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 219 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 220 | }, |
| 221 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 222 | { |
| 223 | .vendor = "Atmel", |
| 224 | .name = "AT25DF321A", |
| 225 | .manufacture_id = ATMEL_ID, |
| 226 | .model_id = AT_25DF321A, |
| 227 | .total_size = 4096, |
| 228 | .page_size = 256, |
| 229 | .tested = TEST_UNTESTED, |
| 230 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 231 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 232 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 233 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 234 | }, |
| 235 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 236 | { |
| 237 | .vendor = "Atmel", |
| 238 | .name = "AT25DF641", |
| 239 | .manufacture_id = ATMEL_ID, |
| 240 | .model_id = AT_25DF641, |
| 241 | .total_size = 8192, |
| 242 | .page_size = 256, |
| 243 | .tested = TEST_UNTESTED, |
| 244 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 245 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 246 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 247 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 248 | }, |
| 249 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 250 | { |
| 251 | .vendor = "Atmel", |
| 252 | .name = "AT25F512B", |
| 253 | .manufacture_id = ATMEL_ID, |
| 254 | .model_id = AT_25F512B, |
| 255 | .total_size = 64, |
| 256 | .page_size = 256, |
| 257 | .tested = TEST_UNTESTED, |
| 258 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 259 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 260 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 261 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 262 | }, |
| 263 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 264 | { |
| 265 | .vendor = "Atmel", |
| 266 | .name = "AT25FS010", |
| 267 | .manufacture_id = ATMEL_ID, |
| 268 | .model_id = AT_25FS010, |
| 269 | .total_size = 128, |
| 270 | .page_size = 256, |
| 271 | .tested = TEST_UNTESTED, |
| 272 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 273 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 274 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 275 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 276 | }, |
| 277 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 278 | { |
| 279 | .vendor = "Atmel", |
| 280 | .name = "AT25FS040", |
| 281 | .manufacture_id = ATMEL_ID, |
| 282 | .model_id = AT_25FS040, |
| 283 | .total_size = 512, |
| 284 | .page_size = 256, |
| 285 | .tested = TEST_UNTESTED, |
| 286 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 287 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 288 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 289 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 290 | }, |
| 291 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 292 | { |
| 293 | .vendor = "Atmel", |
| 294 | .name = "AT26DF041", |
| 295 | .manufacture_id = ATMEL_ID, |
| 296 | .model_id = AT_26DF041, |
| 297 | .total_size = 512, |
| 298 | .page_size = 256, |
| 299 | .tested = TEST_UNTESTED, |
| 300 | .probe = probe_spi_rdid, |
| 301 | .erase = NULL, |
| 302 | .write = NULL /* Incompatible Page write */, |
| 303 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 304 | }, |
| 305 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 306 | { |
| 307 | .vendor = "Atmel", |
| 308 | .name = "AT26DF081A", |
| 309 | .manufacture_id = ATMEL_ID, |
| 310 | .model_id = AT_26DF081A, |
| 311 | .total_size = 1024, |
| 312 | .page_size = 256, |
| 313 | .tested = TEST_UNTESTED, |
| 314 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 315 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 316 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 317 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 318 | }, |
| 319 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 320 | { |
| 321 | .vendor = "Atmel", |
| 322 | .name = "AT26DF161", |
| 323 | .manufacture_id = ATMEL_ID, |
| 324 | .model_id = AT_26DF161, |
| 325 | .total_size = 2048, |
| 326 | .page_size = 256, |
| 327 | .tested = TEST_UNTESTED, |
| 328 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 329 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 330 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 331 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 332 | }, |
| 333 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 334 | { |
| 335 | .vendor = "Atmel", |
| 336 | .name = "AT26DF161A", |
| 337 | .manufacture_id = ATMEL_ID, |
| 338 | .model_id = AT_26DF161A, |
| 339 | .total_size = 2048, |
| 340 | .page_size = 256, |
| 341 | .tested = TEST_UNTESTED, |
| 342 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 343 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 344 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 345 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 346 | }, |
| 347 | |
| 348 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 349 | /*{ |
| 350 | .vendor = "Atmel", |
| 351 | .name = "AT26DF321", |
| 352 | .manufacture_id = ATMEL_ID, |
| 353 | .model_id = AT_26DF321, |
| 354 | .total_size = 4096, |
| 355 | .page_size = 256, |
| 356 | .tested = TEST_UNTESTED, |
| 357 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 358 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 359 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 360 | .read = spi_chip_read, |
| 361 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 362 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 363 | { |
| 364 | .vendor = "Atmel", |
| 365 | .name = "AT26F004", |
| 366 | .manufacture_id = ATMEL_ID, |
| 367 | .model_id = AT_26F004, |
| 368 | .total_size = 512, |
| 369 | .page_size = 256, |
| 370 | .tested = TEST_UNTESTED, |
| 371 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 372 | .erase = spi_chip_erase_60_c7, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 373 | .write = NULL /* Incompatible Page write */, |
| 374 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 375 | }, |
| 376 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 377 | { |
| 378 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame^] | 379 | .name = "AT29C010A", |
| 380 | .manufacture_id = ATMEL_ID, |
| 381 | .model_id = AT_29C010A, |
| 382 | .total_size = 128, |
| 383 | .page_size = 128, |
| 384 | .tested = TEST_OK_PRE, |
| 385 | .probe = probe_jedec, |
| 386 | .erase = erase_chip_jedec, |
| 387 | .write = write_jedec, /* FIXME */ |
| 388 | .read = read_memmapped, |
| 389 | }, |
| 390 | |
| 391 | { |
| 392 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 393 | .name = "AT29C020", |
| 394 | .manufacture_id = ATMEL_ID, |
| 395 | .model_id = AT_29C020, |
| 396 | .total_size = 256, |
| 397 | .page_size = 256, |
| 398 | .tested = TEST_OK_PREW, |
| 399 | .probe = probe_jedec, |
| 400 | .erase = erase_chip_jedec, |
| 401 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 402 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 403 | }, |
| 404 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 405 | { |
| 406 | .vendor = "Atmel", |
| 407 | .name = "AT29C040A", |
| 408 | .manufacture_id = ATMEL_ID, |
| 409 | .model_id = AT_29C040A, |
| 410 | .total_size = 512, |
| 411 | .page_size = 256, |
| 412 | .tested = TEST_UNTESTED, |
| 413 | .probe = probe_jedec, |
| 414 | .erase = erase_chip_jedec, |
| 415 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 416 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 417 | }, |
| 418 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 419 | { |
| 420 | .vendor = "Atmel", |
| 421 | .name = "AT45CS1282", |
| 422 | .manufacture_id = ATMEL_ID, |
| 423 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 424 | .total_size = 16896 /* No power of two sizes */, |
| 425 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 426 | .tested = TEST_BAD_READ, |
| 427 | .probe = probe_spi_rdid, |
| 428 | .erase = NULL, |
| 429 | .write = NULL /* Incompatible Page write */, |
| 430 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 431 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 432 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 433 | { |
| 434 | .vendor = "Atmel", |
| 435 | .name = "AT45DB011D", |
| 436 | .manufacture_id = ATMEL_ID, |
| 437 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 438 | .total_size = 128 /* Size can only be determined from status register */, |
| 439 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 440 | .tested = TEST_BAD_READ, |
| 441 | .probe = probe_spi_rdid, |
| 442 | .erase = NULL, |
| 443 | .write = NULL, |
| 444 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 445 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 446 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 447 | { |
| 448 | .vendor = "Atmel", |
| 449 | .name = "AT45DB021D", |
| 450 | .manufacture_id = ATMEL_ID, |
| 451 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 452 | .total_size = 256 /* Size can only be determined from status register */, |
| 453 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 454 | .tested = TEST_BAD_READ, |
| 455 | .probe = probe_spi_rdid, |
| 456 | .erase = NULL, |
| 457 | .write = NULL, |
| 458 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 459 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 460 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 461 | { |
| 462 | .vendor = "Atmel", |
| 463 | .name = "AT45DB041D", |
| 464 | .manufacture_id = ATMEL_ID, |
| 465 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 466 | .total_size = 512 /* Size can only be determined from status register */, |
| 467 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 468 | .tested = TEST_BAD_READ, |
| 469 | .probe = probe_spi_rdid, |
| 470 | .erase = NULL, |
| 471 | .write = NULL, |
| 472 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 473 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 474 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 475 | { |
| 476 | .vendor = "Atmel", |
| 477 | .name = "AT45DB081D", |
| 478 | .manufacture_id = ATMEL_ID, |
| 479 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 480 | .total_size = 1024 /* Size can only be determined from status register */, |
| 481 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 482 | .tested = TEST_BAD_READ, |
| 483 | .probe = probe_spi_rdid, |
| 484 | .erase = NULL, |
| 485 | .write = NULL, |
| 486 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 487 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 488 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 489 | { |
| 490 | .vendor = "Atmel", |
| 491 | .name = "AT45DB161D", |
| 492 | .manufacture_id = ATMEL_ID, |
| 493 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 494 | .total_size = 2048 /* Size can only be determined from status register */, |
| 495 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 496 | .tested = TEST_BAD_READ, |
| 497 | .probe = probe_spi_rdid, |
| 498 | .erase = NULL, |
| 499 | .write = NULL, |
| 500 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 501 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 503 | { |
| 504 | .vendor = "Atmel", |
| 505 | .name = "AT45DB321C", |
| 506 | .manufacture_id = ATMEL_ID, |
| 507 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 508 | .total_size = 4224 /* No power of two sizes */, |
| 509 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 510 | .tested = TEST_BAD_READ, |
| 511 | .probe = probe_spi_rdid, |
| 512 | .erase = NULL, |
| 513 | .write = NULL, |
| 514 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 515 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 516 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 517 | { |
| 518 | .vendor = "Atmel", |
| 519 | .name = "AT45DB321D", |
| 520 | .manufacture_id = ATMEL_ID, |
| 521 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 522 | .total_size = 4096 /* Size can only be determined from status register */, |
| 523 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 524 | .tested = TEST_BAD_READ, |
| 525 | .probe = probe_spi_rdid, |
| 526 | .erase = NULL, |
| 527 | .write = NULL, |
| 528 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 529 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 530 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 531 | { |
| 532 | .vendor = "Atmel", |
| 533 | .name = "AT45DB642D", |
| 534 | .manufacture_id = ATMEL_ID, |
| 535 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 536 | .total_size = 8192 /* Size can only be determined from status register */, |
| 537 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 538 | .tested = TEST_BAD_READ, |
| 539 | .probe = probe_spi_rdid, |
| 540 | .erase = NULL, |
| 541 | .write = NULL, |
| 542 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 543 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 544 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 545 | { |
| 546 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 547 | .name = "AT49BV512", |
| 548 | .manufacture_id = ATMEL_ID, |
| 549 | .model_id = AT_49BV512, |
| 550 | .total_size = 64, |
| 551 | .page_size = 64, |
| 552 | .tested = TEST_OK_PREW, |
| 553 | .probe = probe_jedec, |
| 554 | .erase = erase_chip_jedec, |
| 555 | .write = write_49f002, |
| 556 | .read = read_memmapped, |
| 557 | }, |
| 558 | |
| 559 | { |
| 560 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 561 | .name = "AT49F002(N)", |
| 562 | .manufacture_id = ATMEL_ID, |
| 563 | .model_id = AT_49F002N, |
| 564 | .total_size = 256, |
| 565 | .page_size = 256, |
| 566 | .tested = TEST_UNTESTED, |
| 567 | .probe = probe_jedec, |
| 568 | .erase = erase_chip_jedec, |
| 569 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 570 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 571 | }, |
| 572 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 573 | { |
| 574 | .vendor = "Atmel", |
| 575 | .name = "AT49F002(N)T", |
| 576 | .manufacture_id = ATMEL_ID, |
| 577 | .model_id = AT_49F002NT, |
| 578 | .total_size = 256, |
| 579 | .page_size = 256, |
| 580 | .tested = TEST_OK_PREW, |
| 581 | .probe = probe_jedec, |
| 582 | .erase = erase_chip_jedec, |
| 583 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 584 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 585 | }, |
| 586 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 587 | { |
| 588 | .vendor = "AMIC", |
| 589 | .name = "A25L40P", |
| 590 | .manufacture_id = AMIC_ID, |
| 591 | .model_id = AMIC_A25L40P, |
| 592 | .total_size = 512, |
| 593 | .page_size = 256, |
| 594 | .tested = TEST_OK_PREW, |
| 595 | .probe = probe_spi_rdid4, |
| 596 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 597 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 598 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 599 | }, |
| 600 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 601 | { |
| 602 | .vendor = "AMIC", |
| 603 | .name = "A29002B", |
| 604 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 605 | .model_id = AMIC_A29002B, |
| 606 | .total_size = 256, |
| 607 | .page_size = 64 * 1024, |
| 608 | .tested = TEST_UNTESTED, |
| 609 | .probe = probe_29f002, |
| 610 | .erase = erase_29f002, |
| 611 | .write = write_29f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 612 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 613 | }, |
| 614 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 615 | { |
| 616 | .vendor = "AMIC", |
| 617 | .name = "A29002T", |
| 618 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 619 | .model_id = AMIC_A29002T, |
| 620 | .total_size = 256, |
| 621 | .page_size = 64 * 1024, |
| 622 | .tested = TEST_OK_PREW, |
| 623 | .probe = probe_29f002, |
| 624 | .erase = erase_29f002, |
| 625 | .write = write_29f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 626 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 627 | }, |
| 628 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 629 | { |
| 630 | .vendor = "AMIC", |
| 631 | .name = "A29040B", |
| 632 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 633 | .model_id = AMIC_A29040B, |
| 634 | .total_size = 512, |
| 635 | .page_size = 64 * 1024, |
| 636 | .tested = TEST_OK_PR, |
| 637 | .probe = probe_29f040b, |
| 638 | .erase = erase_29f040b, |
| 639 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 640 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 641 | }, |
| 642 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 643 | { |
| 644 | .vendor = "AMIC", |
| 645 | .name = "A49LF040A", |
| 646 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 647 | .model_id = AMIC_A49LF040A, |
| 648 | .total_size = 512, |
| 649 | .page_size = 64 * 1024, |
| 650 | .tested = TEST_OK_PREW, |
| 651 | .probe = probe_49fl00x, |
| 652 | .erase = erase_49fl00x, |
| 653 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 654 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 655 | }, |
| 656 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 657 | { |
| 658 | .vendor = "EMST", |
| 659 | .name = "F49B002UA", |
| 660 | .manufacture_id = EMST_ID, |
| 661 | .model_id = EMST_F49B002UA, |
| 662 | .total_size = 256, |
| 663 | .page_size = 4096, |
| 664 | .tested = TEST_UNTESTED, |
| 665 | .probe = probe_jedec, |
| 666 | .erase = erase_chip_jedec, |
| 667 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 668 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 669 | }, |
| 670 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 671 | { |
| 672 | .vendor = "EON", |
| 673 | .name = "EN29F002(A)(N)B", |
| 674 | .manufacture_id = EON_ID, |
| 675 | .model_id = EN_29F002B, |
| 676 | .total_size = 256, |
| 677 | .page_size = 256, |
| 678 | .tested = TEST_UNTESTED, |
| 679 | .probe = probe_jedec, |
| 680 | .erase = erase_chip_jedec, |
| 681 | .write = write_en29f002a, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 682 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 683 | }, |
| 684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 685 | { |
| 686 | .vendor = "EON", |
| 687 | .name = "EN29F002(A)(N)T", |
| 688 | .manufacture_id = EON_ID, |
| 689 | .model_id = EN_29F002T, |
| 690 | .total_size = 256, |
| 691 | .page_size = 256, |
| 692 | .tested = TEST_OK_PREW, |
| 693 | .probe = probe_jedec, |
| 694 | .erase = erase_chip_jedec, |
| 695 | .write = write_en29f002a, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 696 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 697 | }, |
| 698 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 699 | { |
| 700 | .vendor = "Fujitsu", |
| 701 | .name = "MBM29F004BC", |
| 702 | .manufacture_id = FUJITSU_ID, |
| 703 | .model_id = MBM29F004BC, |
| 704 | .total_size = 512, |
| 705 | .page_size = 64 * 1024, |
| 706 | .tested = TEST_UNTESTED, |
| 707 | .probe = probe_jedec, |
| 708 | .erase = NULL, |
| 709 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 710 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 711 | }, |
| 712 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 713 | { |
| 714 | .vendor = "Fujitsu", |
| 715 | .name = "MBM29F004TC", |
| 716 | .manufacture_id = FUJITSU_ID, |
| 717 | .model_id = MBM29F004TC, |
| 718 | .total_size = 512, |
| 719 | .page_size = 64 * 1024, |
| 720 | .tested = TEST_UNTESTED, |
| 721 | .probe = probe_jedec, |
| 722 | .erase = NULL, |
| 723 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 724 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 725 | }, |
| 726 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 727 | { |
| 728 | .vendor = "Fujitsu", |
| 729 | .name = "MBM29F400BC", |
| 730 | .manufacture_id = FUJITSU_ID, |
| 731 | .model_id = MBM29F400BC, |
| 732 | .total_size = 512, |
| 733 | .page_size = 64 * 1024, |
| 734 | .tested = TEST_UNTESTED, |
| 735 | .probe = probe_m29f400bt, |
| 736 | .erase = erase_m29f400bt, |
| 737 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 738 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 739 | }, |
| 740 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 741 | { |
| 742 | .vendor = "Fujitsu", |
| 743 | .name = "MBM29F400TC", |
| 744 | .manufacture_id = FUJITSU_ID, |
| 745 | .model_id = MBM29F400TC, |
| 746 | .total_size = 512, |
| 747 | .page_size = 64 * 1024, |
| 748 | .tested = TEST_UNTESTED, |
| 749 | .probe = probe_m29f400bt, |
| 750 | .erase = erase_m29f400bt, |
| 751 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 752 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 753 | }, |
| 754 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 755 | { |
| 756 | .vendor = "Intel", |
| 757 | .name = "82802AB", |
| 758 | .manufacture_id = INTEL_ID, |
| 759 | .model_id = 173, |
| 760 | .total_size = 512, |
| 761 | .page_size = 64 * 1024, |
| 762 | .tested = TEST_OK_PREW, |
| 763 | .probe = probe_82802ab, |
| 764 | .erase = erase_82802ab, |
| 765 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 766 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 767 | }, |
| 768 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 769 | { |
| 770 | .vendor = "Intel", |
| 771 | .name = "82802AC", |
| 772 | .manufacture_id = INTEL_ID, |
| 773 | .model_id = 172, |
| 774 | .total_size = 1024, |
| 775 | .page_size = 64 * 1024, |
| 776 | .tested = TEST_OK_PREW, |
| 777 | .probe = probe_82802ab, |
| 778 | .erase = erase_82802ab, |
| 779 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 780 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 781 | }, |
| 782 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 783 | { |
| 784 | .vendor = "Macronix", |
| 785 | .name = "MX25L512", |
| 786 | .manufacture_id = MX_ID, |
| 787 | .model_id = MX_25L512, |
| 788 | .total_size = 64, |
| 789 | .page_size = 256, |
| 790 | .tested = TEST_UNTESTED, |
| 791 | .probe = probe_spi_rdid, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 792 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 793 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 794 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 795 | }, |
| 796 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 797 | { |
| 798 | .vendor = "Macronix", |
| 799 | .name = "MX25L1005", |
| 800 | .manufacture_id = MX_ID, |
| 801 | .model_id = MX_25L1005, |
| 802 | .total_size = 128, |
| 803 | .page_size = 256, |
| 804 | .tested = TEST_UNTESTED, |
| 805 | .probe = probe_spi_rdid, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 806 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 807 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 808 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 809 | }, |
| 810 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 811 | { |
| 812 | .vendor = "Macronix", |
| 813 | .name = "MX25L2005", |
| 814 | .manufacture_id = MX_ID, |
| 815 | .model_id = MX_25L2005, |
| 816 | .total_size = 256, |
| 817 | .page_size = 256, |
| 818 | .tested = TEST_UNTESTED, |
| 819 | .probe = probe_spi_rdid, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 820 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 821 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 822 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 823 | }, |
| 824 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 825 | { |
| 826 | .vendor = "Macronix", |
| 827 | .name = "MX25L4005", |
| 828 | .manufacture_id = MX_ID, |
| 829 | .model_id = MX_25L4005, |
| 830 | .total_size = 512, |
| 831 | .page_size = 256, |
| 832 | .tested = TEST_OK_PREW, |
| 833 | .probe = probe_spi_rdid, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 834 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 835 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 836 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 837 | }, |
| 838 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 839 | { |
| 840 | .vendor = "Macronix", |
| 841 | .name = "MX25L8005", |
| 842 | .manufacture_id = MX_ID, |
| 843 | .model_id = MX_25L8005, |
| 844 | .total_size = 1024, |
| 845 | .page_size = 256, |
| 846 | .tested = TEST_OK_PREW, |
| 847 | .probe = probe_spi_rdid, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 848 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 849 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 850 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 851 | }, |
| 852 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 853 | { |
| 854 | .vendor = "Macronix", |
| 855 | .name = "MX25L1605", |
| 856 | .manufacture_id = MX_ID, |
| 857 | .model_id = MX_25L1605, |
| 858 | .total_size = 2048, |
| 859 | .page_size = 256, |
Peter Stuge | ddb94f7 | 2009-04-29 23:22:33 +0000 | [diff] [blame] | 860 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 861 | .probe = probe_spi_rdid, |
Stephan Guilloux | e39631c | 2009-04-19 23:24:26 +0000 | [diff] [blame] | 862 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 863 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 864 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 865 | }, |
| 866 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 867 | { |
| 868 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 869 | .name = "MX25L1635D", |
| 870 | .manufacture_id = MX_ID, |
| 871 | .model_id = MX_25L1635D, |
| 872 | .total_size = 2048, |
| 873 | .page_size = 256, |
| 874 | .tested = TEST_UNTESTED, |
| 875 | .probe = probe_spi_rdid, |
Stephan Guilloux | e39631c | 2009-04-19 23:24:26 +0000 | [diff] [blame] | 876 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 877 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 878 | .read = spi_chip_read, |
| 879 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 880 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 881 | { |
| 882 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 883 | .name = "MX25L3205", |
| 884 | .manufacture_id = MX_ID, |
| 885 | .model_id = MX_25L3205, |
| 886 | .total_size = 4096, |
| 887 | .page_size = 256, |
| 888 | .tested = TEST_OK_PREW, |
| 889 | .probe = probe_spi_rdid, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 890 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 891 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 892 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 893 | }, |
| 894 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 895 | { |
| 896 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 897 | .name = "MX25L3235D", |
| 898 | .manufacture_id = MX_ID, |
| 899 | .model_id = MX_25L3235D, |
| 900 | .total_size = 4096, |
| 901 | .page_size = 256, |
| 902 | .tested = TEST_UNTESTED, |
| 903 | .probe = probe_spi_rdid, |
| 904 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 905 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 906 | .read = spi_chip_read, |
| 907 | }, |
| 908 | |
| 909 | { |
| 910 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 911 | .name = "MX25L6405", |
| 912 | .manufacture_id = MX_ID, |
| 913 | .model_id = MX_25L6405, |
| 914 | .total_size = 8192, |
| 915 | .page_size = 256, |
| 916 | .tested = TEST_UNTESTED, |
| 917 | .probe = probe_spi_rdid, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 918 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 919 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 920 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 921 | }, |
| 922 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 923 | { |
| 924 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 925 | .name = "MX25L12805", |
| 926 | .manufacture_id = MX_ID, |
| 927 | .model_id = MX_25L12805, |
| 928 | .total_size = 16384, |
| 929 | .page_size = 256, |
| 930 | .tested = TEST_UNTESTED, |
| 931 | .probe = probe_spi_rdid, |
| 932 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 933 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 934 | .read = spi_chip_read, |
| 935 | }, |
| 936 | |
| 937 | { |
| 938 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 939 | .name = "MX29F002B", |
| 940 | .manufacture_id = MX_ID, |
| 941 | .model_id = MX_29F002B, |
| 942 | .total_size = 256, |
| 943 | .page_size = 64 * 1024, |
| 944 | .tested = TEST_UNTESTED, |
| 945 | .probe = probe_29f002, |
| 946 | .erase = erase_29f002, |
| 947 | .write = write_29f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 948 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 949 | }, |
| 950 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 951 | { |
| 952 | .vendor = "Macronix", |
| 953 | .name = "MX29F002T", |
| 954 | .manufacture_id = MX_ID, |
| 955 | .model_id = MX_29F002T, |
| 956 | .total_size = 256, |
| 957 | .page_size = 64 * 1024, |
| 958 | .tested = TEST_UNTESTED, |
| 959 | .probe = probe_29f002, |
| 960 | .erase = erase_29f002, |
| 961 | .write = write_29f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 962 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 963 | }, |
| 964 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 965 | { |
| 966 | .vendor = "Macronix", |
| 967 | .name = "MX29LV040C", |
| 968 | .manufacture_id = MX_ID, |
| 969 | .model_id = MX_29LV040C, |
| 970 | .total_size = 512, |
| 971 | .page_size = 64 * 1024, |
| 972 | .tested = TEST_OK_PR, |
| 973 | .probe = probe_29f002, |
| 974 | .erase = erase_29f002, |
| 975 | .write = write_29f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 976 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 977 | }, |
| 978 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 979 | { |
| 980 | .vendor = "Numonyx", |
| 981 | .name = "M25PE10", |
| 982 | .manufacture_id = ST_ID, |
| 983 | .model_id = 0x8011, |
| 984 | .total_size = 128, |
| 985 | .page_size = 256, |
| 986 | .tested = TEST_UNTESTED, |
| 987 | .probe = probe_spi_rdid, |
| 988 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 989 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 990 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 991 | }, |
| 992 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 993 | { |
| 994 | .vendor = "Numonyx", |
| 995 | .name = "M25PE20", |
| 996 | .manufacture_id = ST_ID, |
| 997 | .model_id = 0x8012, |
| 998 | .total_size = 256, |
| 999 | .page_size = 256, |
| 1000 | .tested = TEST_UNTESTED, |
| 1001 | .probe = probe_spi_rdid, |
| 1002 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1003 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1004 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1005 | }, |
| 1006 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1007 | { |
| 1008 | .vendor = "Numonyx", |
| 1009 | .name = "M25PE40", |
| 1010 | .manufacture_id = ST_ID, |
| 1011 | .model_id = 0x8013, |
| 1012 | .total_size = 256, |
| 1013 | .page_size = 256, |
| 1014 | .tested = TEST_UNTESTED, |
| 1015 | .probe = probe_spi_rdid, |
| 1016 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1017 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1018 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1019 | }, |
| 1020 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1021 | { |
| 1022 | .vendor = "Numonyx", |
| 1023 | .name = "M25PE80", |
| 1024 | .manufacture_id = ST_ID, |
| 1025 | .model_id = 0x8014, |
| 1026 | .total_size = 1024, |
| 1027 | .page_size = 256, |
| 1028 | .tested = TEST_OK_PREW, |
| 1029 | .probe = probe_spi_rdid, |
| 1030 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1031 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1032 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1033 | }, |
| 1034 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1035 | { |
| 1036 | .vendor = "Numonyx", |
| 1037 | .name = "M25PE16", |
| 1038 | .manufacture_id = ST_ID, |
| 1039 | .model_id = 0x8015, |
| 1040 | .total_size = 2048, |
| 1041 | .page_size = 256, |
| 1042 | .tested = TEST_UNTESTED, |
| 1043 | .probe = probe_spi_rdid, |
| 1044 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1045 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1046 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1047 | }, |
| 1048 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1049 | { |
| 1050 | .vendor = "PMC", |
| 1051 | .name = "Pm25LV010", |
| 1052 | .manufacture_id = PMC_ID, |
| 1053 | .model_id = PMC_25LV010, |
| 1054 | .total_size = 128, |
| 1055 | .page_size = 256, |
| 1056 | .tested = TEST_UNTESTED, |
| 1057 | .probe = probe_spi_rdid, |
| 1058 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1059 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1060 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1061 | }, |
| 1062 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1063 | { |
| 1064 | .vendor = "PMC", |
| 1065 | .name = "Pm25LV016B", |
| 1066 | .manufacture_id = PMC_ID, |
| 1067 | .model_id = PMC_25LV016B, |
| 1068 | .total_size = 2048, |
| 1069 | .page_size = 256, |
| 1070 | .tested = TEST_UNTESTED, |
| 1071 | .probe = probe_spi_rdid, |
| 1072 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1073 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1074 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1075 | }, |
| 1076 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1077 | { |
| 1078 | .vendor = "PMC", |
| 1079 | .name = "Pm25LV020", |
| 1080 | .manufacture_id = PMC_ID, |
| 1081 | .model_id = PMC_25LV020, |
| 1082 | .total_size = 256, |
| 1083 | .page_size = 256, |
| 1084 | .tested = TEST_UNTESTED, |
| 1085 | .probe = probe_spi_rdid, |
| 1086 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1087 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1088 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1089 | }, |
| 1090 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1091 | { |
| 1092 | .vendor = "PMC", |
| 1093 | .name = "Pm25LV040", |
| 1094 | .manufacture_id = PMC_ID, |
| 1095 | .model_id = PMC_25LV040, |
| 1096 | .total_size = 512, |
| 1097 | .page_size = 256, |
| 1098 | .tested = TEST_UNTESTED, |
| 1099 | .probe = probe_spi_rdid, |
| 1100 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1101 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1102 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1103 | }, |
| 1104 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1105 | { |
| 1106 | .vendor = "PMC", |
| 1107 | .name = "Pm25LV080B", |
| 1108 | .manufacture_id = PMC_ID, |
| 1109 | .model_id = PMC_25LV080B, |
| 1110 | .total_size = 1024, |
| 1111 | .page_size = 256, |
| 1112 | .tested = TEST_UNTESTED, |
| 1113 | .probe = probe_spi_rdid, |
| 1114 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1115 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1116 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1117 | }, |
| 1118 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1119 | { |
| 1120 | .vendor = "PMC", |
| 1121 | .name = "Pm25LV512", |
| 1122 | .manufacture_id = PMC_ID, |
| 1123 | .model_id = PMC_25LV512, |
| 1124 | .total_size = 64, |
| 1125 | .page_size = 256, |
| 1126 | .tested = TEST_UNTESTED, |
| 1127 | .probe = probe_spi_rdid, |
| 1128 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1129 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1130 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1131 | }, |
| 1132 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1133 | { |
| 1134 | .vendor = "PMC", |
| 1135 | .name = "Pm49FL002", |
| 1136 | .manufacture_id = PMC_ID_NOPREFIX, |
| 1137 | .model_id = PMC_49FL002, |
| 1138 | .total_size = 256, |
| 1139 | .page_size = 16 * 1024, |
| 1140 | .tested = TEST_OK_PREW, |
| 1141 | .probe = probe_49fl00x, |
| 1142 | .erase = erase_49fl00x, |
| 1143 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1145 | }, |
| 1146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1147 | { |
| 1148 | .vendor = "PMC", |
| 1149 | .name = "Pm49FL004", |
| 1150 | .manufacture_id = PMC_ID_NOPREFIX, |
| 1151 | .model_id = PMC_49FL004, |
| 1152 | .total_size = 512, |
| 1153 | .page_size = 64 * 1024, |
| 1154 | .tested = TEST_OK_PREW, |
| 1155 | .probe = probe_49fl00x, |
| 1156 | .erase = erase_49fl00x, |
| 1157 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1158 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1159 | }, |
| 1160 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1161 | { |
| 1162 | .vendor = "Sharp", |
| 1163 | .name = "LHF00L04", |
| 1164 | .manufacture_id = SHARP_ID, |
| 1165 | .model_id = SHARP_LHF00L04, |
| 1166 | .total_size = 1024, |
| 1167 | .page_size = 64 * 1024, |
| 1168 | .tested = TEST_UNTESTED, |
| 1169 | .probe = probe_lhf00l04, |
| 1170 | .erase = erase_lhf00l04, |
| 1171 | .write = write_lhf00l04, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1172 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1173 | }, |
| 1174 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1175 | { |
| 1176 | .vendor = "Spansion", |
| 1177 | .name = "S25FL016A", |
| 1178 | .manufacture_id = SPANSION_ID, |
| 1179 | .model_id = SPANSION_S25FL016A, |
| 1180 | .total_size = 2048, |
| 1181 | .page_size = 256, |
| 1182 | .tested = TEST_OK_PREW, |
| 1183 | .probe = probe_spi_rdid, |
| 1184 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1185 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1186 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1187 | }, |
| 1188 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1189 | { |
| 1190 | .vendor = "SST", |
| 1191 | .name = "SST25VF016B", |
| 1192 | .manufacture_id = SST_ID, |
| 1193 | .model_id = SST_25VF016B, |
| 1194 | .total_size = 2048, |
| 1195 | .page_size = 256, |
| 1196 | .tested = TEST_OK_PREW, |
| 1197 | .probe = probe_spi_rdid, |
| 1198 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 1199 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1200 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1201 | }, |
| 1202 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1203 | { |
| 1204 | .vendor = "SST", |
| 1205 | .name = "SST25VF032B", |
| 1206 | .manufacture_id = SST_ID, |
| 1207 | .model_id = SST_25VF032B, |
| 1208 | .total_size = 4096, |
| 1209 | .page_size = 256, |
| 1210 | .tested = TEST_OK_PREW, |
| 1211 | .probe = probe_spi_rdid, |
| 1212 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 1213 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1214 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1215 | }, |
| 1216 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1217 | { |
| 1218 | .vendor = "SST", |
| 1219 | .name = "SST25VF040B", |
| 1220 | .manufacture_id = SST_ID, |
| 1221 | .model_id = SST_25VF040B, |
| 1222 | .total_size = 512, |
| 1223 | .page_size = 256, |
| 1224 | .tested = TEST_UNTESTED, |
| 1225 | .probe = probe_spi_rdid, |
| 1226 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 1227 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1228 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1229 | }, |
| 1230 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1231 | { |
| 1232 | .vendor = "SST", |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 1233 | .name = "SST25VF040.REMS", |
| 1234 | .manufacture_id = 0xbf, |
| 1235 | .model_id = 0x44, |
| 1236 | .total_size = 512, |
| 1237 | .page_size = 64*1024, |
| 1238 | .tested = TEST_OK_PR, |
| 1239 | .probe = probe_spi_rems, |
| 1240 | .erase = spi_chip_erase_60, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 1241 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 1242 | .read = spi_chip_read, |
| 1243 | }, |
| 1244 | |
| 1245 | { |
| 1246 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 1247 | .name = "SST25VF040B.REMS", |
| 1248 | .manufacture_id = 0xbf, |
| 1249 | .model_id = 0x8d, |
| 1250 | .total_size = 512, |
| 1251 | .page_size = 64*1024, |
| 1252 | .tested = TEST_OK_PR, |
| 1253 | .probe = probe_spi_rems, |
| 1254 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 1255 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 1256 | .read = spi_chip_read, |
| 1257 | }, |
| 1258 | |
| 1259 | { |
| 1260 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1261 | .name = "SST25VF080B", |
| 1262 | .manufacture_id = SST_ID, |
| 1263 | .model_id = SST_25VF080B, |
| 1264 | .total_size = 1024, |
| 1265 | .page_size = 256, |
Peter Stuge | e612a11 | 2009-05-05 16:34:53 +0000 | [diff] [blame] | 1266 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1267 | .probe = probe_spi_rdid, |
| 1268 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1269 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1270 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1271 | }, |
| 1272 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1273 | { |
| 1274 | .vendor = "SST", |
| 1275 | .name = "SST28SF040A", |
| 1276 | .manufacture_id = SST_ID, |
| 1277 | .model_id = SST_28SF040, |
| 1278 | .total_size = 512, |
| 1279 | .page_size = 256, |
| 1280 | .tested = TEST_UNTESTED, |
| 1281 | .probe = probe_28sf040, |
| 1282 | .erase = erase_28sf040, |
| 1283 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1284 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1285 | }, |
| 1286 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1287 | { |
| 1288 | .vendor = "SST", |
| 1289 | .name = "SST29EE010", |
| 1290 | .manufacture_id = SST_ID, |
| 1291 | .model_id = SST_29EE010, |
| 1292 | .total_size = 128, |
| 1293 | .page_size = 128, |
| 1294 | .tested = TEST_OK_PREW, |
| 1295 | .probe = probe_jedec, |
| 1296 | .erase = erase_chip_jedec, |
| 1297 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1298 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1299 | }, |
| 1300 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1301 | { |
| 1302 | .vendor = "SST", |
| 1303 | .name = "SST29LE010", |
| 1304 | .manufacture_id = SST_ID, |
| 1305 | .model_id = SST_29LE010, |
| 1306 | .total_size = 128, |
| 1307 | .page_size = 128, |
| 1308 | .tested = TEST_UNTESTED, |
| 1309 | .probe = probe_jedec, |
| 1310 | .erase = erase_chip_jedec, |
| 1311 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1312 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1313 | }, |
| 1314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1315 | { |
| 1316 | .vendor = "SST", |
| 1317 | .name = "SST29EE020A", |
| 1318 | .manufacture_id = SST_ID, |
| 1319 | .model_id = SST_29EE020A, |
| 1320 | .total_size = 256, |
| 1321 | .page_size = 128, |
Peter Stuge | b27d0a2 | 2009-02-22 21:07:28 +0000 | [diff] [blame] | 1322 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1323 | .probe = probe_jedec, |
| 1324 | .erase = erase_chip_jedec, |
| 1325 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1326 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1327 | }, |
| 1328 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1329 | { |
| 1330 | .vendor = "SST", |
| 1331 | .name = "SST29LE020", |
| 1332 | .manufacture_id = SST_ID, |
| 1333 | .model_id = SST_29LE020, |
| 1334 | .total_size = 256, |
| 1335 | .page_size = 128, |
| 1336 | .tested = TEST_UNTESTED, |
| 1337 | .probe = probe_jedec, |
| 1338 | .erase = erase_chip_jedec, |
| 1339 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1340 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1341 | }, |
| 1342 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1343 | { |
| 1344 | .vendor = "SST", |
| 1345 | .name = "SST39SF010A", |
| 1346 | .manufacture_id = SST_ID, |
| 1347 | .model_id = SST_39SF010, |
| 1348 | .total_size = 128, |
| 1349 | .page_size = 4096, |
| 1350 | .tested = TEST_OK_PREW, |
| 1351 | .probe = probe_jedec, |
| 1352 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1353 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1354 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1355 | }, |
| 1356 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1357 | { |
| 1358 | .vendor = "SST", |
| 1359 | .name = "SST39SF020A", |
| 1360 | .manufacture_id = SST_ID, |
| 1361 | .model_id = SST_39SF020, |
| 1362 | .total_size = 256, |
| 1363 | .page_size = 4096, |
| 1364 | .tested = TEST_OK_PREW, |
| 1365 | .probe = probe_jedec, |
| 1366 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1367 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1368 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1369 | }, |
| 1370 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1371 | { |
| 1372 | .vendor = "SST", |
| 1373 | .name = "SST39SF040", |
| 1374 | .manufacture_id = SST_ID, |
| 1375 | .model_id = SST_39SF040, |
| 1376 | .total_size = 512, |
| 1377 | .page_size = 4096, |
| 1378 | .tested = TEST_OK_PREW, |
| 1379 | .probe = probe_jedec, |
| 1380 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1381 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1382 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1383 | }, |
| 1384 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1385 | { |
| 1386 | .vendor = "SST", |
| 1387 | .name = "SST39VF512", |
| 1388 | .manufacture_id = SST_ID, |
| 1389 | .model_id = SST_39VF512, |
| 1390 | .total_size = 64, |
| 1391 | .page_size = 4096, |
Mateusz Murawski | e345381 | 2009-05-13 15:57:38 +0000 | [diff] [blame] | 1392 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1393 | .probe = probe_jedec, |
| 1394 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1395 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1396 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1397 | }, |
| 1398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1399 | { |
| 1400 | .vendor = "SST", |
| 1401 | .name = "SST39VF010", |
| 1402 | .manufacture_id = SST_ID, |
| 1403 | .model_id = SST_39VF010, |
| 1404 | .total_size = 128, |
| 1405 | .page_size = 4096, |
| 1406 | .tested = TEST_UNTESTED, |
| 1407 | .probe = probe_jedec, |
| 1408 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1409 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1410 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1411 | }, |
| 1412 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1413 | { |
| 1414 | .vendor = "SST", |
| 1415 | .name = "SST39VF020", |
| 1416 | .manufacture_id = SST_ID, |
| 1417 | .model_id = SST_39VF020, |
| 1418 | .total_size = 256, |
| 1419 | .page_size = 4096, |
| 1420 | .tested = TEST_OK_PREW, |
| 1421 | .probe = probe_jedec, |
| 1422 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1423 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1424 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1425 | }, |
| 1426 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1427 | { |
| 1428 | .vendor = "SST", |
| 1429 | .name = "SST39VF040", |
| 1430 | .manufacture_id = SST_ID, |
| 1431 | .model_id = SST_39VF040, |
| 1432 | .total_size = 512, |
| 1433 | .page_size = 4096, |
| 1434 | .tested = TEST_OK_PROBE, |
| 1435 | .probe = probe_jedec, |
| 1436 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1437 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1438 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 1439 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1440 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1441 | { |
| 1442 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 1443 | .name = "SST39VF080", |
| 1444 | .manufacture_id = 0xbf, |
| 1445 | .model_id = 0xd8, |
| 1446 | .total_size = 1024, |
| 1447 | .page_size = 4096, |
| 1448 | .tested = TEST_UNTESTED, |
| 1449 | .probe = probe_jedec, |
| 1450 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 1451 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1452 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 1453 | }, |
| 1454 | |
| 1455 | { |
| 1456 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1457 | .name = "SST49LF002A/B", |
| 1458 | .manufacture_id = SST_ID, |
| 1459 | .model_id = SST_49LF002A, |
| 1460 | .total_size = 256, |
| 1461 | .page_size = 16 * 1024, |
| 1462 | .tested = TEST_OK_PREW, |
| 1463 | .probe = probe_sst_fwhub, |
| 1464 | .erase = erase_sst_fwhub, |
| 1465 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1466 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1467 | }, |
| 1468 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1469 | { |
| 1470 | .vendor = "SST", |
| 1471 | .name = "SST49LF003A/B", |
| 1472 | .manufacture_id = SST_ID, |
| 1473 | .model_id = SST_49LF003A, |
| 1474 | .total_size = 384, |
| 1475 | .page_size = 64 * 1024, |
| 1476 | .tested = TEST_UNTESTED, |
| 1477 | .probe = probe_sst_fwhub, |
| 1478 | .erase = erase_sst_fwhub, |
| 1479 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1480 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1481 | }, |
| 1482 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1483 | { |
| 1484 | .vendor = "SST", |
| 1485 | .name = "SST49LF004A/B", |
| 1486 | .manufacture_id = SST_ID, |
| 1487 | .model_id = SST_49LF004A, |
| 1488 | .total_size = 512, |
| 1489 | .page_size = 64 * 1024, |
| 1490 | .tested = TEST_OK_PREW, |
| 1491 | .probe = probe_sst_fwhub, |
| 1492 | .erase = erase_sst_fwhub, |
| 1493 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1494 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1495 | }, |
| 1496 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1497 | { |
| 1498 | .vendor = "SST", |
| 1499 | .name = "SST49LF004C", |
| 1500 | .manufacture_id = SST_ID, |
| 1501 | .model_id = SST_49LF004C, |
| 1502 | .total_size = 512, |
| 1503 | .page_size = 4 * 1024, |
| 1504 | .tested = TEST_UNTESTED, |
| 1505 | .probe = probe_49lfxxxc, |
| 1506 | .erase = erase_49lfxxxc, |
| 1507 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1508 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1509 | }, |
| 1510 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1511 | { |
| 1512 | .vendor = "SST", |
| 1513 | .name = "SST49LF008A", |
| 1514 | .manufacture_id = SST_ID, |
| 1515 | .model_id = SST_49LF008A, |
| 1516 | .total_size = 1024, |
| 1517 | .page_size = 64 * 1024, |
| 1518 | .tested = TEST_OK_PREW, |
| 1519 | .probe = probe_sst_fwhub, |
| 1520 | .erase = erase_sst_fwhub, |
| 1521 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1522 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1523 | }, |
| 1524 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1525 | { |
| 1526 | .vendor = "SST", |
| 1527 | .name = "SST49LF008C", |
| 1528 | .manufacture_id = SST_ID, |
| 1529 | .model_id = SST_49LF008C, |
| 1530 | .total_size = 1024, |
| 1531 | .page_size = 4 * 1024, |
| 1532 | .tested = TEST_UNTESTED, |
| 1533 | .probe = probe_49lfxxxc, |
| 1534 | .erase = erase_49lfxxxc, |
| 1535 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1536 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1537 | }, |
| 1538 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1539 | { |
| 1540 | .vendor = "SST", |
| 1541 | .name = "SST49LF016C", |
| 1542 | .manufacture_id = SST_ID, |
| 1543 | .model_id = SST_49LF016C, |
| 1544 | .total_size = 2048, |
| 1545 | .page_size = 4 * 1024, |
| 1546 | .tested = TEST_OK_PREW, |
| 1547 | .probe = probe_49lfxxxc, |
| 1548 | .erase = erase_49lfxxxc, |
| 1549 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1550 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1551 | }, |
| 1552 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1553 | { |
| 1554 | .vendor = "SST", |
| 1555 | .name = "SST49LF020", |
| 1556 | .manufacture_id = SST_ID, |
| 1557 | .model_id = SST_49LF020, |
| 1558 | .total_size = 256, |
| 1559 | .page_size = 16 * 1024, |
| 1560 | .tested = TEST_OK_PR, |
| 1561 | .probe = probe_jedec, |
| 1562 | .erase = erase_49lf040, |
| 1563 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1564 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 1565 | }, |
| 1566 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1567 | { |
| 1568 | .vendor = "SST", |
| 1569 | .name = "SST49LF020A", |
| 1570 | .manufacture_id = SST_ID, |
| 1571 | .model_id = SST_49LF020A, |
| 1572 | .total_size = 256, |
| 1573 | .page_size = 16 * 1024, |
| 1574 | .tested = TEST_UNTESTED, |
| 1575 | .probe = probe_jedec, |
| 1576 | .erase = erase_49lf040, |
| 1577 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1578 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1579 | }, |
| 1580 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1581 | { |
| 1582 | .vendor = "SST", |
| 1583 | .name = "SST49LF040", |
| 1584 | .manufacture_id = SST_ID, |
| 1585 | .model_id = SST_49LF040, |
| 1586 | .total_size = 512, |
| 1587 | .page_size = 4096, |
| 1588 | .tested = TEST_OK_PREW, |
| 1589 | .probe = probe_jedec, |
| 1590 | .erase = erase_49lf040, |
| 1591 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1592 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1593 | }, |
| 1594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | { |
| 1596 | .vendor = "SST", |
| 1597 | .name = "SST49LF040B", |
| 1598 | .manufacture_id = SST_ID, |
| 1599 | .model_id = SST_49LF040B, |
| 1600 | .total_size = 512, |
| 1601 | .page_size = 64 * 1024, |
| 1602 | .tested = TEST_OK_PREW, |
| 1603 | .probe = probe_sst_fwhub, |
| 1604 | .erase = erase_sst_fwhub, |
| 1605 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1606 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1607 | }, |
| 1608 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1609 | { |
| 1610 | .vendor = "SST", |
| 1611 | .name = "SST49LF080A", |
| 1612 | .manufacture_id = SST_ID, |
| 1613 | .model_id = SST_49LF080A, |
| 1614 | .total_size = 1024, |
| 1615 | .page_size = 4096, |
| 1616 | .tested = TEST_OK_PREW, |
| 1617 | .probe = probe_jedec, |
| 1618 | .erase = erase_49lf040, |
| 1619 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1620 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1621 | }, |
| 1622 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1623 | { |
| 1624 | .vendor = "SST", |
| 1625 | .name = "SST49LF160C", |
| 1626 | .manufacture_id = SST_ID, |
| 1627 | .model_id = SST_49LF160C, |
| 1628 | .total_size = 2048, |
| 1629 | .page_size = 4 * 1024, |
| 1630 | .tested = TEST_OK_PREW, |
| 1631 | .probe = probe_49lfxxxc, |
| 1632 | .erase = erase_49lfxxxc, |
| 1633 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1634 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1635 | }, |
| 1636 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1637 | { |
| 1638 | .vendor = "ST", |
| 1639 | .name = "M25P05-A", |
| 1640 | .manufacture_id = ST_ID, |
| 1641 | .model_id = ST_M25P05A, |
| 1642 | .total_size = 64, |
| 1643 | .page_size = 256, |
| 1644 | .tested = TEST_UNTESTED, |
| 1645 | .probe = probe_spi_rdid, |
| 1646 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1647 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1648 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1649 | }, |
| 1650 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1651 | { |
| 1652 | .vendor = "ST", |
| 1653 | .name = "M25P10-A", |
| 1654 | .manufacture_id = ST_ID, |
| 1655 | .model_id = ST_M25P10A, |
| 1656 | .total_size = 128, |
| 1657 | .page_size = 256, |
| 1658 | .tested = TEST_UNTESTED, |
| 1659 | .probe = probe_spi_rdid, |
| 1660 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1661 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1662 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1663 | }, |
| 1664 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1665 | { |
| 1666 | .vendor = "ST", |
| 1667 | .name = "M25P20", |
| 1668 | .manufacture_id = ST_ID, |
| 1669 | .model_id = ST_M25P20, |
| 1670 | .total_size = 256, |
| 1671 | .page_size = 256, |
| 1672 | .tested = TEST_UNTESTED, |
| 1673 | .probe = probe_spi_rdid, |
| 1674 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1675 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1676 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1677 | }, |
| 1678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1679 | { |
| 1680 | .vendor = "ST", |
| 1681 | .name = "M25P40", |
| 1682 | .manufacture_id = ST_ID, |
| 1683 | .model_id = ST_M25P40, |
| 1684 | .total_size = 512, |
| 1685 | .page_size = 256, |
| 1686 | .tested = TEST_UNTESTED, |
| 1687 | .probe = probe_spi_rdid, |
| 1688 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1689 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1690 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1691 | }, |
| 1692 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1693 | { |
| 1694 | .vendor = "ST", |
| 1695 | .name = "M25P40-old", |
| 1696 | .manufacture_id = ST_ID, |
| 1697 | .model_id = ST_M25P40_RES, |
| 1698 | .total_size = 512, |
| 1699 | .page_size = 256, |
| 1700 | .tested = TEST_UNTESTED, |
| 1701 | .probe = probe_spi_res, |
| 1702 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1703 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1704 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1705 | }, |
| 1706 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1707 | { |
| 1708 | .vendor = "ST", |
| 1709 | .name = "M25P80", |
| 1710 | .manufacture_id = ST_ID, |
| 1711 | .model_id = ST_M25P80, |
| 1712 | .total_size = 1024, |
| 1713 | .page_size = 256, |
| 1714 | .tested = TEST_UNTESTED, |
| 1715 | .probe = probe_spi_rdid, |
| 1716 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1717 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1718 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1719 | }, |
| 1720 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1721 | { |
| 1722 | .vendor = "ST", |
| 1723 | .name = "M25P16", |
| 1724 | .manufacture_id = ST_ID, |
| 1725 | .model_id = ST_M25P16, |
| 1726 | .total_size = 2048, |
| 1727 | .page_size = 256, |
| 1728 | .tested = TEST_OK_PREW, |
| 1729 | .probe = probe_spi_rdid, |
| 1730 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1731 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1732 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1733 | }, |
| 1734 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1735 | { |
| 1736 | .vendor = "ST", |
| 1737 | .name = "M25P32", |
| 1738 | .manufacture_id = ST_ID, |
| 1739 | .model_id = ST_M25P32, |
| 1740 | .total_size = 4096, |
| 1741 | .page_size = 256, |
| 1742 | .tested = TEST_OK_PREW, |
| 1743 | .probe = probe_spi_rdid, |
| 1744 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1745 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1746 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1747 | }, |
| 1748 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1749 | { |
| 1750 | .vendor = "ST", |
| 1751 | .name = "M25P64", |
| 1752 | .manufacture_id = ST_ID, |
| 1753 | .model_id = ST_M25P64, |
| 1754 | .total_size = 8192, |
| 1755 | .page_size = 256, |
| 1756 | .tested = TEST_UNTESTED, |
| 1757 | .probe = probe_spi_rdid, |
| 1758 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1759 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1760 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1761 | }, |
| 1762 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1763 | { |
| 1764 | .vendor = "ST", |
| 1765 | .name = "M25P128", |
| 1766 | .manufacture_id = ST_ID, |
| 1767 | .model_id = ST_M25P128, |
| 1768 | .total_size = 16384, |
| 1769 | .page_size = 256, |
| 1770 | .tested = TEST_UNTESTED, |
| 1771 | .probe = probe_spi_rdid, |
| 1772 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1773 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1774 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1775 | }, |
| 1776 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1777 | { |
| 1778 | .vendor = "ST", |
| 1779 | .name = "M29F002B", |
| 1780 | .manufacture_id = ST_ID, |
| 1781 | .model_id = ST_M29F002B, |
| 1782 | .total_size = 256, |
| 1783 | .page_size = 64 * 1024, |
| 1784 | .tested = TEST_UNTESTED, |
| 1785 | .probe = probe_jedec, |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 1786 | .erase = erase_m29f002, |
| 1787 | .write = write_m29f002b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1788 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1789 | }, |
| 1790 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1791 | { |
| 1792 | .vendor = "ST", |
| 1793 | .name = "M29F002T/NT", |
| 1794 | .manufacture_id = ST_ID, |
| 1795 | .model_id = ST_M29F002T, |
| 1796 | .total_size = 256, |
| 1797 | .page_size = 64 * 1024, |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 1798 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1799 | .probe = probe_jedec, |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 1800 | .erase = erase_m29f002, |
| 1801 | .write = write_m29f002t, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1802 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1803 | }, |
| 1804 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1805 | { |
| 1806 | .vendor = "ST", |
| 1807 | .name = "M29F040B", |
| 1808 | .manufacture_id = ST_ID, |
| 1809 | .model_id = ST_M29F040B, |
| 1810 | .total_size = 512, |
| 1811 | .page_size = 64 * 1024, |
| 1812 | .tested = TEST_OK_PREW, |
| 1813 | .probe = probe_29f040b, |
| 1814 | .erase = erase_29f040b, |
| 1815 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1816 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1817 | }, |
| 1818 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1819 | { |
| 1820 | .vendor = "ST", |
| 1821 | .name = "M29F400BT", |
| 1822 | .manufacture_id = ST_ID, |
| 1823 | .model_id = ST_M29F400BT, |
| 1824 | .total_size = 512, |
| 1825 | .page_size = 64 * 1024, |
| 1826 | .tested = TEST_UNTESTED, |
| 1827 | .probe = probe_m29f400bt, |
| 1828 | .erase = erase_m29f400bt, |
| 1829 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1830 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1831 | }, |
| 1832 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1833 | { |
| 1834 | .vendor = "ST", |
| 1835 | .name = "M29W010B", |
| 1836 | .manufacture_id = ST_ID, |
| 1837 | .model_id = ST_M29W010B, |
| 1838 | .total_size = 128, |
| 1839 | .page_size = 16 * 1024, |
| 1840 | .tested = TEST_UNTESTED, |
| 1841 | .probe = probe_jedec, |
| 1842 | .erase = erase_chip_jedec, |
| 1843 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1844 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1845 | }, |
| 1846 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1847 | { |
| 1848 | .vendor = "ST", |
| 1849 | .name = "M29W040B", |
| 1850 | .manufacture_id = ST_ID, |
| 1851 | .model_id = ST_M29W040B, |
| 1852 | .total_size = 512, |
| 1853 | .page_size = 64 * 1024, |
| 1854 | .tested = TEST_UNTESTED, |
| 1855 | .probe = probe_jedec, |
| 1856 | .erase = erase_chip_jedec, |
| 1857 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1858 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1859 | }, |
| 1860 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1861 | { |
| 1862 | .vendor = "ST", |
| 1863 | .name = "M50FLW040A", |
| 1864 | .manufacture_id = ST_ID, |
| 1865 | .model_id = ST_M50FLW040A, |
| 1866 | .total_size = 512, |
| 1867 | .page_size = 64 * 1024, |
| 1868 | .tested = TEST_UNTESTED, |
| 1869 | .probe = probe_stm50flw0x0x, |
| 1870 | .erase = erase_stm50flw0x0x, |
| 1871 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1872 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1873 | }, |
| 1874 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1875 | { |
| 1876 | .vendor = "ST", |
| 1877 | .name = "M50FLW040B", |
| 1878 | .manufacture_id = ST_ID, |
| 1879 | .model_id = ST_M50FLW040B, |
| 1880 | .total_size = 512, |
| 1881 | .page_size = 64 * 1024, |
| 1882 | .tested = TEST_UNTESTED, |
| 1883 | .probe = probe_stm50flw0x0x, |
| 1884 | .erase = erase_stm50flw0x0x, |
| 1885 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1886 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1887 | }, |
| 1888 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1889 | { |
| 1890 | .vendor = "ST", |
| 1891 | .name = "M50FLW080A", |
| 1892 | .manufacture_id = ST_ID, |
| 1893 | .model_id = ST_M50FLW080A, |
| 1894 | .total_size = 1024, |
| 1895 | .page_size = 64 * 1024, |
| 1896 | .tested = TEST_OK_PREW, |
| 1897 | .probe = probe_stm50flw0x0x, |
| 1898 | .erase = erase_stm50flw0x0x, |
| 1899 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1900 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1901 | }, |
| 1902 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1903 | { |
| 1904 | .vendor = "ST", |
| 1905 | .name = "M50FLW080B", |
| 1906 | .manufacture_id = ST_ID, |
| 1907 | .model_id = ST_M50FLW080B, |
| 1908 | .total_size = 1024, |
| 1909 | .page_size = 64 * 1024, |
| 1910 | .tested = TEST_UNTESTED, |
| 1911 | .probe = probe_stm50flw0x0x, |
| 1912 | .erase = erase_stm50flw0x0x, |
| 1913 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1914 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1915 | }, |
| 1916 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1917 | { |
| 1918 | .vendor = "ST", |
| 1919 | .name = "M50FW002", |
| 1920 | .manufacture_id = ST_ID, |
| 1921 | .model_id = ST_M50FW002, |
| 1922 | .total_size = 256, |
| 1923 | .page_size = 64 * 1024, |
| 1924 | .tested = TEST_UNTESTED, |
| 1925 | .probe = probe_49lfxxxc, |
| 1926 | .erase = NULL, |
| 1927 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1928 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1929 | }, |
| 1930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1931 | { |
| 1932 | .vendor = "ST", |
| 1933 | .name = "M50FW016", |
| 1934 | .manufacture_id = ST_ID, |
| 1935 | .model_id = ST_M50FW016, |
| 1936 | .total_size = 2048, |
| 1937 | .page_size = 64 * 1024, |
| 1938 | .tested = TEST_UNTESTED, |
| 1939 | .probe = probe_82802ab, |
| 1940 | .erase = erase_82802ab, |
| 1941 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1942 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1943 | }, |
| 1944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1945 | { |
| 1946 | .vendor = "ST", |
| 1947 | .name = "M50FW040", |
| 1948 | .manufacture_id = ST_ID, |
| 1949 | .model_id = ST_M50FW040, |
| 1950 | .total_size = 512, |
| 1951 | .page_size = 64 * 1024, |
| 1952 | .tested = TEST_OK_PREW, |
| 1953 | .probe = probe_82802ab, |
| 1954 | .erase = erase_82802ab, |
| 1955 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1956 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1957 | }, |
| 1958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1959 | { |
| 1960 | .vendor = "ST", |
| 1961 | .name = "M50FW080", |
| 1962 | .manufacture_id = ST_ID, |
| 1963 | .model_id = ST_M50FW080, |
| 1964 | .total_size = 1024, |
| 1965 | .page_size = 64 * 1024, |
Peter Stuge | a657e94 | 2009-01-24 23:01:08 +0000 | [diff] [blame] | 1966 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1967 | .probe = probe_82802ab, |
| 1968 | .erase = erase_82802ab, |
| 1969 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1970 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1971 | }, |
| 1972 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1973 | { |
| 1974 | .vendor = "ST", |
| 1975 | .name = "M50LPW116", |
| 1976 | .manufacture_id = ST_ID, |
| 1977 | .model_id = ST_M50LPW116, |
| 1978 | .total_size = 2048, |
| 1979 | .page_size = 64 * 1024, |
| 1980 | .tested = TEST_UNTESTED, |
| 1981 | .probe = probe_jedec, |
| 1982 | .erase = erase_chip_jedec, |
| 1983 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1984 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1985 | }, |
| 1986 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1987 | { |
| 1988 | .vendor = "SyncMOS", |
| 1989 | .name = "S29C31004T", |
| 1990 | .manufacture_id = SYNCMOS_ID, |
| 1991 | .model_id = S29C31004T, |
| 1992 | .total_size = 512, |
| 1993 | .page_size = 128, |
| 1994 | .tested = TEST_UNTESTED, |
| 1995 | .probe = probe_jedec, |
| 1996 | .erase = erase_chip_jedec, |
| 1997 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1998 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1999 | }, |
| 2000 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2001 | { |
| 2002 | .vendor = "SyncMOS", |
| 2003 | .name = "S29C51001T", |
| 2004 | .manufacture_id = SYNCMOS_ID, |
| 2005 | .model_id = S29C51001T, |
| 2006 | .total_size = 128, |
| 2007 | .page_size = 128, |
| 2008 | .tested = TEST_UNTESTED, |
| 2009 | .probe = probe_jedec, |
| 2010 | .erase = erase_chip_jedec, |
| 2011 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2012 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2013 | }, |
| 2014 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2015 | { |
| 2016 | .vendor = "SyncMOS", |
| 2017 | .name = "S29C51002T", |
| 2018 | .manufacture_id = SYNCMOS_ID, |
| 2019 | .model_id = S29C51002T, |
| 2020 | .total_size = 256, |
| 2021 | .page_size = 128, |
| 2022 | .tested = TEST_OK_PREW, |
| 2023 | .probe = probe_jedec, |
| 2024 | .erase = erase_chip_jedec, |
| 2025 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2026 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2027 | }, |
| 2028 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2029 | { |
| 2030 | .vendor = "SyncMOS", |
| 2031 | .name = "S29C51004T", |
| 2032 | .manufacture_id = SYNCMOS_ID, |
| 2033 | .model_id = S29C51004T, |
| 2034 | .total_size = 512, |
| 2035 | .page_size = 128, |
| 2036 | .tested = TEST_UNTESTED, |
| 2037 | .probe = probe_jedec, |
| 2038 | .erase = erase_chip_jedec, |
| 2039 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2040 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2041 | }, |
| 2042 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2043 | { |
| 2044 | .vendor = "Winbond", |
| 2045 | .name = "W25x10", |
| 2046 | .manufacture_id = WINBOND_NEX_ID, |
| 2047 | .model_id = W_25X10, |
| 2048 | .total_size = 128, |
| 2049 | .page_size = 256, |
| 2050 | .tested = TEST_UNTESTED, |
| 2051 | .probe = probe_spi_rdid, |
| 2052 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2053 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2054 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2055 | }, |
| 2056 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2057 | { |
| 2058 | .vendor = "Winbond", |
| 2059 | .name = "W25x20", |
| 2060 | .manufacture_id = WINBOND_NEX_ID, |
| 2061 | .model_id = W_25X20, |
| 2062 | .total_size = 256, |
| 2063 | .page_size = 256, |
| 2064 | .tested = TEST_UNTESTED, |
| 2065 | .probe = probe_spi_rdid, |
| 2066 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2067 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2068 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2069 | }, |
| 2070 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2071 | { |
| 2072 | .vendor = "Winbond", |
| 2073 | .name = "W25x40", |
| 2074 | .manufacture_id = WINBOND_NEX_ID, |
| 2075 | .model_id = W_25X40, |
| 2076 | .total_size = 512, |
| 2077 | .page_size = 256, |
| 2078 | .tested = TEST_OK_PREW, |
| 2079 | .probe = probe_spi_rdid, |
| 2080 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2081 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2082 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2083 | }, |
| 2084 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2085 | { |
| 2086 | .vendor = "Winbond", |
| 2087 | .name = "W25x80", |
| 2088 | .manufacture_id = WINBOND_NEX_ID, |
| 2089 | .model_id = W_25X80, |
| 2090 | .total_size = 1024, |
| 2091 | .page_size = 256, |
| 2092 | .tested = TEST_OK_PREW, |
| 2093 | .probe = probe_spi_rdid, |
| 2094 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2095 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2096 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2097 | }, |
| 2098 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | { |
| 2100 | .vendor = "Winbond", |
| 2101 | .name = "W29C011", |
| 2102 | .manufacture_id = WINBOND_ID, |
| 2103 | .model_id = W_29C011, |
| 2104 | .total_size = 128, |
| 2105 | .page_size = 128, |
| 2106 | .tested = TEST_OK_PREW, |
| 2107 | .probe = probe_jedec, |
| 2108 | .erase = erase_chip_jedec, |
| 2109 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2110 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2111 | }, |
| 2112 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2113 | { |
| 2114 | .vendor = "Winbond", |
| 2115 | .name = "W29C020C", |
| 2116 | .manufacture_id = WINBOND_ID, |
| 2117 | .model_id = W_29C020C, |
| 2118 | .total_size = 256, |
| 2119 | .page_size = 128, |
| 2120 | .tested = TEST_OK_PREW, |
| 2121 | .probe = probe_jedec, |
| 2122 | .erase = erase_chip_jedec, |
| 2123 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2124 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2125 | }, |
| 2126 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2127 | { |
| 2128 | .vendor = "Winbond", |
| 2129 | .name = "W29C040P", |
| 2130 | .manufacture_id = WINBOND_ID, |
| 2131 | .model_id = W_29C040P, |
| 2132 | .total_size = 512, |
| 2133 | .page_size = 256, |
| 2134 | .tested = TEST_UNTESTED, |
| 2135 | .probe = probe_jedec, |
| 2136 | .erase = erase_chip_jedec, |
| 2137 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2138 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2139 | }, |
| 2140 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2141 | { |
| 2142 | .vendor = "Winbond", |
| 2143 | .name = "W29EE011", |
| 2144 | .manufacture_id = WINBOND_ID, |
| 2145 | .model_id = W_29C011, |
| 2146 | .total_size = 128, |
| 2147 | .page_size = 128, |
| 2148 | .tested = TEST_OK_PREW, |
| 2149 | .probe = probe_w29ee011, |
| 2150 | .erase = erase_chip_jedec, |
| 2151 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2152 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2153 | }, |
| 2154 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2155 | { |
| 2156 | .vendor = "Winbond", |
| 2157 | .name = "W39V040A", |
| 2158 | .manufacture_id = WINBOND_ID, |
| 2159 | .model_id = W_39V040A, |
| 2160 | .total_size = 512, |
| 2161 | .page_size = 64*1024, |
Mateusz Murawski | c4a61d6 | 2009-05-13 22:18:35 +0000 | [diff] [blame] | 2162 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2163 | .probe = probe_jedec, |
| 2164 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2165 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2166 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2167 | }, |
| 2168 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2169 | { |
| 2170 | .vendor = "Winbond", |
| 2171 | .name = "W39V040B", |
| 2172 | .manufacture_id = WINBOND_ID, |
| 2173 | .model_id = W_39V040B, |
| 2174 | .total_size = 512, |
| 2175 | .page_size = 64*1024, |
| 2176 | .tested = TEST_OK_PREW, |
| 2177 | .probe = probe_jedec, |
| 2178 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2179 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2180 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2181 | }, |
| 2182 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2183 | { |
| 2184 | .vendor = "Winbond", |
| 2185 | .name = "W39V040C", |
| 2186 | .manufacture_id = WINBOND_ID, |
| 2187 | .model_id = 0x50, |
| 2188 | .total_size = 512, |
| 2189 | .page_size = 64*1024, |
| 2190 | .tested = TEST_OK_PREW, |
| 2191 | .probe = probe_w39v040c, |
| 2192 | .erase = erase_w39v040c, |
| 2193 | .write = write_w39v040c, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2194 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2195 | }, |
| 2196 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2197 | { |
| 2198 | .vendor = "Winbond", |
| 2199 | .name = "W39V040FA", |
| 2200 | .manufacture_id = WINBOND_ID, |
| 2201 | .model_id = W_39V040FA, |
| 2202 | .total_size = 512, |
| 2203 | .page_size = 64*1024, |
| 2204 | .tested = TEST_OK_PREW, |
| 2205 | .probe = probe_jedec, |
| 2206 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2207 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2208 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2209 | }, |
| 2210 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2211 | { |
| 2212 | .vendor = "Winbond", |
| 2213 | .name = "W39V080A", |
| 2214 | .manufacture_id = WINBOND_ID, |
| 2215 | .model_id = W_39V080A, |
| 2216 | .total_size = 1024, |
| 2217 | .page_size = 64*1024, |
| 2218 | .tested = TEST_OK_PREW, |
| 2219 | .probe = probe_jedec, |
| 2220 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2221 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2222 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2223 | }, |
| 2224 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2225 | { |
| 2226 | .vendor = "Winbond", |
| 2227 | .name = "W49F002U", |
| 2228 | .manufacture_id = WINBOND_ID, |
| 2229 | .model_id = W_49F002U, |
| 2230 | .total_size = 256, |
| 2231 | .page_size = 128, |
| 2232 | .tested = TEST_OK_PREW, |
| 2233 | .probe = probe_jedec, |
| 2234 | .erase = erase_chip_jedec, |
| 2235 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2236 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2237 | }, |
| 2238 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2239 | { |
| 2240 | .vendor = "Winbond", |
| 2241 | .name = "W49V002A", |
| 2242 | .manufacture_id = WINBOND_ID, |
| 2243 | .model_id = W_49V002A, |
| 2244 | .total_size = 256, |
| 2245 | .page_size = 128, |
| 2246 | .tested = TEST_OK_PREW, |
| 2247 | .probe = probe_jedec, |
| 2248 | .erase = erase_chip_jedec, |
| 2249 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2250 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2251 | }, |
| 2252 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2253 | { |
| 2254 | .vendor = "Winbond", |
| 2255 | .name = "W49V002FA", |
| 2256 | .manufacture_id = WINBOND_ID, |
| 2257 | .model_id = W_49V002FA, |
| 2258 | .total_size = 256, |
| 2259 | .page_size = 128, |
| 2260 | .tested = TEST_UNTESTED, |
| 2261 | .probe = probe_jedec, |
| 2262 | .erase = erase_chip_jedec, |
| 2263 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2264 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2265 | }, |
| 2266 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2267 | { |
| 2268 | .vendor = "Winbond", |
| 2269 | .name = "W39V080FA", |
| 2270 | .manufacture_id = WINBOND_ID, |
| 2271 | .model_id = W_39V080FA, |
| 2272 | .total_size = 1024, |
| 2273 | .page_size = 64*1024, |
| 2274 | .tested = TEST_OK_PREW, |
| 2275 | .probe = probe_winbond_fwhub, |
| 2276 | .erase = erase_winbond_fwhub, |
| 2277 | .write = write_winbond_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2278 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2279 | }, |
| 2280 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2281 | { |
| 2282 | .vendor = "Winbond", |
| 2283 | .name = "W39V080FA (dual mode)", |
| 2284 | .manufacture_id = WINBOND_ID, |
| 2285 | .model_id = W_39V080FA_DM, |
| 2286 | .total_size = 512, |
| 2287 | .page_size = 64*1024, |
| 2288 | .tested = TEST_UNTESTED, |
| 2289 | .probe = probe_winbond_fwhub, |
| 2290 | .erase = erase_winbond_fwhub, |
| 2291 | .write = write_winbond_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2292 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2293 | }, |
| 2294 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2295 | { |
| 2296 | .vendor = "Atmel", |
| 2297 | .name = "unknown Atmel SPI chip", |
| 2298 | .manufacture_id = ATMEL_ID, |
| 2299 | .model_id = GENERIC_DEVICE_ID, |
| 2300 | .total_size = 0, |
| 2301 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 2302 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2303 | .probe = probe_spi_rdid, |
| 2304 | .erase = NULL, |
| 2305 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2306 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2307 | }, |
| 2308 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2309 | { |
| 2310 | .vendor = "EON", |
| 2311 | .name = "unknown EON SPI chip", |
| 2312 | .manufacture_id = EON_ID_NOPREFIX, |
| 2313 | .model_id = GENERIC_DEVICE_ID, |
| 2314 | .total_size = 0, |
| 2315 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 2316 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2317 | .probe = probe_spi_rdid, |
| 2318 | .erase = NULL, |
| 2319 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2320 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2321 | }, |
| 2322 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2323 | { |
| 2324 | .vendor = "Macronix", |
| 2325 | .name = "unknown Macronix SPI chip", |
| 2326 | .manufacture_id = MX_ID, |
| 2327 | .model_id = GENERIC_DEVICE_ID, |
| 2328 | .total_size = 0, |
| 2329 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 2330 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2331 | .probe = probe_spi_rdid, |
| 2332 | .erase = NULL, |
| 2333 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2334 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2335 | }, |
| 2336 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2337 | { |
| 2338 | .vendor = "PMC", |
| 2339 | .name = "unknown PMC SPI chip", |
| 2340 | .manufacture_id = PMC_ID, |
| 2341 | .model_id = GENERIC_DEVICE_ID, |
| 2342 | .total_size = 0, |
| 2343 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 2344 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2345 | .probe = probe_spi_rdid, |
| 2346 | .erase = NULL, |
| 2347 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2348 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2349 | }, |
| 2350 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2351 | { |
| 2352 | .vendor = "SST", |
| 2353 | .name = "unknown SST SPI chip", |
| 2354 | .manufacture_id = SST_ID, |
| 2355 | .model_id = GENERIC_DEVICE_ID, |
| 2356 | .total_size = 0, |
| 2357 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 2358 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2359 | .probe = probe_spi_rdid, |
| 2360 | .erase = NULL, |
| 2361 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2362 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2363 | }, |
| 2364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2365 | { |
| 2366 | .vendor = "ST", |
| 2367 | .name = "unknown ST SPI chip", |
| 2368 | .manufacture_id = ST_ID, |
| 2369 | .model_id = GENERIC_DEVICE_ID, |
| 2370 | .total_size = 0, |
| 2371 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 2372 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2373 | .probe = probe_spi_rdid, |
| 2374 | .erase = NULL, |
| 2375 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2376 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2377 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 2378 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2379 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 2380 | }; |