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