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