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, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 286 | .erase = NULL, |
| 287 | .block_erasers = |
| 288 | { |
| 289 | { |
| 290 | .eraseblocks = { |
| 291 | {128 * 1024, 1}, |
| 292 | {96 * 1024, 1}, |
| 293 | {8 * 1024, 2}, |
| 294 | {16 * 1024, 1}, |
| 295 | }, |
| 296 | .block_erase = erase_sector_jedec, |
| 297 | }, { |
| 298 | .eraseblocks = { {256 * 1024, 1} }, |
| 299 | .block_erase = erase_chip_block_jedec, |
| 300 | } |
| 301 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 302 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 303 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 304 | }, |
| 305 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 306 | { |
| 307 | .vendor = "Atmel", |
| 308 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 309 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 310 | .manufacture_id = ATMEL_ID, |
| 311 | .model_id = AT_25DF021, |
| 312 | .total_size = 256, |
| 313 | .page_size = 256, |
| 314 | .tested = TEST_UNTESTED, |
| 315 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 316 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 317 | .erase = NULL, |
| 318 | .block_erasers = |
| 319 | { |
| 320 | { |
| 321 | .eraseblocks = { {4 * 1024, 64} }, |
| 322 | .block_erase = spi_block_erase_20, |
| 323 | }, { |
| 324 | .eraseblocks = { {32 * 1024, 8} }, |
| 325 | .block_erase = spi_block_erase_52, |
| 326 | }, { |
| 327 | .eraseblocks = { {64 * 1024, 4} }, |
| 328 | .block_erase = spi_block_erase_d8, |
| 329 | }, { |
| 330 | .eraseblocks = { {256 * 1024, 1} }, |
| 331 | .block_erase = spi_block_erase_60, |
| 332 | }, { |
| 333 | .eraseblocks = { {256 * 1024, 1} }, |
| 334 | .block_erase = spi_block_erase_c7, |
| 335 | } |
| 336 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 337 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 338 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 339 | }, |
| 340 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 341 | { |
| 342 | .vendor = "Atmel", |
| 343 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 344 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 345 | .manufacture_id = ATMEL_ID, |
| 346 | .model_id = AT_25DF041A, |
| 347 | .total_size = 512, |
| 348 | .page_size = 256, |
| 349 | .tested = TEST_UNTESTED, |
| 350 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 351 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 352 | .erase = NULL, |
| 353 | .block_erasers = |
| 354 | { |
| 355 | { |
| 356 | .eraseblocks = { {4 * 1024, 128} }, |
| 357 | .block_erase = spi_block_erase_20, |
| 358 | }, { |
| 359 | .eraseblocks = { {32 * 1024, 16} }, |
| 360 | .block_erase = spi_block_erase_52, |
| 361 | }, { |
| 362 | .eraseblocks = { {64 * 1024, 8} }, |
| 363 | .block_erase = spi_block_erase_d8, |
| 364 | }, { |
| 365 | .eraseblocks = { {512 * 1024, 1} }, |
| 366 | .block_erase = spi_block_erase_60, |
| 367 | }, { |
| 368 | .eraseblocks = { {512 * 1024, 1} }, |
| 369 | .block_erase = spi_block_erase_c7, |
| 370 | } |
| 371 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 372 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 373 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 374 | }, |
| 375 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 376 | { |
| 377 | .vendor = "Atmel", |
| 378 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 379 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 380 | .manufacture_id = ATMEL_ID, |
| 381 | .model_id = AT_25DF081, |
| 382 | .total_size = 1024, |
| 383 | .page_size = 256, |
| 384 | .tested = TEST_UNTESTED, |
| 385 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 386 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 387 | .erase = NULL, |
| 388 | .block_erasers = |
| 389 | { |
| 390 | { |
| 391 | .eraseblocks = { {4 * 1024, 256} }, |
| 392 | .block_erase = spi_block_erase_20, |
| 393 | }, { |
| 394 | .eraseblocks = { {32 * 1024, 32} }, |
| 395 | .block_erase = spi_block_erase_52, |
| 396 | }, { |
| 397 | .eraseblocks = { {64 * 1024, 16} }, |
| 398 | .block_erase = spi_block_erase_d8, |
| 399 | }, { |
| 400 | .eraseblocks = { {1024 * 1024, 1} }, |
| 401 | .block_erase = spi_block_erase_60, |
| 402 | }, { |
| 403 | .eraseblocks = { {1024 * 1024, 1} }, |
| 404 | .block_erase = spi_block_erase_c7, |
| 405 | } |
| 406 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 407 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 408 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 409 | }, |
| 410 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 411 | { |
| 412 | .vendor = "Atmel", |
| 413 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 414 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 415 | .manufacture_id = ATMEL_ID, |
| 416 | .model_id = AT_25DF161, |
| 417 | .total_size = 2048, |
| 418 | .page_size = 256, |
| 419 | .tested = TEST_UNTESTED, |
| 420 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 421 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 422 | .erase = NULL, |
| 423 | .block_erasers = |
| 424 | { |
| 425 | { |
| 426 | .eraseblocks = { {4 * 1024, 512} }, |
| 427 | .block_erase = spi_block_erase_20, |
| 428 | }, { |
| 429 | .eraseblocks = { {32 * 1024, 64} }, |
| 430 | .block_erase = spi_block_erase_52, |
| 431 | }, { |
| 432 | .eraseblocks = { {64 * 1024, 32} }, |
| 433 | .block_erase = spi_block_erase_d8, |
| 434 | }, { |
| 435 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 436 | .block_erase = spi_block_erase_60, |
| 437 | }, { |
| 438 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 439 | .block_erase = spi_block_erase_c7, |
| 440 | } |
| 441 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 442 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 443 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 444 | }, |
| 445 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 446 | { |
| 447 | .vendor = "Atmel", |
| 448 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 449 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 450 | .manufacture_id = ATMEL_ID, |
| 451 | .model_id = AT_25DF321, |
| 452 | .total_size = 4096, |
| 453 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 454 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 455 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 456 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 457 | .erase = NULL, |
| 458 | .block_erasers = |
| 459 | { |
| 460 | { |
| 461 | .eraseblocks = { {4 * 1024, 1024} }, |
| 462 | .block_erase = spi_block_erase_20, |
| 463 | }, { |
| 464 | .eraseblocks = { {32 * 1024, 128} }, |
| 465 | .block_erase = spi_block_erase_52, |
| 466 | }, { |
| 467 | .eraseblocks = { {64 * 1024, 64} }, |
| 468 | .block_erase = spi_block_erase_d8, |
| 469 | }, { |
| 470 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 471 | .block_erase = spi_block_erase_60, |
| 472 | }, { |
| 473 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 474 | .block_erase = spi_block_erase_c7, |
| 475 | } |
| 476 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 477 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 478 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 479 | }, |
| 480 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 481 | { |
| 482 | .vendor = "Atmel", |
| 483 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 484 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 485 | .manufacture_id = ATMEL_ID, |
| 486 | .model_id = AT_25DF321A, |
| 487 | .total_size = 4096, |
| 488 | .page_size = 256, |
| 489 | .tested = TEST_UNTESTED, |
| 490 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 491 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 492 | .erase = NULL, |
| 493 | .block_erasers = |
| 494 | { |
| 495 | { |
| 496 | .eraseblocks = { {4 * 1024, 1024} }, |
| 497 | .block_erase = spi_block_erase_20, |
| 498 | }, { |
| 499 | .eraseblocks = { {32 * 1024, 128} }, |
| 500 | .block_erase = spi_block_erase_52, |
| 501 | }, { |
| 502 | .eraseblocks = { {64 * 1024, 64} }, |
| 503 | .block_erase = spi_block_erase_d8, |
| 504 | }, { |
| 505 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 506 | .block_erase = spi_block_erase_60, |
| 507 | }, { |
| 508 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 509 | .block_erase = spi_block_erase_c7, |
| 510 | } |
| 511 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 512 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 513 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 514 | }, |
| 515 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 516 | { |
| 517 | .vendor = "Atmel", |
| 518 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 519 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 520 | .manufacture_id = ATMEL_ID, |
| 521 | .model_id = AT_25DF641, |
| 522 | .total_size = 8192, |
| 523 | .page_size = 256, |
| 524 | .tested = TEST_UNTESTED, |
| 525 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 526 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 527 | .erase = NULL, |
| 528 | .block_erasers = |
| 529 | { |
| 530 | { |
| 531 | .eraseblocks = { {4 * 1024, 2048} }, |
| 532 | .block_erase = spi_block_erase_20, |
| 533 | }, { |
| 534 | .eraseblocks = { {32 * 1024, 256} }, |
| 535 | .block_erase = spi_block_erase_52, |
| 536 | }, { |
| 537 | .eraseblocks = { {64 * 1024, 128} }, |
| 538 | .block_erase = spi_block_erase_d8, |
| 539 | }, { |
| 540 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 541 | .block_erase = spi_block_erase_60, |
| 542 | }, { |
| 543 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 544 | .block_erase = spi_block_erase_c7, |
| 545 | } |
| 546 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 547 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 548 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 549 | }, |
| 550 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 551 | { |
| 552 | .vendor = "Atmel", |
| 553 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 554 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 555 | .manufacture_id = ATMEL_ID, |
| 556 | .model_id = AT_25F512B, |
| 557 | .total_size = 64, |
| 558 | .page_size = 256, |
| 559 | .tested = TEST_UNTESTED, |
| 560 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 561 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 562 | .erase = NULL, |
| 563 | .block_erasers = |
| 564 | { |
| 565 | { |
| 566 | .eraseblocks = { {4 * 1024, 16} }, |
| 567 | .block_erase = spi_block_erase_20, |
| 568 | }, { |
| 569 | .eraseblocks = { {32 * 1024, 2} }, |
| 570 | .block_erase = spi_block_erase_52, |
| 571 | }, { |
| 572 | .eraseblocks = { {32 * 1024, 2} }, |
| 573 | .block_erase = spi_block_erase_d8, |
| 574 | }, { |
| 575 | .eraseblocks = { {64 * 1024, 1} }, |
| 576 | .block_erase = spi_block_erase_60, |
| 577 | }, { |
| 578 | .eraseblocks = { {64 * 1024, 1} }, |
| 579 | .block_erase = spi_block_erase_c7, |
| 580 | } |
| 581 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 582 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 583 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 584 | }, |
| 585 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 586 | { |
| 587 | .vendor = "Atmel", |
| 588 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 589 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 590 | .manufacture_id = ATMEL_ID, |
| 591 | .model_id = AT_25FS010, |
| 592 | .total_size = 128, |
| 593 | .page_size = 256, |
| 594 | .tested = TEST_UNTESTED, |
| 595 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 596 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 597 | .erase = NULL, |
| 598 | .block_erasers = |
| 599 | { |
| 600 | { |
| 601 | .eraseblocks = { {4 * 1024, 32} }, |
| 602 | .block_erase = spi_block_erase_20, |
| 603 | }, { |
| 604 | .eraseblocks = { {32 * 1024, 4} }, |
| 605 | .block_erase = spi_block_erase_52, |
| 606 | }, { |
| 607 | .eraseblocks = { {32 * 1024, 4} }, |
| 608 | .block_erase = spi_block_erase_d8, |
| 609 | }, { |
| 610 | .eraseblocks = { {128 * 1024, 1} }, |
| 611 | .block_erase = spi_block_erase_60, |
| 612 | }, { |
| 613 | .eraseblocks = { {128 * 1024, 1} }, |
| 614 | .block_erase = spi_block_erase_c7, |
| 615 | } |
| 616 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 617 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 618 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 619 | }, |
| 620 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 621 | { |
| 622 | .vendor = "Atmel", |
| 623 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 624 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 625 | .manufacture_id = ATMEL_ID, |
| 626 | .model_id = AT_25FS040, |
| 627 | .total_size = 512, |
| 628 | .page_size = 256, |
| 629 | .tested = TEST_UNTESTED, |
| 630 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 631 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 632 | .erase = NULL, |
| 633 | .block_erasers = |
| 634 | { |
| 635 | { |
| 636 | .eraseblocks = { {4 * 1024, 128} }, |
| 637 | .block_erase = spi_block_erase_20, |
| 638 | }, { |
| 639 | .eraseblocks = { {64 * 1024, 8} }, |
| 640 | .block_erase = spi_block_erase_52, |
| 641 | }, { |
| 642 | .eraseblocks = { {64 * 1024, 8} }, |
| 643 | .block_erase = spi_block_erase_d8, |
| 644 | }, { |
| 645 | .eraseblocks = { {512 * 1024, 1} }, |
| 646 | .block_erase = spi_block_erase_60, |
| 647 | }, { |
| 648 | .eraseblocks = { {512 * 1024, 1} }, |
| 649 | .block_erase = spi_block_erase_c7, |
| 650 | } |
| 651 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 652 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 653 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 654 | }, |
| 655 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 656 | { |
| 657 | .vendor = "Atmel", |
| 658 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 659 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 660 | .manufacture_id = ATMEL_ID, |
| 661 | .model_id = AT_26DF041, |
| 662 | .total_size = 512, |
| 663 | .page_size = 256, |
| 664 | .tested = TEST_UNTESTED, |
| 665 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 666 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 667 | .erase = NULL, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 668 | .block_erasers = |
| 669 | { |
| 670 | { |
| 671 | .eraseblocks = { {4 * 1024, 128} }, |
| 672 | .block_erase = spi_block_erase_20, |
| 673 | } |
| 674 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 675 | .write = NULL /* Incompatible Page write */, |
| 676 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 677 | }, |
| 678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 679 | { |
| 680 | .vendor = "Atmel", |
| 681 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 682 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 683 | .manufacture_id = ATMEL_ID, |
| 684 | .model_id = AT_26DF081A, |
| 685 | .total_size = 1024, |
| 686 | .page_size = 256, |
| 687 | .tested = TEST_UNTESTED, |
| 688 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 689 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 690 | .erase = NULL, |
| 691 | .block_erasers = |
| 692 | { |
| 693 | { |
| 694 | .eraseblocks = { {4 * 1024, 256} }, |
| 695 | .block_erase = spi_block_erase_20, |
| 696 | }, { |
| 697 | .eraseblocks = { {32 * 1024, 32} }, |
| 698 | .block_erase = spi_block_erase_52, |
| 699 | }, { |
| 700 | .eraseblocks = { {64 * 1024, 16} }, |
| 701 | .block_erase = spi_block_erase_d8, |
| 702 | }, { |
| 703 | .eraseblocks = { {1024 * 1024, 1} }, |
| 704 | .block_erase = spi_block_erase_60, |
| 705 | }, { |
| 706 | .eraseblocks = { {1024 * 1024, 1} }, |
| 707 | .block_erase = spi_block_erase_c7, |
| 708 | } |
| 709 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 710 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 711 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 712 | }, |
| 713 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 714 | { |
| 715 | .vendor = "Atmel", |
| 716 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 717 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 718 | .manufacture_id = ATMEL_ID, |
| 719 | .model_id = AT_26DF161, |
| 720 | .total_size = 2048, |
| 721 | .page_size = 256, |
| 722 | .tested = TEST_UNTESTED, |
| 723 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 724 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 725 | .erase = NULL, |
| 726 | .block_erasers = |
| 727 | { |
| 728 | { |
| 729 | .eraseblocks = { {4 * 1024, 512} }, |
| 730 | .block_erase = spi_block_erase_20, |
| 731 | }, { |
| 732 | .eraseblocks = { {32 * 1024, 64} }, |
| 733 | .block_erase = spi_block_erase_52, |
| 734 | }, { |
| 735 | .eraseblocks = { {64 * 1024, 32} }, |
| 736 | .block_erase = spi_block_erase_d8, |
| 737 | }, { |
| 738 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 739 | .block_erase = spi_block_erase_60, |
| 740 | }, { |
| 741 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 742 | .block_erase = spi_block_erase_c7, |
| 743 | } |
| 744 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 745 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 746 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 747 | }, |
| 748 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 749 | { |
| 750 | .vendor = "Atmel", |
| 751 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 752 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 753 | .manufacture_id = ATMEL_ID, |
| 754 | .model_id = AT_26DF161A, |
| 755 | .total_size = 2048, |
| 756 | .page_size = 256, |
| 757 | .tested = TEST_UNTESTED, |
| 758 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 759 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 760 | .erase = NULL, |
| 761 | .block_erasers = |
| 762 | { |
| 763 | { |
| 764 | .eraseblocks = { {4 * 1024, 512} }, |
| 765 | .block_erase = spi_block_erase_20, |
| 766 | }, { |
| 767 | .eraseblocks = { {32 * 1024, 64} }, |
| 768 | .block_erase = spi_block_erase_52, |
| 769 | }, { |
| 770 | .eraseblocks = { {64 * 1024, 32} }, |
| 771 | .block_erase = spi_block_erase_d8, |
| 772 | }, { |
| 773 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 774 | .block_erase = spi_block_erase_60, |
| 775 | }, { |
| 776 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 777 | .block_erase = spi_block_erase_c7, |
| 778 | } |
| 779 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 780 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 781 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 782 | }, |
| 783 | |
| 784 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 785 | /*{ |
| 786 | .vendor = "Atmel", |
| 787 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 788 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 789 | .manufacture_id = ATMEL_ID, |
| 790 | .model_id = AT_26DF321, |
| 791 | .total_size = 4096, |
| 792 | .page_size = 256, |
| 793 | .tested = TEST_UNTESTED, |
| 794 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 795 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 796 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 797 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 798 | .read = spi_chip_read, |
| 799 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 800 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 801 | { |
| 802 | .vendor = "Atmel", |
| 803 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 804 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 805 | .manufacture_id = ATMEL_ID, |
| 806 | .model_id = AT_26F004, |
| 807 | .total_size = 512, |
| 808 | .page_size = 256, |
| 809 | .tested = TEST_UNTESTED, |
| 810 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 811 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 812 | .erase = NULL, |
| 813 | .block_erasers = |
| 814 | { |
| 815 | { |
| 816 | .eraseblocks = { {4 * 1024, 128} }, |
| 817 | .block_erase = spi_block_erase_20, |
| 818 | }, { |
| 819 | .eraseblocks = { {32 * 1024, 16} }, |
| 820 | .block_erase = spi_block_erase_52, |
| 821 | }, { |
| 822 | .eraseblocks = { {64 * 1024, 8} }, |
| 823 | .block_erase = spi_block_erase_d8, |
| 824 | }, { |
| 825 | .eraseblocks = { {512 * 1024, 1} }, |
| 826 | .block_erase = spi_block_erase_60, |
| 827 | }, { |
| 828 | .eraseblocks = { {512 * 1024, 1} }, |
| 829 | .block_erase = spi_block_erase_c7, |
| 830 | } |
| 831 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 832 | .write = NULL /* Incompatible Page write */, |
| 833 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 834 | }, |
| 835 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 836 | { |
| 837 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 838 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 839 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 840 | .manufacture_id = ATMEL_ID, |
| 841 | .model_id = AT_29C512, |
| 842 | .total_size = 64, |
| 843 | .page_size = 128, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 844 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 845 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 846 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 847 | .erase = NULL, |
| 848 | .block_erasers = |
| 849 | { |
| 850 | { |
| 851 | .eraseblocks = { {64 * 1024, 1} }, |
| 852 | .block_erase = erase_chip_block_jedec, |
| 853 | } |
| 854 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 855 | .write = write_jedec, |
| 856 | .read = read_memmapped, |
| 857 | |
| 858 | }, |
| 859 | |
| 860 | { |
| 861 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 862 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 863 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 864 | .manufacture_id = ATMEL_ID, |
| 865 | .model_id = AT_29C010A, |
| 866 | .total_size = 128, |
| 867 | .page_size = 128, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 868 | .tested = TEST_OK_PR, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 869 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 870 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 871 | .erase = NULL, |
| 872 | .block_erasers = |
| 873 | { |
| 874 | { |
| 875 | .eraseblocks = { {128 * 1024, 1} }, |
| 876 | .block_erase = erase_chip_block_jedec, |
| 877 | } |
| 878 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 879 | .write = write_jedec, /* FIXME */ |
| 880 | .read = read_memmapped, |
| 881 | }, |
| 882 | |
| 883 | { |
| 884 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 885 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 886 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 887 | .manufacture_id = ATMEL_ID, |
| 888 | .model_id = AT_29C020, |
| 889 | .total_size = 256, |
| 890 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 891 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 892 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 893 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 894 | .erase = NULL, |
| 895 | .block_erasers = |
| 896 | { |
| 897 | { |
| 898 | .eraseblocks = { {256 * 1024, 1} }, |
| 899 | .block_erase = erase_chip_block_jedec, |
| 900 | } |
| 901 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 902 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 903 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 904 | }, |
| 905 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 906 | { |
| 907 | .vendor = "Atmel", |
| 908 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 909 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 910 | .manufacture_id = ATMEL_ID, |
| 911 | .model_id = AT_29C040A, |
| 912 | .total_size = 512, |
| 913 | .page_size = 256, |
| 914 | .tested = TEST_UNTESTED, |
| 915 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 916 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 917 | .erase = NULL, |
| 918 | .block_erasers = |
| 919 | { |
| 920 | { |
| 921 | .eraseblocks = { {512 * 1024, 1} }, |
| 922 | .block_erase = erase_chip_block_jedec, |
| 923 | } |
| 924 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 925 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 926 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 927 | }, |
| 928 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 929 | { |
| 930 | .vendor = "Atmel", |
| 931 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 932 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 933 | .manufacture_id = ATMEL_ID, |
| 934 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 935 | .total_size = 16896 /* No power of two sizes */, |
| 936 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 937 | .tested = TEST_BAD_READ, |
| 938 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 939 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 940 | .erase = NULL, |
| 941 | .write = NULL /* Incompatible Page write */, |
| 942 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 943 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 945 | { |
| 946 | .vendor = "Atmel", |
| 947 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 948 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 949 | .manufacture_id = ATMEL_ID, |
| 950 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 951 | .total_size = 128 /* Size can only be determined from status register */, |
| 952 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 953 | .tested = TEST_BAD_READ, |
| 954 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 955 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 956 | .erase = NULL, |
| 957 | .write = NULL, |
| 958 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 959 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 960 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 961 | { |
| 962 | .vendor = "Atmel", |
| 963 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 964 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 965 | .manufacture_id = ATMEL_ID, |
| 966 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 967 | .total_size = 256 /* Size can only be determined from status register */, |
| 968 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 969 | .tested = TEST_BAD_READ, |
| 970 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 971 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 972 | .erase = NULL, |
| 973 | .write = NULL, |
| 974 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 975 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 976 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 977 | { |
| 978 | .vendor = "Atmel", |
| 979 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 980 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 981 | .manufacture_id = ATMEL_ID, |
| 982 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 983 | .total_size = 512 /* Size can only be determined from status register */, |
| 984 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 985 | .tested = TEST_BAD_READ, |
| 986 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 987 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 988 | .erase = NULL, |
| 989 | .write = NULL, |
| 990 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 991 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 992 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 993 | { |
| 994 | .vendor = "Atmel", |
| 995 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 996 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 997 | .manufacture_id = ATMEL_ID, |
| 998 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 999 | .total_size = 1024 /* Size can only be determined from status register */, |
| 1000 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1001 | .tested = TEST_BAD_READ, |
| 1002 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1003 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1004 | .erase = NULL, |
| 1005 | .write = NULL, |
| 1006 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1007 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1008 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1009 | { |
| 1010 | .vendor = "Atmel", |
| 1011 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1012 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1013 | .manufacture_id = ATMEL_ID, |
| 1014 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1015 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1016 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1017 | .tested = TEST_BAD_READ, |
| 1018 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1019 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1020 | .erase = NULL, |
| 1021 | .write = NULL, |
| 1022 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1023 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1024 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1025 | { |
| 1026 | .vendor = "Atmel", |
| 1027 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1028 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1029 | .manufacture_id = ATMEL_ID, |
| 1030 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1031 | .total_size = 4224 /* No power of two sizes */, |
| 1032 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1033 | .tested = TEST_BAD_READ, |
| 1034 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1035 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1036 | .erase = NULL, |
| 1037 | .write = NULL, |
| 1038 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1039 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1040 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1041 | { |
| 1042 | .vendor = "Atmel", |
| 1043 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1044 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1045 | .manufacture_id = ATMEL_ID, |
| 1046 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1047 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1048 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1049 | .tested = TEST_BAD_READ, |
| 1050 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1051 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1052 | .erase = NULL, |
| 1053 | .write = NULL, |
| 1054 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1055 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1056 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1057 | { |
| 1058 | .vendor = "Atmel", |
| 1059 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1060 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1061 | .manufacture_id = ATMEL_ID, |
| 1062 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1063 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1064 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1065 | .tested = TEST_BAD_READ, |
| 1066 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1067 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1068 | .erase = NULL, |
| 1069 | .write = NULL, |
| 1070 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1071 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1072 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1073 | { |
| 1074 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1075 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1076 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1077 | .manufacture_id = ATMEL_ID, |
| 1078 | .model_id = AT_49BV512, |
| 1079 | .total_size = 64, |
| 1080 | .page_size = 64, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1081 | .tested = TEST_OK_PRW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1082 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1083 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1084 | .erase = NULL, |
| 1085 | .block_erasers = |
| 1086 | { |
| 1087 | { |
| 1088 | .eraseblocks = { {64 * 1024, 1} }, |
| 1089 | .block_erase = erase_chip_block_jedec, |
| 1090 | } |
| 1091 | }, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1092 | .write = write_49f002, |
| 1093 | .read = read_memmapped, |
| 1094 | }, |
| 1095 | |
| 1096 | { |
| 1097 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1098 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1099 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1100 | .manufacture_id = ATMEL_ID, |
| 1101 | .model_id = AT_49F002N, |
| 1102 | .total_size = 256, |
| 1103 | .page_size = 256, |
| 1104 | .tested = TEST_UNTESTED, |
| 1105 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1106 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1107 | .erase = NULL, |
| 1108 | .block_erasers = |
| 1109 | { |
| 1110 | { |
| 1111 | .eraseblocks = { |
| 1112 | {16 * 1024, 1}, |
| 1113 | {8 * 1024, 2}, |
| 1114 | {96 * 1024, 1}, |
| 1115 | {128 * 1024, 1}, |
| 1116 | }, |
| 1117 | .block_erase = erase_sector_jedec, |
| 1118 | }, { |
| 1119 | .eraseblocks = { {256 * 1024, 1} }, |
| 1120 | .block_erase = erase_chip_block_jedec, |
| 1121 | } |
| 1122 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1123 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1124 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1125 | }, |
| 1126 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1127 | { |
| 1128 | .vendor = "Atmel", |
| 1129 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1130 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1131 | .manufacture_id = ATMEL_ID, |
| 1132 | .model_id = AT_49F002NT, |
| 1133 | .total_size = 256, |
| 1134 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1135 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1136 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1137 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1138 | .erase = NULL, |
| 1139 | .block_erasers = |
| 1140 | { |
| 1141 | { |
| 1142 | .eraseblocks = { |
| 1143 | {128 * 1024, 1}, |
| 1144 | {96 * 1024, 1}, |
| 1145 | {8 * 1024, 2}, |
| 1146 | {16 * 1024, 1}, |
| 1147 | }, |
| 1148 | .block_erase = erase_sector_jedec, |
| 1149 | }, { |
| 1150 | .eraseblocks = { {256 * 1024, 1} }, |
| 1151 | .block_erase = erase_chip_block_jedec, |
| 1152 | } |
| 1153 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1154 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1155 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1156 | }, |
| 1157 | |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1158 | /* The next two chip definitions have top/bottom boot blocks, but has no |
| 1159 | device differenciation between the two */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1160 | { |
| 1161 | .vendor = "AMIC", |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1162 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1163 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1164 | .manufacture_id = AMIC_ID, |
| 1165 | .model_id = AMIC_A25L40P, |
| 1166 | .total_size = 512, |
| 1167 | .page_size = 256, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1168 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1169 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1170 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1171 | .erase = NULL, |
| 1172 | .block_erasers = |
| 1173 | { |
| 1174 | { |
| 1175 | .eraseblocks = { |
| 1176 | {64 * 1024, 7}, |
| 1177 | {32 * 1024, 1}, |
| 1178 | {16 * 1024, 1}, |
| 1179 | {8 * 1024, 1}, |
| 1180 | {4 * 1024, 2}, |
| 1181 | }, |
| 1182 | .block_erase = spi_block_erase_d8, |
| 1183 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1184 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1185 | .block_erase = spi_block_erase_c7, |
| 1186 | } |
| 1187 | }, |
| 1188 | .write = spi_chip_write_256, |
| 1189 | .read = spi_chip_read, |
| 1190 | }, |
| 1191 | |
| 1192 | { |
| 1193 | .vendor = "AMIC", |
| 1194 | .name = "A25L40PU", |
| 1195 | .bustype = CHIP_BUSTYPE_SPI, |
| 1196 | .manufacture_id = AMIC_ID, |
| 1197 | .model_id = AMIC_A25L40P, |
| 1198 | .total_size = 512, |
| 1199 | .page_size = 256, |
| 1200 | .tested = TEST_OK_PRW, |
| 1201 | .probe = probe_spi_rdid4, |
| 1202 | .probe_timing = TIMING_ZERO, |
| 1203 | .erase = NULL, |
| 1204 | .block_erasers = |
| 1205 | { |
| 1206 | { |
| 1207 | .eraseblocks = { |
| 1208 | {4 * 1024, 2}, |
| 1209 | {8 * 1024, 1}, |
| 1210 | {16 * 1024, 1}, |
| 1211 | {32 * 1024, 1}, |
| 1212 | {64 * 1024, 7}, |
| 1213 | }, |
| 1214 | .block_erase = spi_block_erase_d8, |
| 1215 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1216 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1217 | .block_erase = spi_block_erase_c7, |
| 1218 | } |
| 1219 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1220 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1221 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1222 | }, |
| 1223 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1224 | { |
| 1225 | .vendor = "AMIC", |
| 1226 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1227 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1228 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1229 | .model_id = AMIC_A29002B, |
| 1230 | .total_size = 256, |
| 1231 | .page_size = 64 * 1024, |
| 1232 | .tested = TEST_UNTESTED, |
| 1233 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1234 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1235 | .erase = NULL, |
| 1236 | .block_erasers = |
| 1237 | { |
| 1238 | { |
| 1239 | .eraseblocks = { |
| 1240 | {16 * 1024, 1}, |
| 1241 | {8 * 1024, 2}, |
| 1242 | {32 * 1024, 1}, |
| 1243 | {64 * 1024, 3}, |
| 1244 | }, |
| 1245 | .block_erase = erase_sector_29f002, |
| 1246 | }, { |
| 1247 | .eraseblocks = { {256 * 1024, 1} }, |
| 1248 | .block_erase = erase_chip_29f002, |
| 1249 | }, |
| 1250 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1251 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1252 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1253 | }, |
| 1254 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1255 | { |
| 1256 | .vendor = "AMIC", |
| 1257 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1258 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1259 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1260 | .model_id = AMIC_A29002T, |
| 1261 | .total_size = 256, |
| 1262 | .page_size = 64 * 1024, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1263 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1264 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1265 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1266 | .erase = NULL, |
| 1267 | .block_erasers = |
| 1268 | { |
| 1269 | { |
| 1270 | .eraseblocks = { |
| 1271 | {64 * 1024, 3}, |
| 1272 | {32 * 1024, 1}, |
| 1273 | {8 * 1024, 2}, |
| 1274 | {16 * 1024, 1}, |
| 1275 | }, |
| 1276 | .block_erase = erase_sector_29f002, |
| 1277 | }, { |
| 1278 | .eraseblocks = { {256 * 1024, 1} }, |
| 1279 | .block_erase = erase_chip_29f002, |
| 1280 | }, |
| 1281 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1282 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1283 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1284 | }, |
| 1285 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1286 | { |
| 1287 | .vendor = "AMIC", |
| 1288 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1289 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1290 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1291 | .model_id = AMIC_A29040B, |
| 1292 | .total_size = 512, |
| 1293 | .page_size = 64 * 1024, |
| 1294 | .tested = TEST_OK_PR, |
| 1295 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1296 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1297 | .erase = NULL, |
| 1298 | .block_erasers = |
| 1299 | { |
| 1300 | { |
| 1301 | .eraseblocks = { {64 * 1024, 8} }, |
| 1302 | .block_erase = erase_sector_29f040b, |
| 1303 | }, { |
| 1304 | .eraseblocks = { {512 * 1024, 1} }, |
| 1305 | .block_erase = erase_chip_29f040b, |
| 1306 | }, |
| 1307 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1308 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1309 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1310 | }, |
| 1311 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1312 | { |
| 1313 | .vendor = "AMIC", |
| 1314 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1315 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1316 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1317 | .model_id = AMIC_A49LF040A, |
| 1318 | .total_size = 512, |
| 1319 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1320 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1321 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1322 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1323 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1324 | .erase = NULL, |
| 1325 | .block_erasers = |
| 1326 | { |
| 1327 | { |
| 1328 | .eraseblocks = { {64 * 1024, 8} }, |
| 1329 | .block_erase = erase_block_jedec, |
| 1330 | }, { |
| 1331 | .eraseblocks = { {512 * 1024, 1} }, |
| 1332 | .block_erase = erase_chip_block_jedec, |
| 1333 | } |
| 1334 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1335 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1336 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1337 | }, |
| 1338 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1339 | { |
| 1340 | .vendor = "EMST", |
| 1341 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1342 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1343 | .manufacture_id = EMST_ID, |
| 1344 | .model_id = EMST_F49B002UA, |
| 1345 | .total_size = 256, |
| 1346 | .page_size = 4096, |
| 1347 | .tested = TEST_UNTESTED, |
| 1348 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1349 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1350 | .erase = NULL, |
| 1351 | .block_erasers = |
| 1352 | { |
| 1353 | { |
| 1354 | .eraseblocks = { |
| 1355 | {128 * 1024, 1}, |
| 1356 | {96 * 1024, 1}, |
| 1357 | {8 * 1024, 2}, |
| 1358 | {16 * 1024, 1}, |
| 1359 | }, |
| 1360 | .block_erase = erase_sector_jedec, |
| 1361 | }, { |
| 1362 | .eraseblocks = { {256 * 1024, 1} }, |
| 1363 | .block_erase = erase_chip_block_jedec, |
| 1364 | } |
| 1365 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1366 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1367 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1368 | }, |
| 1369 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1370 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1371 | .vendor = "Eon", |
| 1372 | .name = "EN25B05", |
| 1373 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1374 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1375 | .model_id = EN_25B05, |
| 1376 | .total_size = 64, |
| 1377 | .page_size = 256, |
| 1378 | .tested = TEST_UNTESTED, |
| 1379 | .probe = probe_spi_rdid, |
| 1380 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1381 | .erase = NULL, |
| 1382 | .block_erasers = |
| 1383 | { |
| 1384 | { |
| 1385 | .eraseblocks = { |
| 1386 | {4 * 1024, 2}, |
| 1387 | {8 * 1024, 1}, |
| 1388 | {16 * 1024, 1}, |
| 1389 | {32 * 1024, 1}, |
| 1390 | }, |
| 1391 | .block_erase = spi_block_erase_d8, |
| 1392 | }, { |
| 1393 | .eraseblocks = { {64 * 1024, 1} }, |
| 1394 | .block_erase = spi_block_erase_c7, |
| 1395 | } |
| 1396 | }, |
| 1397 | .write = spi_chip_write_256, |
| 1398 | .read = spi_chip_read, |
| 1399 | }, |
| 1400 | |
| 1401 | { |
| 1402 | .vendor = "Eon", |
| 1403 | .name = "EN25B05T", |
| 1404 | .bustype = CHIP_BUSTYPE_SPI, |
| 1405 | .manufacture_id = EON_ID_NOPREFIX, |
| 1406 | .model_id = EN_25B05, |
| 1407 | .total_size = 64, |
| 1408 | .page_size = 256, |
| 1409 | .tested = TEST_UNTESTED, |
| 1410 | .probe = probe_spi_rdid, |
| 1411 | .probe_timing = TIMING_ZERO, |
| 1412 | .erase = NULL, |
| 1413 | .block_erasers = |
| 1414 | { |
| 1415 | { |
| 1416 | .eraseblocks = { |
| 1417 | {32 * 1024, 1}, |
| 1418 | {16 * 1024, 1}, |
| 1419 | {8 * 1024, 1}, |
| 1420 | {4 * 1024, 2}, |
| 1421 | }, |
| 1422 | .block_erase = spi_block_erase_d8, |
| 1423 | }, { |
| 1424 | .eraseblocks = { {64 * 1024, 1} }, |
| 1425 | .block_erase = spi_block_erase_c7, |
| 1426 | } |
| 1427 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1428 | .write = spi_chip_write_256, |
| 1429 | .read = spi_chip_read, |
| 1430 | }, |
| 1431 | |
| 1432 | { |
| 1433 | .vendor = "Eon", |
| 1434 | .name = "EN25B10", |
| 1435 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1436 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1437 | .model_id = EN_25B10, |
| 1438 | .total_size = 128, |
| 1439 | .page_size = 256, |
| 1440 | .tested = TEST_UNTESTED, |
| 1441 | .probe = probe_spi_rdid, |
| 1442 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1443 | .erase = NULL, |
| 1444 | .block_erasers = |
| 1445 | { |
| 1446 | { |
| 1447 | .eraseblocks = { |
| 1448 | {4 * 1024, 2}, |
| 1449 | {8 * 1024, 1}, |
| 1450 | {16 * 1024, 1}, |
| 1451 | {32 * 1024, 3}, |
| 1452 | }, |
| 1453 | .block_erase = spi_block_erase_d8, |
| 1454 | }, { |
| 1455 | .eraseblocks = { {128 * 1024, 1} }, |
| 1456 | .block_erase = spi_block_erase_c7, |
| 1457 | } |
| 1458 | }, |
| 1459 | .write = spi_chip_write_256, |
| 1460 | .read = spi_chip_read, |
| 1461 | }, |
| 1462 | |
| 1463 | { |
| 1464 | .vendor = "Eon", |
| 1465 | .name = "EN25B10T", |
| 1466 | .bustype = CHIP_BUSTYPE_SPI, |
| 1467 | .manufacture_id = EON_ID_NOPREFIX, |
| 1468 | .model_id = EN_25B10, |
| 1469 | .total_size = 128, |
| 1470 | .page_size = 256, |
| 1471 | .tested = TEST_UNTESTED, |
| 1472 | .probe = probe_spi_rdid, |
| 1473 | .probe_timing = TIMING_ZERO, |
| 1474 | .erase = NULL, |
| 1475 | .block_erasers = |
| 1476 | { |
| 1477 | { |
| 1478 | .eraseblocks = { |
| 1479 | {32 * 1024, 3}, |
| 1480 | {16 * 1024, 1}, |
| 1481 | {8 * 1024, 1}, |
| 1482 | {4 * 1024, 2}, |
| 1483 | }, |
| 1484 | .block_erase = spi_block_erase_d8, |
| 1485 | }, { |
| 1486 | .eraseblocks = { {128 * 1024, 1} }, |
| 1487 | .block_erase = spi_block_erase_c7, |
| 1488 | } |
| 1489 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1490 | .write = spi_chip_write_256, |
| 1491 | .read = spi_chip_read, |
| 1492 | }, |
| 1493 | |
| 1494 | { |
| 1495 | .vendor = "Eon", |
| 1496 | .name = "EN25B20", |
| 1497 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1498 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1499 | .model_id = EN_25B20, |
| 1500 | .total_size = 256, |
| 1501 | .page_size = 256, |
| 1502 | .tested = TEST_UNTESTED, |
| 1503 | .probe = probe_spi_rdid, |
| 1504 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1505 | .erase = NULL, |
| 1506 | .block_erasers = |
| 1507 | { |
| 1508 | { |
| 1509 | .eraseblocks = { |
| 1510 | {4 * 1024, 2}, |
| 1511 | {8 * 1024, 1}, |
| 1512 | {16 * 1024, 1}, |
| 1513 | {32 * 1024, 1}, |
| 1514 | {64 * 1024, 3} |
| 1515 | }, |
| 1516 | .block_erase = spi_block_erase_d8, |
| 1517 | }, { |
| 1518 | .eraseblocks = { {256 * 1024, 1} }, |
| 1519 | .block_erase = spi_block_erase_c7, |
| 1520 | } |
| 1521 | }, |
| 1522 | .write = spi_chip_write_256, |
| 1523 | .read = spi_chip_read, |
| 1524 | }, |
| 1525 | |
| 1526 | { |
| 1527 | .vendor = "Eon", |
| 1528 | .name = "EN25B20T", |
| 1529 | .bustype = CHIP_BUSTYPE_SPI, |
| 1530 | .manufacture_id = EON_ID_NOPREFIX, |
| 1531 | .model_id = EN_25B20, |
| 1532 | .total_size = 256, |
| 1533 | .page_size = 256, |
| 1534 | .tested = TEST_UNTESTED, |
| 1535 | .probe = probe_spi_rdid, |
| 1536 | .probe_timing = TIMING_ZERO, |
| 1537 | .erase = NULL, |
| 1538 | .block_erasers = |
| 1539 | { |
| 1540 | { |
| 1541 | .eraseblocks = { |
| 1542 | {64 * 1024, 3}, |
| 1543 | {32 * 1024, 1}, |
| 1544 | {16 * 1024, 1}, |
| 1545 | {8 * 1024, 1}, |
| 1546 | {4 * 1024, 2}, |
| 1547 | }, |
| 1548 | .block_erase = spi_block_erase_d8, |
| 1549 | }, { |
| 1550 | .eraseblocks = { {256 * 1024, 1} }, |
| 1551 | .block_erase = spi_block_erase_c7, |
| 1552 | } |
| 1553 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1554 | .write = spi_chip_write_256, |
| 1555 | .read = spi_chip_read, |
| 1556 | }, |
| 1557 | |
| 1558 | { |
| 1559 | .vendor = "Eon", |
| 1560 | .name = "EN25B40", |
| 1561 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1562 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1563 | .model_id = EN_25B40, |
| 1564 | .total_size = 512, |
| 1565 | .page_size = 256, |
| 1566 | .tested = TEST_UNTESTED, |
| 1567 | .probe = probe_spi_rdid, |
| 1568 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1569 | .erase = NULL, |
| 1570 | .block_erasers = |
| 1571 | { |
| 1572 | { |
| 1573 | .eraseblocks = { |
| 1574 | {4 * 1024, 2}, |
| 1575 | {8 * 1024, 1}, |
| 1576 | {16 * 1024, 1}, |
| 1577 | {32 * 1024, 1}, |
| 1578 | {64 * 1024, 7} |
| 1579 | }, |
| 1580 | .block_erase = spi_block_erase_d8, |
| 1581 | }, { |
| 1582 | .eraseblocks = { {512 * 1024, 1} }, |
| 1583 | .block_erase = spi_block_erase_c7, |
| 1584 | } |
| 1585 | }, |
| 1586 | .write = spi_chip_write_256, |
| 1587 | .read = spi_chip_read, |
| 1588 | }, |
| 1589 | |
| 1590 | { |
| 1591 | .vendor = "Eon", |
| 1592 | .name = "EN25B40T", |
| 1593 | .bustype = CHIP_BUSTYPE_SPI, |
| 1594 | .manufacture_id = EON_ID_NOPREFIX, |
| 1595 | .model_id = EN_25B40, |
| 1596 | .total_size = 512, |
| 1597 | .page_size = 256, |
| 1598 | .tested = TEST_UNTESTED, |
| 1599 | .probe = probe_spi_rdid, |
| 1600 | .probe_timing = TIMING_ZERO, |
| 1601 | .erase = NULL, |
| 1602 | .block_erasers = |
| 1603 | { |
| 1604 | { |
| 1605 | .eraseblocks = { |
| 1606 | {64 * 1024, 7}, |
| 1607 | {32 * 1024, 1}, |
| 1608 | {16 * 1024, 1}, |
| 1609 | {8 * 1024, 1}, |
| 1610 | {4 * 1024, 2}, |
| 1611 | }, |
| 1612 | .block_erase = spi_block_erase_d8, |
| 1613 | }, { |
| 1614 | .eraseblocks = { {512 * 1024, 1} }, |
| 1615 | .block_erase = spi_block_erase_c7, |
| 1616 | } |
| 1617 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1618 | .write = spi_chip_write_256, |
| 1619 | .read = spi_chip_read, |
| 1620 | }, |
| 1621 | |
| 1622 | { |
| 1623 | .vendor = "Eon", |
| 1624 | .name = "EN25B80", |
| 1625 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1626 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1627 | .model_id = EN_25B80, |
| 1628 | .total_size = 1024, |
| 1629 | .page_size = 256, |
| 1630 | .tested = TEST_UNTESTED, |
| 1631 | .probe = probe_spi_rdid, |
| 1632 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1633 | .erase = NULL, |
| 1634 | .block_erasers = |
| 1635 | { |
| 1636 | { |
| 1637 | .eraseblocks = { |
| 1638 | {4 * 1024, 2}, |
| 1639 | {8 * 1024, 1}, |
| 1640 | {16 * 1024, 1}, |
| 1641 | {32 * 1024, 1}, |
| 1642 | {64 * 1024, 15} |
| 1643 | }, |
| 1644 | .block_erase = spi_block_erase_d8, |
| 1645 | }, { |
| 1646 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1647 | .block_erase = spi_block_erase_c7, |
| 1648 | } |
| 1649 | }, |
| 1650 | .write = spi_chip_write_256, |
| 1651 | .read = spi_chip_read, |
| 1652 | }, |
| 1653 | |
| 1654 | { |
| 1655 | .vendor = "Eon", |
| 1656 | .name = "EN25B80T", |
| 1657 | .bustype = CHIP_BUSTYPE_SPI, |
| 1658 | .manufacture_id = EON_ID_NOPREFIX, |
| 1659 | .model_id = EN_25B80, |
| 1660 | .total_size = 1024, |
| 1661 | .page_size = 256, |
| 1662 | .tested = TEST_UNTESTED, |
| 1663 | .probe = probe_spi_rdid, |
| 1664 | .probe_timing = TIMING_ZERO, |
| 1665 | .erase = NULL, |
| 1666 | .block_erasers = |
| 1667 | { |
| 1668 | { |
| 1669 | .eraseblocks = { |
| 1670 | {64 * 1024, 15}, |
| 1671 | {32 * 1024, 1}, |
| 1672 | {16 * 1024, 1}, |
| 1673 | {8 * 1024, 1}, |
| 1674 | {4 * 1024, 2}, |
| 1675 | }, |
| 1676 | .block_erase = spi_block_erase_d8, |
| 1677 | }, { |
| 1678 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1679 | .block_erase = spi_block_erase_c7, |
| 1680 | } |
| 1681 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1682 | .write = spi_chip_write_256, |
| 1683 | .read = spi_chip_read, |
| 1684 | }, |
| 1685 | |
| 1686 | { |
| 1687 | .vendor = "Eon", |
| 1688 | .name = "EN25B16", |
| 1689 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1690 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1691 | .model_id = EN_25B16, |
| 1692 | .total_size = 2048, |
| 1693 | .page_size = 256, |
| 1694 | .tested = TEST_UNTESTED, |
| 1695 | .probe = probe_spi_rdid, |
| 1696 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1697 | .erase = NULL, |
| 1698 | .block_erasers = |
| 1699 | { |
| 1700 | { |
| 1701 | .eraseblocks = { |
| 1702 | {4 * 1024, 2}, |
| 1703 | {8 * 1024, 1}, |
| 1704 | {16 * 1024, 1}, |
| 1705 | {32 * 1024, 1}, |
| 1706 | {64 * 1024, 31}, |
| 1707 | }, |
| 1708 | .block_erase = spi_block_erase_d8, |
| 1709 | }, { |
| 1710 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1711 | .block_erase = spi_block_erase_c7, |
| 1712 | } |
| 1713 | }, |
| 1714 | .write = spi_chip_write_256, |
| 1715 | .read = spi_chip_read, |
| 1716 | }, |
| 1717 | |
| 1718 | { |
| 1719 | .vendor = "Eon", |
| 1720 | .name = "EN25B16T", |
| 1721 | .bustype = CHIP_BUSTYPE_SPI, |
| 1722 | .manufacture_id = EON_ID_NOPREFIX, |
| 1723 | .model_id = EN_25B16, |
| 1724 | .total_size = 2048, |
| 1725 | .page_size = 256, |
| 1726 | .tested = TEST_UNTESTED, |
| 1727 | .probe = probe_spi_rdid, |
| 1728 | .probe_timing = TIMING_ZERO, |
| 1729 | .erase = NULL, |
| 1730 | .block_erasers = |
| 1731 | { |
| 1732 | { |
| 1733 | .eraseblocks = { |
| 1734 | {64 * 1024, 31}, |
| 1735 | {32 * 1024, 1}, |
| 1736 | {16 * 1024, 1}, |
| 1737 | {8 * 1024, 1}, |
| 1738 | {4 * 1024, 2}, |
| 1739 | }, |
| 1740 | .block_erase = spi_block_erase_d8, |
| 1741 | }, { |
| 1742 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1743 | .block_erase = spi_block_erase_c7, |
| 1744 | } |
| 1745 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1746 | .write = spi_chip_write_256, |
| 1747 | .read = spi_chip_read, |
| 1748 | }, |
| 1749 | |
| 1750 | { |
| 1751 | .vendor = "Eon", |
| 1752 | .name = "EN25B32", |
| 1753 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1754 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1755 | .model_id = EN_25B32, |
| 1756 | .total_size = 4096, |
| 1757 | .page_size = 256, |
| 1758 | .tested = TEST_UNTESTED, |
| 1759 | .probe = probe_spi_rdid, |
| 1760 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1761 | .erase = NULL, |
| 1762 | .block_erasers = |
| 1763 | { |
| 1764 | { |
| 1765 | .eraseblocks = { |
| 1766 | {4 * 1024, 2}, |
| 1767 | {8 * 1024, 1}, |
| 1768 | {16 * 1024, 1}, |
| 1769 | {32 * 1024, 1}, |
| 1770 | {64 * 1024, 63}, |
| 1771 | }, |
| 1772 | .block_erase = spi_block_erase_d8, |
| 1773 | }, { |
| 1774 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1775 | .block_erase = spi_block_erase_c7, |
| 1776 | } |
| 1777 | }, |
| 1778 | .write = spi_chip_write_256, |
| 1779 | .read = spi_chip_read, |
| 1780 | }, |
| 1781 | |
| 1782 | { |
| 1783 | .vendor = "Eon", |
| 1784 | .name = "EN25B32T", |
| 1785 | .bustype = CHIP_BUSTYPE_SPI, |
| 1786 | .manufacture_id = EON_ID_NOPREFIX, |
| 1787 | .model_id = EN_25B32, |
| 1788 | .total_size = 4096, |
| 1789 | .page_size = 256, |
| 1790 | .tested = TEST_UNTESTED, |
| 1791 | .probe = probe_spi_rdid, |
| 1792 | .probe_timing = TIMING_ZERO, |
| 1793 | .erase = NULL, |
| 1794 | .block_erasers = |
| 1795 | { |
| 1796 | { |
| 1797 | .eraseblocks = { |
| 1798 | {64 * 1024, 63}, |
| 1799 | {32 * 1024, 1}, |
| 1800 | {16 * 1024, 1}, |
| 1801 | {8 * 1024, 1}, |
| 1802 | {4 * 1024, 2}, |
| 1803 | }, |
| 1804 | .block_erase = spi_block_erase_d8, |
| 1805 | }, { |
| 1806 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1807 | .block_erase = spi_block_erase_c7, |
| 1808 | } |
| 1809 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1810 | .write = spi_chip_write_256, |
| 1811 | .read = spi_chip_read, |
| 1812 | }, |
| 1813 | |
| 1814 | { |
| 1815 | .vendor = "Eon", |
| 1816 | .name = "EN25B64", |
| 1817 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1818 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1819 | .model_id = EN_25B64, |
| 1820 | .total_size = 8192, |
| 1821 | .page_size = 256, |
| 1822 | .tested = TEST_UNTESTED, |
| 1823 | .probe = probe_spi_rdid, |
| 1824 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1825 | .erase = NULL, |
| 1826 | .block_erasers = |
| 1827 | { |
| 1828 | { |
| 1829 | .eraseblocks = { |
| 1830 | {4 * 1024, 2}, |
| 1831 | {8 * 1024, 1}, |
| 1832 | {16 * 1024, 1}, |
| 1833 | {32 * 1024, 1}, |
| 1834 | {64 * 1024, 127}, |
| 1835 | }, |
| 1836 | .block_erase = spi_block_erase_d8, |
| 1837 | }, { |
| 1838 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1839 | .block_erase = spi_block_erase_c7, |
| 1840 | } |
| 1841 | }, |
| 1842 | .write = spi_chip_write_256, |
| 1843 | .read = spi_chip_read, |
| 1844 | }, |
| 1845 | |
| 1846 | { |
| 1847 | .vendor = "Eon", |
| 1848 | .name = "EN25B64T", |
| 1849 | .bustype = CHIP_BUSTYPE_SPI, |
| 1850 | .manufacture_id = EON_ID_NOPREFIX, |
| 1851 | .model_id = EN_25B64, |
| 1852 | .total_size = 8192, |
| 1853 | .page_size = 256, |
| 1854 | .tested = TEST_UNTESTED, |
| 1855 | .probe = probe_spi_rdid, |
| 1856 | .probe_timing = TIMING_ZERO, |
| 1857 | .erase = NULL, |
| 1858 | .block_erasers = |
| 1859 | { |
| 1860 | { |
| 1861 | .eraseblocks = { |
| 1862 | {64 * 1024, 127}, |
| 1863 | {32 * 1024, 1}, |
| 1864 | {16 * 1024, 1}, |
| 1865 | {8 * 1024, 1}, |
| 1866 | {4 * 1024, 2}, |
| 1867 | }, |
| 1868 | .block_erase = spi_block_erase_d8, |
| 1869 | }, { |
| 1870 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1871 | .block_erase = spi_block_erase_c7, |
| 1872 | } |
| 1873 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1874 | .write = spi_chip_write_256, |
| 1875 | .read = spi_chip_read, |
| 1876 | }, |
| 1877 | |
| 1878 | { |
| 1879 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1880 | .name = "EN25D16", |
| 1881 | .bustype = CHIP_BUSTYPE_SPI, |
| 1882 | .manufacture_id = EON_ID_NOPREFIX, |
| 1883 | .model_id = EN_25D16, |
| 1884 | .total_size = 2048, |
| 1885 | .page_size = 256, |
| 1886 | .tested = TEST_UNTESTED, |
| 1887 | .probe = probe_spi_rdid, |
| 1888 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1889 | .erase = NULL, |
| 1890 | .block_erasers = |
| 1891 | { |
| 1892 | { |
| 1893 | .eraseblocks = { {4 * 1024, 512} }, |
| 1894 | .block_erase = spi_block_erase_20, |
| 1895 | }, { |
| 1896 | .eraseblocks = { {64 * 1024, 32} }, |
| 1897 | .block_erase = spi_block_erase_d8, |
| 1898 | }, { |
| 1899 | .eraseblocks = { {64 * 1024, 32} }, |
| 1900 | .block_erase = spi_block_erase_52, |
| 1901 | }, { |
| 1902 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1903 | .block_erase = spi_block_erase_60, |
| 1904 | }, { |
| 1905 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1906 | .block_erase = spi_block_erase_c7, |
| 1907 | } |
| 1908 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1909 | .write = spi_chip_write_256, |
| 1910 | .read = spi_chip_read, |
| 1911 | }, |
| 1912 | |
| 1913 | { |
| 1914 | .vendor = "Eon", |
| 1915 | .name = "EN25F05", |
| 1916 | .bustype = CHIP_BUSTYPE_SPI, |
| 1917 | .manufacture_id = EON_ID_NOPREFIX, |
| 1918 | .model_id = EN_25F05, |
| 1919 | .total_size = 64, |
| 1920 | .page_size = 256, |
| 1921 | .tested = TEST_UNTESTED, |
| 1922 | .probe = probe_spi_rdid, |
| 1923 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1924 | .erase = NULL, |
| 1925 | .block_erasers = |
| 1926 | { |
| 1927 | { |
| 1928 | .eraseblocks = { {4 * 1024, 16} }, |
| 1929 | .block_erase = spi_block_erase_20, |
| 1930 | }, { |
| 1931 | .eraseblocks = { {32 * 1024, 2} }, |
| 1932 | .block_erase = spi_block_erase_d8, |
| 1933 | }, { |
| 1934 | .eraseblocks = { {32 * 1024, 2} }, |
| 1935 | .block_erase = spi_block_erase_52, |
| 1936 | }, { |
| 1937 | .eraseblocks = { {64 * 1024, 1} }, |
| 1938 | .block_erase = spi_block_erase_60, |
| 1939 | }, { |
| 1940 | .eraseblocks = { {64 * 1024, 1} }, |
| 1941 | .block_erase = spi_block_erase_c7, |
| 1942 | } |
| 1943 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1944 | .write = spi_chip_write_256, |
| 1945 | .read = spi_chip_read, |
| 1946 | }, |
| 1947 | |
| 1948 | { |
| 1949 | .vendor = "Eon", |
| 1950 | .name = "EN25F10", |
| 1951 | .bustype = CHIP_BUSTYPE_SPI, |
| 1952 | .manufacture_id = EON_ID_NOPREFIX, |
| 1953 | .model_id = EN_25F10, |
| 1954 | .total_size = 128, |
| 1955 | .page_size = 256, |
| 1956 | .tested = TEST_UNTESTED, |
| 1957 | .probe = probe_spi_rdid, |
| 1958 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1959 | .erase = NULL, |
| 1960 | .block_erasers = |
| 1961 | { |
| 1962 | { |
| 1963 | .eraseblocks = { {4 * 1024, 32} }, |
| 1964 | .block_erase = spi_block_erase_20, |
| 1965 | }, { |
| 1966 | .eraseblocks = { {32 * 1024, 4} }, |
| 1967 | .block_erase = spi_block_erase_d8, |
| 1968 | }, { |
| 1969 | .eraseblocks = { {32 * 1024, 4} }, |
| 1970 | .block_erase = spi_block_erase_52, |
| 1971 | }, { |
| 1972 | .eraseblocks = { {128 * 1024, 1} }, |
| 1973 | .block_erase = spi_block_erase_60, |
| 1974 | }, { |
| 1975 | .eraseblocks = { {128 * 1024, 1} }, |
| 1976 | .block_erase = spi_block_erase_c7, |
| 1977 | } |
| 1978 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1979 | .write = spi_chip_write_256, |
| 1980 | .read = spi_chip_read, |
| 1981 | }, |
| 1982 | |
| 1983 | { |
| 1984 | .vendor = "Eon", |
| 1985 | .name = "EN25F20", |
| 1986 | .bustype = CHIP_BUSTYPE_SPI, |
| 1987 | .manufacture_id = EON_ID_NOPREFIX, |
| 1988 | .model_id = EN_25F20, |
| 1989 | .total_size = 256, |
| 1990 | .page_size = 256, |
| 1991 | .tested = TEST_UNTESTED, |
| 1992 | .probe = probe_spi_rdid, |
| 1993 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1994 | .erase = NULL, |
| 1995 | .block_erasers = |
| 1996 | { |
| 1997 | { |
| 1998 | .eraseblocks = { {4 * 1024, 64} }, |
| 1999 | .block_erase = spi_block_erase_20, |
| 2000 | }, { |
| 2001 | .eraseblocks = { {64 * 1024, 4} }, |
| 2002 | .block_erase = spi_block_erase_d8, |
| 2003 | }, { |
| 2004 | .eraseblocks = { {64 * 1024, 4} }, |
| 2005 | .block_erase = spi_block_erase_52, |
| 2006 | }, { |
| 2007 | .eraseblocks = { {256 * 1024, 1} }, |
| 2008 | .block_erase = spi_block_erase_60, |
| 2009 | }, { |
| 2010 | .eraseblocks = { {256 * 1024, 1} }, |
| 2011 | .block_erase = spi_block_erase_c7, |
| 2012 | } |
| 2013 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2014 | .write = spi_chip_write_256, |
| 2015 | .read = spi_chip_read, |
| 2016 | }, |
| 2017 | |
| 2018 | { |
| 2019 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2020 | .name = "EN25F40", |
| 2021 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2022 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2023 | .model_id = EN_25F40, |
| 2024 | .total_size = 512, |
| 2025 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2026 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2027 | .probe = probe_spi_rdid, |
| 2028 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2029 | .erase = NULL, |
| 2030 | .block_erasers = |
| 2031 | { |
| 2032 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2033 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2034 | .block_erase = spi_block_erase_20, |
| 2035 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2036 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2037 | .block_erase = spi_block_erase_d8, |
| 2038 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2039 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2040 | .block_erase = spi_block_erase_60, |
| 2041 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2042 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2043 | .block_erase = spi_block_erase_c7, |
| 2044 | }, |
| 2045 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2046 | .write = spi_chip_write_256, |
| 2047 | .read = spi_chip_read, |
| 2048 | }, |
| 2049 | |
| 2050 | { |
| 2051 | .vendor = "Eon", |
| 2052 | .name = "EN25F80", |
| 2053 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2054 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2055 | .model_id = EN_25F80, |
| 2056 | .total_size = 1024, |
| 2057 | .page_size = 256, |
| 2058 | .tested = TEST_UNTESTED, |
| 2059 | .probe = probe_spi_rdid, |
| 2060 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2061 | .erase = NULL, |
| 2062 | .block_erasers = |
| 2063 | { |
| 2064 | { |
| 2065 | .eraseblocks = { {4 * 1024, 256} }, |
| 2066 | .block_erase = spi_block_erase_20, |
| 2067 | }, { |
| 2068 | .eraseblocks = { {64 * 1024, 16} }, |
| 2069 | .block_erase = spi_block_erase_d8, |
| 2070 | }, { |
| 2071 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2072 | .block_erase = spi_block_erase_60, |
| 2073 | }, { |
| 2074 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2075 | .block_erase = spi_block_erase_c7, |
| 2076 | } |
| 2077 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2078 | .write = spi_chip_write_256, |
| 2079 | .read = spi_chip_read, |
| 2080 | }, |
| 2081 | |
| 2082 | { |
| 2083 | .vendor = "Eon", |
| 2084 | .name = "EN25F16", |
| 2085 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2086 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2087 | .model_id = EN_25F16, |
| 2088 | .total_size = 2048, |
| 2089 | .page_size = 256, |
| 2090 | .tested = TEST_UNTESTED, |
| 2091 | .probe = probe_spi_rdid, |
| 2092 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2093 | .erase = NULL, |
| 2094 | .block_erasers = |
| 2095 | { |
| 2096 | { |
| 2097 | .eraseblocks = { {4 * 1024, 512} }, |
| 2098 | .block_erase = spi_block_erase_20, |
| 2099 | }, { |
| 2100 | .eraseblocks = { {64 * 1024, 32} }, |
| 2101 | .block_erase = spi_block_erase_d8, |
| 2102 | }, { |
| 2103 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2104 | .block_erase = spi_block_erase_60, |
| 2105 | }, { |
| 2106 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2107 | .block_erase = spi_block_erase_c7, |
| 2108 | } |
| 2109 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2110 | .write = spi_chip_write_256, |
| 2111 | .read = spi_chip_read, |
| 2112 | }, |
| 2113 | |
| 2114 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2115 | .vendor = "Eon", |
| 2116 | .name = "EN25F32", |
| 2117 | .bustype = CHIP_BUSTYPE_SPI, |
| 2118 | .manufacture_id = EON_ID_NOPREFIX, |
| 2119 | .model_id = EN_25F32, |
| 2120 | .total_size = 4096, |
| 2121 | .page_size = 256, |
| 2122 | .tested = TEST_UNTESTED, |
| 2123 | .probe = probe_spi_rdid, |
| 2124 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2125 | .erase = NULL, |
| 2126 | .block_erasers = |
| 2127 | { |
| 2128 | { |
| 2129 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2130 | .block_erase = spi_block_erase_20, |
| 2131 | }, { |
| 2132 | .eraseblocks = { {64 * 1024, 64} }, |
| 2133 | .block_erase = spi_block_erase_d8, |
| 2134 | }, { |
| 2135 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2136 | .block_erase = spi_block_erase_60, |
| 2137 | }, { |
| 2138 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2139 | .block_erase = spi_block_erase_c7, |
| 2140 | } |
| 2141 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2142 | .write = spi_chip_write_256, |
| 2143 | .read = spi_chip_read, |
| 2144 | }, |
| 2145 | |
| 2146 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2147 | .vendor = "EON", |
| 2148 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2149 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2150 | .manufacture_id = EON_ID, |
| 2151 | .model_id = EN_29F002B, |
| 2152 | .total_size = 256, |
| 2153 | .page_size = 256, |
| 2154 | .tested = TEST_UNTESTED, |
| 2155 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2156 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2157 | .erase = NULL, |
| 2158 | .block_erasers = |
| 2159 | { |
| 2160 | { |
| 2161 | .eraseblocks = { |
| 2162 | {64 * 1024, 3}, |
| 2163 | {32 * 1024, 1}, |
| 2164 | {8 * 1024, 2}, |
| 2165 | {16 * 1024, 1}, |
| 2166 | }, |
| 2167 | .block_erase = erase_sector_jedec, |
| 2168 | }, { |
| 2169 | .eraseblocks = { {256 * 1024, 1} }, |
| 2170 | .block_erase = erase_chip_block_jedec, |
| 2171 | }, |
| 2172 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2173 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2174 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2175 | }, |
| 2176 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2177 | { |
| 2178 | .vendor = "EON", |
| 2179 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2180 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2181 | .manufacture_id = EON_ID, |
| 2182 | .model_id = EN_29F002T, |
| 2183 | .total_size = 256, |
| 2184 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2185 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2186 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2187 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2188 | .erase = NULL, |
| 2189 | .block_erasers = |
| 2190 | { |
| 2191 | { |
| 2192 | .eraseblocks = { |
| 2193 | {16 * 1024, 1}, |
| 2194 | {8 * 1024, 2}, |
| 2195 | {32 * 1024, 1}, |
| 2196 | {64 * 1024, 3}, |
| 2197 | }, |
| 2198 | .block_erase = erase_sector_jedec, |
| 2199 | }, { |
| 2200 | .eraseblocks = { {256 * 1024, 1} }, |
| 2201 | .block_erase = erase_chip_block_jedec, |
| 2202 | }, |
| 2203 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2204 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2205 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2206 | }, |
| 2207 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2208 | { |
| 2209 | .vendor = "Fujitsu", |
| 2210 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2211 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2212 | .manufacture_id = FUJITSU_ID, |
| 2213 | .model_id = MBM29F004BC, |
| 2214 | .total_size = 512, |
| 2215 | .page_size = 64 * 1024, |
| 2216 | .tested = TEST_UNTESTED, |
| 2217 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2218 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2219 | .erase = NULL, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2220 | .block_erasers = |
| 2221 | { |
| 2222 | { |
| 2223 | .eraseblocks = { |
| 2224 | {16 * 1024, 1}, |
| 2225 | {8 * 1024, 2}, |
| 2226 | {32 * 1024, 1}, |
| 2227 | {64 * 1024, 7}, |
| 2228 | }, |
| 2229 | .block_erase = erase_sector_29f040b, |
| 2230 | }, { |
| 2231 | .eraseblocks = { {512 * 1024, 1} }, |
| 2232 | .block_erase = erase_chip_29f040b, |
| 2233 | }, |
| 2234 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2235 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2236 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2237 | }, |
| 2238 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2239 | { |
| 2240 | .vendor = "Fujitsu", |
| 2241 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2242 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2243 | .manufacture_id = FUJITSU_ID, |
| 2244 | .model_id = MBM29F004TC, |
| 2245 | .total_size = 512, |
| 2246 | .page_size = 64 * 1024, |
| 2247 | .tested = TEST_UNTESTED, |
| 2248 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2249 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2250 | .erase = NULL, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2251 | .block_erasers = |
| 2252 | { |
| 2253 | { |
| 2254 | .eraseblocks = { |
| 2255 | {64 * 1024, 7}, |
| 2256 | {32 * 1024, 1}, |
| 2257 | {8 * 1024, 2}, |
| 2258 | {16 * 1024, 1}, |
| 2259 | }, |
| 2260 | .block_erase = erase_sector_29f040b, |
| 2261 | }, { |
| 2262 | .eraseblocks = { {512 * 1024, 1} }, |
| 2263 | .block_erase = erase_chip_29f040b, |
| 2264 | }, |
| 2265 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2266 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2267 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2268 | }, |
| 2269 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2270 | { |
| 2271 | .vendor = "Fujitsu", |
| 2272 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2273 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2274 | .manufacture_id = FUJITSU_ID, |
| 2275 | .model_id = MBM29F400BC, |
| 2276 | .total_size = 512, |
| 2277 | .page_size = 64 * 1024, |
| 2278 | .tested = TEST_UNTESTED, |
| 2279 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2280 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2281 | .erase = NULL, |
| 2282 | .block_erasers = |
| 2283 | { |
| 2284 | { |
| 2285 | .eraseblocks = { |
| 2286 | {16 * 1024, 1}, |
| 2287 | {8 * 1024, 2}, |
| 2288 | {32 * 1024, 1}, |
| 2289 | {64 * 1024, 7}, |
| 2290 | }, |
| 2291 | .block_erase = block_erase_m29f400bt, |
| 2292 | }, { |
| 2293 | .eraseblocks = { {512 * 1024, 1} }, |
| 2294 | .block_erase = block_erase_chip_m29f400bt, |
| 2295 | }, |
| 2296 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2297 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2298 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2299 | }, |
| 2300 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2301 | { |
| 2302 | .vendor = "Fujitsu", |
| 2303 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2304 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2305 | .manufacture_id = FUJITSU_ID, |
| 2306 | .model_id = MBM29F400TC, |
| 2307 | .total_size = 512, |
| 2308 | .page_size = 64 * 1024, |
| 2309 | .tested = TEST_UNTESTED, |
| 2310 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2311 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2312 | .erase = NULL, |
| 2313 | .block_erasers = |
| 2314 | { |
| 2315 | { |
| 2316 | .eraseblocks = { |
| 2317 | {64 * 1024, 7}, |
| 2318 | {32 * 1024, 1}, |
| 2319 | {8 * 1024, 2}, |
| 2320 | {16 * 1024, 1}, |
| 2321 | }, |
| 2322 | .block_erase = block_erase_m29f400bt, |
| 2323 | }, { |
| 2324 | .eraseblocks = { {512 * 1024, 1} }, |
| 2325 | .block_erase = block_erase_chip_m29f400bt, |
| 2326 | }, |
| 2327 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2328 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2329 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2330 | }, |
| 2331 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2332 | { |
| 2333 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2334 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2335 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2336 | .manufacture_id = INTEL_ID, |
| 2337 | .model_id = P28F001BXB, |
| 2338 | .total_size = 128, |
| 2339 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2340 | .tested = TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2341 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2342 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2343 | .erase = NULL, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2344 | .block_erasers = |
| 2345 | { |
| 2346 | { |
| 2347 | .eraseblocks = { |
| 2348 | {8 * 1024, 1}, |
| 2349 | {4 * 1024, 2}, |
| 2350 | {112 * 1024, 1}, |
| 2351 | }, |
| 2352 | .block_erase = erase_82802ab_block, |
| 2353 | }, |
| 2354 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2355 | .write = NULL, |
| 2356 | .read = read_memmapped, |
| 2357 | }, |
| 2358 | |
| 2359 | { |
| 2360 | .vendor = "Intel", |
| 2361 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2362 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2363 | .manufacture_id = INTEL_ID, |
| 2364 | .model_id = P28F001BXT, |
| 2365 | .total_size = 128, |
| 2366 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2367 | .tested = TEST_OK_PR|TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2368 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2369 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2370 | .erase = NULL, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2371 | .block_erasers = |
| 2372 | { |
| 2373 | { |
| 2374 | .eraseblocks = { |
| 2375 | {112 * 1024, 1}, |
| 2376 | {4 * 1024, 2}, |
| 2377 | {8 * 1024, 1}, |
| 2378 | }, |
| 2379 | .block_erase = erase_82802ab_block, |
| 2380 | }, |
| 2381 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2382 | .write = NULL, |
| 2383 | .read = read_memmapped, |
| 2384 | }, |
| 2385 | |
| 2386 | { |
| 2387 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2388 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2389 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2390 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2391 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2392 | .total_size = 512, |
| 2393 | .page_size = 64 * 1024, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2394 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2395 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2396 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2397 | .erase = NULL, |
| 2398 | .block_erasers = |
| 2399 | { |
| 2400 | { |
| 2401 | .eraseblocks = { {64 * 1024, 8} }, |
| 2402 | .block_erase = erase_82802ab_block, |
| 2403 | }, |
| 2404 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2405 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2406 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2407 | }, |
| 2408 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2409 | { |
| 2410 | .vendor = "Intel", |
| 2411 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2412 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2413 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2414 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2415 | .total_size = 1024, |
| 2416 | .page_size = 64 * 1024, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2417 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2418 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2419 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2420 | .erase = NULL, |
| 2421 | .block_erasers = |
| 2422 | { |
| 2423 | { |
| 2424 | .eraseblocks = { {64 * 1024, 16} }, |
| 2425 | .block_erase = erase_82802ab_block, |
| 2426 | }, |
| 2427 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2428 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2429 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2430 | }, |
| 2431 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2432 | { |
| 2433 | .vendor = "Macronix", |
| 2434 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2435 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2436 | .manufacture_id = MX_ID, |
| 2437 | .model_id = MX_25L512, |
| 2438 | .total_size = 64, |
| 2439 | .page_size = 256, |
| 2440 | .tested = TEST_UNTESTED, |
| 2441 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2442 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2443 | .erase = NULL, |
| 2444 | .block_erasers = |
| 2445 | { |
| 2446 | { |
| 2447 | .eraseblocks = { {4 * 1024, 16} }, |
| 2448 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2449 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2450 | .eraseblocks = { {64 * 1024, 1} }, |
| 2451 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2452 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2453 | .eraseblocks = { {64 * 1024, 1} }, |
| 2454 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2455 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2456 | .eraseblocks = { {64 * 1024, 1} }, |
| 2457 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2458 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2459 | .eraseblocks = { {64 * 1024, 1} }, |
| 2460 | .block_erase = spi_block_erase_c7, |
| 2461 | }, |
| 2462 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2463 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2464 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2465 | }, |
| 2466 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2467 | { |
| 2468 | .vendor = "Macronix", |
| 2469 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2470 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2471 | .manufacture_id = MX_ID, |
| 2472 | .model_id = MX_25L1005, |
| 2473 | .total_size = 128, |
| 2474 | .page_size = 256, |
| 2475 | .tested = TEST_UNTESTED, |
| 2476 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2477 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2478 | .erase = NULL, |
| 2479 | .block_erasers = |
| 2480 | { |
| 2481 | { |
| 2482 | .eraseblocks = { {4 * 1024, 32} }, |
| 2483 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2484 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2485 | .eraseblocks = { {64 * 1024, 2} }, |
| 2486 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2487 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2488 | .eraseblocks = { {128 * 1024, 1} }, |
| 2489 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2490 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2491 | .eraseblocks = { {128 * 1024, 1} }, |
| 2492 | .block_erase = spi_block_erase_c7, |
| 2493 | }, |
| 2494 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2495 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2496 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2497 | }, |
| 2498 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2499 | { |
| 2500 | .vendor = "Macronix", |
| 2501 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2502 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2503 | .manufacture_id = MX_ID, |
| 2504 | .model_id = MX_25L2005, |
| 2505 | .total_size = 256, |
| 2506 | .page_size = 256, |
| 2507 | .tested = TEST_UNTESTED, |
| 2508 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2509 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2510 | .erase = NULL, |
| 2511 | .block_erasers = |
| 2512 | { |
| 2513 | { |
| 2514 | .eraseblocks = { {4 * 1024, 64} }, |
| 2515 | .block_erase = spi_block_erase_20, |
| 2516 | }, { |
| 2517 | .eraseblocks = { {64 * 1024, 4} }, |
| 2518 | .block_erase = spi_block_erase_52, |
| 2519 | }, { |
| 2520 | .eraseblocks = { {64 * 1024, 4} }, |
| 2521 | .block_erase = spi_block_erase_d8, |
| 2522 | }, { |
| 2523 | .eraseblocks = { {256 * 1024, 1} }, |
| 2524 | .block_erase = spi_block_erase_60, |
| 2525 | }, { |
| 2526 | .eraseblocks = { {256 * 1024, 1} }, |
| 2527 | .block_erase = spi_block_erase_c7, |
| 2528 | }, |
| 2529 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2530 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2531 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2532 | }, |
| 2533 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2534 | { |
| 2535 | .vendor = "Macronix", |
| 2536 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2537 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2538 | .manufacture_id = MX_ID, |
| 2539 | .model_id = MX_25L4005, |
| 2540 | .total_size = 512, |
| 2541 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2542 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2543 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2544 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2545 | .erase = NULL, |
| 2546 | .block_erasers = |
| 2547 | { |
| 2548 | { |
| 2549 | .eraseblocks = { {4 * 1024, 128} }, |
| 2550 | .block_erase = spi_block_erase_20, |
| 2551 | }, { |
| 2552 | .eraseblocks = { {64 * 1024, 8} }, |
| 2553 | .block_erase = spi_block_erase_52, |
| 2554 | }, { |
| 2555 | .eraseblocks = { {64 * 1024, 8} }, |
| 2556 | .block_erase = spi_block_erase_d8, |
| 2557 | }, { |
| 2558 | .eraseblocks = { {512 * 1024, 1} }, |
| 2559 | .block_erase = spi_block_erase_60, |
| 2560 | }, { |
| 2561 | .eraseblocks = { {512 * 1024, 1} }, |
| 2562 | .block_erase = spi_block_erase_c7, |
| 2563 | }, |
| 2564 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2565 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2566 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2567 | }, |
| 2568 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2569 | { |
| 2570 | .vendor = "Macronix", |
| 2571 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2572 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2573 | .manufacture_id = MX_ID, |
| 2574 | .model_id = MX_25L8005, |
| 2575 | .total_size = 1024, |
| 2576 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2577 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2578 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2579 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2580 | .erase = NULL, |
| 2581 | .block_erasers = |
| 2582 | { |
| 2583 | { |
| 2584 | .eraseblocks = { {4 * 1024, 256} }, |
| 2585 | .block_erase = spi_block_erase_20, |
| 2586 | }, { |
| 2587 | .eraseblocks = { {64 * 1024, 16} }, |
| 2588 | .block_erase = spi_block_erase_52, |
| 2589 | }, { |
| 2590 | .eraseblocks = { {64 * 1024, 16} }, |
| 2591 | .block_erase = spi_block_erase_d8, |
| 2592 | }, { |
| 2593 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2594 | .block_erase = spi_block_erase_60, |
| 2595 | }, { |
| 2596 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2597 | .block_erase = spi_block_erase_c7, |
| 2598 | }, |
| 2599 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2600 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2601 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2602 | }, |
| 2603 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2604 | { |
| 2605 | .vendor = "Macronix", |
| 2606 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2607 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2608 | .manufacture_id = MX_ID, |
| 2609 | .model_id = MX_25L1605, |
| 2610 | .total_size = 2048, |
| 2611 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2612 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2613 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2614 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2615 | .erase = NULL, |
| 2616 | .block_erasers = |
| 2617 | { |
| 2618 | { |
| 2619 | .eraseblocks = { {4 * 1024, 512} }, |
| 2620 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2621 | }, { |
| 2622 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 2623 | .block_erase = spi_block_erase_52, |
| 2624 | }, { |
| 2625 | .eraseblocks = { {64 * 1024, 32} }, |
| 2626 | .block_erase = spi_block_erase_d8, |
| 2627 | }, { |
| 2628 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2629 | .block_erase = spi_block_erase_60, |
| 2630 | }, { |
| 2631 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2632 | .block_erase = spi_block_erase_c7, |
| 2633 | }, |
| 2634 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2635 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2636 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2637 | }, |
| 2638 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2639 | { |
| 2640 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2641 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2642 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2643 | .manufacture_id = MX_ID, |
| 2644 | .model_id = MX_25L1635D, |
| 2645 | .total_size = 2048, |
| 2646 | .page_size = 256, |
| 2647 | .tested = TEST_UNTESTED, |
| 2648 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2649 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2650 | .erase = NULL, |
| 2651 | .block_erasers = |
| 2652 | { |
| 2653 | { |
| 2654 | .eraseblocks = { {4 * 1024, 512} }, |
| 2655 | .block_erase = spi_block_erase_20, |
| 2656 | }, { |
| 2657 | .eraseblocks = { {64 * 1024, 32} }, |
| 2658 | .block_erase = spi_block_erase_d8, |
| 2659 | }, { |
| 2660 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2661 | .block_erase = spi_block_erase_60, |
| 2662 | }, { |
| 2663 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2664 | .block_erase = spi_block_erase_c7, |
| 2665 | } |
| 2666 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2667 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2668 | .read = spi_chip_read, |
| 2669 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 2670 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2671 | { |
| 2672 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2673 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2674 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2675 | .manufacture_id = MX_ID, |
| 2676 | .model_id = MX_25L3205, |
| 2677 | .total_size = 4096, |
| 2678 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2679 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2680 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2681 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2682 | .erase = NULL, |
| 2683 | .block_erasers = |
| 2684 | { |
| 2685 | { |
| 2686 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2687 | .block_erase = spi_block_erase_20, |
| 2688 | }, { |
| 2689 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2690 | .block_erase = spi_block_erase_d8, |
| 2691 | }, { |
| 2692 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2693 | .block_erase = spi_block_erase_60, |
| 2694 | }, { |
| 2695 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2696 | .block_erase = spi_block_erase_c7, |
| 2697 | }, |
| 2698 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2699 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2700 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2701 | }, |
| 2702 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2703 | { |
| 2704 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2705 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2706 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2707 | .manufacture_id = MX_ID, |
| 2708 | .model_id = MX_25L3235D, |
| 2709 | .total_size = 4096, |
| 2710 | .page_size = 256, |
| 2711 | .tested = TEST_UNTESTED, |
| 2712 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2713 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2714 | .erase = NULL, |
| 2715 | .block_erasers = |
| 2716 | { |
| 2717 | { |
| 2718 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2719 | .block_erase = spi_block_erase_20, |
| 2720 | }, { |
| 2721 | .eraseblocks = { {64 * 1024, 64} }, |
| 2722 | .block_erase = spi_block_erase_d8, |
| 2723 | }, { |
| 2724 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2725 | .block_erase = spi_block_erase_60, |
| 2726 | }, { |
| 2727 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2728 | .block_erase = spi_block_erase_c7, |
| 2729 | } |
| 2730 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2731 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2732 | .read = spi_chip_read, |
| 2733 | }, |
| 2734 | |
| 2735 | { |
| 2736 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2737 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2738 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2739 | .manufacture_id = MX_ID, |
| 2740 | .model_id = MX_25L6405, |
| 2741 | .total_size = 8192, |
| 2742 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 2743 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2744 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2745 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2746 | .erase = NULL, |
| 2747 | .block_erasers = |
| 2748 | { |
| 2749 | { |
| 2750 | .eraseblocks = { {64 * 1024, 128} }, |
| 2751 | .block_erase = spi_block_erase_20, |
| 2752 | }, { |
| 2753 | .eraseblocks = { {64 * 1024, 128} }, |
| 2754 | .block_erase = spi_block_erase_d8, |
| 2755 | }, { |
| 2756 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2757 | .block_erase = spi_block_erase_60, |
| 2758 | }, { |
| 2759 | .eraseblocks = { {8 * 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_256, |
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 = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2769 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2770 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2771 | .manufacture_id = MX_ID, |
| 2772 | .model_id = MX_25L12805, |
| 2773 | .total_size = 16384, |
| 2774 | .page_size = 256, |
| 2775 | .tested = TEST_UNTESTED, |
| 2776 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2777 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2778 | .erase = NULL, |
| 2779 | .block_erasers = |
| 2780 | { |
| 2781 | { |
| 2782 | .eraseblocks = { {4 * 1024, 4096} }, |
| 2783 | .block_erase = spi_block_erase_20, |
| 2784 | }, { |
| 2785 | .eraseblocks = { {64 * 1024, 256} }, |
| 2786 | .block_erase = spi_block_erase_d8, |
| 2787 | }, { |
| 2788 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2789 | .block_erase = spi_block_erase_60, |
| 2790 | }, { |
| 2791 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2792 | .block_erase = spi_block_erase_c7, |
| 2793 | } |
| 2794 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2795 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2796 | .read = spi_chip_read, |
| 2797 | }, |
| 2798 | |
| 2799 | { |
| 2800 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2801 | .name = "MX29F001B", |
| 2802 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2803 | .manufacture_id = MX_ID, |
| 2804 | .model_id = MX_29F001B, |
| 2805 | .total_size = 128, |
| 2806 | .page_size = 32 * 1024, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2807 | .tested = TEST_OK_PR, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2808 | .probe = probe_29f002, |
| 2809 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2810 | .erase = NULL, |
| 2811 | .block_erasers = |
| 2812 | { |
| 2813 | { |
| 2814 | .eraseblocks = { |
| 2815 | {8 * 1024, 1}, |
| 2816 | {4 * 1024, 2}, |
| 2817 | {8 * 1024, 2}, |
| 2818 | {32 * 1024, 1}, |
| 2819 | {64 * 1024, 1}, |
| 2820 | }, |
| 2821 | .block_erase = erase_sector_29f002, |
| 2822 | }, { |
| 2823 | .eraseblocks = { {128 * 1024, 1} }, |
| 2824 | .block_erase = erase_chip_29f002, |
| 2825 | } |
| 2826 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2827 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2828 | .read = read_memmapped, |
| 2829 | }, |
| 2830 | |
| 2831 | { |
| 2832 | .vendor = "Macronix", |
| 2833 | .name = "MX29F001T", |
| 2834 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2835 | .manufacture_id = MX_ID, |
| 2836 | .model_id = MX_29F001T, |
| 2837 | .total_size = 128, |
| 2838 | .page_size = 32 * 1024, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2839 | .tested = TEST_OK_PR, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2840 | .probe = probe_29f002, |
| 2841 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2842 | .erase = NULL, |
| 2843 | .block_erasers = |
| 2844 | { |
| 2845 | { |
| 2846 | .eraseblocks = { |
| 2847 | {64 * 1024, 1}, |
| 2848 | {32 * 1024, 1}, |
| 2849 | {8 * 1024, 2}, |
| 2850 | {4 * 1024, 2}, |
| 2851 | {8 * 1024, 1}, |
| 2852 | }, |
| 2853 | .block_erase = erase_sector_29f002, |
| 2854 | }, { |
| 2855 | .eraseblocks = { {128 * 1024, 1} }, |
| 2856 | .block_erase = erase_chip_29f002, |
| 2857 | } |
| 2858 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2859 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2860 | .read = read_memmapped, |
| 2861 | }, |
| 2862 | |
| 2863 | { |
| 2864 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2865 | .name = "MX29F002B", |
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 = MX_ID, |
| 2868 | .model_id = MX_29F002B, |
| 2869 | .total_size = 256, |
| 2870 | .page_size = 64 * 1024, |
| 2871 | .tested = TEST_UNTESTED, |
| 2872 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2873 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2874 | .erase = NULL, |
| 2875 | .block_erasers = |
| 2876 | { |
| 2877 | { |
| 2878 | .eraseblocks = { |
| 2879 | {16 * 1024, 1}, |
| 2880 | {8 * 1024, 2}, |
| 2881 | {32 * 1024, 1}, |
| 2882 | {64 * 1024, 3}, |
| 2883 | }, |
| 2884 | .block_erase = erase_sector_29f002, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2885 | }, { |
| 2886 | .eraseblocks = { {256 * 1024, 1} }, |
| 2887 | .block_erase = erase_chip_29f002, |
| 2888 | }, |
| 2889 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2890 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2891 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2892 | }, |
| 2893 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2894 | { |
| 2895 | .vendor = "Macronix", |
| 2896 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2897 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2898 | .manufacture_id = MX_ID, |
| 2899 | .model_id = MX_29F002T, |
| 2900 | .total_size = 256, |
| 2901 | .page_size = 64 * 1024, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2902 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2903 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2904 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2905 | .erase = NULL, |
| 2906 | .block_erasers = |
| 2907 | { |
| 2908 | { |
| 2909 | .eraseblocks = { |
| 2910 | {64 * 1024, 3}, |
| 2911 | {32 * 1024, 1}, |
| 2912 | {8 * 1024, 2}, |
| 2913 | {16 * 1024, 1}, |
| 2914 | }, |
| 2915 | .block_erase = erase_sector_29f002, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2916 | }, { |
| 2917 | .eraseblocks = { {256 * 1024, 1} }, |
| 2918 | .block_erase = erase_chip_29f002, |
| 2919 | }, |
| 2920 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2921 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2922 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2923 | }, |
| 2924 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2925 | { |
| 2926 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2927 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2928 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2929 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2930 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2931 | .total_size = 512, |
| 2932 | .page_size = 64 * 1024, |
| 2933 | .tested = TEST_OK_PR, |
| 2934 | .probe = probe_29f002, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2935 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2936 | .erase = NULL, |
| 2937 | .block_erasers = |
| 2938 | { |
| 2939 | { |
| 2940 | .eraseblocks = { {64 * 1024, 8}, }, |
| 2941 | .block_erase = erase_sector_29f002, |
| 2942 | }, { |
| 2943 | .eraseblocks = { {512 * 1024, 1} }, |
| 2944 | .block_erase = erase_chip_29f002, |
| 2945 | }, |
| 2946 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2947 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2948 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 2949 | }, |
| 2950 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2951 | { |
| 2952 | .vendor = "Numonyx", |
| 2953 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2954 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2955 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2956 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2957 | .total_size = 128, |
| 2958 | .page_size = 256, |
| 2959 | .tested = TEST_UNTESTED, |
| 2960 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2961 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2962 | .erase = NULL, |
| 2963 | .block_erasers = |
| 2964 | { |
| 2965 | { |
| 2966 | .eraseblocks = { {4 * 1024, 32} }, |
| 2967 | .block_erase = spi_block_erase_20, |
| 2968 | }, { |
| 2969 | .eraseblocks = { {64 * 1024, 2} }, |
| 2970 | .block_erase = spi_block_erase_d8, |
| 2971 | }, { |
| 2972 | .eraseblocks = { {128 * 1024, 1} }, |
| 2973 | .block_erase = spi_block_erase_c7, |
| 2974 | } |
| 2975 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2976 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2977 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2978 | }, |
| 2979 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2980 | { |
| 2981 | .vendor = "Numonyx", |
| 2982 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2983 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2984 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2985 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2986 | .total_size = 256, |
| 2987 | .page_size = 256, |
| 2988 | .tested = TEST_UNTESTED, |
| 2989 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2990 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2991 | .erase = NULL, |
| 2992 | .block_erasers = |
| 2993 | { |
| 2994 | { |
| 2995 | .eraseblocks = { {4 * 1024, 64} }, |
| 2996 | .block_erase = spi_block_erase_20, |
| 2997 | }, { |
| 2998 | .eraseblocks = { {64 * 1024, 4} }, |
| 2999 | .block_erase = spi_block_erase_d8, |
| 3000 | }, { |
| 3001 | .eraseblocks = { {256 * 1024, 1} }, |
| 3002 | .block_erase = spi_block_erase_c7, |
| 3003 | } |
| 3004 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3005 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3006 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3007 | }, |
| 3008 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3009 | { |
| 3010 | .vendor = "Numonyx", |
| 3011 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3012 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3013 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3014 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3015 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3016 | .page_size = 256, |
| 3017 | .tested = TEST_UNTESTED, |
| 3018 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3019 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3020 | .erase = NULL, |
| 3021 | .block_erasers = |
| 3022 | { |
| 3023 | { |
| 3024 | .eraseblocks = { {4 * 1024, 128} }, |
| 3025 | .block_erase = spi_block_erase_20, |
| 3026 | }, { |
| 3027 | .eraseblocks = { {64 * 1024, 8} }, |
| 3028 | .block_erase = spi_block_erase_d8, |
| 3029 | }, { |
| 3030 | .eraseblocks = { {512 * 1024, 1} }, |
| 3031 | .block_erase = spi_block_erase_c7, |
| 3032 | } |
| 3033 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3034 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3035 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3036 | }, |
| 3037 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3038 | { |
| 3039 | .vendor = "Numonyx", |
| 3040 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3041 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3042 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3043 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3044 | .total_size = 1024, |
| 3045 | .page_size = 256, |
| 3046 | .tested = TEST_OK_PREW, |
| 3047 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3048 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3049 | .erase = NULL, |
| 3050 | .block_erasers = |
| 3051 | { |
| 3052 | { |
| 3053 | .eraseblocks = { {4 * 1024, 256} }, |
| 3054 | .block_erase = spi_block_erase_20, |
| 3055 | }, { |
| 3056 | .eraseblocks = { {64 * 1024, 16} }, |
| 3057 | .block_erase = spi_block_erase_d8, |
| 3058 | }, { |
| 3059 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3060 | .block_erase = spi_block_erase_c7, |
| 3061 | } |
| 3062 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3063 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3064 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3065 | }, |
| 3066 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3067 | { |
| 3068 | .vendor = "Numonyx", |
| 3069 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3070 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3071 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3072 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3073 | .total_size = 2048, |
| 3074 | .page_size = 256, |
| 3075 | .tested = TEST_UNTESTED, |
| 3076 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3077 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3078 | .erase = NULL, |
| 3079 | .block_erasers = |
| 3080 | { |
| 3081 | { |
| 3082 | .eraseblocks = { {4 * 1024, 512} }, |
| 3083 | .block_erase = spi_block_erase_20, |
| 3084 | }, { |
| 3085 | .eraseblocks = { {64 * 1024, 32} }, |
| 3086 | .block_erase = spi_block_erase_d8, |
| 3087 | }, { |
| 3088 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3089 | .block_erase = spi_block_erase_c7, |
| 3090 | } |
| 3091 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3092 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3093 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3094 | }, |
| 3095 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3096 | { |
| 3097 | .vendor = "PMC", |
| 3098 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3099 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3100 | .manufacture_id = PMC_ID, |
| 3101 | .model_id = PMC_25LV010, |
| 3102 | .total_size = 128, |
| 3103 | .page_size = 256, |
| 3104 | .tested = TEST_UNTESTED, |
| 3105 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3106 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3107 | .erase = NULL, |
| 3108 | .block_erasers = |
| 3109 | { |
| 3110 | { |
| 3111 | .eraseblocks = { {4 * 1024, 32} }, |
| 3112 | .block_erase = spi_block_erase_d7, |
| 3113 | }, { |
| 3114 | .eraseblocks = { {32 * 1024, 4} }, |
| 3115 | .block_erase = spi_block_erase_d8, |
| 3116 | }, { |
| 3117 | .eraseblocks = { {128 * 1024, 1} }, |
| 3118 | .block_erase = spi_block_erase_c7, |
| 3119 | } |
| 3120 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3121 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3122 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3123 | }, |
| 3124 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3125 | { |
| 3126 | .vendor = "PMC", |
| 3127 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3128 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3129 | .manufacture_id = PMC_ID, |
| 3130 | .model_id = PMC_25LV016B, |
| 3131 | .total_size = 2048, |
| 3132 | .page_size = 256, |
| 3133 | .tested = TEST_UNTESTED, |
| 3134 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3135 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3136 | .erase = NULL, |
| 3137 | .block_erasers = |
| 3138 | { |
| 3139 | { |
| 3140 | .eraseblocks = { {4 * 1024, 512} }, |
| 3141 | .block_erase = spi_block_erase_d7, |
| 3142 | }, { |
| 3143 | .eraseblocks = { {4 * 1024, 512} }, |
| 3144 | .block_erase = spi_block_erase_20, |
| 3145 | }, { |
| 3146 | .eraseblocks = { {64 * 1024, 32} }, |
| 3147 | .block_erase = spi_block_erase_d8, |
| 3148 | }, { |
| 3149 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3150 | .block_erase = spi_block_erase_60, |
| 3151 | }, { |
| 3152 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3153 | .block_erase = spi_block_erase_c7, |
| 3154 | } |
| 3155 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3156 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3157 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3158 | }, |
| 3159 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3160 | { |
| 3161 | .vendor = "PMC", |
| 3162 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3163 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3164 | .manufacture_id = PMC_ID, |
| 3165 | .model_id = PMC_25LV020, |
| 3166 | .total_size = 256, |
| 3167 | .page_size = 256, |
| 3168 | .tested = TEST_UNTESTED, |
| 3169 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3170 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3171 | .erase = NULL, |
| 3172 | .block_erasers = |
| 3173 | { |
| 3174 | { |
| 3175 | .eraseblocks = { {4 * 1024, 64} }, |
| 3176 | .block_erase = spi_block_erase_d7, |
| 3177 | }, { |
| 3178 | .eraseblocks = { {64 * 1024, 4} }, |
| 3179 | .block_erase = spi_block_erase_d8, |
| 3180 | }, { |
| 3181 | .eraseblocks = { {256 * 1024, 1} }, |
| 3182 | .block_erase = spi_block_erase_c7, |
| 3183 | } |
| 3184 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3185 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3186 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3187 | }, |
| 3188 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3189 | { |
| 3190 | .vendor = "PMC", |
| 3191 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3192 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3193 | .manufacture_id = PMC_ID, |
| 3194 | .model_id = PMC_25LV040, |
| 3195 | .total_size = 512, |
| 3196 | .page_size = 256, |
| 3197 | .tested = TEST_UNTESTED, |
| 3198 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3199 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3200 | .erase = NULL, |
| 3201 | .block_erasers = |
| 3202 | { |
| 3203 | { |
| 3204 | .eraseblocks = { {4 * 1024, 128} }, |
| 3205 | .block_erase = spi_block_erase_d7, |
| 3206 | }, { |
| 3207 | .eraseblocks = { {64 * 1024, 8} }, |
| 3208 | .block_erase = spi_block_erase_d8, |
| 3209 | }, { |
| 3210 | .eraseblocks = { {512 * 1024, 1} }, |
| 3211 | .block_erase = spi_block_erase_c7, |
| 3212 | } |
| 3213 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3214 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3215 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3216 | }, |
| 3217 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3218 | { |
| 3219 | .vendor = "PMC", |
| 3220 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3221 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3222 | .manufacture_id = PMC_ID, |
| 3223 | .model_id = PMC_25LV080B, |
| 3224 | .total_size = 1024, |
| 3225 | .page_size = 256, |
| 3226 | .tested = TEST_UNTESTED, |
| 3227 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3228 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3229 | .erase = NULL, |
| 3230 | .block_erasers = |
| 3231 | { |
| 3232 | { |
| 3233 | .eraseblocks = { {4 * 1024, 256} }, |
| 3234 | .block_erase = spi_block_erase_d7, |
| 3235 | }, { |
| 3236 | .eraseblocks = { {4 * 1024, 256} }, |
| 3237 | .block_erase = spi_block_erase_20, |
| 3238 | }, { |
| 3239 | .eraseblocks = { {64 * 1024, 16} }, |
| 3240 | .block_erase = spi_block_erase_d8, |
| 3241 | }, { |
| 3242 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3243 | .block_erase = spi_block_erase_60, |
| 3244 | }, { |
| 3245 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3246 | .block_erase = spi_block_erase_c7, |
| 3247 | } |
| 3248 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3249 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3250 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3251 | }, |
| 3252 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3253 | { |
| 3254 | .vendor = "PMC", |
| 3255 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3256 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3257 | .manufacture_id = PMC_ID, |
| 3258 | .model_id = PMC_25LV512, |
| 3259 | .total_size = 64, |
| 3260 | .page_size = 256, |
| 3261 | .tested = TEST_UNTESTED, |
| 3262 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3263 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3264 | .erase = NULL, |
| 3265 | .block_erasers = |
| 3266 | { |
| 3267 | { |
| 3268 | .eraseblocks = { {4 * 1024, 16} }, |
| 3269 | .block_erase = spi_block_erase_d7, |
| 3270 | }, { |
| 3271 | .eraseblocks = { {32 * 1024, 2} }, |
| 3272 | .block_erase = spi_block_erase_d8, |
| 3273 | }, { |
| 3274 | .eraseblocks = { {64 * 1024, 1} }, |
| 3275 | .block_erase = spi_block_erase_c7, |
| 3276 | } |
| 3277 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3278 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3279 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3280 | }, |
| 3281 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3282 | { |
| 3283 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3284 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3285 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3286 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3287 | .model_id = PMC_29F002T, |
| 3288 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3289 | .page_size = 8 * 1024, |
| 3290 | .tested = TEST_OK_PRW, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3291 | .probe = probe_29f040b, |
| 3292 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3293 | .erase = NULL, |
| 3294 | .block_erasers = |
| 3295 | { |
| 3296 | { |
| 3297 | .eraseblocks = { |
| 3298 | {128 * 1024, 1}, |
| 3299 | {96 * 1024, 1}, |
| 3300 | {8 * 1024, 2}, |
| 3301 | {16 * 1024, 1}, |
| 3302 | }, |
| 3303 | .block_erase = erase_sector_29f040b, |
| 3304 | }, { |
| 3305 | .eraseblocks = { {256 * 1024, 1} }, |
| 3306 | .block_erase = erase_chip_29f040b, |
| 3307 | }, |
| 3308 | }, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3309 | .write = write_pm29f002, |
| 3310 | .read = read_memmapped, |
| 3311 | }, |
| 3312 | |
| 3313 | { |
| 3314 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3315 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3316 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3317 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3318 | .model_id = PMC_29F002B, |
| 3319 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3320 | .page_size = 8 * 1024, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3321 | .tested = TEST_UNTESTED, |
| 3322 | .probe = probe_29f040b, |
| 3323 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3324 | .erase = NULL, |
| 3325 | .block_erasers = |
| 3326 | { |
| 3327 | { |
| 3328 | .eraseblocks = { |
| 3329 | {16 * 1024, 1}, |
| 3330 | {8 * 1024, 2}, |
| 3331 | {96 * 1024, 1}, |
| 3332 | {128 * 1024, 1}, |
| 3333 | }, |
| 3334 | .block_erase = erase_sector_29f040b, |
| 3335 | }, { |
| 3336 | .eraseblocks = { {256 * 1024, 1} }, |
| 3337 | .block_erase = erase_chip_29f040b, |
| 3338 | }, |
| 3339 | }, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3340 | .write = write_pm29f002, |
| 3341 | .read = read_memmapped, |
| 3342 | }, |
| 3343 | |
| 3344 | { |
| 3345 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3346 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3347 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3348 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3349 | .model_id = PMC_39F010, |
| 3350 | .total_size = 128, |
| 3351 | .page_size = 4096, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3352 | .tested = TEST_OK_PRW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3353 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3354 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3355 | .erase = NULL, |
| 3356 | .block_erasers = |
| 3357 | { |
| 3358 | { |
| 3359 | .eraseblocks = { {4 * 1024, 32} }, |
| 3360 | .block_erase = erase_sector_jedec, |
| 3361 | }, { |
| 3362 | .eraseblocks = { {64 * 1024, 2} }, |
| 3363 | .block_erase = erase_block_jedec, |
| 3364 | }, { |
| 3365 | .eraseblocks = { {128 * 1024, 1} }, |
| 3366 | .block_erase = erase_chip_block_jedec, |
| 3367 | } |
| 3368 | }, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3369 | .write = write_49f002, |
| 3370 | .read = read_memmapped, |
| 3371 | }, |
| 3372 | |
| 3373 | { |
| 3374 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3375 | .name = "Pm49FL002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3376 | .bustype = CHIP_BUSTYPE_LPC|CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3377 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3378 | .model_id = PMC_49FL002, |
| 3379 | .total_size = 256, |
| 3380 | .page_size = 16 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3381 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3382 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3383 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3384 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3385 | .erase = NULL, /* Was: erase_49fl00x */ |
| 3386 | .block_erasers = |
| 3387 | { |
| 3388 | { |
| 3389 | .eraseblocks = { {4 * 1024, 64} }, |
| 3390 | .block_erase = erase_sector_jedec, |
| 3391 | }, { |
| 3392 | .eraseblocks = { {16 * 1024, 16} }, |
| 3393 | .block_erase = erase_block_jedec, |
| 3394 | }, { |
| 3395 | .eraseblocks = { {256 * 1024, 1} }, |
| 3396 | .block_erase = erase_chip_block_jedec, |
| 3397 | } |
| 3398 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3399 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3400 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3401 | }, |
| 3402 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3403 | { |
| 3404 | .vendor = "PMC", |
| 3405 | .name = "Pm49FL004", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3406 | .bustype = CHIP_BUSTYPE_LPC|CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3407 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3408 | .model_id = PMC_49FL004, |
| 3409 | .total_size = 512, |
| 3410 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3411 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3412 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3413 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3414 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3415 | .erase = NULL, /* Was: erase_49fl00x */ |
| 3416 | .block_erasers = |
| 3417 | { |
| 3418 | { |
| 3419 | .eraseblocks = { {4 * 1024, 128} }, |
| 3420 | .block_erase = erase_sector_jedec, |
| 3421 | }, { |
| 3422 | .eraseblocks = { {64 * 1024, 8} }, |
| 3423 | .block_erase = erase_block_jedec, |
| 3424 | }, { |
| 3425 | .eraseblocks = { {512 * 1024, 1} }, |
| 3426 | .block_erase = erase_chip_block_jedec, |
| 3427 | } |
| 3428 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3429 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3430 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3431 | }, |
| 3432 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3433 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3434 | .vendor = "Sanyo", |
| 3435 | .name = "LF25FW203A", |
| 3436 | .bustype = CHIP_BUSTYPE_SPI, |
| 3437 | .manufacture_id = SANYO_ID, |
| 3438 | .model_id = SANYO_LE25FW203A, |
| 3439 | .total_size = 2048, |
| 3440 | .page_size = 256, |
| 3441 | .tested = TEST_UNTESTED, |
| 3442 | .probe = probe_spi_rdid, |
| 3443 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3444 | .erase = NULL, |
| 3445 | .block_erasers = |
| 3446 | { |
| 3447 | { |
| 3448 | .eraseblocks = { {64 * 1024, 32} }, |
| 3449 | .block_erase = spi_block_erase_d8, |
| 3450 | }, { |
| 3451 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3452 | .block_erase = spi_block_erase_c7, |
| 3453 | } |
| 3454 | }, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3455 | .write = spi_chip_write_256, |
| 3456 | .read = spi_chip_read, |
| 3457 | }, |
| 3458 | |
| 3459 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3460 | .vendor = "Sharp", |
| 3461 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3462 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3463 | .manufacture_id = SHARP_ID, |
| 3464 | .model_id = SHARP_LHF00L04, |
| 3465 | .total_size = 1024, |
| 3466 | .page_size = 64 * 1024, |
| 3467 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3468 | .probe = probe_49lfxxxc, |
| 3469 | .probe_timing = TIMING_ZERO, |
| 3470 | .erase = NULL, |
| 3471 | .block_erasers = |
| 3472 | { |
| 3473 | { |
| 3474 | .eraseblocks = { |
| 3475 | {64 * 1024, 15}, |
| 3476 | {8 * 1024, 8} |
| 3477 | }, |
| 3478 | .block_erase = erase_lhf00l04_block, |
| 3479 | }, { |
| 3480 | .eraseblocks = { |
| 3481 | {1024 * 1024, 1} |
| 3482 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3483 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3484 | }, |
| 3485 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3486 | .write = write_lhf00l04, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3487 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3488 | }, |
| 3489 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3490 | { |
| 3491 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3492 | .name = "S25FL008A", |
| 3493 | .bustype = CHIP_BUSTYPE_SPI, |
| 3494 | .manufacture_id = SPANSION_ID, |
| 3495 | .model_id = SPANSION_S25FL008A, |
| 3496 | .total_size = 1024, |
| 3497 | .page_size = 256, |
| 3498 | .tested = TEST_OK_PREW, |
| 3499 | .probe = probe_spi_rdid, |
| 3500 | .probe_timing = TIMING_ZERO, |
| 3501 | .erase = NULL, |
| 3502 | .block_erasers = |
| 3503 | { |
| 3504 | { |
| 3505 | .eraseblocks = { {64 * 1024, 16} }, |
| 3506 | .block_erase = spi_block_erase_d8, |
| 3507 | }, { |
| 3508 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3509 | .block_erase = spi_block_erase_c7, |
| 3510 | } |
| 3511 | }, |
| 3512 | .write = spi_chip_write_256, |
| 3513 | .read = spi_chip_read, |
| 3514 | }, |
| 3515 | |
| 3516 | { |
| 3517 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3518 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3519 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3520 | .manufacture_id = SPANSION_ID, |
| 3521 | .model_id = SPANSION_S25FL016A, |
| 3522 | .total_size = 2048, |
| 3523 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3524 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3525 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3526 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3527 | .erase = NULL, |
| 3528 | .block_erasers = |
| 3529 | { |
| 3530 | { |
| 3531 | .eraseblocks = { {64 * 1024, 32} }, |
| 3532 | .block_erase = spi_block_erase_d8, |
| 3533 | }, { |
| 3534 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3535 | .block_erase = spi_block_erase_c7, |
| 3536 | } |
| 3537 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3538 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3539 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3540 | }, |
| 3541 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3542 | { |
| 3543 | .vendor = "SST", |
| 3544 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3545 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3546 | .manufacture_id = SST_ID, |
| 3547 | .model_id = SST_25VF016B, |
| 3548 | .total_size = 2048, |
| 3549 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3550 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3551 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3552 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3553 | .erase = NULL, |
| 3554 | .block_erasers = |
| 3555 | { |
| 3556 | { |
| 3557 | .eraseblocks = { {4 * 1024, 512} }, |
| 3558 | .block_erase = spi_block_erase_20, |
| 3559 | }, { |
| 3560 | .eraseblocks = { {32 * 1024, 64} }, |
| 3561 | .block_erase = spi_block_erase_52, |
| 3562 | }, { |
| 3563 | .eraseblocks = { {64 * 1024, 32} }, |
| 3564 | .block_erase = spi_block_erase_d8, |
| 3565 | }, { |
| 3566 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3567 | .block_erase = spi_block_erase_60, |
| 3568 | }, { |
| 3569 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3570 | .block_erase = spi_block_erase_c7, |
| 3571 | }, |
| 3572 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3573 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3574 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3575 | }, |
| 3576 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3577 | { |
| 3578 | .vendor = "SST", |
| 3579 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3580 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3581 | .manufacture_id = SST_ID, |
| 3582 | .model_id = SST_25VF032B, |
| 3583 | .total_size = 4096, |
| 3584 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3585 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3586 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3587 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3588 | .erase = NULL, |
| 3589 | .block_erasers = |
| 3590 | { |
| 3591 | { |
| 3592 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3593 | .block_erase = spi_block_erase_20, |
| 3594 | }, { |
| 3595 | .eraseblocks = { {32 * 1024, 128} }, |
| 3596 | .block_erase = spi_block_erase_52, |
| 3597 | }, { |
| 3598 | .eraseblocks = { {64 * 1024, 64} }, |
| 3599 | .block_erase = spi_block_erase_d8, |
| 3600 | }, { |
| 3601 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3602 | .block_erase = spi_block_erase_60, |
| 3603 | }, { |
| 3604 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3605 | .block_erase = spi_block_erase_c7, |
| 3606 | }, |
| 3607 | }, |
| 3608 | .write = spi_chip_write_1, |
| 3609 | .read = spi_chip_read, |
| 3610 | }, |
| 3611 | |
| 3612 | { |
| 3613 | .vendor = "SST", |
| 3614 | .name = "SST25VF040.REMS", |
| 3615 | .bustype = CHIP_BUSTYPE_SPI, |
| 3616 | .manufacture_id = SST_ID, |
| 3617 | .model_id = SST_25VF040_REMS, |
| 3618 | .total_size = 512, |
| 3619 | .page_size = 256, |
| 3620 | .tested = TEST_OK_PR, |
| 3621 | .probe = probe_spi_rems, |
| 3622 | .probe_timing = TIMING_ZERO, |
| 3623 | .erase = NULL, |
| 3624 | .block_erasers = |
| 3625 | { |
| 3626 | { |
| 3627 | .eraseblocks = { {4 * 1024, 128} }, |
| 3628 | .block_erase = spi_block_erase_20, |
| 3629 | }, { |
| 3630 | .eraseblocks = { {32 * 1024, 16} }, |
| 3631 | .block_erase = spi_block_erase_52, |
| 3632 | }, { |
| 3633 | .eraseblocks = { {512 * 1024, 1} }, |
| 3634 | .block_erase = spi_block_erase_60, |
| 3635 | }, |
| 3636 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3637 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3638 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3639 | }, |
| 3640 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3641 | { |
| 3642 | .vendor = "SST", |
| 3643 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3644 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3645 | .manufacture_id = SST_ID, |
| 3646 | .model_id = SST_25VF040B, |
| 3647 | .total_size = 512, |
| 3648 | .page_size = 256, |
| 3649 | .tested = TEST_UNTESTED, |
| 3650 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3651 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3652 | .erase = NULL, |
| 3653 | .block_erasers = |
| 3654 | { |
| 3655 | { |
| 3656 | .eraseblocks = { {4 * 1024, 128} }, |
| 3657 | .block_erase = spi_block_erase_20, |
| 3658 | }, { |
| 3659 | .eraseblocks = { {32 * 1024, 16} }, |
| 3660 | .block_erase = spi_block_erase_52, |
| 3661 | }, { |
| 3662 | .eraseblocks = { {64 * 1024, 8} }, |
| 3663 | .block_erase = spi_block_erase_d8, |
| 3664 | }, { |
| 3665 | .eraseblocks = { {512 * 1024, 1} }, |
| 3666 | .block_erase = spi_block_erase_60, |
| 3667 | }, { |
| 3668 | .eraseblocks = { {512 * 1024, 1} }, |
| 3669 | .block_erase = spi_block_erase_c7, |
| 3670 | }, |
| 3671 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3672 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 3673 | .read = spi_chip_read, |
| 3674 | }, |
| 3675 | |
| 3676 | { |
| 3677 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3678 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3679 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3680 | .manufacture_id = SST_ID, |
| 3681 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3682 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3683 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3684 | .tested = TEST_OK_PR, |
| 3685 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3686 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3687 | .erase = NULL, |
| 3688 | .block_erasers = |
| 3689 | { |
| 3690 | { |
| 3691 | .eraseblocks = { {4 * 1024, 128} }, |
| 3692 | .block_erase = spi_block_erase_20, |
| 3693 | }, { |
| 3694 | .eraseblocks = { {32 * 1024, 16} }, |
| 3695 | .block_erase = spi_block_erase_52, |
| 3696 | }, { |
| 3697 | .eraseblocks = { {64 * 1024, 8} }, |
| 3698 | .block_erase = spi_block_erase_d8, |
| 3699 | }, { |
| 3700 | .eraseblocks = { {512 * 1024, 1} }, |
| 3701 | .block_erase = spi_block_erase_60, |
| 3702 | }, { |
| 3703 | .eraseblocks = { {512 * 1024, 1} }, |
| 3704 | .block_erase = spi_block_erase_c7, |
| 3705 | }, |
| 3706 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3707 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3708 | .read = spi_chip_read, |
| 3709 | }, |
| 3710 | |
| 3711 | { |
| 3712 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3713 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3714 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3715 | .manufacture_id = SST_ID, |
| 3716 | .model_id = SST_25VF080B, |
| 3717 | .total_size = 1024, |
| 3718 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3719 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3720 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3721 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3722 | .erase = NULL, |
| 3723 | .block_erasers = |
| 3724 | { |
| 3725 | { |
| 3726 | .eraseblocks = { {4 * 1024, 256} }, |
| 3727 | .block_erase = spi_block_erase_20, |
| 3728 | }, { |
| 3729 | .eraseblocks = { {32 * 1024, 32} }, |
| 3730 | .block_erase = spi_block_erase_52, |
| 3731 | }, { |
| 3732 | .eraseblocks = { {64 * 1024, 16} }, |
| 3733 | .block_erase = spi_block_erase_d8, |
| 3734 | }, { |
| 3735 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3736 | .block_erase = spi_block_erase_60, |
| 3737 | }, { |
| 3738 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3739 | .block_erase = spi_block_erase_c7, |
| 3740 | }, |
| 3741 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3742 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3743 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3744 | }, |
| 3745 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3746 | { |
| 3747 | .vendor = "SST", |
| 3748 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3749 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3750 | .manufacture_id = SST_ID, |
| 3751 | .model_id = SST_28SF040, |
| 3752 | .total_size = 512, |
| 3753 | .page_size = 256, |
| 3754 | .tested = TEST_UNTESTED, |
| 3755 | .probe = probe_28sf040, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3756 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3757 | .erase = NULL, |
| 3758 | .block_erasers = |
| 3759 | { |
| 3760 | { |
| 3761 | .eraseblocks = { {128, 4096} }, |
| 3762 | .block_erase = erase_sector_28sf040, |
| 3763 | }, { |
| 3764 | .eraseblocks = { {512 * 1024, 1} }, |
| 3765 | .block_erase = erase_chip_28sf040, |
| 3766 | } |
| 3767 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3768 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3769 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3770 | }, |
| 3771 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3772 | { |
| 3773 | .vendor = "SST", |
| 3774 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3775 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3776 | .manufacture_id = SST_ID, |
| 3777 | .model_id = SST_29EE010, |
| 3778 | .total_size = 128, |
| 3779 | .page_size = 128, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3780 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3781 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3782 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3783 | .erase = NULL, |
| 3784 | .block_erasers = |
| 3785 | { |
| 3786 | { |
| 3787 | .eraseblocks = { {128 * 1024, 1} }, |
| 3788 | .block_erase = erase_chip_block_jedec, |
| 3789 | } |
| 3790 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3791 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3792 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3793 | }, |
| 3794 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3795 | { |
| 3796 | .vendor = "SST", |
| 3797 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3798 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3799 | .manufacture_id = SST_ID, |
| 3800 | .model_id = SST_29LE010, |
| 3801 | .total_size = 128, |
| 3802 | .page_size = 128, |
| 3803 | .tested = TEST_UNTESTED, |
| 3804 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3805 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3806 | .erase = NULL, |
| 3807 | .block_erasers = |
| 3808 | { |
| 3809 | { |
| 3810 | .eraseblocks = { {128 * 1024, 1} }, |
| 3811 | .block_erase = erase_chip_block_jedec, |
| 3812 | } |
| 3813 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3814 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3815 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3816 | }, |
| 3817 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3818 | { |
| 3819 | .vendor = "SST", |
| 3820 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3821 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3822 | .manufacture_id = SST_ID, |
| 3823 | .model_id = SST_29EE020A, |
| 3824 | .total_size = 256, |
| 3825 | .page_size = 128, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3826 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3827 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3828 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3829 | .erase = NULL, |
| 3830 | .block_erasers = |
| 3831 | { |
| 3832 | { |
| 3833 | .eraseblocks = { {256 * 1024, 1} }, |
| 3834 | .block_erase = erase_chip_block_jedec, |
| 3835 | } |
| 3836 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3837 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3838 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3839 | }, |
| 3840 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3841 | { |
| 3842 | .vendor = "SST", |
| 3843 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3844 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3845 | .manufacture_id = SST_ID, |
| 3846 | .model_id = SST_29LE020, |
| 3847 | .total_size = 256, |
| 3848 | .page_size = 128, |
| 3849 | .tested = TEST_UNTESTED, |
| 3850 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3851 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3852 | .erase = NULL, |
| 3853 | .block_erasers = |
| 3854 | { |
| 3855 | { |
| 3856 | .eraseblocks = { {256 * 1024, 1} }, |
| 3857 | .block_erase = erase_chip_block_jedec, |
| 3858 | } |
| 3859 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3860 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3861 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3862 | }, |
| 3863 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3864 | { |
| 3865 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3866 | .name = "SST39SF512", |
| 3867 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3868 | .manufacture_id = SST_ID, |
| 3869 | .model_id = SST_39SF512, |
| 3870 | .total_size = 64, |
| 3871 | .page_size = 4096, |
| 3872 | .tested = TEST_OK_PREW, |
| 3873 | .probe = probe_jedec, |
| 3874 | .probe_timing = 1, /* 150 ns */ |
| 3875 | .erase = NULL, |
| 3876 | .block_erasers = |
| 3877 | { |
| 3878 | { |
| 3879 | .eraseblocks = { {4 * 1024, 16} }, |
| 3880 | .block_erase = erase_sector_jedec, |
| 3881 | }, { |
| 3882 | .eraseblocks = { {64 * 1024, 1} }, |
| 3883 | .block_erase = erase_chip_block_jedec, |
| 3884 | } |
| 3885 | }, |
| 3886 | .write = write_49f002, |
| 3887 | .read = read_memmapped, |
| 3888 | }, |
| 3889 | |
| 3890 | { |
| 3891 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3892 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3893 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3894 | .manufacture_id = SST_ID, |
| 3895 | .model_id = SST_39SF010, |
| 3896 | .total_size = 128, |
| 3897 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3898 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3899 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3900 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3901 | .erase = NULL, |
| 3902 | .block_erasers = |
| 3903 | { |
| 3904 | { |
| 3905 | .eraseblocks = { {4 * 1024, 32} }, |
| 3906 | .block_erase = erase_sector_jedec, |
| 3907 | }, { |
| 3908 | .eraseblocks = { {128 * 1024, 1} }, |
| 3909 | .block_erase = erase_chip_block_jedec, |
| 3910 | } |
| 3911 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3912 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3913 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3914 | }, |
| 3915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3916 | { |
| 3917 | .vendor = "SST", |
| 3918 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3919 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3920 | .manufacture_id = SST_ID, |
| 3921 | .model_id = SST_39SF020, |
| 3922 | .total_size = 256, |
| 3923 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3924 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3925 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3926 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3927 | .erase = NULL, |
| 3928 | .block_erasers = |
| 3929 | { |
| 3930 | { |
| 3931 | .eraseblocks = { {4 * 1024, 64} }, |
| 3932 | .block_erase = erase_sector_jedec, |
| 3933 | }, { |
| 3934 | .eraseblocks = { {256 * 1024, 1} }, |
| 3935 | .block_erase = erase_chip_block_jedec, |
| 3936 | } |
| 3937 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3938 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3939 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3940 | }, |
| 3941 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3942 | { |
| 3943 | .vendor = "SST", |
| 3944 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3945 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3946 | .manufacture_id = SST_ID, |
| 3947 | .model_id = SST_39SF040, |
| 3948 | .total_size = 512, |
| 3949 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3950 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3951 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3952 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3953 | .erase = NULL, |
| 3954 | .block_erasers = |
| 3955 | { |
| 3956 | { |
| 3957 | .eraseblocks = { {4 * 1024, 128} }, |
| 3958 | .block_erase = erase_sector_jedec, |
| 3959 | }, { |
| 3960 | .eraseblocks = { {512 * 1024, 1} }, |
| 3961 | .block_erase = erase_chip_block_jedec, |
| 3962 | } |
| 3963 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3964 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3965 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3966 | }, |
| 3967 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3968 | { |
| 3969 | .vendor = "SST", |
| 3970 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3971 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3972 | .manufacture_id = SST_ID, |
| 3973 | .model_id = SST_39VF512, |
| 3974 | .total_size = 64, |
| 3975 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3976 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3977 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3978 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3979 | .erase = NULL, |
| 3980 | .block_erasers = |
| 3981 | { |
| 3982 | { |
| 3983 | .eraseblocks = { {4 * 1024, 16} }, |
| 3984 | .block_erase = erase_sector_jedec, |
| 3985 | }, { |
| 3986 | .eraseblocks = { {64 * 1024, 1} }, |
| 3987 | .block_erase = erase_chip_block_jedec, |
| 3988 | } |
| 3989 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 3990 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3991 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3992 | }, |
| 3993 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3994 | { |
| 3995 | .vendor = "SST", |
| 3996 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3997 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3998 | .manufacture_id = SST_ID, |
| 3999 | .model_id = SST_39VF010, |
| 4000 | .total_size = 128, |
| 4001 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4002 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4003 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4004 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4005 | .erase = NULL, |
| 4006 | .block_erasers = |
| 4007 | { |
| 4008 | { |
| 4009 | .eraseblocks = { {4 * 1024, 32} }, |
| 4010 | .block_erase = erase_sector_jedec, |
| 4011 | }, { |
| 4012 | .eraseblocks = { {128 * 1024, 1} }, |
| 4013 | .block_erase = erase_chip_block_jedec, |
| 4014 | } |
| 4015 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 4016 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4017 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4018 | }, |
| 4019 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4020 | { |
| 4021 | .vendor = "SST", |
| 4022 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4023 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4024 | .manufacture_id = SST_ID, |
| 4025 | .model_id = SST_39VF020, |
| 4026 | .total_size = 256, |
| 4027 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4028 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4029 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4030 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4031 | .erase = NULL, |
| 4032 | .block_erasers = |
| 4033 | { |
| 4034 | { |
| 4035 | .eraseblocks = { {4 * 1024, 64} }, |
| 4036 | .block_erase = erase_sector_jedec, |
| 4037 | }, { |
| 4038 | .eraseblocks = { {256 * 1024, 1} }, |
| 4039 | .block_erase = erase_chip_block_jedec, |
| 4040 | } |
| 4041 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 4042 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4043 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4044 | }, |
| 4045 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4046 | { |
| 4047 | .vendor = "SST", |
| 4048 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4049 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4050 | .manufacture_id = SST_ID, |
| 4051 | .model_id = SST_39VF040, |
| 4052 | .total_size = 512, |
| 4053 | .page_size = 4096, |
| 4054 | .tested = TEST_OK_PROBE, |
| 4055 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4056 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4057 | .erase = NULL, |
| 4058 | .block_erasers = |
| 4059 | { |
| 4060 | { |
| 4061 | .eraseblocks = { {4 * 1024, 128} }, |
| 4062 | .block_erase = erase_sector_jedec, |
| 4063 | }, { |
| 4064 | .eraseblocks = { {512 * 1024, 1} }, |
| 4065 | .block_erase = erase_chip_block_jedec, |
| 4066 | } |
| 4067 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 4068 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4069 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4070 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4071 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4072 | { |
| 4073 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4074 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4075 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4076 | .manufacture_id = SST_ID, |
| 4077 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4078 | .total_size = 1024, |
| 4079 | .page_size = 4096, |
| 4080 | .tested = TEST_UNTESTED, |
| 4081 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4082 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4083 | .erase = NULL, |
| 4084 | .block_erasers = |
| 4085 | { |
| 4086 | { |
| 4087 | .eraseblocks = { {4 * 1024, 256} }, |
| 4088 | .block_erase = erase_sector_jedec, |
| 4089 | }, { |
| 4090 | .eraseblocks = { {64 * 1024, 16} }, |
| 4091 | .block_erase = erase_block_jedec, |
| 4092 | }, { |
| 4093 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4094 | .block_erase = erase_chip_block_jedec, |
| 4095 | } |
| 4096 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 4097 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4098 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4099 | }, |
| 4100 | |
| 4101 | { |
| 4102 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4103 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4104 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4105 | .manufacture_id = SST_ID, |
| 4106 | .model_id = SST_49LF002A, |
| 4107 | .total_size = 256, |
| 4108 | .page_size = 16 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4109 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4110 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4111 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4112 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4113 | .erase = NULL, |
| 4114 | .block_erasers = |
| 4115 | { |
| 4116 | { |
| 4117 | .eraseblocks = { {4 * 1024, 64} }, |
| 4118 | .block_erase = erase_sst_fwhub_sector, |
| 4119 | }, { |
| 4120 | .eraseblocks = { {16 * 1024, 16} }, |
| 4121 | .block_erase = erase_sst_fwhub_block, |
| 4122 | }, { |
| 4123 | .eraseblocks = { {256 * 1024, 1} }, |
| 4124 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4125 | } |
| 4126 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4127 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4128 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4129 | }, |
| 4130 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4131 | { |
| 4132 | .vendor = "SST", |
| 4133 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4134 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4135 | .manufacture_id = SST_ID, |
| 4136 | .model_id = SST_49LF003A, |
| 4137 | .total_size = 384, |
| 4138 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4139 | .feature_bits = FEATURE_REGISTERMAP, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4140 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4141 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4142 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4143 | .erase = NULL, |
| 4144 | .block_erasers = |
| 4145 | { |
| 4146 | { |
| 4147 | .eraseblocks = { {4 * 1024, 96} }, |
| 4148 | .block_erase = erase_sst_fwhub_sector, |
| 4149 | }, { |
| 4150 | .eraseblocks = { {64 * 1024, 6} }, |
| 4151 | .block_erase = erase_sst_fwhub_block, |
| 4152 | }, { |
| 4153 | .eraseblocks = { {384 * 1024, 1} }, |
| 4154 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4155 | } |
| 4156 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4157 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4158 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4159 | }, |
| 4160 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4161 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4162 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4163 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4164 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4165 | .vendor = "SST", |
| 4166 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4167 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4168 | .manufacture_id = SST_ID, |
| 4169 | .model_id = SST_49LF004A, |
| 4170 | .total_size = 512, |
| 4171 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4172 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4173 | .tested = TEST_OK_PREW, |
| 4174 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4175 | .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] | 4176 | .erase = NULL, |
| 4177 | .block_erasers = |
| 4178 | { |
| 4179 | { |
| 4180 | .eraseblocks = { {4 * 1024, 128} }, |
| 4181 | .block_erase = erase_sector_jedec, /* missing unlock */ |
| 4182 | }, { |
| 4183 | .eraseblocks = { {64 * 1024, 8} }, |
Carl-Daniel Hailfinger | 11c9e68 | 2009-11-06 18:09:42 +0000 | [diff] [blame] | 4184 | .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] | 4185 | }, { |
| 4186 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4187 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4188 | }, |
| 4189 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4190 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4191 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4192 | }, |
| 4193 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4194 | { |
| 4195 | .vendor = "SST", |
| 4196 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4197 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4198 | .manufacture_id = SST_ID, |
| 4199 | .model_id = SST_49LF004C, |
| 4200 | .total_size = 512, |
| 4201 | .page_size = 4 * 1024, |
| 4202 | .tested = TEST_UNTESTED, |
| 4203 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4204 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4205 | .erase = NULL, |
| 4206 | .block_erasers = |
| 4207 | { |
| 4208 | { |
| 4209 | .eraseblocks = { {4 * 1024, 128} }, |
| 4210 | .block_erase = erase_sector_49lfxxxc, |
| 4211 | }, { |
| 4212 | .eraseblocks = { |
| 4213 | {64 * 1024, 7}, |
| 4214 | {32 * 1024, 1}, |
| 4215 | {8 * 1024, 2}, |
| 4216 | {16 * 1024, 1}, |
| 4217 | }, |
| 4218 | .block_erase = erase_block_49lfxxxc, |
| 4219 | } |
| 4220 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4221 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4222 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4223 | }, |
| 4224 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4225 | { |
| 4226 | .vendor = "SST", |
| 4227 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4228 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4229 | .manufacture_id = SST_ID, |
| 4230 | .model_id = SST_49LF008A, |
| 4231 | .total_size = 1024, |
| 4232 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4233 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4234 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4235 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4236 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4237 | .erase = NULL, |
| 4238 | .block_erasers = |
| 4239 | { |
| 4240 | { |
| 4241 | .eraseblocks = { {4 * 1024, 256} }, |
| 4242 | .block_erase = erase_sst_fwhub_sector, |
| 4243 | }, { |
| 4244 | .eraseblocks = { {64 * 1024, 16} }, |
| 4245 | .block_erase = erase_sst_fwhub_block, |
| 4246 | }, { |
| 4247 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4248 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4249 | } |
| 4250 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4251 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4252 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4253 | }, |
| 4254 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4255 | { |
| 4256 | .vendor = "SST", |
| 4257 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4258 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4259 | .manufacture_id = SST_ID, |
| 4260 | .model_id = SST_49LF008C, |
| 4261 | .total_size = 1024, |
| 4262 | .page_size = 4 * 1024, |
| 4263 | .tested = TEST_UNTESTED, |
| 4264 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4265 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4266 | .erase = NULL, |
| 4267 | .block_erasers = |
| 4268 | { |
| 4269 | { |
| 4270 | .eraseblocks = { {4 * 1024, 256} }, |
| 4271 | .block_erase = erase_sector_49lfxxxc, |
| 4272 | }, { |
| 4273 | .eraseblocks = { |
| 4274 | {64 * 1024, 15}, |
| 4275 | {32 * 1024, 1}, |
| 4276 | {8 * 1024, 2}, |
| 4277 | {16 * 1024, 1}, |
| 4278 | }, |
| 4279 | .block_erase = erase_block_49lfxxxc, |
| 4280 | } |
| 4281 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4282 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4283 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4284 | }, |
| 4285 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4286 | { |
| 4287 | .vendor = "SST", |
| 4288 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4289 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4290 | .manufacture_id = SST_ID, |
| 4291 | .model_id = SST_49LF016C, |
| 4292 | .total_size = 2048, |
| 4293 | .page_size = 4 * 1024, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4294 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4295 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4296 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4297 | .erase = NULL, |
| 4298 | .block_erasers = |
| 4299 | { |
| 4300 | { |
| 4301 | .eraseblocks = { {4 * 1024, 512} }, |
| 4302 | .block_erase = erase_sector_49lfxxxc, |
| 4303 | }, { |
| 4304 | .eraseblocks = { |
| 4305 | {64 * 1024, 31}, |
| 4306 | {32 * 1024, 1}, |
| 4307 | {8 * 1024, 2}, |
| 4308 | {16 * 1024, 1}, |
| 4309 | }, |
| 4310 | .block_erase = erase_block_49lfxxxc, |
| 4311 | } |
| 4312 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4313 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4314 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4315 | }, |
| 4316 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4317 | { |
| 4318 | .vendor = "SST", |
| 4319 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4320 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4321 | .manufacture_id = SST_ID, |
| 4322 | .model_id = SST_49LF020, |
| 4323 | .total_size = 256, |
| 4324 | .page_size = 16 * 1024, |
| 4325 | .tested = TEST_OK_PR, |
| 4326 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4327 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4328 | .erase = NULL, |
| 4329 | .block_erasers = |
| 4330 | { |
| 4331 | { |
| 4332 | .eraseblocks = { {4 * 1024, 64} }, |
| 4333 | .block_erase = erase_sector_jedec, |
| 4334 | }, { |
| 4335 | .eraseblocks = { {16 * 1024, 16} }, |
| 4336 | .block_erase = erase_block_jedec, |
| 4337 | }, { |
| 4338 | .eraseblocks = { {256 * 1024, 1} }, |
| 4339 | .block_erase = NULL, |
| 4340 | } |
| 4341 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4342 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4343 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 4344 | }, |
| 4345 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4346 | { |
| 4347 | .vendor = "SST", |
| 4348 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4349 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4350 | .manufacture_id = SST_ID, |
| 4351 | .model_id = SST_49LF020A, |
| 4352 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 4353 | .page_size = 4 * 1024, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4354 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4355 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4356 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4357 | .erase = NULL, |
| 4358 | .block_erasers = |
| 4359 | { |
| 4360 | { |
| 4361 | .eraseblocks = { {4 * 1024, 64} }, |
| 4362 | .block_erase = erase_sector_jedec, |
| 4363 | }, { |
| 4364 | .eraseblocks = { {16 * 1024, 16} }, |
| 4365 | .block_erase = erase_block_jedec, |
| 4366 | }, { |
| 4367 | .eraseblocks = { {256 * 1024, 1} }, |
| 4368 | .block_erase = NULL, |
| 4369 | } |
| 4370 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4371 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4372 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4373 | }, |
| 4374 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4375 | { |
| 4376 | .vendor = "SST", |
| 4377 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4378 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4379 | .manufacture_id = SST_ID, |
| 4380 | .model_id = SST_49LF040, |
| 4381 | .total_size = 512, |
| 4382 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4383 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4384 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4385 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4386 | .erase = NULL, |
| 4387 | .block_erasers = |
| 4388 | { |
| 4389 | { |
| 4390 | .eraseblocks = { {4 * 1024, 128} }, |
| 4391 | .block_erase = erase_sector_jedec, |
| 4392 | }, { |
| 4393 | .eraseblocks = { {64 * 1024, 8} }, |
| 4394 | .block_erase = erase_block_jedec, |
| 4395 | }, { |
| 4396 | .eraseblocks = { {512 * 1024, 1} }, |
| 4397 | .block_erase = NULL, |
| 4398 | } |
| 4399 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4400 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4401 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4402 | }, |
| 4403 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4404 | { |
| 4405 | .vendor = "SST", |
| 4406 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4407 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4408 | .manufacture_id = SST_ID, |
| 4409 | .model_id = SST_49LF040B, |
| 4410 | .total_size = 512, |
| 4411 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4412 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4413 | .tested = TEST_UNTESTED, |
| 4414 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4415 | .probe_timing = 1, /* 150ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4416 | .erase = NULL, |
| 4417 | .block_erasers = |
| 4418 | { |
| 4419 | { |
| 4420 | .eraseblocks = { {4 * 1024, 128} }, |
| 4421 | .block_erase = erase_sector_jedec, |
| 4422 | }, { |
| 4423 | .eraseblocks = { {64 * 1024, 8} }, |
| 4424 | .block_erase = erase_block_jedec, |
| 4425 | }, { |
| 4426 | .eraseblocks = { {512 * 1024, 1} }, |
| 4427 | .block_erase = NULL, |
| 4428 | } |
| 4429 | }, |
| 4430 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4431 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4432 | }, |
| 4433 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4434 | { |
| 4435 | .vendor = "SST", |
| 4436 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4437 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4438 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4439 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4440 | .total_size = 1024, |
| 4441 | .page_size = 4096, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4442 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4443 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4444 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4445 | .erase = NULL, |
| 4446 | .block_erasers = |
| 4447 | { |
| 4448 | { |
| 4449 | .eraseblocks = { {4 * 1024, 256} }, |
| 4450 | .block_erase = erase_sector_jedec, |
| 4451 | }, { |
| 4452 | .eraseblocks = { {64 * 1024, 16} }, |
| 4453 | .block_erase = erase_block_jedec, |
| 4454 | }, { |
| 4455 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4456 | .block_erase = NULL, |
| 4457 | } |
| 4458 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4459 | .write = write_49lf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4460 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4461 | }, |
| 4462 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4463 | { |
| 4464 | .vendor = "SST", |
| 4465 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4466 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4467 | .manufacture_id = SST_ID, |
| 4468 | .model_id = SST_49LF160C, |
| 4469 | .total_size = 2048, |
| 4470 | .page_size = 4 * 1024, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4471 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4472 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4473 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4474 | .erase = erase_49lfxxxc, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4475 | .erase = NULL, |
| 4476 | .block_erasers = |
| 4477 | { |
| 4478 | { |
| 4479 | .eraseblocks = { {4 * 1024, 512} }, |
| 4480 | .block_erase = erase_sector_49lfxxxc, |
| 4481 | }, { |
| 4482 | .eraseblocks = { |
| 4483 | {64 * 1024, 31}, |
| 4484 | {32 * 1024, 1}, |
| 4485 | {8 * 1024, 2}, |
| 4486 | {16 * 1024, 1}, |
| 4487 | }, |
| 4488 | .block_erase = erase_block_49lfxxxc, |
| 4489 | } |
| 4490 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4491 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4492 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4493 | }, |
| 4494 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4495 | { |
| 4496 | .vendor = "ST", |
| 4497 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4498 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4499 | .manufacture_id = ST_ID, |
| 4500 | .model_id = ST_M25P05A, |
| 4501 | .total_size = 64, |
| 4502 | .page_size = 256, |
| 4503 | .tested = TEST_UNTESTED, |
| 4504 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4505 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4506 | .erase = NULL, |
| 4507 | .block_erasers = |
| 4508 | { |
| 4509 | { |
| 4510 | .eraseblocks = { {32 * 1024, 2} }, |
| 4511 | .block_erase = spi_block_erase_d8, |
| 4512 | }, { |
| 4513 | .eraseblocks = { {64 * 1024, 1} }, |
| 4514 | .block_erase = spi_block_erase_c7, |
| 4515 | } |
| 4516 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4517 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4518 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4519 | }, |
| 4520 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4521 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 4522 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
| 4523 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res |
| 4524 | * only is successful if RDID does not work. |
| 4525 | */ |
| 4526 | { |
| 4527 | .vendor = "ST", |
| 4528 | .name = "M25P05.RES", |
| 4529 | .bustype = CHIP_BUSTYPE_SPI, |
| 4530 | .manufacture_id = ST_ID, |
| 4531 | .model_id = ST_M25P05_RES, |
| 4532 | .total_size = 64, |
| 4533 | .page_size = 256, |
| 4534 | .tested = TEST_UNTESTED, |
| 4535 | .probe = probe_spi_res, |
| 4536 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4537 | .erase = NULL, |
| 4538 | .block_erasers = |
| 4539 | { |
| 4540 | { |
| 4541 | .eraseblocks = { {32 * 1024, 2} }, |
| 4542 | .block_erase = spi_block_erase_d8, |
| 4543 | }, { |
| 4544 | .eraseblocks = { {64 * 1024, 1} }, |
| 4545 | .block_erase = spi_block_erase_c7, |
| 4546 | } |
| 4547 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4548 | .write = spi_chip_write_1, /* 128 */ |
| 4549 | .read = spi_chip_read, |
| 4550 | }, |
| 4551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4552 | { |
| 4553 | .vendor = "ST", |
| 4554 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4555 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4556 | .manufacture_id = ST_ID, |
| 4557 | .model_id = ST_M25P10A, |
| 4558 | .total_size = 128, |
| 4559 | .page_size = 256, |
| 4560 | .tested = TEST_UNTESTED, |
| 4561 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4562 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4563 | .erase = NULL, |
| 4564 | .block_erasers = |
| 4565 | { |
| 4566 | { |
| 4567 | .eraseblocks = { {32 * 1024, 4} }, |
| 4568 | .block_erase = spi_block_erase_d8, |
| 4569 | }, { |
| 4570 | .eraseblocks = { {128 * 1024, 1} }, |
| 4571 | .block_erase = spi_block_erase_c7, |
| 4572 | } |
| 4573 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4574 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4575 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4576 | }, |
| 4577 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4578 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 4579 | { |
| 4580 | .vendor = "ST", |
| 4581 | .name = "M25P10.RES", |
| 4582 | .bustype = CHIP_BUSTYPE_SPI, |
| 4583 | .manufacture_id = ST_ID, |
| 4584 | .model_id = ST_M25P10_RES, |
| 4585 | .total_size = 128, |
| 4586 | .page_size = 256, |
| 4587 | .tested = TEST_UNTESTED, |
| 4588 | .probe = probe_spi_res, |
| 4589 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4590 | .erase = NULL, |
| 4591 | .block_erasers = |
| 4592 | { |
| 4593 | { |
| 4594 | .eraseblocks = { {32 * 1024, 4} }, |
| 4595 | .block_erase = spi_block_erase_d8, |
| 4596 | }, { |
| 4597 | .eraseblocks = { {128 * 1024, 1} }, |
| 4598 | .block_erase = spi_block_erase_c7, |
| 4599 | } |
| 4600 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4601 | .write = spi_chip_write_1, /* 128 */ |
| 4602 | .read = spi_chip_read, |
| 4603 | }, |
| 4604 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4605 | { |
| 4606 | .vendor = "ST", |
| 4607 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4608 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4609 | .manufacture_id = ST_ID, |
| 4610 | .model_id = ST_M25P20, |
| 4611 | .total_size = 256, |
| 4612 | .page_size = 256, |
| 4613 | .tested = TEST_UNTESTED, |
| 4614 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4615 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4616 | .erase = NULL, |
| 4617 | .block_erasers = |
| 4618 | { |
| 4619 | { |
| 4620 | .eraseblocks = { {64 * 1024, 4} }, |
| 4621 | .block_erase = spi_block_erase_d8, |
| 4622 | }, { |
| 4623 | .eraseblocks = { {256 * 1024, 1} }, |
| 4624 | .block_erase = spi_block_erase_c7, |
| 4625 | } |
| 4626 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4627 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4628 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4629 | }, |
| 4630 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4631 | { |
| 4632 | .vendor = "ST", |
| 4633 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4634 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4635 | .manufacture_id = ST_ID, |
| 4636 | .model_id = ST_M25P40, |
| 4637 | .total_size = 512, |
| 4638 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4639 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4640 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4641 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4642 | .erase = NULL, |
| 4643 | .block_erasers = |
| 4644 | { |
| 4645 | { |
| 4646 | .eraseblocks = { {64 * 1024, 8} }, |
| 4647 | .block_erase = spi_block_erase_d8, |
| 4648 | }, { |
| 4649 | .eraseblocks = { {512 * 1024, 1} }, |
| 4650 | .block_erase = spi_block_erase_c7, |
| 4651 | } |
| 4652 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4653 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4654 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4655 | }, |
| 4656 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4657 | { |
| 4658 | .vendor = "ST", |
| 4659 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4660 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4661 | .manufacture_id = ST_ID, |
| 4662 | .model_id = ST_M25P40_RES, |
| 4663 | .total_size = 512, |
| 4664 | .page_size = 256, |
| 4665 | .tested = TEST_UNTESTED, |
| 4666 | .probe = probe_spi_res, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4667 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4668 | .erase = NULL, |
| 4669 | .block_erasers = |
| 4670 | { |
| 4671 | { |
| 4672 | .eraseblocks = { {64 * 1024, 8} }, |
| 4673 | .block_erase = spi_block_erase_d8, |
| 4674 | }, { |
| 4675 | .eraseblocks = { {512 * 1024, 1} }, |
| 4676 | .block_erase = spi_block_erase_c7, |
| 4677 | } |
| 4678 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4679 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4680 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4681 | }, |
| 4682 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4683 | { |
| 4684 | .vendor = "ST", |
| 4685 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4686 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4687 | .manufacture_id = ST_ID, |
| 4688 | .model_id = ST_M25P80, |
| 4689 | .total_size = 1024, |
| 4690 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4691 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4692 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4693 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4694 | .erase = NULL, |
| 4695 | .block_erasers = |
| 4696 | { |
| 4697 | { |
| 4698 | .eraseblocks = { {64 * 1024, 16} }, |
| 4699 | .block_erase = spi_block_erase_d8, |
| 4700 | }, { |
| 4701 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4702 | .block_erase = spi_block_erase_c7, |
| 4703 | } |
| 4704 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4705 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4706 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4707 | }, |
| 4708 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4709 | { |
| 4710 | .vendor = "ST", |
| 4711 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4712 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4713 | .manufacture_id = ST_ID, |
| 4714 | .model_id = ST_M25P16, |
| 4715 | .total_size = 2048, |
| 4716 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4717 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4718 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4719 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4720 | .erase = NULL, |
| 4721 | .block_erasers = |
| 4722 | { |
| 4723 | { |
| 4724 | .eraseblocks = { {64 * 1024, 32} }, |
| 4725 | .block_erase = spi_block_erase_d8, |
| 4726 | }, { |
| 4727 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4728 | .block_erase = spi_block_erase_c7, |
| 4729 | } |
| 4730 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4731 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4732 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4733 | }, |
| 4734 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4735 | { |
| 4736 | .vendor = "ST", |
| 4737 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4738 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4739 | .manufacture_id = ST_ID, |
| 4740 | .model_id = ST_M25P32, |
| 4741 | .total_size = 4096, |
| 4742 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4743 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4744 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4745 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4746 | .erase = NULL, |
| 4747 | .block_erasers = |
| 4748 | { |
| 4749 | { |
| 4750 | .eraseblocks = { {64 * 1024, 64} }, |
| 4751 | .block_erase = spi_block_erase_d8, |
| 4752 | }, { |
| 4753 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4754 | .block_erase = spi_block_erase_c7, |
| 4755 | } |
| 4756 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4757 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4758 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4759 | }, |
| 4760 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4761 | { |
| 4762 | .vendor = "ST", |
| 4763 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4764 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4765 | .manufacture_id = ST_ID, |
| 4766 | .model_id = ST_M25P64, |
| 4767 | .total_size = 8192, |
| 4768 | .page_size = 256, |
| 4769 | .tested = TEST_UNTESTED, |
| 4770 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4771 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4772 | .erase = NULL, |
| 4773 | .block_erasers = |
| 4774 | { |
| 4775 | { |
| 4776 | .eraseblocks = { {64 * 1024, 128} }, |
| 4777 | .block_erase = spi_block_erase_d8, |
| 4778 | }, { |
| 4779 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4780 | .block_erase = spi_block_erase_c7, |
| 4781 | } |
| 4782 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4783 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4784 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4785 | }, |
| 4786 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4787 | { |
| 4788 | .vendor = "ST", |
| 4789 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4790 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4791 | .manufacture_id = ST_ID, |
| 4792 | .model_id = ST_M25P128, |
| 4793 | .total_size = 16384, |
| 4794 | .page_size = 256, |
| 4795 | .tested = TEST_UNTESTED, |
| 4796 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4797 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4798 | .erase = NULL, |
| 4799 | .block_erasers = |
| 4800 | { |
| 4801 | { |
| 4802 | .eraseblocks = { {256 * 1024, 64} }, |
| 4803 | .block_erase = spi_block_erase_d8, |
| 4804 | }, { |
| 4805 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4806 | .block_erase = spi_block_erase_c7, |
| 4807 | } |
| 4808 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4809 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4810 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4811 | }, |
| 4812 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4813 | { |
| 4814 | .vendor = "ST", |
| 4815 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4816 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4817 | .manufacture_id = ST_ID, |
| 4818 | .model_id = ST_M29F002B, |
| 4819 | .total_size = 256, |
| 4820 | .page_size = 64 * 1024, |
| 4821 | .tested = TEST_UNTESTED, |
| 4822 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4823 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4824 | .erase = NULL, |
| 4825 | .block_erasers = |
| 4826 | { |
| 4827 | { |
| 4828 | .eraseblocks = { |
| 4829 | {16 * 1024, 1}, |
| 4830 | {8 * 1024, 2}, |
| 4831 | {32 * 1024, 1}, |
| 4832 | {64 * 1024, 3}, |
| 4833 | }, |
| 4834 | .block_erase = erase_sector_jedec, |
| 4835 | }, { |
| 4836 | .eraseblocks = { {256 * 1024, 1} }, |
| 4837 | .block_erase = erase_chip_block_jedec, |
| 4838 | } |
| 4839 | }, |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 4840 | .write = write_m29f002b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4841 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4842 | }, |
| 4843 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4844 | { |
| 4845 | .vendor = "ST", |
| 4846 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4847 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4848 | .manufacture_id = ST_ID, |
| 4849 | .model_id = ST_M29F002T, |
| 4850 | .total_size = 256, |
| 4851 | .page_size = 64 * 1024, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4852 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4853 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4854 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4855 | .erase = NULL, |
| 4856 | .block_erasers = |
| 4857 | { |
| 4858 | { |
| 4859 | .eraseblocks = { |
| 4860 | {64 * 1024, 3}, |
| 4861 | {32 * 1024, 1}, |
| 4862 | {8 * 1024, 2}, |
| 4863 | {16 * 1024, 1}, |
| 4864 | }, |
| 4865 | .block_erase = erase_sector_jedec, |
| 4866 | }, { |
| 4867 | .eraseblocks = { {256 * 1024, 1} }, |
| 4868 | .block_erase = erase_chip_block_jedec, |
| 4869 | } |
| 4870 | }, |
Peter Stuge | af8ffac | 2009-01-26 06:42:02 +0000 | [diff] [blame] | 4871 | .write = write_m29f002t, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4872 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4873 | }, |
| 4874 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4875 | { |
| 4876 | .vendor = "ST", |
| 4877 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4878 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4879 | .manufacture_id = ST_ID, |
| 4880 | .model_id = ST_M29F040B, |
| 4881 | .total_size = 512, |
| 4882 | .page_size = 64 * 1024, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4883 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4884 | .probe = probe_29f040b, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4885 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4886 | .erase = NULL, |
| 4887 | .block_erasers = |
| 4888 | { |
| 4889 | { |
| 4890 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4891 | .block_erase = erase_sector_29f040b, |
| 4892 | }, { |
| 4893 | .eraseblocks = { {512 * 1024, 1} }, |
| 4894 | .block_erase = erase_chip_29f040b, |
| 4895 | } |
| 4896 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4897 | .write = write_29f040b, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4898 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4899 | }, |
| 4900 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4901 | { |
| 4902 | .vendor = "ST", |
| 4903 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4904 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4905 | .manufacture_id = ST_ID, |
| 4906 | .model_id = ST_M29F400BT, |
| 4907 | .total_size = 512, |
| 4908 | .page_size = 64 * 1024, |
| 4909 | .tested = TEST_UNTESTED, |
| 4910 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4911 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4912 | .erase = NULL, |
| 4913 | .block_erasers = |
| 4914 | { |
| 4915 | { |
| 4916 | .eraseblocks = { |
| 4917 | {64 * 1024, 7}, |
| 4918 | {32 * 1024, 1}, |
| 4919 | {8 * 1024, 2}, |
| 4920 | {16 * 1024, 1}, |
| 4921 | }, |
| 4922 | .block_erase = block_erase_m29f400bt, |
| 4923 | }, { |
| 4924 | .eraseblocks = { {512 * 1024, 1} }, |
| 4925 | .block_erase = block_erase_chip_m29f400bt, |
| 4926 | } |
| 4927 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4928 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4929 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4930 | }, |
| 4931 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4932 | { |
| 4933 | .vendor = "ST", |
| 4934 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4935 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4936 | .manufacture_id = ST_ID, |
| 4937 | .model_id = ST_M29W010B, |
| 4938 | .total_size = 128, |
| 4939 | .page_size = 16 * 1024, |
| 4940 | .tested = TEST_UNTESTED, |
| 4941 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4942 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4943 | .erase = NULL, |
| 4944 | .block_erasers = |
| 4945 | { |
| 4946 | { |
| 4947 | .eraseblocks = { {16 * 1024, 8}, }, |
| 4948 | .block_erase = erase_sector_jedec, |
| 4949 | }, { |
| 4950 | .eraseblocks = { {128 * 1024, 1} }, |
| 4951 | .block_erase = erase_chip_block_jedec, |
| 4952 | } |
| 4953 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4954 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4955 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4956 | }, |
| 4957 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4958 | { |
| 4959 | .vendor = "ST", |
| 4960 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4961 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4962 | .manufacture_id = ST_ID, |
| 4963 | .model_id = ST_M29W040B, |
| 4964 | .total_size = 512, |
| 4965 | .page_size = 64 * 1024, |
| 4966 | .tested = TEST_UNTESTED, |
| 4967 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4968 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4969 | .erase = NULL, |
| 4970 | .block_erasers = |
| 4971 | { |
| 4972 | { |
| 4973 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4974 | .block_erase = erase_sector_jedec, |
| 4975 | }, { |
| 4976 | .eraseblocks = { {512 * 1024, 1} }, |
| 4977 | .block_erase = erase_chip_block_jedec, |
| 4978 | } |
| 4979 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4980 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4981 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4982 | }, |
| 4983 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4984 | { |
| 4985 | .vendor = "ST", |
| 4986 | .name = "M50FLW040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4987 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4988 | .manufacture_id = ST_ID, |
| 4989 | .model_id = ST_M50FLW040A, |
| 4990 | .total_size = 512, |
| 4991 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4992 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4993 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4994 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 4995 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4996 | .erase = NULL, |
| 4997 | .block_erasers = |
| 4998 | { |
| 4999 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5000 | .eraseblocks = { |
| 5001 | {4 * 1024, 16}, /* sector */ |
| 5002 | {64 * 1024, 5}, /* block */ |
| 5003 | {4 * 1024, 16}, /* sector */ |
| 5004 | {4 * 1024, 16}, /* sector */ |
| 5005 | }, |
| 5006 | .block_erase = NULL, |
| 5007 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5008 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5009 | .block_erase = erase_block_stm50flw0x0x, |
| 5010 | }, { |
| 5011 | .eraseblocks = { {512 * 1024, 1} }, |
| 5012 | .block_erase = erase_chip_stm50flw0x0x, |
| 5013 | } |
| 5014 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5015 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5016 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5017 | }, |
| 5018 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5019 | { |
| 5020 | .vendor = "ST", |
| 5021 | .name = "M50FLW040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5022 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5023 | .manufacture_id = ST_ID, |
| 5024 | .model_id = ST_M50FLW040B, |
| 5025 | .total_size = 512, |
| 5026 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5027 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5028 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5029 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5030 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5031 | .erase = NULL, |
| 5032 | .block_erasers = |
| 5033 | { |
| 5034 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5035 | .eraseblocks = { |
| 5036 | {4 * 1024, 16}, /* sector */ |
| 5037 | {4 * 1024, 16}, /* sector */ |
| 5038 | {64 * 1024, 5}, /* block */ |
| 5039 | {4 * 1024, 16}, /* sector */ |
| 5040 | }, |
| 5041 | .block_erase = NULL, |
| 5042 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5043 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5044 | .block_erase = erase_block_stm50flw0x0x, |
| 5045 | }, { |
| 5046 | .eraseblocks = { {512 * 1024, 1} }, |
| 5047 | .block_erase = erase_chip_stm50flw0x0x, |
| 5048 | } |
| 5049 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5050 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5051 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5052 | }, |
| 5053 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5054 | { |
| 5055 | .vendor = "ST", |
| 5056 | .name = "M50FLW080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5057 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5058 | .manufacture_id = ST_ID, |
| 5059 | .model_id = ST_M50FLW080A, |
| 5060 | .total_size = 1024, |
| 5061 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5062 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5063 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5064 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5065 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5066 | .erase = NULL, |
| 5067 | .block_erasers = |
| 5068 | { |
| 5069 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5070 | .eraseblocks = { |
| 5071 | {4 * 1024, 16}, /* sector */ |
| 5072 | {64 * 1024, 13}, /* block */ |
| 5073 | {4 * 1024, 16}, /* sector */ |
| 5074 | {4 * 1024, 16}, /* sector */ |
| 5075 | }, |
| 5076 | .block_erase = NULL, |
| 5077 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5078 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5079 | .block_erase = erase_block_stm50flw0x0x, |
| 5080 | }, { |
| 5081 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5082 | .block_erase = erase_chip_stm50flw0x0x, |
| 5083 | } |
| 5084 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5085 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5086 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5087 | }, |
| 5088 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5089 | { |
| 5090 | .vendor = "ST", |
| 5091 | .name = "M50FLW080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5092 | .bustype = CHIP_BUSTYPE_FWH|CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5093 | .manufacture_id = ST_ID, |
| 5094 | .model_id = ST_M50FLW080B, |
| 5095 | .total_size = 1024, |
| 5096 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5097 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5098 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5099 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5100 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5101 | .erase = NULL, |
| 5102 | .block_erasers = |
| 5103 | { |
| 5104 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5105 | .eraseblocks = { |
| 5106 | {4 * 1024, 16}, /* sector */ |
| 5107 | {4 * 1024, 16}, /* sector */ |
| 5108 | {64 * 1024, 13}, /* block */ |
| 5109 | {4 * 1024, 16}, /* sector */ |
| 5110 | }, |
| 5111 | .block_erase = NULL, |
| 5112 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5113 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5114 | .block_erase = erase_block_stm50flw0x0x, |
| 5115 | }, { |
| 5116 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5117 | .block_erase = erase_chip_stm50flw0x0x, |
| 5118 | } |
| 5119 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5120 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5121 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5122 | }, |
| 5123 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5124 | { |
| 5125 | .vendor = "ST", |
| 5126 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5127 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5128 | .manufacture_id = ST_ID, |
| 5129 | .model_id = ST_M50FW002, |
| 5130 | .total_size = 256, |
| 5131 | .page_size = 64 * 1024, |
| 5132 | .tested = TEST_UNTESTED, |
| 5133 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5134 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5135 | .erase = NULL, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5136 | .block_erasers = |
| 5137 | { |
| 5138 | { |
| 5139 | .eraseblocks = { |
| 5140 | {64 * 1024, 3}, |
| 5141 | {32 * 1024, 1}, |
| 5142 | {8 * 1024, 2}, |
| 5143 | {16 * 1024, 1}, |
| 5144 | }, |
| 5145 | .block_erase = erase_block_stm50flw0x0x, |
| 5146 | }, { |
| 5147 | .eraseblocks = { {256 * 1024, 1} }, |
| 5148 | .block_erase = erase_chip_stm50flw0x0x, |
| 5149 | } |
| 5150 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5151 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5152 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5153 | }, |
| 5154 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5155 | { |
| 5156 | .vendor = "ST", |
| 5157 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5158 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5159 | .manufacture_id = ST_ID, |
| 5160 | .model_id = ST_M50FW016, |
| 5161 | .total_size = 2048, |
| 5162 | .page_size = 64 * 1024, |
| 5163 | .tested = TEST_UNTESTED, |
| 5164 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5165 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5166 | .erase = NULL, |
| 5167 | .block_erasers = |
| 5168 | { |
| 5169 | { |
| 5170 | .eraseblocks = { {64 * 1024, 32}, }, |
| 5171 | .block_erase = erase_block_stm50flw0x0x, |
| 5172 | }, { |
| 5173 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5174 | .block_erase = erase_chip_stm50flw0x0x, |
| 5175 | } |
| 5176 | }, |
| 5177 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5178 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5179 | }, |
| 5180 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5181 | { |
| 5182 | .vendor = "ST", |
| 5183 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5184 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5185 | .manufacture_id = ST_ID, |
| 5186 | .model_id = ST_M50FW040, |
| 5187 | .total_size = 512, |
| 5188 | .page_size = 64 * 1024, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5189 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5190 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5191 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5192 | .erase = NULL, |
| 5193 | .block_erasers = |
| 5194 | { |
| 5195 | { |
| 5196 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5197 | .block_erase = erase_block_stm50flw0x0x, |
| 5198 | }, { |
| 5199 | .eraseblocks = { {512 * 1024, 1} }, |
| 5200 | .block_erase = erase_chip_stm50flw0x0x, |
| 5201 | } |
| 5202 | }, |
| 5203 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5204 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5205 | }, |
| 5206 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5207 | { |
| 5208 | .vendor = "ST", |
| 5209 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5210 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5211 | .manufacture_id = ST_ID, |
| 5212 | .model_id = ST_M50FW080, |
| 5213 | .total_size = 1024, |
| 5214 | .page_size = 64 * 1024, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5215 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5216 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5217 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5218 | .erase = NULL, |
| 5219 | .block_erasers = |
| 5220 | { |
| 5221 | { |
| 5222 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5223 | .block_erase = erase_block_stm50flw0x0x, |
| 5224 | }, { |
| 5225 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5226 | .block_erase = erase_chip_stm50flw0x0x, |
| 5227 | } |
| 5228 | }, |
| 5229 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5230 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5231 | }, |
| 5232 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5233 | { |
| 5234 | .vendor = "ST", |
| 5235 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5236 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5237 | .manufacture_id = ST_ID, |
| 5238 | .model_id = ST_M50LPW116, |
| 5239 | .total_size = 2048, |
| 5240 | .page_size = 64 * 1024, |
| 5241 | .tested = TEST_UNTESTED, |
| 5242 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5243 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5244 | .erase = NULL, |
| 5245 | .block_erasers = |
| 5246 | { |
| 5247 | { |
| 5248 | .eraseblocks = { |
| 5249 | {4 * 1024, 16}, |
| 5250 | {64 * 1024, 30}, |
| 5251 | {32 * 1024, 1}, |
| 5252 | {8 * 1024, 2}, |
| 5253 | {16 * 1024, 1}, |
| 5254 | }, |
| 5255 | .block_erase = erase_block_stm50flw0x0x, |
| 5256 | }, { |
| 5257 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5258 | .block_erase = erase_chip_block_jedec, |
| 5259 | } |
| 5260 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5261 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5262 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5263 | }, |
| 5264 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5265 | { |
| 5266 | .vendor = "SyncMOS", |
| 5267 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5268 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5269 | .manufacture_id = SYNCMOS_ID, |
| 5270 | .model_id = S29C31004T, |
| 5271 | .total_size = 512, |
| 5272 | .page_size = 128, |
| 5273 | .tested = TEST_UNTESTED, |
| 5274 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5275 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5276 | .erase = NULL, |
| 5277 | .block_erasers = |
| 5278 | { |
| 5279 | { |
| 5280 | .eraseblocks = { {1 * 1024, 512} }, |
| 5281 | .block_erase = erase_sector_jedec, |
| 5282 | }, { |
| 5283 | .eraseblocks = { {512 * 1024, 1} }, |
| 5284 | .block_erase = erase_chip_block_jedec, |
| 5285 | }, |
| 5286 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5287 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5288 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5289 | }, |
| 5290 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5291 | { |
| 5292 | .vendor = "SyncMOS", |
| 5293 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5294 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5295 | .manufacture_id = SYNCMOS_ID, |
| 5296 | .model_id = S29C51001T, |
| 5297 | .total_size = 128, |
| 5298 | .page_size = 128, |
| 5299 | .tested = TEST_UNTESTED, |
| 5300 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5301 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5302 | .erase = NULL, |
| 5303 | .block_erasers = |
| 5304 | { |
| 5305 | { |
| 5306 | .eraseblocks = { {512, 256} }, |
| 5307 | .block_erase = erase_sector_jedec, |
| 5308 | }, { |
| 5309 | .eraseblocks = { {128 * 1024, 1} }, |
| 5310 | .block_erase = erase_chip_block_jedec, |
| 5311 | }, |
| 5312 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5313 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5314 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5315 | }, |
| 5316 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5317 | { |
| 5318 | .vendor = "SyncMOS", |
| 5319 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5320 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5321 | .manufacture_id = SYNCMOS_ID, |
| 5322 | .model_id = S29C51002T, |
| 5323 | .total_size = 256, |
| 5324 | .page_size = 128, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5325 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5326 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5327 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5328 | .erase = NULL, |
| 5329 | .block_erasers = |
| 5330 | { |
| 5331 | { |
| 5332 | .eraseblocks = { {512, 512} }, |
| 5333 | .block_erase = erase_sector_jedec, |
| 5334 | }, { |
| 5335 | .eraseblocks = { {256 * 1024, 1} }, |
| 5336 | .block_erase = erase_chip_block_jedec, |
| 5337 | }, |
| 5338 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5339 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5340 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5341 | }, |
| 5342 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5343 | { |
| 5344 | .vendor = "SyncMOS", |
| 5345 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5346 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5347 | .manufacture_id = SYNCMOS_ID, |
| 5348 | .model_id = S29C51004T, |
| 5349 | .total_size = 512, |
| 5350 | .page_size = 128, |
| 5351 | .tested = TEST_UNTESTED, |
| 5352 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5353 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5354 | .erase = NULL, |
| 5355 | .block_erasers = |
| 5356 | { |
| 5357 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 5358 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5359 | .block_erase = erase_sector_jedec, |
| 5360 | }, { |
| 5361 | .eraseblocks = { {512 * 1024, 1} }, |
| 5362 | .block_erase = erase_chip_block_jedec, |
| 5363 | }, |
| 5364 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5365 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5366 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5367 | }, |
| 5368 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5369 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5370 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5371 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5372 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5373 | .manufacture_id = TI_OLD_ID, |
| 5374 | .model_id = TI_TMS29F002RB, |
| 5375 | .total_size = 256, |
| 5376 | .page_size = 16384, /* Non-uniform sectors */ |
| 5377 | .tested = TEST_UNTESTED, |
| 5378 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5379 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5380 | .erase = NULL, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5381 | .block_erasers = |
| 5382 | { |
| 5383 | { |
| 5384 | .eraseblocks = { |
| 5385 | {16 * 1024, 1}, |
| 5386 | {8 * 1024, 2}, |
| 5387 | {32 * 1024, 1}, |
| 5388 | {64 * 1024, 3}, |
| 5389 | }, |
| 5390 | .block_erase = erase_sector_jedec, |
| 5391 | }, { |
| 5392 | .eraseblocks = { {256 * 1024, 1} }, |
| 5393 | .block_erase = erase_chip_block_jedec, |
| 5394 | }, |
| 5395 | }, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5396 | .write = NULL, |
| 5397 | .read = read_memmapped, |
| 5398 | }, |
| 5399 | |
| 5400 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5401 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5402 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5403 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5404 | .manufacture_id = TI_OLD_ID, |
| 5405 | .model_id = TI_TMS29F002RT, |
| 5406 | .total_size = 256, |
| 5407 | .page_size = 16384, /* Non-uniform sectors */ |
| 5408 | .tested = TEST_UNTESTED, |
| 5409 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5410 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5411 | .erase = NULL, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5412 | .block_erasers = |
| 5413 | { |
| 5414 | { |
| 5415 | .eraseblocks = { |
| 5416 | {64 * 1024, 3}, |
| 5417 | {32 * 1024, 1}, |
| 5418 | {8 * 1024, 2}, |
| 5419 | {16 * 1024, 1}, |
| 5420 | }, |
| 5421 | .block_erase = erase_sector_jedec, |
| 5422 | }, { |
| 5423 | .eraseblocks = { {256 * 1024, 1} }, |
| 5424 | .block_erase = erase_chip_block_jedec, |
| 5425 | }, |
| 5426 | }, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5427 | .write = NULL, |
| 5428 | .read = read_memmapped, |
| 5429 | }, |
| 5430 | |
| 5431 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5432 | .vendor = "Winbond", |
| 5433 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5434 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5435 | .manufacture_id = WINBOND_NEX_ID, |
| 5436 | .model_id = W_25X10, |
| 5437 | .total_size = 128, |
| 5438 | .page_size = 256, |
| 5439 | .tested = TEST_UNTESTED, |
| 5440 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5441 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5442 | .erase = NULL, |
| 5443 | .block_erasers = |
| 5444 | { |
| 5445 | { |
| 5446 | .eraseblocks = { {4 * 1024, 32} }, |
| 5447 | .block_erase = spi_block_erase_20, |
| 5448 | }, { |
| 5449 | .eraseblocks = { {32 * 1024, 4} }, |
| 5450 | .block_erase = spi_block_erase_52, |
| 5451 | }, { |
| 5452 | .eraseblocks = { {64 * 1024, 2} }, |
| 5453 | .block_erase = spi_block_erase_d8, |
| 5454 | }, { |
| 5455 | .eraseblocks = { {128 * 1024, 1} }, |
| 5456 | .block_erase = spi_block_erase_60, |
| 5457 | }, { |
| 5458 | .eraseblocks = { {128 * 1024, 1} }, |
| 5459 | .block_erase = spi_block_erase_c7, |
| 5460 | } |
| 5461 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5462 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5463 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5464 | }, |
| 5465 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5466 | { |
| 5467 | .vendor = "Winbond", |
| 5468 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5469 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5470 | .manufacture_id = WINBOND_NEX_ID, |
| 5471 | .model_id = W_25X20, |
| 5472 | .total_size = 256, |
| 5473 | .page_size = 256, |
| 5474 | .tested = TEST_UNTESTED, |
| 5475 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5476 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5477 | .erase = NULL, |
| 5478 | .block_erasers = |
| 5479 | { |
| 5480 | { |
| 5481 | .eraseblocks = { {4 * 1024, 64} }, |
| 5482 | .block_erase = spi_block_erase_20, |
| 5483 | }, { |
| 5484 | .eraseblocks = { {32 * 1024, 8} }, |
| 5485 | .block_erase = spi_block_erase_52, |
| 5486 | }, { |
| 5487 | .eraseblocks = { {64 * 1024, 4} }, |
| 5488 | .block_erase = spi_block_erase_d8, |
| 5489 | }, { |
| 5490 | .eraseblocks = { {256 * 1024, 1} }, |
| 5491 | .block_erase = spi_block_erase_60, |
| 5492 | }, { |
| 5493 | .eraseblocks = { {256 * 1024, 1} }, |
| 5494 | .block_erase = spi_block_erase_c7, |
| 5495 | } |
| 5496 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5497 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5498 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5499 | }, |
| 5500 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5501 | { |
| 5502 | .vendor = "Winbond", |
| 5503 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5504 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5505 | .manufacture_id = WINBOND_NEX_ID, |
| 5506 | .model_id = W_25X40, |
| 5507 | .total_size = 512, |
| 5508 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5509 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5510 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5511 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5512 | .erase = NULL, |
| 5513 | .block_erasers = |
| 5514 | { |
| 5515 | { |
| 5516 | .eraseblocks = { {4 * 1024, 128} }, |
| 5517 | .block_erase = spi_block_erase_20, |
| 5518 | }, { |
| 5519 | .eraseblocks = { {32 * 1024, 16} }, |
| 5520 | .block_erase = spi_block_erase_52, |
| 5521 | }, { |
| 5522 | .eraseblocks = { {64 * 1024, 8} }, |
| 5523 | .block_erase = spi_block_erase_d8, |
| 5524 | }, { |
| 5525 | .eraseblocks = { {512 * 1024, 1} }, |
| 5526 | .block_erase = spi_block_erase_60, |
| 5527 | }, { |
| 5528 | .eraseblocks = { {512 * 1024, 1} }, |
| 5529 | .block_erase = spi_block_erase_c7, |
| 5530 | } |
| 5531 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5532 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5533 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5534 | }, |
| 5535 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5536 | { |
| 5537 | .vendor = "Winbond", |
| 5538 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5539 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5540 | .manufacture_id = WINBOND_NEX_ID, |
| 5541 | .model_id = W_25X80, |
| 5542 | .total_size = 1024, |
| 5543 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5544 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5545 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5546 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5547 | .erase = NULL, |
| 5548 | .block_erasers = |
| 5549 | { |
| 5550 | { |
| 5551 | .eraseblocks = { {4 * 1024, 256} }, |
| 5552 | .block_erase = spi_block_erase_20, |
| 5553 | }, { |
| 5554 | .eraseblocks = { {32 * 1024, 32} }, |
| 5555 | .block_erase = spi_block_erase_52, |
| 5556 | }, { |
| 5557 | .eraseblocks = { {64 * 1024, 16} }, |
| 5558 | .block_erase = spi_block_erase_d8, |
| 5559 | }, { |
| 5560 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5561 | .block_erase = spi_block_erase_60, |
| 5562 | }, { |
| 5563 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5564 | .block_erase = spi_block_erase_c7, |
| 5565 | } |
| 5566 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5567 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5568 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5569 | }, |
| 5570 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5571 | { |
| 5572 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5573 | .name = "W25x16", |
| 5574 | .bustype = CHIP_BUSTYPE_SPI, |
| 5575 | .manufacture_id = WINBOND_NEX_ID, |
| 5576 | .model_id = W_25X16, |
| 5577 | .total_size = 2048, |
| 5578 | .page_size = 256, |
| 5579 | .tested = TEST_OK_PR, |
| 5580 | .probe = probe_spi_rdid, |
| 5581 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5582 | .erase = NULL, |
| 5583 | .block_erasers = |
| 5584 | { |
| 5585 | { |
| 5586 | .eraseblocks = { {4 * 1024, 512} }, |
| 5587 | .block_erase = spi_block_erase_20, |
| 5588 | }, { |
| 5589 | .eraseblocks = { {32 * 1024, 64} }, |
| 5590 | .block_erase = spi_block_erase_52, |
| 5591 | }, { |
| 5592 | .eraseblocks = { {64 * 1024, 32} }, |
| 5593 | .block_erase = spi_block_erase_d8, |
| 5594 | }, { |
| 5595 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5596 | .block_erase = spi_block_erase_60, |
| 5597 | }, { |
| 5598 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5599 | .block_erase = spi_block_erase_c7, |
| 5600 | } |
| 5601 | }, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5602 | .write = spi_chip_write_256, |
| 5603 | .read = spi_chip_read, |
| 5604 | }, |
| 5605 | |
| 5606 | { |
| 5607 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5608 | .name = "W25x32", |
| 5609 | .bustype = CHIP_BUSTYPE_SPI, |
| 5610 | .manufacture_id = WINBOND_NEX_ID, |
| 5611 | .model_id = W_25X32, |
| 5612 | .total_size = 4096, |
| 5613 | .page_size = 256, |
| 5614 | .tested = TEST_OK_PROBE, |
| 5615 | .probe = probe_spi_rdid, |
| 5616 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5617 | .erase = NULL, |
| 5618 | .block_erasers = |
| 5619 | { |
| 5620 | { |
| 5621 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5622 | .block_erase = spi_block_erase_20, |
| 5623 | }, { |
| 5624 | .eraseblocks = { {32 * 1024, 128} }, |
| 5625 | .block_erase = spi_block_erase_52, |
| 5626 | }, { |
| 5627 | .eraseblocks = { {64 * 1024, 64} }, |
| 5628 | .block_erase = spi_block_erase_d8, |
| 5629 | }, { |
| 5630 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5631 | .block_erase = spi_block_erase_60, |
| 5632 | }, { |
| 5633 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5634 | .block_erase = spi_block_erase_c7, |
| 5635 | } |
| 5636 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5637 | .write = spi_chip_write_256, |
| 5638 | .read = spi_chip_read, |
| 5639 | }, |
| 5640 | |
| 5641 | { |
| 5642 | .vendor = "Winbond", |
| 5643 | .name = "W25x64", |
| 5644 | .bustype = CHIP_BUSTYPE_SPI, |
| 5645 | .manufacture_id = WINBOND_NEX_ID, |
| 5646 | .model_id = W_25X64, |
| 5647 | .total_size = 8192, |
| 5648 | .page_size = 256, |
| 5649 | .tested = TEST_UNTESTED, |
| 5650 | .probe = probe_spi_rdid, |
| 5651 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5652 | .erase = NULL, |
| 5653 | .block_erasers = |
| 5654 | { |
| 5655 | { |
| 5656 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5657 | .block_erase = spi_block_erase_20, |
| 5658 | }, { |
| 5659 | .eraseblocks = { {32 * 1024, 256} }, |
| 5660 | .block_erase = spi_block_erase_52, |
| 5661 | }, { |
| 5662 | .eraseblocks = { {64 * 1024, 128} }, |
| 5663 | .block_erase = spi_block_erase_d8, |
| 5664 | }, { |
| 5665 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5666 | .block_erase = spi_block_erase_60, |
| 5667 | }, { |
| 5668 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5669 | .block_erase = spi_block_erase_c7, |
| 5670 | } |
| 5671 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5672 | .write = spi_chip_write_256, |
| 5673 | .read = spi_chip_read, |
| 5674 | }, |
| 5675 | |
| 5676 | { |
| 5677 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5678 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5679 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5680 | .manufacture_id = WINBOND_ID, |
| 5681 | .model_id = W_29C011, |
| 5682 | .total_size = 128, |
| 5683 | .page_size = 128, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5684 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5685 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5686 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5687 | .erase = NULL, |
| 5688 | .block_erasers = |
| 5689 | { |
| 5690 | { |
| 5691 | .eraseblocks = { {128 * 1024, 1} }, |
| 5692 | .block_erase = erase_chip_block_jedec, |
| 5693 | } |
| 5694 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5695 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5696 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5697 | }, |
| 5698 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5699 | { |
| 5700 | .vendor = "Winbond", |
| 5701 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5702 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5703 | .manufacture_id = WINBOND_ID, |
| 5704 | .model_id = W_29C020C, |
| 5705 | .total_size = 256, |
| 5706 | .page_size = 128, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5707 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5708 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5709 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5710 | .erase = NULL, |
| 5711 | .block_erasers = |
| 5712 | { |
| 5713 | { |
| 5714 | .eraseblocks = { {256 * 1024, 1} }, |
| 5715 | .block_erase = erase_chip_block_jedec, |
| 5716 | } |
| 5717 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5718 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5719 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5720 | }, |
| 5721 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5722 | { |
| 5723 | .vendor = "Winbond", |
| 5724 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5725 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5726 | .manufacture_id = WINBOND_ID, |
| 5727 | .model_id = W_29C040P, |
| 5728 | .total_size = 512, |
| 5729 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5730 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5731 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5732 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5733 | .erase = NULL, |
| 5734 | .block_erasers = |
| 5735 | { |
| 5736 | { |
| 5737 | .eraseblocks = { {512 * 1024, 1} }, |
| 5738 | .block_erase = erase_chip_block_jedec, |
| 5739 | } |
| 5740 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5741 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5742 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5743 | }, |
| 5744 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5745 | { |
| 5746 | .vendor = "Winbond", |
| 5747 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5748 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5749 | .manufacture_id = WINBOND_ID, |
| 5750 | .model_id = W_29C011, |
| 5751 | .total_size = 128, |
| 5752 | .page_size = 128, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5753 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5754 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5755 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5756 | .erase = NULL, |
| 5757 | .block_erasers = |
| 5758 | { |
| 5759 | { |
| 5760 | .eraseblocks = { {128 * 1024, 1} }, |
| 5761 | .block_erase = erase_chip_block_jedec, |
| 5762 | } |
| 5763 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5764 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5765 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5766 | }, |
| 5767 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5768 | { |
| 5769 | .vendor = "Winbond", |
| 5770 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5771 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5772 | .manufacture_id = WINBOND_ID, |
| 5773 | .model_id = W_39V040A, |
| 5774 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5775 | .page_size = 64 * 1024, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5776 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5777 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5778 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5779 | .erase = NULL, |
| 5780 | .block_erasers = |
| 5781 | { |
| 5782 | { |
| 5783 | .eraseblocks = { {64 * 1024, 8} }, |
| 5784 | .block_erase = erase_sector_jedec, |
| 5785 | }, { |
| 5786 | .eraseblocks = { {512 * 1024, 1} }, |
| 5787 | .block_erase = erase_chip_block_jedec, |
| 5788 | } |
| 5789 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 5790 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5791 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5792 | }, |
| 5793 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5794 | { |
| 5795 | .vendor = "Winbond", |
| 5796 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5797 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5798 | .manufacture_id = WINBOND_ID, |
| 5799 | .model_id = W_39V040B, |
| 5800 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5801 | .page_size = 64 * 1024, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5802 | .tested = TEST_OK_PR | TEST_BAD_WRITE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5803 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5804 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5805 | .erase = NULL, |
| 5806 | .block_erasers = |
| 5807 | { |
| 5808 | { |
| 5809 | .eraseblocks = { {64 * 1024, 8} }, |
| 5810 | .block_erase = erase_sector_jedec, |
| 5811 | }, { |
| 5812 | .eraseblocks = { {512 * 1024, 1} }, |
| 5813 | .block_erase = erase_chip_block_jedec, |
| 5814 | } |
| 5815 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 5816 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5817 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5818 | }, |
| 5819 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5820 | { |
| 5821 | .vendor = "Winbond", |
| 5822 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5823 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5824 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5825 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5826 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5827 | .page_size = 64 * 1024, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5828 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5829 | .probe = probe_w39v040c, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5830 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5831 | .erase = NULL, /* Was erase_w39v040c */ |
| 5832 | .block_erasers = |
| 5833 | { |
| 5834 | { |
| 5835 | .eraseblocks = { {64 * 1024, 8} }, |
| 5836 | .block_erase = erase_sector_jedec, |
| 5837 | }, { |
| 5838 | .eraseblocks = { {512 * 1024, 1} }, |
| 5839 | .block_erase = erase_chip_block_jedec, |
| 5840 | } |
| 5841 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5842 | .write = write_w39v040c, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5843 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5844 | }, |
| 5845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5846 | { |
| 5847 | .vendor = "Winbond", |
| 5848 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5849 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5850 | .manufacture_id = WINBOND_ID, |
| 5851 | .model_id = W_39V040FA, |
| 5852 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5853 | .page_size = 64 * 1024, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5854 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5855 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5856 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5857 | .erase = NULL, |
| 5858 | .block_erasers = |
| 5859 | { |
| 5860 | { |
| 5861 | .eraseblocks = { {4 * 1024, 128} }, |
| 5862 | .block_erase = erase_block_jedec, |
| 5863 | }, { |
| 5864 | .eraseblocks = { {64 * 1024, 8} }, |
| 5865 | .block_erase = erase_sector_jedec, |
| 5866 | }, { |
| 5867 | .eraseblocks = { {512 * 1024, 1} }, |
| 5868 | .block_erase = erase_chip_block_jedec, |
| 5869 | } |
| 5870 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 5871 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5872 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5873 | }, |
| 5874 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5875 | { |
| 5876 | .vendor = "Winbond", |
| 5877 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5878 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5879 | .manufacture_id = WINBOND_ID, |
| 5880 | .model_id = W_39V080A, |
| 5881 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5882 | .page_size = 64 * 1024, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5883 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5884 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5885 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5886 | .erase = NULL, |
| 5887 | .block_erasers = |
| 5888 | { |
| 5889 | { |
| 5890 | .eraseblocks = { {64 * 1024, 16} }, |
| 5891 | .block_erase = erase_sector_jedec, |
| 5892 | }, { |
| 5893 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5894 | .block_erase = erase_chip_block_jedec, |
| 5895 | } |
| 5896 | }, |
Uwe Hermann | 24f9fbe | 2009-05-12 14:06:04 +0000 | [diff] [blame] | 5897 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5898 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5899 | }, |
| 5900 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5901 | { |
| 5902 | .vendor = "Winbond", |
| 5903 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5904 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5905 | .manufacture_id = WINBOND_ID, |
| 5906 | .model_id = W_49F002U, |
| 5907 | .total_size = 256, |
| 5908 | .page_size = 128, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5909 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5910 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5911 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5912 | .erase = NULL, |
| 5913 | .block_erasers = |
| 5914 | { |
| 5915 | { |
| 5916 | .eraseblocks = { |
| 5917 | {128 * 1024, 1}, |
| 5918 | {96 * 1024, 1}, |
| 5919 | {8 * 1024, 2}, |
| 5920 | {16 * 1024, 1}, |
| 5921 | }, |
| 5922 | .block_erase = erase_sector_jedec, |
| 5923 | }, { |
| 5924 | .eraseblocks = { {256 * 1024, 1} }, |
| 5925 | .block_erase = erase_chip_block_jedec, |
| 5926 | } |
| 5927 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5928 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5929 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5930 | }, |
| 5931 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5932 | { |
| 5933 | .vendor = "Winbond", |
| 5934 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5935 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5936 | .manufacture_id = WINBOND_ID, |
| 5937 | .model_id = W_49V002A, |
| 5938 | .total_size = 256, |
| 5939 | .page_size = 128, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5940 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5941 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5942 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5943 | .erase = NULL, |
| 5944 | .block_erasers = |
| 5945 | { |
| 5946 | { |
| 5947 | .eraseblocks = { |
| 5948 | {64 * 1024, 3}, |
| 5949 | {32 * 1024, 1}, |
| 5950 | {8 * 1024, 2}, |
| 5951 | {16 * 1024, 1}, |
| 5952 | }, |
| 5953 | .block_erase = erase_sector_jedec, |
| 5954 | }, { |
| 5955 | .eraseblocks = { {256 * 1024, 1} }, |
| 5956 | .block_erase = erase_chip_block_jedec, |
| 5957 | } |
| 5958 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5959 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5960 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5961 | }, |
| 5962 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5963 | { |
| 5964 | .vendor = "Winbond", |
| 5965 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5966 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5967 | .manufacture_id = WINBOND_ID, |
| 5968 | .model_id = W_49V002FA, |
| 5969 | .total_size = 256, |
| 5970 | .page_size = 128, |
| 5971 | .tested = TEST_UNTESTED, |
| 5972 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5973 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5974 | .erase = NULL, |
| 5975 | .block_erasers = |
| 5976 | { |
| 5977 | { |
| 5978 | .eraseblocks = { |
| 5979 | {64 * 1024, 3}, |
| 5980 | {32 * 1024, 1}, |
| 5981 | {8 * 1024, 2}, |
| 5982 | {16 * 1024, 1}, |
| 5983 | }, |
| 5984 | .block_erase = erase_sector_jedec, |
| 5985 | }, { |
| 5986 | .eraseblocks = { {256 * 1024, 1} }, |
| 5987 | .block_erase = erase_chip_block_jedec, |
| 5988 | } |
| 5989 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5990 | .write = write_49f002, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5991 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5992 | }, |
| 5993 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5994 | { |
| 5995 | .vendor = "Winbond", |
| 5996 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5997 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5998 | .manufacture_id = WINBOND_ID, |
| 5999 | .model_id = W_39V080FA, |
| 6000 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6001 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6002 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6003 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6004 | .probe = probe_jedec, |
| 6005 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6006 | .erase = NULL, /* Was erase_winbond_fwhub */ |
| 6007 | .block_erasers = |
| 6008 | { |
| 6009 | { |
| 6010 | .eraseblocks = { {64 * 1024, 16}, }, |
| 6011 | .block_erase = erase_sector_jedec, |
| 6012 | }, { |
| 6013 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6014 | .block_erase = erase_chip_block_jedec, |
| 6015 | } |
| 6016 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6017 | .write = write_winbond_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6018 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6019 | }, |
| 6020 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6021 | { |
| 6022 | .vendor = "Winbond", |
| 6023 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6024 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6025 | .manufacture_id = WINBOND_ID, |
| 6026 | .model_id = W_39V080FA_DM, |
| 6027 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6028 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6029 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6030 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6031 | .probe = probe_jedec, |
| 6032 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6033 | .erase = NULL, /* Was erase_winbond_fwhub */ |
| 6034 | .block_erasers = |
| 6035 | { |
| 6036 | { |
| 6037 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6038 | .block_erase = erase_sector_jedec, |
| 6039 | }, { |
| 6040 | .eraseblocks = { {512 * 1024, 1} }, |
| 6041 | .block_erase = erase_chip_block_jedec, |
| 6042 | } |
| 6043 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6044 | .write = write_winbond_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6045 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6046 | }, |
| 6047 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6048 | { |
| 6049 | .vendor = "Atmel", |
| 6050 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6051 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6052 | .manufacture_id = ATMEL_ID, |
| 6053 | .model_id = GENERIC_DEVICE_ID, |
| 6054 | .total_size = 0, |
| 6055 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6056 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6057 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6058 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6059 | .erase = NULL, |
| 6060 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6061 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6062 | }, |
| 6063 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6064 | { |
| 6065 | .vendor = "EON", |
| 6066 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6067 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6068 | .manufacture_id = EON_ID_NOPREFIX, |
| 6069 | .model_id = GENERIC_DEVICE_ID, |
| 6070 | .total_size = 0, |
| 6071 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6072 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6073 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6074 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6075 | .erase = NULL, |
| 6076 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6077 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6078 | }, |
| 6079 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6080 | { |
| 6081 | .vendor = "Macronix", |
| 6082 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6083 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6084 | .manufacture_id = MX_ID, |
| 6085 | .model_id = GENERIC_DEVICE_ID, |
| 6086 | .total_size = 0, |
| 6087 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6088 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6089 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6090 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6091 | .erase = NULL, |
| 6092 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6093 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6094 | }, |
| 6095 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6096 | { |
| 6097 | .vendor = "PMC", |
| 6098 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6099 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6100 | .manufacture_id = PMC_ID, |
| 6101 | .model_id = GENERIC_DEVICE_ID, |
| 6102 | .total_size = 0, |
| 6103 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6104 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6105 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6106 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6107 | .erase = NULL, |
| 6108 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6109 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6110 | }, |
| 6111 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6112 | { |
| 6113 | .vendor = "SST", |
| 6114 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6115 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6116 | .manufacture_id = SST_ID, |
| 6117 | .model_id = GENERIC_DEVICE_ID, |
| 6118 | .total_size = 0, |
| 6119 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6120 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6121 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6122 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6123 | .erase = NULL, |
| 6124 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6125 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6126 | }, |
| 6127 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6128 | { |
| 6129 | .vendor = "ST", |
| 6130 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6131 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6132 | .manufacture_id = ST_ID, |
| 6133 | .model_id = GENERIC_DEVICE_ID, |
| 6134 | .total_size = 0, |
| 6135 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6136 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6137 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6138 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6139 | .erase = NULL, |
| 6140 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6141 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6142 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 6143 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6144 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6145 | .vendor = "Sanyo", |
| 6146 | .name = "unknown Sanyo SPI chip", |
| 6147 | .bustype = CHIP_BUSTYPE_SPI, |
| 6148 | .manufacture_id = SANYO_ID, |
| 6149 | .model_id = GENERIC_DEVICE_ID, |
| 6150 | .total_size = 0, |
| 6151 | .page_size = 256, |
| 6152 | .tested = TEST_BAD_PREW, |
| 6153 | .probe = probe_spi_rdid, |
| 6154 | .probe_timing = TIMING_ZERO, |
| 6155 | .erase = NULL, |
| 6156 | .write = NULL, |
| 6157 | .read = NULL, |
| 6158 | }, |
| 6159 | |
| 6160 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6161 | .vendor = "Generic", |
| 6162 | .name = "unknown SPI chip (RDID)", |
| 6163 | .bustype = CHIP_BUSTYPE_SPI, |
| 6164 | .manufacture_id = GENERIC_MANUF_ID, |
| 6165 | .model_id = GENERIC_DEVICE_ID, |
| 6166 | .total_size = 0, |
| 6167 | .page_size = 256, |
| 6168 | .tested = TEST_BAD_PREW, |
| 6169 | .probe = probe_spi_rdid, |
| 6170 | .erase = NULL, |
| 6171 | .write = NULL, |
| 6172 | }, |
| 6173 | { |
| 6174 | .vendor = "Generic", |
| 6175 | .name = "unknown SPI chip (REMS)", |
| 6176 | .bustype = CHIP_BUSTYPE_SPI, |
| 6177 | .manufacture_id = GENERIC_MANUF_ID, |
| 6178 | .model_id = GENERIC_DEVICE_ID, |
| 6179 | .total_size = 0, |
| 6180 | .page_size = 256, |
| 6181 | .tested = TEST_BAD_PREW, |
| 6182 | .probe = probe_spi_rems, |
| 6183 | .erase = NULL, |
| 6184 | .write = NULL, |
| 6185 | }, |
| 6186 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6187 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 6188 | }; |