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" |
Sean Nelson | 14ba668 | 2010-02-26 05:48:29 +0000 | [diff] [blame] | 27 | #include "chipdrivers.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 30 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 31 | * |
| 32 | * Please keep the list sorted by vendor name and chip name, so that |
| 33 | * the output of 'flashrom -L' is alphabetically sorted. |
| 34 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 35 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 36 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 37 | /* |
| 38 | * .vendor = Vendor name |
| 39 | * .name = Chip name |
| 40 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 41 | * .manufacture_id = Manufacturer chip ID |
| 42 | * .model_id = Model chip ID |
| 43 | * .total_size = Total size in (binary) kbytes |
| 44 | * .page_size = Page or eraseblock(?) size in bytes |
| 45 | * .tested = Test status |
| 46 | * .probe = Probe function |
| 47 | * .probe_timing = Probe function delay |
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 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 53 | * .printlock = Chip lock status function |
| 54 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 55 | * .write = Chip write function |
| 56 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 57 | */ |
| 58 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 59 | { |
| 60 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 61 | .name = "Am29F010A/B", |
| 62 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 63 | .manufacture_id = AMD_ID, |
| 64 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 65 | .total_size = 128, |
| 66 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 67 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 68 | .tested = TEST_UNTESTED, |
| 69 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 70 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 71 | .block_erasers = |
| 72 | { |
| 73 | { |
| 74 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 75 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 76 | }, { |
| 77 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 78 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 79 | }, |
| 80 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 81 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 82 | .read = read_memmapped, |
| 83 | }, |
| 84 | |
| 85 | { |
| 86 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 87 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 88 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .manufacture_id = AMD_ID, |
| 90 | .model_id = AM_29F002BB, |
| 91 | .total_size = 256, |
| 92 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 93 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 94 | .tested = TEST_UNTESTED, |
| 95 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 96 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 97 | .block_erasers = |
| 98 | { |
| 99 | { |
| 100 | .eraseblocks = { |
| 101 | {16 * 1024, 1}, |
| 102 | {8 * 1024, 2}, |
| 103 | {32 * 1024, 1}, |
| 104 | {64 * 1024, 3}, |
| 105 | }, |
| 106 | .block_erase = erase_sector_jedec, |
| 107 | }, { |
| 108 | .eraseblocks = { {256 * 1024, 1} }, |
| 109 | .block_erase = erase_chip_block_jedec, |
| 110 | }, |
| 111 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 114 | }, |
| 115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 116 | { |
| 117 | .vendor = "AMD", |
| 118 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 120 | .manufacture_id = AMD_ID, |
| 121 | .model_id = AM_29F002BT, |
| 122 | .total_size = 256, |
| 123 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 124 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 125 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 126 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 128 | .block_erasers = |
| 129 | { |
| 130 | { |
| 131 | .eraseblocks = { |
| 132 | {64 * 1024, 3}, |
| 133 | {32 * 1024, 1}, |
| 134 | {8 * 1024, 2}, |
| 135 | {16 * 1024, 1}, |
| 136 | }, |
| 137 | .block_erase = erase_sector_jedec, |
| 138 | }, { |
| 139 | .eraseblocks = { {256 * 1024, 1} }, |
| 140 | .block_erase = erase_chip_block_jedec, |
| 141 | }, |
| 142 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 143 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 145 | }, |
| 146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 147 | { |
| 148 | .vendor = "AMD", |
| 149 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 150 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .manufacture_id = AMD_ID, |
| 152 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 153 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 155 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 156 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 157 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 158 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 159 | .block_erasers = |
| 160 | { |
| 161 | { |
| 162 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 163 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 164 | }, { |
| 165 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 167 | }, |
| 168 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 171 | }, |
| 172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 173 | { |
| 174 | .vendor = "AMD", |
| 175 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | .manufacture_id = AMD_ID, |
| 178 | .model_id = AM_29F040B, |
| 179 | .total_size = 512, |
| 180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 182 | .tested = TEST_UNTESTED, |
| 183 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 185 | .block_erasers = |
| 186 | { |
| 187 | { |
| 188 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 189 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | }, { |
| 191 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 193 | }, |
| 194 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 196 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 197 | }, |
| 198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 199 | { |
| 200 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 201 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 202 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 203 | .manufacture_id = AMD_ID, |
| 204 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 205 | .total_size = 1024, |
| 206 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 207 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 208 | .tested = TEST_UNTESTED, |
| 209 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 211 | .block_erasers = |
| 212 | { |
| 213 | { |
| 214 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 215 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | }, { |
| 217 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 218 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 219 | }, |
| 220 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 222 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 223 | }, |
| 224 | |
| 225 | { |
| 226 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 227 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 228 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 229 | .manufacture_id = AMD_ID, |
| 230 | .model_id = AM_29LV040B, |
| 231 | .total_size = 512, |
| 232 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 234 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 235 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 236 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 237 | .block_erasers = |
| 238 | { |
| 239 | { |
| 240 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 241 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 242 | }, { |
| 243 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 244 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 245 | }, |
| 246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 249 | }, |
| 250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 251 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 252 | .vendor = "AMD", |
| 253 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 255 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 256 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .total_size = 1024, |
| 258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 259 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 260 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 261 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 262 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 263 | .block_erasers = |
| 264 | { |
| 265 | { |
| 266 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 267 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | }, { |
| 269 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 270 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 271 | }, |
| 272 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 273 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 274 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 275 | }, |
| 276 | |
| 277 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 278 | .vendor = "ASD", |
| 279 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 280 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 281 | .manufacture_id = ASD_ID, |
| 282 | .model_id = ASD_AE49F2008, |
| 283 | .total_size = 256, |
| 284 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 285 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 286 | .tested = TEST_UNTESTED, |
| 287 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 288 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 289 | .block_erasers = |
| 290 | { |
| 291 | { |
| 292 | .eraseblocks = { |
| 293 | {128 * 1024, 1}, |
| 294 | {96 * 1024, 1}, |
| 295 | {8 * 1024, 2}, |
| 296 | {16 * 1024, 1}, |
| 297 | }, |
| 298 | .block_erase = erase_sector_jedec, |
| 299 | }, { |
| 300 | .eraseblocks = { {256 * 1024, 1} }, |
| 301 | .block_erase = erase_chip_block_jedec, |
| 302 | } |
| 303 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 304 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 305 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 306 | }, |
| 307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 308 | { |
| 309 | .vendor = "Atmel", |
| 310 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 311 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 312 | .manufacture_id = ATMEL_ID, |
| 313 | .model_id = AT_25DF021, |
| 314 | .total_size = 256, |
| 315 | .page_size = 256, |
| 316 | .tested = TEST_UNTESTED, |
| 317 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 318 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 319 | .block_erasers = |
| 320 | { |
| 321 | { |
| 322 | .eraseblocks = { {4 * 1024, 64} }, |
| 323 | .block_erase = spi_block_erase_20, |
| 324 | }, { |
| 325 | .eraseblocks = { {32 * 1024, 8} }, |
| 326 | .block_erase = spi_block_erase_52, |
| 327 | }, { |
| 328 | .eraseblocks = { {64 * 1024, 4} }, |
| 329 | .block_erase = spi_block_erase_d8, |
| 330 | }, { |
| 331 | .eraseblocks = { {256 * 1024, 1} }, |
| 332 | .block_erase = spi_block_erase_60, |
| 333 | }, { |
| 334 | .eraseblocks = { {256 * 1024, 1} }, |
| 335 | .block_erase = spi_block_erase_c7, |
| 336 | } |
| 337 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 338 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 339 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 340 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 341 | }, |
| 342 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 343 | { |
| 344 | .vendor = "Atmel", |
| 345 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 346 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 347 | .manufacture_id = ATMEL_ID, |
| 348 | .model_id = AT_25DF041A, |
| 349 | .total_size = 512, |
| 350 | .page_size = 256, |
| 351 | .tested = TEST_UNTESTED, |
| 352 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 353 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 354 | .block_erasers = |
| 355 | { |
| 356 | { |
| 357 | .eraseblocks = { {4 * 1024, 128} }, |
| 358 | .block_erase = spi_block_erase_20, |
| 359 | }, { |
| 360 | .eraseblocks = { {32 * 1024, 16} }, |
| 361 | .block_erase = spi_block_erase_52, |
| 362 | }, { |
| 363 | .eraseblocks = { {64 * 1024, 8} }, |
| 364 | .block_erase = spi_block_erase_d8, |
| 365 | }, { |
| 366 | .eraseblocks = { {512 * 1024, 1} }, |
| 367 | .block_erase = spi_block_erase_60, |
| 368 | }, { |
| 369 | .eraseblocks = { {512 * 1024, 1} }, |
| 370 | .block_erase = spi_block_erase_c7, |
| 371 | } |
| 372 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 373 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 374 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 375 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 376 | }, |
| 377 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 378 | { |
| 379 | .vendor = "Atmel", |
| 380 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 381 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 382 | .manufacture_id = ATMEL_ID, |
| 383 | .model_id = AT_25DF081, |
| 384 | .total_size = 1024, |
| 385 | .page_size = 256, |
| 386 | .tested = TEST_UNTESTED, |
| 387 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 388 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 389 | .block_erasers = |
| 390 | { |
| 391 | { |
| 392 | .eraseblocks = { {4 * 1024, 256} }, |
| 393 | .block_erase = spi_block_erase_20, |
| 394 | }, { |
| 395 | .eraseblocks = { {32 * 1024, 32} }, |
| 396 | .block_erase = spi_block_erase_52, |
| 397 | }, { |
| 398 | .eraseblocks = { {64 * 1024, 16} }, |
| 399 | .block_erase = spi_block_erase_d8, |
| 400 | }, { |
| 401 | .eraseblocks = { {1024 * 1024, 1} }, |
| 402 | .block_erase = spi_block_erase_60, |
| 403 | }, { |
| 404 | .eraseblocks = { {1024 * 1024, 1} }, |
| 405 | .block_erase = spi_block_erase_c7, |
| 406 | } |
| 407 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 408 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 409 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 410 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 411 | }, |
| 412 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 413 | { |
| 414 | .vendor = "Atmel", |
| 415 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 416 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 417 | .manufacture_id = ATMEL_ID, |
| 418 | .model_id = AT_25DF161, |
| 419 | .total_size = 2048, |
| 420 | .page_size = 256, |
| 421 | .tested = TEST_UNTESTED, |
| 422 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 423 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 424 | .block_erasers = |
| 425 | { |
| 426 | { |
| 427 | .eraseblocks = { {4 * 1024, 512} }, |
| 428 | .block_erase = spi_block_erase_20, |
| 429 | }, { |
| 430 | .eraseblocks = { {32 * 1024, 64} }, |
| 431 | .block_erase = spi_block_erase_52, |
| 432 | }, { |
| 433 | .eraseblocks = { {64 * 1024, 32} }, |
| 434 | .block_erase = spi_block_erase_d8, |
| 435 | }, { |
| 436 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 437 | .block_erase = spi_block_erase_60, |
| 438 | }, { |
| 439 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 440 | .block_erase = spi_block_erase_c7, |
| 441 | } |
| 442 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 443 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 444 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 445 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 446 | }, |
| 447 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 448 | { |
| 449 | .vendor = "Atmel", |
| 450 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 451 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 452 | .manufacture_id = ATMEL_ID, |
| 453 | .model_id = AT_25DF321, |
| 454 | .total_size = 4096, |
| 455 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 456 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 457 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 458 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 459 | .block_erasers = |
| 460 | { |
| 461 | { |
| 462 | .eraseblocks = { {4 * 1024, 1024} }, |
| 463 | .block_erase = spi_block_erase_20, |
| 464 | }, { |
| 465 | .eraseblocks = { {32 * 1024, 128} }, |
| 466 | .block_erase = spi_block_erase_52, |
| 467 | }, { |
| 468 | .eraseblocks = { {64 * 1024, 64} }, |
| 469 | .block_erase = spi_block_erase_d8, |
| 470 | }, { |
| 471 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 472 | .block_erase = spi_block_erase_60, |
| 473 | }, { |
| 474 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 475 | .block_erase = spi_block_erase_c7, |
| 476 | } |
| 477 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 478 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 479 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 480 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 481 | }, |
| 482 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 483 | { |
| 484 | .vendor = "Atmel", |
| 485 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 486 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 487 | .manufacture_id = ATMEL_ID, |
| 488 | .model_id = AT_25DF321A, |
| 489 | .total_size = 4096, |
| 490 | .page_size = 256, |
| 491 | .tested = TEST_UNTESTED, |
| 492 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 493 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 494 | .block_erasers = |
| 495 | { |
| 496 | { |
| 497 | .eraseblocks = { {4 * 1024, 1024} }, |
| 498 | .block_erase = spi_block_erase_20, |
| 499 | }, { |
| 500 | .eraseblocks = { {32 * 1024, 128} }, |
| 501 | .block_erase = spi_block_erase_52, |
| 502 | }, { |
| 503 | .eraseblocks = { {64 * 1024, 64} }, |
| 504 | .block_erase = spi_block_erase_d8, |
| 505 | }, { |
| 506 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 507 | .block_erase = spi_block_erase_60, |
| 508 | }, { |
| 509 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 510 | .block_erase = spi_block_erase_c7, |
| 511 | } |
| 512 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 513 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 514 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 515 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 516 | }, |
| 517 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 518 | { |
| 519 | .vendor = "Atmel", |
| 520 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 521 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 522 | .manufacture_id = ATMEL_ID, |
| 523 | .model_id = AT_25DF641, |
| 524 | .total_size = 8192, |
| 525 | .page_size = 256, |
| 526 | .tested = TEST_UNTESTED, |
| 527 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 528 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 529 | .block_erasers = |
| 530 | { |
| 531 | { |
| 532 | .eraseblocks = { {4 * 1024, 2048} }, |
| 533 | .block_erase = spi_block_erase_20, |
| 534 | }, { |
| 535 | .eraseblocks = { {32 * 1024, 256} }, |
| 536 | .block_erase = spi_block_erase_52, |
| 537 | }, { |
| 538 | .eraseblocks = { {64 * 1024, 128} }, |
| 539 | .block_erase = spi_block_erase_d8, |
| 540 | }, { |
| 541 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 542 | .block_erase = spi_block_erase_60, |
| 543 | }, { |
| 544 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 545 | .block_erase = spi_block_erase_c7, |
| 546 | } |
| 547 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 548 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 549 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 550 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 551 | }, |
| 552 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 553 | { |
| 554 | .vendor = "Atmel", |
| 555 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 556 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 557 | .manufacture_id = ATMEL_ID, |
| 558 | .model_id = AT_25F512B, |
| 559 | .total_size = 64, |
| 560 | .page_size = 256, |
| 561 | .tested = TEST_UNTESTED, |
| 562 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 563 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 564 | .block_erasers = |
| 565 | { |
| 566 | { |
| 567 | .eraseblocks = { {4 * 1024, 16} }, |
| 568 | .block_erase = spi_block_erase_20, |
| 569 | }, { |
| 570 | .eraseblocks = { {32 * 1024, 2} }, |
| 571 | .block_erase = spi_block_erase_52, |
| 572 | }, { |
| 573 | .eraseblocks = { {32 * 1024, 2} }, |
| 574 | .block_erase = spi_block_erase_d8, |
| 575 | }, { |
| 576 | .eraseblocks = { {64 * 1024, 1} }, |
| 577 | .block_erase = spi_block_erase_60, |
| 578 | }, { |
| 579 | .eraseblocks = { {64 * 1024, 1} }, |
| 580 | .block_erase = spi_block_erase_c7, |
| 581 | } |
| 582 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 583 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 584 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 585 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 586 | }, |
| 587 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 588 | { |
| 589 | .vendor = "Atmel", |
| 590 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 591 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 592 | .manufacture_id = ATMEL_ID, |
| 593 | .model_id = AT_25FS010, |
| 594 | .total_size = 128, |
| 595 | .page_size = 256, |
| 596 | .tested = TEST_UNTESTED, |
| 597 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 598 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 599 | .block_erasers = |
| 600 | { |
| 601 | { |
| 602 | .eraseblocks = { {4 * 1024, 32} }, |
| 603 | .block_erase = spi_block_erase_20, |
| 604 | }, { |
| 605 | .eraseblocks = { {32 * 1024, 4} }, |
| 606 | .block_erase = spi_block_erase_52, |
| 607 | }, { |
| 608 | .eraseblocks = { {32 * 1024, 4} }, |
| 609 | .block_erase = spi_block_erase_d8, |
| 610 | }, { |
| 611 | .eraseblocks = { {128 * 1024, 1} }, |
| 612 | .block_erase = spi_block_erase_60, |
| 613 | }, { |
| 614 | .eraseblocks = { {128 * 1024, 1} }, |
| 615 | .block_erase = spi_block_erase_c7, |
| 616 | } |
| 617 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 618 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 619 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 620 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 621 | }, |
| 622 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 623 | { |
| 624 | .vendor = "Atmel", |
| 625 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 626 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 627 | .manufacture_id = ATMEL_ID, |
| 628 | .model_id = AT_25FS040, |
| 629 | .total_size = 512, |
| 630 | .page_size = 256, |
| 631 | .tested = TEST_UNTESTED, |
| 632 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 633 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 634 | .block_erasers = |
| 635 | { |
| 636 | { |
| 637 | .eraseblocks = { {4 * 1024, 128} }, |
| 638 | .block_erase = spi_block_erase_20, |
| 639 | }, { |
| 640 | .eraseblocks = { {64 * 1024, 8} }, |
| 641 | .block_erase = spi_block_erase_52, |
| 642 | }, { |
| 643 | .eraseblocks = { {64 * 1024, 8} }, |
| 644 | .block_erase = spi_block_erase_d8, |
| 645 | }, { |
| 646 | .eraseblocks = { {512 * 1024, 1} }, |
| 647 | .block_erase = spi_block_erase_60, |
| 648 | }, { |
| 649 | .eraseblocks = { {512 * 1024, 1} }, |
| 650 | .block_erase = spi_block_erase_c7, |
| 651 | } |
| 652 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 653 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 654 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 655 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 656 | }, |
| 657 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 658 | { |
| 659 | .vendor = "Atmel", |
| 660 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 661 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 662 | .manufacture_id = ATMEL_ID, |
| 663 | .model_id = AT_26DF041, |
| 664 | .total_size = 512, |
| 665 | .page_size = 256, |
| 666 | .tested = TEST_UNTESTED, |
| 667 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 668 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 669 | .block_erasers = |
| 670 | { |
| 671 | { |
| 672 | .eraseblocks = { {4 * 1024, 128} }, |
| 673 | .block_erase = spi_block_erase_20, |
| 674 | } |
| 675 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 676 | .write = NULL /* Incompatible Page write */, |
| 677 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 678 | }, |
| 679 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 680 | { |
| 681 | .vendor = "Atmel", |
| 682 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 683 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 684 | .manufacture_id = ATMEL_ID, |
| 685 | .model_id = AT_26DF081A, |
| 686 | .total_size = 1024, |
| 687 | .page_size = 256, |
| 688 | .tested = TEST_UNTESTED, |
| 689 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 690 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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 | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 710 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 711 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 712 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 713 | }, |
| 714 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 715 | { |
| 716 | .vendor = "Atmel", |
| 717 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 718 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 719 | .manufacture_id = ATMEL_ID, |
| 720 | .model_id = AT_26DF161, |
| 721 | .total_size = 2048, |
| 722 | .page_size = 256, |
| 723 | .tested = TEST_UNTESTED, |
| 724 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 725 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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 | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 745 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 746 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 747 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 748 | }, |
| 749 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 750 | { |
| 751 | .vendor = "Atmel", |
| 752 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 753 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 754 | .manufacture_id = ATMEL_ID, |
| 755 | .model_id = AT_26DF161A, |
| 756 | .total_size = 2048, |
| 757 | .page_size = 256, |
| 758 | .tested = TEST_UNTESTED, |
| 759 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 760 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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 | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 780 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 781 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 782 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 783 | }, |
| 784 | |
| 785 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 786 | /*{ |
| 787 | .vendor = "Atmel", |
| 788 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 789 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 790 | .manufacture_id = ATMEL_ID, |
| 791 | .model_id = AT_26DF321, |
| 792 | .total_size = 4096, |
| 793 | .page_size = 256, |
| 794 | .tested = TEST_UNTESTED, |
| 795 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 796 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 797 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 798 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 799 | .read = spi_chip_read, |
| 800 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 801 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 802 | { |
| 803 | .vendor = "Atmel", |
| 804 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 805 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 806 | .manufacture_id = ATMEL_ID, |
| 807 | .model_id = AT_26F004, |
| 808 | .total_size = 512, |
| 809 | .page_size = 256, |
| 810 | .tested = TEST_UNTESTED, |
| 811 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 812 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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 | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 844 | .feature_bits = FEATURE_LONG_RESET, |
| 845 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 846 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 847 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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 | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 868 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 869 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 870 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 871 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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 | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 891 | .feature_bits = FEATURE_LONG_RESET, |
| 892 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 893 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 894 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 914 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 915 | .tested = TEST_UNTESTED, |
| 916 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 917 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 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 | .write = NULL /* Incompatible Page write */, |
| 941 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 942 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 943 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 944 | { |
| 945 | .vendor = "Atmel", |
| 946 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 947 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 948 | .manufacture_id = ATMEL_ID, |
| 949 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 950 | .total_size = 128 /* Size can only be determined from status register */, |
| 951 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 952 | .tested = TEST_BAD_READ, |
| 953 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 954 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 955 | .write = NULL, |
| 956 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 957 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 959 | { |
| 960 | .vendor = "Atmel", |
| 961 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 962 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 963 | .manufacture_id = ATMEL_ID, |
| 964 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 965 | .total_size = 256 /* Size can only be determined from status register */, |
| 966 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 967 | .tested = TEST_BAD_READ, |
| 968 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 969 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 970 | .write = NULL, |
| 971 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 972 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 973 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 974 | { |
| 975 | .vendor = "Atmel", |
| 976 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 977 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 978 | .manufacture_id = ATMEL_ID, |
| 979 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 980 | .total_size = 512 /* Size can only be determined from status register */, |
| 981 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 982 | .tested = TEST_BAD_READ, |
| 983 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 984 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 985 | .write = NULL, |
| 986 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 987 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 988 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 989 | { |
| 990 | .vendor = "Atmel", |
| 991 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 992 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 993 | .manufacture_id = ATMEL_ID, |
| 994 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 995 | .total_size = 1024 /* Size can only be determined from status register */, |
| 996 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 997 | .tested = TEST_BAD_READ, |
| 998 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 999 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1000 | .write = NULL, |
| 1001 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1002 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1003 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1004 | { |
| 1005 | .vendor = "Atmel", |
| 1006 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1007 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1008 | .manufacture_id = ATMEL_ID, |
| 1009 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1010 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1011 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1012 | .tested = TEST_BAD_READ, |
| 1013 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1014 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1015 | .write = NULL, |
| 1016 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1017 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1018 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1019 | { |
| 1020 | .vendor = "Atmel", |
| 1021 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1022 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1023 | .manufacture_id = ATMEL_ID, |
| 1024 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1025 | .total_size = 4224 /* No power of two sizes */, |
| 1026 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1027 | .tested = TEST_BAD_READ, |
| 1028 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1029 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1030 | .write = NULL, |
| 1031 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1032 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1033 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1034 | { |
| 1035 | .vendor = "Atmel", |
| 1036 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1037 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1038 | .manufacture_id = ATMEL_ID, |
| 1039 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1040 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1041 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1042 | .tested = TEST_BAD_READ, |
| 1043 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1044 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1045 | .write = NULL, |
| 1046 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1047 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1048 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1049 | { |
| 1050 | .vendor = "Atmel", |
| 1051 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1052 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1053 | .manufacture_id = ATMEL_ID, |
| 1054 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1055 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1056 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1057 | .tested = TEST_BAD_READ, |
| 1058 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1059 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1060 | .write = NULL, |
| 1061 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1062 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1063 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1064 | { |
| 1065 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1066 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1067 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1068 | .manufacture_id = ATMEL_ID, |
| 1069 | .model_id = AT_49BV512, |
| 1070 | .total_size = 64, |
| 1071 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1072 | .feature_bits = FEATURE_EITHER_RESET, |
| 1073 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1074 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1075 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1076 | .block_erasers = |
| 1077 | { |
| 1078 | { |
| 1079 | .eraseblocks = { {64 * 1024, 1} }, |
| 1080 | .block_erase = erase_chip_block_jedec, |
| 1081 | } |
| 1082 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1083 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1084 | .read = read_memmapped, |
| 1085 | }, |
| 1086 | |
| 1087 | { |
| 1088 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1089 | .name = "AT49F020", |
| 1090 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1091 | .manufacture_id = ATMEL_ID, |
| 1092 | .model_id = AT_49F020, |
| 1093 | .total_size = 256, |
| 1094 | .page_size = 256, |
| 1095 | .feature_bits = FEATURE_EITHER_RESET, |
| 1096 | .tested = TEST_OK_PREW, |
| 1097 | .probe = probe_jedec, |
| 1098 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 1099 | .block_erasers = |
| 1100 | { |
| 1101 | { |
| 1102 | .eraseblocks = { {256 * 1024, 1} }, |
| 1103 | .block_erase = erase_chip_block_jedec, |
| 1104 | } |
| 1105 | }, |
| 1106 | .write = write_jedec_1, |
| 1107 | .read = read_memmapped, |
| 1108 | }, |
| 1109 | |
| 1110 | { |
| 1111 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1112 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1113 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1114 | .manufacture_id = ATMEL_ID, |
| 1115 | .model_id = AT_49F002N, |
| 1116 | .total_size = 256, |
| 1117 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1118 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1119 | .tested = TEST_UNTESTED, |
| 1120 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1121 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1122 | .block_erasers = |
| 1123 | { |
| 1124 | { |
| 1125 | .eraseblocks = { |
| 1126 | {16 * 1024, 1}, |
| 1127 | {8 * 1024, 2}, |
| 1128 | {96 * 1024, 1}, |
| 1129 | {128 * 1024, 1}, |
| 1130 | }, |
| 1131 | .block_erase = erase_sector_jedec, |
| 1132 | }, { |
| 1133 | .eraseblocks = { {256 * 1024, 1} }, |
| 1134 | .block_erase = erase_chip_block_jedec, |
| 1135 | } |
| 1136 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1137 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1138 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1139 | }, |
| 1140 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1141 | { |
| 1142 | .vendor = "Atmel", |
| 1143 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1144 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1145 | .manufacture_id = ATMEL_ID, |
| 1146 | .model_id = AT_49F002NT, |
| 1147 | .total_size = 256, |
| 1148 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1149 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1150 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1151 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1152 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1153 | .block_erasers = |
| 1154 | { |
| 1155 | { |
| 1156 | .eraseblocks = { |
| 1157 | {128 * 1024, 1}, |
| 1158 | {96 * 1024, 1}, |
| 1159 | {8 * 1024, 2}, |
| 1160 | {16 * 1024, 1}, |
| 1161 | }, |
| 1162 | .block_erase = erase_sector_jedec, |
| 1163 | }, { |
| 1164 | .eraseblocks = { {256 * 1024, 1} }, |
| 1165 | .block_erase = erase_chip_block_jedec, |
| 1166 | } |
| 1167 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1168 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1169 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1170 | }, |
| 1171 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame^] | 1172 | { |
| 1173 | .vendor = "AMIC", |
| 1174 | .name = "A25L05PT", |
| 1175 | .bustype = CHIP_BUSTYPE_SPI, |
| 1176 | .manufacture_id = AMIC_ID, |
| 1177 | .model_id = AMIC_A25L05PT, |
| 1178 | .total_size = 64, |
| 1179 | .page_size = 256, |
| 1180 | .tested = TEST_UNTESTED, |
| 1181 | .probe = probe_spi_rdid4, |
| 1182 | .probe_timing = TIMING_ZERO, |
| 1183 | .block_erasers = |
| 1184 | { |
| 1185 | { |
| 1186 | .eraseblocks = { |
| 1187 | {32 * 1024, 1}, |
| 1188 | {16 * 1024, 1}, |
| 1189 | {8 * 1024, 1}, |
| 1190 | {4 * 1024, 2}, |
| 1191 | }, |
| 1192 | .block_erase = spi_block_erase_d8, |
| 1193 | }, { |
| 1194 | .eraseblocks = { {64 * 1024, 1} }, |
| 1195 | .block_erase = spi_block_erase_c7, |
| 1196 | } |
| 1197 | }, |
| 1198 | .unlock = spi_disable_blockprotect, |
| 1199 | .write = spi_chip_write_256, |
| 1200 | .read = spi_chip_read, |
| 1201 | }, |
| 1202 | |
| 1203 | { |
| 1204 | .vendor = "AMIC", |
| 1205 | .name = "A25L05PU", |
| 1206 | .bustype = CHIP_BUSTYPE_SPI, |
| 1207 | .manufacture_id = AMIC_ID, |
| 1208 | .model_id = AMIC_A25L05PU, |
| 1209 | .total_size = 64, |
| 1210 | .page_size = 256, |
| 1211 | .tested = TEST_UNTESTED, |
| 1212 | .probe = probe_spi_rdid4, |
| 1213 | .probe_timing = TIMING_ZERO, |
| 1214 | .block_erasers = |
| 1215 | { |
| 1216 | { |
| 1217 | .eraseblocks = { |
| 1218 | {4 * 1024, 2}, |
| 1219 | {8 * 1024, 1}, |
| 1220 | {16 * 1024, 1}, |
| 1221 | {32 * 1024, 1}, |
| 1222 | }, |
| 1223 | .block_erase = spi_block_erase_d8, |
| 1224 | }, { |
| 1225 | .eraseblocks = { {64 * 1024, 1} }, |
| 1226 | .block_erase = spi_block_erase_c7, |
| 1227 | } |
| 1228 | }, |
| 1229 | .unlock = spi_disable_blockprotect, |
| 1230 | .write = spi_chip_write_256, |
| 1231 | .read = spi_chip_read, |
| 1232 | }, |
| 1233 | |
| 1234 | { |
| 1235 | .vendor = "AMIC", |
| 1236 | .name = "A25L10PT", |
| 1237 | .bustype = CHIP_BUSTYPE_SPI, |
| 1238 | .manufacture_id = AMIC_ID, |
| 1239 | .model_id = AMIC_A25L10PT, |
| 1240 | .total_size = 128, |
| 1241 | .page_size = 256, |
| 1242 | .tested = TEST_UNTESTED, |
| 1243 | .probe = probe_spi_rdid4, |
| 1244 | .probe_timing = TIMING_ZERO, |
| 1245 | .block_erasers = |
| 1246 | { |
| 1247 | { |
| 1248 | .eraseblocks = { |
| 1249 | {64 * 1024, 1}, |
| 1250 | {32 * 1024, 1}, |
| 1251 | {16 * 1024, 1}, |
| 1252 | {8 * 1024, 1}, |
| 1253 | {4 * 1024, 2}, |
| 1254 | }, |
| 1255 | .block_erase = spi_block_erase_d8, |
| 1256 | }, { |
| 1257 | .eraseblocks = { {128 * 1024, 1} }, |
| 1258 | .block_erase = spi_block_erase_c7, |
| 1259 | } |
| 1260 | }, |
| 1261 | .unlock = spi_disable_blockprotect, |
| 1262 | .write = spi_chip_write_256, |
| 1263 | .read = spi_chip_read, |
| 1264 | }, |
| 1265 | |
| 1266 | { |
| 1267 | .vendor = "AMIC", |
| 1268 | .name = "A25L10PU", |
| 1269 | .bustype = CHIP_BUSTYPE_SPI, |
| 1270 | .manufacture_id = AMIC_ID, |
| 1271 | .model_id = AMIC_A25L10PU, |
| 1272 | .total_size = 128, |
| 1273 | .page_size = 256, |
| 1274 | .tested = TEST_UNTESTED, |
| 1275 | .probe = probe_spi_rdid4, |
| 1276 | .probe_timing = TIMING_ZERO, |
| 1277 | .block_erasers = |
| 1278 | { |
| 1279 | { |
| 1280 | .eraseblocks = { |
| 1281 | {4 * 1024, 2}, |
| 1282 | {8 * 1024, 1}, |
| 1283 | {16 * 1024, 1}, |
| 1284 | {32 * 1024, 1}, |
| 1285 | {64 * 1024, 1}, |
| 1286 | }, |
| 1287 | .block_erase = spi_block_erase_d8, |
| 1288 | }, { |
| 1289 | .eraseblocks = { {128 * 1024, 1} }, |
| 1290 | .block_erase = spi_block_erase_c7, |
| 1291 | } |
| 1292 | }, |
| 1293 | .unlock = spi_disable_blockprotect, |
| 1294 | .write = spi_chip_write_256, |
| 1295 | .read = spi_chip_read, |
| 1296 | }, |
| 1297 | |
| 1298 | { |
| 1299 | .vendor = "AMIC", |
| 1300 | .name = "A25L20PT", |
| 1301 | .bustype = CHIP_BUSTYPE_SPI, |
| 1302 | .manufacture_id = AMIC_ID, |
| 1303 | .model_id = AMIC_A25L20PT, |
| 1304 | .total_size = 256, |
| 1305 | .page_size = 256, |
| 1306 | .tested = TEST_UNTESTED, |
| 1307 | .probe = probe_spi_rdid4, |
| 1308 | .probe_timing = TIMING_ZERO, |
| 1309 | .block_erasers = |
| 1310 | { |
| 1311 | { |
| 1312 | .eraseblocks = { |
| 1313 | {64 * 1024, 3}, |
| 1314 | {32 * 1024, 1}, |
| 1315 | {16 * 1024, 1}, |
| 1316 | {8 * 1024, 1}, |
| 1317 | {4 * 1024, 2}, |
| 1318 | }, |
| 1319 | .block_erase = spi_block_erase_d8, |
| 1320 | }, { |
| 1321 | .eraseblocks = { {256 * 1024, 1} }, |
| 1322 | .block_erase = spi_block_erase_c7, |
| 1323 | } |
| 1324 | }, |
| 1325 | .unlock = spi_disable_blockprotect, |
| 1326 | .write = spi_chip_write_256, |
| 1327 | .read = spi_chip_read, |
| 1328 | }, |
| 1329 | |
| 1330 | { |
| 1331 | .vendor = "AMIC", |
| 1332 | .name = "A25L20PU", |
| 1333 | .bustype = CHIP_BUSTYPE_SPI, |
| 1334 | .manufacture_id = AMIC_ID, |
| 1335 | .model_id = AMIC_A25L20PU, |
| 1336 | .total_size = 256, |
| 1337 | .page_size = 256, |
| 1338 | .tested = TEST_UNTESTED, |
| 1339 | .probe = probe_spi_rdid4, |
| 1340 | .probe_timing = TIMING_ZERO, |
| 1341 | .block_erasers = |
| 1342 | { |
| 1343 | { |
| 1344 | .eraseblocks = { |
| 1345 | {4 * 1024, 2}, |
| 1346 | {8 * 1024, 1}, |
| 1347 | {16 * 1024, 1}, |
| 1348 | {32 * 1024, 1}, |
| 1349 | {64 * 1024, 3}, |
| 1350 | }, |
| 1351 | .block_erase = spi_block_erase_d8, |
| 1352 | }, { |
| 1353 | .eraseblocks = { {256 * 1024, 1} }, |
| 1354 | .block_erase = spi_block_erase_c7, |
| 1355 | } |
| 1356 | }, |
| 1357 | .unlock = spi_disable_blockprotect, |
| 1358 | .write = spi_chip_write_256, |
| 1359 | .read = spi_chip_read, |
| 1360 | }, |
| 1361 | |
| 1362 | /* The A25L40P{T,U} chips are distinguished by their |
| 1363 | * erase block layouts, but without any distinction in RDID. |
| 1364 | * This inexplicable quirk was verified by Rudolf Marek |
| 1365 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 1366 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1367 | { |
| 1368 | .vendor = "AMIC", |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1369 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1370 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1371 | .manufacture_id = AMIC_ID, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame^] | 1372 | .model_id = AMIC_A25L40PT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1373 | .total_size = 512, |
| 1374 | .page_size = 256, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1375 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1376 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1377 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1378 | .block_erasers = |
| 1379 | { |
| 1380 | { |
| 1381 | .eraseblocks = { |
| 1382 | {64 * 1024, 7}, |
| 1383 | {32 * 1024, 1}, |
| 1384 | {16 * 1024, 1}, |
| 1385 | {8 * 1024, 1}, |
| 1386 | {4 * 1024, 2}, |
| 1387 | }, |
| 1388 | .block_erase = spi_block_erase_d8, |
| 1389 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1390 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1391 | .block_erase = spi_block_erase_c7, |
| 1392 | } |
| 1393 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1394 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1395 | .write = spi_chip_write_256, |
| 1396 | .read = spi_chip_read, |
| 1397 | }, |
| 1398 | |
| 1399 | { |
| 1400 | .vendor = "AMIC", |
| 1401 | .name = "A25L40PU", |
| 1402 | .bustype = CHIP_BUSTYPE_SPI, |
| 1403 | .manufacture_id = AMIC_ID, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame^] | 1404 | .model_id = AMIC_A25L40PU, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1405 | .total_size = 512, |
| 1406 | .page_size = 256, |
| 1407 | .tested = TEST_OK_PRW, |
| 1408 | .probe = probe_spi_rdid4, |
| 1409 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1410 | .block_erasers = |
| 1411 | { |
| 1412 | { |
| 1413 | .eraseblocks = { |
| 1414 | {4 * 1024, 2}, |
| 1415 | {8 * 1024, 1}, |
| 1416 | {16 * 1024, 1}, |
| 1417 | {32 * 1024, 1}, |
| 1418 | {64 * 1024, 7}, |
| 1419 | }, |
| 1420 | .block_erase = spi_block_erase_d8, |
| 1421 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1422 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1423 | .block_erase = spi_block_erase_c7, |
| 1424 | } |
| 1425 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1426 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1427 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1428 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1429 | }, |
| 1430 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1431 | { |
| 1432 | .vendor = "AMIC", |
Daniel Lenski | 550f5c8 | 2010-07-11 21:33:31 +0000 | [diff] [blame] | 1433 | .name = "A25L80P", |
| 1434 | .bustype = CHIP_BUSTYPE_SPI, |
| 1435 | .manufacture_id = AMIC_ID, |
| 1436 | .model_id = AMIC_A25L80P, |
| 1437 | .total_size = 1024, |
| 1438 | .page_size = 256, |
| 1439 | .tested = TEST_OK_PREW, |
| 1440 | .probe = probe_spi_rdid4, |
| 1441 | .probe_timing = TIMING_ZERO, |
| 1442 | .block_erasers = |
| 1443 | { |
| 1444 | { |
| 1445 | .eraseblocks = { |
| 1446 | {4 * 1024, 2}, |
| 1447 | {8 * 1024, 1}, |
| 1448 | {16 * 1024, 1}, |
| 1449 | {32 * 1024, 1}, |
| 1450 | {64 * 1024, 15}, |
| 1451 | }, |
| 1452 | .block_erase = spi_block_erase_d8, |
| 1453 | }, { |
| 1454 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1455 | .block_erase = spi_block_erase_c7, |
| 1456 | } |
| 1457 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1458 | .unlock = spi_disable_blockprotect, |
Daniel Lenski | 550f5c8 | 2010-07-11 21:33:31 +0000 | [diff] [blame] | 1459 | .write = spi_chip_write_256, |
| 1460 | .read = spi_chip_read, |
| 1461 | }, |
| 1462 | |
| 1463 | { |
| 1464 | .vendor = "AMIC", |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame^] | 1465 | .name = "A25L16PT", |
| 1466 | .bustype = CHIP_BUSTYPE_SPI, |
| 1467 | .manufacture_id = AMIC_ID, |
| 1468 | .model_id = AMIC_A25L16PT, |
| 1469 | .total_size = 2048, |
| 1470 | .page_size = 256, |
| 1471 | .tested = TEST_UNTESTED, |
| 1472 | .probe = probe_spi_rdid4, |
| 1473 | .probe_timing = TIMING_ZERO, |
| 1474 | .block_erasers = |
| 1475 | { |
| 1476 | { |
| 1477 | .eraseblocks = { |
| 1478 | {64 * 1024, 31}, |
| 1479 | {32 * 1024, 1}, |
| 1480 | {16 * 1024, 1}, |
| 1481 | {8 * 1024, 1}, |
| 1482 | {4 * 1024, 2}, |
| 1483 | }, |
| 1484 | .block_erase = spi_block_erase_d8, |
| 1485 | }, { |
| 1486 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1487 | .block_erase = spi_block_erase_60, |
| 1488 | }, { |
| 1489 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1490 | .block_erase = spi_block_erase_c7, |
| 1491 | } |
| 1492 | }, |
| 1493 | .unlock = spi_disable_blockprotect, |
| 1494 | .write = spi_chip_write_256, |
| 1495 | .read = spi_chip_read, |
| 1496 | }, |
| 1497 | |
| 1498 | { |
| 1499 | .vendor = "AMIC", |
| 1500 | .name = "A25L16PU", |
| 1501 | .bustype = CHIP_BUSTYPE_SPI, |
| 1502 | .manufacture_id = AMIC_ID, |
| 1503 | .model_id = AMIC_A25L16PU, |
| 1504 | .total_size = 2048, |
| 1505 | .page_size = 256, |
| 1506 | .tested = TEST_OK_PRW, |
| 1507 | .probe = probe_spi_rdid4, |
| 1508 | .probe_timing = TIMING_ZERO, |
| 1509 | .block_erasers = |
| 1510 | { |
| 1511 | { |
| 1512 | .eraseblocks = { |
| 1513 | {4 * 1024, 2}, |
| 1514 | {8 * 1024, 1}, |
| 1515 | {16 * 1024, 1}, |
| 1516 | {32 * 1024, 1}, |
| 1517 | {64 * 1024, 31}, |
| 1518 | }, |
| 1519 | .block_erase = spi_block_erase_d8, |
| 1520 | }, { |
| 1521 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1522 | .block_erase = spi_block_erase_60, |
| 1523 | }, { |
| 1524 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1525 | .block_erase = spi_block_erase_c7, |
| 1526 | } |
| 1527 | }, |
| 1528 | .unlock = spi_disable_blockprotect, |
| 1529 | .write = spi_chip_write_256, |
| 1530 | .read = spi_chip_read, |
| 1531 | }, |
| 1532 | |
| 1533 | { |
| 1534 | .vendor = "AMIC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1535 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1536 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1537 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1538 | .model_id = AMIC_A29002B, |
| 1539 | .total_size = 256, |
| 1540 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1541 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1542 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1543 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1544 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1545 | .block_erasers = |
| 1546 | { |
| 1547 | { |
| 1548 | .eraseblocks = { |
| 1549 | {16 * 1024, 1}, |
| 1550 | {8 * 1024, 2}, |
| 1551 | {32 * 1024, 1}, |
| 1552 | {64 * 1024, 3}, |
| 1553 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1554 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1555 | }, { |
| 1556 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1557 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1558 | }, |
| 1559 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1560 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1561 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1562 | }, |
| 1563 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1564 | { |
| 1565 | .vendor = "AMIC", |
| 1566 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1567 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1568 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1569 | .model_id = AMIC_A29002T, |
| 1570 | .total_size = 256, |
| 1571 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1572 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1573 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1574 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1575 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1576 | .block_erasers = |
| 1577 | { |
| 1578 | { |
| 1579 | .eraseblocks = { |
| 1580 | {64 * 1024, 3}, |
| 1581 | {32 * 1024, 1}, |
| 1582 | {8 * 1024, 2}, |
| 1583 | {16 * 1024, 1}, |
| 1584 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1585 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1586 | }, { |
| 1587 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1588 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1589 | }, |
| 1590 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1591 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1592 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1593 | }, |
| 1594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | { |
| 1596 | .vendor = "AMIC", |
| 1597 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1598 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1599 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1600 | .model_id = AMIC_A29040B, |
| 1601 | .total_size = 512, |
| 1602 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1603 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1604 | .tested = TEST_UNTESTED, |
| 1605 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1606 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1607 | .block_erasers = |
| 1608 | { |
| 1609 | { |
| 1610 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1611 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1612 | }, { |
| 1613 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1614 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1615 | }, |
| 1616 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1617 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1618 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1619 | }, |
| 1620 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1621 | { |
| 1622 | .vendor = "AMIC", |
| 1623 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1624 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1625 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1626 | .model_id = AMIC_A49LF040A, |
| 1627 | .total_size = 512, |
| 1628 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1629 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 1630 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1631 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1632 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1633 | .block_erasers = |
| 1634 | { |
| 1635 | { |
| 1636 | .eraseblocks = { {64 * 1024, 8} }, |
| 1637 | .block_erase = erase_block_jedec, |
| 1638 | }, { |
| 1639 | .eraseblocks = { {512 * 1024, 1} }, |
| 1640 | .block_erase = erase_chip_block_jedec, |
| 1641 | } |
| 1642 | }, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 1643 | .unlock = unlock_49fl00x, |
| 1644 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1645 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1646 | }, |
| 1647 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1648 | { |
| 1649 | .vendor = "EMST", |
| 1650 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1651 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1652 | .manufacture_id = EMST_ID, |
| 1653 | .model_id = EMST_F49B002UA, |
| 1654 | .total_size = 256, |
| 1655 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1656 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1657 | .tested = TEST_UNTESTED, |
| 1658 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1659 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1660 | .block_erasers = |
| 1661 | { |
| 1662 | { |
| 1663 | .eraseblocks = { |
| 1664 | {128 * 1024, 1}, |
| 1665 | {96 * 1024, 1}, |
| 1666 | {8 * 1024, 2}, |
| 1667 | {16 * 1024, 1}, |
| 1668 | }, |
| 1669 | .block_erase = erase_sector_jedec, |
| 1670 | }, { |
| 1671 | .eraseblocks = { {256 * 1024, 1} }, |
| 1672 | .block_erase = erase_chip_block_jedec, |
| 1673 | } |
| 1674 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1675 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1676 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1677 | }, |
| 1678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1679 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 1680 | .vendor = "EMST", |
| 1681 | .name = "F25L008A", |
| 1682 | .bustype = CHIP_BUSTYPE_SPI, |
| 1683 | .manufacture_id = EMST_ID, |
| 1684 | .model_id = EMST_F25L008A, |
| 1685 | .total_size = 1024, |
| 1686 | .page_size = 256, |
| 1687 | .tested = TEST_UNTESTED, |
| 1688 | .probe = probe_spi_rdid, |
| 1689 | .probe_timing = TIMING_ZERO, |
| 1690 | .block_erasers = |
| 1691 | { |
| 1692 | { |
| 1693 | .eraseblocks = { {4 * 1024, 256} }, |
| 1694 | .block_erase = spi_block_erase_20, |
| 1695 | }, { |
| 1696 | .eraseblocks = { {64 * 1024, 16} }, |
| 1697 | .block_erase = spi_block_erase_d8, |
| 1698 | }, { |
| 1699 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1700 | .block_erase = spi_block_erase_60, |
| 1701 | }, { |
| 1702 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1703 | .block_erase = spi_block_erase_c7, |
| 1704 | } |
| 1705 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1706 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 1707 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 1708 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 1709 | }, |
| 1710 | |
| 1711 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1712 | .vendor = "Eon", |
| 1713 | .name = "EN25B05", |
| 1714 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1715 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1716 | .model_id = EN_25B05, |
| 1717 | .total_size = 64, |
| 1718 | .page_size = 256, |
| 1719 | .tested = TEST_UNTESTED, |
| 1720 | .probe = probe_spi_rdid, |
| 1721 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1722 | .block_erasers = |
| 1723 | { |
| 1724 | { |
| 1725 | .eraseblocks = { |
| 1726 | {4 * 1024, 2}, |
| 1727 | {8 * 1024, 1}, |
| 1728 | {16 * 1024, 1}, |
| 1729 | {32 * 1024, 1}, |
| 1730 | }, |
| 1731 | .block_erase = spi_block_erase_d8, |
| 1732 | }, { |
| 1733 | .eraseblocks = { {64 * 1024, 1} }, |
| 1734 | .block_erase = spi_block_erase_c7, |
| 1735 | } |
| 1736 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1737 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1738 | .write = spi_chip_write_256, |
| 1739 | .read = spi_chip_read, |
| 1740 | }, |
| 1741 | |
| 1742 | { |
| 1743 | .vendor = "Eon", |
| 1744 | .name = "EN25B05T", |
| 1745 | .bustype = CHIP_BUSTYPE_SPI, |
| 1746 | .manufacture_id = EON_ID_NOPREFIX, |
| 1747 | .model_id = EN_25B05, |
| 1748 | .total_size = 64, |
| 1749 | .page_size = 256, |
| 1750 | .tested = TEST_UNTESTED, |
| 1751 | .probe = probe_spi_rdid, |
| 1752 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1753 | .block_erasers = |
| 1754 | { |
| 1755 | { |
| 1756 | .eraseblocks = { |
| 1757 | {32 * 1024, 1}, |
| 1758 | {16 * 1024, 1}, |
| 1759 | {8 * 1024, 1}, |
| 1760 | {4 * 1024, 2}, |
| 1761 | }, |
| 1762 | .block_erase = spi_block_erase_d8, |
| 1763 | }, { |
| 1764 | .eraseblocks = { {64 * 1024, 1} }, |
| 1765 | .block_erase = spi_block_erase_c7, |
| 1766 | } |
| 1767 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1768 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1769 | .write = spi_chip_write_256, |
| 1770 | .read = spi_chip_read, |
| 1771 | }, |
| 1772 | |
| 1773 | { |
| 1774 | .vendor = "Eon", |
| 1775 | .name = "EN25B10", |
| 1776 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1777 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1778 | .model_id = EN_25B10, |
| 1779 | .total_size = 128, |
| 1780 | .page_size = 256, |
| 1781 | .tested = TEST_UNTESTED, |
| 1782 | .probe = probe_spi_rdid, |
| 1783 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1784 | .block_erasers = |
| 1785 | { |
| 1786 | { |
| 1787 | .eraseblocks = { |
| 1788 | {4 * 1024, 2}, |
| 1789 | {8 * 1024, 1}, |
| 1790 | {16 * 1024, 1}, |
| 1791 | {32 * 1024, 3}, |
| 1792 | }, |
| 1793 | .block_erase = spi_block_erase_d8, |
| 1794 | }, { |
| 1795 | .eraseblocks = { {128 * 1024, 1} }, |
| 1796 | .block_erase = spi_block_erase_c7, |
| 1797 | } |
| 1798 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1799 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1800 | .write = spi_chip_write_256, |
| 1801 | .read = spi_chip_read, |
| 1802 | }, |
| 1803 | |
| 1804 | { |
| 1805 | .vendor = "Eon", |
| 1806 | .name = "EN25B10T", |
| 1807 | .bustype = CHIP_BUSTYPE_SPI, |
| 1808 | .manufacture_id = EON_ID_NOPREFIX, |
| 1809 | .model_id = EN_25B10, |
| 1810 | .total_size = 128, |
| 1811 | .page_size = 256, |
| 1812 | .tested = TEST_UNTESTED, |
| 1813 | .probe = probe_spi_rdid, |
| 1814 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1815 | .block_erasers = |
| 1816 | { |
| 1817 | { |
| 1818 | .eraseblocks = { |
| 1819 | {32 * 1024, 3}, |
| 1820 | {16 * 1024, 1}, |
| 1821 | {8 * 1024, 1}, |
| 1822 | {4 * 1024, 2}, |
| 1823 | }, |
| 1824 | .block_erase = spi_block_erase_d8, |
| 1825 | }, { |
| 1826 | .eraseblocks = { {128 * 1024, 1} }, |
| 1827 | .block_erase = spi_block_erase_c7, |
| 1828 | } |
| 1829 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1830 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1831 | .write = spi_chip_write_256, |
| 1832 | .read = spi_chip_read, |
| 1833 | }, |
| 1834 | |
| 1835 | { |
| 1836 | .vendor = "Eon", |
| 1837 | .name = "EN25B20", |
| 1838 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1839 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1840 | .model_id = EN_25B20, |
| 1841 | .total_size = 256, |
| 1842 | .page_size = 256, |
| 1843 | .tested = TEST_UNTESTED, |
| 1844 | .probe = probe_spi_rdid, |
| 1845 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1846 | .block_erasers = |
| 1847 | { |
| 1848 | { |
| 1849 | .eraseblocks = { |
| 1850 | {4 * 1024, 2}, |
| 1851 | {8 * 1024, 1}, |
| 1852 | {16 * 1024, 1}, |
| 1853 | {32 * 1024, 1}, |
| 1854 | {64 * 1024, 3} |
| 1855 | }, |
| 1856 | .block_erase = spi_block_erase_d8, |
| 1857 | }, { |
| 1858 | .eraseblocks = { {256 * 1024, 1} }, |
| 1859 | .block_erase = spi_block_erase_c7, |
| 1860 | } |
| 1861 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1862 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1863 | .write = spi_chip_write_256, |
| 1864 | .read = spi_chip_read, |
| 1865 | }, |
| 1866 | |
| 1867 | { |
| 1868 | .vendor = "Eon", |
| 1869 | .name = "EN25B20T", |
| 1870 | .bustype = CHIP_BUSTYPE_SPI, |
| 1871 | .manufacture_id = EON_ID_NOPREFIX, |
| 1872 | .model_id = EN_25B20, |
| 1873 | .total_size = 256, |
| 1874 | .page_size = 256, |
| 1875 | .tested = TEST_UNTESTED, |
| 1876 | .probe = probe_spi_rdid, |
| 1877 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1878 | .block_erasers = |
| 1879 | { |
| 1880 | { |
| 1881 | .eraseblocks = { |
| 1882 | {64 * 1024, 3}, |
| 1883 | {32 * 1024, 1}, |
| 1884 | {16 * 1024, 1}, |
| 1885 | {8 * 1024, 1}, |
| 1886 | {4 * 1024, 2}, |
| 1887 | }, |
| 1888 | .block_erase = spi_block_erase_d8, |
| 1889 | }, { |
| 1890 | .eraseblocks = { {256 * 1024, 1} }, |
| 1891 | .block_erase = spi_block_erase_c7, |
| 1892 | } |
| 1893 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1894 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1895 | .write = spi_chip_write_256, |
| 1896 | .read = spi_chip_read, |
| 1897 | }, |
| 1898 | |
| 1899 | { |
| 1900 | .vendor = "Eon", |
| 1901 | .name = "EN25B40", |
| 1902 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1903 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1904 | .model_id = EN_25B40, |
| 1905 | .total_size = 512, |
| 1906 | .page_size = 256, |
| 1907 | .tested = TEST_UNTESTED, |
| 1908 | .probe = probe_spi_rdid, |
| 1909 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1910 | .block_erasers = |
| 1911 | { |
| 1912 | { |
| 1913 | .eraseblocks = { |
| 1914 | {4 * 1024, 2}, |
| 1915 | {8 * 1024, 1}, |
| 1916 | {16 * 1024, 1}, |
| 1917 | {32 * 1024, 1}, |
| 1918 | {64 * 1024, 7} |
| 1919 | }, |
| 1920 | .block_erase = spi_block_erase_d8, |
| 1921 | }, { |
| 1922 | .eraseblocks = { {512 * 1024, 1} }, |
| 1923 | .block_erase = spi_block_erase_c7, |
| 1924 | } |
| 1925 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1926 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1927 | .write = spi_chip_write_256, |
| 1928 | .read = spi_chip_read, |
| 1929 | }, |
| 1930 | |
| 1931 | { |
| 1932 | .vendor = "Eon", |
| 1933 | .name = "EN25B40T", |
| 1934 | .bustype = CHIP_BUSTYPE_SPI, |
| 1935 | .manufacture_id = EON_ID_NOPREFIX, |
| 1936 | .model_id = EN_25B40, |
| 1937 | .total_size = 512, |
| 1938 | .page_size = 256, |
| 1939 | .tested = TEST_UNTESTED, |
| 1940 | .probe = probe_spi_rdid, |
| 1941 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1942 | .block_erasers = |
| 1943 | { |
| 1944 | { |
| 1945 | .eraseblocks = { |
| 1946 | {64 * 1024, 7}, |
| 1947 | {32 * 1024, 1}, |
| 1948 | {16 * 1024, 1}, |
| 1949 | {8 * 1024, 1}, |
| 1950 | {4 * 1024, 2}, |
| 1951 | }, |
| 1952 | .block_erase = spi_block_erase_d8, |
| 1953 | }, { |
| 1954 | .eraseblocks = { {512 * 1024, 1} }, |
| 1955 | .block_erase = spi_block_erase_c7, |
| 1956 | } |
| 1957 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1958 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1959 | .write = spi_chip_write_256, |
| 1960 | .read = spi_chip_read, |
| 1961 | }, |
| 1962 | |
| 1963 | { |
| 1964 | .vendor = "Eon", |
| 1965 | .name = "EN25B80", |
| 1966 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1967 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1968 | .model_id = EN_25B80, |
| 1969 | .total_size = 1024, |
| 1970 | .page_size = 256, |
| 1971 | .tested = TEST_UNTESTED, |
| 1972 | .probe = probe_spi_rdid, |
| 1973 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1974 | .block_erasers = |
| 1975 | { |
| 1976 | { |
| 1977 | .eraseblocks = { |
| 1978 | {4 * 1024, 2}, |
| 1979 | {8 * 1024, 1}, |
| 1980 | {16 * 1024, 1}, |
| 1981 | {32 * 1024, 1}, |
| 1982 | {64 * 1024, 15} |
| 1983 | }, |
| 1984 | .block_erase = spi_block_erase_d8, |
| 1985 | }, { |
| 1986 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1987 | .block_erase = spi_block_erase_c7, |
| 1988 | } |
| 1989 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1990 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1991 | .write = spi_chip_write_256, |
| 1992 | .read = spi_chip_read, |
| 1993 | }, |
| 1994 | |
| 1995 | { |
| 1996 | .vendor = "Eon", |
| 1997 | .name = "EN25B80T", |
| 1998 | .bustype = CHIP_BUSTYPE_SPI, |
| 1999 | .manufacture_id = EON_ID_NOPREFIX, |
| 2000 | .model_id = EN_25B80, |
| 2001 | .total_size = 1024, |
| 2002 | .page_size = 256, |
| 2003 | .tested = TEST_UNTESTED, |
| 2004 | .probe = probe_spi_rdid, |
| 2005 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2006 | .block_erasers = |
| 2007 | { |
| 2008 | { |
| 2009 | .eraseblocks = { |
| 2010 | {64 * 1024, 15}, |
| 2011 | {32 * 1024, 1}, |
| 2012 | {16 * 1024, 1}, |
| 2013 | {8 * 1024, 1}, |
| 2014 | {4 * 1024, 2}, |
| 2015 | }, |
| 2016 | .block_erase = spi_block_erase_d8, |
| 2017 | }, { |
| 2018 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2019 | .block_erase = spi_block_erase_c7, |
| 2020 | } |
| 2021 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2022 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2023 | .write = spi_chip_write_256, |
| 2024 | .read = spi_chip_read, |
| 2025 | }, |
| 2026 | |
| 2027 | { |
| 2028 | .vendor = "Eon", |
| 2029 | .name = "EN25B16", |
| 2030 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2031 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2032 | .model_id = EN_25B16, |
| 2033 | .total_size = 2048, |
| 2034 | .page_size = 256, |
| 2035 | .tested = TEST_UNTESTED, |
| 2036 | .probe = probe_spi_rdid, |
| 2037 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2038 | .block_erasers = |
| 2039 | { |
| 2040 | { |
| 2041 | .eraseblocks = { |
| 2042 | {4 * 1024, 2}, |
| 2043 | {8 * 1024, 1}, |
| 2044 | {16 * 1024, 1}, |
| 2045 | {32 * 1024, 1}, |
| 2046 | {64 * 1024, 31}, |
| 2047 | }, |
| 2048 | .block_erase = spi_block_erase_d8, |
| 2049 | }, { |
| 2050 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2051 | .block_erase = spi_block_erase_c7, |
| 2052 | } |
| 2053 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2054 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2055 | .write = spi_chip_write_256, |
| 2056 | .read = spi_chip_read, |
| 2057 | }, |
| 2058 | |
| 2059 | { |
| 2060 | .vendor = "Eon", |
| 2061 | .name = "EN25B16T", |
| 2062 | .bustype = CHIP_BUSTYPE_SPI, |
| 2063 | .manufacture_id = EON_ID_NOPREFIX, |
| 2064 | .model_id = EN_25B16, |
| 2065 | .total_size = 2048, |
| 2066 | .page_size = 256, |
| 2067 | .tested = TEST_UNTESTED, |
| 2068 | .probe = probe_spi_rdid, |
| 2069 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2070 | .block_erasers = |
| 2071 | { |
| 2072 | { |
| 2073 | .eraseblocks = { |
| 2074 | {64 * 1024, 31}, |
| 2075 | {32 * 1024, 1}, |
| 2076 | {16 * 1024, 1}, |
| 2077 | {8 * 1024, 1}, |
| 2078 | {4 * 1024, 2}, |
| 2079 | }, |
| 2080 | .block_erase = spi_block_erase_d8, |
| 2081 | }, { |
| 2082 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2083 | .block_erase = spi_block_erase_c7, |
| 2084 | } |
| 2085 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2086 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2087 | .write = spi_chip_write_256, |
| 2088 | .read = spi_chip_read, |
| 2089 | }, |
| 2090 | |
| 2091 | { |
| 2092 | .vendor = "Eon", |
| 2093 | .name = "EN25B32", |
| 2094 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2095 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2096 | .model_id = EN_25B32, |
| 2097 | .total_size = 4096, |
| 2098 | .page_size = 256, |
| 2099 | .tested = TEST_UNTESTED, |
| 2100 | .probe = probe_spi_rdid, |
| 2101 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2102 | .block_erasers = |
| 2103 | { |
| 2104 | { |
| 2105 | .eraseblocks = { |
| 2106 | {4 * 1024, 2}, |
| 2107 | {8 * 1024, 1}, |
| 2108 | {16 * 1024, 1}, |
| 2109 | {32 * 1024, 1}, |
| 2110 | {64 * 1024, 63}, |
| 2111 | }, |
| 2112 | .block_erase = spi_block_erase_d8, |
| 2113 | }, { |
| 2114 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2115 | .block_erase = spi_block_erase_c7, |
| 2116 | } |
| 2117 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2118 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2119 | .write = spi_chip_write_256, |
| 2120 | .read = spi_chip_read, |
| 2121 | }, |
| 2122 | |
| 2123 | { |
| 2124 | .vendor = "Eon", |
| 2125 | .name = "EN25B32T", |
| 2126 | .bustype = CHIP_BUSTYPE_SPI, |
| 2127 | .manufacture_id = EON_ID_NOPREFIX, |
| 2128 | .model_id = EN_25B32, |
| 2129 | .total_size = 4096, |
| 2130 | .page_size = 256, |
| 2131 | .tested = TEST_UNTESTED, |
| 2132 | .probe = probe_spi_rdid, |
| 2133 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2134 | .block_erasers = |
| 2135 | { |
| 2136 | { |
| 2137 | .eraseblocks = { |
| 2138 | {64 * 1024, 63}, |
| 2139 | {32 * 1024, 1}, |
| 2140 | {16 * 1024, 1}, |
| 2141 | {8 * 1024, 1}, |
| 2142 | {4 * 1024, 2}, |
| 2143 | }, |
| 2144 | .block_erase = spi_block_erase_d8, |
| 2145 | }, { |
| 2146 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2147 | .block_erase = spi_block_erase_c7, |
| 2148 | } |
| 2149 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2150 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2151 | .write = spi_chip_write_256, |
| 2152 | .read = spi_chip_read, |
| 2153 | }, |
| 2154 | |
| 2155 | { |
| 2156 | .vendor = "Eon", |
| 2157 | .name = "EN25B64", |
| 2158 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2159 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2160 | .model_id = EN_25B64, |
| 2161 | .total_size = 8192, |
| 2162 | .page_size = 256, |
| 2163 | .tested = TEST_UNTESTED, |
| 2164 | .probe = probe_spi_rdid, |
| 2165 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2166 | .block_erasers = |
| 2167 | { |
| 2168 | { |
| 2169 | .eraseblocks = { |
| 2170 | {4 * 1024, 2}, |
| 2171 | {8 * 1024, 1}, |
| 2172 | {16 * 1024, 1}, |
| 2173 | {32 * 1024, 1}, |
| 2174 | {64 * 1024, 127}, |
| 2175 | }, |
| 2176 | .block_erase = spi_block_erase_d8, |
| 2177 | }, { |
| 2178 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2179 | .block_erase = spi_block_erase_c7, |
| 2180 | } |
| 2181 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2182 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2183 | .write = spi_chip_write_256, |
| 2184 | .read = spi_chip_read, |
| 2185 | }, |
| 2186 | |
| 2187 | { |
| 2188 | .vendor = "Eon", |
| 2189 | .name = "EN25B64T", |
| 2190 | .bustype = CHIP_BUSTYPE_SPI, |
| 2191 | .manufacture_id = EON_ID_NOPREFIX, |
| 2192 | .model_id = EN_25B64, |
| 2193 | .total_size = 8192, |
| 2194 | .page_size = 256, |
| 2195 | .tested = TEST_UNTESTED, |
| 2196 | .probe = probe_spi_rdid, |
| 2197 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2198 | .block_erasers = |
| 2199 | { |
| 2200 | { |
| 2201 | .eraseblocks = { |
| 2202 | {64 * 1024, 127}, |
| 2203 | {32 * 1024, 1}, |
| 2204 | {16 * 1024, 1}, |
| 2205 | {8 * 1024, 1}, |
| 2206 | {4 * 1024, 2}, |
| 2207 | }, |
| 2208 | .block_erase = spi_block_erase_d8, |
| 2209 | }, { |
| 2210 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2211 | .block_erase = spi_block_erase_c7, |
| 2212 | } |
| 2213 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2214 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2215 | .write = spi_chip_write_256, |
| 2216 | .read = spi_chip_read, |
| 2217 | }, |
| 2218 | |
| 2219 | { |
| 2220 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2221 | .name = "EN25D16", |
| 2222 | .bustype = CHIP_BUSTYPE_SPI, |
| 2223 | .manufacture_id = EON_ID_NOPREFIX, |
| 2224 | .model_id = EN_25D16, |
| 2225 | .total_size = 2048, |
| 2226 | .page_size = 256, |
| 2227 | .tested = TEST_UNTESTED, |
| 2228 | .probe = probe_spi_rdid, |
| 2229 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2230 | .block_erasers = |
| 2231 | { |
| 2232 | { |
| 2233 | .eraseblocks = { {4 * 1024, 512} }, |
| 2234 | .block_erase = spi_block_erase_20, |
| 2235 | }, { |
| 2236 | .eraseblocks = { {64 * 1024, 32} }, |
| 2237 | .block_erase = spi_block_erase_d8, |
| 2238 | }, { |
| 2239 | .eraseblocks = { {64 * 1024, 32} }, |
| 2240 | .block_erase = spi_block_erase_52, |
| 2241 | }, { |
| 2242 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2243 | .block_erase = spi_block_erase_60, |
| 2244 | }, { |
| 2245 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2246 | .block_erase = spi_block_erase_c7, |
| 2247 | } |
| 2248 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2249 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2250 | .write = spi_chip_write_256, |
| 2251 | .read = spi_chip_read, |
| 2252 | }, |
| 2253 | |
| 2254 | { |
| 2255 | .vendor = "Eon", |
| 2256 | .name = "EN25F05", |
| 2257 | .bustype = CHIP_BUSTYPE_SPI, |
| 2258 | .manufacture_id = EON_ID_NOPREFIX, |
| 2259 | .model_id = EN_25F05, |
| 2260 | .total_size = 64, |
| 2261 | .page_size = 256, |
| 2262 | .tested = TEST_UNTESTED, |
| 2263 | .probe = probe_spi_rdid, |
| 2264 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2265 | .block_erasers = |
| 2266 | { |
| 2267 | { |
| 2268 | .eraseblocks = { {4 * 1024, 16} }, |
| 2269 | .block_erase = spi_block_erase_20, |
| 2270 | }, { |
| 2271 | .eraseblocks = { {32 * 1024, 2} }, |
| 2272 | .block_erase = spi_block_erase_d8, |
| 2273 | }, { |
| 2274 | .eraseblocks = { {32 * 1024, 2} }, |
| 2275 | .block_erase = spi_block_erase_52, |
| 2276 | }, { |
| 2277 | .eraseblocks = { {64 * 1024, 1} }, |
| 2278 | .block_erase = spi_block_erase_60, |
| 2279 | }, { |
| 2280 | .eraseblocks = { {64 * 1024, 1} }, |
| 2281 | .block_erase = spi_block_erase_c7, |
| 2282 | } |
| 2283 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2284 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2285 | .write = spi_chip_write_256, |
| 2286 | .read = spi_chip_read, |
| 2287 | }, |
| 2288 | |
| 2289 | { |
| 2290 | .vendor = "Eon", |
| 2291 | .name = "EN25F10", |
| 2292 | .bustype = CHIP_BUSTYPE_SPI, |
| 2293 | .manufacture_id = EON_ID_NOPREFIX, |
| 2294 | .model_id = EN_25F10, |
| 2295 | .total_size = 128, |
| 2296 | .page_size = 256, |
| 2297 | .tested = TEST_UNTESTED, |
| 2298 | .probe = probe_spi_rdid, |
| 2299 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2300 | .block_erasers = |
| 2301 | { |
| 2302 | { |
| 2303 | .eraseblocks = { {4 * 1024, 32} }, |
| 2304 | .block_erase = spi_block_erase_20, |
| 2305 | }, { |
| 2306 | .eraseblocks = { {32 * 1024, 4} }, |
| 2307 | .block_erase = spi_block_erase_d8, |
| 2308 | }, { |
| 2309 | .eraseblocks = { {32 * 1024, 4} }, |
| 2310 | .block_erase = spi_block_erase_52, |
| 2311 | }, { |
| 2312 | .eraseblocks = { {128 * 1024, 1} }, |
| 2313 | .block_erase = spi_block_erase_60, |
| 2314 | }, { |
| 2315 | .eraseblocks = { {128 * 1024, 1} }, |
| 2316 | .block_erase = spi_block_erase_c7, |
| 2317 | } |
| 2318 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2319 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2320 | .write = spi_chip_write_256, |
| 2321 | .read = spi_chip_read, |
| 2322 | }, |
| 2323 | |
| 2324 | { |
| 2325 | .vendor = "Eon", |
| 2326 | .name = "EN25F20", |
| 2327 | .bustype = CHIP_BUSTYPE_SPI, |
| 2328 | .manufacture_id = EON_ID_NOPREFIX, |
| 2329 | .model_id = EN_25F20, |
| 2330 | .total_size = 256, |
| 2331 | .page_size = 256, |
| 2332 | .tested = TEST_UNTESTED, |
| 2333 | .probe = probe_spi_rdid, |
| 2334 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2335 | .block_erasers = |
| 2336 | { |
| 2337 | { |
| 2338 | .eraseblocks = { {4 * 1024, 64} }, |
| 2339 | .block_erase = spi_block_erase_20, |
| 2340 | }, { |
| 2341 | .eraseblocks = { {64 * 1024, 4} }, |
| 2342 | .block_erase = spi_block_erase_d8, |
| 2343 | }, { |
| 2344 | .eraseblocks = { {64 * 1024, 4} }, |
| 2345 | .block_erase = spi_block_erase_52, |
| 2346 | }, { |
| 2347 | .eraseblocks = { {256 * 1024, 1} }, |
| 2348 | .block_erase = spi_block_erase_60, |
| 2349 | }, { |
| 2350 | .eraseblocks = { {256 * 1024, 1} }, |
| 2351 | .block_erase = spi_block_erase_c7, |
| 2352 | } |
| 2353 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2354 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2355 | .write = spi_chip_write_256, |
| 2356 | .read = spi_chip_read, |
| 2357 | }, |
| 2358 | |
| 2359 | { |
| 2360 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2361 | .name = "EN25F40", |
| 2362 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2363 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2364 | .model_id = EN_25F40, |
| 2365 | .total_size = 512, |
| 2366 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2367 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2368 | .probe = probe_spi_rdid, |
| 2369 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2370 | .block_erasers = |
| 2371 | { |
| 2372 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2373 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2374 | .block_erase = spi_block_erase_20, |
| 2375 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2376 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2377 | .block_erase = spi_block_erase_d8, |
| 2378 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2379 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2380 | .block_erase = spi_block_erase_60, |
| 2381 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2382 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2383 | .block_erase = spi_block_erase_c7, |
| 2384 | }, |
| 2385 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2386 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2387 | .write = spi_chip_write_256, |
| 2388 | .read = spi_chip_read, |
| 2389 | }, |
| 2390 | |
| 2391 | { |
| 2392 | .vendor = "Eon", |
| 2393 | .name = "EN25F80", |
| 2394 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2395 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2396 | .model_id = EN_25F80, |
| 2397 | .total_size = 1024, |
| 2398 | .page_size = 256, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 2399 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2400 | .probe = probe_spi_rdid, |
| 2401 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2402 | .block_erasers = |
| 2403 | { |
| 2404 | { |
| 2405 | .eraseblocks = { {4 * 1024, 256} }, |
| 2406 | .block_erase = spi_block_erase_20, |
| 2407 | }, { |
| 2408 | .eraseblocks = { {64 * 1024, 16} }, |
| 2409 | .block_erase = spi_block_erase_d8, |
| 2410 | }, { |
| 2411 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2412 | .block_erase = spi_block_erase_60, |
| 2413 | }, { |
| 2414 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2415 | .block_erase = spi_block_erase_c7, |
| 2416 | } |
| 2417 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2418 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2419 | .write = spi_chip_write_256, |
| 2420 | .read = spi_chip_read, |
| 2421 | }, |
| 2422 | |
| 2423 | { |
| 2424 | .vendor = "Eon", |
| 2425 | .name = "EN25F16", |
| 2426 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2427 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2428 | .model_id = EN_25F16, |
| 2429 | .total_size = 2048, |
| 2430 | .page_size = 256, |
| 2431 | .tested = TEST_UNTESTED, |
| 2432 | .probe = probe_spi_rdid, |
| 2433 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2434 | .block_erasers = |
| 2435 | { |
| 2436 | { |
| 2437 | .eraseblocks = { {4 * 1024, 512} }, |
| 2438 | .block_erase = spi_block_erase_20, |
| 2439 | }, { |
| 2440 | .eraseblocks = { {64 * 1024, 32} }, |
| 2441 | .block_erase = spi_block_erase_d8, |
| 2442 | }, { |
| 2443 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2444 | .block_erase = spi_block_erase_60, |
| 2445 | }, { |
| 2446 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2447 | .block_erase = spi_block_erase_c7, |
| 2448 | } |
| 2449 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2450 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2451 | .write = spi_chip_write_256, |
| 2452 | .read = spi_chip_read, |
| 2453 | }, |
| 2454 | |
| 2455 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2456 | .vendor = "Eon", |
| 2457 | .name = "EN25F32", |
| 2458 | .bustype = CHIP_BUSTYPE_SPI, |
| 2459 | .manufacture_id = EON_ID_NOPREFIX, |
| 2460 | .model_id = EN_25F32, |
| 2461 | .total_size = 4096, |
| 2462 | .page_size = 256, |
| 2463 | .tested = TEST_UNTESTED, |
| 2464 | .probe = probe_spi_rdid, |
| 2465 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2466 | .block_erasers = |
| 2467 | { |
| 2468 | { |
| 2469 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2470 | .block_erase = spi_block_erase_20, |
| 2471 | }, { |
| 2472 | .eraseblocks = { {64 * 1024, 64} }, |
| 2473 | .block_erase = spi_block_erase_d8, |
| 2474 | }, { |
| 2475 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2476 | .block_erase = spi_block_erase_60, |
| 2477 | }, { |
| 2478 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2479 | .block_erase = spi_block_erase_c7, |
| 2480 | } |
| 2481 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2482 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2483 | .write = spi_chip_write_256, |
| 2484 | .read = spi_chip_read, |
| 2485 | }, |
| 2486 | |
| 2487 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2488 | .vendor = "Eon", |
| 2489 | .name = "EN29F010", |
| 2490 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2491 | .manufacture_id = EON_ID, |
| 2492 | .model_id = EN_29F010, |
| 2493 | .total_size = 128, |
| 2494 | .page_size = 128, |
| 2495 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2496 | .tested = TEST_OK_PREW, |
| 2497 | .probe = probe_jedec, |
| 2498 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2499 | .block_erasers = |
| 2500 | { |
| 2501 | { |
| 2502 | .eraseblocks = { {16 * 1024, 8} }, |
| 2503 | .block_erase = erase_sector_jedec, |
| 2504 | }, |
| 2505 | { |
| 2506 | .eraseblocks = { {128 * 1024, 1} }, |
| 2507 | .block_erase = erase_chip_block_jedec, |
| 2508 | }, |
| 2509 | }, |
| 2510 | .write = write_jedec_1, |
| 2511 | .read = read_memmapped, |
| 2512 | }, |
| 2513 | |
| 2514 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2515 | .vendor = "EON", |
| 2516 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2517 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2518 | .manufacture_id = EON_ID, |
| 2519 | .model_id = EN_29F002B, |
| 2520 | .total_size = 256, |
| 2521 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2522 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2523 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2524 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2525 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2526 | .block_erasers = |
| 2527 | { |
| 2528 | { |
| 2529 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2530 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2531 | {8 * 1024, 2}, |
| 2532 | {32 * 1024, 1}, |
| 2533 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2534 | }, |
| 2535 | .block_erase = erase_sector_jedec, |
| 2536 | }, { |
| 2537 | .eraseblocks = { {256 * 1024, 1} }, |
| 2538 | .block_erase = erase_chip_block_jedec, |
| 2539 | }, |
| 2540 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2541 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2542 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2543 | }, |
| 2544 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2545 | { |
| 2546 | .vendor = "EON", |
| 2547 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2548 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2549 | .manufacture_id = EON_ID, |
| 2550 | .model_id = EN_29F002T, |
| 2551 | .total_size = 256, |
| 2552 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2553 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2554 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2555 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2556 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2557 | .block_erasers = |
| 2558 | { |
| 2559 | { |
| 2560 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2561 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2562 | {32 * 1024, 1}, |
| 2563 | {8 * 1024, 2}, |
| 2564 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2565 | }, |
| 2566 | .block_erase = erase_sector_jedec, |
| 2567 | }, { |
| 2568 | .eraseblocks = { {256 * 1024, 1} }, |
| 2569 | .block_erase = erase_chip_block_jedec, |
| 2570 | }, |
| 2571 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2572 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2573 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2574 | }, |
| 2575 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2576 | { |
| 2577 | .vendor = "Fujitsu", |
| 2578 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2579 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2580 | .manufacture_id = FUJITSU_ID, |
| 2581 | .model_id = MBM29F004BC, |
| 2582 | .total_size = 512, |
| 2583 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2584 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2585 | .tested = TEST_UNTESTED, |
| 2586 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2587 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2588 | .block_erasers = |
| 2589 | { |
| 2590 | { |
| 2591 | .eraseblocks = { |
| 2592 | {16 * 1024, 1}, |
| 2593 | {8 * 1024, 2}, |
| 2594 | {32 * 1024, 1}, |
| 2595 | {64 * 1024, 7}, |
| 2596 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2597 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2598 | }, { |
| 2599 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2600 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2601 | }, |
| 2602 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2603 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2604 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2605 | }, |
| 2606 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2607 | { |
| 2608 | .vendor = "Fujitsu", |
| 2609 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2610 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2611 | .manufacture_id = FUJITSU_ID, |
| 2612 | .model_id = MBM29F004TC, |
| 2613 | .total_size = 512, |
| 2614 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2615 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2616 | .tested = TEST_UNTESTED, |
| 2617 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2618 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2619 | .block_erasers = |
| 2620 | { |
| 2621 | { |
| 2622 | .eraseblocks = { |
| 2623 | {64 * 1024, 7}, |
| 2624 | {32 * 1024, 1}, |
| 2625 | {8 * 1024, 2}, |
| 2626 | {16 * 1024, 1}, |
| 2627 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2628 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2629 | }, { |
| 2630 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2631 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2632 | }, |
| 2633 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2634 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2635 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2636 | }, |
| 2637 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2638 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2639 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2640 | .vendor = "Fujitsu", |
| 2641 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2642 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2643 | .manufacture_id = FUJITSU_ID, |
| 2644 | .model_id = MBM29F400BC, |
| 2645 | .total_size = 512, |
| 2646 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2647 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2648 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2649 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2650 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2651 | .block_erasers = |
| 2652 | { |
| 2653 | { |
| 2654 | .eraseblocks = { |
| 2655 | {16 * 1024, 1}, |
| 2656 | {8 * 1024, 2}, |
| 2657 | {32 * 1024, 1}, |
| 2658 | {64 * 1024, 7}, |
| 2659 | }, |
| 2660 | .block_erase = block_erase_m29f400bt, |
| 2661 | }, { |
| 2662 | .eraseblocks = { {512 * 1024, 1} }, |
| 2663 | .block_erase = block_erase_chip_m29f400bt, |
| 2664 | }, |
| 2665 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2666 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2667 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2668 | }, |
| 2669 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2670 | { |
| 2671 | .vendor = "Fujitsu", |
| 2672 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2673 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2674 | .manufacture_id = FUJITSU_ID, |
| 2675 | .model_id = MBM29F400TC, |
| 2676 | .total_size = 512, |
| 2677 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2678 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2679 | .tested = TEST_UNTESTED, |
| 2680 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2681 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2682 | .block_erasers = |
| 2683 | { |
| 2684 | { |
| 2685 | .eraseblocks = { |
| 2686 | {64 * 1024, 7}, |
| 2687 | {32 * 1024, 1}, |
| 2688 | {8 * 1024, 2}, |
| 2689 | {16 * 1024, 1}, |
| 2690 | }, |
| 2691 | .block_erase = block_erase_m29f400bt, |
| 2692 | }, { |
| 2693 | .eraseblocks = { {512 * 1024, 1} }, |
| 2694 | .block_erase = block_erase_chip_m29f400bt, |
| 2695 | }, |
| 2696 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2697 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2698 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2699 | }, |
| 2700 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2701 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 2702 | .vendor = "Hyundai", |
| 2703 | .name = "HY29F002T", |
| 2704 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2705 | .manufacture_id = HYUNDAI_ID, |
| 2706 | .model_id = HY_29F002T, |
| 2707 | .total_size = 256, |
| 2708 | .page_size = 256 * 1024, |
| 2709 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 2710 | .tested = TEST_OK_PREW, |
| 2711 | .probe = probe_jedec, |
| 2712 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2713 | .block_erasers = |
| 2714 | { |
| 2715 | { |
| 2716 | .eraseblocks = { |
| 2717 | {64 * 1024, 3}, |
| 2718 | {32 * 1024, 1}, |
| 2719 | {8 * 1024, 2}, |
| 2720 | {16 * 1024, 1}, |
| 2721 | }, |
| 2722 | .block_erase = erase_sector_jedec, |
| 2723 | }, { |
| 2724 | .eraseblocks = { {256 * 1024, 1} }, |
| 2725 | .block_erase = erase_chip_block_jedec, |
| 2726 | }, |
| 2727 | }, |
| 2728 | .write = write_jedec_1, |
| 2729 | .read = read_memmapped, |
| 2730 | }, |
| 2731 | |
| 2732 | { |
| 2733 | .vendor = "Hyundai", |
| 2734 | .name = "HY29F002B", |
| 2735 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2736 | .manufacture_id = HYUNDAI_ID, |
| 2737 | .model_id = HY_29F002B, |
| 2738 | .total_size = 256, |
| 2739 | .page_size = 256 * 1024, |
| 2740 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 2741 | .tested = TEST_UNTESTED, |
| 2742 | .probe = probe_jedec, |
| 2743 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2744 | .block_erasers = |
| 2745 | { |
| 2746 | { |
| 2747 | .eraseblocks = { |
| 2748 | {16 * 1024, 1}, |
| 2749 | {8 * 1024, 2}, |
| 2750 | {32 * 1024, 1}, |
| 2751 | {64 * 1024, 3}, |
| 2752 | }, |
| 2753 | .block_erase = erase_sector_jedec, |
| 2754 | }, { |
| 2755 | .eraseblocks = { {256 * 1024, 1} }, |
| 2756 | .block_erase = erase_chip_block_jedec, |
| 2757 | }, |
| 2758 | }, |
| 2759 | .write = write_jedec_1, |
| 2760 | .read = read_memmapped, |
| 2761 | }, |
| 2762 | |
| 2763 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2764 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2765 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2766 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2767 | .manufacture_id = INTEL_ID, |
| 2768 | .model_id = P28F001BXB, |
| 2769 | .total_size = 128, |
| 2770 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2771 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2772 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2773 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2774 | .block_erasers = |
| 2775 | { |
| 2776 | { |
| 2777 | .eraseblocks = { |
| 2778 | {8 * 1024, 1}, |
| 2779 | {4 * 1024, 2}, |
| 2780 | {112 * 1024, 1}, |
| 2781 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2782 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2783 | }, |
| 2784 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2785 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2786 | .read = read_memmapped, |
| 2787 | }, |
| 2788 | |
| 2789 | { |
| 2790 | .vendor = "Intel", |
| 2791 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2792 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2793 | .manufacture_id = INTEL_ID, |
| 2794 | .model_id = P28F001BXT, |
| 2795 | .total_size = 128, |
| 2796 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2797 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2798 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2799 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2800 | .block_erasers = |
| 2801 | { |
| 2802 | { |
| 2803 | .eraseblocks = { |
| 2804 | {112 * 1024, 1}, |
| 2805 | {4 * 1024, 2}, |
| 2806 | {8 * 1024, 1}, |
| 2807 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2808 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2809 | }, |
| 2810 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2811 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2812 | .read = read_memmapped, |
| 2813 | }, |
| 2814 | |
| 2815 | { |
| 2816 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2817 | .name = "28F004S5", |
| 2818 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2819 | .manufacture_id = INTEL_ID, |
| 2820 | .model_id = E_28F004S5, |
| 2821 | .total_size = 512, |
| 2822 | .page_size = 256, |
| 2823 | .tested = TEST_UNTESTED, |
| 2824 | .probe = probe_82802ab, |
| 2825 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2826 | .block_erasers = |
| 2827 | { |
| 2828 | { |
| 2829 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2830 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2831 | }, |
| 2832 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2833 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2834 | .write = write_82802ab, |
| 2835 | .read = read_memmapped, |
| 2836 | }, |
| 2837 | |
| 2838 | { |
| 2839 | .vendor = "Intel", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 2840 | .name = "28F004BV/BE-B", |
| 2841 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2842 | .manufacture_id = INTEL_ID, |
| 2843 | .model_id = P28F004BB, |
| 2844 | .total_size = 512, |
| 2845 | .page_size = 128 * 1024, /* maximal block size */ |
| 2846 | .tested = TEST_UNTESTED, |
| 2847 | .probe = probe_82802ab, |
| 2848 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2849 | .block_erasers = |
| 2850 | { |
| 2851 | { |
| 2852 | .eraseblocks = { |
| 2853 | {16 * 1024, 1}, |
| 2854 | {8 * 1024, 2}, |
| 2855 | {96 * 1024, 1}, |
| 2856 | {128 * 1024, 3}, |
| 2857 | }, |
| 2858 | .block_erase = erase_block_82802ab, |
| 2859 | }, |
| 2860 | }, |
| 2861 | .write = write_82802ab, |
| 2862 | .read = read_memmapped, |
| 2863 | }, |
| 2864 | |
| 2865 | { |
| 2866 | .vendor = "Intel", |
| 2867 | .name = "28F004BV/BE-T", |
| 2868 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2869 | .manufacture_id = INTEL_ID, |
| 2870 | .model_id = P28F004BT, |
| 2871 | .total_size = 512, |
| 2872 | .page_size = 128 * 1024, /* maximal block size */ |
| 2873 | .tested = TEST_UNTESTED, |
| 2874 | .probe = probe_82802ab, |
| 2875 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2876 | .block_erasers = |
| 2877 | { |
| 2878 | { |
| 2879 | .eraseblocks = { |
| 2880 | {128 * 1024, 3}, |
| 2881 | {96 * 1024, 1}, |
| 2882 | {8 * 1024, 2}, |
| 2883 | {16 * 1024, 1}, |
| 2884 | }, |
| 2885 | .block_erase = erase_block_82802ab, |
| 2886 | }, |
| 2887 | }, |
| 2888 | .write = write_82802ab, |
| 2889 | .read = read_memmapped, |
| 2890 | }, |
| 2891 | |
| 2892 | { |
| 2893 | .vendor = "Intel", |
| 2894 | .name = "28F400BV/CV/CE-B", |
| 2895 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2896 | .manufacture_id = INTEL_ID, |
| 2897 | .model_id = P28F400BB, |
| 2898 | .total_size = 512, |
| 2899 | .page_size = 128 * 1024, /* maximal block size */ |
| 2900 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2901 | .tested = TEST_UNTESTED, |
| 2902 | .probe = probe_82802ab, |
| 2903 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2904 | .block_erasers = |
| 2905 | { |
| 2906 | { |
| 2907 | .eraseblocks = { |
| 2908 | {16 * 1024, 1}, |
| 2909 | {8 * 1024, 2}, |
| 2910 | {96 * 1024, 1}, |
| 2911 | {128 * 1024, 3}, |
| 2912 | }, |
| 2913 | .block_erase = erase_block_82802ab, |
| 2914 | }, |
| 2915 | }, |
| 2916 | .write = write_82802ab, |
| 2917 | .read = read_memmapped, |
| 2918 | }, |
| 2919 | |
| 2920 | { |
| 2921 | .vendor = "Intel", |
| 2922 | .name = "28F400BV/CV/CE-T", |
| 2923 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2924 | .manufacture_id = INTEL_ID, |
| 2925 | .model_id = P28F400BT, |
| 2926 | .total_size = 512, |
| 2927 | .page_size = 128 * 1024, /* maximal block size */ |
| 2928 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2929 | .tested = TEST_UNTESTED, |
| 2930 | .probe = probe_82802ab, |
| 2931 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2932 | .block_erasers = |
| 2933 | { |
| 2934 | { |
| 2935 | .eraseblocks = { |
| 2936 | {128 * 1024, 3}, |
| 2937 | {96 * 1024, 1}, |
| 2938 | {8 * 1024, 2}, |
| 2939 | {16 * 1024, 1}, |
| 2940 | }, |
| 2941 | .block_erase = erase_block_82802ab, |
| 2942 | }, |
| 2943 | }, |
| 2944 | .write = write_82802ab, |
| 2945 | .read = read_memmapped, |
| 2946 | }, |
| 2947 | |
| 2948 | { |
| 2949 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2950 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2951 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2952 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2953 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2954 | .total_size = 512, |
| 2955 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2956 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2957 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2958 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2959 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2960 | .block_erasers = |
| 2961 | { |
| 2962 | { |
| 2963 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2964 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2965 | }, |
| 2966 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2967 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2968 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2969 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2970 | }, |
| 2971 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2972 | { |
| 2973 | .vendor = "Intel", |
| 2974 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2975 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2976 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2977 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2978 | .total_size = 1024, |
| 2979 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2980 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2981 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2982 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2983 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2984 | .block_erasers = |
| 2985 | { |
| 2986 | { |
| 2987 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2988 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2989 | }, |
| 2990 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2991 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2992 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2993 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2994 | }, |
| 2995 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2996 | { |
| 2997 | .vendor = "Macronix", |
| 2998 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2999 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3000 | .manufacture_id = MX_ID, |
| 3001 | .model_id = MX_25L512, |
| 3002 | .total_size = 64, |
| 3003 | .page_size = 256, |
| 3004 | .tested = TEST_UNTESTED, |
| 3005 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3006 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3007 | .block_erasers = |
| 3008 | { |
| 3009 | { |
| 3010 | .eraseblocks = { {4 * 1024, 16} }, |
| 3011 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3012 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3013 | .eraseblocks = { {64 * 1024, 1} }, |
| 3014 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3015 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3016 | .eraseblocks = { {64 * 1024, 1} }, |
| 3017 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3018 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3019 | .eraseblocks = { {64 * 1024, 1} }, |
| 3020 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3021 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3022 | .eraseblocks = { {64 * 1024, 1} }, |
| 3023 | .block_erase = spi_block_erase_c7, |
| 3024 | }, |
| 3025 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3026 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3027 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3028 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3029 | }, |
| 3030 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3031 | { |
| 3032 | .vendor = "Macronix", |
| 3033 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3034 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3035 | .manufacture_id = MX_ID, |
| 3036 | .model_id = MX_25L1005, |
| 3037 | .total_size = 128, |
| 3038 | .page_size = 256, |
| 3039 | .tested = TEST_UNTESTED, |
| 3040 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3041 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3042 | .block_erasers = |
| 3043 | { |
| 3044 | { |
| 3045 | .eraseblocks = { {4 * 1024, 32} }, |
| 3046 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3047 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3048 | .eraseblocks = { {64 * 1024, 2} }, |
| 3049 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3050 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3051 | .eraseblocks = { {128 * 1024, 1} }, |
| 3052 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3053 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3054 | .eraseblocks = { {128 * 1024, 1} }, |
| 3055 | .block_erase = spi_block_erase_c7, |
| 3056 | }, |
| 3057 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3058 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3059 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3060 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3061 | }, |
| 3062 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3063 | { |
| 3064 | .vendor = "Macronix", |
| 3065 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3066 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3067 | .manufacture_id = MX_ID, |
| 3068 | .model_id = MX_25L2005, |
| 3069 | .total_size = 256, |
| 3070 | .page_size = 256, |
| 3071 | .tested = TEST_UNTESTED, |
| 3072 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3073 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3074 | .block_erasers = |
| 3075 | { |
| 3076 | { |
| 3077 | .eraseblocks = { {4 * 1024, 64} }, |
| 3078 | .block_erase = spi_block_erase_20, |
| 3079 | }, { |
| 3080 | .eraseblocks = { {64 * 1024, 4} }, |
| 3081 | .block_erase = spi_block_erase_52, |
| 3082 | }, { |
| 3083 | .eraseblocks = { {64 * 1024, 4} }, |
| 3084 | .block_erase = spi_block_erase_d8, |
| 3085 | }, { |
| 3086 | .eraseblocks = { {256 * 1024, 1} }, |
| 3087 | .block_erase = spi_block_erase_60, |
| 3088 | }, { |
| 3089 | .eraseblocks = { {256 * 1024, 1} }, |
| 3090 | .block_erase = spi_block_erase_c7, |
| 3091 | }, |
| 3092 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3093 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3094 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3095 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3096 | }, |
| 3097 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3098 | { |
| 3099 | .vendor = "Macronix", |
| 3100 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3101 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3102 | .manufacture_id = MX_ID, |
| 3103 | .model_id = MX_25L4005, |
| 3104 | .total_size = 512, |
| 3105 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3106 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3107 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3108 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3109 | .block_erasers = |
| 3110 | { |
| 3111 | { |
| 3112 | .eraseblocks = { {4 * 1024, 128} }, |
| 3113 | .block_erase = spi_block_erase_20, |
| 3114 | }, { |
| 3115 | .eraseblocks = { {64 * 1024, 8} }, |
| 3116 | .block_erase = spi_block_erase_52, |
| 3117 | }, { |
| 3118 | .eraseblocks = { {64 * 1024, 8} }, |
| 3119 | .block_erase = spi_block_erase_d8, |
| 3120 | }, { |
| 3121 | .eraseblocks = { {512 * 1024, 1} }, |
| 3122 | .block_erase = spi_block_erase_60, |
| 3123 | }, { |
| 3124 | .eraseblocks = { {512 * 1024, 1} }, |
| 3125 | .block_erase = spi_block_erase_c7, |
| 3126 | }, |
| 3127 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3128 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3129 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3130 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3131 | }, |
| 3132 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3133 | { |
| 3134 | .vendor = "Macronix", |
| 3135 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3136 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3137 | .manufacture_id = MX_ID, |
| 3138 | .model_id = MX_25L8005, |
| 3139 | .total_size = 1024, |
| 3140 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3141 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3142 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3143 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3144 | .block_erasers = |
| 3145 | { |
| 3146 | { |
| 3147 | .eraseblocks = { {4 * 1024, 256} }, |
| 3148 | .block_erase = spi_block_erase_20, |
| 3149 | }, { |
| 3150 | .eraseblocks = { {64 * 1024, 16} }, |
| 3151 | .block_erase = spi_block_erase_52, |
| 3152 | }, { |
| 3153 | .eraseblocks = { {64 * 1024, 16} }, |
| 3154 | .block_erase = spi_block_erase_d8, |
| 3155 | }, { |
| 3156 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3157 | .block_erase = spi_block_erase_60, |
| 3158 | }, { |
| 3159 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3160 | .block_erase = spi_block_erase_c7, |
| 3161 | }, |
| 3162 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3163 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3164 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3165 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3166 | }, |
| 3167 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3168 | { |
| 3169 | .vendor = "Macronix", |
| 3170 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3171 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3172 | .manufacture_id = MX_ID, |
| 3173 | .model_id = MX_25L1605, |
| 3174 | .total_size = 2048, |
| 3175 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3176 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3177 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3178 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3179 | .block_erasers = |
| 3180 | { |
| 3181 | { |
| 3182 | .eraseblocks = { {4 * 1024, 512} }, |
| 3183 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3184 | }, { |
| 3185 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3186 | .block_erase = spi_block_erase_52, |
| 3187 | }, { |
| 3188 | .eraseblocks = { {64 * 1024, 32} }, |
| 3189 | .block_erase = spi_block_erase_d8, |
| 3190 | }, { |
| 3191 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3192 | .block_erase = spi_block_erase_60, |
| 3193 | }, { |
| 3194 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3195 | .block_erase = spi_block_erase_c7, |
| 3196 | }, |
| 3197 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3198 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3199 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3200 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3201 | }, |
| 3202 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3203 | { |
| 3204 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3205 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3206 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3207 | .manufacture_id = MX_ID, |
| 3208 | .model_id = MX_25L1635D, |
| 3209 | .total_size = 2048, |
| 3210 | .page_size = 256, |
| 3211 | .tested = TEST_UNTESTED, |
| 3212 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3213 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3214 | .block_erasers = |
| 3215 | { |
| 3216 | { |
| 3217 | .eraseblocks = { {4 * 1024, 512} }, |
| 3218 | .block_erase = spi_block_erase_20, |
| 3219 | }, { |
| 3220 | .eraseblocks = { {64 * 1024, 32} }, |
| 3221 | .block_erase = spi_block_erase_d8, |
| 3222 | }, { |
| 3223 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3224 | .block_erase = spi_block_erase_60, |
| 3225 | }, { |
| 3226 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3227 | .block_erase = spi_block_erase_c7, |
| 3228 | } |
| 3229 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3230 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3231 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3232 | .read = spi_chip_read, |
| 3233 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 3234 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3235 | { |
| 3236 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3237 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3238 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3239 | .manufacture_id = MX_ID, |
| 3240 | .model_id = MX_25L3205, |
| 3241 | .total_size = 4096, |
| 3242 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3243 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3244 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3245 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3246 | .block_erasers = |
| 3247 | { |
| 3248 | { |
| 3249 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3250 | .block_erase = spi_block_erase_20, |
| 3251 | }, { |
| 3252 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3253 | .block_erase = spi_block_erase_d8, |
| 3254 | }, { |
| 3255 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3256 | .block_erase = spi_block_erase_60, |
| 3257 | }, { |
| 3258 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3259 | .block_erase = spi_block_erase_c7, |
| 3260 | }, |
| 3261 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3262 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3263 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3264 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3265 | }, |
| 3266 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3267 | { |
| 3268 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3269 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3270 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3271 | .manufacture_id = MX_ID, |
| 3272 | .model_id = MX_25L3235D, |
| 3273 | .total_size = 4096, |
| 3274 | .page_size = 256, |
| 3275 | .tested = TEST_UNTESTED, |
| 3276 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3277 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3278 | .block_erasers = |
| 3279 | { |
| 3280 | { |
| 3281 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3282 | .block_erase = spi_block_erase_20, |
| 3283 | }, { |
| 3284 | .eraseblocks = { {64 * 1024, 64} }, |
| 3285 | .block_erase = spi_block_erase_d8, |
| 3286 | }, { |
| 3287 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3288 | .block_erase = spi_block_erase_60, |
| 3289 | }, { |
| 3290 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3291 | .block_erase = spi_block_erase_c7, |
| 3292 | } |
| 3293 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3294 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3295 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3296 | .read = spi_chip_read, |
| 3297 | }, |
| 3298 | |
| 3299 | { |
| 3300 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3301 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3302 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3303 | .manufacture_id = MX_ID, |
| 3304 | .model_id = MX_25L6405, |
| 3305 | .total_size = 8192, |
| 3306 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 3307 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3308 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3309 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3310 | .block_erasers = |
| 3311 | { |
| 3312 | { |
| 3313 | .eraseblocks = { {64 * 1024, 128} }, |
| 3314 | .block_erase = spi_block_erase_20, |
| 3315 | }, { |
| 3316 | .eraseblocks = { {64 * 1024, 128} }, |
| 3317 | .block_erase = spi_block_erase_d8, |
| 3318 | }, { |
| 3319 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3320 | .block_erase = spi_block_erase_60, |
| 3321 | }, { |
| 3322 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3323 | .block_erase = spi_block_erase_c7, |
| 3324 | } |
| 3325 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3326 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3327 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3328 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3329 | }, |
| 3330 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3331 | { |
| 3332 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3333 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3334 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3335 | .manufacture_id = MX_ID, |
| 3336 | .model_id = MX_25L12805, |
| 3337 | .total_size = 16384, |
| 3338 | .page_size = 256, |
| 3339 | .tested = TEST_UNTESTED, |
| 3340 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3341 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3342 | .block_erasers = |
| 3343 | { |
| 3344 | { |
| 3345 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3346 | .block_erase = spi_block_erase_20, |
| 3347 | }, { |
| 3348 | .eraseblocks = { {64 * 1024, 256} }, |
| 3349 | .block_erase = spi_block_erase_d8, |
| 3350 | }, { |
| 3351 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3352 | .block_erase = spi_block_erase_60, |
| 3353 | }, { |
| 3354 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3355 | .block_erase = spi_block_erase_c7, |
| 3356 | } |
| 3357 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3358 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3359 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3360 | .read = spi_chip_read, |
| 3361 | }, |
| 3362 | |
| 3363 | { |
| 3364 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3365 | .name = "MX29F001B", |
| 3366 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3367 | .manufacture_id = MX_ID, |
| 3368 | .model_id = MX_29F001B, |
| 3369 | .total_size = 128, |
| 3370 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3371 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3372 | .tested = TEST_UNTESTED, |
| 3373 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3374 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3375 | .block_erasers = |
| 3376 | { |
| 3377 | { |
| 3378 | .eraseblocks = { |
| 3379 | {8 * 1024, 1}, |
| 3380 | {4 * 1024, 2}, |
| 3381 | {8 * 1024, 2}, |
| 3382 | {32 * 1024, 1}, |
| 3383 | {64 * 1024, 1}, |
| 3384 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3385 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3386 | }, { |
| 3387 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3388 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3389 | } |
| 3390 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3391 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3392 | .read = read_memmapped, |
| 3393 | }, |
| 3394 | |
| 3395 | { |
| 3396 | .vendor = "Macronix", |
| 3397 | .name = "MX29F001T", |
| 3398 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3399 | .manufacture_id = MX_ID, |
| 3400 | .model_id = MX_29F001T, |
| 3401 | .total_size = 128, |
| 3402 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3403 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3404 | .tested = TEST_UNTESTED, |
| 3405 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3406 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3407 | .block_erasers = |
| 3408 | { |
| 3409 | { |
| 3410 | .eraseblocks = { |
| 3411 | {64 * 1024, 1}, |
| 3412 | {32 * 1024, 1}, |
| 3413 | {8 * 1024, 2}, |
| 3414 | {4 * 1024, 2}, |
| 3415 | {8 * 1024, 1}, |
| 3416 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3417 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3418 | }, { |
| 3419 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3420 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3421 | } |
| 3422 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3423 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3424 | .read = read_memmapped, |
| 3425 | }, |
| 3426 | |
| 3427 | { |
| 3428 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3429 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3430 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3431 | .manufacture_id = MX_ID, |
| 3432 | .model_id = MX_29F002B, |
| 3433 | .total_size = 256, |
| 3434 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3435 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3436 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3437 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3438 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3439 | .block_erasers = |
| 3440 | { |
| 3441 | { |
| 3442 | .eraseblocks = { |
| 3443 | {16 * 1024, 1}, |
| 3444 | {8 * 1024, 2}, |
| 3445 | {32 * 1024, 1}, |
| 3446 | {64 * 1024, 3}, |
| 3447 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3448 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3449 | }, { |
| 3450 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3451 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3452 | }, |
| 3453 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3454 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3455 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3456 | }, |
| 3457 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3458 | { |
| 3459 | .vendor = "Macronix", |
| 3460 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3461 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3462 | .manufacture_id = MX_ID, |
| 3463 | .model_id = MX_29F002T, |
| 3464 | .total_size = 256, |
| 3465 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3466 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3467 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3468 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3469 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3470 | .block_erasers = |
| 3471 | { |
| 3472 | { |
| 3473 | .eraseblocks = { |
| 3474 | {64 * 1024, 3}, |
| 3475 | {32 * 1024, 1}, |
| 3476 | {8 * 1024, 2}, |
| 3477 | {16 * 1024, 1}, |
| 3478 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3479 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3480 | }, { |
| 3481 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3482 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3483 | }, |
| 3484 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3485 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3486 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3487 | }, |
| 3488 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3489 | { |
| 3490 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3491 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3492 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3493 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3494 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3495 | .total_size = 512, |
| 3496 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3497 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3498 | .tested = TEST_UNTESTED, |
| 3499 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3500 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3501 | .block_erasers = |
| 3502 | { |
| 3503 | { |
| 3504 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3505 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3506 | }, { |
| 3507 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3508 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3509 | }, |
| 3510 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3511 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3512 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3513 | }, |
| 3514 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3515 | { |
| 3516 | .vendor = "Numonyx", |
| 3517 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3518 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3519 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3520 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3521 | .total_size = 128, |
| 3522 | .page_size = 256, |
| 3523 | .tested = TEST_UNTESTED, |
| 3524 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3525 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3526 | .block_erasers = |
| 3527 | { |
| 3528 | { |
| 3529 | .eraseblocks = { {4 * 1024, 32} }, |
| 3530 | .block_erase = spi_block_erase_20, |
| 3531 | }, { |
| 3532 | .eraseblocks = { {64 * 1024, 2} }, |
| 3533 | .block_erase = spi_block_erase_d8, |
| 3534 | }, { |
| 3535 | .eraseblocks = { {128 * 1024, 1} }, |
| 3536 | .block_erase = spi_block_erase_c7, |
| 3537 | } |
| 3538 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3539 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3540 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3541 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3542 | }, |
| 3543 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3544 | { |
| 3545 | .vendor = "Numonyx", |
| 3546 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3547 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3548 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3549 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3550 | .total_size = 256, |
| 3551 | .page_size = 256, |
| 3552 | .tested = TEST_UNTESTED, |
| 3553 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3554 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3555 | .block_erasers = |
| 3556 | { |
| 3557 | { |
| 3558 | .eraseblocks = { {4 * 1024, 64} }, |
| 3559 | .block_erase = spi_block_erase_20, |
| 3560 | }, { |
| 3561 | .eraseblocks = { {64 * 1024, 4} }, |
| 3562 | .block_erase = spi_block_erase_d8, |
| 3563 | }, { |
| 3564 | .eraseblocks = { {256 * 1024, 1} }, |
| 3565 | .block_erase = spi_block_erase_c7, |
| 3566 | } |
| 3567 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3568 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3569 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3570 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3571 | }, |
| 3572 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3573 | { |
| 3574 | .vendor = "Numonyx", |
| 3575 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3576 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3577 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3578 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3579 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3580 | .page_size = 256, |
| 3581 | .tested = TEST_UNTESTED, |
| 3582 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3583 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3584 | .block_erasers = |
| 3585 | { |
| 3586 | { |
| 3587 | .eraseblocks = { {4 * 1024, 128} }, |
| 3588 | .block_erase = spi_block_erase_20, |
| 3589 | }, { |
| 3590 | .eraseblocks = { {64 * 1024, 8} }, |
| 3591 | .block_erase = spi_block_erase_d8, |
| 3592 | }, { |
| 3593 | .eraseblocks = { {512 * 1024, 1} }, |
| 3594 | .block_erase = spi_block_erase_c7, |
| 3595 | } |
| 3596 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3597 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3598 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3599 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3600 | }, |
| 3601 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3602 | { |
| 3603 | .vendor = "Numonyx", |
| 3604 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3605 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3606 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3607 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3608 | .total_size = 1024, |
| 3609 | .page_size = 256, |
| 3610 | .tested = TEST_OK_PREW, |
| 3611 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3612 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3613 | .block_erasers = |
| 3614 | { |
| 3615 | { |
| 3616 | .eraseblocks = { {4 * 1024, 256} }, |
| 3617 | .block_erase = spi_block_erase_20, |
| 3618 | }, { |
| 3619 | .eraseblocks = { {64 * 1024, 16} }, |
| 3620 | .block_erase = spi_block_erase_d8, |
| 3621 | }, { |
| 3622 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3623 | .block_erase = spi_block_erase_c7, |
| 3624 | } |
| 3625 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3626 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3627 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3628 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3629 | }, |
| 3630 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3631 | { |
| 3632 | .vendor = "Numonyx", |
| 3633 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3634 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3635 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3636 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3637 | .total_size = 2048, |
| 3638 | .page_size = 256, |
| 3639 | .tested = TEST_UNTESTED, |
| 3640 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3641 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3642 | .block_erasers = |
| 3643 | { |
| 3644 | { |
| 3645 | .eraseblocks = { {4 * 1024, 512} }, |
| 3646 | .block_erase = spi_block_erase_20, |
| 3647 | }, { |
| 3648 | .eraseblocks = { {64 * 1024, 32} }, |
| 3649 | .block_erase = spi_block_erase_d8, |
| 3650 | }, { |
| 3651 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3652 | .block_erase = spi_block_erase_c7, |
| 3653 | } |
| 3654 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3655 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3656 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3657 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3658 | }, |
| 3659 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3660 | { |
| 3661 | .vendor = "PMC", |
| 3662 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3663 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3664 | .manufacture_id = PMC_ID, |
| 3665 | .model_id = PMC_25LV010, |
| 3666 | .total_size = 128, |
| 3667 | .page_size = 256, |
| 3668 | .tested = TEST_UNTESTED, |
| 3669 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3670 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3671 | .block_erasers = |
| 3672 | { |
| 3673 | { |
| 3674 | .eraseblocks = { {4 * 1024, 32} }, |
| 3675 | .block_erase = spi_block_erase_d7, |
| 3676 | }, { |
| 3677 | .eraseblocks = { {32 * 1024, 4} }, |
| 3678 | .block_erase = spi_block_erase_d8, |
| 3679 | }, { |
| 3680 | .eraseblocks = { {128 * 1024, 1} }, |
| 3681 | .block_erase = spi_block_erase_c7, |
| 3682 | } |
| 3683 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3684 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3685 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3686 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3687 | }, |
| 3688 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3689 | { |
| 3690 | .vendor = "PMC", |
| 3691 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3692 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3693 | .manufacture_id = PMC_ID, |
| 3694 | .model_id = PMC_25LV016B, |
| 3695 | .total_size = 2048, |
| 3696 | .page_size = 256, |
| 3697 | .tested = TEST_UNTESTED, |
| 3698 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3699 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3700 | .block_erasers = |
| 3701 | { |
| 3702 | { |
| 3703 | .eraseblocks = { {4 * 1024, 512} }, |
| 3704 | .block_erase = spi_block_erase_d7, |
| 3705 | }, { |
| 3706 | .eraseblocks = { {4 * 1024, 512} }, |
| 3707 | .block_erase = spi_block_erase_20, |
| 3708 | }, { |
| 3709 | .eraseblocks = { {64 * 1024, 32} }, |
| 3710 | .block_erase = spi_block_erase_d8, |
| 3711 | }, { |
| 3712 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3713 | .block_erase = spi_block_erase_60, |
| 3714 | }, { |
| 3715 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3716 | .block_erase = spi_block_erase_c7, |
| 3717 | } |
| 3718 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3719 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3720 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3721 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3722 | }, |
| 3723 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3724 | { |
| 3725 | .vendor = "PMC", |
| 3726 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3727 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3728 | .manufacture_id = PMC_ID, |
| 3729 | .model_id = PMC_25LV020, |
| 3730 | .total_size = 256, |
| 3731 | .page_size = 256, |
| 3732 | .tested = TEST_UNTESTED, |
| 3733 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3734 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3735 | .block_erasers = |
| 3736 | { |
| 3737 | { |
| 3738 | .eraseblocks = { {4 * 1024, 64} }, |
| 3739 | .block_erase = spi_block_erase_d7, |
| 3740 | }, { |
| 3741 | .eraseblocks = { {64 * 1024, 4} }, |
| 3742 | .block_erase = spi_block_erase_d8, |
| 3743 | }, { |
| 3744 | .eraseblocks = { {256 * 1024, 1} }, |
| 3745 | .block_erase = spi_block_erase_c7, |
| 3746 | } |
| 3747 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3748 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3749 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3750 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3751 | }, |
| 3752 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3753 | { |
| 3754 | .vendor = "PMC", |
| 3755 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3756 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3757 | .manufacture_id = PMC_ID, |
| 3758 | .model_id = PMC_25LV040, |
| 3759 | .total_size = 512, |
| 3760 | .page_size = 256, |
| 3761 | .tested = TEST_UNTESTED, |
| 3762 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3763 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3764 | .block_erasers = |
| 3765 | { |
| 3766 | { |
| 3767 | .eraseblocks = { {4 * 1024, 128} }, |
| 3768 | .block_erase = spi_block_erase_d7, |
| 3769 | }, { |
| 3770 | .eraseblocks = { {64 * 1024, 8} }, |
| 3771 | .block_erase = spi_block_erase_d8, |
| 3772 | }, { |
| 3773 | .eraseblocks = { {512 * 1024, 1} }, |
| 3774 | .block_erase = spi_block_erase_c7, |
| 3775 | } |
| 3776 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3777 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3778 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3779 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3780 | }, |
| 3781 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3782 | { |
| 3783 | .vendor = "PMC", |
| 3784 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3785 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3786 | .manufacture_id = PMC_ID, |
| 3787 | .model_id = PMC_25LV080B, |
| 3788 | .total_size = 1024, |
| 3789 | .page_size = 256, |
| 3790 | .tested = TEST_UNTESTED, |
| 3791 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3792 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3793 | .block_erasers = |
| 3794 | { |
| 3795 | { |
| 3796 | .eraseblocks = { {4 * 1024, 256} }, |
| 3797 | .block_erase = spi_block_erase_d7, |
| 3798 | }, { |
| 3799 | .eraseblocks = { {4 * 1024, 256} }, |
| 3800 | .block_erase = spi_block_erase_20, |
| 3801 | }, { |
| 3802 | .eraseblocks = { {64 * 1024, 16} }, |
| 3803 | .block_erase = spi_block_erase_d8, |
| 3804 | }, { |
| 3805 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3806 | .block_erase = spi_block_erase_60, |
| 3807 | }, { |
| 3808 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3809 | .block_erase = spi_block_erase_c7, |
| 3810 | } |
| 3811 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3812 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3813 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3814 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3815 | }, |
| 3816 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3817 | { |
| 3818 | .vendor = "PMC", |
| 3819 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3820 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3821 | .manufacture_id = PMC_ID, |
| 3822 | .model_id = PMC_25LV512, |
| 3823 | .total_size = 64, |
| 3824 | .page_size = 256, |
| 3825 | .tested = TEST_UNTESTED, |
| 3826 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3827 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3828 | .block_erasers = |
| 3829 | { |
| 3830 | { |
| 3831 | .eraseblocks = { {4 * 1024, 16} }, |
| 3832 | .block_erase = spi_block_erase_d7, |
| 3833 | }, { |
| 3834 | .eraseblocks = { {32 * 1024, 2} }, |
| 3835 | .block_erase = spi_block_erase_d8, |
| 3836 | }, { |
| 3837 | .eraseblocks = { {64 * 1024, 1} }, |
| 3838 | .block_erase = spi_block_erase_c7, |
| 3839 | } |
| 3840 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3841 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3842 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3843 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3844 | }, |
| 3845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3846 | { |
| 3847 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3848 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3849 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3850 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3851 | .model_id = PMC_29F002T, |
| 3852 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3853 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3854 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3855 | .tested = TEST_UNTESTED, |
| 3856 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3857 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3858 | .block_erasers = |
| 3859 | { |
| 3860 | { |
| 3861 | .eraseblocks = { |
| 3862 | {128 * 1024, 1}, |
| 3863 | {96 * 1024, 1}, |
| 3864 | {8 * 1024, 2}, |
| 3865 | {16 * 1024, 1}, |
| 3866 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3867 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3868 | }, { |
| 3869 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3870 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3871 | }, |
| 3872 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3873 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3874 | .read = read_memmapped, |
| 3875 | }, |
| 3876 | |
| 3877 | { |
| 3878 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3879 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3880 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3881 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3882 | .model_id = PMC_29F002B, |
| 3883 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3884 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3885 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3886 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3887 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3888 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3889 | .block_erasers = |
| 3890 | { |
| 3891 | { |
| 3892 | .eraseblocks = { |
| 3893 | {16 * 1024, 1}, |
| 3894 | {8 * 1024, 2}, |
| 3895 | {96 * 1024, 1}, |
| 3896 | {128 * 1024, 1}, |
| 3897 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3898 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3899 | }, { |
| 3900 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3901 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3902 | }, |
| 3903 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3904 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3905 | .read = read_memmapped, |
| 3906 | }, |
| 3907 | |
| 3908 | { |
| 3909 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3910 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3911 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3912 | .manufacture_id = PMC_ID_NOPREFIX, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3913 | .model_id = PMC_39F010, /* Pm39LV010 and Pm39F010 have identical IDs but different voltage */ |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3914 | .total_size = 128, |
| 3915 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3916 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 3917 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3918 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3919 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3920 | .block_erasers = |
| 3921 | { |
| 3922 | { |
| 3923 | .eraseblocks = { {4 * 1024, 32} }, |
| 3924 | .block_erase = erase_sector_jedec, |
| 3925 | }, { |
| 3926 | .eraseblocks = { {64 * 1024, 2} }, |
| 3927 | .block_erase = erase_block_jedec, |
| 3928 | }, { |
| 3929 | .eraseblocks = { {128 * 1024, 1} }, |
| 3930 | .block_erase = erase_chip_block_jedec, |
| 3931 | } |
| 3932 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3933 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3934 | .read = read_memmapped, |
| 3935 | }, |
| 3936 | |
| 3937 | { |
| 3938 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3939 | .name = "Pm39LV020", |
| 3940 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3941 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3942 | .model_id = PMC_39LV020, |
| 3943 | .total_size = 256, |
| 3944 | .page_size = 4096, |
| 3945 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3946 | .tested = TEST_UNTESTED, |
| 3947 | .probe = probe_jedec, |
| 3948 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3949 | .block_erasers = |
| 3950 | { |
| 3951 | { |
| 3952 | .eraseblocks = { {4 * 1024, 64} }, |
| 3953 | .block_erase = erase_sector_jedec, |
| 3954 | }, { |
| 3955 | .eraseblocks = { {64 * 1024, 4} }, |
| 3956 | .block_erase = erase_block_jedec, |
| 3957 | }, { |
| 3958 | .eraseblocks = { {256 * 1024, 1} }, |
| 3959 | .block_erase = erase_chip_block_jedec, |
| 3960 | } |
| 3961 | }, |
| 3962 | .write = write_jedec_1, |
| 3963 | .read = read_memmapped, |
| 3964 | }, |
| 3965 | |
| 3966 | { |
| 3967 | .vendor = "PMC", |
| 3968 | .name = "Pm39LV040", |
| 3969 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3970 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3971 | .model_id = PMC_39LV040, |
| 3972 | .total_size = 512, |
| 3973 | .page_size = 4096, |
| 3974 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3975 | .tested = TEST_UNTESTED, |
| 3976 | .probe = probe_jedec, |
| 3977 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3978 | .block_erasers = |
| 3979 | { |
| 3980 | { |
| 3981 | .eraseblocks = { {4 * 1024, 128} }, |
| 3982 | .block_erase = erase_sector_jedec, |
| 3983 | }, { |
| 3984 | .eraseblocks = { {64 * 1024, 8} }, |
| 3985 | .block_erase = erase_block_jedec, |
| 3986 | }, { |
| 3987 | .eraseblocks = { {512 * 1024, 1} }, |
| 3988 | .block_erase = erase_chip_block_jedec, |
| 3989 | } |
| 3990 | }, |
| 3991 | .write = write_jedec_1, |
| 3992 | .read = read_memmapped, |
| 3993 | }, |
| 3994 | |
| 3995 | { |
| 3996 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3997 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3998 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3999 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4000 | .model_id = PMC_49FL002, |
| 4001 | .total_size = 256, |
| 4002 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4003 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 4004 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4005 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4006 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4007 | .block_erasers = |
| 4008 | { |
| 4009 | { |
| 4010 | .eraseblocks = { {4 * 1024, 64} }, |
| 4011 | .block_erase = erase_sector_jedec, |
| 4012 | }, { |
| 4013 | .eraseblocks = { {16 * 1024, 16} }, |
| 4014 | .block_erase = erase_block_jedec, |
| 4015 | }, { |
| 4016 | .eraseblocks = { {256 * 1024, 1} }, |
| 4017 | .block_erase = erase_chip_block_jedec, |
| 4018 | } |
| 4019 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4020 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4021 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4022 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4023 | }, |
| 4024 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4025 | { |
| 4026 | .vendor = "PMC", |
| 4027 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4028 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4029 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4030 | .model_id = PMC_49FL004, |
| 4031 | .total_size = 512, |
| 4032 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4033 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4034 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4035 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4036 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4037 | .block_erasers = |
| 4038 | { |
| 4039 | { |
| 4040 | .eraseblocks = { {4 * 1024, 128} }, |
| 4041 | .block_erase = erase_sector_jedec, |
| 4042 | }, { |
| 4043 | .eraseblocks = { {64 * 1024, 8} }, |
| 4044 | .block_erase = erase_block_jedec, |
| 4045 | }, { |
| 4046 | .eraseblocks = { {512 * 1024, 1} }, |
| 4047 | .block_erase = erase_chip_block_jedec, |
| 4048 | } |
| 4049 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4050 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4051 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4052 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4053 | }, |
| 4054 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4055 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4056 | .vendor = "Sanyo", |
| 4057 | .name = "LF25FW203A", |
| 4058 | .bustype = CHIP_BUSTYPE_SPI, |
| 4059 | .manufacture_id = SANYO_ID, |
| 4060 | .model_id = SANYO_LE25FW203A, |
| 4061 | .total_size = 2048, |
| 4062 | .page_size = 256, |
| 4063 | .tested = TEST_UNTESTED, |
| 4064 | .probe = probe_spi_rdid, |
| 4065 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4066 | .block_erasers = |
| 4067 | { |
| 4068 | { |
| 4069 | .eraseblocks = { {64 * 1024, 32} }, |
| 4070 | .block_erase = spi_block_erase_d8, |
| 4071 | }, { |
| 4072 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4073 | .block_erase = spi_block_erase_c7, |
| 4074 | } |
| 4075 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4076 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4077 | .write = spi_chip_write_256, |
| 4078 | .read = spi_chip_read, |
| 4079 | }, |
| 4080 | |
| 4081 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4082 | .vendor = "Sharp", |
| 4083 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4084 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4085 | .manufacture_id = SHARP_ID, |
| 4086 | .model_id = SHARP_LHF00L04, |
| 4087 | .total_size = 1024, |
| 4088 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4089 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4090 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4091 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4092 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4093 | .block_erasers = |
| 4094 | { |
| 4095 | { |
| 4096 | .eraseblocks = { |
| 4097 | {64 * 1024, 15}, |
| 4098 | {8 * 1024, 8} |
| 4099 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4100 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4101 | }, { |
| 4102 | .eraseblocks = { |
| 4103 | {1024 * 1024, 1} |
| 4104 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4105 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4106 | }, |
| 4107 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4108 | .unlock = unlock_82802ab, |
| 4109 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4110 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4111 | }, |
| 4112 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4113 | { |
| 4114 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4115 | .name = "S25FL008A", |
| 4116 | .bustype = CHIP_BUSTYPE_SPI, |
| 4117 | .manufacture_id = SPANSION_ID, |
| 4118 | .model_id = SPANSION_S25FL008A, |
| 4119 | .total_size = 1024, |
| 4120 | .page_size = 256, |
| 4121 | .tested = TEST_OK_PREW, |
| 4122 | .probe = probe_spi_rdid, |
| 4123 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4124 | .block_erasers = |
| 4125 | { |
| 4126 | { |
| 4127 | .eraseblocks = { {64 * 1024, 16} }, |
| 4128 | .block_erase = spi_block_erase_d8, |
| 4129 | }, { |
| 4130 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4131 | .block_erase = spi_block_erase_c7, |
| 4132 | } |
| 4133 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4134 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4135 | .write = spi_chip_write_256, |
| 4136 | .read = spi_chip_read, |
| 4137 | }, |
| 4138 | |
| 4139 | { |
| 4140 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4141 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4142 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4143 | .manufacture_id = SPANSION_ID, |
| 4144 | .model_id = SPANSION_S25FL016A, |
| 4145 | .total_size = 2048, |
| 4146 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4147 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4148 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4149 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4150 | .block_erasers = |
| 4151 | { |
| 4152 | { |
| 4153 | .eraseblocks = { {64 * 1024, 32} }, |
| 4154 | .block_erase = spi_block_erase_d8, |
| 4155 | }, { |
| 4156 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4157 | .block_erase = spi_block_erase_c7, |
| 4158 | } |
| 4159 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4160 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4161 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4162 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4163 | }, |
| 4164 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4165 | { |
| 4166 | .vendor = "SST", |
| 4167 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4168 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4169 | .manufacture_id = SST_ID, |
| 4170 | .model_id = SST_25VF016B, |
| 4171 | .total_size = 2048, |
| 4172 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4173 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4174 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4175 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4176 | .block_erasers = |
| 4177 | { |
| 4178 | { |
| 4179 | .eraseblocks = { {4 * 1024, 512} }, |
| 4180 | .block_erase = spi_block_erase_20, |
| 4181 | }, { |
| 4182 | .eraseblocks = { {32 * 1024, 64} }, |
| 4183 | .block_erase = spi_block_erase_52, |
| 4184 | }, { |
| 4185 | .eraseblocks = { {64 * 1024, 32} }, |
| 4186 | .block_erase = spi_block_erase_d8, |
| 4187 | }, { |
| 4188 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4189 | .block_erase = spi_block_erase_60, |
| 4190 | }, { |
| 4191 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4192 | .block_erase = spi_block_erase_c7, |
| 4193 | }, |
| 4194 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4195 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4196 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4197 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4198 | }, |
| 4199 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4200 | { |
| 4201 | .vendor = "SST", |
| 4202 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4203 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4204 | .manufacture_id = SST_ID, |
| 4205 | .model_id = SST_25VF032B, |
| 4206 | .total_size = 4096, |
| 4207 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4208 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4209 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4210 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4211 | .block_erasers = |
| 4212 | { |
| 4213 | { |
| 4214 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4215 | .block_erase = spi_block_erase_20, |
| 4216 | }, { |
| 4217 | .eraseblocks = { {32 * 1024, 128} }, |
| 4218 | .block_erase = spi_block_erase_52, |
| 4219 | }, { |
| 4220 | .eraseblocks = { {64 * 1024, 64} }, |
| 4221 | .block_erase = spi_block_erase_d8, |
| 4222 | }, { |
| 4223 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4224 | .block_erase = spi_block_erase_60, |
| 4225 | }, { |
| 4226 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4227 | .block_erase = spi_block_erase_c7, |
| 4228 | }, |
| 4229 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4230 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4231 | .write = spi_chip_write_1, |
| 4232 | .read = spi_chip_read, |
| 4233 | }, |
| 4234 | |
| 4235 | { |
| 4236 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4237 | .name = "SST25VF064C", |
| 4238 | .bustype = CHIP_BUSTYPE_SPI, |
| 4239 | .manufacture_id = SST_ID, |
| 4240 | .model_id = SST_25VF064C, |
| 4241 | .total_size = 8192, |
| 4242 | .page_size = 256, |
| 4243 | .tested = TEST_OK_PREW, |
| 4244 | .probe = probe_spi_rdid, |
| 4245 | .probe_timing = TIMING_ZERO, |
| 4246 | .block_erasers = |
| 4247 | { |
| 4248 | { |
| 4249 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4250 | .block_erase = spi_block_erase_20, |
| 4251 | }, { |
| 4252 | .eraseblocks = { {32 * 1024, 256} }, |
| 4253 | .block_erase = spi_block_erase_52, |
| 4254 | }, { |
| 4255 | .eraseblocks = { {64 * 1024, 128} }, |
| 4256 | .block_erase = spi_block_erase_d8, |
| 4257 | }, { |
| 4258 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4259 | .block_erase = spi_block_erase_60, |
| 4260 | }, { |
| 4261 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4262 | .block_erase = spi_block_erase_c7, |
| 4263 | }, |
| 4264 | }, |
| 4265 | .unlock = spi_disable_blockprotect, |
| 4266 | .write = spi_chip_write_1, |
| 4267 | .read = spi_chip_read, |
| 4268 | }, |
| 4269 | |
| 4270 | { |
| 4271 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4272 | .name = "SST25VF040.REMS", |
| 4273 | .bustype = CHIP_BUSTYPE_SPI, |
| 4274 | .manufacture_id = SST_ID, |
| 4275 | .model_id = SST_25VF040_REMS, |
| 4276 | .total_size = 512, |
| 4277 | .page_size = 256, |
| 4278 | .tested = TEST_OK_PR, |
| 4279 | .probe = probe_spi_rems, |
| 4280 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4281 | .block_erasers = |
| 4282 | { |
| 4283 | { |
| 4284 | .eraseblocks = { {4 * 1024, 128} }, |
| 4285 | .block_erase = spi_block_erase_20, |
| 4286 | }, { |
| 4287 | .eraseblocks = { {32 * 1024, 16} }, |
| 4288 | .block_erase = spi_block_erase_52, |
| 4289 | }, { |
| 4290 | .eraseblocks = { {512 * 1024, 1} }, |
| 4291 | .block_erase = spi_block_erase_60, |
| 4292 | }, |
| 4293 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4294 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4295 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4296 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4297 | }, |
| 4298 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4299 | { |
| 4300 | .vendor = "SST", |
| 4301 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4302 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4303 | .manufacture_id = SST_ID, |
| 4304 | .model_id = SST_25VF040B, |
| 4305 | .total_size = 512, |
| 4306 | .page_size = 256, |
| 4307 | .tested = TEST_UNTESTED, |
| 4308 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4309 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4310 | .block_erasers = |
| 4311 | { |
| 4312 | { |
| 4313 | .eraseblocks = { {4 * 1024, 128} }, |
| 4314 | .block_erase = spi_block_erase_20, |
| 4315 | }, { |
| 4316 | .eraseblocks = { {32 * 1024, 16} }, |
| 4317 | .block_erase = spi_block_erase_52, |
| 4318 | }, { |
| 4319 | .eraseblocks = { {64 * 1024, 8} }, |
| 4320 | .block_erase = spi_block_erase_d8, |
| 4321 | }, { |
| 4322 | .eraseblocks = { {512 * 1024, 1} }, |
| 4323 | .block_erase = spi_block_erase_60, |
| 4324 | }, { |
| 4325 | .eraseblocks = { {512 * 1024, 1} }, |
| 4326 | .block_erase = spi_block_erase_c7, |
| 4327 | }, |
| 4328 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4329 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4330 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 4331 | .read = spi_chip_read, |
| 4332 | }, |
| 4333 | |
| 4334 | { |
| 4335 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4336 | .name = "SST25LF040A.RES", |
| 4337 | .bustype = CHIP_BUSTYPE_SPI, |
| 4338 | .manufacture_id = SST_ID, |
| 4339 | .model_id = SST_25VF040_REMS, |
| 4340 | .total_size = 512, |
| 4341 | .page_size = 256, |
| 4342 | .tested = TEST_OK_PROBE, |
| 4343 | .probe = probe_spi_res2, |
| 4344 | .probe_timing = TIMING_ZERO, |
| 4345 | .block_erasers = |
| 4346 | { |
| 4347 | { |
| 4348 | .eraseblocks = { {4 * 1024, 128} }, |
| 4349 | .block_erase = spi_block_erase_20, |
| 4350 | }, { |
| 4351 | .eraseblocks = { {32 * 1024, 16} }, |
| 4352 | .block_erase = spi_block_erase_52, |
| 4353 | }, { |
| 4354 | .eraseblocks = { {512 * 1024, 1} }, |
| 4355 | .block_erase = spi_block_erase_60, |
| 4356 | }, |
| 4357 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4358 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4359 | .write = spi_chip_write_1, |
| 4360 | .read = spi_chip_read, |
| 4361 | }, |
| 4362 | |
| 4363 | { |
| 4364 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4365 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4366 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4367 | .manufacture_id = SST_ID, |
| 4368 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4369 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4370 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4371 | .tested = TEST_OK_PR, |
| 4372 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4373 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4374 | .block_erasers = |
| 4375 | { |
| 4376 | { |
| 4377 | .eraseblocks = { {4 * 1024, 128} }, |
| 4378 | .block_erase = spi_block_erase_20, |
| 4379 | }, { |
| 4380 | .eraseblocks = { {32 * 1024, 16} }, |
| 4381 | .block_erase = spi_block_erase_52, |
| 4382 | }, { |
| 4383 | .eraseblocks = { {64 * 1024, 8} }, |
| 4384 | .block_erase = spi_block_erase_d8, |
| 4385 | }, { |
| 4386 | .eraseblocks = { {512 * 1024, 1} }, |
| 4387 | .block_erase = spi_block_erase_60, |
| 4388 | }, { |
| 4389 | .eraseblocks = { {512 * 1024, 1} }, |
| 4390 | .block_erase = spi_block_erase_c7, |
| 4391 | }, |
| 4392 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4393 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4394 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4395 | .read = spi_chip_read, |
| 4396 | }, |
| 4397 | |
| 4398 | { |
| 4399 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4400 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4401 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4402 | .manufacture_id = SST_ID, |
| 4403 | .model_id = SST_25VF080B, |
| 4404 | .total_size = 1024, |
| 4405 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4406 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4407 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4408 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4409 | .block_erasers = |
| 4410 | { |
| 4411 | { |
| 4412 | .eraseblocks = { {4 * 1024, 256} }, |
| 4413 | .block_erase = spi_block_erase_20, |
| 4414 | }, { |
| 4415 | .eraseblocks = { {32 * 1024, 32} }, |
| 4416 | .block_erase = spi_block_erase_52, |
| 4417 | }, { |
| 4418 | .eraseblocks = { {64 * 1024, 16} }, |
| 4419 | .block_erase = spi_block_erase_d8, |
| 4420 | }, { |
| 4421 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4422 | .block_erase = spi_block_erase_60, |
| 4423 | }, { |
| 4424 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4425 | .block_erase = spi_block_erase_c7, |
| 4426 | }, |
| 4427 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4428 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4429 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4430 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4431 | }, |
| 4432 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4433 | { |
| 4434 | .vendor = "SST", |
| 4435 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4436 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4437 | .manufacture_id = SST_ID, |
| 4438 | .model_id = SST_28SF040, |
| 4439 | .total_size = 512, |
| 4440 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4441 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4442 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4443 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4444 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4445 | .block_erasers = |
| 4446 | { |
| 4447 | { |
| 4448 | .eraseblocks = { {128, 4096} }, |
| 4449 | .block_erase = erase_sector_28sf040, |
| 4450 | }, { |
| 4451 | .eraseblocks = { {512 * 1024, 1} }, |
| 4452 | .block_erase = erase_chip_28sf040, |
| 4453 | } |
| 4454 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4455 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4456 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4457 | }, |
| 4458 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4459 | { |
| 4460 | .vendor = "SST", |
| 4461 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4462 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4463 | .manufacture_id = SST_ID, |
| 4464 | .model_id = SST_29EE010, |
| 4465 | .total_size = 128, |
| 4466 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4467 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4468 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4469 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4470 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4471 | .block_erasers = |
| 4472 | { |
| 4473 | { |
| 4474 | .eraseblocks = { {128 * 1024, 1} }, |
| 4475 | .block_erase = erase_chip_block_jedec, |
| 4476 | } |
| 4477 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4478 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4479 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4480 | }, |
| 4481 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4482 | { |
| 4483 | .vendor = "SST", |
| 4484 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4485 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4486 | .manufacture_id = SST_ID, |
| 4487 | .model_id = SST_29LE010, |
| 4488 | .total_size = 128, |
| 4489 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4490 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4491 | .tested = TEST_UNTESTED, |
| 4492 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4493 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4494 | .block_erasers = |
| 4495 | { |
| 4496 | { |
| 4497 | .eraseblocks = { {128 * 1024, 1} }, |
| 4498 | .block_erase = erase_chip_block_jedec, |
| 4499 | } |
| 4500 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4501 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4502 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4503 | }, |
| 4504 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4505 | { |
| 4506 | .vendor = "SST", |
| 4507 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4508 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4509 | .manufacture_id = SST_ID, |
| 4510 | .model_id = SST_29EE020A, |
| 4511 | .total_size = 256, |
| 4512 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4513 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4514 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4515 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4516 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4517 | .block_erasers = |
| 4518 | { |
| 4519 | { |
| 4520 | .eraseblocks = { {256 * 1024, 1} }, |
| 4521 | .block_erase = erase_chip_block_jedec, |
| 4522 | } |
| 4523 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4524 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4525 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4526 | }, |
| 4527 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4528 | { |
| 4529 | .vendor = "SST", |
| 4530 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4531 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4532 | .manufacture_id = SST_ID, |
| 4533 | .model_id = SST_29LE020, |
| 4534 | .total_size = 256, |
| 4535 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4536 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 4537 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4538 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4539 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4540 | .block_erasers = |
| 4541 | { |
| 4542 | { |
| 4543 | .eraseblocks = { {256 * 1024, 1} }, |
| 4544 | .block_erase = erase_chip_block_jedec, |
| 4545 | } |
| 4546 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4547 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4548 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4549 | }, |
| 4550 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4551 | { |
| 4552 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4553 | .name = "SST39SF512", |
| 4554 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4555 | .manufacture_id = SST_ID, |
| 4556 | .model_id = SST_39SF512, |
| 4557 | .total_size = 64, |
| 4558 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4559 | .feature_bits = FEATURE_EITHER_RESET, |
| 4560 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4561 | .probe = probe_jedec, |
| 4562 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4563 | .block_erasers = |
| 4564 | { |
| 4565 | { |
| 4566 | .eraseblocks = { {4 * 1024, 16} }, |
| 4567 | .block_erase = erase_sector_jedec, |
| 4568 | }, { |
| 4569 | .eraseblocks = { {64 * 1024, 1} }, |
| 4570 | .block_erase = erase_chip_block_jedec, |
| 4571 | } |
| 4572 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4573 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4574 | .read = read_memmapped, |
| 4575 | }, |
| 4576 | |
| 4577 | { |
| 4578 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4579 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4580 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4581 | .manufacture_id = SST_ID, |
| 4582 | .model_id = SST_39SF010, |
| 4583 | .total_size = 128, |
| 4584 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4585 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4586 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4587 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4588 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4589 | .block_erasers = |
| 4590 | { |
| 4591 | { |
| 4592 | .eraseblocks = { {4 * 1024, 32} }, |
| 4593 | .block_erase = erase_sector_jedec, |
| 4594 | }, { |
| 4595 | .eraseblocks = { {128 * 1024, 1} }, |
| 4596 | .block_erase = erase_chip_block_jedec, |
| 4597 | } |
| 4598 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4599 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4600 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4601 | }, |
| 4602 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4603 | { |
| 4604 | .vendor = "SST", |
| 4605 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4606 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4607 | .manufacture_id = SST_ID, |
| 4608 | .model_id = SST_39SF020, |
| 4609 | .total_size = 256, |
| 4610 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4611 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4612 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4613 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4614 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4615 | .block_erasers = |
| 4616 | { |
| 4617 | { |
| 4618 | .eraseblocks = { {4 * 1024, 64} }, |
| 4619 | .block_erase = erase_sector_jedec, |
| 4620 | }, { |
| 4621 | .eraseblocks = { {256 * 1024, 1} }, |
| 4622 | .block_erase = erase_chip_block_jedec, |
| 4623 | } |
| 4624 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4625 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4626 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4627 | }, |
| 4628 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4629 | { |
| 4630 | .vendor = "SST", |
| 4631 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4632 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4633 | .manufacture_id = SST_ID, |
| 4634 | .model_id = SST_39SF040, |
| 4635 | .total_size = 512, |
| 4636 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4637 | .feature_bits = FEATURE_EITHER_RESET, |
| 4638 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4639 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4640 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4641 | .block_erasers = |
| 4642 | { |
| 4643 | { |
| 4644 | .eraseblocks = { {4 * 1024, 128} }, |
| 4645 | .block_erase = erase_sector_jedec, |
| 4646 | }, { |
| 4647 | .eraseblocks = { {512 * 1024, 1} }, |
| 4648 | .block_erase = erase_chip_block_jedec, |
| 4649 | } |
| 4650 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4651 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4652 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4653 | }, |
| 4654 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4655 | { |
| 4656 | .vendor = "SST", |
| 4657 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4658 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4659 | .manufacture_id = SST_ID, |
| 4660 | .model_id = SST_39VF512, |
| 4661 | .total_size = 64, |
| 4662 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4663 | .feature_bits = FEATURE_EITHER_RESET, |
| 4664 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4665 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4666 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4667 | .block_erasers = |
| 4668 | { |
| 4669 | { |
| 4670 | .eraseblocks = { {4 * 1024, 16} }, |
| 4671 | .block_erase = erase_sector_jedec, |
| 4672 | }, { |
| 4673 | .eraseblocks = { {64 * 1024, 1} }, |
| 4674 | .block_erase = erase_chip_block_jedec, |
| 4675 | } |
| 4676 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4677 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4678 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4679 | }, |
| 4680 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4681 | { |
| 4682 | .vendor = "SST", |
| 4683 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4684 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4685 | .manufacture_id = SST_ID, |
| 4686 | .model_id = SST_39VF010, |
| 4687 | .total_size = 128, |
| 4688 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4689 | .feature_bits = FEATURE_EITHER_RESET, |
Guenter Knauf | 2bd007a | 2010-06-24 11:51:12 +0000 | [diff] [blame] | 4690 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4691 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4692 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4693 | .block_erasers = |
| 4694 | { |
| 4695 | { |
| 4696 | .eraseblocks = { {4 * 1024, 32} }, |
| 4697 | .block_erase = erase_sector_jedec, |
| 4698 | }, { |
| 4699 | .eraseblocks = { {128 * 1024, 1} }, |
| 4700 | .block_erase = erase_chip_block_jedec, |
| 4701 | } |
| 4702 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4703 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4704 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4705 | }, |
| 4706 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4707 | { |
| 4708 | .vendor = "SST", |
| 4709 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4710 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4711 | .manufacture_id = SST_ID, |
| 4712 | .model_id = SST_39VF020, |
| 4713 | .total_size = 256, |
| 4714 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4715 | .feature_bits = FEATURE_EITHER_RESET, |
| 4716 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4717 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4718 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4719 | .block_erasers = |
| 4720 | { |
| 4721 | { |
| 4722 | .eraseblocks = { {4 * 1024, 64} }, |
| 4723 | .block_erase = erase_sector_jedec, |
| 4724 | }, { |
| 4725 | .eraseblocks = { {256 * 1024, 1} }, |
| 4726 | .block_erase = erase_chip_block_jedec, |
| 4727 | } |
| 4728 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4729 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4730 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4731 | }, |
| 4732 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4733 | { |
| 4734 | .vendor = "SST", |
| 4735 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4736 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4737 | .manufacture_id = SST_ID, |
| 4738 | .model_id = SST_39VF040, |
| 4739 | .total_size = 512, |
| 4740 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4741 | .feature_bits = FEATURE_EITHER_RESET, |
| 4742 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4743 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4744 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4745 | .block_erasers = |
| 4746 | { |
| 4747 | { |
| 4748 | .eraseblocks = { {4 * 1024, 128} }, |
| 4749 | .block_erase = erase_sector_jedec, |
| 4750 | }, { |
| 4751 | .eraseblocks = { {512 * 1024, 1} }, |
| 4752 | .block_erase = erase_chip_block_jedec, |
| 4753 | } |
| 4754 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4755 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4756 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4757 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4759 | { |
| 4760 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4761 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4762 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4763 | .manufacture_id = SST_ID, |
| 4764 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4765 | .total_size = 1024, |
| 4766 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4767 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4768 | .tested = TEST_UNTESTED, |
| 4769 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4770 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4771 | .block_erasers = |
| 4772 | { |
| 4773 | { |
| 4774 | .eraseblocks = { {4 * 1024, 256} }, |
| 4775 | .block_erase = erase_sector_jedec, |
| 4776 | }, { |
| 4777 | .eraseblocks = { {64 * 1024, 16} }, |
| 4778 | .block_erase = erase_block_jedec, |
| 4779 | }, { |
| 4780 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4781 | .block_erase = erase_chip_block_jedec, |
| 4782 | } |
| 4783 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4784 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4785 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4786 | }, |
| 4787 | |
| 4788 | { |
| 4789 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4790 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4791 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4792 | .manufacture_id = SST_ID, |
| 4793 | .model_id = SST_49LF002A, |
| 4794 | .total_size = 256, |
| 4795 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4796 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4797 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4798 | .probe = probe_jedec, |
| 4799 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4800 | .block_erasers = |
| 4801 | { |
| 4802 | { |
| 4803 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4804 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4805 | }, { |
| 4806 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4807 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4808 | }, { |
| 4809 | .eraseblocks = { {256 * 1024, 1} }, |
| 4810 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4811 | } |
| 4812 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4813 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4814 | .unlock = unlock_sst_fwhub, |
| 4815 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4816 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4817 | }, |
| 4818 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4819 | { |
| 4820 | .vendor = "SST", |
| 4821 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4822 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4823 | .manufacture_id = SST_ID, |
| 4824 | .model_id = SST_49LF003A, |
| 4825 | .total_size = 384, |
| 4826 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4827 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4828 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4829 | .probe = probe_jedec, |
| 4830 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4831 | .block_erasers = |
| 4832 | { |
| 4833 | { |
| 4834 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4835 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4836 | }, { |
| 4837 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4838 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4839 | }, { |
| 4840 | .eraseblocks = { {384 * 1024, 1} }, |
| 4841 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4842 | } |
| 4843 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4844 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4845 | .unlock = unlock_sst_fwhub, |
| 4846 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4847 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4848 | }, |
| 4849 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4850 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4851 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4852 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4853 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4854 | .vendor = "SST", |
| 4855 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4856 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4857 | .manufacture_id = SST_ID, |
| 4858 | .model_id = SST_49LF004A, |
| 4859 | .total_size = 512, |
| 4860 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4861 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4862 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4863 | .probe = probe_jedec, |
| 4864 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4865 | .block_erasers = |
| 4866 | { |
| 4867 | { |
| 4868 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4869 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4870 | }, { |
| 4871 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4872 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4873 | }, { |
| 4874 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4875 | .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] | 4876 | }, |
| 4877 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4878 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4879 | .unlock = unlock_sst_fwhub, |
| 4880 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4881 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4882 | }, |
| 4883 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4884 | { |
| 4885 | .vendor = "SST", |
| 4886 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4887 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4888 | .manufacture_id = SST_ID, |
| 4889 | .model_id = SST_49LF004C, |
| 4890 | .total_size = 512, |
| 4891 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4892 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4893 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4894 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4895 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4896 | .block_erasers = |
| 4897 | { |
| 4898 | { |
| 4899 | .eraseblocks = { {4 * 1024, 128} }, |
| 4900 | .block_erase = erase_sector_49lfxxxc, |
| 4901 | }, { |
| 4902 | .eraseblocks = { |
| 4903 | {64 * 1024, 7}, |
| 4904 | {32 * 1024, 1}, |
| 4905 | {8 * 1024, 2}, |
| 4906 | {16 * 1024, 1}, |
| 4907 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4908 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4909 | } |
| 4910 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4911 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4912 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4913 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4914 | }, |
| 4915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4916 | { |
| 4917 | .vendor = "SST", |
| 4918 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4919 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4920 | .manufacture_id = SST_ID, |
| 4921 | .model_id = SST_49LF008A, |
| 4922 | .total_size = 1024, |
| 4923 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4924 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4925 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4926 | .probe = probe_jedec, |
| 4927 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4928 | .block_erasers = |
| 4929 | { |
| 4930 | { |
| 4931 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4932 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4933 | }, { |
| 4934 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4935 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4936 | }, { |
| 4937 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4938 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4939 | } |
| 4940 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4941 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4942 | .unlock = unlock_sst_fwhub, |
| 4943 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4944 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4945 | }, |
| 4946 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4947 | { |
| 4948 | .vendor = "SST", |
| 4949 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4950 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4951 | .manufacture_id = SST_ID, |
| 4952 | .model_id = SST_49LF008C, |
| 4953 | .total_size = 1024, |
| 4954 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4955 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4956 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4957 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4958 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4959 | .block_erasers = |
| 4960 | { |
| 4961 | { |
| 4962 | .eraseblocks = { {4 * 1024, 256} }, |
| 4963 | .block_erase = erase_sector_49lfxxxc, |
| 4964 | }, { |
| 4965 | .eraseblocks = { |
| 4966 | {64 * 1024, 15}, |
| 4967 | {32 * 1024, 1}, |
| 4968 | {8 * 1024, 2}, |
| 4969 | {16 * 1024, 1}, |
| 4970 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4971 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4972 | } |
| 4973 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4974 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4975 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4976 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4977 | }, |
| 4978 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4979 | { |
| 4980 | .vendor = "SST", |
| 4981 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4982 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4983 | .manufacture_id = SST_ID, |
| 4984 | .model_id = SST_49LF016C, |
| 4985 | .total_size = 2048, |
| 4986 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4987 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4988 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4989 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4990 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4991 | .block_erasers = |
| 4992 | { |
| 4993 | { |
| 4994 | .eraseblocks = { {4 * 1024, 512} }, |
| 4995 | .block_erase = erase_sector_49lfxxxc, |
| 4996 | }, { |
| 4997 | .eraseblocks = { |
| 4998 | {64 * 1024, 31}, |
| 4999 | {32 * 1024, 1}, |
| 5000 | {8 * 1024, 2}, |
| 5001 | {16 * 1024, 1}, |
| 5002 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5003 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5004 | } |
| 5005 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5006 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5007 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5008 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5009 | }, |
| 5010 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5011 | { |
| 5012 | .vendor = "SST", |
| 5013 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5014 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5015 | .manufacture_id = SST_ID, |
| 5016 | .model_id = SST_49LF020, |
| 5017 | .total_size = 256, |
| 5018 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5019 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5020 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5021 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5022 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5023 | .block_erasers = |
| 5024 | { |
| 5025 | { |
| 5026 | .eraseblocks = { {4 * 1024, 64} }, |
| 5027 | .block_erase = erase_sector_jedec, |
| 5028 | }, { |
| 5029 | .eraseblocks = { {16 * 1024, 16} }, |
| 5030 | .block_erase = erase_block_jedec, |
| 5031 | }, { |
| 5032 | .eraseblocks = { {256 * 1024, 1} }, |
| 5033 | .block_erase = NULL, |
| 5034 | } |
| 5035 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5036 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5037 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 5038 | }, |
| 5039 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5040 | { |
| 5041 | .vendor = "SST", |
| 5042 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5043 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5044 | .manufacture_id = SST_ID, |
| 5045 | .model_id = SST_49LF020A, |
| 5046 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 5047 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5048 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5049 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5050 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5051 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5052 | .block_erasers = |
| 5053 | { |
| 5054 | { |
| 5055 | .eraseblocks = { {4 * 1024, 64} }, |
| 5056 | .block_erase = erase_sector_jedec, |
| 5057 | }, { |
| 5058 | .eraseblocks = { {16 * 1024, 16} }, |
| 5059 | .block_erase = erase_block_jedec, |
| 5060 | }, { |
| 5061 | .eraseblocks = { {256 * 1024, 1} }, |
| 5062 | .block_erase = NULL, |
| 5063 | } |
| 5064 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5065 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5066 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5067 | }, |
| 5068 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5069 | { |
| 5070 | .vendor = "SST", |
| 5071 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5072 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5073 | .manufacture_id = SST_ID, |
| 5074 | .model_id = SST_49LF040, |
| 5075 | .total_size = 512, |
| 5076 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5077 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5078 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5079 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5080 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5081 | .block_erasers = |
| 5082 | { |
| 5083 | { |
| 5084 | .eraseblocks = { {4 * 1024, 128} }, |
| 5085 | .block_erase = erase_sector_jedec, |
| 5086 | }, { |
| 5087 | .eraseblocks = { {64 * 1024, 8} }, |
| 5088 | .block_erase = erase_block_jedec, |
| 5089 | }, { |
| 5090 | .eraseblocks = { {512 * 1024, 1} }, |
| 5091 | .block_erase = NULL, |
| 5092 | } |
| 5093 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5094 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5095 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5096 | }, |
| 5097 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5098 | { |
| 5099 | .vendor = "SST", |
| 5100 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5101 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5102 | .manufacture_id = SST_ID, |
| 5103 | .model_id = SST_49LF040B, |
| 5104 | .total_size = 512, |
| 5105 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5106 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5107 | .tested = TEST_OK_PR, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5108 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5109 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5110 | .block_erasers = |
| 5111 | { |
| 5112 | { |
| 5113 | .eraseblocks = { {4 * 1024, 128} }, |
| 5114 | .block_erase = erase_sector_jedec, |
| 5115 | }, { |
| 5116 | .eraseblocks = { {64 * 1024, 8} }, |
| 5117 | .block_erase = erase_block_jedec, |
| 5118 | }, { |
| 5119 | .eraseblocks = { {512 * 1024, 1} }, |
| 5120 | .block_erase = NULL, |
| 5121 | } |
| 5122 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5123 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5124 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5125 | }, |
| 5126 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5127 | { |
| 5128 | .vendor = "SST", |
| 5129 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5130 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5131 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5132 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5133 | .total_size = 1024, |
| 5134 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5135 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5136 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5137 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5138 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5139 | .block_erasers = |
| 5140 | { |
| 5141 | { |
| 5142 | .eraseblocks = { {4 * 1024, 256} }, |
| 5143 | .block_erase = erase_sector_jedec, |
| 5144 | }, { |
| 5145 | .eraseblocks = { {64 * 1024, 16} }, |
| 5146 | .block_erase = erase_block_jedec, |
| 5147 | }, { |
| 5148 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5149 | .block_erase = NULL, |
| 5150 | } |
| 5151 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5152 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5153 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5154 | }, |
| 5155 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5156 | { |
| 5157 | .vendor = "SST", |
| 5158 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5159 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5160 | .manufacture_id = SST_ID, |
| 5161 | .model_id = SST_49LF160C, |
| 5162 | .total_size = 2048, |
| 5163 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5164 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5165 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5166 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5167 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5168 | .block_erasers = |
| 5169 | { |
| 5170 | { |
| 5171 | .eraseblocks = { {4 * 1024, 512} }, |
| 5172 | .block_erase = erase_sector_49lfxxxc, |
| 5173 | }, { |
| 5174 | .eraseblocks = { |
| 5175 | {64 * 1024, 31}, |
| 5176 | {32 * 1024, 1}, |
| 5177 | {8 * 1024, 2}, |
| 5178 | {16 * 1024, 1}, |
| 5179 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5180 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5181 | } |
| 5182 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5183 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5184 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5185 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5186 | }, |
| 5187 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5188 | { |
| 5189 | .vendor = "ST", |
| 5190 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5191 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5192 | .manufacture_id = ST_ID, |
| 5193 | .model_id = ST_M25P05A, |
| 5194 | .total_size = 64, |
| 5195 | .page_size = 256, |
| 5196 | .tested = TEST_UNTESTED, |
| 5197 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5198 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5199 | .block_erasers = |
| 5200 | { |
| 5201 | { |
| 5202 | .eraseblocks = { {32 * 1024, 2} }, |
| 5203 | .block_erase = spi_block_erase_d8, |
| 5204 | }, { |
| 5205 | .eraseblocks = { {64 * 1024, 1} }, |
| 5206 | .block_erase = spi_block_erase_c7, |
| 5207 | } |
| 5208 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5209 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5210 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5211 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5212 | }, |
| 5213 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5214 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 5215 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5216 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res1 |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5217 | * only is successful if RDID does not work. |
| 5218 | */ |
| 5219 | { |
| 5220 | .vendor = "ST", |
| 5221 | .name = "M25P05.RES", |
| 5222 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5223 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5224 | .model_id = ST_M25P05_RES, |
| 5225 | .total_size = 64, |
| 5226 | .page_size = 256, |
| 5227 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5228 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5229 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5230 | .block_erasers = |
| 5231 | { |
| 5232 | { |
| 5233 | .eraseblocks = { {32 * 1024, 2} }, |
| 5234 | .block_erase = spi_block_erase_d8, |
| 5235 | }, { |
| 5236 | .eraseblocks = { {64 * 1024, 1} }, |
| 5237 | .block_erase = spi_block_erase_c7, |
| 5238 | } |
| 5239 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5240 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5241 | .write = spi_chip_write_1, /* 128 */ |
| 5242 | .read = spi_chip_read, |
| 5243 | }, |
| 5244 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5245 | { |
| 5246 | .vendor = "ST", |
| 5247 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5248 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5249 | .manufacture_id = ST_ID, |
| 5250 | .model_id = ST_M25P10A, |
| 5251 | .total_size = 128, |
| 5252 | .page_size = 256, |
| 5253 | .tested = TEST_UNTESTED, |
| 5254 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5255 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5256 | .block_erasers = |
| 5257 | { |
| 5258 | { |
| 5259 | .eraseblocks = { {32 * 1024, 4} }, |
| 5260 | .block_erase = spi_block_erase_d8, |
| 5261 | }, { |
| 5262 | .eraseblocks = { {128 * 1024, 1} }, |
| 5263 | .block_erase = spi_block_erase_c7, |
| 5264 | } |
| 5265 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5266 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5267 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5268 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5269 | }, |
| 5270 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5271 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 5272 | { |
| 5273 | .vendor = "ST", |
| 5274 | .name = "M25P10.RES", |
| 5275 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5276 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5277 | .model_id = ST_M25P10_RES, |
| 5278 | .total_size = 128, |
| 5279 | .page_size = 256, |
| 5280 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5281 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5282 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5283 | .block_erasers = |
| 5284 | { |
| 5285 | { |
| 5286 | .eraseblocks = { {32 * 1024, 4} }, |
| 5287 | .block_erase = spi_block_erase_d8, |
| 5288 | }, { |
| 5289 | .eraseblocks = { {128 * 1024, 1} }, |
| 5290 | .block_erase = spi_block_erase_c7, |
| 5291 | } |
| 5292 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5293 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5294 | .write = spi_chip_write_1, /* 128 */ |
| 5295 | .read = spi_chip_read, |
| 5296 | }, |
| 5297 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5298 | { |
| 5299 | .vendor = "ST", |
| 5300 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5301 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5302 | .manufacture_id = ST_ID, |
| 5303 | .model_id = ST_M25P20, |
| 5304 | .total_size = 256, |
| 5305 | .page_size = 256, |
| 5306 | .tested = TEST_UNTESTED, |
| 5307 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5308 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5309 | .block_erasers = |
| 5310 | { |
| 5311 | { |
| 5312 | .eraseblocks = { {64 * 1024, 4} }, |
| 5313 | .block_erase = spi_block_erase_d8, |
| 5314 | }, { |
| 5315 | .eraseblocks = { {256 * 1024, 1} }, |
| 5316 | .block_erase = spi_block_erase_c7, |
| 5317 | } |
| 5318 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5319 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5320 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5321 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5322 | }, |
| 5323 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5324 | { |
| 5325 | .vendor = "ST", |
| 5326 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5327 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5328 | .manufacture_id = ST_ID, |
| 5329 | .model_id = ST_M25P40, |
| 5330 | .total_size = 512, |
| 5331 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5332 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5333 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5334 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5335 | .block_erasers = |
| 5336 | { |
| 5337 | { |
| 5338 | .eraseblocks = { {64 * 1024, 8} }, |
| 5339 | .block_erase = spi_block_erase_d8, |
| 5340 | }, { |
| 5341 | .eraseblocks = { {512 * 1024, 1} }, |
| 5342 | .block_erase = spi_block_erase_c7, |
| 5343 | } |
| 5344 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5345 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5346 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5347 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5348 | }, |
| 5349 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5350 | { |
| 5351 | .vendor = "ST", |
| 5352 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5353 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5354 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5355 | .model_id = ST_M25P40_RES, |
| 5356 | .total_size = 512, |
| 5357 | .page_size = 256, |
| 5358 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5359 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5360 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5361 | .block_erasers = |
| 5362 | { |
| 5363 | { |
| 5364 | .eraseblocks = { {64 * 1024, 8} }, |
| 5365 | .block_erase = spi_block_erase_d8, |
| 5366 | }, { |
| 5367 | .eraseblocks = { {512 * 1024, 1} }, |
| 5368 | .block_erase = spi_block_erase_c7, |
| 5369 | } |
| 5370 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5371 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5372 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5373 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5374 | }, |
| 5375 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5376 | { |
| 5377 | .vendor = "ST", |
| 5378 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5379 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5380 | .manufacture_id = ST_ID, |
| 5381 | .model_id = ST_M25P80, |
| 5382 | .total_size = 1024, |
| 5383 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5384 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5385 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5386 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5387 | .block_erasers = |
| 5388 | { |
| 5389 | { |
| 5390 | .eraseblocks = { {64 * 1024, 16} }, |
| 5391 | .block_erase = spi_block_erase_d8, |
| 5392 | }, { |
| 5393 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5394 | .block_erase = spi_block_erase_c7, |
| 5395 | } |
| 5396 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5397 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5398 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5399 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5400 | }, |
| 5401 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5402 | { |
| 5403 | .vendor = "ST", |
| 5404 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5405 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5406 | .manufacture_id = ST_ID, |
| 5407 | .model_id = ST_M25P16, |
| 5408 | .total_size = 2048, |
| 5409 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5410 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5411 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5412 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5413 | .block_erasers = |
| 5414 | { |
| 5415 | { |
| 5416 | .eraseblocks = { {64 * 1024, 32} }, |
| 5417 | .block_erase = spi_block_erase_d8, |
| 5418 | }, { |
| 5419 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5420 | .block_erase = spi_block_erase_c7, |
| 5421 | } |
| 5422 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5423 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5424 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5425 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5426 | }, |
| 5427 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5428 | { |
| 5429 | .vendor = "ST", |
| 5430 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5431 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5432 | .manufacture_id = ST_ID, |
| 5433 | .model_id = ST_M25P32, |
| 5434 | .total_size = 4096, |
| 5435 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5436 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5437 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5438 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5439 | .block_erasers = |
| 5440 | { |
| 5441 | { |
| 5442 | .eraseblocks = { {64 * 1024, 64} }, |
| 5443 | .block_erase = spi_block_erase_d8, |
| 5444 | }, { |
| 5445 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5446 | .block_erase = spi_block_erase_c7, |
| 5447 | } |
| 5448 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5449 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5450 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5451 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5452 | }, |
| 5453 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5454 | { |
| 5455 | .vendor = "ST", |
| 5456 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5457 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5458 | .manufacture_id = ST_ID, |
| 5459 | .model_id = ST_M25P64, |
| 5460 | .total_size = 8192, |
| 5461 | .page_size = 256, |
| 5462 | .tested = TEST_UNTESTED, |
| 5463 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5464 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5465 | .block_erasers = |
| 5466 | { |
| 5467 | { |
| 5468 | .eraseblocks = { {64 * 1024, 128} }, |
| 5469 | .block_erase = spi_block_erase_d8, |
| 5470 | }, { |
| 5471 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5472 | .block_erase = spi_block_erase_c7, |
| 5473 | } |
| 5474 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5475 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5476 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5477 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5478 | }, |
| 5479 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5480 | { |
| 5481 | .vendor = "ST", |
| 5482 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5483 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5484 | .manufacture_id = ST_ID, |
| 5485 | .model_id = ST_M25P128, |
| 5486 | .total_size = 16384, |
| 5487 | .page_size = 256, |
| 5488 | .tested = TEST_UNTESTED, |
| 5489 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5490 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5491 | .block_erasers = |
| 5492 | { |
| 5493 | { |
| 5494 | .eraseblocks = { {256 * 1024, 64} }, |
| 5495 | .block_erase = spi_block_erase_d8, |
| 5496 | }, { |
| 5497 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5498 | .block_erase = spi_block_erase_c7, |
| 5499 | } |
| 5500 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5501 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5502 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5503 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5504 | }, |
| 5505 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5506 | { |
| 5507 | .vendor = "ST", |
| 5508 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5509 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5510 | .manufacture_id = ST_ID, |
| 5511 | .model_id = ST_M29F002B, |
| 5512 | .total_size = 256, |
| 5513 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5514 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5515 | .tested = TEST_UNTESTED, |
| 5516 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5517 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5518 | .block_erasers = |
| 5519 | { |
| 5520 | { |
| 5521 | .eraseblocks = { |
| 5522 | {16 * 1024, 1}, |
| 5523 | {8 * 1024, 2}, |
| 5524 | {32 * 1024, 1}, |
| 5525 | {64 * 1024, 3}, |
| 5526 | }, |
| 5527 | .block_erase = erase_sector_jedec, |
| 5528 | }, { |
| 5529 | .eraseblocks = { {256 * 1024, 1} }, |
| 5530 | .block_erase = erase_chip_block_jedec, |
| 5531 | } |
| 5532 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5533 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5534 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5535 | }, |
| 5536 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5537 | { |
| 5538 | .vendor = "ST", |
| 5539 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5540 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5541 | .manufacture_id = ST_ID, |
| 5542 | .model_id = ST_M29F002T, |
| 5543 | .total_size = 256, |
| 5544 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5545 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 5546 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5547 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5548 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5549 | .block_erasers = |
| 5550 | { |
| 5551 | { |
| 5552 | .eraseblocks = { |
| 5553 | {64 * 1024, 3}, |
| 5554 | {32 * 1024, 1}, |
| 5555 | {8 * 1024, 2}, |
| 5556 | {16 * 1024, 1}, |
| 5557 | }, |
| 5558 | .block_erase = erase_sector_jedec, |
| 5559 | }, { |
| 5560 | .eraseblocks = { {256 * 1024, 1} }, |
| 5561 | .block_erase = erase_chip_block_jedec, |
| 5562 | } |
| 5563 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5564 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5565 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5566 | }, |
| 5567 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5568 | { |
| 5569 | .vendor = "ST", |
| 5570 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5571 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5572 | .manufacture_id = ST_ID, |
| 5573 | .model_id = ST_M29F040B, |
| 5574 | .total_size = 512, |
| 5575 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5576 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5577 | .tested = TEST_UNTESTED, |
| 5578 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 5579 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5580 | .block_erasers = |
| 5581 | { |
| 5582 | { |
| 5583 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5584 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5585 | }, { |
| 5586 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5587 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5588 | } |
| 5589 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5590 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5591 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5592 | }, |
| 5593 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5594 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5595 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5596 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 5597 | .name = "M29F400BB", |
| 5598 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5599 | .manufacture_id = ST_ID, |
| 5600 | .model_id = ST_M29F400BB, |
| 5601 | .total_size = 512, |
| 5602 | .page_size = 64 * 1024, |
| 5603 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
| 5604 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
| 5605 | .probe = probe_m29f400bt, |
| 5606 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 5607 | .block_erasers = |
| 5608 | { |
| 5609 | { |
| 5610 | .eraseblocks = { |
| 5611 | {16 * 1024, 1}, |
| 5612 | {8 * 1024, 2}, |
| 5613 | {32 * 1024, 1}, |
| 5614 | {64 * 1024, 7}, |
| 5615 | }, |
| 5616 | .block_erase = block_erase_m29f400bt, |
| 5617 | }, { |
| 5618 | .eraseblocks = { {512 * 1024, 1} }, |
| 5619 | .block_erase = block_erase_chip_m29f400bt, |
| 5620 | } |
| 5621 | }, |
| 5622 | .write = NULL, |
| 5623 | .read = read_memmapped, |
| 5624 | }, |
| 5625 | { |
| 5626 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 5627 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5628 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5629 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5630 | .manufacture_id = ST_ID, |
| 5631 | .model_id = ST_M29F400BT, |
| 5632 | .total_size = 512, |
| 5633 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5634 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5635 | .tested = TEST_UNTESTED, |
| 5636 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5637 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5638 | .block_erasers = |
| 5639 | { |
| 5640 | { |
| 5641 | .eraseblocks = { |
| 5642 | {64 * 1024, 7}, |
| 5643 | {32 * 1024, 1}, |
| 5644 | {8 * 1024, 2}, |
| 5645 | {16 * 1024, 1}, |
| 5646 | }, |
| 5647 | .block_erase = block_erase_m29f400bt, |
| 5648 | }, { |
| 5649 | .eraseblocks = { {512 * 1024, 1} }, |
| 5650 | .block_erase = block_erase_chip_m29f400bt, |
| 5651 | } |
| 5652 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 5653 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5654 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5655 | }, |
| 5656 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5657 | { |
| 5658 | .vendor = "ST", |
| 5659 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5660 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5661 | .manufacture_id = ST_ID, |
| 5662 | .model_id = ST_M29W010B, |
| 5663 | .total_size = 128, |
| 5664 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5665 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5666 | .tested = TEST_UNTESTED, |
| 5667 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5668 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5669 | .block_erasers = |
| 5670 | { |
| 5671 | { |
| 5672 | .eraseblocks = { {16 * 1024, 8}, }, |
| 5673 | .block_erase = erase_sector_jedec, |
| 5674 | }, { |
| 5675 | .eraseblocks = { {128 * 1024, 1} }, |
| 5676 | .block_erase = erase_chip_block_jedec, |
| 5677 | } |
| 5678 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5679 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5680 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5681 | }, |
| 5682 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5683 | { |
| 5684 | .vendor = "ST", |
| 5685 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5686 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5687 | .manufacture_id = ST_ID, |
| 5688 | .model_id = ST_M29W040B, |
| 5689 | .total_size = 512, |
| 5690 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5691 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5692 | .tested = TEST_UNTESTED, |
| 5693 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5694 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5695 | .block_erasers = |
| 5696 | { |
| 5697 | { |
| 5698 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5699 | .block_erase = erase_sector_jedec, |
| 5700 | }, { |
| 5701 | .eraseblocks = { {512 * 1024, 1} }, |
| 5702 | .block_erase = erase_chip_block_jedec, |
| 5703 | } |
| 5704 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5705 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5706 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5707 | }, |
| 5708 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5709 | { |
| 5710 | .vendor = "ST", |
| 5711 | .name = "M29W512B", |
| 5712 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5713 | .manufacture_id = ST_ID, |
| 5714 | .model_id = ST_M29W512B, |
| 5715 | .total_size = 64, |
| 5716 | .page_size = 64 * 1024, |
| 5717 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5718 | .tested = TEST_OK_PREW, |
| 5719 | .probe = probe_jedec, |
| 5720 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5721 | .block_erasers = |
| 5722 | { |
| 5723 | { |
| 5724 | .eraseblocks = { {64 * 1024, 1} }, |
| 5725 | .block_erase = erase_chip_block_jedec, |
| 5726 | } |
| 5727 | }, |
| 5728 | .write = write_jedec_1, |
| 5729 | .read = read_memmapped, |
| 5730 | }, |
| 5731 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5732 | { |
| 5733 | .vendor = "ST", |
| 5734 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5735 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5736 | .manufacture_id = ST_ID, |
| 5737 | .model_id = ST_M50FLW040A, |
| 5738 | .total_size = 512, |
| 5739 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5740 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5741 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5742 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5743 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5744 | .block_erasers = |
| 5745 | { |
| 5746 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5747 | .eraseblocks = { |
| 5748 | {4 * 1024, 16}, /* sector */ |
| 5749 | {64 * 1024, 5}, /* block */ |
| 5750 | {4 * 1024, 16}, /* sector */ |
| 5751 | {4 * 1024, 16}, /* sector */ |
| 5752 | }, |
| 5753 | .block_erase = NULL, |
| 5754 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5755 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5756 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5757 | }, { |
| 5758 | .eraseblocks = { {512 * 1024, 1} }, |
| 5759 | .block_erase = erase_chip_stm50flw0x0x, |
| 5760 | } |
| 5761 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5762 | .unlock = unlock_stm50flw0x0x, |
| 5763 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5764 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5765 | }, |
| 5766 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5767 | { |
| 5768 | .vendor = "ST", |
| 5769 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5770 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5771 | .manufacture_id = ST_ID, |
| 5772 | .model_id = ST_M50FLW040B, |
| 5773 | .total_size = 512, |
| 5774 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5775 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5776 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5777 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5778 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5779 | .block_erasers = |
| 5780 | { |
| 5781 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5782 | .eraseblocks = { |
| 5783 | {4 * 1024, 16}, /* sector */ |
| 5784 | {4 * 1024, 16}, /* sector */ |
| 5785 | {64 * 1024, 5}, /* block */ |
| 5786 | {4 * 1024, 16}, /* sector */ |
| 5787 | }, |
| 5788 | .block_erase = NULL, |
| 5789 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5790 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5791 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5792 | }, { |
| 5793 | .eraseblocks = { {512 * 1024, 1} }, |
| 5794 | .block_erase = erase_chip_stm50flw0x0x, |
| 5795 | } |
| 5796 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5797 | .unlock = unlock_stm50flw0x0x, |
| 5798 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5799 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5800 | }, |
| 5801 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5802 | { |
| 5803 | .vendor = "ST", |
| 5804 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5805 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5806 | .manufacture_id = ST_ID, |
| 5807 | .model_id = ST_M50FLW080A, |
| 5808 | .total_size = 1024, |
| 5809 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5810 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5811 | .tested = TEST_UNTESTED, |
| 5812 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5813 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5814 | .block_erasers = |
| 5815 | { |
| 5816 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5817 | .eraseblocks = { |
| 5818 | {4 * 1024, 16}, /* sector */ |
| 5819 | {64 * 1024, 13}, /* block */ |
| 5820 | {4 * 1024, 16}, /* sector */ |
| 5821 | {4 * 1024, 16}, /* sector */ |
| 5822 | }, |
| 5823 | .block_erase = NULL, |
| 5824 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5825 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5826 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5827 | }, { |
| 5828 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5829 | .block_erase = erase_chip_stm50flw0x0x, |
| 5830 | } |
| 5831 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5832 | .unlock = unlock_stm50flw0x0x, |
| 5833 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5834 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5835 | }, |
| 5836 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5837 | { |
| 5838 | .vendor = "ST", |
| 5839 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5840 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5841 | .manufacture_id = ST_ID, |
| 5842 | .model_id = ST_M50FLW080B, |
| 5843 | .total_size = 1024, |
| 5844 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5845 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5846 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5847 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5848 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5849 | .block_erasers = |
| 5850 | { |
| 5851 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5852 | .eraseblocks = { |
| 5853 | {4 * 1024, 16}, /* sector */ |
| 5854 | {4 * 1024, 16}, /* sector */ |
| 5855 | {64 * 1024, 13}, /* block */ |
| 5856 | {4 * 1024, 16}, /* sector */ |
| 5857 | }, |
| 5858 | .block_erase = NULL, |
| 5859 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5860 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5861 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5862 | }, { |
| 5863 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5864 | .block_erase = erase_chip_stm50flw0x0x, |
| 5865 | } |
| 5866 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5867 | .unlock = unlock_stm50flw0x0x, |
| 5868 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5869 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5870 | }, |
| 5871 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5872 | { |
| 5873 | .vendor = "ST", |
| 5874 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5875 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5876 | .manufacture_id = ST_ID, |
| 5877 | .model_id = ST_M50FW002, |
| 5878 | .total_size = 256, |
| 5879 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5880 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5881 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5882 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5883 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5884 | .block_erasers = |
| 5885 | { |
| 5886 | { |
| 5887 | .eraseblocks = { |
| 5888 | {64 * 1024, 3}, |
| 5889 | {32 * 1024, 1}, |
| 5890 | {8 * 1024, 2}, |
| 5891 | {16 * 1024, 1}, |
| 5892 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5893 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5894 | }, { |
| 5895 | .eraseblocks = { {256 * 1024, 1} }, |
| 5896 | .block_erase = erase_chip_stm50flw0x0x, |
| 5897 | } |
| 5898 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5899 | .unlock = unlock_stm50flw0x0x, |
| 5900 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5901 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5902 | }, |
| 5903 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5904 | { |
| 5905 | .vendor = "ST", |
| 5906 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5907 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5908 | .manufacture_id = ST_ID, |
| 5909 | .model_id = ST_M50FW016, |
| 5910 | .total_size = 2048, |
| 5911 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5912 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5913 | .tested = TEST_UNTESTED, |
| 5914 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5915 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5916 | .block_erasers = |
| 5917 | { |
| 5918 | { |
| 5919 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5920 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5921 | }, { |
| 5922 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5923 | .block_erase = erase_chip_stm50flw0x0x, |
| 5924 | } |
| 5925 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5926 | .unlock = unlock_stm50flw0x0x, |
| 5927 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5928 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5929 | }, |
| 5930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5931 | { |
| 5932 | .vendor = "ST", |
| 5933 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5934 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5935 | .manufacture_id = ST_ID, |
| 5936 | .model_id = ST_M50FW040, |
| 5937 | .total_size = 512, |
| 5938 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5939 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5940 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5941 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5942 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5943 | .block_erasers = |
| 5944 | { |
| 5945 | { |
| 5946 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5947 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5948 | }, { |
| 5949 | .eraseblocks = { {512 * 1024, 1} }, |
| 5950 | .block_erase = erase_chip_stm50flw0x0x, |
| 5951 | } |
| 5952 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5953 | .unlock = unlock_stm50flw0x0x, |
| 5954 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5955 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5956 | }, |
| 5957 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5958 | { |
| 5959 | .vendor = "ST", |
| 5960 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5961 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5962 | .manufacture_id = ST_ID, |
| 5963 | .model_id = ST_M50FW080, |
| 5964 | .total_size = 1024, |
| 5965 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5966 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5967 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5968 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5969 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5970 | .block_erasers = |
| 5971 | { |
| 5972 | { |
| 5973 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5974 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5975 | }, { |
| 5976 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5977 | .block_erase = erase_chip_stm50flw0x0x, |
| 5978 | } |
| 5979 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5980 | .unlock = unlock_stm50flw0x0x, |
| 5981 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5982 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5983 | }, |
| 5984 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5985 | { |
| 5986 | .vendor = "ST", |
| 5987 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5988 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5989 | .manufacture_id = ST_ID, |
| 5990 | .model_id = ST_M50LPW116, |
| 5991 | .total_size = 2048, |
| 5992 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5993 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5994 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5995 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5996 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5997 | .block_erasers = |
| 5998 | { |
| 5999 | { |
| 6000 | .eraseblocks = { |
| 6001 | {4 * 1024, 16}, |
| 6002 | {64 * 1024, 30}, |
| 6003 | {32 * 1024, 1}, |
| 6004 | {8 * 1024, 2}, |
| 6005 | {16 * 1024, 1}, |
| 6006 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6007 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6008 | }, { |
| 6009 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6010 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6011 | } |
| 6012 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6013 | .unlock = unlock_stm50flw0x0x, |
| 6014 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6015 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6016 | }, |
| 6017 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6018 | { |
| 6019 | .vendor = "SyncMOS", |
| 6020 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6021 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6022 | .manufacture_id = SYNCMOS_ID, |
| 6023 | .model_id = S29C31004T, |
| 6024 | .total_size = 512, |
| 6025 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6026 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6027 | .tested = TEST_UNTESTED, |
| 6028 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6029 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6030 | .block_erasers = |
| 6031 | { |
| 6032 | { |
| 6033 | .eraseblocks = { {1 * 1024, 512} }, |
| 6034 | .block_erase = erase_sector_jedec, |
| 6035 | }, { |
| 6036 | .eraseblocks = { {512 * 1024, 1} }, |
| 6037 | .block_erase = erase_chip_block_jedec, |
| 6038 | }, |
| 6039 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6040 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6041 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6042 | }, |
| 6043 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6044 | { |
| 6045 | .vendor = "SyncMOS", |
| 6046 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6047 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6048 | .manufacture_id = SYNCMOS_ID, |
| 6049 | .model_id = S29C51001T, |
| 6050 | .total_size = 128, |
| 6051 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6052 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6053 | .tested = TEST_UNTESTED, |
| 6054 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6055 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6056 | .block_erasers = |
| 6057 | { |
| 6058 | { |
| 6059 | .eraseblocks = { {512, 256} }, |
| 6060 | .block_erase = erase_sector_jedec, |
| 6061 | }, { |
| 6062 | .eraseblocks = { {128 * 1024, 1} }, |
| 6063 | .block_erase = erase_chip_block_jedec, |
| 6064 | }, |
| 6065 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6066 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6067 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6068 | }, |
| 6069 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6070 | { |
| 6071 | .vendor = "SyncMOS", |
| 6072 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6073 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6074 | .manufacture_id = SYNCMOS_ID, |
| 6075 | .model_id = S29C51002T, |
| 6076 | .total_size = 256, |
| 6077 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6078 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6079 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6080 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6081 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6082 | .block_erasers = |
| 6083 | { |
| 6084 | { |
| 6085 | .eraseblocks = { {512, 512} }, |
| 6086 | .block_erase = erase_sector_jedec, |
| 6087 | }, { |
| 6088 | .eraseblocks = { {256 * 1024, 1} }, |
| 6089 | .block_erase = erase_chip_block_jedec, |
| 6090 | }, |
| 6091 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6092 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6093 | .read = read_memmapped, |
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 = "SyncMOS", |
| 6098 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6099 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6100 | .manufacture_id = SYNCMOS_ID, |
| 6101 | .model_id = S29C51004T, |
| 6102 | .total_size = 512, |
| 6103 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6104 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6105 | .tested = TEST_UNTESTED, |
| 6106 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6107 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6108 | .block_erasers = |
| 6109 | { |
| 6110 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 6111 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6112 | .block_erase = erase_sector_jedec, |
| 6113 | }, { |
| 6114 | .eraseblocks = { {512 * 1024, 1} }, |
| 6115 | .block_erase = erase_chip_block_jedec, |
| 6116 | }, |
| 6117 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6118 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6119 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6120 | }, |
| 6121 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6122 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6123 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6124 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6125 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6126 | .manufacture_id = TI_OLD_ID, |
| 6127 | .model_id = TI_TMS29F002RB, |
| 6128 | .total_size = 256, |
| 6129 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6130 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6131 | .tested = TEST_UNTESTED, |
| 6132 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6133 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6134 | .block_erasers = |
| 6135 | { |
| 6136 | { |
| 6137 | .eraseblocks = { |
| 6138 | {16 * 1024, 1}, |
| 6139 | {8 * 1024, 2}, |
| 6140 | {32 * 1024, 1}, |
| 6141 | {64 * 1024, 3}, |
| 6142 | }, |
| 6143 | .block_erase = erase_sector_jedec, |
| 6144 | }, { |
| 6145 | .eraseblocks = { {256 * 1024, 1} }, |
| 6146 | .block_erase = erase_chip_block_jedec, |
| 6147 | }, |
| 6148 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6149 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6150 | .read = read_memmapped, |
| 6151 | }, |
| 6152 | |
| 6153 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6154 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6155 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6156 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6157 | .manufacture_id = TI_OLD_ID, |
| 6158 | .model_id = TI_TMS29F002RT, |
| 6159 | .total_size = 256, |
| 6160 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6161 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6162 | .tested = TEST_UNTESTED, |
| 6163 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6164 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6165 | .block_erasers = |
| 6166 | { |
| 6167 | { |
| 6168 | .eraseblocks = { |
| 6169 | {64 * 1024, 3}, |
| 6170 | {32 * 1024, 1}, |
| 6171 | {8 * 1024, 2}, |
| 6172 | {16 * 1024, 1}, |
| 6173 | }, |
| 6174 | .block_erase = erase_sector_jedec, |
| 6175 | }, { |
| 6176 | .eraseblocks = { {256 * 1024, 1} }, |
| 6177 | .block_erase = erase_chip_block_jedec, |
| 6178 | }, |
| 6179 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6180 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6181 | .read = read_memmapped, |
| 6182 | }, |
| 6183 | |
| 6184 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6185 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6186 | .name = "W25Q80", |
| 6187 | .bustype = CHIP_BUSTYPE_SPI, |
| 6188 | .manufacture_id = WINBOND_NEX_ID, |
| 6189 | .model_id = W_25Q80, |
| 6190 | .total_size = 1024, |
| 6191 | .page_size = 256, |
| 6192 | .tested = TEST_UNTESTED, |
| 6193 | .probe = probe_spi_rdid, |
| 6194 | .probe_timing = TIMING_ZERO, |
| 6195 | .block_erasers = |
| 6196 | { |
| 6197 | { |
| 6198 | .eraseblocks = { {4 * 1024, 256} }, |
| 6199 | .block_erase = spi_block_erase_20, |
| 6200 | }, { |
| 6201 | .eraseblocks = { {32 * 1024, 32} }, |
| 6202 | .block_erase = spi_block_erase_52, |
| 6203 | }, { |
| 6204 | .eraseblocks = { {64 * 1024, 16} }, |
| 6205 | .block_erase = spi_block_erase_d8, |
| 6206 | }, { |
| 6207 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6208 | .block_erase = spi_block_erase_60, |
| 6209 | }, { |
| 6210 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6211 | .block_erase = spi_block_erase_c7, |
| 6212 | } |
| 6213 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6214 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6215 | .write = spi_chip_write_256, |
| 6216 | .read = spi_chip_read, |
| 6217 | }, |
| 6218 | |
| 6219 | { |
| 6220 | .vendor = "Winbond", |
| 6221 | .name = "W25Q16", |
| 6222 | .bustype = CHIP_BUSTYPE_SPI, |
| 6223 | .manufacture_id = WINBOND_NEX_ID, |
| 6224 | .model_id = W_25Q16, |
| 6225 | .total_size = 2048, |
| 6226 | .page_size = 256, |
| 6227 | .tested = TEST_UNTESTED, |
| 6228 | .probe = probe_spi_rdid, |
| 6229 | .probe_timing = TIMING_ZERO, |
| 6230 | .block_erasers = |
| 6231 | { |
| 6232 | { |
| 6233 | .eraseblocks = { {4 * 1024, 512} }, |
| 6234 | .block_erase = spi_block_erase_20, |
| 6235 | }, { |
| 6236 | .eraseblocks = { {32 * 1024, 64} }, |
| 6237 | .block_erase = spi_block_erase_52, |
| 6238 | }, { |
| 6239 | .eraseblocks = { {64 * 1024, 32} }, |
| 6240 | .block_erase = spi_block_erase_d8, |
| 6241 | }, { |
| 6242 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6243 | .block_erase = spi_block_erase_60, |
| 6244 | }, { |
| 6245 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6246 | .block_erase = spi_block_erase_c7, |
| 6247 | } |
| 6248 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6249 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6250 | .write = spi_chip_write_256, |
| 6251 | .read = spi_chip_read, |
| 6252 | }, |
| 6253 | |
| 6254 | { |
| 6255 | .vendor = "Winbond", |
| 6256 | .name = "W25Q32", |
| 6257 | .bustype = CHIP_BUSTYPE_SPI, |
| 6258 | .manufacture_id = WINBOND_NEX_ID, |
| 6259 | .model_id = W_25Q32, |
| 6260 | .total_size = 4096, |
| 6261 | .page_size = 256, |
| 6262 | .tested = TEST_UNTESTED, |
| 6263 | .probe = probe_spi_rdid, |
| 6264 | .probe_timing = TIMING_ZERO, |
| 6265 | .block_erasers = |
| 6266 | { |
| 6267 | { |
| 6268 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6269 | .block_erase = spi_block_erase_20, |
| 6270 | }, { |
| 6271 | .eraseblocks = { {32 * 1024, 128} }, |
| 6272 | .block_erase = spi_block_erase_52, |
| 6273 | }, { |
| 6274 | .eraseblocks = { {64 * 1024, 64} }, |
| 6275 | .block_erase = spi_block_erase_d8, |
| 6276 | }, { |
| 6277 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6278 | .block_erase = spi_block_erase_60, |
| 6279 | }, { |
| 6280 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6281 | .block_erase = spi_block_erase_c7, |
| 6282 | } |
| 6283 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6284 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6285 | .write = spi_chip_write_256, |
| 6286 | .read = spi_chip_read, |
| 6287 | }, |
| 6288 | |
| 6289 | { |
| 6290 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 6291 | .name = "W25Q64", |
| 6292 | .bustype = CHIP_BUSTYPE_SPI, |
| 6293 | .manufacture_id = WINBOND_NEX_ID, |
| 6294 | .model_id = W_25Q64, |
| 6295 | .total_size = 8192, |
| 6296 | .page_size = 256, |
| 6297 | .tested = TEST_OK_PRW, |
| 6298 | .probe = probe_spi_rdid, |
| 6299 | .probe_timing = TIMING_ZERO, |
| 6300 | .block_erasers = |
| 6301 | { |
| 6302 | { |
| 6303 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6304 | .block_erase = spi_block_erase_20, |
| 6305 | }, { |
| 6306 | .eraseblocks = { {32 * 1024, 256} }, |
| 6307 | .block_erase = spi_block_erase_52, |
| 6308 | }, { |
| 6309 | .eraseblocks = { {64 * 1024, 128} }, |
| 6310 | .block_erase = spi_block_erase_d8, |
| 6311 | }, { |
| 6312 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6313 | .block_erase = spi_block_erase_60, |
| 6314 | }, { |
| 6315 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6316 | .block_erase = spi_block_erase_c7, |
| 6317 | } |
| 6318 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6319 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 6320 | .write = spi_chip_write_256, |
| 6321 | .read = spi_chip_read, |
| 6322 | }, |
| 6323 | |
| 6324 | { |
| 6325 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6326 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6327 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6328 | .manufacture_id = WINBOND_NEX_ID, |
| 6329 | .model_id = W_25X10, |
| 6330 | .total_size = 128, |
| 6331 | .page_size = 256, |
| 6332 | .tested = TEST_UNTESTED, |
| 6333 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6334 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6335 | .block_erasers = |
| 6336 | { |
| 6337 | { |
| 6338 | .eraseblocks = { {4 * 1024, 32} }, |
| 6339 | .block_erase = spi_block_erase_20, |
| 6340 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6341 | .eraseblocks = { {64 * 1024, 2} }, |
| 6342 | .block_erase = spi_block_erase_d8, |
| 6343 | }, { |
| 6344 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6345 | .block_erase = spi_block_erase_c7, |
| 6346 | } |
| 6347 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6348 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6349 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6350 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6351 | }, |
| 6352 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6353 | { |
| 6354 | .vendor = "Winbond", |
| 6355 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6356 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6357 | .manufacture_id = WINBOND_NEX_ID, |
| 6358 | .model_id = W_25X20, |
| 6359 | .total_size = 256, |
| 6360 | .page_size = 256, |
| 6361 | .tested = TEST_UNTESTED, |
| 6362 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6363 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6364 | .block_erasers = |
| 6365 | { |
| 6366 | { |
| 6367 | .eraseblocks = { {4 * 1024, 64} }, |
| 6368 | .block_erase = spi_block_erase_20, |
| 6369 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6370 | .eraseblocks = { {64 * 1024, 4} }, |
| 6371 | .block_erase = spi_block_erase_d8, |
| 6372 | }, { |
| 6373 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6374 | .block_erase = spi_block_erase_c7, |
| 6375 | } |
| 6376 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6377 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6378 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6379 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6380 | }, |
| 6381 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6382 | { |
| 6383 | .vendor = "Winbond", |
| 6384 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6385 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6386 | .manufacture_id = WINBOND_NEX_ID, |
| 6387 | .model_id = W_25X40, |
| 6388 | .total_size = 512, |
| 6389 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6390 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6391 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6392 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6393 | .block_erasers = |
| 6394 | { |
| 6395 | { |
| 6396 | .eraseblocks = { {4 * 1024, 128} }, |
| 6397 | .block_erase = spi_block_erase_20, |
| 6398 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6399 | .eraseblocks = { {64 * 1024, 8} }, |
| 6400 | .block_erase = spi_block_erase_d8, |
| 6401 | }, { |
| 6402 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6403 | .block_erase = spi_block_erase_c7, |
| 6404 | } |
| 6405 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6406 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6407 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6408 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6409 | }, |
| 6410 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6411 | { |
| 6412 | .vendor = "Winbond", |
| 6413 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6414 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6415 | .manufacture_id = WINBOND_NEX_ID, |
| 6416 | .model_id = W_25X80, |
| 6417 | .total_size = 1024, |
| 6418 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6419 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6420 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6421 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6422 | .block_erasers = |
| 6423 | { |
| 6424 | { |
| 6425 | .eraseblocks = { {4 * 1024, 256} }, |
| 6426 | .block_erase = spi_block_erase_20, |
| 6427 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6428 | .eraseblocks = { {64 * 1024, 16} }, |
| 6429 | .block_erase = spi_block_erase_d8, |
| 6430 | }, { |
| 6431 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6432 | .block_erase = spi_block_erase_c7, |
| 6433 | } |
| 6434 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6435 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6436 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6437 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6438 | }, |
| 6439 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6440 | { |
| 6441 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 6442 | .name = "W25x16", |
| 6443 | .bustype = CHIP_BUSTYPE_SPI, |
| 6444 | .manufacture_id = WINBOND_NEX_ID, |
| 6445 | .model_id = W_25X16, |
| 6446 | .total_size = 2048, |
| 6447 | .page_size = 256, |
| 6448 | .tested = TEST_OK_PR, |
| 6449 | .probe = probe_spi_rdid, |
| 6450 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6451 | .block_erasers = |
| 6452 | { |
| 6453 | { |
| 6454 | .eraseblocks = { {4 * 1024, 512} }, |
| 6455 | .block_erase = spi_block_erase_20, |
| 6456 | }, { |
| 6457 | .eraseblocks = { {32 * 1024, 64} }, |
| 6458 | .block_erase = spi_block_erase_52, |
| 6459 | }, { |
| 6460 | .eraseblocks = { {64 * 1024, 32} }, |
| 6461 | .block_erase = spi_block_erase_d8, |
| 6462 | }, { |
| 6463 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6464 | .block_erase = spi_block_erase_60, |
| 6465 | }, { |
| 6466 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6467 | .block_erase = spi_block_erase_c7, |
| 6468 | } |
| 6469 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6470 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 6471 | .write = spi_chip_write_256, |
| 6472 | .read = spi_chip_read, |
| 6473 | }, |
| 6474 | |
| 6475 | { |
| 6476 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6477 | .name = "W25x32", |
| 6478 | .bustype = CHIP_BUSTYPE_SPI, |
| 6479 | .manufacture_id = WINBOND_NEX_ID, |
| 6480 | .model_id = W_25X32, |
| 6481 | .total_size = 4096, |
| 6482 | .page_size = 256, |
| 6483 | .tested = TEST_OK_PROBE, |
| 6484 | .probe = probe_spi_rdid, |
| 6485 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6486 | .block_erasers = |
| 6487 | { |
| 6488 | { |
| 6489 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6490 | .block_erase = spi_block_erase_20, |
| 6491 | }, { |
| 6492 | .eraseblocks = { {32 * 1024, 128} }, |
| 6493 | .block_erase = spi_block_erase_52, |
| 6494 | }, { |
| 6495 | .eraseblocks = { {64 * 1024, 64} }, |
| 6496 | .block_erase = spi_block_erase_d8, |
| 6497 | }, { |
| 6498 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6499 | .block_erase = spi_block_erase_60, |
| 6500 | }, { |
| 6501 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6502 | .block_erase = spi_block_erase_c7, |
| 6503 | } |
| 6504 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6505 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6506 | .write = spi_chip_write_256, |
| 6507 | .read = spi_chip_read, |
| 6508 | }, |
| 6509 | |
| 6510 | { |
| 6511 | .vendor = "Winbond", |
| 6512 | .name = "W25x64", |
| 6513 | .bustype = CHIP_BUSTYPE_SPI, |
| 6514 | .manufacture_id = WINBOND_NEX_ID, |
| 6515 | .model_id = W_25X64, |
| 6516 | .total_size = 8192, |
| 6517 | .page_size = 256, |
| 6518 | .tested = TEST_UNTESTED, |
| 6519 | .probe = probe_spi_rdid, |
| 6520 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6521 | .block_erasers = |
| 6522 | { |
| 6523 | { |
| 6524 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6525 | .block_erase = spi_block_erase_20, |
| 6526 | }, { |
| 6527 | .eraseblocks = { {32 * 1024, 256} }, |
| 6528 | .block_erase = spi_block_erase_52, |
| 6529 | }, { |
| 6530 | .eraseblocks = { {64 * 1024, 128} }, |
| 6531 | .block_erase = spi_block_erase_d8, |
| 6532 | }, { |
| 6533 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6534 | .block_erase = spi_block_erase_60, |
| 6535 | }, { |
| 6536 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6537 | .block_erase = spi_block_erase_c7, |
| 6538 | } |
| 6539 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6540 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6541 | .write = spi_chip_write_256, |
| 6542 | .read = spi_chip_read, |
| 6543 | }, |
| 6544 | |
| 6545 | { |
| 6546 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6547 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6548 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6549 | .manufacture_id = WINBOND_ID, |
| 6550 | .model_id = W_29C011, |
| 6551 | .total_size = 128, |
| 6552 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6553 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6554 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6555 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6556 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6557 | .block_erasers = |
| 6558 | { |
| 6559 | { |
| 6560 | .eraseblocks = { {128 * 1024, 1} }, |
| 6561 | .block_erase = erase_chip_block_jedec, |
| 6562 | } |
| 6563 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6564 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6565 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6566 | }, |
| 6567 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6568 | { |
| 6569 | .vendor = "Winbond", |
| 6570 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6571 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6572 | .manufacture_id = WINBOND_ID, |
| 6573 | .model_id = W_29C020C, |
| 6574 | .total_size = 256, |
| 6575 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6576 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6577 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6578 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6579 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6580 | .block_erasers = |
| 6581 | { |
| 6582 | { |
| 6583 | .eraseblocks = { {256 * 1024, 1} }, |
| 6584 | .block_erase = erase_chip_block_jedec, |
| 6585 | } |
| 6586 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6587 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6588 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6589 | }, |
| 6590 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6591 | { |
| 6592 | .vendor = "Winbond", |
| 6593 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6594 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6595 | .manufacture_id = WINBOND_ID, |
| 6596 | .model_id = W_29C040P, |
| 6597 | .total_size = 512, |
| 6598 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6599 | .feature_bits = FEATURE_LONG_RESET, |
| 6600 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6601 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6602 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6603 | .block_erasers = |
| 6604 | { |
| 6605 | { |
| 6606 | .eraseblocks = { {512 * 1024, 1} }, |
| 6607 | .block_erase = erase_chip_block_jedec, |
| 6608 | } |
| 6609 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6610 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6611 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6612 | }, |
| 6613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6614 | { |
| 6615 | .vendor = "Winbond", |
| 6616 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6617 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6618 | .manufacture_id = WINBOND_ID, |
| 6619 | .model_id = W_29C011, |
| 6620 | .total_size = 128, |
| 6621 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6622 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6623 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6624 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6625 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6626 | .block_erasers = |
| 6627 | { |
| 6628 | { |
| 6629 | .eraseblocks = { {128 * 1024, 1} }, |
| 6630 | .block_erase = erase_chip_block_jedec, |
| 6631 | } |
| 6632 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6633 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6634 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6635 | }, |
| 6636 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6637 | { |
| 6638 | .vendor = "Winbond", |
| 6639 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6640 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6641 | .manufacture_id = WINBOND_ID, |
| 6642 | .model_id = W_39V040A, |
| 6643 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6644 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6645 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 6646 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6647 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6648 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6649 | .block_erasers = |
| 6650 | { |
| 6651 | { |
| 6652 | .eraseblocks = { {64 * 1024, 8} }, |
| 6653 | .block_erase = erase_sector_jedec, |
| 6654 | }, { |
| 6655 | .eraseblocks = { {512 * 1024, 1} }, |
| 6656 | .block_erase = erase_chip_block_jedec, |
| 6657 | } |
| 6658 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6659 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6660 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6661 | }, |
| 6662 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6663 | { |
| 6664 | .vendor = "Winbond", |
| 6665 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6666 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6667 | .manufacture_id = WINBOND_ID, |
| 6668 | .model_id = W_39V040B, |
| 6669 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6670 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6671 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 6672 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6673 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6674 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6675 | .block_erasers = |
| 6676 | { |
| 6677 | { |
| 6678 | .eraseblocks = { {64 * 1024, 8} }, |
| 6679 | .block_erase = erase_sector_jedec, |
| 6680 | }, { |
| 6681 | .eraseblocks = { {512 * 1024, 1} }, |
| 6682 | .block_erase = erase_chip_block_jedec, |
| 6683 | } |
| 6684 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6685 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6686 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6687 | }, |
| 6688 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6689 | { |
| 6690 | .vendor = "Winbond", |
| 6691 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6692 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6693 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6694 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6695 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6696 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6697 | .feature_bits = FEATURE_EITHER_RESET, |
| 6698 | .tested = TEST_UNTESTED, |
| 6699 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6700 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6701 | .block_erasers = |
| 6702 | { |
| 6703 | { |
| 6704 | .eraseblocks = { {64 * 1024, 8} }, |
| 6705 | .block_erase = erase_sector_jedec, |
| 6706 | }, { |
| 6707 | .eraseblocks = { {512 * 1024, 1} }, |
| 6708 | .block_erase = erase_chip_block_jedec, |
| 6709 | } |
| 6710 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6711 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6712 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6713 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6714 | }, |
| 6715 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6716 | { |
| 6717 | .vendor = "Winbond", |
| 6718 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6719 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6720 | .manufacture_id = WINBOND_ID, |
| 6721 | .model_id = W_39V040FA, |
| 6722 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6723 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6724 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 6725 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6726 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6727 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6728 | .block_erasers = |
| 6729 | { |
| 6730 | { |
| 6731 | .eraseblocks = { {4 * 1024, 128} }, |
| 6732 | .block_erase = erase_block_jedec, |
| 6733 | }, { |
| 6734 | .eraseblocks = { {64 * 1024, 8} }, |
| 6735 | .block_erase = erase_sector_jedec, |
| 6736 | }, { |
| 6737 | .eraseblocks = { {512 * 1024, 1} }, |
| 6738 | .block_erase = erase_chip_block_jedec, |
| 6739 | } |
| 6740 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6741 | .printlock = printlock_sst_fwhub, |
| 6742 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6743 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6744 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6745 | }, |
| 6746 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6747 | { |
| 6748 | .vendor = "Winbond", |
| 6749 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6750 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6751 | .manufacture_id = WINBOND_ID, |
| 6752 | .model_id = W_39V080A, |
| 6753 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6754 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6755 | .feature_bits = FEATURE_EITHER_RESET, |
| 6756 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6757 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6758 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6759 | .block_erasers = |
| 6760 | { |
| 6761 | { |
| 6762 | .eraseblocks = { {64 * 1024, 16} }, |
| 6763 | .block_erase = erase_sector_jedec, |
| 6764 | }, { |
| 6765 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6766 | .block_erase = erase_chip_block_jedec, |
| 6767 | } |
| 6768 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6769 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6770 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6771 | }, |
| 6772 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6773 | { |
| 6774 | .vendor = "Winbond", |
| 6775 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6776 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6777 | .manufacture_id = WINBOND_ID, |
| 6778 | .model_id = W_49F002U, |
| 6779 | .total_size = 256, |
| 6780 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6781 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6782 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6783 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6784 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6785 | .block_erasers = |
| 6786 | { |
| 6787 | { |
| 6788 | .eraseblocks = { |
| 6789 | {128 * 1024, 1}, |
| 6790 | {96 * 1024, 1}, |
| 6791 | {8 * 1024, 2}, |
| 6792 | {16 * 1024, 1}, |
| 6793 | }, |
| 6794 | .block_erase = erase_sector_jedec, |
| 6795 | }, { |
| 6796 | .eraseblocks = { {256 * 1024, 1} }, |
| 6797 | .block_erase = erase_chip_block_jedec, |
| 6798 | } |
| 6799 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6800 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6801 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6802 | }, |
| 6803 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6804 | { |
| 6805 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 6806 | .name = "W49F020", |
| 6807 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6808 | .manufacture_id = WINBOND_ID, |
| 6809 | .model_id = W_49F020, |
| 6810 | .total_size = 256, |
| 6811 | .page_size = 128, |
| 6812 | .feature_bits = FEATURE_EITHER_RESET, |
| 6813 | .tested = TEST_OK_PROBE, |
| 6814 | .probe = probe_jedec, |
| 6815 | .probe_timing = 10, |
| 6816 | .block_erasers = |
| 6817 | { |
| 6818 | { |
| 6819 | .eraseblocks = { {256 * 1024, 1} }, |
| 6820 | .block_erase = erase_chip_block_jedec, |
| 6821 | } |
| 6822 | }, |
| 6823 | .write = write_jedec_1, |
| 6824 | .read = read_memmapped, |
| 6825 | }, |
| 6826 | |
| 6827 | { |
| 6828 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6829 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6830 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6831 | .manufacture_id = WINBOND_ID, |
| 6832 | .model_id = W_49V002A, |
| 6833 | .total_size = 256, |
| 6834 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6835 | .feature_bits = FEATURE_EITHER_RESET, |
| 6836 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6837 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6838 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6839 | .block_erasers = |
| 6840 | { |
| 6841 | { |
| 6842 | .eraseblocks = { |
| 6843 | {64 * 1024, 3}, |
| 6844 | {32 * 1024, 1}, |
| 6845 | {8 * 1024, 2}, |
| 6846 | {16 * 1024, 1}, |
| 6847 | }, |
| 6848 | .block_erase = erase_sector_jedec, |
| 6849 | }, { |
| 6850 | .eraseblocks = { {256 * 1024, 1} }, |
| 6851 | .block_erase = erase_chip_block_jedec, |
| 6852 | } |
| 6853 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6854 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6855 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6856 | }, |
| 6857 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6858 | { |
| 6859 | .vendor = "Winbond", |
| 6860 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6861 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6862 | .manufacture_id = WINBOND_ID, |
| 6863 | .model_id = W_49V002FA, |
| 6864 | .total_size = 256, |
| 6865 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6866 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 6867 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6868 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6869 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6870 | .block_erasers = |
| 6871 | { |
| 6872 | { |
| 6873 | .eraseblocks = { |
| 6874 | {64 * 1024, 3}, |
| 6875 | {32 * 1024, 1}, |
| 6876 | {8 * 1024, 2}, |
| 6877 | {16 * 1024, 1}, |
| 6878 | }, |
| 6879 | .block_erase = erase_sector_jedec, |
| 6880 | }, { |
| 6881 | .eraseblocks = { {256 * 1024, 1} }, |
| 6882 | .block_erase = erase_chip_block_jedec, |
| 6883 | } |
| 6884 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6885 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6886 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6887 | }, |
| 6888 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6889 | { |
| 6890 | .vendor = "Winbond", |
| 6891 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6892 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6893 | .manufacture_id = WINBOND_ID, |
| 6894 | .model_id = W_39V080FA, |
| 6895 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6896 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6897 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6898 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6899 | .probe = probe_jedec, |
| 6900 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6901 | .block_erasers = |
| 6902 | { |
| 6903 | { |
| 6904 | .eraseblocks = { {64 * 1024, 16}, }, |
| 6905 | .block_erase = erase_sector_jedec, |
| 6906 | }, { |
| 6907 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6908 | .block_erase = erase_chip_block_jedec, |
| 6909 | } |
| 6910 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6911 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6912 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6913 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6914 | }, |
| 6915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6916 | { |
| 6917 | .vendor = "Winbond", |
| 6918 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6919 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6920 | .manufacture_id = WINBOND_ID, |
| 6921 | .model_id = W_39V080FA_DM, |
| 6922 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6923 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6924 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6925 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6926 | .probe = probe_jedec, |
| 6927 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6928 | .block_erasers = |
| 6929 | { |
| 6930 | { |
| 6931 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6932 | .block_erase = erase_sector_jedec, |
| 6933 | }, { |
| 6934 | .eraseblocks = { {512 * 1024, 1} }, |
| 6935 | .block_erase = erase_chip_block_jedec, |
| 6936 | } |
| 6937 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6938 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6939 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6940 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6941 | }, |
| 6942 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6943 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame^] | 6944 | .vendor = "AMIC", |
| 6945 | .name = "unknown AMIC SPI chip", |
| 6946 | .bustype = CHIP_BUSTYPE_SPI, |
| 6947 | .manufacture_id = AMIC_ID, |
| 6948 | .model_id = GENERIC_DEVICE_ID, |
| 6949 | .total_size = 0, |
| 6950 | .page_size = 256, |
| 6951 | .tested = TEST_BAD_PREW, |
| 6952 | .probe = probe_spi_rdid4, |
| 6953 | .probe_timing = TIMING_ZERO, |
| 6954 | .write = NULL, |
| 6955 | .read = NULL, |
| 6956 | }, |
| 6957 | |
| 6958 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6959 | .vendor = "Atmel", |
| 6960 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6961 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6962 | .manufacture_id = ATMEL_ID, |
| 6963 | .model_id = GENERIC_DEVICE_ID, |
| 6964 | .total_size = 0, |
| 6965 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6966 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6967 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6968 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6969 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6970 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6971 | }, |
| 6972 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6973 | { |
| 6974 | .vendor = "EON", |
| 6975 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6976 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6977 | .manufacture_id = EON_ID_NOPREFIX, |
| 6978 | .model_id = GENERIC_DEVICE_ID, |
| 6979 | .total_size = 0, |
| 6980 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6981 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6982 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6983 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6984 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6985 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6986 | }, |
| 6987 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6988 | { |
| 6989 | .vendor = "Macronix", |
| 6990 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6991 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6992 | .manufacture_id = MX_ID, |
| 6993 | .model_id = GENERIC_DEVICE_ID, |
| 6994 | .total_size = 0, |
| 6995 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6996 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6997 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6998 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6999 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7000 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7001 | }, |
| 7002 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7003 | { |
| 7004 | .vendor = "PMC", |
| 7005 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7006 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7007 | .manufacture_id = PMC_ID, |
| 7008 | .model_id = GENERIC_DEVICE_ID, |
| 7009 | .total_size = 0, |
| 7010 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7011 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7012 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7013 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7014 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7015 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7016 | }, |
| 7017 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7018 | { |
| 7019 | .vendor = "SST", |
| 7020 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7021 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7022 | .manufacture_id = SST_ID, |
| 7023 | .model_id = GENERIC_DEVICE_ID, |
| 7024 | .total_size = 0, |
| 7025 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7026 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7027 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7028 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7029 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7030 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7031 | }, |
| 7032 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7033 | { |
| 7034 | .vendor = "ST", |
| 7035 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7036 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7037 | .manufacture_id = ST_ID, |
| 7038 | .model_id = GENERIC_DEVICE_ID, |
| 7039 | .total_size = 0, |
| 7040 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7041 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7042 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7043 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7044 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7045 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7046 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 7047 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7048 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7049 | .vendor = "Sanyo", |
| 7050 | .name = "unknown Sanyo SPI chip", |
| 7051 | .bustype = CHIP_BUSTYPE_SPI, |
| 7052 | .manufacture_id = SANYO_ID, |
| 7053 | .model_id = GENERIC_DEVICE_ID, |
| 7054 | .total_size = 0, |
| 7055 | .page_size = 256, |
| 7056 | .tested = TEST_BAD_PREW, |
| 7057 | .probe = probe_spi_rdid, |
| 7058 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7059 | .write = NULL, |
| 7060 | .read = NULL, |
| 7061 | }, |
| 7062 | |
| 7063 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7064 | .vendor = "Generic", |
| 7065 | .name = "unknown SPI chip (RDID)", |
| 7066 | .bustype = CHIP_BUSTYPE_SPI, |
| 7067 | .manufacture_id = GENERIC_MANUF_ID, |
| 7068 | .model_id = GENERIC_DEVICE_ID, |
| 7069 | .total_size = 0, |
| 7070 | .page_size = 256, |
| 7071 | .tested = TEST_BAD_PREW, |
| 7072 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7073 | .write = NULL, |
| 7074 | }, |
| 7075 | { |
| 7076 | .vendor = "Generic", |
| 7077 | .name = "unknown SPI chip (REMS)", |
| 7078 | .bustype = CHIP_BUSTYPE_SPI, |
| 7079 | .manufacture_id = GENERIC_MANUF_ID, |
| 7080 | .model_id = GENERIC_DEVICE_ID, |
| 7081 | .total_size = 0, |
| 7082 | .page_size = 256, |
| 7083 | .tested = TEST_BAD_PREW, |
| 7084 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7085 | .write = NULL, |
| 7086 | }, |
| 7087 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7088 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 7089 | }; |