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