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