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" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 25 | #include "flashchips.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 26 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 27 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 28 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | * |
| 30 | * Please keep the list sorted by vendor name and chip name, so that |
| 31 | * the output of 'flashrom -L' is alphabetically sorted. |
| 32 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 33 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 34 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 35 | /* |
| 36 | * .vendor = Vendor name |
| 37 | * .name = Chip name |
| 38 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 39 | * .manufacture_id = Manufacturer chip ID |
| 40 | * .model_id = Model chip ID |
| 41 | * .total_size = Total size in (binary) kbytes |
| 42 | * .page_size = Page or eraseblock(?) size in bytes |
| 43 | * .tested = Test status |
| 44 | * .probe = Probe function |
| 45 | * .probe_timing = Probe function delay |
| 46 | * .erase = Chip erase function |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 47 | * .block_erasers[] = Array of erase layouts and erase functions |
| 48 | * { |
| 49 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 50 | * .block_erase = Block erase function |
| 51 | * } |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 52 | * .write = Chip write function |
| 53 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 54 | */ |
| 55 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 56 | { |
| 57 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 58 | .name = "Am29F010A/B", |
| 59 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 60 | .manufacture_id = AMD_ID, |
| 61 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 62 | .total_size = 128, |
| 63 | .page_size = 16 * 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 64 | .tested = TEST_OK_PRW, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 65 | .probe = probe_29f040b, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 66 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 67 | .erase = NULL, |
| 68 | .block_erasers = |
| 69 | { |
| 70 | { |
| 71 | .eraseblocks = { {16 * 1024, 8} }, |
| 72 | .block_erase = erase_sector_29f040b, |
| 73 | }, { |
| 74 | .eraseblocks = { {128 * 1024, 1} }, |
| 75 | .block_erase = erase_chip_29f040b, |
| 76 | }, |
| 77 | }, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 78 | .write = write_pm29f002, |
| 79 | .read = read_memmapped, |
| 80 | }, |
| 81 | |
| 82 | { |
| 83 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 84 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 85 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 86 | .manufacture_id = AMD_ID, |
| 87 | .model_id = AM_29F002BB, |
| 88 | .total_size = 256, |
| 89 | .page_size = 256, |
| 90 | .tested = TEST_UNTESTED, |
| 91 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 92 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 93 | .erase = NULL, |
| 94 | .block_erasers = |
| 95 | { |
| 96 | { |
| 97 | .eraseblocks = { |
| 98 | {16 * 1024, 1}, |
| 99 | {8 * 1024, 2}, |
| 100 | {32 * 1024, 1}, |
| 101 | {64 * 1024, 3}, |
| 102 | }, |
| 103 | .block_erase = erase_sector_jedec, |
| 104 | }, { |
| 105 | .eraseblocks = { {256 * 1024, 1} }, |
| 106 | .block_erase = erase_chip_block_jedec, |
| 107 | }, |
| 108 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 109 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 110 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 111 | }, |
| 112 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 113 | { |
| 114 | .vendor = "AMD", |
| 115 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 116 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 117 | .manufacture_id = AMD_ID, |
| 118 | .model_id = AM_29F002BT, |
| 119 | .total_size = 256, |
| 120 | .page_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 121 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 122 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 123 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 124 | .erase = NULL, |
| 125 | .block_erasers = |
| 126 | { |
| 127 | { |
| 128 | .eraseblocks = { |
| 129 | {64 * 1024, 3}, |
| 130 | {32 * 1024, 1}, |
| 131 | {8 * 1024, 2}, |
| 132 | {16 * 1024, 1}, |
| 133 | }, |
| 134 | .block_erase = erase_sector_jedec, |
| 135 | }, { |
| 136 | .eraseblocks = { {256 * 1024, 1} }, |
| 137 | .block_erase = erase_chip_block_jedec, |
| 138 | }, |
| 139 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 140 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 141 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 142 | }, |
| 143 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 144 | { |
| 145 | .vendor = "AMD", |
| 146 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 147 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 148 | .manufacture_id = AMD_ID, |
| 149 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 150 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .page_size = 64 * 1024, |
| 152 | .tested = TEST_UNTESTED, |
| 153 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 154 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 155 | .erase = NULL, |
| 156 | .block_erasers = |
| 157 | { |
| 158 | { |
| 159 | .eraseblocks = { {64 * 1024, 32} }, |
| 160 | .block_erase = erase_sector_29f040b, |
| 161 | }, { |
| 162 | .eraseblocks = { {2048 * 1024, 1} }, |
| 163 | .block_erase = erase_chip_29f040b, |
| 164 | }, |
| 165 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 166 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 167 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 168 | }, |
| 169 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 170 | { |
| 171 | .vendor = "AMD", |
| 172 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 173 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 174 | .manufacture_id = AMD_ID, |
| 175 | .model_id = AM_29F040B, |
| 176 | .total_size = 512, |
| 177 | .page_size = 64 * 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 178 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 179 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 180 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 181 | .erase = NULL, |
| 182 | .block_erasers = |
| 183 | { |
| 184 | { |
| 185 | .eraseblocks = { {64 * 1024, 8} }, |
| 186 | .block_erase = erase_sector_29f040b, |
| 187 | }, { |
| 188 | .eraseblocks = { {512 * 1024, 1} }, |
| 189 | .block_erase = erase_chip_29f040b, |
| 190 | }, |
| 191 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 192 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 193 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 194 | }, |
| 195 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 196 | { |
| 197 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 198 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 199 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 200 | .manufacture_id = AMD_ID, |
| 201 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 202 | .total_size = 1024, |
| 203 | .page_size = 64 * 1024, |
| 204 | .tested = TEST_UNTESTED, |
| 205 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 206 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 207 | .erase = NULL, |
| 208 | .block_erasers = |
| 209 | { |
| 210 | { |
| 211 | .eraseblocks = { {64 * 1024, 16} }, |
| 212 | .block_erase = erase_sector_29f040b, |
| 213 | }, { |
| 214 | .eraseblocks = { {1024 * 1024, 1} }, |
| 215 | .block_erase = erase_chip_29f040b, |
| 216 | }, |
| 217 | }, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 218 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 219 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 220 | }, |
| 221 | |
| 222 | { |
| 223 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 224 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 225 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 226 | .manufacture_id = AMD_ID, |
| 227 | .model_id = AM_29LV040B, |
| 228 | .total_size = 512, |
| 229 | .page_size = 64 * 1024, |
| 230 | .tested = TEST_UNTESTED, |
| 231 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 232 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 233 | .erase = NULL, |
| 234 | .block_erasers = |
| 235 | { |
| 236 | { |
| 237 | .eraseblocks = { {64 * 1024, 8} }, |
| 238 | .block_erase = erase_sector_29f040b, |
| 239 | }, { |
| 240 | .eraseblocks = { {512 * 1024, 1} }, |
| 241 | .block_erase = erase_chip_29f040b, |
| 242 | }, |
| 243 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 244 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 245 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 246 | }, |
| 247 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 248 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 249 | .vendor = "AMD", |
| 250 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 251 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 252 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 253 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 254 | .total_size = 1024, |
| 255 | .page_size = 64 * 1024, |
| 256 | .tested = TEST_UNTESTED, |
| 257 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 258 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 259 | .erase = NULL, |
| 260 | .block_erasers = |
| 261 | { |
| 262 | { |
| 263 | .eraseblocks = { {64 * 1024, 16} }, |
| 264 | .block_erase = erase_sector_29f040b, |
| 265 | }, { |
| 266 | .eraseblocks = { {1024 * 1024, 1} }, |
| 267 | .block_erase = erase_chip_29f040b, |
| 268 | }, |
| 269 | }, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 270 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 271 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 272 | }, |
| 273 | |
| 274 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 275 | .vendor = "ASD", |
| 276 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 277 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 278 | .manufacture_id = ASD_ID, |
| 279 | .model_id = ASD_AE49F2008, |
| 280 | .total_size = 256, |
| 281 | .page_size = 128, |
| 282 | .tested = TEST_UNTESTED, |
| 283 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 284 | .probe_timing = TIMING_FIXME, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 285 | .erase = erase_chip_jedec, |
| 286 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 287 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 288 | }, |
| 289 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 290 | { |
| 291 | .vendor = "Atmel", |
| 292 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 293 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 294 | .manufacture_id = ATMEL_ID, |
| 295 | .model_id = AT_25DF021, |
| 296 | .total_size = 256, |
| 297 | .page_size = 256, |
| 298 | .tested = TEST_UNTESTED, |
| 299 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 300 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 301 | .erase = NULL, |
| 302 | .block_erasers = |
| 303 | { |
| 304 | { |
| 305 | .eraseblocks = { {4 * 1024, 64} }, |
| 306 | .block_erase = spi_block_erase_20, |
| 307 | }, { |
| 308 | .eraseblocks = { {32 * 1024, 8} }, |
| 309 | .block_erase = spi_block_erase_52, |
| 310 | }, { |
| 311 | .eraseblocks = { {64 * 1024, 4} }, |
| 312 | .block_erase = spi_block_erase_d8, |
| 313 | }, { |
| 314 | .eraseblocks = { {256 * 1024, 1} }, |
| 315 | .block_erase = spi_block_erase_60, |
| 316 | }, { |
| 317 | .eraseblocks = { {256 * 1024, 1} }, |
| 318 | .block_erase = spi_block_erase_c7, |
| 319 | } |
| 320 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 321 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 322 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 323 | }, |
| 324 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 325 | { |
| 326 | .vendor = "Atmel", |
| 327 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 328 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 329 | .manufacture_id = ATMEL_ID, |
| 330 | .model_id = AT_25DF041A, |
| 331 | .total_size = 512, |
| 332 | .page_size = 256, |
| 333 | .tested = TEST_UNTESTED, |
| 334 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 335 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 336 | .erase = NULL, |
| 337 | .block_erasers = |
| 338 | { |
| 339 | { |
| 340 | .eraseblocks = { {4 * 1024, 128} }, |
| 341 | .block_erase = spi_block_erase_20, |
| 342 | }, { |
| 343 | .eraseblocks = { {32 * 1024, 16} }, |
| 344 | .block_erase = spi_block_erase_52, |
| 345 | }, { |
| 346 | .eraseblocks = { {64 * 1024, 8} }, |
| 347 | .block_erase = spi_block_erase_d8, |
| 348 | }, { |
| 349 | .eraseblocks = { {512 * 1024, 1} }, |
| 350 | .block_erase = spi_block_erase_60, |
| 351 | }, { |
| 352 | .eraseblocks = { {512 * 1024, 1} }, |
| 353 | .block_erase = spi_block_erase_c7, |
| 354 | } |
| 355 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 356 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 357 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 358 | }, |
| 359 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 360 | { |
| 361 | .vendor = "Atmel", |
| 362 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 363 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 364 | .manufacture_id = ATMEL_ID, |
| 365 | .model_id = AT_25DF081, |
| 366 | .total_size = 1024, |
| 367 | .page_size = 256, |
| 368 | .tested = TEST_UNTESTED, |
| 369 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 370 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 371 | .erase = NULL, |
| 372 | .block_erasers = |
| 373 | { |
| 374 | { |
| 375 | .eraseblocks = { {4 * 1024, 256} }, |
| 376 | .block_erase = spi_block_erase_20, |
| 377 | }, { |
| 378 | .eraseblocks = { {32 * 1024, 32} }, |
| 379 | .block_erase = spi_block_erase_52, |
| 380 | }, { |
| 381 | .eraseblocks = { {64 * 1024, 16} }, |
| 382 | .block_erase = spi_block_erase_d8, |
| 383 | }, { |
| 384 | .eraseblocks = { {1024 * 1024, 1} }, |
| 385 | .block_erase = spi_block_erase_60, |
| 386 | }, { |
| 387 | .eraseblocks = { {1024 * 1024, 1} }, |
| 388 | .block_erase = spi_block_erase_c7, |
| 389 | } |
| 390 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 391 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 392 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 393 | }, |
| 394 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 395 | { |
| 396 | .vendor = "Atmel", |
| 397 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 398 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 399 | .manufacture_id = ATMEL_ID, |
| 400 | .model_id = AT_25DF161, |
| 401 | .total_size = 2048, |
| 402 | .page_size = 256, |
| 403 | .tested = TEST_UNTESTED, |
| 404 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 405 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 406 | .erase = NULL, |
| 407 | .block_erasers = |
| 408 | { |
| 409 | { |
| 410 | .eraseblocks = { {4 * 1024, 512} }, |
| 411 | .block_erase = spi_block_erase_20, |
| 412 | }, { |
| 413 | .eraseblocks = { {32 * 1024, 64} }, |
| 414 | .block_erase = spi_block_erase_52, |
| 415 | }, { |
| 416 | .eraseblocks = { {64 * 1024, 32} }, |
| 417 | .block_erase = spi_block_erase_d8, |
| 418 | }, { |
| 419 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 420 | .block_erase = spi_block_erase_60, |
| 421 | }, { |
| 422 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 423 | .block_erase = spi_block_erase_c7, |
| 424 | } |
| 425 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 426 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 427 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 428 | }, |
| 429 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 430 | { |
| 431 | .vendor = "Atmel", |
| 432 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 433 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 434 | .manufacture_id = ATMEL_ID, |
| 435 | .model_id = AT_25DF321, |
| 436 | .total_size = 4096, |
| 437 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 438 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 439 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 440 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 441 | .erase = NULL, |
| 442 | .block_erasers = |
| 443 | { |
| 444 | { |
| 445 | .eraseblocks = { {4 * 1024, 1024} }, |
| 446 | .block_erase = spi_block_erase_20, |
| 447 | }, { |
| 448 | .eraseblocks = { {32 * 1024, 128} }, |
| 449 | .block_erase = spi_block_erase_52, |
| 450 | }, { |
| 451 | .eraseblocks = { {64 * 1024, 64} }, |
| 452 | .block_erase = spi_block_erase_d8, |
| 453 | }, { |
| 454 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 455 | .block_erase = spi_block_erase_60, |
| 456 | }, { |
| 457 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 458 | .block_erase = spi_block_erase_c7, |
| 459 | } |
| 460 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 461 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 462 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 463 | }, |
| 464 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 465 | { |
| 466 | .vendor = "Atmel", |
| 467 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 468 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 469 | .manufacture_id = ATMEL_ID, |
| 470 | .model_id = AT_25DF321A, |
| 471 | .total_size = 4096, |
| 472 | .page_size = 256, |
| 473 | .tested = TEST_UNTESTED, |
| 474 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 475 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 476 | .erase = NULL, |
| 477 | .block_erasers = |
| 478 | { |
| 479 | { |
| 480 | .eraseblocks = { {4 * 1024, 1024} }, |
| 481 | .block_erase = spi_block_erase_20, |
| 482 | }, { |
| 483 | .eraseblocks = { {32 * 1024, 128} }, |
| 484 | .block_erase = spi_block_erase_52, |
| 485 | }, { |
| 486 | .eraseblocks = { {64 * 1024, 64} }, |
| 487 | .block_erase = spi_block_erase_d8, |
| 488 | }, { |
| 489 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 490 | .block_erase = spi_block_erase_60, |
| 491 | }, { |
| 492 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 493 | .block_erase = spi_block_erase_c7, |
| 494 | } |
| 495 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 496 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 497 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 498 | }, |
| 499 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 500 | { |
| 501 | .vendor = "Atmel", |
| 502 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 503 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 504 | .manufacture_id = ATMEL_ID, |
| 505 | .model_id = AT_25DF641, |
| 506 | .total_size = 8192, |
| 507 | .page_size = 256, |
| 508 | .tested = TEST_UNTESTED, |
| 509 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 510 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 511 | .erase = NULL, |
| 512 | .block_erasers = |
| 513 | { |
| 514 | { |
| 515 | .eraseblocks = { {4 * 1024, 2048} }, |
| 516 | .block_erase = spi_block_erase_20, |
| 517 | }, { |
| 518 | .eraseblocks = { {32 * 1024, 256} }, |
| 519 | .block_erase = spi_block_erase_52, |
| 520 | }, { |
| 521 | .eraseblocks = { {64 * 1024, 128} }, |
| 522 | .block_erase = spi_block_erase_d8, |
| 523 | }, { |
| 524 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 525 | .block_erase = spi_block_erase_60, |
| 526 | }, { |
| 527 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 528 | .block_erase = spi_block_erase_c7, |
| 529 | } |
| 530 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 531 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 532 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 533 | }, |
| 534 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 535 | { |
| 536 | .vendor = "Atmel", |
| 537 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 538 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 539 | .manufacture_id = ATMEL_ID, |
| 540 | .model_id = AT_25F512B, |
| 541 | .total_size = 64, |
| 542 | .page_size = 256, |
| 543 | .tested = TEST_UNTESTED, |
| 544 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 545 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 546 | .erase = NULL, |
| 547 | .block_erasers = |
| 548 | { |
| 549 | { |
| 550 | .eraseblocks = { {4 * 1024, 16} }, |
| 551 | .block_erase = spi_block_erase_20, |
| 552 | }, { |
| 553 | .eraseblocks = { {32 * 1024, 2} }, |
| 554 | .block_erase = spi_block_erase_52, |
| 555 | }, { |
| 556 | .eraseblocks = { {32 * 1024, 2} }, |
| 557 | .block_erase = spi_block_erase_d8, |
| 558 | }, { |
| 559 | .eraseblocks = { {64 * 1024, 1} }, |
| 560 | .block_erase = spi_block_erase_60, |
| 561 | }, { |
| 562 | .eraseblocks = { {64 * 1024, 1} }, |
| 563 | .block_erase = spi_block_erase_c7, |
| 564 | } |
| 565 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 566 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 567 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 568 | }, |
| 569 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 570 | { |
| 571 | .vendor = "Atmel", |
| 572 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 573 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 574 | .manufacture_id = ATMEL_ID, |
| 575 | .model_id = AT_25FS010, |
| 576 | .total_size = 128, |
| 577 | .page_size = 256, |
| 578 | .tested = TEST_UNTESTED, |
| 579 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 580 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 581 | .erase = NULL, |
| 582 | .block_erasers = |
| 583 | { |
| 584 | { |
| 585 | .eraseblocks = { {4 * 1024, 32} }, |
| 586 | .block_erase = spi_block_erase_20, |
| 587 | }, { |
| 588 | .eraseblocks = { {32 * 1024, 4} }, |
| 589 | .block_erase = spi_block_erase_52, |
| 590 | }, { |
| 591 | .eraseblocks = { {32 * 1024, 4} }, |
| 592 | .block_erase = spi_block_erase_d8, |
| 593 | }, { |
| 594 | .eraseblocks = { {128 * 1024, 1} }, |
| 595 | .block_erase = spi_block_erase_60, |
| 596 | }, { |
| 597 | .eraseblocks = { {128 * 1024, 1} }, |
| 598 | .block_erase = spi_block_erase_c7, |
| 599 | } |
| 600 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 601 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 602 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 603 | }, |
| 604 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 605 | { |
| 606 | .vendor = "Atmel", |
| 607 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 608 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 609 | .manufacture_id = ATMEL_ID, |
| 610 | .model_id = AT_25FS040, |
| 611 | .total_size = 512, |
| 612 | .page_size = 256, |
| 613 | .tested = TEST_UNTESTED, |
| 614 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 615 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 616 | .erase = NULL, |
| 617 | .block_erasers = |
| 618 | { |
| 619 | { |
| 620 | .eraseblocks = { {4 * 1024, 128} }, |
| 621 | .block_erase = spi_block_erase_20, |
| 622 | }, { |
| 623 | .eraseblocks = { {64 * 1024, 8} }, |
| 624 | .block_erase = spi_block_erase_52, |
| 625 | }, { |
| 626 | .eraseblocks = { {64 * 1024, 8} }, |
| 627 | .block_erase = spi_block_erase_d8, |
| 628 | }, { |
| 629 | .eraseblocks = { {512 * 1024, 1} }, |
| 630 | .block_erase = spi_block_erase_60, |
| 631 | }, { |
| 632 | .eraseblocks = { {512 * 1024, 1} }, |
| 633 | .block_erase = spi_block_erase_c7, |
| 634 | } |
| 635 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 636 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 637 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 638 | }, |
| 639 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 640 | { |
| 641 | .vendor = "Atmel", |
| 642 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 643 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 644 | .manufacture_id = ATMEL_ID, |
| 645 | .model_id = AT_26DF041, |
| 646 | .total_size = 512, |
| 647 | .page_size = 256, |
| 648 | .tested = TEST_UNTESTED, |
| 649 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 650 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 651 | .erase = NULL, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 652 | .block_erasers = |
| 653 | { |
| 654 | { |
| 655 | .eraseblocks = { {4 * 1024, 128} }, |
| 656 | .block_erase = spi_block_erase_20, |
| 657 | } |
| 658 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 659 | .write = NULL /* Incompatible Page write */, |
| 660 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 661 | }, |
| 662 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 663 | { |
| 664 | .vendor = "Atmel", |
| 665 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 666 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 667 | .manufacture_id = ATMEL_ID, |
| 668 | .model_id = AT_26DF081A, |
| 669 | .total_size = 1024, |
| 670 | .page_size = 256, |
| 671 | .tested = TEST_UNTESTED, |
| 672 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 673 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 674 | .erase = NULL, |
| 675 | .block_erasers = |
| 676 | { |
| 677 | { |
| 678 | .eraseblocks = { {4 * 1024, 256} }, |
| 679 | .block_erase = spi_block_erase_20, |
| 680 | }, { |
| 681 | .eraseblocks = { {32 * 1024, 32} }, |
| 682 | .block_erase = spi_block_erase_52, |
| 683 | }, { |
| 684 | .eraseblocks = { {64 * 1024, 16} }, |
| 685 | .block_erase = spi_block_erase_d8, |
| 686 | }, { |
| 687 | .eraseblocks = { {1024 * 1024, 1} }, |
| 688 | .block_erase = spi_block_erase_60, |
| 689 | }, { |
| 690 | .eraseblocks = { {1024 * 1024, 1} }, |
| 691 | .block_erase = spi_block_erase_c7, |
| 692 | } |
| 693 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 694 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 695 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 696 | }, |
| 697 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 698 | { |
| 699 | .vendor = "Atmel", |
| 700 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 701 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 702 | .manufacture_id = ATMEL_ID, |
| 703 | .model_id = AT_26DF161, |
| 704 | .total_size = 2048, |
| 705 | .page_size = 256, |
| 706 | .tested = TEST_UNTESTED, |
| 707 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 708 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 709 | .erase = NULL, |
| 710 | .block_erasers = |
| 711 | { |
| 712 | { |
| 713 | .eraseblocks = { {4 * 1024, 512} }, |
| 714 | .block_erase = spi_block_erase_20, |
| 715 | }, { |
| 716 | .eraseblocks = { {32 * 1024, 64} }, |
| 717 | .block_erase = spi_block_erase_52, |
| 718 | }, { |
| 719 | .eraseblocks = { {64 * 1024, 32} }, |
| 720 | .block_erase = spi_block_erase_d8, |
| 721 | }, { |
| 722 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 723 | .block_erase = spi_block_erase_60, |
| 724 | }, { |
| 725 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 726 | .block_erase = spi_block_erase_c7, |
| 727 | } |
| 728 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 729 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 730 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 731 | }, |
| 732 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 733 | { |
| 734 | .vendor = "Atmel", |
| 735 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 736 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 737 | .manufacture_id = ATMEL_ID, |
| 738 | .model_id = AT_26DF161A, |
| 739 | .total_size = 2048, |
| 740 | .page_size = 256, |
| 741 | .tested = TEST_UNTESTED, |
| 742 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 743 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 744 | .erase = NULL, |
| 745 | .block_erasers = |
| 746 | { |
| 747 | { |
| 748 | .eraseblocks = { {4 * 1024, 512} }, |
| 749 | .block_erase = spi_block_erase_20, |
| 750 | }, { |
| 751 | .eraseblocks = { {32 * 1024, 64} }, |
| 752 | .block_erase = spi_block_erase_52, |
| 753 | }, { |
| 754 | .eraseblocks = { {64 * 1024, 32} }, |
| 755 | .block_erase = spi_block_erase_d8, |
| 756 | }, { |
| 757 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 758 | .block_erase = spi_block_erase_60, |
| 759 | }, { |
| 760 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 761 | .block_erase = spi_block_erase_c7, |
| 762 | } |
| 763 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 764 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 765 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 766 | }, |
| 767 | |
| 768 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 769 | /*{ |
| 770 | .vendor = "Atmel", |
| 771 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 772 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 773 | .manufacture_id = ATMEL_ID, |
| 774 | .model_id = AT_26DF321, |
| 775 | .total_size = 4096, |
| 776 | .page_size = 256, |
| 777 | .tested = TEST_UNTESTED, |
| 778 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 779 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 780 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 781 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 782 | .read = spi_chip_read, |
| 783 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 784 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 785 | { |
| 786 | .vendor = "Atmel", |
| 787 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 788 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 789 | .manufacture_id = ATMEL_ID, |
| 790 | .model_id = AT_26F004, |
| 791 | .total_size = 512, |
| 792 | .page_size = 256, |
| 793 | .tested = TEST_UNTESTED, |
| 794 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 795 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 796 | .erase = NULL, |
| 797 | .block_erasers = |
| 798 | { |
| 799 | { |
| 800 | .eraseblocks = { {4 * 1024, 128} }, |
| 801 | .block_erase = spi_block_erase_20, |
| 802 | }, { |
| 803 | .eraseblocks = { {32 * 1024, 16} }, |
| 804 | .block_erase = spi_block_erase_52, |
| 805 | }, { |
| 806 | .eraseblocks = { {64 * 1024, 8} }, |
| 807 | .block_erase = spi_block_erase_d8, |
| 808 | }, { |
| 809 | .eraseblocks = { {512 * 1024, 1} }, |
| 810 | .block_erase = spi_block_erase_60, |
| 811 | }, { |
| 812 | .eraseblocks = { {512 * 1024, 1} }, |
| 813 | .block_erase = spi_block_erase_c7, |
| 814 | } |
| 815 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 816 | .write = NULL /* Incompatible Page write */, |
| 817 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 818 | }, |
| 819 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 820 | { |
| 821 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 822 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 823 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 824 | .manufacture_id = ATMEL_ID, |
| 825 | .model_id = AT_29C512, |
| 826 | .total_size = 64, |
| 827 | .page_size = 128, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 828 | .tested = TEST_OK_PRW, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 829 | .probe = probe_jedec, |
| 830 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 831 | .erase = NULL, |
| 832 | .block_erasers = |
| 833 | { |
| 834 | { |
| 835 | .eraseblocks = { {64 * 1024, 1} }, |
| 836 | .block_erase = erase_chip_block_jedec, |
| 837 | } |
| 838 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 839 | .write = write_jedec, |
| 840 | .read = read_memmapped, |
| 841 | |
| 842 | }, |
| 843 | |
| 844 | { |
| 845 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 846 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 847 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 848 | .manufacture_id = ATMEL_ID, |
| 849 | .model_id = AT_29C010A, |
| 850 | .total_size = 128, |
| 851 | .page_size = 128, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 852 | .tested = TEST_OK_PR, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 853 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 854 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 855 | .erase = NULL, |
| 856 | .block_erasers = |
| 857 | { |
| 858 | { |
| 859 | .eraseblocks = { {128 * 1024, 1} }, |
| 860 | .block_erase = erase_chip_block_jedec, |
| 861 | } |
| 862 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 863 | .write = write_jedec, /* FIXME */ |
| 864 | .read = read_memmapped, |
| 865 | }, |
| 866 | |
| 867 | { |
| 868 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 869 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 870 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 871 | .manufacture_id = ATMEL_ID, |
| 872 | .model_id = AT_29C020, |
| 873 | .total_size = 256, |
| 874 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 875 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 876 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 877 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 878 | .erase = NULL, |
| 879 | .block_erasers = |
| 880 | { |
| 881 | { |
| 882 | .eraseblocks = { {256 * 1024, 1} }, |
| 883 | .block_erase = erase_chip_block_jedec, |
| 884 | } |
| 885 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 886 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 887 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 888 | }, |
| 889 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 890 | { |
| 891 | .vendor = "Atmel", |
| 892 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 893 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 894 | .manufacture_id = ATMEL_ID, |
| 895 | .model_id = AT_29C040A, |
| 896 | .total_size = 512, |
| 897 | .page_size = 256, |
| 898 | .tested = TEST_UNTESTED, |
| 899 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 900 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 901 | .erase = NULL, |
| 902 | .block_erasers = |
| 903 | { |
| 904 | { |
| 905 | .eraseblocks = { {512 * 1024, 1} }, |
| 906 | .block_erase = erase_chip_block_jedec, |
| 907 | } |
| 908 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 909 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 910 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 911 | }, |
| 912 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 913 | { |
| 914 | .vendor = "Atmel", |
| 915 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 916 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 917 | .manufacture_id = ATMEL_ID, |
| 918 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 919 | .total_size = 16896 /* No power of two sizes */, |
| 920 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 921 | .tested = TEST_BAD_READ, |
| 922 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 923 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 924 | .erase = NULL, |
| 925 | .write = NULL /* Incompatible Page write */, |
| 926 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 927 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 928 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 929 | { |
| 930 | .vendor = "Atmel", |
| 931 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 932 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 933 | .manufacture_id = ATMEL_ID, |
| 934 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 935 | .total_size = 128 /* Size can only be determined from status register */, |
| 936 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 937 | .tested = TEST_BAD_READ, |
| 938 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 939 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 940 | .erase = NULL, |
| 941 | .write = NULL, |
| 942 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 943 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 945 | { |
| 946 | .vendor = "Atmel", |
| 947 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 948 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 949 | .manufacture_id = ATMEL_ID, |
| 950 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 951 | .total_size = 256 /* Size can only be determined from status register */, |
| 952 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 953 | .tested = TEST_BAD_READ, |
| 954 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 955 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 956 | .erase = NULL, |
| 957 | .write = NULL, |
| 958 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 959 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 960 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 961 | { |
| 962 | .vendor = "Atmel", |
| 963 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 964 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 965 | .manufacture_id = ATMEL_ID, |
| 966 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 967 | .total_size = 512 /* Size can only be determined from status register */, |
| 968 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 969 | .tested = TEST_BAD_READ, |
| 970 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 971 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 972 | .erase = NULL, |
| 973 | .write = NULL, |
| 974 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 975 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 976 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 977 | { |
| 978 | .vendor = "Atmel", |
| 979 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 980 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 981 | .manufacture_id = ATMEL_ID, |
| 982 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 983 | .total_size = 1024 /* Size can only be determined from status register */, |
| 984 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 985 | .tested = TEST_BAD_READ, |
| 986 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 987 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 988 | .erase = NULL, |
| 989 | .write = NULL, |
| 990 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 991 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 992 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 993 | { |
| 994 | .vendor = "Atmel", |
| 995 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 996 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 997 | .manufacture_id = ATMEL_ID, |
| 998 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 999 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1000 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1001 | .tested = TEST_BAD_READ, |
| 1002 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1003 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1004 | .erase = NULL, |
| 1005 | .write = NULL, |
| 1006 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1007 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1008 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1009 | { |
| 1010 | .vendor = "Atmel", |
| 1011 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1012 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1013 | .manufacture_id = ATMEL_ID, |
| 1014 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1015 | .total_size = 4224 /* No power of two sizes */, |
| 1016 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1017 | .tested = TEST_BAD_READ, |
| 1018 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1019 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1020 | .erase = NULL, |
| 1021 | .write = NULL, |
| 1022 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1023 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1024 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1025 | { |
| 1026 | .vendor = "Atmel", |
| 1027 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1028 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1029 | .manufacture_id = ATMEL_ID, |
| 1030 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1031 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1032 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1033 | .tested = TEST_BAD_READ, |
| 1034 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1035 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1036 | .erase = NULL, |
| 1037 | .write = NULL, |
| 1038 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1039 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1040 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1041 | { |
| 1042 | .vendor = "Atmel", |
| 1043 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1044 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1045 | .manufacture_id = ATMEL_ID, |
| 1046 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1047 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1048 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1049 | .tested = TEST_BAD_READ, |
| 1050 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1051 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1052 | .erase = NULL, |
| 1053 | .write = NULL, |
| 1054 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1055 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1056 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1057 | { |
| 1058 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1059 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1060 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1061 | .manufacture_id = ATMEL_ID, |
| 1062 | .model_id = AT_49BV512, |
| 1063 | .total_size = 64, |
| 1064 | .page_size = 64, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1065 | .tested = TEST_OK_PRW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1066 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1067 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1068 | .erase = NULL, |
| 1069 | .block_erasers = |
| 1070 | { |
| 1071 | { |
| 1072 | .eraseblocks = { {64 * 1024, 1} }, |
| 1073 | .block_erase = erase_chip_block_jedec, |
| 1074 | } |
| 1075 | }, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1076 | .write = write_49f002, |
| 1077 | .read = read_memmapped, |
| 1078 | }, |
| 1079 | |
| 1080 | { |
| 1081 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1082 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1083 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1084 | .manufacture_id = ATMEL_ID, |
| 1085 | .model_id = AT_49F002N, |
| 1086 | .total_size = 256, |
| 1087 | .page_size = 256, |
| 1088 | .tested = TEST_UNTESTED, |
| 1089 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1090 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1091 | .erase = NULL, |
| 1092 | .block_erasers = |
| 1093 | { |
| 1094 | { |
| 1095 | .eraseblocks = { |
| 1096 | {16 * 1024, 1}, |
| 1097 | {8 * 1024, 2}, |
| 1098 | {96 * 1024, 1}, |
| 1099 | {128 * 1024, 1}, |
| 1100 | }, |
| 1101 | .block_erase = erase_sector_jedec, |
| 1102 | }, { |
| 1103 | .eraseblocks = { {256 * 1024, 1} }, |
| 1104 | .block_erase = erase_chip_block_jedec, |
| 1105 | } |
| 1106 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1107 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1108 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1109 | }, |
| 1110 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1111 | { |
| 1112 | .vendor = "Atmel", |
| 1113 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1114 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1115 | .manufacture_id = ATMEL_ID, |
| 1116 | .model_id = AT_49F002NT, |
| 1117 | .total_size = 256, |
| 1118 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1119 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1120 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1121 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1122 | .erase = NULL, |
| 1123 | .block_erasers = |
| 1124 | { |
| 1125 | { |
| 1126 | .eraseblocks = { |
| 1127 | {128 * 1024, 1}, |
| 1128 | {96 * 1024, 1}, |
| 1129 | {8 * 1024, 2}, |
| 1130 | {16 * 1024, 1}, |
| 1131 | }, |
| 1132 | .block_erase = erase_sector_jedec, |
| 1133 | }, { |
| 1134 | .eraseblocks = { {256 * 1024, 1} }, |
| 1135 | .block_erase = erase_chip_block_jedec, |
| 1136 | } |
| 1137 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1138 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1139 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1140 | }, |
| 1141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1142 | { |
| 1143 | .vendor = "AMIC", |
| 1144 | .name = "A25L40P", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1145 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1146 | .manufacture_id = AMIC_ID, |
| 1147 | .model_id = AMIC_A25L40P, |
| 1148 | .total_size = 512, |
| 1149 | .page_size = 256, |
| 1150 | .tested = TEST_OK_PREW, |
| 1151 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1152 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1153 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1154 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1155 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1156 | }, |
| 1157 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1158 | { |
| 1159 | .vendor = "AMIC", |
| 1160 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1161 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1162 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1163 | .model_id = AMIC_A29002B, |
| 1164 | .total_size = 256, |
| 1165 | .page_size = 64 * 1024, |
| 1166 | .tested = TEST_UNTESTED, |
| 1167 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1168 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1169 | .erase = erase_29f002, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1170 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1171 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1172 | }, |
| 1173 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1174 | { |
| 1175 | .vendor = "AMIC", |
| 1176 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1177 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1178 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1179 | .model_id = AMIC_A29002T, |
| 1180 | .total_size = 256, |
| 1181 | .page_size = 64 * 1024, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1182 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1183 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1185 | .erase = erase_29f002, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1186 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1187 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1188 | }, |
| 1189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1190 | { |
| 1191 | .vendor = "AMIC", |
| 1192 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1193 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1194 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1195 | .model_id = AMIC_A29040B, |
| 1196 | .total_size = 512, |
| 1197 | .page_size = 64 * 1024, |
| 1198 | .tested = TEST_OK_PR, |
| 1199 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1200 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1201 | .erase = NULL, |
| 1202 | .block_erasers = |
| 1203 | { |
| 1204 | { |
| 1205 | .eraseblocks = { {64 * 1024, 8} }, |
| 1206 | .block_erase = erase_sector_29f040b, |
| 1207 | }, { |
| 1208 | .eraseblocks = { {512 * 1024, 1} }, |
| 1209 | .block_erase = erase_chip_29f040b, |
| 1210 | }, |
| 1211 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1212 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1213 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1214 | }, |
| 1215 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1216 | { |
| 1217 | .vendor = "AMIC", |
| 1218 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1219 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1220 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1221 | .model_id = AMIC_A49LF040A, |
| 1222 | .total_size = 512, |
| 1223 | .page_size = 64 * 1024, |
| 1224 | .tested = TEST_OK_PREW, |
| 1225 | .probe = probe_49fl00x, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1226 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1227 | .erase = erase_49fl00x, |
| 1228 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1229 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1230 | }, |
| 1231 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1232 | { |
| 1233 | .vendor = "EMST", |
| 1234 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1235 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1236 | .manufacture_id = EMST_ID, |
| 1237 | .model_id = EMST_F49B002UA, |
| 1238 | .total_size = 256, |
| 1239 | .page_size = 4096, |
| 1240 | .tested = TEST_UNTESTED, |
| 1241 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1242 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1243 | .erase = erase_chip_jedec, |
| 1244 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1245 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1246 | }, |
| 1247 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1248 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1249 | .vendor = "Eon", |
| 1250 | .name = "EN25B05", |
| 1251 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1252 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1253 | .model_id = EN_25B05, |
| 1254 | .total_size = 64, |
| 1255 | .page_size = 256, |
| 1256 | .tested = TEST_UNTESTED, |
| 1257 | .probe = probe_spi_rdid, |
| 1258 | .probe_timing = TIMING_ZERO, |
| 1259 | .erase = spi_chip_erase_c7, |
| 1260 | .write = spi_chip_write_256, |
| 1261 | .read = spi_chip_read, |
| 1262 | }, |
| 1263 | |
| 1264 | { |
| 1265 | .vendor = "Eon", |
| 1266 | .name = "EN25B10", |
| 1267 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1268 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1269 | .model_id = EN_25B10, |
| 1270 | .total_size = 128, |
| 1271 | .page_size = 256, |
| 1272 | .tested = TEST_UNTESTED, |
| 1273 | .probe = probe_spi_rdid, |
| 1274 | .probe_timing = TIMING_ZERO, |
| 1275 | .erase = spi_chip_erase_c7, |
| 1276 | .write = spi_chip_write_256, |
| 1277 | .read = spi_chip_read, |
| 1278 | }, |
| 1279 | |
| 1280 | { |
| 1281 | .vendor = "Eon", |
| 1282 | .name = "EN25B20", |
| 1283 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1284 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1285 | .model_id = EN_25B20, |
| 1286 | .total_size = 256, |
| 1287 | .page_size = 256, |
| 1288 | .tested = TEST_UNTESTED, |
| 1289 | .probe = probe_spi_rdid, |
| 1290 | .probe_timing = TIMING_ZERO, |
| 1291 | .erase = spi_chip_erase_c7, |
| 1292 | .write = spi_chip_write_256, |
| 1293 | .read = spi_chip_read, |
| 1294 | }, |
| 1295 | |
| 1296 | { |
| 1297 | .vendor = "Eon", |
| 1298 | .name = "EN25B40", |
| 1299 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1300 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1301 | .model_id = EN_25B40, |
| 1302 | .total_size = 512, |
| 1303 | .page_size = 256, |
| 1304 | .tested = TEST_UNTESTED, |
| 1305 | .probe = probe_spi_rdid, |
| 1306 | .probe_timing = TIMING_ZERO, |
| 1307 | .erase = spi_chip_erase_c7, |
| 1308 | .write = spi_chip_write_256, |
| 1309 | .read = spi_chip_read, |
| 1310 | }, |
| 1311 | |
| 1312 | { |
| 1313 | .vendor = "Eon", |
| 1314 | .name = "EN25B80", |
| 1315 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1316 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1317 | .model_id = EN_25B80, |
| 1318 | .total_size = 1024, |
| 1319 | .page_size = 256, |
| 1320 | .tested = TEST_UNTESTED, |
| 1321 | .probe = probe_spi_rdid, |
| 1322 | .probe_timing = TIMING_ZERO, |
| 1323 | .erase = spi_chip_erase_c7, |
| 1324 | .write = spi_chip_write_256, |
| 1325 | .read = spi_chip_read, |
| 1326 | }, |
| 1327 | |
| 1328 | { |
| 1329 | .vendor = "Eon", |
| 1330 | .name = "EN25B16", |
| 1331 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1332 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1333 | .model_id = EN_25B16, |
| 1334 | .total_size = 2048, |
| 1335 | .page_size = 256, |
| 1336 | .tested = TEST_UNTESTED, |
| 1337 | .probe = probe_spi_rdid, |
| 1338 | .probe_timing = TIMING_ZERO, |
| 1339 | .erase = spi_chip_erase_c7, |
| 1340 | .write = spi_chip_write_256, |
| 1341 | .read = spi_chip_read, |
| 1342 | }, |
| 1343 | |
| 1344 | { |
| 1345 | .vendor = "Eon", |
| 1346 | .name = "EN25B32", |
| 1347 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1348 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1349 | .model_id = EN_25B32, |
| 1350 | .total_size = 4096, |
| 1351 | .page_size = 256, |
| 1352 | .tested = TEST_UNTESTED, |
| 1353 | .probe = probe_spi_rdid, |
| 1354 | .probe_timing = TIMING_ZERO, |
| 1355 | .erase = spi_chip_erase_c7, |
| 1356 | .write = spi_chip_write_256, |
| 1357 | .read = spi_chip_read, |
| 1358 | }, |
| 1359 | |
| 1360 | { |
| 1361 | .vendor = "Eon", |
| 1362 | .name = "EN25B64", |
| 1363 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1364 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1365 | .model_id = EN_25B64, |
| 1366 | .total_size = 8192, |
| 1367 | .page_size = 256, |
| 1368 | .tested = TEST_UNTESTED, |
| 1369 | .probe = probe_spi_rdid, |
| 1370 | .probe_timing = TIMING_ZERO, |
| 1371 | .erase = spi_chip_erase_c7, |
| 1372 | .write = spi_chip_write_256, |
| 1373 | .read = spi_chip_read, |
| 1374 | }, |
| 1375 | |
| 1376 | { |
| 1377 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1378 | .name = "EN25D16", |
| 1379 | .bustype = CHIP_BUSTYPE_SPI, |
| 1380 | .manufacture_id = EON_ID_NOPREFIX, |
| 1381 | .model_id = EN_25D16, |
| 1382 | .total_size = 2048, |
| 1383 | .page_size = 256, |
| 1384 | .tested = TEST_UNTESTED, |
| 1385 | .probe = probe_spi_rdid, |
| 1386 | .probe_timing = TIMING_ZERO, |
| 1387 | .erase = spi_chip_erase_60_c7, |
| 1388 | .write = spi_chip_write_256, |
| 1389 | .read = spi_chip_read, |
| 1390 | }, |
| 1391 | |
| 1392 | { |
| 1393 | .vendor = "Eon", |
| 1394 | .name = "EN25F05", |
| 1395 | .bustype = CHIP_BUSTYPE_SPI, |
| 1396 | .manufacture_id = EON_ID_NOPREFIX, |
| 1397 | .model_id = EN_25F05, |
| 1398 | .total_size = 64, |
| 1399 | .page_size = 256, |
| 1400 | .tested = TEST_UNTESTED, |
| 1401 | .probe = probe_spi_rdid, |
| 1402 | .probe_timing = TIMING_ZERO, |
| 1403 | .erase = spi_chip_erase_60_c7, |
| 1404 | .write = spi_chip_write_256, |
| 1405 | .read = spi_chip_read, |
| 1406 | }, |
| 1407 | |
| 1408 | { |
| 1409 | .vendor = "Eon", |
| 1410 | .name = "EN25F10", |
| 1411 | .bustype = CHIP_BUSTYPE_SPI, |
| 1412 | .manufacture_id = EON_ID_NOPREFIX, |
| 1413 | .model_id = EN_25F10, |
| 1414 | .total_size = 128, |
| 1415 | .page_size = 256, |
| 1416 | .tested = TEST_UNTESTED, |
| 1417 | .probe = probe_spi_rdid, |
| 1418 | .probe_timing = TIMING_ZERO, |
| 1419 | .erase = spi_chip_erase_60_c7, |
| 1420 | .write = spi_chip_write_256, |
| 1421 | .read = spi_chip_read, |
| 1422 | }, |
| 1423 | |
| 1424 | { |
| 1425 | .vendor = "Eon", |
| 1426 | .name = "EN25F20", |
| 1427 | .bustype = CHIP_BUSTYPE_SPI, |
| 1428 | .manufacture_id = EON_ID_NOPREFIX, |
| 1429 | .model_id = EN_25F20, |
| 1430 | .total_size = 256, |
| 1431 | .page_size = 256, |
| 1432 | .tested = TEST_UNTESTED, |
| 1433 | .probe = probe_spi_rdid, |
| 1434 | .probe_timing = TIMING_ZERO, |
| 1435 | .erase = spi_chip_erase_60_c7, |
| 1436 | .write = spi_chip_write_256, |
| 1437 | .read = spi_chip_read, |
| 1438 | }, |
| 1439 | |
| 1440 | { |
| 1441 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1442 | .name = "EN25F40", |
| 1443 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1444 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1445 | .model_id = EN_25F40, |
| 1446 | .total_size = 512, |
| 1447 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 1448 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1449 | .probe = probe_spi_rdid, |
| 1450 | .probe_timing = TIMING_ZERO, |
| 1451 | .erase = spi_chip_erase_60_c7, |
| 1452 | .write = spi_chip_write_256, |
| 1453 | .read = spi_chip_read, |
| 1454 | }, |
| 1455 | |
| 1456 | { |
| 1457 | .vendor = "Eon", |
| 1458 | .name = "EN25F80", |
| 1459 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1460 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1461 | .model_id = EN_25F80, |
| 1462 | .total_size = 1024, |
| 1463 | .page_size = 256, |
| 1464 | .tested = TEST_UNTESTED, |
| 1465 | .probe = probe_spi_rdid, |
| 1466 | .probe_timing = TIMING_ZERO, |
| 1467 | .erase = spi_chip_erase_60_c7, |
| 1468 | .write = spi_chip_write_256, |
| 1469 | .read = spi_chip_read, |
| 1470 | }, |
| 1471 | |
| 1472 | { |
| 1473 | .vendor = "Eon", |
| 1474 | .name = "EN25F16", |
| 1475 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1476 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1477 | .model_id = EN_25F16, |
| 1478 | .total_size = 2048, |
| 1479 | .page_size = 256, |
| 1480 | .tested = TEST_UNTESTED, |
| 1481 | .probe = probe_spi_rdid, |
| 1482 | .probe_timing = TIMING_ZERO, |
| 1483 | .erase = spi_chip_erase_60_c7, |
| 1484 | .write = spi_chip_write_256, |
| 1485 | .read = spi_chip_read, |
| 1486 | }, |
| 1487 | |
| 1488 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1489 | .vendor = "Eon", |
| 1490 | .name = "EN25F32", |
| 1491 | .bustype = CHIP_BUSTYPE_SPI, |
| 1492 | .manufacture_id = EON_ID_NOPREFIX, |
| 1493 | .model_id = EN_25F32, |
| 1494 | .total_size = 4096, |
| 1495 | .page_size = 256, |
| 1496 | .tested = TEST_UNTESTED, |
| 1497 | .probe = probe_spi_rdid, |
| 1498 | .probe_timing = TIMING_ZERO, |
| 1499 | .erase = spi_chip_erase_60_c7, |
| 1500 | .write = spi_chip_write_256, |
| 1501 | .read = spi_chip_read, |
| 1502 | }, |
| 1503 | |
| 1504 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1505 | .vendor = "EON", |
| 1506 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1507 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1508 | .manufacture_id = EON_ID, |
| 1509 | .model_id = EN_29F002B, |
| 1510 | .total_size = 256, |
| 1511 | .page_size = 256, |
| 1512 | .tested = TEST_UNTESTED, |
| 1513 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1514 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1515 | .erase = erase_chip_jedec, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1516 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1517 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1518 | }, |
| 1519 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1520 | { |
| 1521 | .vendor = "EON", |
| 1522 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1523 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1524 | .manufacture_id = EON_ID, |
| 1525 | .model_id = EN_29F002T, |
| 1526 | .total_size = 256, |
| 1527 | .page_size = 256, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1528 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1529 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1530 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1531 | .erase = erase_chip_jedec, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1532 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1533 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1534 | }, |
| 1535 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1536 | { |
| 1537 | .vendor = "Fujitsu", |
| 1538 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1539 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1540 | .manufacture_id = FUJITSU_ID, |
| 1541 | .model_id = MBM29F004BC, |
| 1542 | .total_size = 512, |
| 1543 | .page_size = 64 * 1024, |
| 1544 | .tested = TEST_UNTESTED, |
| 1545 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1546 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1547 | .erase = NULL, |
| 1548 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1549 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1550 | }, |
| 1551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1552 | { |
| 1553 | .vendor = "Fujitsu", |
| 1554 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1555 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1556 | .manufacture_id = FUJITSU_ID, |
| 1557 | .model_id = MBM29F004TC, |
| 1558 | .total_size = 512, |
| 1559 | .page_size = 64 * 1024, |
| 1560 | .tested = TEST_UNTESTED, |
| 1561 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1562 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1563 | .erase = NULL, |
| 1564 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1565 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1566 | }, |
| 1567 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1568 | { |
| 1569 | .vendor = "Fujitsu", |
| 1570 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1571 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1572 | .manufacture_id = FUJITSU_ID, |
| 1573 | .model_id = MBM29F400BC, |
| 1574 | .total_size = 512, |
| 1575 | .page_size = 64 * 1024, |
| 1576 | .tested = TEST_UNTESTED, |
| 1577 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1578 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1579 | .erase = erase_m29f400bt, |
| 1580 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1581 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1582 | }, |
| 1583 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1584 | { |
| 1585 | .vendor = "Fujitsu", |
| 1586 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1587 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1588 | .manufacture_id = FUJITSU_ID, |
| 1589 | .model_id = MBM29F400TC, |
| 1590 | .total_size = 512, |
| 1591 | .page_size = 64 * 1024, |
| 1592 | .tested = TEST_UNTESTED, |
| 1593 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1594 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | .erase = erase_m29f400bt, |
| 1596 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1597 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1598 | }, |
| 1599 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1600 | { |
| 1601 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 1602 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1603 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 1604 | .manufacture_id = INTEL_ID, |
| 1605 | .model_id = P28F001BXB, |
| 1606 | .total_size = 128, |
| 1607 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
| 1608 | .tested = TEST_BAD_ERASE|TEST_BAD_WRITE, |
| 1609 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1610 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 1611 | .erase = NULL, |
| 1612 | .write = NULL, |
| 1613 | .read = read_memmapped, |
| 1614 | }, |
| 1615 | |
| 1616 | { |
| 1617 | .vendor = "Intel", |
| 1618 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1619 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 1620 | .manufacture_id = INTEL_ID, |
| 1621 | .model_id = P28F001BXT, |
| 1622 | .total_size = 128, |
| 1623 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
| 1624 | .tested = TEST_OK_PR|TEST_BAD_ERASE|TEST_BAD_WRITE, |
| 1625 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1626 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 1627 | .erase = NULL, |
| 1628 | .write = NULL, |
| 1629 | .read = read_memmapped, |
| 1630 | }, |
| 1631 | |
| 1632 | { |
| 1633 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1634 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 1635 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1636 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 1637 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1638 | .total_size = 512, |
| 1639 | .page_size = 64 * 1024, |
| 1640 | .tested = TEST_OK_PREW, |
| 1641 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1642 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1643 | .erase = erase_82802ab, |
| 1644 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1645 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1646 | }, |
| 1647 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1648 | { |
| 1649 | .vendor = "Intel", |
| 1650 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 1651 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1652 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 1653 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1654 | .total_size = 1024, |
| 1655 | .page_size = 64 * 1024, |
| 1656 | .tested = TEST_OK_PREW, |
| 1657 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1658 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1659 | .erase = erase_82802ab, |
| 1660 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1661 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1662 | }, |
| 1663 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1664 | { |
| 1665 | .vendor = "Macronix", |
| 1666 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1667 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1668 | .manufacture_id = MX_ID, |
| 1669 | .model_id = MX_25L512, |
| 1670 | .total_size = 64, |
| 1671 | .page_size = 256, |
| 1672 | .tested = TEST_UNTESTED, |
| 1673 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1674 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1675 | .erase = NULL, |
| 1676 | .block_erasers = |
| 1677 | { |
| 1678 | { |
| 1679 | .eraseblocks = { {4 * 1024, 16} }, |
| 1680 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1681 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1682 | .eraseblocks = { {64 * 1024, 1} }, |
| 1683 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1684 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1685 | .eraseblocks = { {64 * 1024, 1} }, |
| 1686 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1687 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1688 | .eraseblocks = { {64 * 1024, 1} }, |
| 1689 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1690 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1691 | .eraseblocks = { {64 * 1024, 1} }, |
| 1692 | .block_erase = spi_block_erase_c7, |
| 1693 | }, |
| 1694 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1695 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1696 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1697 | }, |
| 1698 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1699 | { |
| 1700 | .vendor = "Macronix", |
| 1701 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1702 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1703 | .manufacture_id = MX_ID, |
| 1704 | .model_id = MX_25L1005, |
| 1705 | .total_size = 128, |
| 1706 | .page_size = 256, |
| 1707 | .tested = TEST_UNTESTED, |
| 1708 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1709 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1710 | .erase = NULL, |
| 1711 | .block_erasers = |
| 1712 | { |
| 1713 | { |
| 1714 | .eraseblocks = { {4 * 1024, 32} }, |
| 1715 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1716 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1717 | .eraseblocks = { {64 * 1024, 2} }, |
| 1718 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1719 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1720 | .eraseblocks = { {128 * 1024, 1} }, |
| 1721 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1722 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 1723 | .eraseblocks = { {128 * 1024, 1} }, |
| 1724 | .block_erase = spi_block_erase_c7, |
| 1725 | }, |
| 1726 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1727 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1728 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1729 | }, |
| 1730 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1731 | { |
| 1732 | .vendor = "Macronix", |
| 1733 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1734 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1735 | .manufacture_id = MX_ID, |
| 1736 | .model_id = MX_25L2005, |
| 1737 | .total_size = 256, |
| 1738 | .page_size = 256, |
| 1739 | .tested = TEST_UNTESTED, |
| 1740 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1741 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1742 | .erase = NULL, |
| 1743 | .block_erasers = |
| 1744 | { |
| 1745 | { |
| 1746 | .eraseblocks = { {4 * 1024, 64} }, |
| 1747 | .block_erase = spi_block_erase_20, |
| 1748 | }, { |
| 1749 | .eraseblocks = { {64 * 1024, 4} }, |
| 1750 | .block_erase = spi_block_erase_52, |
| 1751 | }, { |
| 1752 | .eraseblocks = { {64 * 1024, 4} }, |
| 1753 | .block_erase = spi_block_erase_d8, |
| 1754 | }, { |
| 1755 | .eraseblocks = { {256 * 1024, 1} }, |
| 1756 | .block_erase = spi_block_erase_60, |
| 1757 | }, { |
| 1758 | .eraseblocks = { {256 * 1024, 1} }, |
| 1759 | .block_erase = spi_block_erase_c7, |
| 1760 | }, |
| 1761 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1762 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1763 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1764 | }, |
| 1765 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1766 | { |
| 1767 | .vendor = "Macronix", |
| 1768 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1769 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1770 | .manufacture_id = MX_ID, |
| 1771 | .model_id = MX_25L4005, |
| 1772 | .total_size = 512, |
| 1773 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1774 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1775 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1776 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1777 | .erase = NULL, |
| 1778 | .block_erasers = |
| 1779 | { |
| 1780 | { |
| 1781 | .eraseblocks = { {4 * 1024, 128} }, |
| 1782 | .block_erase = spi_block_erase_20, |
| 1783 | }, { |
| 1784 | .eraseblocks = { {64 * 1024, 8} }, |
| 1785 | .block_erase = spi_block_erase_52, |
| 1786 | }, { |
| 1787 | .eraseblocks = { {64 * 1024, 8} }, |
| 1788 | .block_erase = spi_block_erase_d8, |
| 1789 | }, { |
| 1790 | .eraseblocks = { {512 * 1024, 1} }, |
| 1791 | .block_erase = spi_block_erase_60, |
| 1792 | }, { |
| 1793 | .eraseblocks = { {512 * 1024, 1} }, |
| 1794 | .block_erase = spi_block_erase_c7, |
| 1795 | }, |
| 1796 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1797 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1798 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1799 | }, |
| 1800 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1801 | { |
| 1802 | .vendor = "Macronix", |
| 1803 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1804 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1805 | .manufacture_id = MX_ID, |
| 1806 | .model_id = MX_25L8005, |
| 1807 | .total_size = 1024, |
| 1808 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1809 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1810 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1811 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1812 | .erase = NULL, |
| 1813 | .block_erasers = |
| 1814 | { |
| 1815 | { |
| 1816 | .eraseblocks = { {4 * 1024, 256} }, |
| 1817 | .block_erase = spi_block_erase_20, |
| 1818 | }, { |
| 1819 | .eraseblocks = { {64 * 1024, 16} }, |
| 1820 | .block_erase = spi_block_erase_52, |
| 1821 | }, { |
| 1822 | .eraseblocks = { {64 * 1024, 16} }, |
| 1823 | .block_erase = spi_block_erase_d8, |
| 1824 | }, { |
| 1825 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1826 | .block_erase = spi_block_erase_60, |
| 1827 | }, { |
| 1828 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1829 | .block_erase = spi_block_erase_c7, |
| 1830 | }, |
| 1831 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1832 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1833 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1834 | }, |
| 1835 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1836 | { |
| 1837 | .vendor = "Macronix", |
| 1838 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1839 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1840 | .manufacture_id = MX_ID, |
| 1841 | .model_id = MX_25L1605, |
| 1842 | .total_size = 2048, |
| 1843 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1844 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1845 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1846 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 1847 | .erase = NULL, |
| 1848 | .block_erasers = |
| 1849 | { |
| 1850 | { |
| 1851 | .eraseblocks = { {4 * 1024, 512} }, |
| 1852 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 1853 | }, { |
| 1854 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 1855 | .block_erase = spi_block_erase_52, |
| 1856 | }, { |
| 1857 | .eraseblocks = { {64 * 1024, 32} }, |
| 1858 | .block_erase = spi_block_erase_d8, |
| 1859 | }, { |
| 1860 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1861 | .block_erase = spi_block_erase_60, |
| 1862 | }, { |
| 1863 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1864 | .block_erase = spi_block_erase_c7, |
| 1865 | }, |
| 1866 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1867 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1868 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1869 | }, |
| 1870 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1871 | { |
| 1872 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 1873 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1874 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 1875 | .manufacture_id = MX_ID, |
| 1876 | .model_id = MX_25L1635D, |
| 1877 | .total_size = 2048, |
| 1878 | .page_size = 256, |
| 1879 | .tested = TEST_UNTESTED, |
| 1880 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1881 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | e39631c | 2009-04-19 23:24:26 +0000 | [diff] [blame] | 1882 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1883 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 1884 | .read = spi_chip_read, |
| 1885 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 1886 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 1887 | { |
| 1888 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1889 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1890 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1891 | .manufacture_id = MX_ID, |
| 1892 | .model_id = MX_25L3205, |
| 1893 | .total_size = 4096, |
| 1894 | .page_size = 256, |
| 1895 | .tested = TEST_OK_PREW, |
| 1896 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1897 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 1898 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1899 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1900 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1901 | }, |
| 1902 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1903 | { |
| 1904 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 1905 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1906 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 1907 | .manufacture_id = MX_ID, |
| 1908 | .model_id = MX_25L3235D, |
| 1909 | .total_size = 4096, |
| 1910 | .page_size = 256, |
| 1911 | .tested = TEST_UNTESTED, |
| 1912 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1913 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 1914 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1915 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 1916 | .read = spi_chip_read, |
| 1917 | }, |
| 1918 | |
| 1919 | { |
| 1920 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1921 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1922 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1923 | .manufacture_id = MX_ID, |
| 1924 | .model_id = MX_25L6405, |
| 1925 | .total_size = 8192, |
| 1926 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 1927 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1928 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1929 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 1930 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1931 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1932 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1933 | }, |
| 1934 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1935 | { |
| 1936 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 1937 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1938 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 1939 | .manufacture_id = MX_ID, |
| 1940 | .model_id = MX_25L12805, |
| 1941 | .total_size = 16384, |
| 1942 | .page_size = 256, |
| 1943 | .tested = TEST_UNTESTED, |
| 1944 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1945 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 1946 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1947 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 1948 | .read = spi_chip_read, |
| 1949 | }, |
| 1950 | |
| 1951 | { |
| 1952 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 1953 | .name = "MX29F001B", |
| 1954 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1955 | .manufacture_id = MX_ID, |
| 1956 | .model_id = MX_29F001B, |
| 1957 | .total_size = 128, |
| 1958 | .page_size = 32 * 1024, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1959 | .tested = TEST_OK_PRE, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 1960 | .probe = probe_29f002, |
| 1961 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 1962 | .erase = erase_29f002, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1963 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 1964 | .read = read_memmapped, |
| 1965 | }, |
| 1966 | |
| 1967 | { |
| 1968 | .vendor = "Macronix", |
| 1969 | .name = "MX29F001T", |
| 1970 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1971 | .manufacture_id = MX_ID, |
| 1972 | .model_id = MX_29F001T, |
| 1973 | .total_size = 128, |
| 1974 | .page_size = 32 * 1024, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1975 | .tested = TEST_OK_PRE, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 1976 | .probe = probe_29f002, |
| 1977 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 1978 | .erase = erase_29f002, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1979 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 1980 | .read = read_memmapped, |
| 1981 | }, |
| 1982 | |
| 1983 | { |
| 1984 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1985 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1986 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1987 | .manufacture_id = MX_ID, |
| 1988 | .model_id = MX_29F002B, |
| 1989 | .total_size = 256, |
| 1990 | .page_size = 64 * 1024, |
| 1991 | .tested = TEST_UNTESTED, |
| 1992 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1993 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1994 | .erase = erase_29f002, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1995 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1996 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1997 | }, |
| 1998 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1999 | { |
| 2000 | .vendor = "Macronix", |
| 2001 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2002 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2003 | .manufacture_id = MX_ID, |
| 2004 | .model_id = MX_29F002T, |
| 2005 | .total_size = 256, |
| 2006 | .page_size = 64 * 1024, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2007 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2008 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2009 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2010 | .erase = erase_29f002, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2011 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2012 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2013 | }, |
| 2014 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2015 | { |
| 2016 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2017 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2018 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2019 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2020 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2021 | .total_size = 512, |
| 2022 | .page_size = 64 * 1024, |
| 2023 | .tested = TEST_OK_PR, |
| 2024 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2025 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2026 | .erase = erase_29f002, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2027 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2028 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 2029 | }, |
| 2030 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2031 | { |
| 2032 | .vendor = "Numonyx", |
| 2033 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2034 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2035 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2036 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2037 | .total_size = 128, |
| 2038 | .page_size = 256, |
| 2039 | .tested = TEST_UNTESTED, |
| 2040 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2041 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2042 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2043 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2044 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2045 | }, |
| 2046 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2047 | { |
| 2048 | .vendor = "Numonyx", |
| 2049 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2050 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2051 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2052 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2053 | .total_size = 256, |
| 2054 | .page_size = 256, |
| 2055 | .tested = TEST_UNTESTED, |
| 2056 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2057 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2058 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2059 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2060 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2061 | }, |
| 2062 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2063 | { |
| 2064 | .vendor = "Numonyx", |
| 2065 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2066 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2067 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2068 | .model_id = ST_M25PE40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2069 | .total_size = 256, |
| 2070 | .page_size = 256, |
| 2071 | .tested = TEST_UNTESTED, |
| 2072 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2073 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2074 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2075 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2076 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2077 | }, |
| 2078 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2079 | { |
| 2080 | .vendor = "Numonyx", |
| 2081 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2082 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2083 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2084 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2085 | .total_size = 1024, |
| 2086 | .page_size = 256, |
| 2087 | .tested = TEST_OK_PREW, |
| 2088 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2089 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2090 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2091 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2092 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2093 | }, |
| 2094 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2095 | { |
| 2096 | .vendor = "Numonyx", |
| 2097 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2098 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2100 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2101 | .total_size = 2048, |
| 2102 | .page_size = 256, |
| 2103 | .tested = TEST_UNTESTED, |
| 2104 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2105 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2106 | .erase = spi_chip_erase_d8, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2107 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2108 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2109 | }, |
| 2110 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2111 | { |
| 2112 | .vendor = "PMC", |
| 2113 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2114 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2115 | .manufacture_id = PMC_ID, |
| 2116 | .model_id = PMC_25LV010, |
| 2117 | .total_size = 128, |
| 2118 | .page_size = 256, |
| 2119 | .tested = TEST_UNTESTED, |
| 2120 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2121 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2122 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2123 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2124 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2125 | }, |
| 2126 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2127 | { |
| 2128 | .vendor = "PMC", |
| 2129 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2130 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2131 | .manufacture_id = PMC_ID, |
| 2132 | .model_id = PMC_25LV016B, |
| 2133 | .total_size = 2048, |
| 2134 | .page_size = 256, |
| 2135 | .tested = TEST_UNTESTED, |
| 2136 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2137 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2138 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2139 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2140 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2141 | }, |
| 2142 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2143 | { |
| 2144 | .vendor = "PMC", |
| 2145 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2146 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2147 | .manufacture_id = PMC_ID, |
| 2148 | .model_id = PMC_25LV020, |
| 2149 | .total_size = 256, |
| 2150 | .page_size = 256, |
| 2151 | .tested = TEST_UNTESTED, |
| 2152 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2153 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2154 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2155 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2156 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2157 | }, |
| 2158 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2159 | { |
| 2160 | .vendor = "PMC", |
| 2161 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2162 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2163 | .manufacture_id = PMC_ID, |
| 2164 | .model_id = PMC_25LV040, |
| 2165 | .total_size = 512, |
| 2166 | .page_size = 256, |
| 2167 | .tested = TEST_UNTESTED, |
| 2168 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2169 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2170 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2171 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2172 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2173 | }, |
| 2174 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2175 | { |
| 2176 | .vendor = "PMC", |
| 2177 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2178 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2179 | .manufacture_id = PMC_ID, |
| 2180 | .model_id = PMC_25LV080B, |
| 2181 | .total_size = 1024, |
| 2182 | .page_size = 256, |
| 2183 | .tested = TEST_UNTESTED, |
| 2184 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2185 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2186 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2187 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2188 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2189 | }, |
| 2190 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2191 | { |
| 2192 | .vendor = "PMC", |
| 2193 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2194 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2195 | .manufacture_id = PMC_ID, |
| 2196 | .model_id = PMC_25LV512, |
| 2197 | .total_size = 64, |
| 2198 | .page_size = 256, |
| 2199 | .tested = TEST_UNTESTED, |
| 2200 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2201 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2202 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2203 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2204 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2205 | }, |
| 2206 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2207 | { |
| 2208 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 2209 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 2210 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2211 | .manufacture_id = PMC_ID_NOPREFIX, |
| 2212 | .model_id = PMC_29F002T, |
| 2213 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 2214 | .page_size = 8 * 1024, |
| 2215 | .tested = TEST_OK_PRW, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 2216 | .probe = probe_29f040b, |
| 2217 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 2218 | .erase = NULL, |
| 2219 | .block_erasers = |
| 2220 | { |
| 2221 | { |
| 2222 | .eraseblocks = { |
| 2223 | {128 * 1024, 1}, |
| 2224 | {96 * 1024, 1}, |
| 2225 | {8 * 1024, 2}, |
| 2226 | {16 * 1024, 1}, |
| 2227 | }, |
| 2228 | .block_erase = erase_sector_29f040b, |
| 2229 | }, { |
| 2230 | .eraseblocks = { {256 * 1024, 1} }, |
| 2231 | .block_erase = erase_chip_29f040b, |
| 2232 | }, |
| 2233 | }, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 2234 | .write = write_pm29f002, |
| 2235 | .read = read_memmapped, |
| 2236 | }, |
| 2237 | |
| 2238 | { |
| 2239 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 2240 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 2241 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2242 | .manufacture_id = PMC_ID_NOPREFIX, |
| 2243 | .model_id = PMC_29F002B, |
| 2244 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 2245 | .page_size = 8 * 1024, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 2246 | .tested = TEST_UNTESTED, |
| 2247 | .probe = probe_29f040b, |
| 2248 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 2249 | .erase = NULL, |
| 2250 | .block_erasers = |
| 2251 | { |
| 2252 | { |
| 2253 | .eraseblocks = { |
| 2254 | {16 * 1024, 1}, |
| 2255 | {8 * 1024, 2}, |
| 2256 | {96 * 1024, 1}, |
| 2257 | {128 * 1024, 1}, |
| 2258 | }, |
| 2259 | .block_erase = erase_sector_29f040b, |
| 2260 | }, { |
| 2261 | .eraseblocks = { {256 * 1024, 1} }, |
| 2262 | .block_erase = erase_chip_29f040b, |
| 2263 | }, |
| 2264 | }, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 2265 | .write = write_pm29f002, |
| 2266 | .read = read_memmapped, |
| 2267 | }, |
| 2268 | |
| 2269 | { |
| 2270 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 2271 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2272 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 2273 | .manufacture_id = PMC_ID_NOPREFIX, |
| 2274 | .model_id = PMC_39F010, |
| 2275 | .total_size = 128, |
| 2276 | .page_size = 4096, |
| 2277 | .tested = TEST_OK_PREW, |
| 2278 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2279 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 2280 | .erase = erase_chip_jedec, |
| 2281 | .write = write_49f002, |
| 2282 | .read = read_memmapped, |
| 2283 | }, |
| 2284 | |
| 2285 | { |
| 2286 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2287 | .name = "Pm49FL002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2288 | .bustype = CHIP_BUSTYPE_LPC|CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2289 | .manufacture_id = PMC_ID_NOPREFIX, |
| 2290 | .model_id = PMC_49FL002, |
| 2291 | .total_size = 256, |
| 2292 | .page_size = 16 * 1024, |
| 2293 | .tested = TEST_OK_PREW, |
| 2294 | .probe = probe_49fl00x, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2295 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2296 | .erase = erase_49fl00x, |
| 2297 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2298 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2299 | }, |
| 2300 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2301 | { |
| 2302 | .vendor = "PMC", |
| 2303 | .name = "Pm49FL004", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2304 | .bustype = CHIP_BUSTYPE_LPC|CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2305 | .manufacture_id = PMC_ID_NOPREFIX, |
| 2306 | .model_id = PMC_49FL004, |
| 2307 | .total_size = 512, |
| 2308 | .page_size = 64 * 1024, |
| 2309 | .tested = TEST_OK_PREW, |
| 2310 | .probe = probe_49fl00x, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2311 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2312 | .erase = erase_49fl00x, |
| 2313 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2314 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2315 | }, |
| 2316 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2317 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 2318 | .vendor = "Sanyo", |
| 2319 | .name = "LF25FW203A", |
| 2320 | .bustype = CHIP_BUSTYPE_SPI, |
| 2321 | .manufacture_id = SANYO_ID, |
| 2322 | .model_id = SANYO_LE25FW203A, |
| 2323 | .total_size = 2048, |
| 2324 | .page_size = 256, |
| 2325 | .tested = TEST_UNTESTED, |
| 2326 | .probe = probe_spi_rdid, |
| 2327 | .probe_timing = TIMING_ZERO, |
| 2328 | .erase = spi_chip_erase_c7, |
| 2329 | .write = spi_chip_write_256, |
| 2330 | .read = spi_chip_read, |
| 2331 | }, |
| 2332 | |
| 2333 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2334 | .vendor = "Sharp", |
| 2335 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2336 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2337 | .manufacture_id = SHARP_ID, |
| 2338 | .model_id = SHARP_LHF00L04, |
| 2339 | .total_size = 1024, |
| 2340 | .page_size = 64 * 1024, |
| 2341 | .tested = TEST_UNTESTED, |
| 2342 | .probe = probe_lhf00l04, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2343 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sharplhf00l04.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2344 | .erase = erase_lhf00l04, |
| 2345 | .write = write_lhf00l04, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2346 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2347 | }, |
| 2348 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2349 | { |
| 2350 | .vendor = "Spansion", |
| 2351 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2352 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2353 | .manufacture_id = SPANSION_ID, |
| 2354 | .model_id = SPANSION_S25FL016A, |
| 2355 | .total_size = 2048, |
| 2356 | .page_size = 256, |
| 2357 | .tested = TEST_OK_PREW, |
| 2358 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2359 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2360 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2361 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2362 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2363 | }, |
| 2364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2365 | { |
| 2366 | .vendor = "SST", |
| 2367 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2368 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2369 | .manufacture_id = SST_ID, |
| 2370 | .model_id = SST_25VF016B, |
| 2371 | .total_size = 2048, |
| 2372 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2373 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2374 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2375 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2376 | .erase = NULL, |
| 2377 | .block_erasers = |
| 2378 | { |
| 2379 | { |
| 2380 | .eraseblocks = { {4 * 1024, 512} }, |
| 2381 | .block_erase = spi_block_erase_20, |
| 2382 | }, { |
| 2383 | .eraseblocks = { {32 * 1024, 64} }, |
| 2384 | .block_erase = spi_block_erase_52, |
| 2385 | }, { |
| 2386 | .eraseblocks = { {64 * 1024, 32} }, |
| 2387 | .block_erase = spi_block_erase_d8, |
| 2388 | }, { |
| 2389 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2390 | .block_erase = spi_block_erase_60, |
| 2391 | }, { |
| 2392 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2393 | .block_erase = spi_block_erase_c7, |
| 2394 | }, |
| 2395 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 2396 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2397 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2398 | }, |
| 2399 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2400 | { |
| 2401 | .vendor = "SST", |
| 2402 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2403 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2404 | .manufacture_id = SST_ID, |
| 2405 | .model_id = SST_25VF032B, |
| 2406 | .total_size = 4096, |
| 2407 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2408 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2409 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2410 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2411 | .erase = NULL, |
| 2412 | .block_erasers = |
| 2413 | { |
| 2414 | { |
| 2415 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2416 | .block_erase = spi_block_erase_20, |
| 2417 | }, { |
| 2418 | .eraseblocks = { {32 * 1024, 128} }, |
| 2419 | .block_erase = spi_block_erase_52, |
| 2420 | }, { |
| 2421 | .eraseblocks = { {64 * 1024, 64} }, |
| 2422 | .block_erase = spi_block_erase_d8, |
| 2423 | }, { |
| 2424 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2425 | .block_erase = spi_block_erase_60, |
| 2426 | }, { |
| 2427 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2428 | .block_erase = spi_block_erase_c7, |
| 2429 | }, |
| 2430 | }, |
| 2431 | .write = spi_chip_write_1, |
| 2432 | .read = spi_chip_read, |
| 2433 | }, |
| 2434 | |
| 2435 | { |
| 2436 | .vendor = "SST", |
| 2437 | .name = "SST25VF040.REMS", |
| 2438 | .bustype = CHIP_BUSTYPE_SPI, |
| 2439 | .manufacture_id = SST_ID, |
| 2440 | .model_id = SST_25VF040_REMS, |
| 2441 | .total_size = 512, |
| 2442 | .page_size = 256, |
| 2443 | .tested = TEST_OK_PR, |
| 2444 | .probe = probe_spi_rems, |
| 2445 | .probe_timing = TIMING_ZERO, |
| 2446 | .erase = NULL, |
| 2447 | .block_erasers = |
| 2448 | { |
| 2449 | { |
| 2450 | .eraseblocks = { {4 * 1024, 128} }, |
| 2451 | .block_erase = spi_block_erase_20, |
| 2452 | }, { |
| 2453 | .eraseblocks = { {32 * 1024, 16} }, |
| 2454 | .block_erase = spi_block_erase_52, |
| 2455 | }, { |
| 2456 | .eraseblocks = { {512 * 1024, 1} }, |
| 2457 | .block_erase = spi_block_erase_60, |
| 2458 | }, |
| 2459 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 2460 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2461 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2462 | }, |
| 2463 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2464 | { |
| 2465 | .vendor = "SST", |
| 2466 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2467 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2468 | .manufacture_id = SST_ID, |
| 2469 | .model_id = SST_25VF040B, |
| 2470 | .total_size = 512, |
| 2471 | .page_size = 256, |
| 2472 | .tested = TEST_UNTESTED, |
| 2473 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2474 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2475 | .erase = NULL, |
| 2476 | .block_erasers = |
| 2477 | { |
| 2478 | { |
| 2479 | .eraseblocks = { {4 * 1024, 128} }, |
| 2480 | .block_erase = spi_block_erase_20, |
| 2481 | }, { |
| 2482 | .eraseblocks = { {32 * 1024, 16} }, |
| 2483 | .block_erase = spi_block_erase_52, |
| 2484 | }, { |
| 2485 | .eraseblocks = { {64 * 1024, 8} }, |
| 2486 | .block_erase = spi_block_erase_d8, |
| 2487 | }, { |
| 2488 | .eraseblocks = { {512 * 1024, 1} }, |
| 2489 | .block_erase = spi_block_erase_60, |
| 2490 | }, { |
| 2491 | .eraseblocks = { {512 * 1024, 1} }, |
| 2492 | .block_erase = spi_block_erase_c7, |
| 2493 | }, |
| 2494 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 2495 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 2496 | .read = spi_chip_read, |
| 2497 | }, |
| 2498 | |
| 2499 | { |
| 2500 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 2501 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2502 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2503 | .manufacture_id = SST_ID, |
| 2504 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 2505 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2506 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 2507 | .tested = TEST_OK_PR, |
| 2508 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2509 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2510 | .erase = NULL, |
| 2511 | .block_erasers = |
| 2512 | { |
| 2513 | { |
| 2514 | .eraseblocks = { {4 * 1024, 128} }, |
| 2515 | .block_erase = spi_block_erase_20, |
| 2516 | }, { |
| 2517 | .eraseblocks = { {32 * 1024, 16} }, |
| 2518 | .block_erase = spi_block_erase_52, |
| 2519 | }, { |
| 2520 | .eraseblocks = { {64 * 1024, 8} }, |
| 2521 | .block_erase = spi_block_erase_d8, |
| 2522 | }, { |
| 2523 | .eraseblocks = { {512 * 1024, 1} }, |
| 2524 | .block_erase = spi_block_erase_60, |
| 2525 | }, { |
| 2526 | .eraseblocks = { {512 * 1024, 1} }, |
| 2527 | .block_erase = spi_block_erase_c7, |
| 2528 | }, |
| 2529 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 2530 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 2531 | .read = spi_chip_read, |
| 2532 | }, |
| 2533 | |
| 2534 | { |
| 2535 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2536 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2537 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2538 | .manufacture_id = SST_ID, |
| 2539 | .model_id = SST_25VF080B, |
| 2540 | .total_size = 1024, |
| 2541 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2542 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2543 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2544 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame^] | 2545 | .erase = NULL, |
| 2546 | .block_erasers = |
| 2547 | { |
| 2548 | { |
| 2549 | .eraseblocks = { {4 * 1024, 256} }, |
| 2550 | .block_erase = spi_block_erase_20, |
| 2551 | }, { |
| 2552 | .eraseblocks = { {32 * 1024, 32} }, |
| 2553 | .block_erase = spi_block_erase_52, |
| 2554 | }, { |
| 2555 | .eraseblocks = { {64 * 1024, 16} }, |
| 2556 | .block_erase = spi_block_erase_d8, |
| 2557 | }, { |
| 2558 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2559 | .block_erase = spi_block_erase_60, |
| 2560 | }, { |
| 2561 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2562 | .block_erase = spi_block_erase_c7, |
| 2563 | }, |
| 2564 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2565 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2566 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2567 | }, |
| 2568 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2569 | { |
| 2570 | .vendor = "SST", |
| 2571 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2572 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2573 | .manufacture_id = SST_ID, |
| 2574 | .model_id = SST_28SF040, |
| 2575 | .total_size = 512, |
| 2576 | .page_size = 256, |
| 2577 | .tested = TEST_UNTESTED, |
| 2578 | .probe = probe_28sf040, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2579 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2580 | .erase = erase_28sf040, |
| 2581 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2582 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2583 | }, |
| 2584 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2585 | { |
| 2586 | .vendor = "SST", |
| 2587 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2588 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2589 | .manufacture_id = SST_ID, |
| 2590 | .model_id = SST_29EE010, |
| 2591 | .total_size = 128, |
| 2592 | .page_size = 128, |
| 2593 | .tested = TEST_OK_PREW, |
| 2594 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2595 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2596 | .erase = erase_chip_jedec, |
| 2597 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2598 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2599 | }, |
| 2600 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2601 | { |
| 2602 | .vendor = "SST", |
| 2603 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2604 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2605 | .manufacture_id = SST_ID, |
| 2606 | .model_id = SST_29LE010, |
| 2607 | .total_size = 128, |
| 2608 | .page_size = 128, |
| 2609 | .tested = TEST_UNTESTED, |
| 2610 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2611 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2612 | .erase = erase_chip_jedec, |
| 2613 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2614 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2615 | }, |
| 2616 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2617 | { |
| 2618 | .vendor = "SST", |
| 2619 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2620 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2621 | .manufacture_id = SST_ID, |
| 2622 | .model_id = SST_29EE020A, |
| 2623 | .total_size = 256, |
| 2624 | .page_size = 128, |
Peter Stuge | b27d0a2 | 2009-02-22 21:07:28 +0000 | [diff] [blame] | 2625 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2626 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2627 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2628 | .erase = erase_chip_jedec, |
| 2629 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2630 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2631 | }, |
| 2632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2633 | { |
| 2634 | .vendor = "SST", |
| 2635 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2636 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2637 | .manufacture_id = SST_ID, |
| 2638 | .model_id = SST_29LE020, |
| 2639 | .total_size = 256, |
| 2640 | .page_size = 128, |
| 2641 | .tested = TEST_UNTESTED, |
| 2642 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2643 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2644 | .erase = erase_chip_jedec, |
| 2645 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2646 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2647 | }, |
| 2648 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2649 | { |
| 2650 | .vendor = "SST", |
| 2651 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2652 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2653 | .manufacture_id = SST_ID, |
| 2654 | .model_id = SST_39SF010, |
| 2655 | .total_size = 128, |
| 2656 | .page_size = 4096, |
| 2657 | .tested = TEST_OK_PREW, |
| 2658 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2659 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2660 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2661 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2662 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2663 | }, |
| 2664 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2665 | { |
| 2666 | .vendor = "SST", |
| 2667 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2668 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2669 | .manufacture_id = SST_ID, |
| 2670 | .model_id = SST_39SF020, |
| 2671 | .total_size = 256, |
| 2672 | .page_size = 4096, |
| 2673 | .tested = TEST_OK_PREW, |
| 2674 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2675 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2676 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2677 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2678 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2679 | }, |
| 2680 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2681 | { |
| 2682 | .vendor = "SST", |
| 2683 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2684 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2685 | .manufacture_id = SST_ID, |
| 2686 | .model_id = SST_39SF040, |
| 2687 | .total_size = 512, |
| 2688 | .page_size = 4096, |
| 2689 | .tested = TEST_OK_PREW, |
| 2690 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2691 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2692 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2693 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2694 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2695 | }, |
| 2696 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2697 | { |
| 2698 | .vendor = "SST", |
| 2699 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2700 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2701 | .manufacture_id = SST_ID, |
| 2702 | .model_id = SST_39VF512, |
| 2703 | .total_size = 64, |
| 2704 | .page_size = 4096, |
Rudolf Marek | e186da6 | 2009-05-17 18:24:24 +0000 | [diff] [blame] | 2705 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2706 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2707 | .probe_timing = 1, /* 150 ns*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2708 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2709 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2710 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2711 | }, |
| 2712 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2713 | { |
| 2714 | .vendor = "SST", |
| 2715 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2716 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2717 | .manufacture_id = SST_ID, |
| 2718 | .model_id = SST_39VF010, |
| 2719 | .total_size = 128, |
| 2720 | .page_size = 4096, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 2721 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2722 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2723 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2724 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2725 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2726 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2727 | }, |
| 2728 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2729 | { |
| 2730 | .vendor = "SST", |
| 2731 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2732 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2733 | .manufacture_id = SST_ID, |
| 2734 | .model_id = SST_39VF020, |
| 2735 | .total_size = 256, |
| 2736 | .page_size = 4096, |
| 2737 | .tested = TEST_OK_PREW, |
| 2738 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2739 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2740 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2741 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2742 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2743 | }, |
| 2744 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2745 | { |
| 2746 | .vendor = "SST", |
| 2747 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2748 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2749 | .manufacture_id = SST_ID, |
| 2750 | .model_id = SST_39VF040, |
| 2751 | .total_size = 512, |
| 2752 | .page_size = 4096, |
| 2753 | .tested = TEST_OK_PROBE, |
| 2754 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2755 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2756 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2757 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2758 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 2759 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2760 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2761 | { |
| 2762 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 2763 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2764 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2765 | .manufacture_id = SST_ID, |
| 2766 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 2767 | .total_size = 1024, |
| 2768 | .page_size = 4096, |
| 2769 | .tested = TEST_UNTESTED, |
| 2770 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2771 | .probe_timing = 1, /* 150 ns */ |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 2772 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 2773 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2774 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 2775 | }, |
| 2776 | |
| 2777 | { |
| 2778 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2779 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2780 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2781 | .manufacture_id = SST_ID, |
| 2782 | .model_id = SST_49LF002A, |
| 2783 | .total_size = 256, |
| 2784 | .page_size = 16 * 1024, |
| 2785 | .tested = TEST_OK_PREW, |
| 2786 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2787 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2788 | .erase = erase_sst_fwhub, |
| 2789 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2790 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2791 | }, |
| 2792 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2793 | { |
| 2794 | .vendor = "SST", |
| 2795 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2796 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2797 | .manufacture_id = SST_ID, |
| 2798 | .model_id = SST_49LF003A, |
| 2799 | .total_size = 384, |
| 2800 | .page_size = 64 * 1024, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 2801 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2802 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2803 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2804 | .erase = erase_sst_fwhub, |
| 2805 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2806 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2807 | }, |
| 2808 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2809 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 2810 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 2811 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 2812 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2813 | .vendor = "SST", |
| 2814 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2815 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2816 | .manufacture_id = SST_ID, |
| 2817 | .model_id = SST_49LF004A, |
| 2818 | .total_size = 512, |
| 2819 | .page_size = 64 * 1024, |
| 2820 | .tested = TEST_OK_PREW, |
| 2821 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2822 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 2823 | .erase = NULL, |
| 2824 | .block_erasers = |
| 2825 | { |
| 2826 | { |
| 2827 | .eraseblocks = { {4 * 1024, 128} }, |
| 2828 | .block_erase = erase_sector_jedec, /* missing unlock */ |
| 2829 | }, { |
| 2830 | .eraseblocks = { {64 * 1024, 8} }, |
Carl-Daniel Hailfinger | 11c9e68 | 2009-11-06 18:09:42 +0000 | [diff] [blame] | 2831 | .block_erase = erase_sst_fwhub_block, /* same as erase_block_jedec, but with unlock */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 2832 | }, { |
| 2833 | .eraseblocks = { {512 * 1024, 1} }, |
| 2834 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in PP mode */ |
| 2835 | }, |
| 2836 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2837 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2838 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2839 | }, |
| 2840 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2841 | { |
| 2842 | .vendor = "SST", |
| 2843 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2844 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2845 | .manufacture_id = SST_ID, |
| 2846 | .model_id = SST_49LF004C, |
| 2847 | .total_size = 512, |
| 2848 | .page_size = 4 * 1024, |
| 2849 | .tested = TEST_UNTESTED, |
| 2850 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2851 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2852 | .erase = erase_49lfxxxc, |
| 2853 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2854 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2855 | }, |
| 2856 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2857 | { |
| 2858 | .vendor = "SST", |
| 2859 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2860 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2861 | .manufacture_id = SST_ID, |
| 2862 | .model_id = SST_49LF008A, |
| 2863 | .total_size = 1024, |
| 2864 | .page_size = 64 * 1024, |
| 2865 | .tested = TEST_OK_PREW, |
| 2866 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2867 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2868 | .erase = erase_sst_fwhub, |
| 2869 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2870 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2871 | }, |
| 2872 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2873 | { |
| 2874 | .vendor = "SST", |
| 2875 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2876 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2877 | .manufacture_id = SST_ID, |
| 2878 | .model_id = SST_49LF008C, |
| 2879 | .total_size = 1024, |
| 2880 | .page_size = 4 * 1024, |
| 2881 | .tested = TEST_UNTESTED, |
| 2882 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2883 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2884 | .erase = erase_49lfxxxc, |
| 2885 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2886 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2887 | }, |
| 2888 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2889 | { |
| 2890 | .vendor = "SST", |
| 2891 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2892 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2893 | .manufacture_id = SST_ID, |
| 2894 | .model_id = SST_49LF016C, |
| 2895 | .total_size = 2048, |
| 2896 | .page_size = 4 * 1024, |
| 2897 | .tested = TEST_OK_PREW, |
| 2898 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2899 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2900 | .erase = erase_49lfxxxc, |
| 2901 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2902 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2903 | }, |
| 2904 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2905 | { |
| 2906 | .vendor = "SST", |
| 2907 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2908 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2909 | .manufacture_id = SST_ID, |
| 2910 | .model_id = SST_49LF020, |
| 2911 | .total_size = 256, |
| 2912 | .page_size = 16 * 1024, |
| 2913 | .tested = TEST_OK_PR, |
| 2914 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2915 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2916 | .erase = erase_49lf040, |
| 2917 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2918 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 2919 | }, |
| 2920 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2921 | { |
| 2922 | .vendor = "SST", |
| 2923 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2924 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2925 | .manufacture_id = SST_ID, |
| 2926 | .model_id = SST_49LF020A, |
| 2927 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 2928 | .page_size = 4 * 1024, |
Nils Jacobs | c025268 | 2009-09-23 21:58:34 +0000 | [diff] [blame] | 2929 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2930 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2931 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2932 | .erase = erase_49lf040, |
| 2933 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2934 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2935 | }, |
| 2936 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2937 | { |
| 2938 | .vendor = "SST", |
| 2939 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2940 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2941 | .manufacture_id = SST_ID, |
| 2942 | .model_id = SST_49LF040, |
| 2943 | .total_size = 512, |
| 2944 | .page_size = 4096, |
| 2945 | .tested = TEST_OK_PREW, |
| 2946 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2947 | .probe_timing = 1, /* 150 ns */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2948 | .erase = erase_49lf040, |
| 2949 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2950 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2951 | }, |
| 2952 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2953 | { |
| 2954 | .vendor = "SST", |
| 2955 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2956 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2957 | .manufacture_id = SST_ID, |
| 2958 | .model_id = SST_49LF040B, |
| 2959 | .total_size = 512, |
| 2960 | .page_size = 64 * 1024, |
| 2961 | .tested = TEST_OK_PREW, |
| 2962 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2963 | .probe_timing = 1, /* 150ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2964 | .erase = erase_sst_fwhub, |
| 2965 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2966 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2967 | }, |
| 2968 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2969 | { |
| 2970 | .vendor = "SST", |
| 2971 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2972 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2973 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2974 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2975 | .total_size = 1024, |
| 2976 | .page_size = 4096, |
| 2977 | .tested = TEST_OK_PREW, |
| 2978 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2979 | .probe_timing = TIMING_FIXME, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2980 | .erase = erase_49lf040, |
| 2981 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2982 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2983 | }, |
| 2984 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2985 | { |
| 2986 | .vendor = "SST", |
| 2987 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2988 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2989 | .manufacture_id = SST_ID, |
| 2990 | .model_id = SST_49LF160C, |
| 2991 | .total_size = 2048, |
| 2992 | .page_size = 4 * 1024, |
| 2993 | .tested = TEST_OK_PREW, |
| 2994 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2995 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2996 | .erase = erase_49lfxxxc, |
| 2997 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2998 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2999 | }, |
| 3000 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3001 | { |
| 3002 | .vendor = "ST", |
| 3003 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3004 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3005 | .manufacture_id = ST_ID, |
| 3006 | .model_id = ST_M25P05A, |
| 3007 | .total_size = 64, |
| 3008 | .page_size = 256, |
| 3009 | .tested = TEST_UNTESTED, |
| 3010 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3011 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3012 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3013 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3014 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3015 | }, |
| 3016 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 3017 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 3018 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
| 3019 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res |
| 3020 | * only is successful if RDID does not work. |
| 3021 | */ |
| 3022 | { |
| 3023 | .vendor = "ST", |
| 3024 | .name = "M25P05.RES", |
| 3025 | .bustype = CHIP_BUSTYPE_SPI, |
| 3026 | .manufacture_id = ST_ID, |
| 3027 | .model_id = ST_M25P05_RES, |
| 3028 | .total_size = 64, |
| 3029 | .page_size = 256, |
| 3030 | .tested = TEST_UNTESTED, |
| 3031 | .probe = probe_spi_res, |
| 3032 | .probe_timing = TIMING_ZERO, |
| 3033 | .erase = spi_chip_erase_c7, |
| 3034 | .write = spi_chip_write_1, /* 128 */ |
| 3035 | .read = spi_chip_read, |
| 3036 | }, |
| 3037 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3038 | { |
| 3039 | .vendor = "ST", |
| 3040 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3041 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3042 | .manufacture_id = ST_ID, |
| 3043 | .model_id = ST_M25P10A, |
| 3044 | .total_size = 128, |
| 3045 | .page_size = 256, |
| 3046 | .tested = TEST_UNTESTED, |
| 3047 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3048 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3049 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3050 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3051 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3052 | }, |
| 3053 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 3054 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 3055 | { |
| 3056 | .vendor = "ST", |
| 3057 | .name = "M25P10.RES", |
| 3058 | .bustype = CHIP_BUSTYPE_SPI, |
| 3059 | .manufacture_id = ST_ID, |
| 3060 | .model_id = ST_M25P10_RES, |
| 3061 | .total_size = 128, |
| 3062 | .page_size = 256, |
| 3063 | .tested = TEST_UNTESTED, |
| 3064 | .probe = probe_spi_res, |
| 3065 | .probe_timing = TIMING_ZERO, |
| 3066 | .erase = spi_chip_erase_c7, |
| 3067 | .write = spi_chip_write_1, /* 128 */ |
| 3068 | .read = spi_chip_read, |
| 3069 | }, |
| 3070 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3071 | { |
| 3072 | .vendor = "ST", |
| 3073 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3074 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3075 | .manufacture_id = ST_ID, |
| 3076 | .model_id = ST_M25P20, |
| 3077 | .total_size = 256, |
| 3078 | .page_size = 256, |
| 3079 | .tested = TEST_UNTESTED, |
| 3080 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3081 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3082 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3083 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3084 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3085 | }, |
| 3086 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3087 | { |
| 3088 | .vendor = "ST", |
| 3089 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3090 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3091 | .manufacture_id = ST_ID, |
| 3092 | .model_id = ST_M25P40, |
| 3093 | .total_size = 512, |
| 3094 | .page_size = 256, |
Uwe Hermann | 04d5dc4 | 2009-07-03 17:12:05 +0000 | [diff] [blame] | 3095 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3096 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3097 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3098 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3099 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3100 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3101 | }, |
| 3102 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3103 | { |
| 3104 | .vendor = "ST", |
| 3105 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3106 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3107 | .manufacture_id = ST_ID, |
| 3108 | .model_id = ST_M25P40_RES, |
| 3109 | .total_size = 512, |
| 3110 | .page_size = 256, |
| 3111 | .tested = TEST_UNTESTED, |
| 3112 | .probe = probe_spi_res, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3113 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3114 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3115 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3116 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3117 | }, |
| 3118 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3119 | { |
| 3120 | .vendor = "ST", |
| 3121 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3122 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3123 | .manufacture_id = ST_ID, |
| 3124 | .model_id = ST_M25P80, |
| 3125 | .total_size = 1024, |
| 3126 | .page_size = 256, |
Carl-Daniel Hailfinger | 5190ec1 | 2009-06-22 10:09:07 +0000 | [diff] [blame] | 3127 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3128 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3129 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3130 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3131 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3132 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3133 | }, |
| 3134 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3135 | { |
| 3136 | .vendor = "ST", |
| 3137 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3138 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3139 | .manufacture_id = ST_ID, |
| 3140 | .model_id = ST_M25P16, |
| 3141 | .total_size = 2048, |
| 3142 | .page_size = 256, |
| 3143 | .tested = TEST_OK_PREW, |
| 3144 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3145 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3146 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3147 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3148 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3149 | }, |
| 3150 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3151 | { |
| 3152 | .vendor = "ST", |
| 3153 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3154 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3155 | .manufacture_id = ST_ID, |
| 3156 | .model_id = ST_M25P32, |
| 3157 | .total_size = 4096, |
| 3158 | .page_size = 256, |
| 3159 | .tested = TEST_OK_PREW, |
| 3160 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3161 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3162 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3163 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3164 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3165 | }, |
| 3166 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3167 | { |
| 3168 | .vendor = "ST", |
| 3169 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3170 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3171 | .manufacture_id = ST_ID, |
| 3172 | .model_id = ST_M25P64, |
| 3173 | .total_size = 8192, |
| 3174 | .page_size = 256, |
| 3175 | .tested = TEST_UNTESTED, |
| 3176 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3177 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3178 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3179 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3180 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3181 | }, |
| 3182 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3183 | { |
| 3184 | .vendor = "ST", |
| 3185 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3186 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3187 | .manufacture_id = ST_ID, |
| 3188 | .model_id = ST_M25P128, |
| 3189 | .total_size = 16384, |
| 3190 | .page_size = 256, |
| 3191 | .tested = TEST_UNTESTED, |
| 3192 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3193 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3194 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3195 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3196 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3197 | }, |
| 3198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3199 | { |
| 3200 | .vendor = "ST", |
| 3201 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3202 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3203 | .manufacture_id = ST_ID, |
| 3204 | .model_id = ST_M29F002B, |
| 3205 | .total_size = 256, |
| 3206 | .page_size = 64 * 1024, |
| 3207 | .tested = TEST_UNTESTED, |
| 3208 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3209 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 3210 | .erase = erase_m29f002, |
| 3211 | .write = write_m29f002b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3212 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3213 | }, |
| 3214 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3215 | { |
| 3216 | .vendor = "ST", |
| 3217 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3218 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3219 | .manufacture_id = ST_ID, |
| 3220 | .model_id = ST_M29F002T, |
| 3221 | .total_size = 256, |
| 3222 | .page_size = 64 * 1024, |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 3223 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3224 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3225 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 3226 | .erase = erase_m29f002, |
| 3227 | .write = write_m29f002t, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3228 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3229 | }, |
| 3230 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3231 | { |
| 3232 | .vendor = "ST", |
| 3233 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3234 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3235 | .manufacture_id = ST_ID, |
| 3236 | .model_id = ST_M29F040B, |
| 3237 | .total_size = 512, |
| 3238 | .page_size = 64 * 1024, |
| 3239 | .tested = TEST_OK_PREW, |
| 3240 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3241 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3242 | .erase = erase_29f040b, |
| 3243 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3244 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3245 | }, |
| 3246 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3247 | { |
| 3248 | .vendor = "ST", |
| 3249 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3250 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3251 | .manufacture_id = ST_ID, |
| 3252 | .model_id = ST_M29F400BT, |
| 3253 | .total_size = 512, |
| 3254 | .page_size = 64 * 1024, |
| 3255 | .tested = TEST_UNTESTED, |
| 3256 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3257 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3258 | .erase = erase_m29f400bt, |
| 3259 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3260 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3261 | }, |
| 3262 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3263 | { |
| 3264 | .vendor = "ST", |
| 3265 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3266 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3267 | .manufacture_id = ST_ID, |
| 3268 | .model_id = ST_M29W010B, |
| 3269 | .total_size = 128, |
| 3270 | .page_size = 16 * 1024, |
| 3271 | .tested = TEST_UNTESTED, |
| 3272 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3273 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3274 | .erase = erase_chip_jedec, |
| 3275 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3276 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3277 | }, |
| 3278 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3279 | { |
| 3280 | .vendor = "ST", |
| 3281 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3282 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3283 | .manufacture_id = ST_ID, |
| 3284 | .model_id = ST_M29W040B, |
| 3285 | .total_size = 512, |
| 3286 | .page_size = 64 * 1024, |
| 3287 | .tested = TEST_UNTESTED, |
| 3288 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3289 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3290 | .erase = erase_chip_jedec, |
| 3291 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3292 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3293 | }, |
| 3294 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3295 | { |
| 3296 | .vendor = "ST", |
| 3297 | .name = "M50FLW040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3298 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3299 | .manufacture_id = ST_ID, |
| 3300 | .model_id = ST_M50FLW040A, |
| 3301 | .total_size = 512, |
| 3302 | .page_size = 64 * 1024, |
| 3303 | .tested = TEST_UNTESTED, |
| 3304 | .probe = probe_stm50flw0x0x, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3305 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (stm50flw0x0x.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3306 | .erase = erase_stm50flw0x0x, |
| 3307 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3308 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3309 | }, |
| 3310 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3311 | { |
| 3312 | .vendor = "ST", |
| 3313 | .name = "M50FLW040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3314 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3315 | .manufacture_id = ST_ID, |
| 3316 | .model_id = ST_M50FLW040B, |
| 3317 | .total_size = 512, |
| 3318 | .page_size = 64 * 1024, |
| 3319 | .tested = TEST_UNTESTED, |
| 3320 | .probe = probe_stm50flw0x0x, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3321 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (stm50flw0x0x.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3322 | .erase = erase_stm50flw0x0x, |
| 3323 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3324 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3325 | }, |
| 3326 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3327 | { |
| 3328 | .vendor = "ST", |
| 3329 | .name = "M50FLW080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3330 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3331 | .manufacture_id = ST_ID, |
| 3332 | .model_id = ST_M50FLW080A, |
| 3333 | .total_size = 1024, |
| 3334 | .page_size = 64 * 1024, |
| 3335 | .tested = TEST_OK_PREW, |
| 3336 | .probe = probe_stm50flw0x0x, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3337 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (stm50flw0x0x.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3338 | .erase = erase_stm50flw0x0x, |
| 3339 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3340 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3341 | }, |
| 3342 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3343 | { |
| 3344 | .vendor = "ST", |
| 3345 | .name = "M50FLW080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3346 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3347 | .manufacture_id = ST_ID, |
| 3348 | .model_id = ST_M50FLW080B, |
| 3349 | .total_size = 1024, |
| 3350 | .page_size = 64 * 1024, |
| 3351 | .tested = TEST_UNTESTED, |
| 3352 | .probe = probe_stm50flw0x0x, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3353 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (stm50flw0x0x.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3354 | .erase = erase_stm50flw0x0x, |
| 3355 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3356 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3357 | }, |
| 3358 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3359 | { |
| 3360 | .vendor = "ST", |
| 3361 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3362 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3363 | .manufacture_id = ST_ID, |
| 3364 | .model_id = ST_M50FW002, |
| 3365 | .total_size = 256, |
| 3366 | .page_size = 64 * 1024, |
| 3367 | .tested = TEST_UNTESTED, |
| 3368 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3369 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3370 | .erase = NULL, |
| 3371 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3372 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3373 | }, |
| 3374 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3375 | { |
| 3376 | .vendor = "ST", |
| 3377 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3378 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3379 | .manufacture_id = ST_ID, |
| 3380 | .model_id = ST_M50FW016, |
| 3381 | .total_size = 2048, |
| 3382 | .page_size = 64 * 1024, |
| 3383 | .tested = TEST_UNTESTED, |
| 3384 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3385 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3386 | .erase = erase_82802ab, |
| 3387 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3388 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3389 | }, |
| 3390 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3391 | { |
| 3392 | .vendor = "ST", |
| 3393 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3394 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3395 | .manufacture_id = ST_ID, |
| 3396 | .model_id = ST_M50FW040, |
| 3397 | .total_size = 512, |
| 3398 | .page_size = 64 * 1024, |
| 3399 | .tested = TEST_OK_PREW, |
| 3400 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3401 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3402 | .erase = erase_82802ab, |
| 3403 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3404 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3405 | }, |
| 3406 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3407 | { |
| 3408 | .vendor = "ST", |
| 3409 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3410 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3411 | .manufacture_id = ST_ID, |
| 3412 | .model_id = ST_M50FW080, |
| 3413 | .total_size = 1024, |
| 3414 | .page_size = 64 * 1024, |
Peter Stuge | a657e94 | 2009-01-24 23:01:08 +0000 | [diff] [blame] | 3415 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3416 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3417 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3418 | .erase = erase_82802ab, |
| 3419 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3420 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3421 | }, |
| 3422 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3423 | { |
| 3424 | .vendor = "ST", |
| 3425 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3426 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3427 | .manufacture_id = ST_ID, |
| 3428 | .model_id = ST_M50LPW116, |
| 3429 | .total_size = 2048, |
| 3430 | .page_size = 64 * 1024, |
| 3431 | .tested = TEST_UNTESTED, |
| 3432 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3433 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3434 | .erase = erase_chip_jedec, |
| 3435 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3436 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3437 | }, |
| 3438 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3439 | { |
| 3440 | .vendor = "SyncMOS", |
| 3441 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3442 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3443 | .manufacture_id = SYNCMOS_ID, |
| 3444 | .model_id = S29C31004T, |
| 3445 | .total_size = 512, |
| 3446 | .page_size = 128, |
| 3447 | .tested = TEST_UNTESTED, |
| 3448 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3449 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3450 | .erase = erase_chip_jedec, |
| 3451 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3452 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3453 | }, |
| 3454 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3455 | { |
| 3456 | .vendor = "SyncMOS", |
| 3457 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3458 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3459 | .manufacture_id = SYNCMOS_ID, |
| 3460 | .model_id = S29C51001T, |
| 3461 | .total_size = 128, |
| 3462 | .page_size = 128, |
| 3463 | .tested = TEST_UNTESTED, |
| 3464 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3465 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3466 | .erase = erase_chip_jedec, |
| 3467 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3468 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3469 | }, |
| 3470 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3471 | { |
| 3472 | .vendor = "SyncMOS", |
| 3473 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3474 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3475 | .manufacture_id = SYNCMOS_ID, |
| 3476 | .model_id = S29C51002T, |
| 3477 | .total_size = 256, |
| 3478 | .page_size = 128, |
| 3479 | .tested = TEST_OK_PREW, |
| 3480 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3481 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3482 | .erase = erase_chip_jedec, |
| 3483 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3484 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3485 | }, |
| 3486 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3487 | { |
| 3488 | .vendor = "SyncMOS", |
| 3489 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3490 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3491 | .manufacture_id = SYNCMOS_ID, |
| 3492 | .model_id = S29C51004T, |
| 3493 | .total_size = 512, |
| 3494 | .page_size = 128, |
| 3495 | .tested = TEST_UNTESTED, |
| 3496 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3497 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3498 | .erase = erase_chip_jedec, |
| 3499 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3500 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3501 | }, |
| 3502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3503 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 3504 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 3505 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3506 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 3507 | .manufacture_id = TI_OLD_ID, |
| 3508 | .model_id = TI_TMS29F002RB, |
| 3509 | .total_size = 256, |
| 3510 | .page_size = 16384, /* Non-uniform sectors */ |
| 3511 | .tested = TEST_UNTESTED, |
| 3512 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3513 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 3514 | .erase = NULL, |
| 3515 | .write = NULL, |
| 3516 | .read = read_memmapped, |
| 3517 | }, |
| 3518 | |
| 3519 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 3520 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 3521 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3522 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 3523 | .manufacture_id = TI_OLD_ID, |
| 3524 | .model_id = TI_TMS29F002RT, |
| 3525 | .total_size = 256, |
| 3526 | .page_size = 16384, /* Non-uniform sectors */ |
| 3527 | .tested = TEST_UNTESTED, |
| 3528 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3529 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 3530 | .erase = NULL, |
| 3531 | .write = NULL, |
| 3532 | .read = read_memmapped, |
| 3533 | }, |
| 3534 | |
| 3535 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3536 | .vendor = "Winbond", |
| 3537 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3538 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3539 | .manufacture_id = WINBOND_NEX_ID, |
| 3540 | .model_id = W_25X10, |
| 3541 | .total_size = 128, |
| 3542 | .page_size = 256, |
| 3543 | .tested = TEST_UNTESTED, |
| 3544 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3545 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3546 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3547 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3548 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3549 | }, |
| 3550 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3551 | { |
| 3552 | .vendor = "Winbond", |
| 3553 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3554 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3555 | .manufacture_id = WINBOND_NEX_ID, |
| 3556 | .model_id = W_25X20, |
| 3557 | .total_size = 256, |
| 3558 | .page_size = 256, |
| 3559 | .tested = TEST_UNTESTED, |
| 3560 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3561 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3562 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3563 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3564 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3565 | }, |
| 3566 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3567 | { |
| 3568 | .vendor = "Winbond", |
| 3569 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3570 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3571 | .manufacture_id = WINBOND_NEX_ID, |
| 3572 | .model_id = W_25X40, |
| 3573 | .total_size = 512, |
| 3574 | .page_size = 256, |
| 3575 | .tested = TEST_OK_PREW, |
| 3576 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3577 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3578 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3579 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3580 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3581 | }, |
| 3582 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3583 | { |
| 3584 | .vendor = "Winbond", |
| 3585 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3586 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3587 | .manufacture_id = WINBOND_NEX_ID, |
| 3588 | .model_id = W_25X80, |
| 3589 | .total_size = 1024, |
| 3590 | .page_size = 256, |
| 3591 | .tested = TEST_OK_PREW, |
| 3592 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3593 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3594 | .erase = spi_chip_erase_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3595 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3596 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3597 | }, |
| 3598 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3599 | { |
| 3600 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 3601 | .name = "W25x16", |
| 3602 | .bustype = CHIP_BUSTYPE_SPI, |
| 3603 | .manufacture_id = WINBOND_NEX_ID, |
| 3604 | .model_id = W_25X16, |
| 3605 | .total_size = 2048, |
| 3606 | .page_size = 256, |
| 3607 | .tested = TEST_OK_PR, |
| 3608 | .probe = probe_spi_rdid, |
| 3609 | .probe_timing = TIMING_ZERO, |
| 3610 | .erase = spi_chip_erase_c7, |
| 3611 | .write = spi_chip_write_256, |
| 3612 | .read = spi_chip_read, |
| 3613 | }, |
| 3614 | |
| 3615 | { |
| 3616 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 3617 | .name = "W25x32", |
| 3618 | .bustype = CHIP_BUSTYPE_SPI, |
| 3619 | .manufacture_id = WINBOND_NEX_ID, |
| 3620 | .model_id = W_25X32, |
| 3621 | .total_size = 4096, |
| 3622 | .page_size = 256, |
| 3623 | .tested = TEST_OK_PROBE, |
| 3624 | .probe = probe_spi_rdid, |
| 3625 | .probe_timing = TIMING_ZERO, |
| 3626 | .erase = spi_chip_erase_c7, |
| 3627 | .write = spi_chip_write_256, |
| 3628 | .read = spi_chip_read, |
| 3629 | }, |
| 3630 | |
| 3631 | { |
| 3632 | .vendor = "Winbond", |
| 3633 | .name = "W25x64", |
| 3634 | .bustype = CHIP_BUSTYPE_SPI, |
| 3635 | .manufacture_id = WINBOND_NEX_ID, |
| 3636 | .model_id = W_25X64, |
| 3637 | .total_size = 8192, |
| 3638 | .page_size = 256, |
| 3639 | .tested = TEST_UNTESTED, |
| 3640 | .probe = probe_spi_rdid, |
| 3641 | .probe_timing = TIMING_ZERO, |
| 3642 | .erase = spi_chip_erase_c7, |
| 3643 | .write = spi_chip_write_256, |
| 3644 | .read = spi_chip_read, |
| 3645 | }, |
| 3646 | |
| 3647 | { |
| 3648 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3649 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3650 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3651 | .manufacture_id = WINBOND_ID, |
| 3652 | .model_id = W_29C011, |
| 3653 | .total_size = 128, |
| 3654 | .page_size = 128, |
| 3655 | .tested = TEST_OK_PREW, |
| 3656 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3657 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3658 | .erase = erase_chip_jedec, |
| 3659 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3660 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3661 | }, |
| 3662 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3663 | { |
| 3664 | .vendor = "Winbond", |
| 3665 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3666 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3667 | .manufacture_id = WINBOND_ID, |
| 3668 | .model_id = W_29C020C, |
| 3669 | .total_size = 256, |
| 3670 | .page_size = 128, |
| 3671 | .tested = TEST_OK_PREW, |
| 3672 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3673 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3674 | .erase = erase_chip_jedec, |
| 3675 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3676 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3677 | }, |
| 3678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3679 | { |
| 3680 | .vendor = "Winbond", |
| 3681 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3682 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3683 | .manufacture_id = WINBOND_ID, |
| 3684 | .model_id = W_29C040P, |
| 3685 | .total_size = 512, |
| 3686 | .page_size = 256, |
Carl-Daniel Hailfinger | 8a8a226 | 2009-11-14 03:48:33 +0000 | [diff] [blame] | 3687 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3688 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3689 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3690 | .erase = erase_chip_jedec, |
| 3691 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3692 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3693 | }, |
| 3694 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3695 | { |
| 3696 | .vendor = "Winbond", |
| 3697 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3698 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3699 | .manufacture_id = WINBOND_ID, |
| 3700 | .model_id = W_29C011, |
| 3701 | .total_size = 128, |
| 3702 | .page_size = 128, |
| 3703 | .tested = TEST_OK_PREW, |
| 3704 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3705 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3706 | .erase = erase_chip_jedec, |
| 3707 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3708 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3709 | }, |
| 3710 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3711 | { |
| 3712 | .vendor = "Winbond", |
| 3713 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3714 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3715 | .manufacture_id = WINBOND_ID, |
| 3716 | .model_id = W_39V040A, |
| 3717 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3718 | .page_size = 64 * 1024, |
Uwe Hermann | 690bcba | 2009-05-21 17:11:25 +0000 | [diff] [blame] | 3719 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3720 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3721 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3722 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3723 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3724 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3725 | }, |
| 3726 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3727 | { |
| 3728 | .vendor = "Winbond", |
| 3729 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3730 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3731 | .manufacture_id = WINBOND_ID, |
| 3732 | .model_id = W_39V040B, |
| 3733 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3734 | .page_size = 64 * 1024, |
Luc Verhaegen | 8bfb59c | 2009-07-08 14:50:36 +0000 | [diff] [blame] | 3735 | .tested = TEST_OK_PR | TEST_BAD_ERASE | TEST_BAD_WRITE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3736 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3737 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3738 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3739 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3740 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3741 | }, |
| 3742 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3743 | { |
| 3744 | .vendor = "Winbond", |
| 3745 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3746 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3747 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3748 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3749 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3750 | .page_size = 64 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3751 | .tested = TEST_OK_PREW, |
| 3752 | .probe = probe_w39v040c, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3753 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w39v040c.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3754 | .erase = erase_w39v040c, |
| 3755 | .write = write_w39v040c, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3756 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3757 | }, |
| 3758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3759 | { |
| 3760 | .vendor = "Winbond", |
| 3761 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3762 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3763 | .manufacture_id = WINBOND_ID, |
| 3764 | .model_id = W_39V040FA, |
| 3765 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3766 | .page_size = 64 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3767 | .tested = TEST_OK_PREW, |
| 3768 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3769 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3770 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3771 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3772 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3773 | }, |
| 3774 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3775 | { |
| 3776 | .vendor = "Winbond", |
| 3777 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3778 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3779 | .manufacture_id = WINBOND_ID, |
| 3780 | .model_id = W_39V080A, |
| 3781 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3782 | .page_size = 64 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3783 | .tested = TEST_OK_PREW, |
| 3784 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3785 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3786 | .erase = erase_chip_jedec, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3787 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3788 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3789 | }, |
| 3790 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3791 | { |
| 3792 | .vendor = "Winbond", |
| 3793 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3794 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3795 | .manufacture_id = WINBOND_ID, |
| 3796 | .model_id = W_49F002U, |
| 3797 | .total_size = 256, |
| 3798 | .page_size = 128, |
| 3799 | .tested = TEST_OK_PREW, |
| 3800 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3801 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3802 | .erase = erase_chip_jedec, |
| 3803 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3804 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3805 | }, |
| 3806 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3807 | { |
| 3808 | .vendor = "Winbond", |
| 3809 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3810 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3811 | .manufacture_id = WINBOND_ID, |
| 3812 | .model_id = W_49V002A, |
| 3813 | .total_size = 256, |
| 3814 | .page_size = 128, |
| 3815 | .tested = TEST_OK_PREW, |
| 3816 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3817 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3818 | .erase = erase_chip_jedec, |
| 3819 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3820 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3821 | }, |
| 3822 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3823 | { |
| 3824 | .vendor = "Winbond", |
| 3825 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3826 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3827 | .manufacture_id = WINBOND_ID, |
| 3828 | .model_id = W_49V002FA, |
| 3829 | .total_size = 256, |
| 3830 | .page_size = 128, |
| 3831 | .tested = TEST_UNTESTED, |
| 3832 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3833 | .probe_timing = 10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3834 | .erase = erase_chip_jedec, |
| 3835 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3836 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3837 | }, |
| 3838 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3839 | { |
| 3840 | .vendor = "Winbond", |
| 3841 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3842 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3843 | .manufacture_id = WINBOND_ID, |
| 3844 | .model_id = W_39V080FA, |
| 3845 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3846 | .page_size = 64 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3847 | .tested = TEST_OK_PREW, |
| 3848 | .probe = probe_winbond_fwhub, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3849 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w39v080fa.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3850 | .erase = erase_winbond_fwhub, |
| 3851 | .write = write_winbond_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3852 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3853 | }, |
| 3854 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3855 | { |
| 3856 | .vendor = "Winbond", |
| 3857 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 3858 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3859 | .manufacture_id = WINBOND_ID, |
| 3860 | .model_id = W_39V080FA_DM, |
| 3861 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3862 | .page_size = 64 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3863 | .tested = TEST_UNTESTED, |
| 3864 | .probe = probe_winbond_fwhub, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3865 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w39v080fa.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3866 | .erase = erase_winbond_fwhub, |
| 3867 | .write = write_winbond_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3868 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3869 | }, |
| 3870 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3871 | { |
| 3872 | .vendor = "Atmel", |
| 3873 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3874 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3875 | .manufacture_id = ATMEL_ID, |
| 3876 | .model_id = GENERIC_DEVICE_ID, |
| 3877 | .total_size = 0, |
| 3878 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 3879 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3880 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3881 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3882 | .erase = NULL, |
| 3883 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3884 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3885 | }, |
| 3886 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3887 | { |
| 3888 | .vendor = "EON", |
| 3889 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3890 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3891 | .manufacture_id = EON_ID_NOPREFIX, |
| 3892 | .model_id = GENERIC_DEVICE_ID, |
| 3893 | .total_size = 0, |
| 3894 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 3895 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3896 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3897 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3898 | .erase = NULL, |
| 3899 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3900 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3901 | }, |
| 3902 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3903 | { |
| 3904 | .vendor = "Macronix", |
| 3905 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3906 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3907 | .manufacture_id = MX_ID, |
| 3908 | .model_id = GENERIC_DEVICE_ID, |
| 3909 | .total_size = 0, |
| 3910 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 3911 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3912 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3913 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3914 | .erase = NULL, |
| 3915 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3916 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3917 | }, |
| 3918 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3919 | { |
| 3920 | .vendor = "PMC", |
| 3921 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3922 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3923 | .manufacture_id = PMC_ID, |
| 3924 | .model_id = GENERIC_DEVICE_ID, |
| 3925 | .total_size = 0, |
| 3926 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 3927 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3928 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3929 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3930 | .erase = NULL, |
| 3931 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3932 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3933 | }, |
| 3934 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3935 | { |
| 3936 | .vendor = "SST", |
| 3937 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3938 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3939 | .manufacture_id = SST_ID, |
| 3940 | .model_id = GENERIC_DEVICE_ID, |
| 3941 | .total_size = 0, |
| 3942 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 3943 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3944 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3945 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3946 | .erase = NULL, |
| 3947 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3948 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3949 | }, |
| 3950 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3951 | { |
| 3952 | .vendor = "ST", |
| 3953 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3954 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3955 | .manufacture_id = ST_ID, |
| 3956 | .model_id = GENERIC_DEVICE_ID, |
| 3957 | .total_size = 0, |
| 3958 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 3959 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3960 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3961 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3962 | .erase = NULL, |
| 3963 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3964 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3965 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 3966 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 3967 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 3968 | .vendor = "Sanyo", |
| 3969 | .name = "unknown Sanyo SPI chip", |
| 3970 | .bustype = CHIP_BUSTYPE_SPI, |
| 3971 | .manufacture_id = SANYO_ID, |
| 3972 | .model_id = GENERIC_DEVICE_ID, |
| 3973 | .total_size = 0, |
| 3974 | .page_size = 256, |
| 3975 | .tested = TEST_BAD_PREW, |
| 3976 | .probe = probe_spi_rdid, |
| 3977 | .probe_timing = TIMING_ZERO, |
| 3978 | .erase = NULL, |
| 3979 | .write = NULL, |
| 3980 | .read = NULL, |
| 3981 | }, |
| 3982 | |
| 3983 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 3984 | .vendor = "Generic", |
| 3985 | .name = "unknown SPI chip (RDID)", |
| 3986 | .bustype = CHIP_BUSTYPE_SPI, |
| 3987 | .manufacture_id = GENERIC_MANUF_ID, |
| 3988 | .model_id = GENERIC_DEVICE_ID, |
| 3989 | .total_size = 0, |
| 3990 | .page_size = 256, |
| 3991 | .tested = TEST_BAD_PREW, |
| 3992 | .probe = probe_spi_rdid, |
| 3993 | .erase = NULL, |
| 3994 | .write = NULL, |
| 3995 | }, |
| 3996 | { |
| 3997 | .vendor = "Generic", |
| 3998 | .name = "unknown SPI chip (REMS)", |
| 3999 | .bustype = CHIP_BUSTYPE_SPI, |
| 4000 | .manufacture_id = GENERIC_MANUF_ID, |
| 4001 | .model_id = GENERIC_DEVICE_ID, |
| 4002 | .total_size = 0, |
| 4003 | .page_size = 256, |
| 4004 | .tested = TEST_BAD_PREW, |
| 4005 | .probe = probe_spi_rems, |
| 4006 | .erase = NULL, |
| 4007 | .write = NULL, |
| 4008 | }, |
| 4009 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4010 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 4011 | }; |