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, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 68 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 234 | .tested = TEST_OK_PREW, |
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 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 278 | .vendor = "AMIC", |
| 279 | .name = "A25L05PT", |
| 280 | .bustype = CHIP_BUSTYPE_SPI, |
| 281 | .manufacture_id = AMIC_ID, |
| 282 | .model_id = AMIC_A25L05PT, |
| 283 | .total_size = 64, |
| 284 | .page_size = 256, |
| 285 | .tested = TEST_UNTESTED, |
| 286 | .probe = probe_spi_rdid4, |
| 287 | .probe_timing = TIMING_ZERO, |
| 288 | .block_erasers = |
| 289 | { |
| 290 | { |
| 291 | .eraseblocks = { |
| 292 | {32 * 1024, 1}, |
| 293 | {16 * 1024, 1}, |
| 294 | {8 * 1024, 1}, |
| 295 | {4 * 1024, 2}, |
| 296 | }, |
| 297 | .block_erase = spi_block_erase_d8, |
| 298 | }, { |
| 299 | .eraseblocks = { {64 * 1024, 1} }, |
| 300 | .block_erase = spi_block_erase_c7, |
| 301 | } |
| 302 | }, |
| 303 | .unlock = spi_disable_blockprotect, |
| 304 | .write = spi_chip_write_256, |
| 305 | .read = spi_chip_read, |
| 306 | }, |
| 307 | |
| 308 | { |
| 309 | .vendor = "AMIC", |
| 310 | .name = "A25L05PU", |
| 311 | .bustype = CHIP_BUSTYPE_SPI, |
| 312 | .manufacture_id = AMIC_ID, |
| 313 | .model_id = AMIC_A25L05PU, |
| 314 | .total_size = 64, |
| 315 | .page_size = 256, |
| 316 | .tested = TEST_UNTESTED, |
| 317 | .probe = probe_spi_rdid4, |
| 318 | .probe_timing = TIMING_ZERO, |
| 319 | .block_erasers = |
| 320 | { |
| 321 | { |
| 322 | .eraseblocks = { |
| 323 | {4 * 1024, 2}, |
| 324 | {8 * 1024, 1}, |
| 325 | {16 * 1024, 1}, |
| 326 | {32 * 1024, 1}, |
| 327 | }, |
| 328 | .block_erase = spi_block_erase_d8, |
| 329 | }, { |
| 330 | .eraseblocks = { {64 * 1024, 1} }, |
| 331 | .block_erase = spi_block_erase_c7, |
| 332 | } |
| 333 | }, |
| 334 | .unlock = spi_disable_blockprotect, |
| 335 | .write = spi_chip_write_256, |
| 336 | .read = spi_chip_read, |
| 337 | }, |
| 338 | |
| 339 | { |
| 340 | .vendor = "AMIC", |
| 341 | .name = "A25L10PT", |
| 342 | .bustype = CHIP_BUSTYPE_SPI, |
| 343 | .manufacture_id = AMIC_ID, |
| 344 | .model_id = AMIC_A25L10PT, |
| 345 | .total_size = 128, |
| 346 | .page_size = 256, |
| 347 | .tested = TEST_UNTESTED, |
| 348 | .probe = probe_spi_rdid4, |
| 349 | .probe_timing = TIMING_ZERO, |
| 350 | .block_erasers = |
| 351 | { |
| 352 | { |
| 353 | .eraseblocks = { |
| 354 | {64 * 1024, 1}, |
| 355 | {32 * 1024, 1}, |
| 356 | {16 * 1024, 1}, |
| 357 | {8 * 1024, 1}, |
| 358 | {4 * 1024, 2}, |
| 359 | }, |
| 360 | .block_erase = spi_block_erase_d8, |
| 361 | }, { |
| 362 | .eraseblocks = { {128 * 1024, 1} }, |
| 363 | .block_erase = spi_block_erase_c7, |
| 364 | } |
| 365 | }, |
| 366 | .unlock = spi_disable_blockprotect, |
| 367 | .write = spi_chip_write_256, |
| 368 | .read = spi_chip_read, |
| 369 | }, |
| 370 | |
| 371 | { |
| 372 | .vendor = "AMIC", |
| 373 | .name = "A25L10PU", |
| 374 | .bustype = CHIP_BUSTYPE_SPI, |
| 375 | .manufacture_id = AMIC_ID, |
| 376 | .model_id = AMIC_A25L10PU, |
| 377 | .total_size = 128, |
| 378 | .page_size = 256, |
| 379 | .tested = TEST_UNTESTED, |
| 380 | .probe = probe_spi_rdid4, |
| 381 | .probe_timing = TIMING_ZERO, |
| 382 | .block_erasers = |
| 383 | { |
| 384 | { |
| 385 | .eraseblocks = { |
| 386 | {4 * 1024, 2}, |
| 387 | {8 * 1024, 1}, |
| 388 | {16 * 1024, 1}, |
| 389 | {32 * 1024, 1}, |
| 390 | {64 * 1024, 1}, |
| 391 | }, |
| 392 | .block_erase = spi_block_erase_d8, |
| 393 | }, { |
| 394 | .eraseblocks = { {128 * 1024, 1} }, |
| 395 | .block_erase = spi_block_erase_c7, |
| 396 | } |
| 397 | }, |
| 398 | .unlock = spi_disable_blockprotect, |
| 399 | .write = spi_chip_write_256, |
| 400 | .read = spi_chip_read, |
| 401 | }, |
| 402 | |
| 403 | { |
| 404 | .vendor = "AMIC", |
| 405 | .name = "A25L20PT", |
| 406 | .bustype = CHIP_BUSTYPE_SPI, |
| 407 | .manufacture_id = AMIC_ID, |
| 408 | .model_id = AMIC_A25L20PT, |
| 409 | .total_size = 256, |
| 410 | .page_size = 256, |
| 411 | .tested = TEST_UNTESTED, |
| 412 | .probe = probe_spi_rdid4, |
| 413 | .probe_timing = TIMING_ZERO, |
| 414 | .block_erasers = |
| 415 | { |
| 416 | { |
| 417 | .eraseblocks = { |
| 418 | {64 * 1024, 3}, |
| 419 | {32 * 1024, 1}, |
| 420 | {16 * 1024, 1}, |
| 421 | {8 * 1024, 1}, |
| 422 | {4 * 1024, 2}, |
| 423 | }, |
| 424 | .block_erase = spi_block_erase_d8, |
| 425 | }, { |
| 426 | .eraseblocks = { {256 * 1024, 1} }, |
| 427 | .block_erase = spi_block_erase_c7, |
| 428 | } |
| 429 | }, |
| 430 | .unlock = spi_disable_blockprotect, |
| 431 | .write = spi_chip_write_256, |
| 432 | .read = spi_chip_read, |
| 433 | }, |
| 434 | |
| 435 | { |
| 436 | .vendor = "AMIC", |
| 437 | .name = "A25L20PU", |
| 438 | .bustype = CHIP_BUSTYPE_SPI, |
| 439 | .manufacture_id = AMIC_ID, |
| 440 | .model_id = AMIC_A25L20PU, |
| 441 | .total_size = 256, |
| 442 | .page_size = 256, |
| 443 | .tested = TEST_UNTESTED, |
| 444 | .probe = probe_spi_rdid4, |
| 445 | .probe_timing = TIMING_ZERO, |
| 446 | .block_erasers = |
| 447 | { |
| 448 | { |
| 449 | .eraseblocks = { |
| 450 | {4 * 1024, 2}, |
| 451 | {8 * 1024, 1}, |
| 452 | {16 * 1024, 1}, |
| 453 | {32 * 1024, 1}, |
| 454 | {64 * 1024, 3}, |
| 455 | }, |
| 456 | .block_erase = spi_block_erase_d8, |
| 457 | }, { |
| 458 | .eraseblocks = { {256 * 1024, 1} }, |
| 459 | .block_erase = spi_block_erase_c7, |
| 460 | } |
| 461 | }, |
| 462 | .unlock = spi_disable_blockprotect, |
| 463 | .write = spi_chip_write_256, |
| 464 | .read = spi_chip_read, |
| 465 | }, |
| 466 | |
| 467 | /* The A25L40P{T,U} chips are distinguished by their |
| 468 | * erase block layouts, but without any distinction in RDID. |
| 469 | * This inexplicable quirk was verified by Rudolf Marek |
| 470 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 471 | */ |
| 472 | { |
| 473 | .vendor = "AMIC", |
| 474 | .name = "A25L40PT", |
| 475 | .bustype = CHIP_BUSTYPE_SPI, |
| 476 | .manufacture_id = AMIC_ID, |
| 477 | .model_id = AMIC_A25L40PT, |
| 478 | .total_size = 512, |
| 479 | .page_size = 256, |
| 480 | .tested = TEST_OK_PRW, |
| 481 | .probe = probe_spi_rdid4, |
| 482 | .probe_timing = TIMING_ZERO, |
| 483 | .block_erasers = |
| 484 | { |
| 485 | { |
| 486 | .eraseblocks = { |
| 487 | {64 * 1024, 7}, |
| 488 | {32 * 1024, 1}, |
| 489 | {16 * 1024, 1}, |
| 490 | {8 * 1024, 1}, |
| 491 | {4 * 1024, 2}, |
| 492 | }, |
| 493 | .block_erase = spi_block_erase_d8, |
| 494 | }, { |
| 495 | .eraseblocks = { {512 * 1024, 1} }, |
| 496 | .block_erase = spi_block_erase_c7, |
| 497 | } |
| 498 | }, |
| 499 | .unlock = spi_disable_blockprotect, |
| 500 | .write = spi_chip_write_256, |
| 501 | .read = spi_chip_read, |
| 502 | }, |
| 503 | |
| 504 | { |
| 505 | .vendor = "AMIC", |
| 506 | .name = "A25L40PU", |
| 507 | .bustype = CHIP_BUSTYPE_SPI, |
| 508 | .manufacture_id = AMIC_ID, |
| 509 | .model_id = AMIC_A25L40PU, |
| 510 | .total_size = 512, |
| 511 | .page_size = 256, |
| 512 | .tested = TEST_OK_PRW, |
| 513 | .probe = probe_spi_rdid4, |
| 514 | .probe_timing = TIMING_ZERO, |
| 515 | .block_erasers = |
| 516 | { |
| 517 | { |
| 518 | .eraseblocks = { |
| 519 | {4 * 1024, 2}, |
| 520 | {8 * 1024, 1}, |
| 521 | {16 * 1024, 1}, |
| 522 | {32 * 1024, 1}, |
| 523 | {64 * 1024, 7}, |
| 524 | }, |
| 525 | .block_erase = spi_block_erase_d8, |
| 526 | }, { |
| 527 | .eraseblocks = { {512 * 1024, 1} }, |
| 528 | .block_erase = spi_block_erase_c7, |
| 529 | } |
| 530 | }, |
| 531 | .unlock = spi_disable_blockprotect, |
| 532 | .write = spi_chip_write_256, |
| 533 | .read = spi_chip_read, |
| 534 | }, |
| 535 | |
| 536 | { |
| 537 | .vendor = "AMIC", |
| 538 | .name = "A25L80P", |
| 539 | .bustype = CHIP_BUSTYPE_SPI, |
| 540 | .manufacture_id = AMIC_ID, |
| 541 | .model_id = AMIC_A25L80P, |
| 542 | .total_size = 1024, |
| 543 | .page_size = 256, |
| 544 | .tested = TEST_OK_PREW, |
| 545 | .probe = probe_spi_rdid4, |
| 546 | .probe_timing = TIMING_ZERO, |
| 547 | .block_erasers = |
| 548 | { |
| 549 | { |
| 550 | .eraseblocks = { |
| 551 | {4 * 1024, 2}, |
| 552 | {8 * 1024, 1}, |
| 553 | {16 * 1024, 1}, |
| 554 | {32 * 1024, 1}, |
| 555 | {64 * 1024, 15}, |
| 556 | }, |
| 557 | .block_erase = spi_block_erase_d8, |
| 558 | }, { |
| 559 | .eraseblocks = { {1024 * 1024, 1} }, |
| 560 | .block_erase = spi_block_erase_c7, |
| 561 | } |
| 562 | }, |
| 563 | .unlock = spi_disable_blockprotect, |
| 564 | .write = spi_chip_write_256, |
| 565 | .read = spi_chip_read, |
| 566 | }, |
| 567 | |
| 568 | { |
| 569 | .vendor = "AMIC", |
| 570 | .name = "A25L16PT", |
| 571 | .bustype = CHIP_BUSTYPE_SPI, |
| 572 | .manufacture_id = AMIC_ID, |
| 573 | .model_id = AMIC_A25L16PT, |
| 574 | .total_size = 2048, |
| 575 | .page_size = 256, |
| 576 | .tested = TEST_UNTESTED, |
| 577 | .probe = probe_spi_rdid4, |
| 578 | .probe_timing = TIMING_ZERO, |
| 579 | .block_erasers = |
| 580 | { |
| 581 | { |
| 582 | .eraseblocks = { |
| 583 | {64 * 1024, 31}, |
| 584 | {32 * 1024, 1}, |
| 585 | {16 * 1024, 1}, |
| 586 | {8 * 1024, 1}, |
| 587 | {4 * 1024, 2}, |
| 588 | }, |
| 589 | .block_erase = spi_block_erase_d8, |
| 590 | }, { |
| 591 | .eraseblocks = { {2048 * 1024, 1} }, |
| 592 | .block_erase = spi_block_erase_60, |
| 593 | }, { |
| 594 | .eraseblocks = { {2048 * 1024, 1} }, |
| 595 | .block_erase = spi_block_erase_c7, |
| 596 | } |
| 597 | }, |
| 598 | .unlock = spi_disable_blockprotect, |
| 599 | .write = spi_chip_write_256, |
| 600 | .read = spi_chip_read, |
| 601 | }, |
| 602 | |
| 603 | { |
| 604 | .vendor = "AMIC", |
| 605 | .name = "A25L16PU", |
| 606 | .bustype = CHIP_BUSTYPE_SPI, |
| 607 | .manufacture_id = AMIC_ID, |
| 608 | .model_id = AMIC_A25L16PU, |
| 609 | .total_size = 2048, |
| 610 | .page_size = 256, |
| 611 | .tested = TEST_OK_PRW, |
| 612 | .probe = probe_spi_rdid4, |
| 613 | .probe_timing = TIMING_ZERO, |
| 614 | .block_erasers = |
| 615 | { |
| 616 | { |
| 617 | .eraseblocks = { |
| 618 | {4 * 1024, 2}, |
| 619 | {8 * 1024, 1}, |
| 620 | {16 * 1024, 1}, |
| 621 | {32 * 1024, 1}, |
| 622 | {64 * 1024, 31}, |
| 623 | }, |
| 624 | .block_erase = spi_block_erase_d8, |
| 625 | }, { |
| 626 | .eraseblocks = { {2048 * 1024, 1} }, |
| 627 | .block_erase = spi_block_erase_60, |
| 628 | }, { |
| 629 | .eraseblocks = { {2048 * 1024, 1} }, |
| 630 | .block_erase = spi_block_erase_c7, |
| 631 | } |
| 632 | }, |
| 633 | .unlock = spi_disable_blockprotect, |
| 634 | .write = spi_chip_write_256, |
| 635 | .read = spi_chip_read, |
| 636 | }, |
| 637 | |
| 638 | { |
| 639 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 640 | .name = "A25L512", |
| 641 | .bustype = CHIP_BUSTYPE_SPI, |
| 642 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 643 | .model_id = AMIC_A25L512, |
| 644 | .total_size = 64, |
| 645 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 646 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 647 | .tested = TEST_UNTESTED, |
| 648 | .probe = probe_spi_rdid, |
| 649 | .probe_timing = TIMING_ZERO, |
| 650 | .block_erasers = |
| 651 | { |
| 652 | { |
| 653 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 654 | .block_erase = spi_block_erase_20, |
| 655 | }, { |
| 656 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 657 | .block_erase = spi_block_erase_d8, |
| 658 | }, { |
| 659 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 660 | .block_erase = spi_block_erase_c7, |
| 661 | } |
| 662 | }, |
| 663 | .unlock = spi_disable_blockprotect, |
| 664 | .write = spi_chip_write_256, |
| 665 | .read = spi_chip_read, |
| 666 | }, |
| 667 | |
| 668 | { |
| 669 | .vendor = "AMIC", |
| 670 | .name = "A25L010", |
| 671 | .bustype = CHIP_BUSTYPE_SPI, |
| 672 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 673 | .model_id = AMIC_A25L010, |
| 674 | .total_size = 128, |
| 675 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 676 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 677 | .tested = TEST_UNTESTED, |
| 678 | .probe = probe_spi_rdid, |
| 679 | .probe_timing = TIMING_ZERO, |
| 680 | .block_erasers = |
| 681 | { |
| 682 | { |
| 683 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 684 | .block_erase = spi_block_erase_20, |
| 685 | }, { |
| 686 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 687 | .block_erase = spi_block_erase_d8, |
| 688 | }, { |
| 689 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 690 | .block_erase = spi_block_erase_c7, |
| 691 | } |
| 692 | }, |
| 693 | .unlock = spi_disable_blockprotect, |
| 694 | .write = spi_chip_write_256, |
| 695 | .read = spi_chip_read, |
| 696 | }, |
| 697 | |
| 698 | { |
| 699 | .vendor = "AMIC", |
| 700 | .name = "A25L020", |
| 701 | .bustype = CHIP_BUSTYPE_SPI, |
| 702 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 703 | .model_id = AMIC_A25L020, |
| 704 | .total_size = 256, |
| 705 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 706 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 707 | .tested = TEST_UNTESTED, |
| 708 | .probe = probe_spi_rdid, |
| 709 | .probe_timing = TIMING_ZERO, |
| 710 | .block_erasers = |
| 711 | { |
| 712 | { |
| 713 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 714 | .block_erase = spi_block_erase_20, |
| 715 | }, { |
| 716 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 717 | .block_erase = spi_block_erase_d8, |
| 718 | }, { |
| 719 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 720 | .block_erase = spi_block_erase_c7, |
| 721 | } |
| 722 | }, |
| 723 | .unlock = spi_disable_blockprotect, |
| 724 | .write = spi_chip_write_256, |
| 725 | .read = spi_chip_read, |
| 726 | }, |
| 727 | |
| 728 | { |
| 729 | .vendor = "AMIC", |
| 730 | .name = "A25L040", |
| 731 | .bustype = CHIP_BUSTYPE_SPI, |
| 732 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 733 | .model_id = AMIC_A25L040, |
| 734 | .total_size = 512, |
| 735 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 736 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 737 | .tested = TEST_UNTESTED, |
| 738 | .probe = probe_spi_rdid, |
| 739 | .probe_timing = TIMING_ZERO, |
| 740 | .block_erasers = |
| 741 | { |
| 742 | { |
| 743 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 744 | .block_erase = spi_block_erase_20, |
| 745 | }, { |
| 746 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 747 | .block_erase = spi_block_erase_d8, |
| 748 | }, { |
| 749 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 750 | .block_erase = spi_block_erase_c7, |
| 751 | } |
| 752 | }, |
| 753 | .unlock = spi_disable_blockprotect, |
| 754 | .write = spi_chip_write_256, |
| 755 | .read = spi_chip_read, |
| 756 | }, |
| 757 | |
| 758 | { |
| 759 | .vendor = "AMIC", |
| 760 | .name = "A25L080", |
| 761 | .bustype = CHIP_BUSTYPE_SPI, |
| 762 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 763 | .model_id = AMIC_A25L080, |
| 764 | .total_size = 1024, |
| 765 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 766 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 767 | .tested = TEST_UNTESTED, |
| 768 | .probe = probe_spi_rdid, |
| 769 | .probe_timing = TIMING_ZERO, |
| 770 | .block_erasers = |
| 771 | { |
| 772 | { |
| 773 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 774 | .block_erase = spi_block_erase_20, |
| 775 | }, { |
| 776 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 777 | .block_erase = spi_block_erase_d8, |
| 778 | }, { |
| 779 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 780 | .block_erase = spi_block_erase_c7, |
| 781 | } |
| 782 | }, |
| 783 | .unlock = spi_disable_blockprotect, |
| 784 | .write = spi_chip_write_256, |
| 785 | .read = spi_chip_read, |
| 786 | }, |
| 787 | |
| 788 | { |
| 789 | .vendor = "AMIC", |
| 790 | .name = "A25L016", |
| 791 | .bustype = CHIP_BUSTYPE_SPI, |
| 792 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 793 | .model_id = AMIC_A25L016, |
| 794 | .total_size = 2048, |
| 795 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 796 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 797 | .tested = TEST_UNTESTED, |
| 798 | .probe = probe_spi_rdid, |
| 799 | .probe_timing = TIMING_ZERO, |
| 800 | .block_erasers = |
| 801 | { |
| 802 | { |
| 803 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 804 | .block_erase = spi_block_erase_20, |
| 805 | }, { |
| 806 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 807 | .block_erase = spi_block_erase_d8, |
| 808 | }, { |
| 809 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 810 | .block_erase = spi_block_erase_c7, |
| 811 | } |
| 812 | }, |
| 813 | .unlock = spi_disable_blockprotect, |
| 814 | .write = spi_chip_write_256, |
| 815 | .read = spi_chip_read, |
| 816 | }, |
| 817 | |
| 818 | { |
| 819 | .vendor = "AMIC", |
| 820 | .name = "A25L032", |
| 821 | .bustype = CHIP_BUSTYPE_SPI, |
| 822 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 823 | .model_id = AMIC_A25L032, |
| 824 | .total_size = 4096, |
| 825 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 826 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 827 | .tested = TEST_UNTESTED, |
| 828 | .probe = probe_spi_rdid, |
| 829 | .probe_timing = TIMING_ZERO, |
| 830 | .block_erasers = |
| 831 | { |
| 832 | { |
| 833 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 834 | .block_erase = spi_block_erase_20, |
| 835 | }, { |
| 836 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 837 | .block_erase = spi_block_erase_52, |
| 838 | }, { |
| 839 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 840 | .block_erase = spi_block_erase_d8, |
| 841 | }, { |
| 842 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 843 | .block_erase = spi_block_erase_60, |
| 844 | }, { |
| 845 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 846 | .block_erase = spi_block_erase_c7, |
| 847 | } |
| 848 | }, |
| 849 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 850 | .write = spi_chip_write_256, |
| 851 | .read = spi_chip_read, |
| 852 | }, |
| 853 | |
| 854 | { |
| 855 | .vendor = "AMIC", |
| 856 | .name = "A25LQ032", |
| 857 | .bustype = CHIP_BUSTYPE_SPI, |
| 858 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 859 | .model_id = AMIC_A25LQ032, |
| 860 | .total_size = 4096, |
| 861 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 862 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 863 | .tested = TEST_UNTESTED, |
| 864 | .probe = probe_spi_rdid, |
| 865 | .probe_timing = TIMING_ZERO, |
| 866 | .block_erasers = |
| 867 | { |
| 868 | { |
| 869 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 870 | .block_erase = spi_block_erase_20, |
| 871 | }, { |
| 872 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 873 | .block_erase = spi_block_erase_52, |
| 874 | }, { |
| 875 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 876 | .block_erase = spi_block_erase_d8, |
| 877 | }, { |
| 878 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 879 | .block_erase = spi_block_erase_60, |
| 880 | }, { |
| 881 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 882 | .block_erase = spi_block_erase_c7, |
| 883 | } |
| 884 | }, |
| 885 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 886 | .write = spi_chip_write_256, |
| 887 | .read = spi_chip_read, |
| 888 | }, |
| 889 | |
| 890 | { |
| 891 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 892 | .name = "A29002B", |
| 893 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 894 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 895 | .model_id = AMIC_A29002B, |
| 896 | .total_size = 256, |
| 897 | .page_size = 64 * 1024, |
| 898 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 899 | .tested = TEST_UNTESTED, |
| 900 | .probe = probe_jedec, |
| 901 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 902 | .block_erasers = |
| 903 | { |
| 904 | { |
| 905 | .eraseblocks = { |
| 906 | {16 * 1024, 1}, |
| 907 | {8 * 1024, 2}, |
| 908 | {32 * 1024, 1}, |
| 909 | {64 * 1024, 3}, |
| 910 | }, |
| 911 | .block_erase = erase_sector_jedec, |
| 912 | }, { |
| 913 | .eraseblocks = { {256 * 1024, 1} }, |
| 914 | .block_erase = erase_chip_block_jedec, |
| 915 | }, |
| 916 | }, |
| 917 | .write = write_jedec_1, |
| 918 | .read = read_memmapped, |
| 919 | }, |
| 920 | |
| 921 | { |
| 922 | .vendor = "AMIC", |
| 923 | .name = "A29002T", |
| 924 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 925 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 926 | .model_id = AMIC_A29002T, |
| 927 | .total_size = 256, |
| 928 | .page_size = 64 * 1024, |
| 929 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 930 | .tested = TEST_OK_PRW, |
| 931 | .probe = probe_jedec, |
| 932 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 933 | .block_erasers = |
| 934 | { |
| 935 | { |
| 936 | .eraseblocks = { |
| 937 | {64 * 1024, 3}, |
| 938 | {32 * 1024, 1}, |
| 939 | {8 * 1024, 2}, |
| 940 | {16 * 1024, 1}, |
| 941 | }, |
| 942 | .block_erase = erase_sector_jedec, |
| 943 | }, { |
| 944 | .eraseblocks = { {256 * 1024, 1} }, |
| 945 | .block_erase = erase_chip_block_jedec, |
| 946 | }, |
| 947 | }, |
| 948 | .write = write_jedec_1, |
| 949 | .read = read_memmapped, |
| 950 | }, |
| 951 | |
| 952 | { |
| 953 | .vendor = "AMIC", |
| 954 | .name = "A29040B", |
| 955 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 956 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 957 | .model_id = AMIC_A29040B, |
| 958 | .total_size = 512, |
| 959 | .page_size = 64 * 1024, |
| 960 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 961 | .tested = TEST_UNTESTED, |
| 962 | .probe = probe_jedec, |
| 963 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
| 964 | .block_erasers = |
| 965 | { |
| 966 | { |
| 967 | .eraseblocks = { {64 * 1024, 8} }, |
| 968 | .block_erase = erase_sector_jedec, |
| 969 | }, { |
| 970 | .eraseblocks = { {512 * 1024, 1} }, |
| 971 | .block_erase = erase_chip_block_jedec, |
| 972 | }, |
| 973 | }, |
| 974 | .write = write_jedec_1, |
| 975 | .read = read_memmapped, |
| 976 | }, |
| 977 | |
| 978 | { |
| 979 | .vendor = "AMIC", |
| 980 | .name = "A49LF040A", |
| 981 | .bustype = CHIP_BUSTYPE_LPC, |
| 982 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 983 | .model_id = AMIC_A49LF040A, |
| 984 | .total_size = 512, |
| 985 | .page_size = 64 * 1024, |
| 986 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 987 | .tested = TEST_OK_PREW, |
| 988 | .probe = probe_jedec, |
| 989 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 990 | .block_erasers = |
| 991 | { |
| 992 | { |
| 993 | .eraseblocks = { {64 * 1024, 8} }, |
| 994 | .block_erase = erase_block_jedec, |
| 995 | }, { |
| 996 | .eraseblocks = { {512 * 1024, 1} }, |
| 997 | .block_erase = erase_chip_block_jedec, |
| 998 | } |
| 999 | }, |
| 1000 | .unlock = unlock_49fl00x, |
| 1001 | .write = write_jedec_1, |
| 1002 | .read = read_memmapped, |
| 1003 | }, |
| 1004 | |
| 1005 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1006 | .vendor = "ASD", |
| 1007 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1008 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1009 | .manufacture_id = ASD_ID, |
| 1010 | .model_id = ASD_AE49F2008, |
| 1011 | .total_size = 256, |
| 1012 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1013 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1014 | .tested = TEST_UNTESTED, |
| 1015 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1016 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1017 | .block_erasers = |
| 1018 | { |
| 1019 | { |
| 1020 | .eraseblocks = { |
| 1021 | {128 * 1024, 1}, |
| 1022 | {96 * 1024, 1}, |
| 1023 | {8 * 1024, 2}, |
| 1024 | {16 * 1024, 1}, |
| 1025 | }, |
| 1026 | .block_erase = erase_sector_jedec, |
| 1027 | }, { |
| 1028 | .eraseblocks = { {256 * 1024, 1} }, |
| 1029 | .block_erase = erase_chip_block_jedec, |
| 1030 | } |
| 1031 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1032 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1033 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1034 | }, |
| 1035 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1036 | { |
| 1037 | .vendor = "Atmel", |
| 1038 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1039 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1040 | .manufacture_id = ATMEL_ID, |
| 1041 | .model_id = AT_25DF021, |
| 1042 | .total_size = 256, |
| 1043 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1044 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1045 | .tested = TEST_UNTESTED, |
| 1046 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1047 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1048 | .block_erasers = |
| 1049 | { |
| 1050 | { |
| 1051 | .eraseblocks = { {4 * 1024, 64} }, |
| 1052 | .block_erase = spi_block_erase_20, |
| 1053 | }, { |
| 1054 | .eraseblocks = { {32 * 1024, 8} }, |
| 1055 | .block_erase = spi_block_erase_52, |
| 1056 | }, { |
| 1057 | .eraseblocks = { {64 * 1024, 4} }, |
| 1058 | .block_erase = spi_block_erase_d8, |
| 1059 | }, { |
| 1060 | .eraseblocks = { {256 * 1024, 1} }, |
| 1061 | .block_erase = spi_block_erase_60, |
| 1062 | }, { |
| 1063 | .eraseblocks = { {256 * 1024, 1} }, |
| 1064 | .block_erase = spi_block_erase_c7, |
| 1065 | } |
| 1066 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1067 | .printlock = spi_prettyprint_status_register_at25df, |
| 1068 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1069 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1070 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1071 | }, |
| 1072 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1073 | { |
| 1074 | .vendor = "Atmel", |
| 1075 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1076 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1077 | .manufacture_id = ATMEL_ID, |
| 1078 | .model_id = AT_25DF041A, |
| 1079 | .total_size = 512, |
| 1080 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1081 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1082 | .tested = TEST_UNTESTED, |
| 1083 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1084 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1085 | .block_erasers = |
| 1086 | { |
| 1087 | { |
| 1088 | .eraseblocks = { {4 * 1024, 128} }, |
| 1089 | .block_erase = spi_block_erase_20, |
| 1090 | }, { |
| 1091 | .eraseblocks = { {32 * 1024, 16} }, |
| 1092 | .block_erase = spi_block_erase_52, |
| 1093 | }, { |
| 1094 | .eraseblocks = { {64 * 1024, 8} }, |
| 1095 | .block_erase = spi_block_erase_d8, |
| 1096 | }, { |
| 1097 | .eraseblocks = { {512 * 1024, 1} }, |
| 1098 | .block_erase = spi_block_erase_60, |
| 1099 | }, { |
| 1100 | .eraseblocks = { {512 * 1024, 1} }, |
| 1101 | .block_erase = spi_block_erase_c7, |
| 1102 | } |
| 1103 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1104 | .printlock = spi_prettyprint_status_register_at25df, |
| 1105 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1106 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1107 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1108 | }, |
| 1109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1110 | { |
| 1111 | .vendor = "Atmel", |
| 1112 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1113 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1114 | .manufacture_id = ATMEL_ID, |
| 1115 | .model_id = AT_25DF081, |
| 1116 | .total_size = 1024, |
| 1117 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1118 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1119 | .tested = TEST_UNTESTED, |
| 1120 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1121 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1122 | .block_erasers = |
| 1123 | { |
| 1124 | { |
| 1125 | .eraseblocks = { {4 * 1024, 256} }, |
| 1126 | .block_erase = spi_block_erase_20, |
| 1127 | }, { |
| 1128 | .eraseblocks = { {32 * 1024, 32} }, |
| 1129 | .block_erase = spi_block_erase_52, |
| 1130 | }, { |
| 1131 | .eraseblocks = { {64 * 1024, 16} }, |
| 1132 | .block_erase = spi_block_erase_d8, |
| 1133 | }, { |
| 1134 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1135 | .block_erase = spi_block_erase_60, |
| 1136 | }, { |
| 1137 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1138 | .block_erase = spi_block_erase_c7, |
| 1139 | } |
| 1140 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1141 | .printlock = spi_prettyprint_status_register_at25df, |
| 1142 | .unlock = spi_disable_blockprotect_at25df, |
| 1143 | .write = spi_chip_write_256, |
| 1144 | .read = spi_chip_read, |
| 1145 | }, |
| 1146 | |
| 1147 | { |
| 1148 | .vendor = "Atmel", |
| 1149 | .name = "AT25DF081A", |
| 1150 | .bustype = CHIP_BUSTYPE_SPI, |
| 1151 | .manufacture_id = ATMEL_ID, |
| 1152 | .model_id = AT_25DF081A, |
| 1153 | .total_size = 1024, |
| 1154 | .page_size = 256, |
| 1155 | .feature_bits = FEATURE_WRSR_WREN, |
| 1156 | .tested = TEST_UNTESTED, |
| 1157 | .probe = probe_spi_rdid, |
| 1158 | .probe_timing = TIMING_ZERO, |
| 1159 | .block_erasers = |
| 1160 | { |
| 1161 | { |
| 1162 | .eraseblocks = { {4 * 1024, 256} }, |
| 1163 | .block_erase = spi_block_erase_20, |
| 1164 | }, { |
| 1165 | .eraseblocks = { {32 * 1024, 32} }, |
| 1166 | .block_erase = spi_block_erase_52, |
| 1167 | }, { |
| 1168 | .eraseblocks = { {64 * 1024, 16} }, |
| 1169 | .block_erase = spi_block_erase_d8, |
| 1170 | }, { |
| 1171 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1172 | .block_erase = spi_block_erase_60, |
| 1173 | }, { |
| 1174 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1175 | .block_erase = spi_block_erase_c7, |
| 1176 | } |
| 1177 | }, |
| 1178 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1179 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1180 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1181 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1182 | }, |
| 1183 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1184 | { |
| 1185 | .vendor = "Atmel", |
| 1186 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1187 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1188 | .manufacture_id = ATMEL_ID, |
| 1189 | .model_id = AT_25DF161, |
| 1190 | .total_size = 2048, |
| 1191 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1192 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1193 | .tested = TEST_UNTESTED, |
| 1194 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1195 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1196 | .block_erasers = |
| 1197 | { |
| 1198 | { |
| 1199 | .eraseblocks = { {4 * 1024, 512} }, |
| 1200 | .block_erase = spi_block_erase_20, |
| 1201 | }, { |
| 1202 | .eraseblocks = { {32 * 1024, 64} }, |
| 1203 | .block_erase = spi_block_erase_52, |
| 1204 | }, { |
| 1205 | .eraseblocks = { {64 * 1024, 32} }, |
| 1206 | .block_erase = spi_block_erase_d8, |
| 1207 | }, { |
| 1208 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1209 | .block_erase = spi_block_erase_60, |
| 1210 | }, { |
| 1211 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1212 | .block_erase = spi_block_erase_c7, |
| 1213 | } |
| 1214 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1215 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1216 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1217 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1218 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1219 | }, |
| 1220 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1221 | { |
| 1222 | .vendor = "Atmel", |
| 1223 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1224 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1225 | .manufacture_id = ATMEL_ID, |
| 1226 | .model_id = AT_25DF321, |
| 1227 | .total_size = 4096, |
| 1228 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1229 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 1230 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1231 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1232 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1233 | .block_erasers = |
| 1234 | { |
| 1235 | { |
| 1236 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1237 | .block_erase = spi_block_erase_20, |
| 1238 | }, { |
| 1239 | .eraseblocks = { {32 * 1024, 128} }, |
| 1240 | .block_erase = spi_block_erase_52, |
| 1241 | }, { |
| 1242 | .eraseblocks = { {64 * 1024, 64} }, |
| 1243 | .block_erase = spi_block_erase_d8, |
| 1244 | }, { |
| 1245 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1246 | .block_erase = spi_block_erase_60, |
| 1247 | }, { |
| 1248 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1249 | .block_erase = spi_block_erase_c7, |
| 1250 | } |
| 1251 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1252 | .printlock = spi_prettyprint_status_register_at25df, |
| 1253 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1254 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1255 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1256 | }, |
| 1257 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1258 | { |
| 1259 | .vendor = "Atmel", |
| 1260 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1261 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1262 | .manufacture_id = ATMEL_ID, |
| 1263 | .model_id = AT_25DF321A, |
| 1264 | .total_size = 4096, |
| 1265 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1266 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1267 | .tested = TEST_UNTESTED, |
| 1268 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1269 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1270 | .block_erasers = |
| 1271 | { |
| 1272 | { |
| 1273 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1274 | .block_erase = spi_block_erase_20, |
| 1275 | }, { |
| 1276 | .eraseblocks = { {32 * 1024, 128} }, |
| 1277 | .block_erase = spi_block_erase_52, |
| 1278 | }, { |
| 1279 | .eraseblocks = { {64 * 1024, 64} }, |
| 1280 | .block_erase = spi_block_erase_d8, |
| 1281 | }, { |
| 1282 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1283 | .block_erase = spi_block_erase_60, |
| 1284 | }, { |
| 1285 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1286 | .block_erase = spi_block_erase_c7, |
| 1287 | } |
| 1288 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1289 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1290 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1291 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1292 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1293 | }, |
| 1294 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1295 | { |
| 1296 | .vendor = "Atmel", |
| 1297 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1298 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1299 | .manufacture_id = ATMEL_ID, |
| 1300 | .model_id = AT_25DF641, |
| 1301 | .total_size = 8192, |
| 1302 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1303 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1304 | .tested = TEST_UNTESTED, |
| 1305 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1306 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1307 | .block_erasers = |
| 1308 | { |
| 1309 | { |
| 1310 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1311 | .block_erase = spi_block_erase_20, |
| 1312 | }, { |
| 1313 | .eraseblocks = { {32 * 1024, 256} }, |
| 1314 | .block_erase = spi_block_erase_52, |
| 1315 | }, { |
| 1316 | .eraseblocks = { {64 * 1024, 128} }, |
| 1317 | .block_erase = spi_block_erase_d8, |
| 1318 | }, { |
| 1319 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1320 | .block_erase = spi_block_erase_60, |
| 1321 | }, { |
| 1322 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1323 | .block_erase = spi_block_erase_c7, |
| 1324 | } |
| 1325 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1326 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1327 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1328 | .write = spi_chip_write_256, |
| 1329 | .read = spi_chip_read, |
| 1330 | }, |
| 1331 | |
| 1332 | { |
| 1333 | .vendor = "Atmel", |
| 1334 | .name = "AT25DQ161", |
| 1335 | .bustype = CHIP_BUSTYPE_SPI, |
| 1336 | .manufacture_id = ATMEL_ID, |
| 1337 | .model_id = AT_25DQ161, |
| 1338 | .total_size = 2048, |
| 1339 | .page_size = 256, |
| 1340 | .feature_bits = FEATURE_WRSR_WREN, |
| 1341 | .tested = TEST_UNTESTED, |
| 1342 | .probe = probe_spi_rdid, |
| 1343 | .probe_timing = TIMING_ZERO, |
| 1344 | .block_erasers = |
| 1345 | { |
| 1346 | { |
| 1347 | .eraseblocks = { {4 * 1024, 512} }, |
| 1348 | .block_erase = spi_block_erase_20, |
| 1349 | }, { |
| 1350 | .eraseblocks = { {32 * 1024, 64} }, |
| 1351 | .block_erase = spi_block_erase_52, |
| 1352 | }, { |
| 1353 | .eraseblocks = { {64 * 1024, 32} }, |
| 1354 | .block_erase = spi_block_erase_d8, |
| 1355 | }, { |
| 1356 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1357 | .block_erase = spi_block_erase_60, |
| 1358 | }, { |
| 1359 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1360 | .block_erase = spi_block_erase_c7, |
| 1361 | } |
| 1362 | }, |
| 1363 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1364 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1365 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1366 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1367 | }, |
| 1368 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1369 | { |
| 1370 | .vendor = "Atmel", |
| 1371 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1372 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1373 | .manufacture_id = ATMEL_ID, |
| 1374 | .model_id = AT_25F512B, |
| 1375 | .total_size = 64, |
| 1376 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1377 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1378 | .tested = TEST_UNTESTED, |
| 1379 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1380 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1381 | .block_erasers = |
| 1382 | { |
| 1383 | { |
| 1384 | .eraseblocks = { {4 * 1024, 16} }, |
| 1385 | .block_erase = spi_block_erase_20, |
| 1386 | }, { |
| 1387 | .eraseblocks = { {32 * 1024, 2} }, |
| 1388 | .block_erase = spi_block_erase_52, |
| 1389 | }, { |
| 1390 | .eraseblocks = { {32 * 1024, 2} }, |
| 1391 | .block_erase = spi_block_erase_d8, |
| 1392 | }, { |
| 1393 | .eraseblocks = { {64 * 1024, 1} }, |
| 1394 | .block_erase = spi_block_erase_60, |
| 1395 | }, { |
| 1396 | .eraseblocks = { {64 * 1024, 1} }, |
| 1397 | .block_erase = spi_block_erase_c7, |
| 1398 | } |
| 1399 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1400 | .printlock = spi_prettyprint_status_register_at25f, |
| 1401 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1402 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1403 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1404 | }, |
| 1405 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1406 | { |
| 1407 | .vendor = "Atmel", |
| 1408 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1409 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1410 | .manufacture_id = ATMEL_ID, |
| 1411 | .model_id = AT_25FS010, |
| 1412 | .total_size = 128, |
| 1413 | .page_size = 256, |
| 1414 | .tested = TEST_UNTESTED, |
| 1415 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1416 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1417 | .block_erasers = |
| 1418 | { |
| 1419 | { |
| 1420 | .eraseblocks = { {4 * 1024, 32} }, |
| 1421 | .block_erase = spi_block_erase_20, |
| 1422 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1423 | .eraseblocks = { {4 * 1024, 32} }, |
| 1424 | .block_erase = spi_block_erase_d7, |
| 1425 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1426 | .eraseblocks = { {32 * 1024, 4} }, |
| 1427 | .block_erase = spi_block_erase_52, |
| 1428 | }, { |
| 1429 | .eraseblocks = { {32 * 1024, 4} }, |
| 1430 | .block_erase = spi_block_erase_d8, |
| 1431 | }, { |
| 1432 | .eraseblocks = { {128 * 1024, 1} }, |
| 1433 | .block_erase = spi_block_erase_60, |
| 1434 | }, { |
| 1435 | .eraseblocks = { {128 * 1024, 1} }, |
| 1436 | .block_erase = spi_block_erase_c7, |
| 1437 | } |
| 1438 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1439 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1440 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1441 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1442 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1443 | }, |
| 1444 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1445 | { |
| 1446 | .vendor = "Atmel", |
| 1447 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1448 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1449 | .manufacture_id = ATMEL_ID, |
| 1450 | .model_id = AT_25FS040, |
| 1451 | .total_size = 512, |
| 1452 | .page_size = 256, |
| 1453 | .tested = TEST_UNTESTED, |
| 1454 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1455 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1456 | .block_erasers = |
| 1457 | { |
| 1458 | { |
| 1459 | .eraseblocks = { {4 * 1024, 128} }, |
| 1460 | .block_erase = spi_block_erase_20, |
| 1461 | }, { |
| 1462 | .eraseblocks = { {64 * 1024, 8} }, |
| 1463 | .block_erase = spi_block_erase_52, |
| 1464 | }, { |
| 1465 | .eraseblocks = { {64 * 1024, 8} }, |
| 1466 | .block_erase = spi_block_erase_d8, |
| 1467 | }, { |
| 1468 | .eraseblocks = { {512 * 1024, 1} }, |
| 1469 | .block_erase = spi_block_erase_60, |
| 1470 | }, { |
| 1471 | .eraseblocks = { {512 * 1024, 1} }, |
| 1472 | .block_erase = spi_block_erase_c7, |
| 1473 | } |
| 1474 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1475 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1476 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1477 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1478 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1479 | }, |
| 1480 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1481 | { |
| 1482 | .vendor = "Atmel", |
| 1483 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1484 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1485 | .manufacture_id = ATMEL_ID, |
| 1486 | .model_id = AT_26DF041, |
| 1487 | .total_size = 512, |
| 1488 | .page_size = 256, |
| 1489 | .tested = TEST_UNTESTED, |
| 1490 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1491 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1492 | .block_erasers = |
| 1493 | { |
| 1494 | { |
| 1495 | .eraseblocks = { {4 * 1024, 128} }, |
| 1496 | .block_erase = spi_block_erase_20, |
| 1497 | } |
| 1498 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1499 | .write = NULL /* Incompatible Page write */, |
| 1500 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1501 | }, |
| 1502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1503 | { |
| 1504 | .vendor = "Atmel", |
| 1505 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1506 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1507 | .manufacture_id = ATMEL_ID, |
| 1508 | .model_id = AT_26DF081A, |
| 1509 | .total_size = 1024, |
| 1510 | .page_size = 256, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 1511 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1512 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1513 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1514 | .block_erasers = |
| 1515 | { |
| 1516 | { |
| 1517 | .eraseblocks = { {4 * 1024, 256} }, |
| 1518 | .block_erase = spi_block_erase_20, |
| 1519 | }, { |
| 1520 | .eraseblocks = { {32 * 1024, 32} }, |
| 1521 | .block_erase = spi_block_erase_52, |
| 1522 | }, { |
| 1523 | .eraseblocks = { {64 * 1024, 16} }, |
| 1524 | .block_erase = spi_block_erase_d8, |
| 1525 | }, { |
| 1526 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1527 | .block_erase = spi_block_erase_60, |
| 1528 | }, { |
| 1529 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1530 | .block_erase = spi_block_erase_c7, |
| 1531 | } |
| 1532 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1533 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1534 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1535 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1536 | }, |
| 1537 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1538 | { |
| 1539 | .vendor = "Atmel", |
| 1540 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1541 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1542 | .manufacture_id = ATMEL_ID, |
| 1543 | .model_id = AT_26DF161, |
| 1544 | .total_size = 2048, |
| 1545 | .page_size = 256, |
| 1546 | .tested = TEST_UNTESTED, |
| 1547 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1548 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1549 | .block_erasers = |
| 1550 | { |
| 1551 | { |
| 1552 | .eraseblocks = { {4 * 1024, 512} }, |
| 1553 | .block_erase = spi_block_erase_20, |
| 1554 | }, { |
| 1555 | .eraseblocks = { {32 * 1024, 64} }, |
| 1556 | .block_erase = spi_block_erase_52, |
| 1557 | }, { |
| 1558 | .eraseblocks = { {64 * 1024, 32} }, |
| 1559 | .block_erase = spi_block_erase_d8, |
| 1560 | }, { |
| 1561 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1562 | .block_erase = spi_block_erase_60, |
| 1563 | }, { |
| 1564 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1565 | .block_erase = spi_block_erase_c7, |
| 1566 | } |
| 1567 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1568 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1569 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1570 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1571 | }, |
| 1572 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1573 | { |
| 1574 | .vendor = "Atmel", |
| 1575 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1576 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1577 | .manufacture_id = ATMEL_ID, |
| 1578 | .model_id = AT_26DF161A, |
| 1579 | .total_size = 2048, |
| 1580 | .page_size = 256, |
| 1581 | .tested = TEST_UNTESTED, |
| 1582 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1583 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1584 | .block_erasers = |
| 1585 | { |
| 1586 | { |
| 1587 | .eraseblocks = { {4 * 1024, 512} }, |
| 1588 | .block_erase = spi_block_erase_20, |
| 1589 | }, { |
| 1590 | .eraseblocks = { {32 * 1024, 64} }, |
| 1591 | .block_erase = spi_block_erase_52, |
| 1592 | }, { |
| 1593 | .eraseblocks = { {64 * 1024, 32} }, |
| 1594 | .block_erase = spi_block_erase_d8, |
| 1595 | }, { |
| 1596 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1597 | .block_erase = spi_block_erase_60, |
| 1598 | }, { |
| 1599 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1600 | .block_erase = spi_block_erase_c7, |
| 1601 | } |
| 1602 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1603 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1604 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1605 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1606 | }, |
| 1607 | |
| 1608 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1609 | /*{ |
| 1610 | .vendor = "Atmel", |
| 1611 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1612 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1613 | .manufacture_id = ATMEL_ID, |
| 1614 | .model_id = AT_26DF321, |
| 1615 | .total_size = 4096, |
| 1616 | .page_size = 256, |
| 1617 | .tested = TEST_UNTESTED, |
| 1618 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1619 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1620 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1621 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1622 | .read = spi_chip_read, |
| 1623 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1624 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1625 | { |
| 1626 | .vendor = "Atmel", |
| 1627 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1628 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1629 | .manufacture_id = ATMEL_ID, |
| 1630 | .model_id = AT_26F004, |
| 1631 | .total_size = 512, |
| 1632 | .page_size = 256, |
| 1633 | .tested = TEST_UNTESTED, |
| 1634 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1635 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1636 | .block_erasers = |
| 1637 | { |
| 1638 | { |
| 1639 | .eraseblocks = { {4 * 1024, 128} }, |
| 1640 | .block_erase = spi_block_erase_20, |
| 1641 | }, { |
| 1642 | .eraseblocks = { {32 * 1024, 16} }, |
| 1643 | .block_erase = spi_block_erase_52, |
| 1644 | }, { |
| 1645 | .eraseblocks = { {64 * 1024, 8} }, |
| 1646 | .block_erase = spi_block_erase_d8, |
| 1647 | }, { |
| 1648 | .eraseblocks = { {512 * 1024, 1} }, |
| 1649 | .block_erase = spi_block_erase_60, |
| 1650 | }, { |
| 1651 | .eraseblocks = { {512 * 1024, 1} }, |
| 1652 | .block_erase = spi_block_erase_c7, |
| 1653 | } |
| 1654 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1655 | .write = NULL /* Incompatible Page write */, |
| 1656 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1657 | }, |
| 1658 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1659 | { |
| 1660 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1661 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1662 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1663 | .manufacture_id = ATMEL_ID, |
| 1664 | .model_id = AT_29C512, |
| 1665 | .total_size = 64, |
| 1666 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1667 | .feature_bits = FEATURE_LONG_RESET, |
| 1668 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1669 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1670 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1671 | .block_erasers = |
| 1672 | { |
| 1673 | { |
| 1674 | .eraseblocks = { {64 * 1024, 1} }, |
| 1675 | .block_erase = erase_chip_block_jedec, |
| 1676 | } |
| 1677 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1678 | .write = write_jedec, |
| 1679 | .read = read_memmapped, |
| 1680 | |
| 1681 | }, |
| 1682 | |
| 1683 | { |
| 1684 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1685 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1686 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1687 | .manufacture_id = ATMEL_ID, |
| 1688 | .model_id = AT_29C010A, |
| 1689 | .total_size = 128, |
| 1690 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1691 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 1692 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1693 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1694 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1695 | .block_erasers = |
| 1696 | { |
| 1697 | { |
| 1698 | .eraseblocks = { {128 * 1024, 1} }, |
| 1699 | .block_erase = erase_chip_block_jedec, |
| 1700 | } |
| 1701 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1702 | .write = write_jedec, /* FIXME */ |
| 1703 | .read = read_memmapped, |
| 1704 | }, |
| 1705 | |
| 1706 | { |
| 1707 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1708 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1709 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1710 | .manufacture_id = ATMEL_ID, |
| 1711 | .model_id = AT_29C020, |
| 1712 | .total_size = 256, |
| 1713 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1714 | .feature_bits = FEATURE_LONG_RESET, |
| 1715 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1716 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 1717 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1718 | .block_erasers = |
| 1719 | { |
| 1720 | { |
| 1721 | .eraseblocks = { {256 * 1024, 1} }, |
| 1722 | .block_erase = erase_chip_block_jedec, |
| 1723 | } |
| 1724 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1725 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1726 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1727 | }, |
| 1728 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1729 | { |
| 1730 | .vendor = "Atmel", |
| 1731 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1732 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1733 | .manufacture_id = ATMEL_ID, |
| 1734 | .model_id = AT_29C040A, |
| 1735 | .total_size = 512, |
| 1736 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1737 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1738 | .tested = TEST_UNTESTED, |
| 1739 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 1740 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1741 | .block_erasers = |
| 1742 | { |
| 1743 | { |
| 1744 | .eraseblocks = { {512 * 1024, 1} }, |
| 1745 | .block_erase = erase_chip_block_jedec, |
| 1746 | } |
| 1747 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1748 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1749 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1750 | }, |
| 1751 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1752 | { |
| 1753 | .vendor = "Atmel", |
| 1754 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1755 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1756 | .manufacture_id = ATMEL_ID, |
| 1757 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1758 | .total_size = 16896 /* No power of two sizes */, |
| 1759 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1760 | .tested = TEST_BAD_READ, |
| 1761 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1762 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1763 | .write = NULL /* Incompatible Page write */, |
| 1764 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1765 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1766 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1767 | { |
| 1768 | .vendor = "Atmel", |
| 1769 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1770 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1771 | .manufacture_id = ATMEL_ID, |
| 1772 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1773 | .total_size = 128 /* Size can only be determined from status register */, |
| 1774 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1775 | .tested = TEST_BAD_READ, |
| 1776 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1777 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1778 | .write = NULL, |
| 1779 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1780 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1781 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1782 | { |
| 1783 | .vendor = "Atmel", |
| 1784 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1785 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1786 | .manufacture_id = ATMEL_ID, |
| 1787 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1788 | .total_size = 256 /* Size can only be determined from status register */, |
| 1789 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1790 | .tested = TEST_BAD_READ, |
| 1791 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1792 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1793 | .write = NULL, |
| 1794 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1795 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1796 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1797 | { |
| 1798 | .vendor = "Atmel", |
| 1799 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1800 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1801 | .manufacture_id = ATMEL_ID, |
| 1802 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1803 | .total_size = 512 /* Size can only be determined from status register */, |
| 1804 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1805 | .tested = TEST_BAD_READ, |
| 1806 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1807 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1808 | .write = NULL, |
| 1809 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1810 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1811 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1812 | { |
| 1813 | .vendor = "Atmel", |
| 1814 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1815 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1816 | .manufacture_id = ATMEL_ID, |
| 1817 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1818 | .total_size = 1024 /* Size can only be determined from status register */, |
| 1819 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1820 | .tested = TEST_BAD_READ, |
| 1821 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1822 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1823 | .write = NULL, |
| 1824 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1825 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1826 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1827 | { |
| 1828 | .vendor = "Atmel", |
| 1829 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1830 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1831 | .manufacture_id = ATMEL_ID, |
| 1832 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1833 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1834 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1835 | .tested = TEST_BAD_READ, |
| 1836 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1837 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1838 | .write = NULL, |
| 1839 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1840 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1841 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1842 | { |
| 1843 | .vendor = "Atmel", |
| 1844 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1845 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1846 | .manufacture_id = ATMEL_ID, |
| 1847 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1848 | .total_size = 4224 /* No power of two sizes */, |
| 1849 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1850 | .tested = TEST_BAD_READ, |
| 1851 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1852 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1853 | .write = NULL, |
| 1854 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1855 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1856 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1857 | { |
| 1858 | .vendor = "Atmel", |
| 1859 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1860 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1861 | .manufacture_id = ATMEL_ID, |
| 1862 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1863 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1864 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1865 | .tested = TEST_BAD_READ, |
| 1866 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1867 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1868 | .write = NULL, |
| 1869 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1870 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1871 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1872 | { |
| 1873 | .vendor = "Atmel", |
| 1874 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1875 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1876 | .manufacture_id = ATMEL_ID, |
| 1877 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1878 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1879 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1880 | .tested = TEST_BAD_READ, |
| 1881 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1882 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1883 | .write = NULL, |
| 1884 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1885 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1886 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1887 | { |
| 1888 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1889 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1890 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1891 | .manufacture_id = ATMEL_ID, |
| 1892 | .model_id = AT_49BV512, |
| 1893 | .total_size = 64, |
| 1894 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1895 | .feature_bits = FEATURE_EITHER_RESET, |
| 1896 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1897 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1898 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1899 | .block_erasers = |
| 1900 | { |
| 1901 | { |
| 1902 | .eraseblocks = { {64 * 1024, 1} }, |
| 1903 | .block_erase = erase_chip_block_jedec, |
| 1904 | } |
| 1905 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1906 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1907 | .read = read_memmapped, |
| 1908 | }, |
| 1909 | |
| 1910 | { |
| 1911 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1912 | .name = "AT49F020", |
| 1913 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1914 | .manufacture_id = ATMEL_ID, |
| 1915 | .model_id = AT_49F020, |
| 1916 | .total_size = 256, |
| 1917 | .page_size = 256, |
| 1918 | .feature_bits = FEATURE_EITHER_RESET, |
| 1919 | .tested = TEST_OK_PREW, |
| 1920 | .probe = probe_jedec, |
| 1921 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 1922 | .block_erasers = |
| 1923 | { |
| 1924 | { |
| 1925 | .eraseblocks = { {256 * 1024, 1} }, |
| 1926 | .block_erase = erase_chip_block_jedec, |
| 1927 | } |
| 1928 | }, |
| 1929 | .write = write_jedec_1, |
| 1930 | .read = read_memmapped, |
| 1931 | }, |
| 1932 | |
| 1933 | { |
| 1934 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1935 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1936 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1937 | .manufacture_id = ATMEL_ID, |
| 1938 | .model_id = AT_49F002N, |
| 1939 | .total_size = 256, |
| 1940 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1941 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1942 | .tested = TEST_UNTESTED, |
| 1943 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1944 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1945 | .block_erasers = |
| 1946 | { |
| 1947 | { |
| 1948 | .eraseblocks = { |
| 1949 | {16 * 1024, 1}, |
| 1950 | {8 * 1024, 2}, |
| 1951 | {96 * 1024, 1}, |
| 1952 | {128 * 1024, 1}, |
| 1953 | }, |
| 1954 | .block_erase = erase_sector_jedec, |
| 1955 | }, { |
| 1956 | .eraseblocks = { {256 * 1024, 1} }, |
| 1957 | .block_erase = erase_chip_block_jedec, |
| 1958 | } |
| 1959 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1960 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1961 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1962 | }, |
| 1963 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1964 | { |
| 1965 | .vendor = "Atmel", |
| 1966 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1967 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1968 | .manufacture_id = ATMEL_ID, |
| 1969 | .model_id = AT_49F002NT, |
| 1970 | .total_size = 256, |
| 1971 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1972 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1973 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1974 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1975 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1976 | .block_erasers = |
| 1977 | { |
| 1978 | { |
| 1979 | .eraseblocks = { |
| 1980 | {128 * 1024, 1}, |
| 1981 | {96 * 1024, 1}, |
| 1982 | {8 * 1024, 2}, |
| 1983 | {16 * 1024, 1}, |
| 1984 | }, |
| 1985 | .block_erase = erase_sector_jedec, |
| 1986 | }, { |
| 1987 | .eraseblocks = { {256 * 1024, 1} }, |
| 1988 | .block_erase = erase_chip_block_jedec, |
| 1989 | } |
| 1990 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1991 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1992 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1993 | }, |
| 1994 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1995 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1996 | .vendor = "EMST", |
| 1997 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1998 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1999 | .manufacture_id = EMST_ID, |
| 2000 | .model_id = EMST_F49B002UA, |
| 2001 | .total_size = 256, |
| 2002 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2003 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2004 | .tested = TEST_UNTESTED, |
| 2005 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2006 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2007 | .block_erasers = |
| 2008 | { |
| 2009 | { |
| 2010 | .eraseblocks = { |
| 2011 | {128 * 1024, 1}, |
| 2012 | {96 * 1024, 1}, |
| 2013 | {8 * 1024, 2}, |
| 2014 | {16 * 1024, 1}, |
| 2015 | }, |
| 2016 | .block_erase = erase_sector_jedec, |
| 2017 | }, { |
| 2018 | .eraseblocks = { {256 * 1024, 1} }, |
| 2019 | .block_erase = erase_chip_block_jedec, |
| 2020 | } |
| 2021 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2022 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2023 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2024 | }, |
| 2025 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2026 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2027 | .vendor = "EMST", |
| 2028 | .name = "F25L008A", |
| 2029 | .bustype = CHIP_BUSTYPE_SPI, |
| 2030 | .manufacture_id = EMST_ID, |
| 2031 | .model_id = EMST_F25L008A, |
| 2032 | .total_size = 1024, |
| 2033 | .page_size = 256, |
| 2034 | .tested = TEST_UNTESTED, |
| 2035 | .probe = probe_spi_rdid, |
| 2036 | .probe_timing = TIMING_ZERO, |
| 2037 | .block_erasers = |
| 2038 | { |
| 2039 | { |
| 2040 | .eraseblocks = { {4 * 1024, 256} }, |
| 2041 | .block_erase = spi_block_erase_20, |
| 2042 | }, { |
| 2043 | .eraseblocks = { {64 * 1024, 16} }, |
| 2044 | .block_erase = spi_block_erase_d8, |
| 2045 | }, { |
| 2046 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2047 | .block_erase = spi_block_erase_60, |
| 2048 | }, { |
| 2049 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2050 | .block_erase = spi_block_erase_c7, |
| 2051 | } |
| 2052 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2053 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2054 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2055 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2056 | }, |
| 2057 | |
| 2058 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2059 | .vendor = "Eon", |
| 2060 | .name = "EN25B05", |
| 2061 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2062 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2063 | .model_id = EN_25B05, |
| 2064 | .total_size = 64, |
| 2065 | .page_size = 256, |
| 2066 | .tested = TEST_UNTESTED, |
| 2067 | .probe = probe_spi_rdid, |
| 2068 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2069 | .block_erasers = |
| 2070 | { |
| 2071 | { |
| 2072 | .eraseblocks = { |
| 2073 | {4 * 1024, 2}, |
| 2074 | {8 * 1024, 1}, |
| 2075 | {16 * 1024, 1}, |
| 2076 | {32 * 1024, 1}, |
| 2077 | }, |
| 2078 | .block_erase = spi_block_erase_d8, |
| 2079 | }, { |
| 2080 | .eraseblocks = { {64 * 1024, 1} }, |
| 2081 | .block_erase = spi_block_erase_c7, |
| 2082 | } |
| 2083 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2084 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2085 | .write = spi_chip_write_256, |
| 2086 | .read = spi_chip_read, |
| 2087 | }, |
| 2088 | |
| 2089 | { |
| 2090 | .vendor = "Eon", |
| 2091 | .name = "EN25B05T", |
| 2092 | .bustype = CHIP_BUSTYPE_SPI, |
| 2093 | .manufacture_id = EON_ID_NOPREFIX, |
| 2094 | .model_id = EN_25B05, |
| 2095 | .total_size = 64, |
| 2096 | .page_size = 256, |
| 2097 | .tested = TEST_UNTESTED, |
| 2098 | .probe = probe_spi_rdid, |
| 2099 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2100 | .block_erasers = |
| 2101 | { |
| 2102 | { |
| 2103 | .eraseblocks = { |
| 2104 | {32 * 1024, 1}, |
| 2105 | {16 * 1024, 1}, |
| 2106 | {8 * 1024, 1}, |
| 2107 | {4 * 1024, 2}, |
| 2108 | }, |
| 2109 | .block_erase = spi_block_erase_d8, |
| 2110 | }, { |
| 2111 | .eraseblocks = { {64 * 1024, 1} }, |
| 2112 | .block_erase = spi_block_erase_c7, |
| 2113 | } |
| 2114 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2115 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2116 | .write = spi_chip_write_256, |
| 2117 | .read = spi_chip_read, |
| 2118 | }, |
| 2119 | |
| 2120 | { |
| 2121 | .vendor = "Eon", |
| 2122 | .name = "EN25B10", |
| 2123 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2124 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2125 | .model_id = EN_25B10, |
| 2126 | .total_size = 128, |
| 2127 | .page_size = 256, |
| 2128 | .tested = TEST_UNTESTED, |
| 2129 | .probe = probe_spi_rdid, |
| 2130 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2131 | .block_erasers = |
| 2132 | { |
| 2133 | { |
| 2134 | .eraseblocks = { |
| 2135 | {4 * 1024, 2}, |
| 2136 | {8 * 1024, 1}, |
| 2137 | {16 * 1024, 1}, |
| 2138 | {32 * 1024, 3}, |
| 2139 | }, |
| 2140 | .block_erase = spi_block_erase_d8, |
| 2141 | }, { |
| 2142 | .eraseblocks = { {128 * 1024, 1} }, |
| 2143 | .block_erase = spi_block_erase_c7, |
| 2144 | } |
| 2145 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2146 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2147 | .write = spi_chip_write_256, |
| 2148 | .read = spi_chip_read, |
| 2149 | }, |
| 2150 | |
| 2151 | { |
| 2152 | .vendor = "Eon", |
| 2153 | .name = "EN25B10T", |
| 2154 | .bustype = CHIP_BUSTYPE_SPI, |
| 2155 | .manufacture_id = EON_ID_NOPREFIX, |
| 2156 | .model_id = EN_25B10, |
| 2157 | .total_size = 128, |
| 2158 | .page_size = 256, |
| 2159 | .tested = TEST_UNTESTED, |
| 2160 | .probe = probe_spi_rdid, |
| 2161 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2162 | .block_erasers = |
| 2163 | { |
| 2164 | { |
| 2165 | .eraseblocks = { |
| 2166 | {32 * 1024, 3}, |
| 2167 | {16 * 1024, 1}, |
| 2168 | {8 * 1024, 1}, |
| 2169 | {4 * 1024, 2}, |
| 2170 | }, |
| 2171 | .block_erase = spi_block_erase_d8, |
| 2172 | }, { |
| 2173 | .eraseblocks = { {128 * 1024, 1} }, |
| 2174 | .block_erase = spi_block_erase_c7, |
| 2175 | } |
| 2176 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2177 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2178 | .write = spi_chip_write_256, |
| 2179 | .read = spi_chip_read, |
| 2180 | }, |
| 2181 | |
| 2182 | { |
| 2183 | .vendor = "Eon", |
| 2184 | .name = "EN25B20", |
| 2185 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2186 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2187 | .model_id = EN_25B20, |
| 2188 | .total_size = 256, |
| 2189 | .page_size = 256, |
| 2190 | .tested = TEST_UNTESTED, |
| 2191 | .probe = probe_spi_rdid, |
| 2192 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2193 | .block_erasers = |
| 2194 | { |
| 2195 | { |
| 2196 | .eraseblocks = { |
| 2197 | {4 * 1024, 2}, |
| 2198 | {8 * 1024, 1}, |
| 2199 | {16 * 1024, 1}, |
| 2200 | {32 * 1024, 1}, |
| 2201 | {64 * 1024, 3} |
| 2202 | }, |
| 2203 | .block_erase = spi_block_erase_d8, |
| 2204 | }, { |
| 2205 | .eraseblocks = { {256 * 1024, 1} }, |
| 2206 | .block_erase = spi_block_erase_c7, |
| 2207 | } |
| 2208 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2209 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2210 | .write = spi_chip_write_256, |
| 2211 | .read = spi_chip_read, |
| 2212 | }, |
| 2213 | |
| 2214 | { |
| 2215 | .vendor = "Eon", |
| 2216 | .name = "EN25B20T", |
| 2217 | .bustype = CHIP_BUSTYPE_SPI, |
| 2218 | .manufacture_id = EON_ID_NOPREFIX, |
| 2219 | .model_id = EN_25B20, |
| 2220 | .total_size = 256, |
| 2221 | .page_size = 256, |
| 2222 | .tested = TEST_UNTESTED, |
| 2223 | .probe = probe_spi_rdid, |
| 2224 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2225 | .block_erasers = |
| 2226 | { |
| 2227 | { |
| 2228 | .eraseblocks = { |
| 2229 | {64 * 1024, 3}, |
| 2230 | {32 * 1024, 1}, |
| 2231 | {16 * 1024, 1}, |
| 2232 | {8 * 1024, 1}, |
| 2233 | {4 * 1024, 2}, |
| 2234 | }, |
| 2235 | .block_erase = spi_block_erase_d8, |
| 2236 | }, { |
| 2237 | .eraseblocks = { {256 * 1024, 1} }, |
| 2238 | .block_erase = spi_block_erase_c7, |
| 2239 | } |
| 2240 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2241 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2242 | .write = spi_chip_write_256, |
| 2243 | .read = spi_chip_read, |
| 2244 | }, |
| 2245 | |
| 2246 | { |
| 2247 | .vendor = "Eon", |
| 2248 | .name = "EN25B40", |
| 2249 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2250 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2251 | .model_id = EN_25B40, |
| 2252 | .total_size = 512, |
| 2253 | .page_size = 256, |
| 2254 | .tested = TEST_UNTESTED, |
| 2255 | .probe = probe_spi_rdid, |
| 2256 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2257 | .block_erasers = |
| 2258 | { |
| 2259 | { |
| 2260 | .eraseblocks = { |
| 2261 | {4 * 1024, 2}, |
| 2262 | {8 * 1024, 1}, |
| 2263 | {16 * 1024, 1}, |
| 2264 | {32 * 1024, 1}, |
| 2265 | {64 * 1024, 7} |
| 2266 | }, |
| 2267 | .block_erase = spi_block_erase_d8, |
| 2268 | }, { |
| 2269 | .eraseblocks = { {512 * 1024, 1} }, |
| 2270 | .block_erase = spi_block_erase_c7, |
| 2271 | } |
| 2272 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2273 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2274 | .write = spi_chip_write_256, |
| 2275 | .read = spi_chip_read, |
| 2276 | }, |
| 2277 | |
| 2278 | { |
| 2279 | .vendor = "Eon", |
| 2280 | .name = "EN25B40T", |
| 2281 | .bustype = CHIP_BUSTYPE_SPI, |
| 2282 | .manufacture_id = EON_ID_NOPREFIX, |
| 2283 | .model_id = EN_25B40, |
| 2284 | .total_size = 512, |
| 2285 | .page_size = 256, |
| 2286 | .tested = TEST_UNTESTED, |
| 2287 | .probe = probe_spi_rdid, |
| 2288 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2289 | .block_erasers = |
| 2290 | { |
| 2291 | { |
| 2292 | .eraseblocks = { |
| 2293 | {64 * 1024, 7}, |
| 2294 | {32 * 1024, 1}, |
| 2295 | {16 * 1024, 1}, |
| 2296 | {8 * 1024, 1}, |
| 2297 | {4 * 1024, 2}, |
| 2298 | }, |
| 2299 | .block_erase = spi_block_erase_d8, |
| 2300 | }, { |
| 2301 | .eraseblocks = { {512 * 1024, 1} }, |
| 2302 | .block_erase = spi_block_erase_c7, |
| 2303 | } |
| 2304 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2305 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2306 | .write = spi_chip_write_256, |
| 2307 | .read = spi_chip_read, |
| 2308 | }, |
| 2309 | |
| 2310 | { |
| 2311 | .vendor = "Eon", |
| 2312 | .name = "EN25B80", |
| 2313 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2314 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2315 | .model_id = EN_25B80, |
| 2316 | .total_size = 1024, |
| 2317 | .page_size = 256, |
| 2318 | .tested = TEST_UNTESTED, |
| 2319 | .probe = probe_spi_rdid, |
| 2320 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2321 | .block_erasers = |
| 2322 | { |
| 2323 | { |
| 2324 | .eraseblocks = { |
| 2325 | {4 * 1024, 2}, |
| 2326 | {8 * 1024, 1}, |
| 2327 | {16 * 1024, 1}, |
| 2328 | {32 * 1024, 1}, |
| 2329 | {64 * 1024, 15} |
| 2330 | }, |
| 2331 | .block_erase = spi_block_erase_d8, |
| 2332 | }, { |
| 2333 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2334 | .block_erase = spi_block_erase_c7, |
| 2335 | } |
| 2336 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2337 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2338 | .write = spi_chip_write_256, |
| 2339 | .read = spi_chip_read, |
| 2340 | }, |
| 2341 | |
| 2342 | { |
| 2343 | .vendor = "Eon", |
| 2344 | .name = "EN25B80T", |
| 2345 | .bustype = CHIP_BUSTYPE_SPI, |
| 2346 | .manufacture_id = EON_ID_NOPREFIX, |
| 2347 | .model_id = EN_25B80, |
| 2348 | .total_size = 1024, |
| 2349 | .page_size = 256, |
| 2350 | .tested = TEST_UNTESTED, |
| 2351 | .probe = probe_spi_rdid, |
| 2352 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2353 | .block_erasers = |
| 2354 | { |
| 2355 | { |
| 2356 | .eraseblocks = { |
| 2357 | {64 * 1024, 15}, |
| 2358 | {32 * 1024, 1}, |
| 2359 | {16 * 1024, 1}, |
| 2360 | {8 * 1024, 1}, |
| 2361 | {4 * 1024, 2}, |
| 2362 | }, |
| 2363 | .block_erase = spi_block_erase_d8, |
| 2364 | }, { |
| 2365 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2366 | .block_erase = spi_block_erase_c7, |
| 2367 | } |
| 2368 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2369 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2370 | .write = spi_chip_write_256, |
| 2371 | .read = spi_chip_read, |
| 2372 | }, |
| 2373 | |
| 2374 | { |
| 2375 | .vendor = "Eon", |
| 2376 | .name = "EN25B16", |
| 2377 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2378 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2379 | .model_id = EN_25B16, |
| 2380 | .total_size = 2048, |
| 2381 | .page_size = 256, |
| 2382 | .tested = TEST_UNTESTED, |
| 2383 | .probe = probe_spi_rdid, |
| 2384 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2385 | .block_erasers = |
| 2386 | { |
| 2387 | { |
| 2388 | .eraseblocks = { |
| 2389 | {4 * 1024, 2}, |
| 2390 | {8 * 1024, 1}, |
| 2391 | {16 * 1024, 1}, |
| 2392 | {32 * 1024, 1}, |
| 2393 | {64 * 1024, 31}, |
| 2394 | }, |
| 2395 | .block_erase = spi_block_erase_d8, |
| 2396 | }, { |
| 2397 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2398 | .block_erase = spi_block_erase_c7, |
| 2399 | } |
| 2400 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2401 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2402 | .write = spi_chip_write_256, |
| 2403 | .read = spi_chip_read, |
| 2404 | }, |
| 2405 | |
| 2406 | { |
| 2407 | .vendor = "Eon", |
| 2408 | .name = "EN25B16T", |
| 2409 | .bustype = CHIP_BUSTYPE_SPI, |
| 2410 | .manufacture_id = EON_ID_NOPREFIX, |
| 2411 | .model_id = EN_25B16, |
| 2412 | .total_size = 2048, |
| 2413 | .page_size = 256, |
| 2414 | .tested = TEST_UNTESTED, |
| 2415 | .probe = probe_spi_rdid, |
| 2416 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2417 | .block_erasers = |
| 2418 | { |
| 2419 | { |
| 2420 | .eraseblocks = { |
| 2421 | {64 * 1024, 31}, |
| 2422 | {32 * 1024, 1}, |
| 2423 | {16 * 1024, 1}, |
| 2424 | {8 * 1024, 1}, |
| 2425 | {4 * 1024, 2}, |
| 2426 | }, |
| 2427 | .block_erase = spi_block_erase_d8, |
| 2428 | }, { |
| 2429 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2430 | .block_erase = spi_block_erase_c7, |
| 2431 | } |
| 2432 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2433 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2434 | .write = spi_chip_write_256, |
| 2435 | .read = spi_chip_read, |
| 2436 | }, |
| 2437 | |
| 2438 | { |
| 2439 | .vendor = "Eon", |
| 2440 | .name = "EN25B32", |
| 2441 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2442 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2443 | .model_id = EN_25B32, |
| 2444 | .total_size = 4096, |
| 2445 | .page_size = 256, |
| 2446 | .tested = TEST_UNTESTED, |
| 2447 | .probe = probe_spi_rdid, |
| 2448 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2449 | .block_erasers = |
| 2450 | { |
| 2451 | { |
| 2452 | .eraseblocks = { |
| 2453 | {4 * 1024, 2}, |
| 2454 | {8 * 1024, 1}, |
| 2455 | {16 * 1024, 1}, |
| 2456 | {32 * 1024, 1}, |
| 2457 | {64 * 1024, 63}, |
| 2458 | }, |
| 2459 | .block_erase = spi_block_erase_d8, |
| 2460 | }, { |
| 2461 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2462 | .block_erase = spi_block_erase_c7, |
| 2463 | } |
| 2464 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2465 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2466 | .write = spi_chip_write_256, |
| 2467 | .read = spi_chip_read, |
| 2468 | }, |
| 2469 | |
| 2470 | { |
| 2471 | .vendor = "Eon", |
| 2472 | .name = "EN25B32T", |
| 2473 | .bustype = CHIP_BUSTYPE_SPI, |
| 2474 | .manufacture_id = EON_ID_NOPREFIX, |
| 2475 | .model_id = EN_25B32, |
| 2476 | .total_size = 4096, |
| 2477 | .page_size = 256, |
| 2478 | .tested = TEST_UNTESTED, |
| 2479 | .probe = probe_spi_rdid, |
| 2480 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2481 | .block_erasers = |
| 2482 | { |
| 2483 | { |
| 2484 | .eraseblocks = { |
| 2485 | {64 * 1024, 63}, |
| 2486 | {32 * 1024, 1}, |
| 2487 | {16 * 1024, 1}, |
| 2488 | {8 * 1024, 1}, |
| 2489 | {4 * 1024, 2}, |
| 2490 | }, |
| 2491 | .block_erase = spi_block_erase_d8, |
| 2492 | }, { |
| 2493 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2494 | .block_erase = spi_block_erase_c7, |
| 2495 | } |
| 2496 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2497 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2498 | .write = spi_chip_write_256, |
| 2499 | .read = spi_chip_read, |
| 2500 | }, |
| 2501 | |
| 2502 | { |
| 2503 | .vendor = "Eon", |
| 2504 | .name = "EN25B64", |
| 2505 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2506 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2507 | .model_id = EN_25B64, |
| 2508 | .total_size = 8192, |
| 2509 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2510 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2511 | .tested = TEST_UNTESTED, |
| 2512 | .probe = probe_spi_rdid, |
| 2513 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2514 | .block_erasers = |
| 2515 | { |
| 2516 | { |
| 2517 | .eraseblocks = { |
| 2518 | {4 * 1024, 2}, |
| 2519 | {8 * 1024, 1}, |
| 2520 | {16 * 1024, 1}, |
| 2521 | {32 * 1024, 1}, |
| 2522 | {64 * 1024, 127}, |
| 2523 | }, |
| 2524 | .block_erase = spi_block_erase_d8, |
| 2525 | }, { |
| 2526 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2527 | .block_erase = spi_block_erase_c7, |
| 2528 | } |
| 2529 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2530 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2531 | .write = spi_chip_write_256, |
| 2532 | .read = spi_chip_read, |
| 2533 | }, |
| 2534 | |
| 2535 | { |
| 2536 | .vendor = "Eon", |
| 2537 | .name = "EN25B64T", |
| 2538 | .bustype = CHIP_BUSTYPE_SPI, |
| 2539 | .manufacture_id = EON_ID_NOPREFIX, |
| 2540 | .model_id = EN_25B64, |
| 2541 | .total_size = 8192, |
| 2542 | .page_size = 256, |
| 2543 | .tested = TEST_UNTESTED, |
| 2544 | .probe = probe_spi_rdid, |
| 2545 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2546 | .block_erasers = |
| 2547 | { |
| 2548 | { |
| 2549 | .eraseblocks = { |
| 2550 | {64 * 1024, 127}, |
| 2551 | {32 * 1024, 1}, |
| 2552 | {16 * 1024, 1}, |
| 2553 | {8 * 1024, 1}, |
| 2554 | {4 * 1024, 2}, |
| 2555 | }, |
| 2556 | .block_erase = spi_block_erase_d8, |
| 2557 | }, { |
| 2558 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2559 | .block_erase = spi_block_erase_c7, |
| 2560 | } |
| 2561 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2562 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2563 | .write = spi_chip_write_256, |
| 2564 | .read = spi_chip_read, |
| 2565 | }, |
| 2566 | |
| 2567 | { |
| 2568 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2569 | .name = "EN25D16", |
| 2570 | .bustype = CHIP_BUSTYPE_SPI, |
| 2571 | .manufacture_id = EON_ID_NOPREFIX, |
| 2572 | .model_id = EN_25D16, |
| 2573 | .total_size = 2048, |
| 2574 | .page_size = 256, |
| 2575 | .tested = TEST_UNTESTED, |
| 2576 | .probe = probe_spi_rdid, |
| 2577 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2578 | .block_erasers = |
| 2579 | { |
| 2580 | { |
| 2581 | .eraseblocks = { {4 * 1024, 512} }, |
| 2582 | .block_erase = spi_block_erase_20, |
| 2583 | }, { |
| 2584 | .eraseblocks = { {64 * 1024, 32} }, |
| 2585 | .block_erase = spi_block_erase_d8, |
| 2586 | }, { |
| 2587 | .eraseblocks = { {64 * 1024, 32} }, |
| 2588 | .block_erase = spi_block_erase_52, |
| 2589 | }, { |
| 2590 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2591 | .block_erase = spi_block_erase_60, |
| 2592 | }, { |
| 2593 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2594 | .block_erase = spi_block_erase_c7, |
| 2595 | } |
| 2596 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2597 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2598 | .write = spi_chip_write_256, |
| 2599 | .read = spi_chip_read, |
| 2600 | }, |
| 2601 | |
| 2602 | { |
| 2603 | .vendor = "Eon", |
| 2604 | .name = "EN25F05", |
| 2605 | .bustype = CHIP_BUSTYPE_SPI, |
| 2606 | .manufacture_id = EON_ID_NOPREFIX, |
| 2607 | .model_id = EN_25F05, |
| 2608 | .total_size = 64, |
| 2609 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2610 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2611 | .tested = TEST_UNTESTED, |
| 2612 | .probe = probe_spi_rdid, |
| 2613 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2614 | .block_erasers = |
| 2615 | { |
| 2616 | { |
| 2617 | .eraseblocks = { {4 * 1024, 16} }, |
| 2618 | .block_erase = spi_block_erase_20, |
| 2619 | }, { |
| 2620 | .eraseblocks = { {32 * 1024, 2} }, |
| 2621 | .block_erase = spi_block_erase_d8, |
| 2622 | }, { |
| 2623 | .eraseblocks = { {32 * 1024, 2} }, |
| 2624 | .block_erase = spi_block_erase_52, |
| 2625 | }, { |
| 2626 | .eraseblocks = { {64 * 1024, 1} }, |
| 2627 | .block_erase = spi_block_erase_60, |
| 2628 | }, { |
| 2629 | .eraseblocks = { {64 * 1024, 1} }, |
| 2630 | .block_erase = spi_block_erase_c7, |
| 2631 | } |
| 2632 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2633 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2634 | .write = spi_chip_write_256, |
| 2635 | .read = spi_chip_read, |
| 2636 | }, |
| 2637 | |
| 2638 | { |
| 2639 | .vendor = "Eon", |
| 2640 | .name = "EN25F10", |
| 2641 | .bustype = CHIP_BUSTYPE_SPI, |
| 2642 | .manufacture_id = EON_ID_NOPREFIX, |
| 2643 | .model_id = EN_25F10, |
| 2644 | .total_size = 128, |
| 2645 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2646 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2647 | .tested = TEST_UNTESTED, |
| 2648 | .probe = probe_spi_rdid, |
| 2649 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2650 | .block_erasers = |
| 2651 | { |
| 2652 | { |
| 2653 | .eraseblocks = { {4 * 1024, 32} }, |
| 2654 | .block_erase = spi_block_erase_20, |
| 2655 | }, { |
| 2656 | .eraseblocks = { {32 * 1024, 4} }, |
| 2657 | .block_erase = spi_block_erase_d8, |
| 2658 | }, { |
| 2659 | .eraseblocks = { {32 * 1024, 4} }, |
| 2660 | .block_erase = spi_block_erase_52, |
| 2661 | }, { |
| 2662 | .eraseblocks = { {128 * 1024, 1} }, |
| 2663 | .block_erase = spi_block_erase_60, |
| 2664 | }, { |
| 2665 | .eraseblocks = { {128 * 1024, 1} }, |
| 2666 | .block_erase = spi_block_erase_c7, |
| 2667 | } |
| 2668 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2669 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2670 | .write = spi_chip_write_256, |
| 2671 | .read = spi_chip_read, |
| 2672 | }, |
| 2673 | |
| 2674 | { |
| 2675 | .vendor = "Eon", |
| 2676 | .name = "EN25F20", |
| 2677 | .bustype = CHIP_BUSTYPE_SPI, |
| 2678 | .manufacture_id = EON_ID_NOPREFIX, |
| 2679 | .model_id = EN_25F20, |
| 2680 | .total_size = 256, |
| 2681 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2682 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2683 | .tested = TEST_UNTESTED, |
| 2684 | .probe = probe_spi_rdid, |
| 2685 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2686 | .block_erasers = |
| 2687 | { |
| 2688 | { |
| 2689 | .eraseblocks = { {4 * 1024, 64} }, |
| 2690 | .block_erase = spi_block_erase_20, |
| 2691 | }, { |
| 2692 | .eraseblocks = { {64 * 1024, 4} }, |
| 2693 | .block_erase = spi_block_erase_d8, |
| 2694 | }, { |
| 2695 | .eraseblocks = { {64 * 1024, 4} }, |
| 2696 | .block_erase = spi_block_erase_52, |
| 2697 | }, { |
| 2698 | .eraseblocks = { {256 * 1024, 1} }, |
| 2699 | .block_erase = spi_block_erase_60, |
| 2700 | }, { |
| 2701 | .eraseblocks = { {256 * 1024, 1} }, |
| 2702 | .block_erase = spi_block_erase_c7, |
| 2703 | } |
| 2704 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2705 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2706 | .write = spi_chip_write_256, |
| 2707 | .read = spi_chip_read, |
| 2708 | }, |
| 2709 | |
| 2710 | { |
| 2711 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2712 | .name = "EN25F40", |
| 2713 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2714 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2715 | .model_id = EN_25F40, |
| 2716 | .total_size = 512, |
| 2717 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2718 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2719 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2720 | .probe = probe_spi_rdid, |
| 2721 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2722 | .block_erasers = |
| 2723 | { |
| 2724 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2725 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2726 | .block_erase = spi_block_erase_20, |
| 2727 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2728 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2729 | .block_erase = spi_block_erase_d8, |
| 2730 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2731 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2732 | .block_erase = spi_block_erase_60, |
| 2733 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2734 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2735 | .block_erase = spi_block_erase_c7, |
| 2736 | }, |
| 2737 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2738 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2739 | .write = spi_chip_write_256, |
| 2740 | .read = spi_chip_read, |
| 2741 | }, |
| 2742 | |
| 2743 | { |
| 2744 | .vendor = "Eon", |
| 2745 | .name = "EN25F80", |
| 2746 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2747 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2748 | .model_id = EN_25F80, |
| 2749 | .total_size = 1024, |
| 2750 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2751 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2752 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2753 | .probe = probe_spi_rdid, |
| 2754 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2755 | .block_erasers = |
| 2756 | { |
| 2757 | { |
| 2758 | .eraseblocks = { {4 * 1024, 256} }, |
| 2759 | .block_erase = spi_block_erase_20, |
| 2760 | }, { |
| 2761 | .eraseblocks = { {64 * 1024, 16} }, |
| 2762 | .block_erase = spi_block_erase_d8, |
| 2763 | }, { |
| 2764 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2765 | .block_erase = spi_block_erase_60, |
| 2766 | }, { |
| 2767 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2768 | .block_erase = spi_block_erase_c7, |
| 2769 | } |
| 2770 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2771 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2772 | .write = spi_chip_write_256, |
| 2773 | .read = spi_chip_read, |
| 2774 | }, |
| 2775 | |
| 2776 | { |
| 2777 | .vendor = "Eon", |
| 2778 | .name = "EN25F16", |
| 2779 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2780 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2781 | .model_id = EN_25F16, |
| 2782 | .total_size = 2048, |
| 2783 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2784 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2785 | .tested = TEST_UNTESTED, |
| 2786 | .probe = probe_spi_rdid, |
| 2787 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2788 | .block_erasers = |
| 2789 | { |
| 2790 | { |
| 2791 | .eraseblocks = { {4 * 1024, 512} }, |
| 2792 | .block_erase = spi_block_erase_20, |
| 2793 | }, { |
| 2794 | .eraseblocks = { {64 * 1024, 32} }, |
| 2795 | .block_erase = spi_block_erase_d8, |
| 2796 | }, { |
| 2797 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2798 | .block_erase = spi_block_erase_60, |
| 2799 | }, { |
| 2800 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2801 | .block_erase = spi_block_erase_c7, |
| 2802 | } |
| 2803 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2804 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2805 | .write = spi_chip_write_256, |
| 2806 | .read = spi_chip_read, |
| 2807 | }, |
| 2808 | |
| 2809 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2810 | .vendor = "Eon", |
| 2811 | .name = "EN25F32", |
| 2812 | .bustype = CHIP_BUSTYPE_SPI, |
| 2813 | .manufacture_id = EON_ID_NOPREFIX, |
| 2814 | .model_id = EN_25F32, |
| 2815 | .total_size = 4096, |
| 2816 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2817 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2818 | .tested = TEST_UNTESTED, |
| 2819 | .probe = probe_spi_rdid, |
| 2820 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2821 | .block_erasers = |
| 2822 | { |
| 2823 | { |
| 2824 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2825 | .block_erase = spi_block_erase_20, |
| 2826 | }, { |
| 2827 | .eraseblocks = { {64 * 1024, 64} }, |
| 2828 | .block_erase = spi_block_erase_d8, |
| 2829 | }, { |
| 2830 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2831 | .block_erase = spi_block_erase_60, |
| 2832 | }, { |
| 2833 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2834 | .block_erase = spi_block_erase_c7, |
| 2835 | } |
| 2836 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2837 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2838 | .write = spi_chip_write_256, |
| 2839 | .read = spi_chip_read, |
| 2840 | }, |
| 2841 | |
| 2842 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2843 | .vendor = "Eon", |
| 2844 | .name = "EN29F010", |
| 2845 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2846 | .manufacture_id = EON_ID, |
| 2847 | .model_id = EN_29F010, |
| 2848 | .total_size = 128, |
| 2849 | .page_size = 128, |
| 2850 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2851 | .tested = TEST_OK_PREW, |
| 2852 | .probe = probe_jedec, |
| 2853 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2854 | .block_erasers = |
| 2855 | { |
| 2856 | { |
| 2857 | .eraseblocks = { {16 * 1024, 8} }, |
| 2858 | .block_erase = erase_sector_jedec, |
| 2859 | }, |
| 2860 | { |
| 2861 | .eraseblocks = { {128 * 1024, 1} }, |
| 2862 | .block_erase = erase_chip_block_jedec, |
| 2863 | }, |
| 2864 | }, |
| 2865 | .write = write_jedec_1, |
| 2866 | .read = read_memmapped, |
| 2867 | }, |
| 2868 | |
| 2869 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2870 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2871 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2872 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2873 | .manufacture_id = EON_ID, |
| 2874 | .model_id = EN_29F002B, |
| 2875 | .total_size = 256, |
| 2876 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2877 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2878 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2879 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2880 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2881 | .block_erasers = |
| 2882 | { |
| 2883 | { |
| 2884 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2885 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2886 | {8 * 1024, 2}, |
| 2887 | {32 * 1024, 1}, |
| 2888 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2889 | }, |
| 2890 | .block_erase = erase_sector_jedec, |
| 2891 | }, { |
| 2892 | .eraseblocks = { {256 * 1024, 1} }, |
| 2893 | .block_erase = erase_chip_block_jedec, |
| 2894 | }, |
| 2895 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2896 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2897 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2898 | }, |
| 2899 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2900 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2901 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2902 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2903 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2904 | .manufacture_id = EON_ID, |
| 2905 | .model_id = EN_29F002T, |
| 2906 | .total_size = 256, |
| 2907 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2908 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2909 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2910 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2911 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2912 | .block_erasers = |
| 2913 | { |
| 2914 | { |
| 2915 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2916 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2917 | {32 * 1024, 1}, |
| 2918 | {8 * 1024, 2}, |
| 2919 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2920 | }, |
| 2921 | .block_erase = erase_sector_jedec, |
| 2922 | }, { |
| 2923 | .eraseblocks = { {256 * 1024, 1} }, |
| 2924 | .block_erase = erase_chip_block_jedec, |
| 2925 | }, |
| 2926 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2927 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2928 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2929 | }, |
| 2930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2931 | { |
| 2932 | .vendor = "Fujitsu", |
| 2933 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2934 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2935 | .manufacture_id = FUJITSU_ID, |
| 2936 | .model_id = MBM29F004BC, |
| 2937 | .total_size = 512, |
| 2938 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2939 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2940 | .tested = TEST_UNTESTED, |
| 2941 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2942 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2943 | .block_erasers = |
| 2944 | { |
| 2945 | { |
| 2946 | .eraseblocks = { |
| 2947 | {16 * 1024, 1}, |
| 2948 | {8 * 1024, 2}, |
| 2949 | {32 * 1024, 1}, |
| 2950 | {64 * 1024, 7}, |
| 2951 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2952 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2953 | }, { |
| 2954 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2955 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2956 | }, |
| 2957 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2958 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2959 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2960 | }, |
| 2961 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2962 | { |
| 2963 | .vendor = "Fujitsu", |
| 2964 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2965 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2966 | .manufacture_id = FUJITSU_ID, |
| 2967 | .model_id = MBM29F004TC, |
| 2968 | .total_size = 512, |
| 2969 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2970 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2971 | .tested = TEST_UNTESTED, |
| 2972 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2973 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2974 | .block_erasers = |
| 2975 | { |
| 2976 | { |
| 2977 | .eraseblocks = { |
| 2978 | {64 * 1024, 7}, |
| 2979 | {32 * 1024, 1}, |
| 2980 | {8 * 1024, 2}, |
| 2981 | {16 * 1024, 1}, |
| 2982 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2983 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2984 | }, { |
| 2985 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2986 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2987 | }, |
| 2988 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2989 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2990 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2991 | }, |
| 2992 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2993 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2994 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2995 | .vendor = "Fujitsu", |
| 2996 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2997 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2998 | .manufacture_id = FUJITSU_ID, |
| 2999 | .model_id = MBM29F400BC, |
| 3000 | .total_size = 512, |
| 3001 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3002 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3003 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3004 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3005 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3006 | .block_erasers = |
| 3007 | { |
| 3008 | { |
| 3009 | .eraseblocks = { |
| 3010 | {16 * 1024, 1}, |
| 3011 | {8 * 1024, 2}, |
| 3012 | {32 * 1024, 1}, |
| 3013 | {64 * 1024, 7}, |
| 3014 | }, |
| 3015 | .block_erase = block_erase_m29f400bt, |
| 3016 | }, { |
| 3017 | .eraseblocks = { {512 * 1024, 1} }, |
| 3018 | .block_erase = block_erase_chip_m29f400bt, |
| 3019 | }, |
| 3020 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3021 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3022 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3023 | }, |
| 3024 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3025 | { |
| 3026 | .vendor = "Fujitsu", |
| 3027 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3028 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3029 | .manufacture_id = FUJITSU_ID, |
| 3030 | .model_id = MBM29F400TC, |
| 3031 | .total_size = 512, |
| 3032 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3033 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3034 | .tested = TEST_UNTESTED, |
| 3035 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3036 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3037 | .block_erasers = |
| 3038 | { |
| 3039 | { |
| 3040 | .eraseblocks = { |
| 3041 | {64 * 1024, 7}, |
| 3042 | {32 * 1024, 1}, |
| 3043 | {8 * 1024, 2}, |
| 3044 | {16 * 1024, 1}, |
| 3045 | }, |
| 3046 | .block_erase = block_erase_m29f400bt, |
| 3047 | }, { |
| 3048 | .eraseblocks = { {512 * 1024, 1} }, |
| 3049 | .block_erase = block_erase_chip_m29f400bt, |
| 3050 | }, |
| 3051 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3052 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3053 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3054 | }, |
| 3055 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3056 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3057 | .vendor = "Hyundai", |
| 3058 | .name = "HY29F002T", |
| 3059 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3060 | .manufacture_id = HYUNDAI_ID, |
| 3061 | .model_id = HY_29F002T, |
| 3062 | .total_size = 256, |
| 3063 | .page_size = 256 * 1024, |
| 3064 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3065 | .tested = TEST_OK_PREW, |
| 3066 | .probe = probe_jedec, |
| 3067 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3068 | .block_erasers = |
| 3069 | { |
| 3070 | { |
| 3071 | .eraseblocks = { |
| 3072 | {64 * 1024, 3}, |
| 3073 | {32 * 1024, 1}, |
| 3074 | {8 * 1024, 2}, |
| 3075 | {16 * 1024, 1}, |
| 3076 | }, |
| 3077 | .block_erase = erase_sector_jedec, |
| 3078 | }, { |
| 3079 | .eraseblocks = { {256 * 1024, 1} }, |
| 3080 | .block_erase = erase_chip_block_jedec, |
| 3081 | }, |
| 3082 | }, |
| 3083 | .write = write_jedec_1, |
| 3084 | .read = read_memmapped, |
| 3085 | }, |
| 3086 | |
| 3087 | { |
| 3088 | .vendor = "Hyundai", |
| 3089 | .name = "HY29F002B", |
| 3090 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3091 | .manufacture_id = HYUNDAI_ID, |
| 3092 | .model_id = HY_29F002B, |
| 3093 | .total_size = 256, |
| 3094 | .page_size = 256 * 1024, |
| 3095 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3096 | .tested = TEST_UNTESTED, |
| 3097 | .probe = probe_jedec, |
| 3098 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3099 | .block_erasers = |
| 3100 | { |
| 3101 | { |
| 3102 | .eraseblocks = { |
| 3103 | {16 * 1024, 1}, |
| 3104 | {8 * 1024, 2}, |
| 3105 | {32 * 1024, 1}, |
| 3106 | {64 * 1024, 3}, |
| 3107 | }, |
| 3108 | .block_erase = erase_sector_jedec, |
| 3109 | }, { |
| 3110 | .eraseblocks = { {256 * 1024, 1} }, |
| 3111 | .block_erase = erase_chip_block_jedec, |
| 3112 | }, |
| 3113 | }, |
| 3114 | .write = write_jedec_1, |
| 3115 | .read = read_memmapped, |
| 3116 | }, |
| 3117 | |
| 3118 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3119 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3120 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3121 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3122 | .manufacture_id = INTEL_ID, |
| 3123 | .model_id = P28F001BXB, |
| 3124 | .total_size = 128, |
| 3125 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3126 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3127 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3128 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3129 | .block_erasers = |
| 3130 | { |
| 3131 | { |
| 3132 | .eraseblocks = { |
| 3133 | {8 * 1024, 1}, |
| 3134 | {4 * 1024, 2}, |
| 3135 | {112 * 1024, 1}, |
| 3136 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3137 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3138 | }, |
| 3139 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3140 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3141 | .read = read_memmapped, |
| 3142 | }, |
| 3143 | |
| 3144 | { |
| 3145 | .vendor = "Intel", |
| 3146 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3147 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3148 | .manufacture_id = INTEL_ID, |
| 3149 | .model_id = P28F001BXT, |
| 3150 | .total_size = 128, |
| 3151 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3152 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3153 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3154 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3155 | .block_erasers = |
| 3156 | { |
| 3157 | { |
| 3158 | .eraseblocks = { |
| 3159 | {112 * 1024, 1}, |
| 3160 | {4 * 1024, 2}, |
| 3161 | {8 * 1024, 1}, |
| 3162 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3163 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3164 | }, |
| 3165 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3166 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3167 | .read = read_memmapped, |
| 3168 | }, |
| 3169 | |
| 3170 | { |
| 3171 | .vendor = "Intel", |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3172 | .name = "28F002BC-T", |
| 3173 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3174 | .manufacture_id = INTEL_ID, |
| 3175 | .model_id = P28F002BC, |
| 3176 | .total_size = 256, |
| 3177 | .page_size = 256 * 1024, |
| 3178 | .tested = TEST_UNTESTED, |
| 3179 | .probe = probe_82802ab, |
| 3180 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3181 | .block_erasers = |
| 3182 | { |
| 3183 | { |
| 3184 | .eraseblocks = { |
| 3185 | {128 * 1024, 1}, |
| 3186 | {96 * 1024, 1}, |
| 3187 | {8 * 1024, 2}, |
| 3188 | {16 * 1024, 1}, |
| 3189 | }, |
| 3190 | .block_erase = erase_block_82802ab, |
| 3191 | }, |
| 3192 | }, |
| 3193 | .write = write_82802ab, |
| 3194 | .read = read_memmapped, |
| 3195 | }, |
| 3196 | |
| 3197 | { |
| 3198 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3199 | .name = "28F004S5", |
| 3200 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3201 | .manufacture_id = INTEL_ID, |
| 3202 | .model_id = E_28F004S5, |
| 3203 | .total_size = 512, |
| 3204 | .page_size = 256, |
| 3205 | .tested = TEST_UNTESTED, |
| 3206 | .probe = probe_82802ab, |
| 3207 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3208 | .block_erasers = |
| 3209 | { |
| 3210 | { |
| 3211 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3212 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3213 | }, |
| 3214 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3215 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3216 | .write = write_82802ab, |
| 3217 | .read = read_memmapped, |
| 3218 | }, |
| 3219 | |
| 3220 | { |
| 3221 | .vendor = "Intel", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3222 | .name = "28F004BV/BE-B", |
| 3223 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3224 | .manufacture_id = INTEL_ID, |
| 3225 | .model_id = P28F004BB, |
| 3226 | .total_size = 512, |
| 3227 | .page_size = 128 * 1024, /* maximal block size */ |
| 3228 | .tested = TEST_UNTESTED, |
| 3229 | .probe = probe_82802ab, |
| 3230 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3231 | .block_erasers = |
| 3232 | { |
| 3233 | { |
| 3234 | .eraseblocks = { |
| 3235 | {16 * 1024, 1}, |
| 3236 | {8 * 1024, 2}, |
| 3237 | {96 * 1024, 1}, |
| 3238 | {128 * 1024, 3}, |
| 3239 | }, |
| 3240 | .block_erase = erase_block_82802ab, |
| 3241 | }, |
| 3242 | }, |
| 3243 | .write = write_82802ab, |
| 3244 | .read = read_memmapped, |
| 3245 | }, |
| 3246 | |
| 3247 | { |
| 3248 | .vendor = "Intel", |
| 3249 | .name = "28F004BV/BE-T", |
| 3250 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3251 | .manufacture_id = INTEL_ID, |
| 3252 | .model_id = P28F004BT, |
| 3253 | .total_size = 512, |
| 3254 | .page_size = 128 * 1024, /* maximal block size */ |
| 3255 | .tested = TEST_UNTESTED, |
| 3256 | .probe = probe_82802ab, |
| 3257 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3258 | .block_erasers = |
| 3259 | { |
| 3260 | { |
| 3261 | .eraseblocks = { |
| 3262 | {128 * 1024, 3}, |
| 3263 | {96 * 1024, 1}, |
| 3264 | {8 * 1024, 2}, |
| 3265 | {16 * 1024, 1}, |
| 3266 | }, |
| 3267 | .block_erase = erase_block_82802ab, |
| 3268 | }, |
| 3269 | }, |
| 3270 | .write = write_82802ab, |
| 3271 | .read = read_memmapped, |
| 3272 | }, |
| 3273 | |
| 3274 | { |
| 3275 | .vendor = "Intel", |
| 3276 | .name = "28F400BV/CV/CE-B", |
| 3277 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3278 | .manufacture_id = INTEL_ID, |
| 3279 | .model_id = P28F400BB, |
| 3280 | .total_size = 512, |
| 3281 | .page_size = 128 * 1024, /* maximal block size */ |
| 3282 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3283 | .tested = TEST_UNTESTED, |
| 3284 | .probe = probe_82802ab, |
| 3285 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3286 | .block_erasers = |
| 3287 | { |
| 3288 | { |
| 3289 | .eraseblocks = { |
| 3290 | {16 * 1024, 1}, |
| 3291 | {8 * 1024, 2}, |
| 3292 | {96 * 1024, 1}, |
| 3293 | {128 * 1024, 3}, |
| 3294 | }, |
| 3295 | .block_erase = erase_block_82802ab, |
| 3296 | }, |
| 3297 | }, |
| 3298 | .write = write_82802ab, |
| 3299 | .read = read_memmapped, |
| 3300 | }, |
| 3301 | |
| 3302 | { |
| 3303 | .vendor = "Intel", |
| 3304 | .name = "28F400BV/CV/CE-T", |
| 3305 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3306 | .manufacture_id = INTEL_ID, |
| 3307 | .model_id = P28F400BT, |
| 3308 | .total_size = 512, |
| 3309 | .page_size = 128 * 1024, /* maximal block size */ |
| 3310 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3311 | .tested = TEST_UNTESTED, |
| 3312 | .probe = probe_82802ab, |
| 3313 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3314 | .block_erasers = |
| 3315 | { |
| 3316 | { |
| 3317 | .eraseblocks = { |
| 3318 | {128 * 1024, 3}, |
| 3319 | {96 * 1024, 1}, |
| 3320 | {8 * 1024, 2}, |
| 3321 | {16 * 1024, 1}, |
| 3322 | }, |
| 3323 | .block_erase = erase_block_82802ab, |
| 3324 | }, |
| 3325 | }, |
| 3326 | .write = write_82802ab, |
| 3327 | .read = read_memmapped, |
| 3328 | }, |
| 3329 | |
| 3330 | { |
| 3331 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3332 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3333 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3334 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3335 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3336 | .total_size = 512, |
| 3337 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3338 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3339 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3340 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3341 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3342 | .block_erasers = |
| 3343 | { |
| 3344 | { |
| 3345 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3346 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3347 | }, |
| 3348 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3349 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3350 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3351 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3352 | }, |
| 3353 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3354 | { |
| 3355 | .vendor = "Intel", |
| 3356 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3357 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3358 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3359 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3360 | .total_size = 1024, |
| 3361 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3362 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3363 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3364 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3365 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3366 | .block_erasers = |
| 3367 | { |
| 3368 | { |
| 3369 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3370 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3371 | }, |
| 3372 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3373 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3374 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3375 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3376 | }, |
| 3377 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3378 | { |
| 3379 | .vendor = "Macronix", |
| 3380 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3381 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3382 | .manufacture_id = MX_ID, |
| 3383 | .model_id = MX_25L512, |
| 3384 | .total_size = 64, |
| 3385 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3386 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3387 | .tested = TEST_UNTESTED, |
| 3388 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3389 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3390 | .block_erasers = |
| 3391 | { |
| 3392 | { |
| 3393 | .eraseblocks = { {4 * 1024, 16} }, |
| 3394 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3395 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3396 | .eraseblocks = { {64 * 1024, 1} }, |
| 3397 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3398 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3399 | .eraseblocks = { {64 * 1024, 1} }, |
| 3400 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3401 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3402 | .eraseblocks = { {64 * 1024, 1} }, |
| 3403 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3404 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3405 | .eraseblocks = { {64 * 1024, 1} }, |
| 3406 | .block_erase = spi_block_erase_c7, |
| 3407 | }, |
| 3408 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3409 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3410 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3411 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3412 | }, |
| 3413 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3414 | { |
| 3415 | .vendor = "Macronix", |
| 3416 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3417 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3418 | .manufacture_id = MX_ID, |
| 3419 | .model_id = MX_25L1005, |
| 3420 | .total_size = 128, |
| 3421 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3422 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3423 | .tested = TEST_UNTESTED, |
| 3424 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3425 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3426 | .block_erasers = |
| 3427 | { |
| 3428 | { |
| 3429 | .eraseblocks = { {4 * 1024, 32} }, |
| 3430 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3431 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3432 | .eraseblocks = { {64 * 1024, 2} }, |
| 3433 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3434 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3435 | .eraseblocks = { {128 * 1024, 1} }, |
| 3436 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3437 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3438 | .eraseblocks = { {128 * 1024, 1} }, |
| 3439 | .block_erase = spi_block_erase_c7, |
| 3440 | }, |
| 3441 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3442 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3443 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3444 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3445 | }, |
| 3446 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3447 | { |
| 3448 | .vendor = "Macronix", |
| 3449 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3450 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3451 | .manufacture_id = MX_ID, |
| 3452 | .model_id = MX_25L2005, |
| 3453 | .total_size = 256, |
| 3454 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3455 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3456 | .tested = TEST_UNTESTED, |
| 3457 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3458 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3459 | .block_erasers = |
| 3460 | { |
| 3461 | { |
| 3462 | .eraseblocks = { {4 * 1024, 64} }, |
| 3463 | .block_erase = spi_block_erase_20, |
| 3464 | }, { |
| 3465 | .eraseblocks = { {64 * 1024, 4} }, |
| 3466 | .block_erase = spi_block_erase_52, |
| 3467 | }, { |
| 3468 | .eraseblocks = { {64 * 1024, 4} }, |
| 3469 | .block_erase = spi_block_erase_d8, |
| 3470 | }, { |
| 3471 | .eraseblocks = { {256 * 1024, 1} }, |
| 3472 | .block_erase = spi_block_erase_60, |
| 3473 | }, { |
| 3474 | .eraseblocks = { {256 * 1024, 1} }, |
| 3475 | .block_erase = spi_block_erase_c7, |
| 3476 | }, |
| 3477 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3478 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3479 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3480 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3481 | }, |
| 3482 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3483 | { |
| 3484 | .vendor = "Macronix", |
| 3485 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3486 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3487 | .manufacture_id = MX_ID, |
| 3488 | .model_id = MX_25L4005, |
| 3489 | .total_size = 512, |
| 3490 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3491 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3492 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3493 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3494 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3495 | .block_erasers = |
| 3496 | { |
| 3497 | { |
| 3498 | .eraseblocks = { {4 * 1024, 128} }, |
| 3499 | .block_erase = spi_block_erase_20, |
| 3500 | }, { |
| 3501 | .eraseblocks = { {64 * 1024, 8} }, |
| 3502 | .block_erase = spi_block_erase_52, |
| 3503 | }, { |
| 3504 | .eraseblocks = { {64 * 1024, 8} }, |
| 3505 | .block_erase = spi_block_erase_d8, |
| 3506 | }, { |
| 3507 | .eraseblocks = { {512 * 1024, 1} }, |
| 3508 | .block_erase = spi_block_erase_60, |
| 3509 | }, { |
| 3510 | .eraseblocks = { {512 * 1024, 1} }, |
| 3511 | .block_erase = spi_block_erase_c7, |
| 3512 | }, |
| 3513 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3514 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3515 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3516 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3517 | }, |
| 3518 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3519 | { |
| 3520 | .vendor = "Macronix", |
| 3521 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3522 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3523 | .manufacture_id = MX_ID, |
| 3524 | .model_id = MX_25L8005, |
| 3525 | .total_size = 1024, |
| 3526 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3527 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 3528 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3529 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3530 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3531 | .block_erasers = |
| 3532 | { |
| 3533 | { |
| 3534 | .eraseblocks = { {4 * 1024, 256} }, |
| 3535 | .block_erase = spi_block_erase_20, |
| 3536 | }, { |
| 3537 | .eraseblocks = { {64 * 1024, 16} }, |
| 3538 | .block_erase = spi_block_erase_52, |
| 3539 | }, { |
| 3540 | .eraseblocks = { {64 * 1024, 16} }, |
| 3541 | .block_erase = spi_block_erase_d8, |
| 3542 | }, { |
| 3543 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3544 | .block_erase = spi_block_erase_60, |
| 3545 | }, { |
| 3546 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3547 | .block_erase = spi_block_erase_c7, |
| 3548 | }, |
| 3549 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3550 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3551 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3552 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3553 | }, |
| 3554 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3555 | { |
| 3556 | .vendor = "Macronix", |
| 3557 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3558 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3559 | .manufacture_id = MX_ID, |
| 3560 | .model_id = MX_25L1605, |
| 3561 | .total_size = 2048, |
| 3562 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3563 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3564 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3565 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3566 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3567 | .block_erasers = |
| 3568 | { |
| 3569 | { |
| 3570 | .eraseblocks = { {4 * 1024, 512} }, |
| 3571 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3572 | }, { |
| 3573 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3574 | .block_erase = spi_block_erase_52, |
| 3575 | }, { |
| 3576 | .eraseblocks = { {64 * 1024, 32} }, |
| 3577 | .block_erase = spi_block_erase_d8, |
| 3578 | }, { |
| 3579 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3580 | .block_erase = spi_block_erase_60, |
| 3581 | }, { |
| 3582 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3583 | .block_erase = spi_block_erase_c7, |
| 3584 | }, |
| 3585 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3586 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3587 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3588 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3589 | }, |
| 3590 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3591 | { |
| 3592 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3593 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3594 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3595 | .manufacture_id = MX_ID, |
| 3596 | .model_id = MX_25L1635D, |
| 3597 | .total_size = 2048, |
| 3598 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3599 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3600 | .tested = TEST_UNTESTED, |
| 3601 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3602 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3603 | .block_erasers = |
| 3604 | { |
| 3605 | { |
| 3606 | .eraseblocks = { {4 * 1024, 512} }, |
| 3607 | .block_erase = spi_block_erase_20, |
| 3608 | }, { |
| 3609 | .eraseblocks = { {64 * 1024, 32} }, |
| 3610 | .block_erase = spi_block_erase_d8, |
| 3611 | }, { |
| 3612 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3613 | .block_erase = spi_block_erase_60, |
| 3614 | }, { |
| 3615 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3616 | .block_erase = spi_block_erase_c7, |
| 3617 | } |
| 3618 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3619 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3620 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3621 | .read = spi_chip_read, |
| 3622 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 3623 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3624 | { |
| 3625 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 3626 | .name = "MX25L1635E", |
| 3627 | .bustype = CHIP_BUSTYPE_SPI, |
| 3628 | .manufacture_id = MX_ID, |
| 3629 | .model_id = MX_25L1635E, |
| 3630 | .total_size = 2048, |
| 3631 | .page_size = 256, |
| 3632 | .feature_bits = FEATURE_WRSR_WREN, |
| 3633 | .tested = TEST_UNTESTED, |
| 3634 | .probe = probe_spi_rdid, |
| 3635 | .probe_timing = TIMING_ZERO, |
| 3636 | .block_erasers = |
| 3637 | { |
| 3638 | { |
| 3639 | .eraseblocks = { {4 * 1024, 512} }, |
| 3640 | .block_erase = spi_block_erase_20, |
| 3641 | }, { |
| 3642 | .eraseblocks = { {64 * 1024, 32} }, |
| 3643 | .block_erase = spi_block_erase_d8, |
| 3644 | }, { |
| 3645 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3646 | .block_erase = spi_block_erase_60, |
| 3647 | }, { |
| 3648 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3649 | .block_erase = spi_block_erase_c7, |
| 3650 | } |
| 3651 | }, |
| 3652 | .unlock = spi_disable_blockprotect, |
| 3653 | .write = spi_chip_write_256, |
| 3654 | .read = spi_chip_read, |
| 3655 | }, |
| 3656 | |
| 3657 | { |
| 3658 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3659 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3660 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3661 | .manufacture_id = MX_ID, |
| 3662 | .model_id = MX_25L3205, |
| 3663 | .total_size = 4096, |
| 3664 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3665 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3666 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3667 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3668 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3669 | .block_erasers = |
| 3670 | { |
| 3671 | { |
| 3672 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3673 | .block_erase = spi_block_erase_20, |
| 3674 | }, { |
| 3675 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3676 | .block_erase = spi_block_erase_d8, |
| 3677 | }, { |
| 3678 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3679 | .block_erase = spi_block_erase_60, |
| 3680 | }, { |
| 3681 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3682 | .block_erase = spi_block_erase_c7, |
| 3683 | }, |
| 3684 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3685 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3686 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3687 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3688 | }, |
| 3689 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3690 | { |
| 3691 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3692 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3693 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3694 | .manufacture_id = MX_ID, |
| 3695 | .model_id = MX_25L3235D, |
| 3696 | .total_size = 4096, |
| 3697 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3698 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3699 | .tested = TEST_UNTESTED, |
| 3700 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3701 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3702 | .block_erasers = |
| 3703 | { |
| 3704 | { |
| 3705 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3706 | .block_erase = spi_block_erase_20, |
| 3707 | }, { |
| 3708 | .eraseblocks = { {64 * 1024, 64} }, |
| 3709 | .block_erase = spi_block_erase_d8, |
| 3710 | }, { |
| 3711 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3712 | .block_erase = spi_block_erase_60, |
| 3713 | }, { |
| 3714 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3715 | .block_erase = spi_block_erase_c7, |
| 3716 | } |
| 3717 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3718 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3719 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3720 | .read = spi_chip_read, |
| 3721 | }, |
| 3722 | |
| 3723 | { |
| 3724 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3725 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3726 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3727 | .manufacture_id = MX_ID, |
| 3728 | .model_id = MX_25L6405, |
| 3729 | .total_size = 8192, |
| 3730 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3731 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 3732 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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 | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3735 | .block_erasers = |
| 3736 | { |
| 3737 | { |
| 3738 | .eraseblocks = { {64 * 1024, 128} }, |
| 3739 | .block_erase = spi_block_erase_20, |
| 3740 | }, { |
| 3741 | .eraseblocks = { {64 * 1024, 128} }, |
| 3742 | .block_erase = spi_block_erase_d8, |
| 3743 | }, { |
| 3744 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3745 | .block_erase = spi_block_erase_60, |
| 3746 | }, { |
| 3747 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3748 | .block_erase = spi_block_erase_c7, |
| 3749 | } |
| 3750 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3751 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3752 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3753 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3754 | }, |
| 3755 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3756 | { |
| 3757 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3758 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3759 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3760 | .manufacture_id = MX_ID, |
| 3761 | .model_id = MX_25L12805, |
| 3762 | .total_size = 16384, |
| 3763 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3764 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3765 | .tested = TEST_UNTESTED, |
| 3766 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3767 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3768 | .block_erasers = |
| 3769 | { |
| 3770 | { |
| 3771 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3772 | .block_erase = spi_block_erase_20, |
| 3773 | }, { |
| 3774 | .eraseblocks = { {64 * 1024, 256} }, |
| 3775 | .block_erase = spi_block_erase_d8, |
| 3776 | }, { |
| 3777 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3778 | .block_erase = spi_block_erase_60, |
| 3779 | }, { |
| 3780 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3781 | .block_erase = spi_block_erase_c7, |
| 3782 | } |
| 3783 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3784 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3785 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3786 | .read = spi_chip_read, |
| 3787 | }, |
| 3788 | |
| 3789 | { |
| 3790 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3791 | .name = "MX29F001B", |
| 3792 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3793 | .manufacture_id = MX_ID, |
| 3794 | .model_id = MX_29F001B, |
| 3795 | .total_size = 128, |
| 3796 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3797 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3798 | .tested = TEST_UNTESTED, |
| 3799 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3800 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3801 | .block_erasers = |
| 3802 | { |
| 3803 | { |
| 3804 | .eraseblocks = { |
| 3805 | {8 * 1024, 1}, |
| 3806 | {4 * 1024, 2}, |
| 3807 | {8 * 1024, 2}, |
| 3808 | {32 * 1024, 1}, |
| 3809 | {64 * 1024, 1}, |
| 3810 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3811 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3812 | }, { |
| 3813 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3814 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3815 | } |
| 3816 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3817 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3818 | .read = read_memmapped, |
| 3819 | }, |
| 3820 | |
| 3821 | { |
| 3822 | .vendor = "Macronix", |
| 3823 | .name = "MX29F001T", |
| 3824 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3825 | .manufacture_id = MX_ID, |
| 3826 | .model_id = MX_29F001T, |
| 3827 | .total_size = 128, |
| 3828 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3829 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3830 | .tested = TEST_UNTESTED, |
| 3831 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3832 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3833 | .block_erasers = |
| 3834 | { |
| 3835 | { |
| 3836 | .eraseblocks = { |
| 3837 | {64 * 1024, 1}, |
| 3838 | {32 * 1024, 1}, |
| 3839 | {8 * 1024, 2}, |
| 3840 | {4 * 1024, 2}, |
| 3841 | {8 * 1024, 1}, |
| 3842 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3843 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3844 | }, { |
| 3845 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3846 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3847 | } |
| 3848 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3849 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3850 | .read = read_memmapped, |
| 3851 | }, |
| 3852 | |
| 3853 | { |
| 3854 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3855 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3856 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3857 | .manufacture_id = MX_ID, |
| 3858 | .model_id = MX_29F002B, |
| 3859 | .total_size = 256, |
| 3860 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3861 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3862 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3863 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3864 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3865 | .block_erasers = |
| 3866 | { |
| 3867 | { |
| 3868 | .eraseblocks = { |
| 3869 | {16 * 1024, 1}, |
| 3870 | {8 * 1024, 2}, |
| 3871 | {32 * 1024, 1}, |
| 3872 | {64 * 1024, 3}, |
| 3873 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3874 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3875 | }, { |
| 3876 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3877 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3878 | }, |
| 3879 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3880 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3881 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3882 | }, |
| 3883 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3884 | { |
| 3885 | .vendor = "Macronix", |
| 3886 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3887 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3888 | .manufacture_id = MX_ID, |
| 3889 | .model_id = MX_29F002T, |
| 3890 | .total_size = 256, |
| 3891 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3892 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3893 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3894 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3895 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3896 | .block_erasers = |
| 3897 | { |
| 3898 | { |
| 3899 | .eraseblocks = { |
| 3900 | {64 * 1024, 3}, |
| 3901 | {32 * 1024, 1}, |
| 3902 | {8 * 1024, 2}, |
| 3903 | {16 * 1024, 1}, |
| 3904 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3905 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3906 | }, { |
| 3907 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3908 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3909 | }, |
| 3910 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3911 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3912 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3913 | }, |
| 3914 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3915 | { |
| 3916 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3917 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3918 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3919 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3920 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3921 | .total_size = 512, |
| 3922 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3923 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3924 | .tested = TEST_UNTESTED, |
| 3925 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3926 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3927 | .block_erasers = |
| 3928 | { |
| 3929 | { |
| 3930 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3931 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3932 | }, { |
| 3933 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3934 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3935 | }, |
| 3936 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3937 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3938 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3939 | }, |
| 3940 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3941 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 3942 | .vendor = "MoselVitelic", |
| 3943 | .name = "V29C51000B", |
| 3944 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3945 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3946 | .model_id = MVC_V29C51000B, |
| 3947 | .total_size = 64, |
| 3948 | .page_size = 512, |
| 3949 | .feature_bits = FEATURE_EITHER_RESET, |
| 3950 | .tested = TEST_UNTESTED, |
| 3951 | .probe = probe_jedec, |
| 3952 | .probe_timing = TIMING_ZERO, |
| 3953 | .block_erasers = |
| 3954 | { |
| 3955 | { |
| 3956 | .eraseblocks = { {512, 128} }, |
| 3957 | .block_erase = erase_sector_jedec, |
| 3958 | }, { |
| 3959 | .eraseblocks = { {64 * 1024, 1} }, |
| 3960 | .block_erase = erase_chip_block_jedec, |
| 3961 | }, |
| 3962 | }, |
| 3963 | .write = write_jedec_1, |
| 3964 | .read = read_memmapped, |
| 3965 | }, |
| 3966 | |
| 3967 | { |
| 3968 | .vendor = "MoselVitelic", |
| 3969 | .name = "V29C51000T", |
| 3970 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3971 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3972 | .model_id = MVC_V29C51000T, |
| 3973 | .total_size = 64, |
| 3974 | .page_size = 512, |
| 3975 | .feature_bits = FEATURE_EITHER_RESET, |
| 3976 | .tested = TEST_UNTESTED, |
| 3977 | .probe = probe_jedec, |
| 3978 | .probe_timing = TIMING_ZERO, |
| 3979 | .block_erasers = |
| 3980 | { |
| 3981 | { |
| 3982 | .eraseblocks = { {512, 128} }, |
| 3983 | .block_erase = erase_sector_jedec, |
| 3984 | }, { |
| 3985 | .eraseblocks = { {64 * 1024, 1} }, |
| 3986 | .block_erase = erase_chip_block_jedec, |
| 3987 | }, |
| 3988 | }, |
| 3989 | .write = write_jedec_1, |
| 3990 | .read = read_memmapped, |
| 3991 | }, |
| 3992 | |
| 3993 | { |
| 3994 | .vendor = "MoselVitelic", |
| 3995 | .name = "V29C51400B", |
| 3996 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3997 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3998 | .model_id = MVC_V29C51400B, |
| 3999 | .total_size = 512, |
| 4000 | .page_size = 1024, |
| 4001 | .feature_bits = FEATURE_EITHER_RESET, |
| 4002 | .tested = TEST_UNTESTED, |
| 4003 | .probe = probe_jedec, |
| 4004 | .probe_timing = TIMING_ZERO, |
| 4005 | .block_erasers = |
| 4006 | { |
| 4007 | { |
| 4008 | .eraseblocks = { {1024, 512} }, |
| 4009 | .block_erase = erase_sector_jedec, |
| 4010 | }, { |
| 4011 | .eraseblocks = { {512 * 1024, 1} }, |
| 4012 | .block_erase = erase_chip_block_jedec, |
| 4013 | }, |
| 4014 | }, |
| 4015 | .write = write_jedec_1, |
| 4016 | .read = read_memmapped, |
| 4017 | }, |
| 4018 | |
| 4019 | { |
| 4020 | .vendor = "MoselVitelic", |
| 4021 | .name = "V29C51400T", |
| 4022 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4023 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4024 | .model_id = MVC_V29C51400T, |
| 4025 | .total_size = 512, |
| 4026 | .page_size = 1024, |
| 4027 | .feature_bits = FEATURE_EITHER_RESET, |
| 4028 | .tested = TEST_UNTESTED, |
| 4029 | .probe = probe_jedec, |
| 4030 | .probe_timing = TIMING_ZERO, |
| 4031 | .block_erasers = |
| 4032 | { |
| 4033 | { |
| 4034 | .eraseblocks = { {1024, 512} }, |
| 4035 | .block_erase = erase_sector_jedec, |
| 4036 | }, { |
| 4037 | .eraseblocks = { {512 * 1024, 1} }, |
| 4038 | .block_erase = erase_chip_block_jedec, |
| 4039 | }, |
| 4040 | }, |
| 4041 | .write = write_jedec_1, |
| 4042 | .read = read_memmapped, |
| 4043 | }, |
| 4044 | |
| 4045 | { |
| 4046 | .vendor = "MoselVitelic", |
| 4047 | .name = "V29LC51000", |
| 4048 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4049 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4050 | .model_id = MVC_V29LC51000, |
| 4051 | .total_size = 64, |
| 4052 | .page_size = 512, |
| 4053 | .feature_bits = FEATURE_EITHER_RESET, |
| 4054 | .tested = TEST_UNTESTED, |
| 4055 | .probe = probe_jedec, |
| 4056 | .probe_timing = TIMING_ZERO, |
| 4057 | .block_erasers = |
| 4058 | { |
| 4059 | { |
| 4060 | .eraseblocks = { {512, 128} }, |
| 4061 | .block_erase = erase_sector_jedec, |
| 4062 | }, { |
| 4063 | .eraseblocks = { {64 * 1024, 1} }, |
| 4064 | .block_erase = erase_chip_block_jedec, |
| 4065 | }, |
| 4066 | }, |
| 4067 | .write = write_jedec_1, |
| 4068 | .read = read_memmapped, |
| 4069 | }, |
| 4070 | |
| 4071 | { |
| 4072 | .vendor = "MoselVitelic", |
| 4073 | .name = "V29LC51001", |
| 4074 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4075 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4076 | .model_id = MVC_V29LC51001, |
| 4077 | .total_size = 128, |
| 4078 | .page_size = 512, |
| 4079 | .feature_bits = FEATURE_EITHER_RESET, |
| 4080 | .tested = TEST_UNTESTED, |
| 4081 | .probe = probe_jedec, |
| 4082 | .probe_timing = TIMING_ZERO, |
| 4083 | .block_erasers = |
| 4084 | { |
| 4085 | { |
| 4086 | .eraseblocks = { {512, 256} }, |
| 4087 | .block_erase = erase_sector_jedec, |
| 4088 | }, { |
| 4089 | .eraseblocks = { {128 * 1024, 1} }, |
| 4090 | .block_erase = erase_chip_block_jedec, |
| 4091 | }, |
| 4092 | }, |
| 4093 | .write = write_jedec_1, |
| 4094 | .read = read_memmapped, |
| 4095 | }, |
| 4096 | |
| 4097 | { |
| 4098 | .vendor = "MoselVitelic", |
| 4099 | .name = "V29LC51002", |
| 4100 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4101 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4102 | .model_id = MVC_V29LC51002, |
| 4103 | .total_size = 256, |
| 4104 | .page_size = 512, |
| 4105 | .feature_bits = FEATURE_EITHER_RESET, |
| 4106 | .tested = TEST_UNTESTED, |
| 4107 | .probe = probe_jedec, |
| 4108 | .probe_timing = TIMING_ZERO, |
| 4109 | .block_erasers = |
| 4110 | { |
| 4111 | { |
| 4112 | .eraseblocks = { {512, 512} }, |
| 4113 | .block_erase = erase_sector_jedec, |
| 4114 | }, { |
| 4115 | .eraseblocks = { {256 * 1024, 1} }, |
| 4116 | .block_erase = erase_chip_block_jedec, |
| 4117 | }, |
| 4118 | }, |
| 4119 | .write = write_jedec_1, |
| 4120 | .read = read_memmapped, |
| 4121 | }, |
| 4122 | |
| 4123 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4124 | .vendor = "Numonyx", |
| 4125 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4126 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4127 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4128 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4129 | .total_size = 128, |
| 4130 | .page_size = 256, |
| 4131 | .tested = TEST_UNTESTED, |
| 4132 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4133 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4134 | .block_erasers = |
| 4135 | { |
| 4136 | { |
| 4137 | .eraseblocks = { {4 * 1024, 32} }, |
| 4138 | .block_erase = spi_block_erase_20, |
| 4139 | }, { |
| 4140 | .eraseblocks = { {64 * 1024, 2} }, |
| 4141 | .block_erase = spi_block_erase_d8, |
| 4142 | }, { |
| 4143 | .eraseblocks = { {128 * 1024, 1} }, |
| 4144 | .block_erase = spi_block_erase_c7, |
| 4145 | } |
| 4146 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4147 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4148 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4149 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4150 | }, |
| 4151 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4152 | { |
| 4153 | .vendor = "Numonyx", |
| 4154 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4155 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4156 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4157 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4158 | .total_size = 256, |
| 4159 | .page_size = 256, |
| 4160 | .tested = TEST_UNTESTED, |
| 4161 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4162 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4163 | .block_erasers = |
| 4164 | { |
| 4165 | { |
| 4166 | .eraseblocks = { {4 * 1024, 64} }, |
| 4167 | .block_erase = spi_block_erase_20, |
| 4168 | }, { |
| 4169 | .eraseblocks = { {64 * 1024, 4} }, |
| 4170 | .block_erase = spi_block_erase_d8, |
| 4171 | }, { |
| 4172 | .eraseblocks = { {256 * 1024, 1} }, |
| 4173 | .block_erase = spi_block_erase_c7, |
| 4174 | } |
| 4175 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4176 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4177 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4178 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4179 | }, |
| 4180 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4181 | { |
| 4182 | .vendor = "Numonyx", |
| 4183 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4184 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4185 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4186 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4187 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4188 | .page_size = 256, |
| 4189 | .tested = TEST_UNTESTED, |
| 4190 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4191 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4192 | .block_erasers = |
| 4193 | { |
| 4194 | { |
| 4195 | .eraseblocks = { {4 * 1024, 128} }, |
| 4196 | .block_erase = spi_block_erase_20, |
| 4197 | }, { |
| 4198 | .eraseblocks = { {64 * 1024, 8} }, |
| 4199 | .block_erase = spi_block_erase_d8, |
| 4200 | }, { |
| 4201 | .eraseblocks = { {512 * 1024, 1} }, |
| 4202 | .block_erase = spi_block_erase_c7, |
| 4203 | } |
| 4204 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4205 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4206 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4207 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4208 | }, |
| 4209 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4210 | { |
| 4211 | .vendor = "Numonyx", |
| 4212 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4213 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4214 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4215 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4216 | .total_size = 1024, |
| 4217 | .page_size = 256, |
| 4218 | .tested = TEST_OK_PREW, |
| 4219 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4220 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4221 | .block_erasers = |
| 4222 | { |
| 4223 | { |
| 4224 | .eraseblocks = { {4 * 1024, 256} }, |
| 4225 | .block_erase = spi_block_erase_20, |
| 4226 | }, { |
| 4227 | .eraseblocks = { {64 * 1024, 16} }, |
| 4228 | .block_erase = spi_block_erase_d8, |
| 4229 | }, { |
| 4230 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4231 | .block_erase = spi_block_erase_c7, |
| 4232 | } |
| 4233 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4234 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4235 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4236 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4237 | }, |
| 4238 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4239 | { |
| 4240 | .vendor = "Numonyx", |
| 4241 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4242 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4243 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4244 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4245 | .total_size = 2048, |
| 4246 | .page_size = 256, |
| 4247 | .tested = TEST_UNTESTED, |
| 4248 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4249 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4250 | .block_erasers = |
| 4251 | { |
| 4252 | { |
| 4253 | .eraseblocks = { {4 * 1024, 512} }, |
| 4254 | .block_erase = spi_block_erase_20, |
| 4255 | }, { |
| 4256 | .eraseblocks = { {64 * 1024, 32} }, |
| 4257 | .block_erase = spi_block_erase_d8, |
| 4258 | }, { |
| 4259 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4260 | .block_erase = spi_block_erase_c7, |
| 4261 | } |
| 4262 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4263 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4264 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4265 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4266 | }, |
| 4267 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4268 | { |
| 4269 | .vendor = "PMC", |
| 4270 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4271 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4272 | .manufacture_id = PMC_ID, |
| 4273 | .model_id = PMC_25LV010, |
| 4274 | .total_size = 128, |
| 4275 | .page_size = 256, |
| 4276 | .tested = TEST_UNTESTED, |
| 4277 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4278 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4279 | .block_erasers = |
| 4280 | { |
| 4281 | { |
| 4282 | .eraseblocks = { {4 * 1024, 32} }, |
| 4283 | .block_erase = spi_block_erase_d7, |
| 4284 | }, { |
| 4285 | .eraseblocks = { {32 * 1024, 4} }, |
| 4286 | .block_erase = spi_block_erase_d8, |
| 4287 | }, { |
| 4288 | .eraseblocks = { {128 * 1024, 1} }, |
| 4289 | .block_erase = spi_block_erase_c7, |
| 4290 | } |
| 4291 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4292 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4293 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4294 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4295 | }, |
| 4296 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4297 | { |
| 4298 | .vendor = "PMC", |
| 4299 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4300 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4301 | .manufacture_id = PMC_ID, |
| 4302 | .model_id = PMC_25LV016B, |
| 4303 | .total_size = 2048, |
| 4304 | .page_size = 256, |
| 4305 | .tested = TEST_UNTESTED, |
| 4306 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4307 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4308 | .block_erasers = |
| 4309 | { |
| 4310 | { |
| 4311 | .eraseblocks = { {4 * 1024, 512} }, |
| 4312 | .block_erase = spi_block_erase_d7, |
| 4313 | }, { |
| 4314 | .eraseblocks = { {4 * 1024, 512} }, |
| 4315 | .block_erase = spi_block_erase_20, |
| 4316 | }, { |
| 4317 | .eraseblocks = { {64 * 1024, 32} }, |
| 4318 | .block_erase = spi_block_erase_d8, |
| 4319 | }, { |
| 4320 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4321 | .block_erase = spi_block_erase_60, |
| 4322 | }, { |
| 4323 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4324 | .block_erase = spi_block_erase_c7, |
| 4325 | } |
| 4326 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4327 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4328 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4329 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4330 | }, |
| 4331 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4332 | { |
| 4333 | .vendor = "PMC", |
| 4334 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4335 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4336 | .manufacture_id = PMC_ID, |
| 4337 | .model_id = PMC_25LV020, |
| 4338 | .total_size = 256, |
| 4339 | .page_size = 256, |
| 4340 | .tested = TEST_UNTESTED, |
| 4341 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4342 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4343 | .block_erasers = |
| 4344 | { |
| 4345 | { |
| 4346 | .eraseblocks = { {4 * 1024, 64} }, |
| 4347 | .block_erase = spi_block_erase_d7, |
| 4348 | }, { |
| 4349 | .eraseblocks = { {64 * 1024, 4} }, |
| 4350 | .block_erase = spi_block_erase_d8, |
| 4351 | }, { |
| 4352 | .eraseblocks = { {256 * 1024, 1} }, |
| 4353 | .block_erase = spi_block_erase_c7, |
| 4354 | } |
| 4355 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4356 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4358 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4359 | }, |
| 4360 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4361 | { |
| 4362 | .vendor = "PMC", |
| 4363 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4364 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4365 | .manufacture_id = PMC_ID, |
| 4366 | .model_id = PMC_25LV040, |
| 4367 | .total_size = 512, |
| 4368 | .page_size = 256, |
| 4369 | .tested = TEST_UNTESTED, |
| 4370 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4371 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4372 | .block_erasers = |
| 4373 | { |
| 4374 | { |
| 4375 | .eraseblocks = { {4 * 1024, 128} }, |
| 4376 | .block_erase = spi_block_erase_d7, |
| 4377 | }, { |
| 4378 | .eraseblocks = { {64 * 1024, 8} }, |
| 4379 | .block_erase = spi_block_erase_d8, |
| 4380 | }, { |
| 4381 | .eraseblocks = { {512 * 1024, 1} }, |
| 4382 | .block_erase = spi_block_erase_c7, |
| 4383 | } |
| 4384 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4385 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4386 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4387 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4388 | }, |
| 4389 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4390 | { |
| 4391 | .vendor = "PMC", |
| 4392 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4393 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4394 | .manufacture_id = PMC_ID, |
| 4395 | .model_id = PMC_25LV080B, |
| 4396 | .total_size = 1024, |
| 4397 | .page_size = 256, |
| 4398 | .tested = TEST_UNTESTED, |
| 4399 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4400 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4401 | .block_erasers = |
| 4402 | { |
| 4403 | { |
| 4404 | .eraseblocks = { {4 * 1024, 256} }, |
| 4405 | .block_erase = spi_block_erase_d7, |
| 4406 | }, { |
| 4407 | .eraseblocks = { {4 * 1024, 256} }, |
| 4408 | .block_erase = spi_block_erase_20, |
| 4409 | }, { |
| 4410 | .eraseblocks = { {64 * 1024, 16} }, |
| 4411 | .block_erase = spi_block_erase_d8, |
| 4412 | }, { |
| 4413 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4414 | .block_erase = spi_block_erase_60, |
| 4415 | }, { |
| 4416 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4417 | .block_erase = spi_block_erase_c7, |
| 4418 | } |
| 4419 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4420 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4421 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4422 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4423 | }, |
| 4424 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4425 | { |
| 4426 | .vendor = "PMC", |
| 4427 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4428 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4429 | .manufacture_id = PMC_ID, |
| 4430 | .model_id = PMC_25LV512, |
| 4431 | .total_size = 64, |
| 4432 | .page_size = 256, |
| 4433 | .tested = TEST_UNTESTED, |
| 4434 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4435 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4436 | .block_erasers = |
| 4437 | { |
| 4438 | { |
| 4439 | .eraseblocks = { {4 * 1024, 16} }, |
| 4440 | .block_erase = spi_block_erase_d7, |
| 4441 | }, { |
| 4442 | .eraseblocks = { {32 * 1024, 2} }, |
| 4443 | .block_erase = spi_block_erase_d8, |
| 4444 | }, { |
| 4445 | .eraseblocks = { {64 * 1024, 1} }, |
| 4446 | .block_erase = spi_block_erase_c7, |
| 4447 | } |
| 4448 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4449 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4450 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4451 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4452 | }, |
| 4453 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4454 | { |
| 4455 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4456 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4457 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4458 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4459 | .model_id = PMC_29F002T, |
| 4460 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4461 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4462 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4463 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4464 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4465 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4466 | .block_erasers = |
| 4467 | { |
| 4468 | { |
| 4469 | .eraseblocks = { |
| 4470 | {128 * 1024, 1}, |
| 4471 | {96 * 1024, 1}, |
| 4472 | {8 * 1024, 2}, |
| 4473 | {16 * 1024, 1}, |
| 4474 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4475 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4476 | }, { |
| 4477 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4478 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4479 | }, |
| 4480 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4481 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4482 | .read = read_memmapped, |
| 4483 | }, |
| 4484 | |
| 4485 | { |
| 4486 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4487 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4488 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4489 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4490 | .model_id = PMC_29F002B, |
| 4491 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4492 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4493 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4494 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4495 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4496 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4497 | .block_erasers = |
| 4498 | { |
| 4499 | { |
| 4500 | .eraseblocks = { |
| 4501 | {16 * 1024, 1}, |
| 4502 | {8 * 1024, 2}, |
| 4503 | {96 * 1024, 1}, |
| 4504 | {128 * 1024, 1}, |
| 4505 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4506 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4507 | }, { |
| 4508 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4509 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4510 | }, |
| 4511 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4512 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4513 | .read = read_memmapped, |
| 4514 | }, |
| 4515 | |
| 4516 | { |
| 4517 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4518 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4519 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4520 | .manufacture_id = PMC_ID_NOPREFIX, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4521 | .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] | 4522 | .total_size = 128, |
| 4523 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4524 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4525 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4526 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4527 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4528 | .block_erasers = |
| 4529 | { |
| 4530 | { |
| 4531 | .eraseblocks = { {4 * 1024, 32} }, |
| 4532 | .block_erase = erase_sector_jedec, |
| 4533 | }, { |
| 4534 | .eraseblocks = { {64 * 1024, 2} }, |
| 4535 | .block_erase = erase_block_jedec, |
| 4536 | }, { |
| 4537 | .eraseblocks = { {128 * 1024, 1} }, |
| 4538 | .block_erase = erase_chip_block_jedec, |
| 4539 | } |
| 4540 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4541 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4542 | .read = read_memmapped, |
| 4543 | }, |
| 4544 | |
| 4545 | { |
| 4546 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4547 | .name = "Pm39LV020", |
| 4548 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4549 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4550 | .model_id = PMC_39LV020, |
| 4551 | .total_size = 256, |
| 4552 | .page_size = 4096, |
| 4553 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4554 | .tested = TEST_UNTESTED, |
| 4555 | .probe = probe_jedec, |
| 4556 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4557 | .block_erasers = |
| 4558 | { |
| 4559 | { |
| 4560 | .eraseblocks = { {4 * 1024, 64} }, |
| 4561 | .block_erase = erase_sector_jedec, |
| 4562 | }, { |
| 4563 | .eraseblocks = { {64 * 1024, 4} }, |
| 4564 | .block_erase = erase_block_jedec, |
| 4565 | }, { |
| 4566 | .eraseblocks = { {256 * 1024, 1} }, |
| 4567 | .block_erase = erase_chip_block_jedec, |
| 4568 | } |
| 4569 | }, |
| 4570 | .write = write_jedec_1, |
| 4571 | .read = read_memmapped, |
| 4572 | }, |
| 4573 | |
| 4574 | { |
| 4575 | .vendor = "PMC", |
| 4576 | .name = "Pm39LV040", |
| 4577 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4578 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4579 | .model_id = PMC_39LV040, |
| 4580 | .total_size = 512, |
| 4581 | .page_size = 4096, |
| 4582 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4583 | .tested = TEST_UNTESTED, |
| 4584 | .probe = probe_jedec, |
| 4585 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4586 | .block_erasers = |
| 4587 | { |
| 4588 | { |
| 4589 | .eraseblocks = { {4 * 1024, 128} }, |
| 4590 | .block_erase = erase_sector_jedec, |
| 4591 | }, { |
| 4592 | .eraseblocks = { {64 * 1024, 8} }, |
| 4593 | .block_erase = erase_block_jedec, |
| 4594 | }, { |
| 4595 | .eraseblocks = { {512 * 1024, 1} }, |
| 4596 | .block_erase = erase_chip_block_jedec, |
| 4597 | } |
| 4598 | }, |
| 4599 | .write = write_jedec_1, |
| 4600 | .read = read_memmapped, |
| 4601 | }, |
| 4602 | |
| 4603 | { |
| 4604 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4605 | .name = "Pm49FL002", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4606 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4607 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4608 | .model_id = PMC_49FL002, |
| 4609 | .total_size = 256, |
| 4610 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4611 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 4612 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4613 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4614 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4615 | .block_erasers = |
| 4616 | { |
| 4617 | { |
| 4618 | .eraseblocks = { {4 * 1024, 64} }, |
| 4619 | .block_erase = erase_sector_jedec, |
| 4620 | }, { |
| 4621 | .eraseblocks = { {16 * 1024, 16} }, |
| 4622 | .block_erase = erase_block_jedec, |
| 4623 | }, { |
| 4624 | .eraseblocks = { {256 * 1024, 1} }, |
| 4625 | .block_erase = erase_chip_block_jedec, |
| 4626 | } |
| 4627 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4628 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4629 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4630 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4631 | }, |
| 4632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4633 | { |
| 4634 | .vendor = "PMC", |
| 4635 | .name = "Pm49FL004", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4636 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4637 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4638 | .model_id = PMC_49FL004, |
| 4639 | .total_size = 512, |
| 4640 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4641 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4642 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4643 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4644 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4645 | .block_erasers = |
| 4646 | { |
| 4647 | { |
| 4648 | .eraseblocks = { {4 * 1024, 128} }, |
| 4649 | .block_erase = erase_sector_jedec, |
| 4650 | }, { |
| 4651 | .eraseblocks = { {64 * 1024, 8} }, |
| 4652 | .block_erase = erase_block_jedec, |
| 4653 | }, { |
| 4654 | .eraseblocks = { {512 * 1024, 1} }, |
| 4655 | .block_erase = erase_chip_block_jedec, |
| 4656 | } |
| 4657 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4658 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4659 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4660 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4661 | }, |
| 4662 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4663 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4664 | .vendor = "Sanyo", |
| 4665 | .name = "LF25FW203A", |
| 4666 | .bustype = CHIP_BUSTYPE_SPI, |
| 4667 | .manufacture_id = SANYO_ID, |
| 4668 | .model_id = SANYO_LE25FW203A, |
| 4669 | .total_size = 2048, |
| 4670 | .page_size = 256, |
| 4671 | .tested = TEST_UNTESTED, |
| 4672 | .probe = probe_spi_rdid, |
| 4673 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4674 | .block_erasers = |
| 4675 | { |
| 4676 | { |
| 4677 | .eraseblocks = { {64 * 1024, 32} }, |
| 4678 | .block_erase = spi_block_erase_d8, |
| 4679 | }, { |
| 4680 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4681 | .block_erase = spi_block_erase_c7, |
| 4682 | } |
| 4683 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4684 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4685 | .write = spi_chip_write_256, |
| 4686 | .read = spi_chip_read, |
| 4687 | }, |
| 4688 | |
| 4689 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4690 | .vendor = "Sharp", |
| 4691 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4692 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4693 | .manufacture_id = SHARP_ID, |
| 4694 | .model_id = SHARP_LHF00L04, |
| 4695 | .total_size = 1024, |
| 4696 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4697 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4698 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4699 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4700 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4701 | .block_erasers = |
| 4702 | { |
| 4703 | { |
| 4704 | .eraseblocks = { |
| 4705 | {64 * 1024, 15}, |
| 4706 | {8 * 1024, 8} |
| 4707 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4708 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4709 | }, { |
| 4710 | .eraseblocks = { |
| 4711 | {1024 * 1024, 1} |
| 4712 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4713 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4714 | }, |
| 4715 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4716 | .unlock = unlock_82802ab, |
| 4717 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4718 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4719 | }, |
| 4720 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4721 | { |
| 4722 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4723 | .name = "S25FL008A", |
| 4724 | .bustype = CHIP_BUSTYPE_SPI, |
| 4725 | .manufacture_id = SPANSION_ID, |
| 4726 | .model_id = SPANSION_S25FL008A, |
| 4727 | .total_size = 1024, |
| 4728 | .page_size = 256, |
| 4729 | .tested = TEST_OK_PREW, |
| 4730 | .probe = probe_spi_rdid, |
| 4731 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4732 | .block_erasers = |
| 4733 | { |
| 4734 | { |
| 4735 | .eraseblocks = { {64 * 1024, 16} }, |
| 4736 | .block_erase = spi_block_erase_d8, |
| 4737 | }, { |
| 4738 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4739 | .block_erase = spi_block_erase_c7, |
| 4740 | } |
| 4741 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4742 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4743 | .write = spi_chip_write_256, |
| 4744 | .read = spi_chip_read, |
| 4745 | }, |
| 4746 | |
| 4747 | { |
| 4748 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4749 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4750 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4751 | .manufacture_id = SPANSION_ID, |
| 4752 | .model_id = SPANSION_S25FL016A, |
| 4753 | .total_size = 2048, |
| 4754 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4755 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4756 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4757 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4758 | .block_erasers = |
| 4759 | { |
| 4760 | { |
| 4761 | .eraseblocks = { {64 * 1024, 32} }, |
| 4762 | .block_erase = spi_block_erase_d8, |
| 4763 | }, { |
| 4764 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4765 | .block_erase = spi_block_erase_c7, |
| 4766 | } |
| 4767 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4768 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4769 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4770 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4771 | }, |
| 4772 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4773 | { |
| 4774 | .vendor = "SST", |
| 4775 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4776 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4777 | .manufacture_id = SST_ID, |
| 4778 | .model_id = SST_25VF016B, |
| 4779 | .total_size = 2048, |
| 4780 | .page_size = 256, |
Uwe Hermann | a347324 | 2010-09-14 22:59:39 +0000 | [diff] [blame] | 4781 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4782 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4783 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4784 | .block_erasers = |
| 4785 | { |
| 4786 | { |
| 4787 | .eraseblocks = { {4 * 1024, 512} }, |
| 4788 | .block_erase = spi_block_erase_20, |
| 4789 | }, { |
| 4790 | .eraseblocks = { {32 * 1024, 64} }, |
| 4791 | .block_erase = spi_block_erase_52, |
| 4792 | }, { |
| 4793 | .eraseblocks = { {64 * 1024, 32} }, |
| 4794 | .block_erase = spi_block_erase_d8, |
| 4795 | }, { |
| 4796 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4797 | .block_erase = spi_block_erase_60, |
| 4798 | }, { |
| 4799 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4800 | .block_erase = spi_block_erase_c7, |
| 4801 | }, |
| 4802 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4803 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4804 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4805 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4806 | }, |
| 4807 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4808 | { |
| 4809 | .vendor = "SST", |
| 4810 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4811 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4812 | .manufacture_id = SST_ID, |
| 4813 | .model_id = SST_25VF032B, |
| 4814 | .total_size = 4096, |
| 4815 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4816 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4817 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4818 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4819 | .block_erasers = |
| 4820 | { |
| 4821 | { |
| 4822 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4823 | .block_erase = spi_block_erase_20, |
| 4824 | }, { |
| 4825 | .eraseblocks = { {32 * 1024, 128} }, |
| 4826 | .block_erase = spi_block_erase_52, |
| 4827 | }, { |
| 4828 | .eraseblocks = { {64 * 1024, 64} }, |
| 4829 | .block_erase = spi_block_erase_d8, |
| 4830 | }, { |
| 4831 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4832 | .block_erase = spi_block_erase_60, |
| 4833 | }, { |
| 4834 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4835 | .block_erase = spi_block_erase_c7, |
| 4836 | }, |
| 4837 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4838 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4839 | .write = spi_chip_write_1, |
| 4840 | .read = spi_chip_read, |
| 4841 | }, |
| 4842 | |
| 4843 | { |
| 4844 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4845 | .name = "SST25VF064C", |
| 4846 | .bustype = CHIP_BUSTYPE_SPI, |
| 4847 | .manufacture_id = SST_ID, |
| 4848 | .model_id = SST_25VF064C, |
| 4849 | .total_size = 8192, |
| 4850 | .page_size = 256, |
| 4851 | .tested = TEST_OK_PREW, |
| 4852 | .probe = probe_spi_rdid, |
| 4853 | .probe_timing = TIMING_ZERO, |
| 4854 | .block_erasers = |
| 4855 | { |
| 4856 | { |
| 4857 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4858 | .block_erase = spi_block_erase_20, |
| 4859 | }, { |
| 4860 | .eraseblocks = { {32 * 1024, 256} }, |
| 4861 | .block_erase = spi_block_erase_52, |
| 4862 | }, { |
| 4863 | .eraseblocks = { {64 * 1024, 128} }, |
| 4864 | .block_erase = spi_block_erase_d8, |
| 4865 | }, { |
| 4866 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4867 | .block_erase = spi_block_erase_60, |
| 4868 | }, { |
| 4869 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4870 | .block_erase = spi_block_erase_c7, |
| 4871 | }, |
| 4872 | }, |
| 4873 | .unlock = spi_disable_blockprotect, |
| 4874 | .write = spi_chip_write_1, |
| 4875 | .read = spi_chip_read, |
| 4876 | }, |
| 4877 | |
| 4878 | { |
| 4879 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4880 | .name = "SST25VF040.REMS", |
| 4881 | .bustype = CHIP_BUSTYPE_SPI, |
| 4882 | .manufacture_id = SST_ID, |
| 4883 | .model_id = SST_25VF040_REMS, |
| 4884 | .total_size = 512, |
| 4885 | .page_size = 256, |
| 4886 | .tested = TEST_OK_PR, |
| 4887 | .probe = probe_spi_rems, |
| 4888 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4889 | .block_erasers = |
| 4890 | { |
| 4891 | { |
| 4892 | .eraseblocks = { {4 * 1024, 128} }, |
| 4893 | .block_erase = spi_block_erase_20, |
| 4894 | }, { |
| 4895 | .eraseblocks = { {32 * 1024, 16} }, |
| 4896 | .block_erase = spi_block_erase_52, |
| 4897 | }, { |
| 4898 | .eraseblocks = { {512 * 1024, 1} }, |
| 4899 | .block_erase = spi_block_erase_60, |
| 4900 | }, |
| 4901 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4902 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4903 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4904 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4905 | }, |
| 4906 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4907 | { |
| 4908 | .vendor = "SST", |
| 4909 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4910 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4911 | .manufacture_id = SST_ID, |
| 4912 | .model_id = SST_25VF040B, |
| 4913 | .total_size = 512, |
| 4914 | .page_size = 256, |
| 4915 | .tested = TEST_UNTESTED, |
| 4916 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4917 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4918 | .block_erasers = |
| 4919 | { |
| 4920 | { |
| 4921 | .eraseblocks = { {4 * 1024, 128} }, |
| 4922 | .block_erase = spi_block_erase_20, |
| 4923 | }, { |
| 4924 | .eraseblocks = { {32 * 1024, 16} }, |
| 4925 | .block_erase = spi_block_erase_52, |
| 4926 | }, { |
| 4927 | .eraseblocks = { {64 * 1024, 8} }, |
| 4928 | .block_erase = spi_block_erase_d8, |
| 4929 | }, { |
| 4930 | .eraseblocks = { {512 * 1024, 1} }, |
| 4931 | .block_erase = spi_block_erase_60, |
| 4932 | }, { |
| 4933 | .eraseblocks = { {512 * 1024, 1} }, |
| 4934 | .block_erase = spi_block_erase_c7, |
| 4935 | }, |
| 4936 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4937 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4938 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 4939 | .read = spi_chip_read, |
| 4940 | }, |
| 4941 | |
| 4942 | { |
| 4943 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4944 | .name = "SST25LF040A.RES", |
| 4945 | .bustype = CHIP_BUSTYPE_SPI, |
| 4946 | .manufacture_id = SST_ID, |
| 4947 | .model_id = SST_25VF040_REMS, |
| 4948 | .total_size = 512, |
| 4949 | .page_size = 256, |
| 4950 | .tested = TEST_OK_PROBE, |
| 4951 | .probe = probe_spi_res2, |
| 4952 | .probe_timing = TIMING_ZERO, |
| 4953 | .block_erasers = |
| 4954 | { |
| 4955 | { |
| 4956 | .eraseblocks = { {4 * 1024, 128} }, |
| 4957 | .block_erase = spi_block_erase_20, |
| 4958 | }, { |
| 4959 | .eraseblocks = { {32 * 1024, 16} }, |
| 4960 | .block_erase = spi_block_erase_52, |
| 4961 | }, { |
| 4962 | .eraseblocks = { {512 * 1024, 1} }, |
| 4963 | .block_erase = spi_block_erase_60, |
| 4964 | }, |
| 4965 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4966 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4967 | .write = spi_chip_write_1, |
| 4968 | .read = spi_chip_read, |
| 4969 | }, |
| 4970 | |
| 4971 | { |
| 4972 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4973 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4974 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4975 | .manufacture_id = SST_ID, |
| 4976 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4977 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4978 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4979 | .tested = TEST_OK_PR, |
| 4980 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4981 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4982 | .block_erasers = |
| 4983 | { |
| 4984 | { |
| 4985 | .eraseblocks = { {4 * 1024, 128} }, |
| 4986 | .block_erase = spi_block_erase_20, |
| 4987 | }, { |
| 4988 | .eraseblocks = { {32 * 1024, 16} }, |
| 4989 | .block_erase = spi_block_erase_52, |
| 4990 | }, { |
| 4991 | .eraseblocks = { {64 * 1024, 8} }, |
| 4992 | .block_erase = spi_block_erase_d8, |
| 4993 | }, { |
| 4994 | .eraseblocks = { {512 * 1024, 1} }, |
| 4995 | .block_erase = spi_block_erase_60, |
| 4996 | }, { |
| 4997 | .eraseblocks = { {512 * 1024, 1} }, |
| 4998 | .block_erase = spi_block_erase_c7, |
| 4999 | }, |
| 5000 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5001 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5002 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5003 | .read = spi_chip_read, |
| 5004 | }, |
| 5005 | |
| 5006 | { |
| 5007 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5008 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5009 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5010 | .manufacture_id = SST_ID, |
| 5011 | .model_id = SST_25VF080B, |
| 5012 | .total_size = 1024, |
| 5013 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5014 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5015 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5016 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5017 | .block_erasers = |
| 5018 | { |
| 5019 | { |
| 5020 | .eraseblocks = { {4 * 1024, 256} }, |
| 5021 | .block_erase = spi_block_erase_20, |
| 5022 | }, { |
| 5023 | .eraseblocks = { {32 * 1024, 32} }, |
| 5024 | .block_erase = spi_block_erase_52, |
| 5025 | }, { |
| 5026 | .eraseblocks = { {64 * 1024, 16} }, |
| 5027 | .block_erase = spi_block_erase_d8, |
| 5028 | }, { |
| 5029 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5030 | .block_erase = spi_block_erase_60, |
| 5031 | }, { |
| 5032 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5033 | .block_erase = spi_block_erase_c7, |
| 5034 | }, |
| 5035 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5036 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5037 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5038 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5039 | }, |
| 5040 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5041 | { |
| 5042 | .vendor = "SST", |
| 5043 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5044 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5045 | .manufacture_id = SST_ID, |
| 5046 | .model_id = SST_28SF040, |
| 5047 | .total_size = 512, |
| 5048 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5049 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5050 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5051 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5052 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5053 | .block_erasers = |
| 5054 | { |
| 5055 | { |
| 5056 | .eraseblocks = { {128, 4096} }, |
| 5057 | .block_erase = erase_sector_28sf040, |
| 5058 | }, { |
| 5059 | .eraseblocks = { {512 * 1024, 1} }, |
| 5060 | .block_erase = erase_chip_28sf040, |
| 5061 | } |
| 5062 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5063 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5064 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5065 | }, |
| 5066 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5067 | { |
| 5068 | .vendor = "SST", |
| 5069 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5070 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5071 | .manufacture_id = SST_ID, |
| 5072 | .model_id = SST_29EE010, |
| 5073 | .total_size = 128, |
| 5074 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5075 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5076 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5077 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5078 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5079 | .block_erasers = |
| 5080 | { |
| 5081 | { |
| 5082 | .eraseblocks = { {128 * 1024, 1} }, |
| 5083 | .block_erase = erase_chip_block_jedec, |
| 5084 | } |
| 5085 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5086 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5087 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5088 | }, |
| 5089 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5090 | { |
| 5091 | .vendor = "SST", |
| 5092 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5093 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5094 | .manufacture_id = SST_ID, |
| 5095 | .model_id = SST_29LE010, |
| 5096 | .total_size = 128, |
| 5097 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5098 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5099 | .tested = TEST_UNTESTED, |
| 5100 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5101 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5102 | .block_erasers = |
| 5103 | { |
| 5104 | { |
| 5105 | .eraseblocks = { {128 * 1024, 1} }, |
| 5106 | .block_erase = erase_chip_block_jedec, |
| 5107 | } |
| 5108 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5109 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5110 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5111 | }, |
| 5112 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5113 | { |
| 5114 | .vendor = "SST", |
| 5115 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5116 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5117 | .manufacture_id = SST_ID, |
| 5118 | .model_id = SST_29EE020A, |
| 5119 | .total_size = 256, |
| 5120 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5121 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5122 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5123 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5124 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5125 | .block_erasers = |
| 5126 | { |
| 5127 | { |
| 5128 | .eraseblocks = { {256 * 1024, 1} }, |
| 5129 | .block_erase = erase_chip_block_jedec, |
| 5130 | } |
| 5131 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5132 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5133 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5134 | }, |
| 5135 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5136 | { |
| 5137 | .vendor = "SST", |
| 5138 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5139 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5140 | .manufacture_id = SST_ID, |
| 5141 | .model_id = SST_29LE020, |
| 5142 | .total_size = 256, |
| 5143 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5144 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 5145 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5146 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5147 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5148 | .block_erasers = |
| 5149 | { |
| 5150 | { |
| 5151 | .eraseblocks = { {256 * 1024, 1} }, |
| 5152 | .block_erase = erase_chip_block_jedec, |
| 5153 | } |
| 5154 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5155 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5156 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5157 | }, |
| 5158 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5159 | { |
| 5160 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5161 | .name = "SST39SF512", |
| 5162 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5163 | .manufacture_id = SST_ID, |
| 5164 | .model_id = SST_39SF512, |
| 5165 | .total_size = 64, |
| 5166 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5167 | .feature_bits = FEATURE_EITHER_RESET, |
| 5168 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5169 | .probe = probe_jedec, |
| 5170 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5171 | .block_erasers = |
| 5172 | { |
| 5173 | { |
| 5174 | .eraseblocks = { {4 * 1024, 16} }, |
| 5175 | .block_erase = erase_sector_jedec, |
| 5176 | }, { |
| 5177 | .eraseblocks = { {64 * 1024, 1} }, |
| 5178 | .block_erase = erase_chip_block_jedec, |
| 5179 | } |
| 5180 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5181 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5182 | .read = read_memmapped, |
| 5183 | }, |
| 5184 | |
| 5185 | { |
| 5186 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5187 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5188 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5189 | .manufacture_id = SST_ID, |
| 5190 | .model_id = SST_39SF010, |
| 5191 | .total_size = 128, |
| 5192 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5193 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5194 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5195 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5196 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5197 | .block_erasers = |
| 5198 | { |
| 5199 | { |
| 5200 | .eraseblocks = { {4 * 1024, 32} }, |
| 5201 | .block_erase = erase_sector_jedec, |
| 5202 | }, { |
| 5203 | .eraseblocks = { {128 * 1024, 1} }, |
| 5204 | .block_erase = erase_chip_block_jedec, |
| 5205 | } |
| 5206 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5207 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5208 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5209 | }, |
| 5210 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5211 | { |
| 5212 | .vendor = "SST", |
| 5213 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5214 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5215 | .manufacture_id = SST_ID, |
| 5216 | .model_id = SST_39SF020, |
| 5217 | .total_size = 256, |
| 5218 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5219 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5220 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5221 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5222 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5223 | .block_erasers = |
| 5224 | { |
| 5225 | { |
| 5226 | .eraseblocks = { {4 * 1024, 64} }, |
| 5227 | .block_erase = erase_sector_jedec, |
| 5228 | }, { |
| 5229 | .eraseblocks = { {256 * 1024, 1} }, |
| 5230 | .block_erase = erase_chip_block_jedec, |
| 5231 | } |
| 5232 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5233 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5234 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5235 | }, |
| 5236 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5237 | { |
| 5238 | .vendor = "SST", |
| 5239 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5240 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5241 | .manufacture_id = SST_ID, |
| 5242 | .model_id = SST_39SF040, |
| 5243 | .total_size = 512, |
| 5244 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5245 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5246 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5247 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5248 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5249 | .block_erasers = |
| 5250 | { |
| 5251 | { |
| 5252 | .eraseblocks = { {4 * 1024, 128} }, |
| 5253 | .block_erase = erase_sector_jedec, |
| 5254 | }, { |
| 5255 | .eraseblocks = { {512 * 1024, 1} }, |
| 5256 | .block_erase = erase_chip_block_jedec, |
| 5257 | } |
| 5258 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5259 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5260 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5261 | }, |
| 5262 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5263 | { |
| 5264 | .vendor = "SST", |
| 5265 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5266 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5267 | .manufacture_id = SST_ID, |
| 5268 | .model_id = SST_39VF512, |
| 5269 | .total_size = 64, |
| 5270 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5271 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 5272 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5273 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5274 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5275 | .block_erasers = |
| 5276 | { |
| 5277 | { |
| 5278 | .eraseblocks = { {4 * 1024, 16} }, |
| 5279 | .block_erase = erase_sector_jedec, |
| 5280 | }, { |
| 5281 | .eraseblocks = { {64 * 1024, 1} }, |
| 5282 | .block_erase = erase_chip_block_jedec, |
| 5283 | } |
| 5284 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5285 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5286 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5287 | }, |
| 5288 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5289 | { |
| 5290 | .vendor = "SST", |
| 5291 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5292 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5293 | .manufacture_id = SST_ID, |
| 5294 | .model_id = SST_39VF010, |
| 5295 | .total_size = 128, |
| 5296 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5297 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5298 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5299 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5300 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5301 | .block_erasers = |
| 5302 | { |
| 5303 | { |
| 5304 | .eraseblocks = { {4 * 1024, 32} }, |
| 5305 | .block_erase = erase_sector_jedec, |
| 5306 | }, { |
| 5307 | .eraseblocks = { {128 * 1024, 1} }, |
| 5308 | .block_erase = erase_chip_block_jedec, |
| 5309 | } |
| 5310 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5311 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5312 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5313 | }, |
| 5314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5315 | { |
| 5316 | .vendor = "SST", |
| 5317 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5318 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5319 | .manufacture_id = SST_ID, |
| 5320 | .model_id = SST_39VF020, |
| 5321 | .total_size = 256, |
| 5322 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5323 | .feature_bits = FEATURE_EITHER_RESET, |
| 5324 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5325 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5326 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5327 | .block_erasers = |
| 5328 | { |
| 5329 | { |
| 5330 | .eraseblocks = { {4 * 1024, 64} }, |
| 5331 | .block_erase = erase_sector_jedec, |
| 5332 | }, { |
| 5333 | .eraseblocks = { {256 * 1024, 1} }, |
| 5334 | .block_erase = erase_chip_block_jedec, |
| 5335 | } |
| 5336 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5337 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5338 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5339 | }, |
| 5340 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5341 | { |
| 5342 | .vendor = "SST", |
| 5343 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5344 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5345 | .manufacture_id = SST_ID, |
| 5346 | .model_id = SST_39VF040, |
| 5347 | .total_size = 512, |
| 5348 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5349 | .feature_bits = FEATURE_EITHER_RESET, |
| 5350 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5351 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5352 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5353 | .block_erasers = |
| 5354 | { |
| 5355 | { |
| 5356 | .eraseblocks = { {4 * 1024, 128} }, |
| 5357 | .block_erase = erase_sector_jedec, |
| 5358 | }, { |
| 5359 | .eraseblocks = { {512 * 1024, 1} }, |
| 5360 | .block_erase = erase_chip_block_jedec, |
| 5361 | } |
| 5362 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5363 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5364 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 5365 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5366 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5367 | { |
| 5368 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5369 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5370 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5371 | .manufacture_id = SST_ID, |
| 5372 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5373 | .total_size = 1024, |
| 5374 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5375 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5376 | .tested = TEST_UNTESTED, |
| 5377 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5378 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5379 | .block_erasers = |
| 5380 | { |
| 5381 | { |
| 5382 | .eraseblocks = { {4 * 1024, 256} }, |
| 5383 | .block_erase = erase_sector_jedec, |
| 5384 | }, { |
| 5385 | .eraseblocks = { {64 * 1024, 16} }, |
| 5386 | .block_erase = erase_block_jedec, |
| 5387 | }, { |
| 5388 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5389 | .block_erase = erase_chip_block_jedec, |
| 5390 | } |
| 5391 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5392 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5393 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5394 | }, |
| 5395 | |
| 5396 | { |
| 5397 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5398 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5399 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5400 | .manufacture_id = SST_ID, |
| 5401 | .model_id = SST_49LF002A, |
| 5402 | .total_size = 256, |
| 5403 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5404 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5405 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5406 | .probe = probe_jedec, |
| 5407 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5408 | .block_erasers = |
| 5409 | { |
| 5410 | { |
| 5411 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5412 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5413 | }, { |
| 5414 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5415 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5416 | }, { |
| 5417 | .eraseblocks = { {256 * 1024, 1} }, |
| 5418 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5419 | } |
| 5420 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5421 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5422 | .unlock = unlock_sst_fwhub, |
| 5423 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5424 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5425 | }, |
| 5426 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5427 | { |
| 5428 | .vendor = "SST", |
| 5429 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5430 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5431 | .manufacture_id = SST_ID, |
| 5432 | .model_id = SST_49LF003A, |
| 5433 | .total_size = 384, |
| 5434 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5435 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 5436 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5437 | .probe = probe_jedec, |
| 5438 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5439 | .block_erasers = |
| 5440 | { |
| 5441 | { |
| 5442 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5443 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5444 | }, { |
| 5445 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5446 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5447 | }, { |
| 5448 | .eraseblocks = { {384 * 1024, 1} }, |
| 5449 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5450 | } |
| 5451 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5452 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5453 | .unlock = unlock_sst_fwhub, |
| 5454 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5455 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5456 | }, |
| 5457 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5458 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5459 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 5460 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 5461 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5462 | .vendor = "SST", |
| 5463 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5464 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5465 | .manufacture_id = SST_ID, |
| 5466 | .model_id = SST_49LF004A, |
| 5467 | .total_size = 512, |
| 5468 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5469 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5470 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5471 | .probe = probe_jedec, |
| 5472 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5473 | .block_erasers = |
| 5474 | { |
| 5475 | { |
| 5476 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5477 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5478 | }, { |
| 5479 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5480 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5481 | }, { |
| 5482 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5483 | .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] | 5484 | }, |
| 5485 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5486 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5487 | .unlock = unlock_sst_fwhub, |
| 5488 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5489 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5490 | }, |
| 5491 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5492 | { |
| 5493 | .vendor = "SST", |
| 5494 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5495 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5496 | .manufacture_id = SST_ID, |
| 5497 | .model_id = SST_49LF004C, |
| 5498 | .total_size = 512, |
| 5499 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5500 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5501 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5502 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5503 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5504 | .block_erasers = |
| 5505 | { |
| 5506 | { |
| 5507 | .eraseblocks = { {4 * 1024, 128} }, |
| 5508 | .block_erase = erase_sector_49lfxxxc, |
| 5509 | }, { |
| 5510 | .eraseblocks = { |
| 5511 | {64 * 1024, 7}, |
| 5512 | {32 * 1024, 1}, |
| 5513 | {8 * 1024, 2}, |
| 5514 | {16 * 1024, 1}, |
| 5515 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5516 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5517 | } |
| 5518 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5519 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5520 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5521 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5522 | }, |
| 5523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5524 | { |
| 5525 | .vendor = "SST", |
| 5526 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5527 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5528 | .manufacture_id = SST_ID, |
| 5529 | .model_id = SST_49LF008A, |
| 5530 | .total_size = 1024, |
| 5531 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5532 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5533 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5534 | .probe = probe_jedec, |
| 5535 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5536 | .block_erasers = |
| 5537 | { |
| 5538 | { |
| 5539 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5540 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5541 | }, { |
| 5542 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5543 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5544 | }, { |
| 5545 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5546 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5547 | } |
| 5548 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5549 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5550 | .unlock = unlock_sst_fwhub, |
| 5551 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5552 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5553 | }, |
| 5554 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5555 | { |
| 5556 | .vendor = "SST", |
| 5557 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5558 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5559 | .manufacture_id = SST_ID, |
| 5560 | .model_id = SST_49LF008C, |
| 5561 | .total_size = 1024, |
| 5562 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5563 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5564 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5565 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5566 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5567 | .block_erasers = |
| 5568 | { |
| 5569 | { |
| 5570 | .eraseblocks = { {4 * 1024, 256} }, |
| 5571 | .block_erase = erase_sector_49lfxxxc, |
| 5572 | }, { |
| 5573 | .eraseblocks = { |
| 5574 | {64 * 1024, 15}, |
| 5575 | {32 * 1024, 1}, |
| 5576 | {8 * 1024, 2}, |
| 5577 | {16 * 1024, 1}, |
| 5578 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5579 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5580 | } |
| 5581 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5582 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5583 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5584 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5585 | }, |
| 5586 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5587 | { |
| 5588 | .vendor = "SST", |
| 5589 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5590 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5591 | .manufacture_id = SST_ID, |
| 5592 | .model_id = SST_49LF016C, |
| 5593 | .total_size = 2048, |
| 5594 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5595 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5596 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5597 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5598 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5599 | .block_erasers = |
| 5600 | { |
| 5601 | { |
| 5602 | .eraseblocks = { {4 * 1024, 512} }, |
| 5603 | .block_erase = erase_sector_49lfxxxc, |
| 5604 | }, { |
| 5605 | .eraseblocks = { |
| 5606 | {64 * 1024, 31}, |
| 5607 | {32 * 1024, 1}, |
| 5608 | {8 * 1024, 2}, |
| 5609 | {16 * 1024, 1}, |
| 5610 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5611 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5612 | } |
| 5613 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5614 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5615 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5616 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5617 | }, |
| 5618 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5619 | { |
| 5620 | .vendor = "SST", |
| 5621 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5622 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5623 | .manufacture_id = SST_ID, |
| 5624 | .model_id = SST_49LF020, |
| 5625 | .total_size = 256, |
| 5626 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5627 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5628 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5629 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5630 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5631 | .block_erasers = |
| 5632 | { |
| 5633 | { |
| 5634 | .eraseblocks = { {4 * 1024, 64} }, |
| 5635 | .block_erase = erase_sector_jedec, |
| 5636 | }, { |
| 5637 | .eraseblocks = { {16 * 1024, 16} }, |
| 5638 | .block_erase = erase_block_jedec, |
| 5639 | }, { |
| 5640 | .eraseblocks = { {256 * 1024, 1} }, |
| 5641 | .block_erase = NULL, |
| 5642 | } |
| 5643 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5644 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5645 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 5646 | }, |
| 5647 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5648 | { |
| 5649 | .vendor = "SST", |
| 5650 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5651 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5652 | .manufacture_id = SST_ID, |
| 5653 | .model_id = SST_49LF020A, |
| 5654 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 5655 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5656 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5657 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5658 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5659 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5660 | .block_erasers = |
| 5661 | { |
| 5662 | { |
| 5663 | .eraseblocks = { {4 * 1024, 64} }, |
| 5664 | .block_erase = erase_sector_jedec, |
| 5665 | }, { |
| 5666 | .eraseblocks = { {16 * 1024, 16} }, |
| 5667 | .block_erase = erase_block_jedec, |
| 5668 | }, { |
| 5669 | .eraseblocks = { {256 * 1024, 1} }, |
| 5670 | .block_erase = NULL, |
| 5671 | } |
| 5672 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5673 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5674 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5675 | }, |
| 5676 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5677 | { |
| 5678 | .vendor = "SST", |
| 5679 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5680 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5681 | .manufacture_id = SST_ID, |
| 5682 | .model_id = SST_49LF040, |
| 5683 | .total_size = 512, |
| 5684 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5685 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 5686 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5687 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5688 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5689 | .block_erasers = |
| 5690 | { |
| 5691 | { |
| 5692 | .eraseblocks = { {4 * 1024, 128} }, |
| 5693 | .block_erase = erase_sector_jedec, |
| 5694 | }, { |
| 5695 | .eraseblocks = { {64 * 1024, 8} }, |
| 5696 | .block_erase = erase_block_jedec, |
| 5697 | }, { |
| 5698 | .eraseblocks = { {512 * 1024, 1} }, |
| 5699 | .block_erase = NULL, |
| 5700 | } |
| 5701 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5702 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5703 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5704 | }, |
| 5705 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5706 | { |
| 5707 | .vendor = "SST", |
| 5708 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5709 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5710 | .manufacture_id = SST_ID, |
| 5711 | .model_id = SST_49LF040B, |
| 5712 | .total_size = 512, |
| 5713 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5714 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
| 5715 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5716 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5717 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5718 | .block_erasers = |
| 5719 | { |
| 5720 | { |
| 5721 | .eraseblocks = { {4 * 1024, 128} }, |
| 5722 | .block_erase = erase_sector_jedec, |
| 5723 | }, { |
| 5724 | .eraseblocks = { {64 * 1024, 8} }, |
| 5725 | .block_erase = erase_block_jedec, |
| 5726 | }, { |
| 5727 | .eraseblocks = { {512 * 1024, 1} }, |
| 5728 | .block_erase = NULL, |
| 5729 | } |
| 5730 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5731 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5732 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5733 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5734 | }, |
| 5735 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5736 | { |
| 5737 | .vendor = "SST", |
| 5738 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5739 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5740 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5741 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5742 | .total_size = 1024, |
| 5743 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5744 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5745 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5746 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5747 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5748 | .block_erasers = |
| 5749 | { |
| 5750 | { |
| 5751 | .eraseblocks = { {4 * 1024, 256} }, |
| 5752 | .block_erase = erase_sector_jedec, |
| 5753 | }, { |
| 5754 | .eraseblocks = { {64 * 1024, 16} }, |
| 5755 | .block_erase = erase_block_jedec, |
| 5756 | }, { |
| 5757 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5758 | .block_erase = NULL, |
| 5759 | } |
| 5760 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5761 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5762 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5763 | }, |
| 5764 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5765 | { |
| 5766 | .vendor = "SST", |
| 5767 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5768 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5769 | .manufacture_id = SST_ID, |
| 5770 | .model_id = SST_49LF160C, |
| 5771 | .total_size = 2048, |
| 5772 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5773 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5774 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5775 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5776 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5777 | .block_erasers = |
| 5778 | { |
| 5779 | { |
| 5780 | .eraseblocks = { {4 * 1024, 512} }, |
| 5781 | .block_erase = erase_sector_49lfxxxc, |
| 5782 | }, { |
| 5783 | .eraseblocks = { |
| 5784 | {64 * 1024, 31}, |
| 5785 | {32 * 1024, 1}, |
| 5786 | {8 * 1024, 2}, |
| 5787 | {16 * 1024, 1}, |
| 5788 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5789 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5790 | } |
| 5791 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5792 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5793 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5794 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5795 | }, |
| 5796 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5797 | { |
| 5798 | .vendor = "ST", |
| 5799 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5800 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5801 | .manufacture_id = ST_ID, |
| 5802 | .model_id = ST_M25P05A, |
| 5803 | .total_size = 64, |
| 5804 | .page_size = 256, |
| 5805 | .tested = TEST_UNTESTED, |
| 5806 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5807 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5808 | .block_erasers = |
| 5809 | { |
| 5810 | { |
| 5811 | .eraseblocks = { {32 * 1024, 2} }, |
| 5812 | .block_erase = spi_block_erase_d8, |
| 5813 | }, { |
| 5814 | .eraseblocks = { {64 * 1024, 1} }, |
| 5815 | .block_erase = spi_block_erase_c7, |
| 5816 | } |
| 5817 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5818 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5819 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5820 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5821 | }, |
| 5822 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5823 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 5824 | * 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] | 5825 | * 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] | 5826 | * only is successful if RDID does not work. |
| 5827 | */ |
| 5828 | { |
| 5829 | .vendor = "ST", |
| 5830 | .name = "M25P05.RES", |
| 5831 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5832 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5833 | .model_id = ST_M25P05_RES, |
| 5834 | .total_size = 64, |
| 5835 | .page_size = 256, |
| 5836 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5837 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5838 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5839 | .block_erasers = |
| 5840 | { |
| 5841 | { |
| 5842 | .eraseblocks = { {32 * 1024, 2} }, |
| 5843 | .block_erase = spi_block_erase_d8, |
| 5844 | }, { |
| 5845 | .eraseblocks = { {64 * 1024, 1} }, |
| 5846 | .block_erase = spi_block_erase_c7, |
| 5847 | } |
| 5848 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5849 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5850 | .write = spi_chip_write_1, /* 128 */ |
| 5851 | .read = spi_chip_read, |
| 5852 | }, |
| 5853 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5854 | { |
| 5855 | .vendor = "ST", |
| 5856 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5857 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5858 | .manufacture_id = ST_ID, |
| 5859 | .model_id = ST_M25P10A, |
| 5860 | .total_size = 128, |
| 5861 | .page_size = 256, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5862 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5863 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5864 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5865 | .block_erasers = |
| 5866 | { |
| 5867 | { |
| 5868 | .eraseblocks = { {32 * 1024, 4} }, |
| 5869 | .block_erase = spi_block_erase_d8, |
| 5870 | }, { |
| 5871 | .eraseblocks = { {128 * 1024, 1} }, |
| 5872 | .block_erase = spi_block_erase_c7, |
| 5873 | } |
| 5874 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5875 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5876 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5877 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5878 | }, |
| 5879 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5880 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 5881 | { |
| 5882 | .vendor = "ST", |
| 5883 | .name = "M25P10.RES", |
| 5884 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5885 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5886 | .model_id = ST_M25P10_RES, |
| 5887 | .total_size = 128, |
| 5888 | .page_size = 256, |
| 5889 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5890 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5891 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5892 | .block_erasers = |
| 5893 | { |
| 5894 | { |
| 5895 | .eraseblocks = { {32 * 1024, 4} }, |
| 5896 | .block_erase = spi_block_erase_d8, |
| 5897 | }, { |
| 5898 | .eraseblocks = { {128 * 1024, 1} }, |
| 5899 | .block_erase = spi_block_erase_c7, |
| 5900 | } |
| 5901 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5902 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5903 | .write = spi_chip_write_1, /* 128 */ |
| 5904 | .read = spi_chip_read, |
| 5905 | }, |
| 5906 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5907 | { |
| 5908 | .vendor = "ST", |
| 5909 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5910 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5911 | .manufacture_id = ST_ID, |
| 5912 | .model_id = ST_M25P20, |
| 5913 | .total_size = 256, |
| 5914 | .page_size = 256, |
| 5915 | .tested = TEST_UNTESTED, |
| 5916 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5917 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5918 | .block_erasers = |
| 5919 | { |
| 5920 | { |
| 5921 | .eraseblocks = { {64 * 1024, 4} }, |
| 5922 | .block_erase = spi_block_erase_d8, |
| 5923 | }, { |
| 5924 | .eraseblocks = { {256 * 1024, 1} }, |
| 5925 | .block_erase = spi_block_erase_c7, |
| 5926 | } |
| 5927 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5928 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5929 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5930 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5931 | }, |
| 5932 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5933 | { |
| 5934 | .vendor = "ST", |
| 5935 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5936 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5937 | .manufacture_id = ST_ID, |
| 5938 | .model_id = ST_M25P40, |
| 5939 | .total_size = 512, |
| 5940 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5941 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5942 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5943 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5944 | .block_erasers = |
| 5945 | { |
| 5946 | { |
| 5947 | .eraseblocks = { {64 * 1024, 8} }, |
| 5948 | .block_erase = spi_block_erase_d8, |
| 5949 | }, { |
| 5950 | .eraseblocks = { {512 * 1024, 1} }, |
| 5951 | .block_erase = spi_block_erase_c7, |
| 5952 | } |
| 5953 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5954 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5955 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5956 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5957 | }, |
| 5958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5959 | { |
| 5960 | .vendor = "ST", |
| 5961 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5962 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5963 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5964 | .model_id = ST_M25P40_RES, |
| 5965 | .total_size = 512, |
| 5966 | .page_size = 256, |
| 5967 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5968 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5969 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5970 | .block_erasers = |
| 5971 | { |
| 5972 | { |
| 5973 | .eraseblocks = { {64 * 1024, 8} }, |
| 5974 | .block_erase = spi_block_erase_d8, |
| 5975 | }, { |
| 5976 | .eraseblocks = { {512 * 1024, 1} }, |
| 5977 | .block_erase = spi_block_erase_c7, |
| 5978 | } |
| 5979 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5980 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5981 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5982 | .read = spi_chip_read, |
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 = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5988 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5989 | .manufacture_id = ST_ID, |
| 5990 | .model_id = ST_M25P80, |
| 5991 | .total_size = 1024, |
| 5992 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5993 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5994 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5995 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5996 | .block_erasers = |
| 5997 | { |
| 5998 | { |
| 5999 | .eraseblocks = { {64 * 1024, 16} }, |
| 6000 | .block_erase = spi_block_erase_d8, |
| 6001 | }, { |
| 6002 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6003 | .block_erase = spi_block_erase_c7, |
| 6004 | } |
| 6005 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6006 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6007 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6008 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6009 | }, |
| 6010 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6011 | { |
| 6012 | .vendor = "ST", |
| 6013 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6014 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6015 | .manufacture_id = ST_ID, |
| 6016 | .model_id = ST_M25P16, |
| 6017 | .total_size = 2048, |
| 6018 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6019 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6020 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6021 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6022 | .block_erasers = |
| 6023 | { |
| 6024 | { |
| 6025 | .eraseblocks = { {64 * 1024, 32} }, |
| 6026 | .block_erase = spi_block_erase_d8, |
| 6027 | }, { |
| 6028 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6029 | .block_erase = spi_block_erase_c7, |
| 6030 | } |
| 6031 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6032 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6033 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6034 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6035 | }, |
| 6036 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6037 | { |
| 6038 | .vendor = "ST", |
| 6039 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6040 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6041 | .manufacture_id = ST_ID, |
| 6042 | .model_id = ST_M25P32, |
| 6043 | .total_size = 4096, |
| 6044 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6045 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6046 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6047 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6048 | .block_erasers = |
| 6049 | { |
| 6050 | { |
| 6051 | .eraseblocks = { {64 * 1024, 64} }, |
| 6052 | .block_erase = spi_block_erase_d8, |
| 6053 | }, { |
| 6054 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6055 | .block_erase = spi_block_erase_c7, |
| 6056 | } |
| 6057 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6058 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6059 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6060 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6061 | }, |
| 6062 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6063 | { |
| 6064 | .vendor = "ST", |
| 6065 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6066 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6067 | .manufacture_id = ST_ID, |
| 6068 | .model_id = ST_M25P64, |
| 6069 | .total_size = 8192, |
| 6070 | .page_size = 256, |
| 6071 | .tested = TEST_UNTESTED, |
| 6072 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6073 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6074 | .block_erasers = |
| 6075 | { |
| 6076 | { |
| 6077 | .eraseblocks = { {64 * 1024, 128} }, |
| 6078 | .block_erase = spi_block_erase_d8, |
| 6079 | }, { |
| 6080 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6081 | .block_erase = spi_block_erase_c7, |
| 6082 | } |
| 6083 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6084 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6085 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6086 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6087 | }, |
| 6088 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6089 | { |
| 6090 | .vendor = "ST", |
| 6091 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6092 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6093 | .manufacture_id = ST_ID, |
| 6094 | .model_id = ST_M25P128, |
| 6095 | .total_size = 16384, |
| 6096 | .page_size = 256, |
| 6097 | .tested = TEST_UNTESTED, |
| 6098 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6099 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6100 | .block_erasers = |
| 6101 | { |
| 6102 | { |
| 6103 | .eraseblocks = { {256 * 1024, 64} }, |
| 6104 | .block_erase = spi_block_erase_d8, |
| 6105 | }, { |
| 6106 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6107 | .block_erase = spi_block_erase_c7, |
| 6108 | } |
| 6109 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6110 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6111 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6112 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6113 | }, |
| 6114 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6115 | { |
| 6116 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6117 | .name = "M25PX32", |
| 6118 | .bustype = CHIP_BUSTYPE_SPI, |
| 6119 | .manufacture_id = ST_ID, |
| 6120 | .model_id = ST_M25PX32, |
| 6121 | .total_size = 4096, |
| 6122 | .page_size = 256, |
| 6123 | .tested = TEST_OK_PREW, |
| 6124 | .probe = probe_spi_rdid, |
| 6125 | .probe_timing = TIMING_ZERO, |
| 6126 | .block_erasers = |
| 6127 | { |
| 6128 | { |
| 6129 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 6130 | .block_erase = spi_block_erase_20, |
| 6131 | }, { |
| 6132 | .eraseblocks = { {64 * 1024, 64} }, |
| 6133 | .block_erase = spi_block_erase_d8, |
| 6134 | }, { |
| 6135 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6136 | .block_erase = spi_block_erase_c7, |
| 6137 | } |
| 6138 | }, |
| 6139 | .unlock = spi_disable_blockprotect, |
| 6140 | .write = spi_chip_write_256, |
| 6141 | .read = spi_chip_read, |
| 6142 | }, |
| 6143 | |
| 6144 | { |
| 6145 | .vendor = "ST", |
| 6146 | .name = "M25PX64", |
| 6147 | .bustype = CHIP_BUSTYPE_SPI, |
| 6148 | .manufacture_id = ST_ID, |
| 6149 | .model_id = ST_M25PX64, |
| 6150 | .total_size = 8192, |
| 6151 | .page_size = 256, |
| 6152 | .tested = TEST_OK_PREW, |
| 6153 | .probe = probe_spi_rdid, |
| 6154 | .probe_timing = TIMING_ZERO, |
| 6155 | .block_erasers = |
| 6156 | { |
| 6157 | { |
| 6158 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 6159 | .block_erase = spi_block_erase_20, |
| 6160 | }, { |
| 6161 | .eraseblocks = { {64 * 1024, 128} }, |
| 6162 | .block_erase = spi_block_erase_d8, |
| 6163 | }, { |
| 6164 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6165 | .block_erase = spi_block_erase_c7, |
| 6166 | } |
| 6167 | }, |
| 6168 | .unlock = spi_disable_blockprotect, |
| 6169 | .write = spi_chip_write_256, |
| 6170 | .read = spi_chip_read, |
| 6171 | }, |
| 6172 | |
| 6173 | { |
| 6174 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6175 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6177 | .manufacture_id = ST_ID, |
| 6178 | .model_id = ST_M29F002B, |
| 6179 | .total_size = 256, |
| 6180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6181 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6182 | .tested = TEST_UNTESTED, |
| 6183 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6184 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6185 | .block_erasers = |
| 6186 | { |
| 6187 | { |
| 6188 | .eraseblocks = { |
| 6189 | {16 * 1024, 1}, |
| 6190 | {8 * 1024, 2}, |
| 6191 | {32 * 1024, 1}, |
| 6192 | {64 * 1024, 3}, |
| 6193 | }, |
| 6194 | .block_erase = erase_sector_jedec, |
| 6195 | }, { |
| 6196 | .eraseblocks = { {256 * 1024, 1} }, |
| 6197 | .block_erase = erase_chip_block_jedec, |
| 6198 | } |
| 6199 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6200 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6201 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6202 | }, |
| 6203 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6204 | { |
| 6205 | .vendor = "ST", |
| 6206 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6207 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6208 | .manufacture_id = ST_ID, |
| 6209 | .model_id = ST_M29F002T, |
| 6210 | .total_size = 256, |
| 6211 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6212 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 6213 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6214 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6215 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6216 | .block_erasers = |
| 6217 | { |
| 6218 | { |
| 6219 | .eraseblocks = { |
| 6220 | {64 * 1024, 3}, |
| 6221 | {32 * 1024, 1}, |
| 6222 | {8 * 1024, 2}, |
| 6223 | {16 * 1024, 1}, |
| 6224 | }, |
| 6225 | .block_erase = erase_sector_jedec, |
| 6226 | }, { |
| 6227 | .eraseblocks = { {256 * 1024, 1} }, |
| 6228 | .block_erase = erase_chip_block_jedec, |
| 6229 | } |
| 6230 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6231 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6232 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6233 | }, |
| 6234 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6235 | { |
| 6236 | .vendor = "ST", |
| 6237 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6238 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6239 | .manufacture_id = ST_ID, |
| 6240 | .model_id = ST_M29F040B, |
| 6241 | .total_size = 512, |
| 6242 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6243 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6244 | .tested = TEST_UNTESTED, |
| 6245 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6246 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6247 | .block_erasers = |
| 6248 | { |
| 6249 | { |
| 6250 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6251 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6252 | }, { |
| 6253 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6254 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6255 | } |
| 6256 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6257 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6258 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6259 | }, |
| 6260 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6261 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6262 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6263 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6264 | .name = "M29F400BB", |
| 6265 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6266 | .manufacture_id = ST_ID, |
| 6267 | .model_id = ST_M29F400BB, |
| 6268 | .total_size = 512, |
| 6269 | .page_size = 64 * 1024, |
| 6270 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
| 6271 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
| 6272 | .probe = probe_m29f400bt, |
| 6273 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 6274 | .block_erasers = |
| 6275 | { |
| 6276 | { |
| 6277 | .eraseblocks = { |
| 6278 | {16 * 1024, 1}, |
| 6279 | {8 * 1024, 2}, |
| 6280 | {32 * 1024, 1}, |
| 6281 | {64 * 1024, 7}, |
| 6282 | }, |
| 6283 | .block_erase = block_erase_m29f400bt, |
| 6284 | }, { |
| 6285 | .eraseblocks = { {512 * 1024, 1} }, |
| 6286 | .block_erase = block_erase_chip_m29f400bt, |
| 6287 | } |
| 6288 | }, |
| 6289 | .write = NULL, |
| 6290 | .read = read_memmapped, |
| 6291 | }, |
| 6292 | { |
| 6293 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 6294 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6295 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6296 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6297 | .manufacture_id = ST_ID, |
| 6298 | .model_id = ST_M29F400BT, |
| 6299 | .total_size = 512, |
| 6300 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6301 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6302 | .tested = TEST_UNTESTED, |
| 6303 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6304 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6305 | .block_erasers = |
| 6306 | { |
| 6307 | { |
| 6308 | .eraseblocks = { |
| 6309 | {64 * 1024, 7}, |
| 6310 | {32 * 1024, 1}, |
| 6311 | {8 * 1024, 2}, |
| 6312 | {16 * 1024, 1}, |
| 6313 | }, |
| 6314 | .block_erase = block_erase_m29f400bt, |
| 6315 | }, { |
| 6316 | .eraseblocks = { {512 * 1024, 1} }, |
| 6317 | .block_erase = block_erase_chip_m29f400bt, |
| 6318 | } |
| 6319 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6320 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6321 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6322 | }, |
| 6323 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6324 | { |
| 6325 | .vendor = "ST", |
| 6326 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6327 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6328 | .manufacture_id = ST_ID, |
| 6329 | .model_id = ST_M29W010B, |
| 6330 | .total_size = 128, |
| 6331 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6332 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6333 | .tested = TEST_UNTESTED, |
| 6334 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6335 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6336 | .block_erasers = |
| 6337 | { |
| 6338 | { |
| 6339 | .eraseblocks = { {16 * 1024, 8}, }, |
| 6340 | .block_erase = erase_sector_jedec, |
| 6341 | }, { |
| 6342 | .eraseblocks = { {128 * 1024, 1} }, |
| 6343 | .block_erase = erase_chip_block_jedec, |
| 6344 | } |
| 6345 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6346 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6347 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6348 | }, |
| 6349 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6350 | { |
| 6351 | .vendor = "ST", |
| 6352 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6353 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6354 | .manufacture_id = ST_ID, |
| 6355 | .model_id = ST_M29W040B, |
| 6356 | .total_size = 512, |
| 6357 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6358 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6359 | .tested = TEST_UNTESTED, |
| 6360 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6361 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6362 | .block_erasers = |
| 6363 | { |
| 6364 | { |
| 6365 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6366 | .block_erase = erase_sector_jedec, |
| 6367 | }, { |
| 6368 | .eraseblocks = { {512 * 1024, 1} }, |
| 6369 | .block_erase = erase_chip_block_jedec, |
| 6370 | } |
| 6371 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6372 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6373 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6374 | }, |
| 6375 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6376 | { |
| 6377 | .vendor = "ST", |
| 6378 | .name = "M29W512B", |
| 6379 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6380 | .manufacture_id = ST_ID, |
| 6381 | .model_id = ST_M29W512B, |
| 6382 | .total_size = 64, |
| 6383 | .page_size = 64 * 1024, |
| 6384 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6385 | .tested = TEST_OK_PREW, |
| 6386 | .probe = probe_jedec, |
| 6387 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6388 | .block_erasers = |
| 6389 | { |
| 6390 | { |
| 6391 | .eraseblocks = { {64 * 1024, 1} }, |
| 6392 | .block_erase = erase_chip_block_jedec, |
| 6393 | } |
| 6394 | }, |
| 6395 | .write = write_jedec_1, |
| 6396 | .read = read_memmapped, |
| 6397 | }, |
| 6398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6399 | { |
| 6400 | .vendor = "ST", |
| 6401 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6402 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6403 | .manufacture_id = ST_ID, |
| 6404 | .model_id = ST_M50FLW040A, |
| 6405 | .total_size = 512, |
| 6406 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6407 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6408 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6409 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6410 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6411 | .block_erasers = |
| 6412 | { |
| 6413 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6414 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6415 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6416 | {64 * 1024, 5}, /* block */ |
| 6417 | {4 * 1024, 16}, /* sector */ |
| 6418 | {4 * 1024, 16}, /* sector */ |
| 6419 | }, |
| 6420 | .block_erase = NULL, |
| 6421 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6422 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6423 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6424 | }, { |
| 6425 | .eraseblocks = { {512 * 1024, 1} }, |
| 6426 | .block_erase = erase_chip_stm50flw0x0x, |
| 6427 | } |
| 6428 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6429 | .unlock = unlock_stm50flw0x0x, |
| 6430 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6431 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6432 | }, |
| 6433 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6434 | { |
| 6435 | .vendor = "ST", |
| 6436 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6437 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6438 | .manufacture_id = ST_ID, |
| 6439 | .model_id = ST_M50FLW040B, |
| 6440 | .total_size = 512, |
| 6441 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6442 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6443 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6444 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6445 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6446 | .block_erasers = |
| 6447 | { |
| 6448 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6449 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6450 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6451 | {4 * 1024, 16}, /* sector */ |
| 6452 | {64 * 1024, 5}, /* block */ |
| 6453 | {4 * 1024, 16}, /* sector */ |
| 6454 | }, |
| 6455 | .block_erase = NULL, |
| 6456 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6457 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6458 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6459 | }, { |
| 6460 | .eraseblocks = { {512 * 1024, 1} }, |
| 6461 | .block_erase = erase_chip_stm50flw0x0x, |
| 6462 | } |
| 6463 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6464 | .unlock = unlock_stm50flw0x0x, |
| 6465 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6466 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6467 | }, |
| 6468 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6469 | { |
| 6470 | .vendor = "ST", |
| 6471 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6472 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6473 | .manufacture_id = ST_ID, |
| 6474 | .model_id = ST_M50FLW080A, |
| 6475 | .total_size = 1024, |
| 6476 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6477 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 6478 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6479 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6480 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6481 | .block_erasers = |
| 6482 | { |
| 6483 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6484 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6485 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6486 | {64 * 1024, 13}, /* block */ |
| 6487 | {4 * 1024, 16}, /* sector */ |
| 6488 | {4 * 1024, 16}, /* sector */ |
| 6489 | }, |
| 6490 | .block_erase = NULL, |
| 6491 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6492 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6493 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6494 | }, { |
| 6495 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6496 | .block_erase = erase_chip_stm50flw0x0x, |
| 6497 | } |
| 6498 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6499 | .unlock = unlock_stm50flw0x0x, |
| 6500 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6501 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6502 | }, |
| 6503 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6504 | { |
| 6505 | .vendor = "ST", |
| 6506 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6507 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6508 | .manufacture_id = ST_ID, |
| 6509 | .model_id = ST_M50FLW080B, |
| 6510 | .total_size = 1024, |
| 6511 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6512 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6513 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6514 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6515 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6516 | .block_erasers = |
| 6517 | { |
| 6518 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6519 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6520 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6521 | {4 * 1024, 16}, /* sector */ |
| 6522 | {64 * 1024, 13}, /* block */ |
| 6523 | {4 * 1024, 16}, /* sector */ |
| 6524 | }, |
| 6525 | .block_erase = NULL, |
| 6526 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6527 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6528 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6529 | }, { |
| 6530 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6531 | .block_erase = erase_chip_stm50flw0x0x, |
| 6532 | } |
| 6533 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6534 | .unlock = unlock_stm50flw0x0x, |
| 6535 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6536 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6537 | }, |
| 6538 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6539 | { |
| 6540 | .vendor = "ST", |
| 6541 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6542 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6543 | .manufacture_id = ST_ID, |
| 6544 | .model_id = ST_M50FW002, |
| 6545 | .total_size = 256, |
| 6546 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6547 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6548 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6549 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6550 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6551 | .block_erasers = |
| 6552 | { |
| 6553 | { |
| 6554 | .eraseblocks = { |
| 6555 | {64 * 1024, 3}, |
| 6556 | {32 * 1024, 1}, |
| 6557 | {8 * 1024, 2}, |
| 6558 | {16 * 1024, 1}, |
| 6559 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6560 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6561 | }, { |
| 6562 | .eraseblocks = { {256 * 1024, 1} }, |
| 6563 | .block_erase = erase_chip_stm50flw0x0x, |
| 6564 | } |
| 6565 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6566 | .unlock = unlock_stm50flw0x0x, |
| 6567 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6568 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6569 | }, |
| 6570 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6571 | { |
| 6572 | .vendor = "ST", |
| 6573 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6574 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6575 | .manufacture_id = ST_ID, |
| 6576 | .model_id = ST_M50FW016, |
| 6577 | .total_size = 2048, |
| 6578 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6579 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6580 | .tested = TEST_UNTESTED, |
| 6581 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6582 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6583 | .block_erasers = |
| 6584 | { |
| 6585 | { |
| 6586 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6587 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6588 | }, { |
| 6589 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6590 | .block_erase = erase_chip_stm50flw0x0x, |
| 6591 | } |
| 6592 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6593 | .unlock = unlock_stm50flw0x0x, |
| 6594 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6595 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6596 | }, |
| 6597 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6598 | { |
| 6599 | .vendor = "ST", |
| 6600 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6601 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6602 | .manufacture_id = ST_ID, |
| 6603 | .model_id = ST_M50FW040, |
| 6604 | .total_size = 512, |
| 6605 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6606 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6607 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6608 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6609 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6610 | .block_erasers = |
| 6611 | { |
| 6612 | { |
| 6613 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6614 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6615 | }, { |
| 6616 | .eraseblocks = { {512 * 1024, 1} }, |
| 6617 | .block_erase = erase_chip_stm50flw0x0x, |
| 6618 | } |
| 6619 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6620 | .unlock = unlock_stm50flw0x0x, |
| 6621 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6622 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6623 | }, |
| 6624 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6625 | { |
| 6626 | .vendor = "ST", |
| 6627 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6628 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6629 | .manufacture_id = ST_ID, |
| 6630 | .model_id = ST_M50FW080, |
| 6631 | .total_size = 1024, |
| 6632 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6633 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6634 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6635 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6636 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6637 | .block_erasers = |
| 6638 | { |
| 6639 | { |
| 6640 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6641 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6642 | }, { |
| 6643 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6644 | .block_erase = erase_chip_stm50flw0x0x, |
| 6645 | } |
| 6646 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6647 | .unlock = unlock_stm50flw0x0x, |
| 6648 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6649 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6650 | }, |
| 6651 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6652 | { |
| 6653 | .vendor = "ST", |
| 6654 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6655 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6656 | .manufacture_id = ST_ID, |
| 6657 | .model_id = ST_M50LPW116, |
| 6658 | .total_size = 2048, |
| 6659 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6660 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6661 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6662 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6663 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6664 | .block_erasers = |
| 6665 | { |
| 6666 | { |
| 6667 | .eraseblocks = { |
| 6668 | {4 * 1024, 16}, |
| 6669 | {64 * 1024, 30}, |
| 6670 | {32 * 1024, 1}, |
| 6671 | {8 * 1024, 2}, |
| 6672 | {16 * 1024, 1}, |
| 6673 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6674 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6675 | }, { |
| 6676 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6677 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6678 | } |
| 6679 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6680 | .unlock = unlock_stm50flw0x0x, |
| 6681 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6682 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6683 | }, |
| 6684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6685 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6686 | .vendor = "SyncMOS/MoselVitelic", |
| 6687 | .name = "{F,S,V}29C51001B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6688 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6689 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6690 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6691 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6692 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6693 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6694 | .tested = TEST_UNTESTED, |
| 6695 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6696 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6697 | .block_erasers = |
| 6698 | { |
| 6699 | { |
| 6700 | .eraseblocks = { {512, 256} }, |
| 6701 | .block_erase = erase_sector_jedec, |
| 6702 | }, { |
| 6703 | .eraseblocks = { {128 * 1024, 1} }, |
| 6704 | .block_erase = erase_chip_block_jedec, |
| 6705 | }, |
| 6706 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6707 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6708 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6709 | }, |
| 6710 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6711 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6712 | .vendor = "SyncMOS/MoselVitelic", |
| 6713 | .name = "{F,S,V}29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6714 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6715 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6716 | .model_id = SM_MVC_29C51001T, |
| 6717 | .total_size = 128, |
| 6718 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6719 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6720 | .tested = TEST_UNTESTED, |
| 6721 | .probe = probe_jedec, |
| 6722 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6723 | .block_erasers = |
| 6724 | { |
| 6725 | { |
| 6726 | .eraseblocks = { {512, 256} }, |
| 6727 | .block_erase = erase_sector_jedec, |
| 6728 | }, { |
| 6729 | .eraseblocks = { {128 * 1024, 1} }, |
| 6730 | .block_erase = erase_chip_block_jedec, |
| 6731 | }, |
| 6732 | }, |
| 6733 | .write = write_jedec_1, |
| 6734 | .read = read_memmapped, |
| 6735 | }, |
| 6736 | |
| 6737 | { |
| 6738 | .vendor = "SyncMOS/MoselVitelic", |
| 6739 | .name = "{F,S,V}29C51002B", |
| 6740 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6741 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6742 | .model_id = SM_MVC_29C51002B, |
| 6743 | .total_size = 256, |
| 6744 | .page_size = 512, |
| 6745 | .feature_bits = FEATURE_EITHER_RESET, |
| 6746 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6747 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6748 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6749 | .block_erasers = |
| 6750 | { |
| 6751 | { |
| 6752 | .eraseblocks = { {512, 512} }, |
| 6753 | .block_erase = erase_sector_jedec, |
| 6754 | }, { |
| 6755 | .eraseblocks = { {256 * 1024, 1} }, |
| 6756 | .block_erase = erase_chip_block_jedec, |
| 6757 | }, |
| 6758 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6759 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6760 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6761 | }, |
| 6762 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6763 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6764 | .vendor = "SyncMOS/MoselVitelic", |
| 6765 | .name = "{F,S,V}29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6766 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6767 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6768 | .model_id = SM_MVC_29C51002T, |
| 6769 | .total_size = 256, |
| 6770 | .page_size = 512, |
| 6771 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6772 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6773 | .probe = probe_jedec, |
| 6774 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6775 | .block_erasers = |
| 6776 | { |
| 6777 | { |
| 6778 | .eraseblocks = { {512, 512} }, |
| 6779 | .block_erase = erase_sector_jedec, |
| 6780 | }, { |
| 6781 | .eraseblocks = { {256 * 1024, 1} }, |
| 6782 | .block_erase = erase_chip_block_jedec, |
| 6783 | }, |
| 6784 | }, |
| 6785 | .write = write_jedec_1, |
| 6786 | .read = read_memmapped, |
| 6787 | }, |
| 6788 | |
| 6789 | { |
| 6790 | .vendor = "SyncMOS/MoselVitelic", |
| 6791 | .name = "{F,S,V}29C51004B", |
| 6792 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6793 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6794 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6795 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6796 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6797 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6798 | .tested = TEST_UNTESTED, |
| 6799 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6800 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6801 | .block_erasers = |
| 6802 | { |
| 6803 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6804 | .eraseblocks = { {1024, 512} }, |
| 6805 | .block_erase = erase_sector_jedec, |
| 6806 | }, { |
| 6807 | .eraseblocks = { {512 * 1024, 1} }, |
| 6808 | .block_erase = erase_chip_block_jedec, |
| 6809 | }, |
| 6810 | }, |
| 6811 | .write = write_jedec_1, |
| 6812 | .read = read_memmapped, |
| 6813 | }, |
| 6814 | |
| 6815 | { |
| 6816 | .vendor = "SyncMOS/MoselVitelic", |
| 6817 | .name = "{F,S,V}29C51004T", |
| 6818 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6819 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6820 | .model_id = SM_MVC_29C51004T, |
| 6821 | .total_size = 512, |
| 6822 | .page_size = 1024, |
| 6823 | .feature_bits = FEATURE_EITHER_RESET, |
| 6824 | .tested = TEST_UNTESTED, |
| 6825 | .probe = probe_jedec, |
| 6826 | .probe_timing = TIMING_ZERO, |
| 6827 | .block_erasers = |
| 6828 | { |
| 6829 | { |
| 6830 | .eraseblocks = { {1024, 512} }, |
| 6831 | .block_erase = erase_sector_jedec, |
| 6832 | }, { |
| 6833 | .eraseblocks = { {512 * 1024, 1} }, |
| 6834 | .block_erase = erase_chip_block_jedec, |
| 6835 | }, |
| 6836 | }, |
| 6837 | .write = write_jedec_1, |
| 6838 | .read = read_memmapped, |
| 6839 | }, |
| 6840 | |
| 6841 | { |
| 6842 | .vendor = "SyncMOS/MoselVitelic", |
| 6843 | .name = "{S,V}29C31004B", |
| 6844 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6845 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6846 | .model_id = SM_MVC_29C31004B, |
| 6847 | .total_size = 512, |
| 6848 | .page_size = 1024, |
| 6849 | .feature_bits = FEATURE_EITHER_RESET, |
| 6850 | .tested = TEST_UNTESTED, |
| 6851 | .probe = probe_jedec, |
| 6852 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6853 | .block_erasers = |
| 6854 | { |
| 6855 | { |
| 6856 | .eraseblocks = { {1024, 512} }, |
| 6857 | .block_erase = erase_sector_jedec, |
| 6858 | }, { |
| 6859 | .eraseblocks = { {512 * 1024, 1} }, |
| 6860 | .block_erase = erase_chip_block_jedec, |
| 6861 | }, |
| 6862 | }, |
| 6863 | .write = write_jedec_1, |
| 6864 | .read = read_memmapped, |
| 6865 | }, |
| 6866 | |
| 6867 | { |
| 6868 | .vendor = "SyncMOS/MoselVitelic", |
| 6869 | .name = "{S,V}29C31004T", |
| 6870 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6871 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6872 | .model_id = SM_MVC_29C31004T, |
| 6873 | .total_size = 512, |
| 6874 | .page_size = 1024, |
| 6875 | .feature_bits = FEATURE_EITHER_RESET, |
| 6876 | .tested = TEST_UNTESTED, |
| 6877 | .probe = probe_jedec, |
| 6878 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6879 | .block_erasers = |
| 6880 | { |
| 6881 | { |
| 6882 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6883 | .block_erase = erase_sector_jedec, |
| 6884 | }, { |
| 6885 | .eraseblocks = { {512 * 1024, 1} }, |
| 6886 | .block_erase = erase_chip_block_jedec, |
| 6887 | }, |
| 6888 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6889 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6890 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6891 | }, |
| 6892 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6893 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6894 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6895 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6896 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6897 | .manufacture_id = TI_OLD_ID, |
| 6898 | .model_id = TI_TMS29F002RB, |
| 6899 | .total_size = 256, |
| 6900 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6901 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6902 | .tested = TEST_UNTESTED, |
| 6903 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6904 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6905 | .block_erasers = |
| 6906 | { |
| 6907 | { |
| 6908 | .eraseblocks = { |
| 6909 | {16 * 1024, 1}, |
| 6910 | {8 * 1024, 2}, |
| 6911 | {32 * 1024, 1}, |
| 6912 | {64 * 1024, 3}, |
| 6913 | }, |
| 6914 | .block_erase = erase_sector_jedec, |
| 6915 | }, { |
| 6916 | .eraseblocks = { {256 * 1024, 1} }, |
| 6917 | .block_erase = erase_chip_block_jedec, |
| 6918 | }, |
| 6919 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6920 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6921 | .read = read_memmapped, |
| 6922 | }, |
| 6923 | |
| 6924 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6925 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6926 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6927 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6928 | .manufacture_id = TI_OLD_ID, |
| 6929 | .model_id = TI_TMS29F002RT, |
| 6930 | .total_size = 256, |
| 6931 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6932 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6933 | .tested = TEST_UNTESTED, |
| 6934 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6935 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6936 | .block_erasers = |
| 6937 | { |
| 6938 | { |
| 6939 | .eraseblocks = { |
| 6940 | {64 * 1024, 3}, |
| 6941 | {32 * 1024, 1}, |
| 6942 | {8 * 1024, 2}, |
| 6943 | {16 * 1024, 1}, |
| 6944 | }, |
| 6945 | .block_erase = erase_sector_jedec, |
| 6946 | }, { |
| 6947 | .eraseblocks = { {256 * 1024, 1} }, |
| 6948 | .block_erase = erase_chip_block_jedec, |
| 6949 | }, |
| 6950 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6951 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6952 | .read = read_memmapped, |
| 6953 | }, |
| 6954 | |
| 6955 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6956 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6957 | .name = "W25Q80", |
| 6958 | .bustype = CHIP_BUSTYPE_SPI, |
| 6959 | .manufacture_id = WINBOND_NEX_ID, |
| 6960 | .model_id = W_25Q80, |
| 6961 | .total_size = 1024, |
| 6962 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 6963 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 6964 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6965 | .probe = probe_spi_rdid, |
| 6966 | .probe_timing = TIMING_ZERO, |
| 6967 | .block_erasers = |
| 6968 | { |
| 6969 | { |
| 6970 | .eraseblocks = { {4 * 1024, 256} }, |
| 6971 | .block_erase = spi_block_erase_20, |
| 6972 | }, { |
| 6973 | .eraseblocks = { {32 * 1024, 32} }, |
| 6974 | .block_erase = spi_block_erase_52, |
| 6975 | }, { |
| 6976 | .eraseblocks = { {64 * 1024, 16} }, |
| 6977 | .block_erase = spi_block_erase_d8, |
| 6978 | }, { |
| 6979 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6980 | .block_erase = spi_block_erase_60, |
| 6981 | }, { |
| 6982 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6983 | .block_erase = spi_block_erase_c7, |
| 6984 | } |
| 6985 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6986 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6987 | .write = spi_chip_write_256, |
| 6988 | .read = spi_chip_read, |
| 6989 | }, |
| 6990 | |
| 6991 | { |
| 6992 | .vendor = "Winbond", |
| 6993 | .name = "W25Q16", |
| 6994 | .bustype = CHIP_BUSTYPE_SPI, |
| 6995 | .manufacture_id = WINBOND_NEX_ID, |
| 6996 | .model_id = W_25Q16, |
| 6997 | .total_size = 2048, |
| 6998 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 6999 | .feature_bits = FEATURE_WRSR_WREN, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7000 | .tested = TEST_UNTESTED, |
| 7001 | .probe = probe_spi_rdid, |
| 7002 | .probe_timing = TIMING_ZERO, |
| 7003 | .block_erasers = |
| 7004 | { |
| 7005 | { |
| 7006 | .eraseblocks = { {4 * 1024, 512} }, |
| 7007 | .block_erase = spi_block_erase_20, |
| 7008 | }, { |
| 7009 | .eraseblocks = { {32 * 1024, 64} }, |
| 7010 | .block_erase = spi_block_erase_52, |
| 7011 | }, { |
| 7012 | .eraseblocks = { {64 * 1024, 32} }, |
| 7013 | .block_erase = spi_block_erase_d8, |
| 7014 | }, { |
| 7015 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7016 | .block_erase = spi_block_erase_60, |
| 7017 | }, { |
| 7018 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7019 | .block_erase = spi_block_erase_c7, |
| 7020 | } |
| 7021 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7022 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7023 | .write = spi_chip_write_256, |
| 7024 | .read = spi_chip_read, |
| 7025 | }, |
| 7026 | |
| 7027 | { |
| 7028 | .vendor = "Winbond", |
| 7029 | .name = "W25Q32", |
| 7030 | .bustype = CHIP_BUSTYPE_SPI, |
| 7031 | .manufacture_id = WINBOND_NEX_ID, |
| 7032 | .model_id = W_25Q32, |
| 7033 | .total_size = 4096, |
| 7034 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7035 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 7036 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7037 | .probe = probe_spi_rdid, |
| 7038 | .probe_timing = TIMING_ZERO, |
| 7039 | .block_erasers = |
| 7040 | { |
| 7041 | { |
| 7042 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7043 | .block_erase = spi_block_erase_20, |
| 7044 | }, { |
| 7045 | .eraseblocks = { {32 * 1024, 128} }, |
| 7046 | .block_erase = spi_block_erase_52, |
| 7047 | }, { |
| 7048 | .eraseblocks = { {64 * 1024, 64} }, |
| 7049 | .block_erase = spi_block_erase_d8, |
| 7050 | }, { |
| 7051 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7052 | .block_erase = spi_block_erase_60, |
| 7053 | }, { |
| 7054 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7055 | .block_erase = spi_block_erase_c7, |
| 7056 | } |
| 7057 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7058 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7059 | .write = spi_chip_write_256, |
| 7060 | .read = spi_chip_read, |
| 7061 | }, |
| 7062 | |
| 7063 | { |
| 7064 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7065 | .name = "W25Q64", |
| 7066 | .bustype = CHIP_BUSTYPE_SPI, |
| 7067 | .manufacture_id = WINBOND_NEX_ID, |
| 7068 | .model_id = W_25Q64, |
| 7069 | .total_size = 8192, |
| 7070 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7071 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7072 | .tested = TEST_OK_PRW, |
| 7073 | .probe = probe_spi_rdid, |
| 7074 | .probe_timing = TIMING_ZERO, |
| 7075 | .block_erasers = |
| 7076 | { |
| 7077 | { |
| 7078 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7079 | .block_erase = spi_block_erase_20, |
| 7080 | }, { |
| 7081 | .eraseblocks = { {32 * 1024, 256} }, |
| 7082 | .block_erase = spi_block_erase_52, |
| 7083 | }, { |
| 7084 | .eraseblocks = { {64 * 1024, 128} }, |
| 7085 | .block_erase = spi_block_erase_d8, |
| 7086 | }, { |
| 7087 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7088 | .block_erase = spi_block_erase_60, |
| 7089 | }, { |
| 7090 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7091 | .block_erase = spi_block_erase_c7, |
| 7092 | } |
| 7093 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7094 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7095 | .write = spi_chip_write_256, |
| 7096 | .read = spi_chip_read, |
| 7097 | }, |
| 7098 | |
| 7099 | { |
| 7100 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7101 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7102 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7103 | .manufacture_id = WINBOND_NEX_ID, |
| 7104 | .model_id = W_25X10, |
| 7105 | .total_size = 128, |
| 7106 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7107 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7108 | .tested = TEST_UNTESTED, |
| 7109 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7110 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7111 | .block_erasers = |
| 7112 | { |
| 7113 | { |
| 7114 | .eraseblocks = { {4 * 1024, 32} }, |
| 7115 | .block_erase = spi_block_erase_20, |
| 7116 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7117 | .eraseblocks = { {64 * 1024, 2} }, |
| 7118 | .block_erase = spi_block_erase_d8, |
| 7119 | }, { |
| 7120 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7121 | .block_erase = spi_block_erase_c7, |
| 7122 | } |
| 7123 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7124 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7125 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7126 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7127 | }, |
| 7128 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7129 | { |
| 7130 | .vendor = "Winbond", |
| 7131 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7132 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7133 | .manufacture_id = WINBOND_NEX_ID, |
| 7134 | .model_id = W_25X20, |
| 7135 | .total_size = 256, |
| 7136 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7137 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7138 | .tested = TEST_UNTESTED, |
| 7139 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7140 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7141 | .block_erasers = |
| 7142 | { |
| 7143 | { |
| 7144 | .eraseblocks = { {4 * 1024, 64} }, |
| 7145 | .block_erase = spi_block_erase_20, |
| 7146 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7147 | .eraseblocks = { {64 * 1024, 4} }, |
| 7148 | .block_erase = spi_block_erase_d8, |
| 7149 | }, { |
| 7150 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7151 | .block_erase = spi_block_erase_c7, |
| 7152 | } |
| 7153 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7154 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7155 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7156 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7157 | }, |
| 7158 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7159 | { |
| 7160 | .vendor = "Winbond", |
| 7161 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7162 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7163 | .manufacture_id = WINBOND_NEX_ID, |
| 7164 | .model_id = W_25X40, |
| 7165 | .total_size = 512, |
| 7166 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7167 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7168 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7169 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7170 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7171 | .block_erasers = |
| 7172 | { |
| 7173 | { |
| 7174 | .eraseblocks = { {4 * 1024, 128} }, |
| 7175 | .block_erase = spi_block_erase_20, |
| 7176 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7177 | .eraseblocks = { {64 * 1024, 8} }, |
| 7178 | .block_erase = spi_block_erase_d8, |
| 7179 | }, { |
| 7180 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7181 | .block_erase = spi_block_erase_c7, |
| 7182 | } |
| 7183 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7184 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7185 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7186 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7187 | }, |
| 7188 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7189 | { |
| 7190 | .vendor = "Winbond", |
| 7191 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7192 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7193 | .manufacture_id = WINBOND_NEX_ID, |
| 7194 | .model_id = W_25X80, |
| 7195 | .total_size = 1024, |
| 7196 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7197 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7198 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7199 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7200 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7201 | .block_erasers = |
| 7202 | { |
| 7203 | { |
| 7204 | .eraseblocks = { {4 * 1024, 256} }, |
| 7205 | .block_erase = spi_block_erase_20, |
| 7206 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7207 | .eraseblocks = { {64 * 1024, 16} }, |
| 7208 | .block_erase = spi_block_erase_d8, |
| 7209 | }, { |
| 7210 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7211 | .block_erase = spi_block_erase_c7, |
| 7212 | } |
| 7213 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7214 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7215 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7216 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7217 | }, |
| 7218 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7219 | { |
| 7220 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7221 | .name = "W25x16", |
| 7222 | .bustype = CHIP_BUSTYPE_SPI, |
| 7223 | .manufacture_id = WINBOND_NEX_ID, |
| 7224 | .model_id = W_25X16, |
| 7225 | .total_size = 2048, |
| 7226 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7227 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7228 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7229 | .probe = probe_spi_rdid, |
| 7230 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7231 | .block_erasers = |
| 7232 | { |
| 7233 | { |
| 7234 | .eraseblocks = { {4 * 1024, 512} }, |
| 7235 | .block_erase = spi_block_erase_20, |
| 7236 | }, { |
| 7237 | .eraseblocks = { {32 * 1024, 64} }, |
| 7238 | .block_erase = spi_block_erase_52, |
| 7239 | }, { |
| 7240 | .eraseblocks = { {64 * 1024, 32} }, |
| 7241 | .block_erase = spi_block_erase_d8, |
| 7242 | }, { |
| 7243 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7244 | .block_erase = spi_block_erase_60, |
| 7245 | }, { |
| 7246 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7247 | .block_erase = spi_block_erase_c7, |
| 7248 | } |
| 7249 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7250 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7251 | .write = spi_chip_write_256, |
| 7252 | .read = spi_chip_read, |
| 7253 | }, |
| 7254 | |
| 7255 | { |
| 7256 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7257 | .name = "W25x32", |
| 7258 | .bustype = CHIP_BUSTYPE_SPI, |
| 7259 | .manufacture_id = WINBOND_NEX_ID, |
| 7260 | .model_id = W_25X32, |
| 7261 | .total_size = 4096, |
| 7262 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7263 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7264 | .tested = TEST_OK_PROBE, |
| 7265 | .probe = probe_spi_rdid, |
| 7266 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7267 | .block_erasers = |
| 7268 | { |
| 7269 | { |
| 7270 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7271 | .block_erase = spi_block_erase_20, |
| 7272 | }, { |
| 7273 | .eraseblocks = { {32 * 1024, 128} }, |
| 7274 | .block_erase = spi_block_erase_52, |
| 7275 | }, { |
| 7276 | .eraseblocks = { {64 * 1024, 64} }, |
| 7277 | .block_erase = spi_block_erase_d8, |
| 7278 | }, { |
| 7279 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7280 | .block_erase = spi_block_erase_60, |
| 7281 | }, { |
| 7282 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7283 | .block_erase = spi_block_erase_c7, |
| 7284 | } |
| 7285 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7286 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7287 | .write = spi_chip_write_256, |
| 7288 | .read = spi_chip_read, |
| 7289 | }, |
| 7290 | |
| 7291 | { |
| 7292 | .vendor = "Winbond", |
| 7293 | .name = "W25x64", |
| 7294 | .bustype = CHIP_BUSTYPE_SPI, |
| 7295 | .manufacture_id = WINBOND_NEX_ID, |
| 7296 | .model_id = W_25X64, |
| 7297 | .total_size = 8192, |
| 7298 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7299 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7300 | .tested = TEST_UNTESTED, |
| 7301 | .probe = probe_spi_rdid, |
| 7302 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7303 | .block_erasers = |
| 7304 | { |
| 7305 | { |
| 7306 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7307 | .block_erase = spi_block_erase_20, |
| 7308 | }, { |
| 7309 | .eraseblocks = { {32 * 1024, 256} }, |
| 7310 | .block_erase = spi_block_erase_52, |
| 7311 | }, { |
| 7312 | .eraseblocks = { {64 * 1024, 128} }, |
| 7313 | .block_erase = spi_block_erase_d8, |
| 7314 | }, { |
| 7315 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7316 | .block_erase = spi_block_erase_60, |
| 7317 | }, { |
| 7318 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7319 | .block_erase = spi_block_erase_c7, |
| 7320 | } |
| 7321 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7322 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7323 | .write = spi_chip_write_256, |
| 7324 | .read = spi_chip_read, |
| 7325 | }, |
| 7326 | |
| 7327 | { |
| 7328 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7329 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7330 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7331 | .manufacture_id = WINBOND_ID, |
| 7332 | .model_id = W_29C011, |
| 7333 | .total_size = 128, |
| 7334 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7335 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 7336 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7337 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7338 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7339 | .block_erasers = |
| 7340 | { |
| 7341 | { |
| 7342 | .eraseblocks = { {128 * 1024, 1} }, |
| 7343 | .block_erase = erase_chip_block_jedec, |
| 7344 | } |
| 7345 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7346 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7347 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7348 | }, |
| 7349 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7350 | { |
| 7351 | .vendor = "Winbond", |
| 7352 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7353 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7354 | .manufacture_id = WINBOND_ID, |
| 7355 | .model_id = W_29C020C, |
| 7356 | .total_size = 256, |
| 7357 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7358 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7359 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7360 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7361 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7362 | .block_erasers = |
| 7363 | { |
| 7364 | { |
| 7365 | .eraseblocks = { {256 * 1024, 1} }, |
| 7366 | .block_erase = erase_chip_block_jedec, |
| 7367 | } |
| 7368 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7369 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7370 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7371 | }, |
| 7372 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7373 | { |
| 7374 | .vendor = "Winbond", |
| 7375 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7376 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7377 | .manufacture_id = WINBOND_ID, |
| 7378 | .model_id = W_29C040P, |
| 7379 | .total_size = 512, |
| 7380 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7381 | .feature_bits = FEATURE_LONG_RESET, |
| 7382 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7383 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7384 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7385 | .block_erasers = |
| 7386 | { |
| 7387 | { |
| 7388 | .eraseblocks = { {512 * 1024, 1} }, |
| 7389 | .block_erase = erase_chip_block_jedec, |
| 7390 | } |
| 7391 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7392 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7393 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7394 | }, |
| 7395 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7396 | { |
| 7397 | .vendor = "Winbond", |
| 7398 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7399 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7400 | .manufacture_id = WINBOND_ID, |
| 7401 | .model_id = W_29C011, |
| 7402 | .total_size = 128, |
| 7403 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7404 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 7405 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7406 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7407 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7408 | .block_erasers = |
| 7409 | { |
| 7410 | { |
| 7411 | .eraseblocks = { {128 * 1024, 1} }, |
| 7412 | .block_erase = erase_chip_block_jedec, |
| 7413 | } |
| 7414 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7415 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7416 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7417 | }, |
| 7418 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7419 | { |
| 7420 | .vendor = "Winbond", |
| 7421 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7422 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7423 | .manufacture_id = WINBOND_ID, |
| 7424 | .model_id = W_39V040A, |
| 7425 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7426 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7427 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 7428 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7429 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7430 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7431 | .block_erasers = |
| 7432 | { |
| 7433 | { |
| 7434 | .eraseblocks = { {64 * 1024, 8} }, |
| 7435 | .block_erase = erase_sector_jedec, |
| 7436 | }, { |
| 7437 | .eraseblocks = { {512 * 1024, 1} }, |
| 7438 | .block_erase = erase_chip_block_jedec, |
| 7439 | } |
| 7440 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7441 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7442 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7443 | }, |
| 7444 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7445 | { |
| 7446 | .vendor = "Winbond", |
| 7447 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7448 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7449 | .manufacture_id = WINBOND_ID, |
| 7450 | .model_id = W_39V040B, |
| 7451 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7452 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7453 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 7454 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7455 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7456 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7457 | .block_erasers = |
| 7458 | { |
| 7459 | { |
| 7460 | .eraseblocks = { {64 * 1024, 8} }, |
| 7461 | .block_erase = erase_sector_jedec, |
| 7462 | }, { |
| 7463 | .eraseblocks = { {512 * 1024, 1} }, |
| 7464 | .block_erase = erase_chip_block_jedec, |
| 7465 | } |
| 7466 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7467 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7468 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7469 | }, |
| 7470 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7471 | { |
| 7472 | .vendor = "Winbond", |
| 7473 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7474 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7475 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 7476 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7477 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7478 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7479 | .feature_bits = FEATURE_EITHER_RESET, |
| 7480 | .tested = TEST_UNTESTED, |
| 7481 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7482 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7483 | .block_erasers = |
| 7484 | { |
| 7485 | { |
| 7486 | .eraseblocks = { {64 * 1024, 8} }, |
| 7487 | .block_erase = erase_sector_jedec, |
| 7488 | }, { |
| 7489 | .eraseblocks = { {512 * 1024, 1} }, |
| 7490 | .block_erase = erase_chip_block_jedec, |
| 7491 | } |
| 7492 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7493 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7494 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7495 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7496 | }, |
| 7497 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7498 | { |
| 7499 | .vendor = "Winbond", |
| 7500 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7501 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7502 | .manufacture_id = WINBOND_ID, |
| 7503 | .model_id = W_39V040FA, |
| 7504 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7505 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7506 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 7507 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7508 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7509 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7510 | .block_erasers = |
| 7511 | { |
| 7512 | { |
| 7513 | .eraseblocks = { {4 * 1024, 128} }, |
| 7514 | .block_erase = erase_block_jedec, |
| 7515 | }, { |
| 7516 | .eraseblocks = { {64 * 1024, 8} }, |
| 7517 | .block_erase = erase_sector_jedec, |
| 7518 | }, { |
| 7519 | .eraseblocks = { {512 * 1024, 1} }, |
| 7520 | .block_erase = erase_chip_block_jedec, |
| 7521 | } |
| 7522 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7523 | .printlock = printlock_sst_fwhub, |
| 7524 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7525 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7526 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7527 | }, |
| 7528 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7529 | { |
| 7530 | .vendor = "Winbond", |
| 7531 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7532 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7533 | .manufacture_id = WINBOND_ID, |
| 7534 | .model_id = W_39V080A, |
| 7535 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7536 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7537 | .feature_bits = FEATURE_EITHER_RESET, |
| 7538 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7539 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7540 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7541 | .block_erasers = |
| 7542 | { |
| 7543 | { |
| 7544 | .eraseblocks = { {64 * 1024, 16} }, |
| 7545 | .block_erase = erase_sector_jedec, |
| 7546 | }, { |
| 7547 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7548 | .block_erase = erase_chip_block_jedec, |
| 7549 | } |
| 7550 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7551 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7552 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7553 | }, |
| 7554 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7555 | { |
| 7556 | .vendor = "Winbond", |
| 7557 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7558 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7559 | .manufacture_id = WINBOND_ID, |
| 7560 | .model_id = W_49F002U, |
| 7561 | .total_size = 256, |
| 7562 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7563 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 7564 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7565 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7566 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7567 | .block_erasers = |
| 7568 | { |
| 7569 | { |
| 7570 | .eraseblocks = { |
| 7571 | {128 * 1024, 1}, |
| 7572 | {96 * 1024, 1}, |
| 7573 | {8 * 1024, 2}, |
| 7574 | {16 * 1024, 1}, |
| 7575 | }, |
| 7576 | .block_erase = erase_sector_jedec, |
| 7577 | }, { |
| 7578 | .eraseblocks = { {256 * 1024, 1} }, |
| 7579 | .block_erase = erase_chip_block_jedec, |
| 7580 | } |
| 7581 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7582 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7583 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7584 | }, |
| 7585 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7586 | { |
| 7587 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7588 | .name = "W49F020", |
| 7589 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7590 | .manufacture_id = WINBOND_ID, |
| 7591 | .model_id = W_49F020, |
| 7592 | .total_size = 256, |
| 7593 | .page_size = 128, |
| 7594 | .feature_bits = FEATURE_EITHER_RESET, |
| 7595 | .tested = TEST_OK_PROBE, |
| 7596 | .probe = probe_jedec, |
| 7597 | .probe_timing = 10, |
| 7598 | .block_erasers = |
| 7599 | { |
| 7600 | { |
| 7601 | .eraseblocks = { {256 * 1024, 1} }, |
| 7602 | .block_erase = erase_chip_block_jedec, |
| 7603 | } |
| 7604 | }, |
| 7605 | .write = write_jedec_1, |
| 7606 | .read = read_memmapped, |
| 7607 | }, |
| 7608 | |
| 7609 | { |
| 7610 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7611 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7612 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7613 | .manufacture_id = WINBOND_ID, |
| 7614 | .model_id = W_49V002A, |
| 7615 | .total_size = 256, |
| 7616 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7617 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7618 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7619 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7620 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7621 | .block_erasers = |
| 7622 | { |
| 7623 | { |
| 7624 | .eraseblocks = { |
| 7625 | {64 * 1024, 3}, |
| 7626 | {32 * 1024, 1}, |
| 7627 | {8 * 1024, 2}, |
| 7628 | {16 * 1024, 1}, |
| 7629 | }, |
| 7630 | .block_erase = erase_sector_jedec, |
| 7631 | }, { |
| 7632 | .eraseblocks = { {256 * 1024, 1} }, |
| 7633 | .block_erase = erase_chip_block_jedec, |
| 7634 | } |
| 7635 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7636 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7637 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7638 | }, |
| 7639 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7640 | { |
| 7641 | .vendor = "Winbond", |
| 7642 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7643 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7644 | .manufacture_id = WINBOND_ID, |
| 7645 | .model_id = W_49V002FA, |
| 7646 | .total_size = 256, |
| 7647 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7648 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 7649 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7650 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7651 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7652 | .block_erasers = |
| 7653 | { |
| 7654 | { |
| 7655 | .eraseblocks = { |
| 7656 | {64 * 1024, 3}, |
| 7657 | {32 * 1024, 1}, |
| 7658 | {8 * 1024, 2}, |
| 7659 | {16 * 1024, 1}, |
| 7660 | }, |
| 7661 | .block_erase = erase_sector_jedec, |
| 7662 | }, { |
| 7663 | .eraseblocks = { {256 * 1024, 1} }, |
| 7664 | .block_erase = erase_chip_block_jedec, |
| 7665 | } |
| 7666 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7667 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7668 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7669 | }, |
| 7670 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7671 | { |
| 7672 | .vendor = "Winbond", |
| 7673 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7674 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7675 | .manufacture_id = WINBOND_ID, |
| 7676 | .model_id = W_39V080FA, |
| 7677 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7678 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7679 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7680 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7681 | .probe = probe_jedec, |
| 7682 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7683 | .block_erasers = |
| 7684 | { |
| 7685 | { |
| 7686 | .eraseblocks = { {64 * 1024, 16}, }, |
| 7687 | .block_erase = erase_sector_jedec, |
| 7688 | }, { |
| 7689 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7690 | .block_erase = erase_chip_block_jedec, |
| 7691 | } |
| 7692 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7693 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7694 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7695 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7696 | }, |
| 7697 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7698 | { |
| 7699 | .vendor = "Winbond", |
| 7700 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7701 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7702 | .manufacture_id = WINBOND_ID, |
| 7703 | .model_id = W_39V080FA_DM, |
| 7704 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7705 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7706 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7707 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7708 | .probe = probe_jedec, |
| 7709 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7710 | .block_erasers = |
| 7711 | { |
| 7712 | { |
| 7713 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7714 | .block_erase = erase_sector_jedec, |
| 7715 | }, { |
| 7716 | .eraseblocks = { {512 * 1024, 1} }, |
| 7717 | .block_erase = erase_chip_block_jedec, |
| 7718 | } |
| 7719 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7720 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7721 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7722 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7723 | }, |
| 7724 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7725 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 7726 | .vendor = "AMIC", |
| 7727 | .name = "unknown AMIC SPI chip", |
| 7728 | .bustype = CHIP_BUSTYPE_SPI, |
| 7729 | .manufacture_id = AMIC_ID, |
| 7730 | .model_id = GENERIC_DEVICE_ID, |
| 7731 | .total_size = 0, |
| 7732 | .page_size = 256, |
| 7733 | .tested = TEST_BAD_PREW, |
| 7734 | .probe = probe_spi_rdid4, |
| 7735 | .probe_timing = TIMING_ZERO, |
| 7736 | .write = NULL, |
| 7737 | .read = NULL, |
| 7738 | }, |
| 7739 | |
| 7740 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7741 | .vendor = "Atmel", |
| 7742 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7743 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7744 | .manufacture_id = ATMEL_ID, |
| 7745 | .model_id = GENERIC_DEVICE_ID, |
| 7746 | .total_size = 0, |
| 7747 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7748 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7749 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7750 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7751 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7752 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7753 | }, |
| 7754 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7755 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 7756 | .vendor = "Eon", |
| 7757 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7758 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7759 | .manufacture_id = EON_ID_NOPREFIX, |
| 7760 | .model_id = GENERIC_DEVICE_ID, |
| 7761 | .total_size = 0, |
| 7762 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7763 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7764 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7765 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7766 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7767 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7768 | }, |
| 7769 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7770 | { |
| 7771 | .vendor = "Macronix", |
| 7772 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7773 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7774 | .manufacture_id = MX_ID, |
| 7775 | .model_id = GENERIC_DEVICE_ID, |
| 7776 | .total_size = 0, |
| 7777 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7778 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7779 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7780 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7781 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7782 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7783 | }, |
| 7784 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7785 | { |
| 7786 | .vendor = "PMC", |
| 7787 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7788 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7789 | .manufacture_id = PMC_ID, |
| 7790 | .model_id = GENERIC_DEVICE_ID, |
| 7791 | .total_size = 0, |
| 7792 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7793 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7794 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7795 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7796 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7797 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7798 | }, |
| 7799 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7800 | { |
| 7801 | .vendor = "SST", |
| 7802 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7803 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7804 | .manufacture_id = SST_ID, |
| 7805 | .model_id = GENERIC_DEVICE_ID, |
| 7806 | .total_size = 0, |
| 7807 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7808 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7809 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7810 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7811 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7812 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7813 | }, |
| 7814 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7815 | { |
| 7816 | .vendor = "ST", |
| 7817 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7818 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7819 | .manufacture_id = ST_ID, |
| 7820 | .model_id = GENERIC_DEVICE_ID, |
| 7821 | .total_size = 0, |
| 7822 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7823 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7824 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7825 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7826 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7827 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7828 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 7829 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7830 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7831 | .vendor = "Sanyo", |
| 7832 | .name = "unknown Sanyo SPI chip", |
| 7833 | .bustype = CHIP_BUSTYPE_SPI, |
| 7834 | .manufacture_id = SANYO_ID, |
| 7835 | .model_id = GENERIC_DEVICE_ID, |
| 7836 | .total_size = 0, |
| 7837 | .page_size = 256, |
| 7838 | .tested = TEST_BAD_PREW, |
| 7839 | .probe = probe_spi_rdid, |
| 7840 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7841 | .write = NULL, |
| 7842 | .read = NULL, |
| 7843 | }, |
| 7844 | |
| 7845 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7846 | .vendor = "Generic", |
| 7847 | .name = "unknown SPI chip (RDID)", |
| 7848 | .bustype = CHIP_BUSTYPE_SPI, |
| 7849 | .manufacture_id = GENERIC_MANUF_ID, |
| 7850 | .model_id = GENERIC_DEVICE_ID, |
| 7851 | .total_size = 0, |
| 7852 | .page_size = 256, |
| 7853 | .tested = TEST_BAD_PREW, |
| 7854 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7855 | .write = NULL, |
| 7856 | }, |
| 7857 | { |
| 7858 | .vendor = "Generic", |
| 7859 | .name = "unknown SPI chip (REMS)", |
| 7860 | .bustype = CHIP_BUSTYPE_SPI, |
| 7861 | .manufacture_id = GENERIC_MANUF_ID, |
| 7862 | .model_id = GENERIC_DEVICE_ID, |
| 7863 | .total_size = 0, |
| 7864 | .page_size = 256, |
| 7865 | .tested = TEST_BAD_PREW, |
| 7866 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7867 | .write = NULL, |
| 7868 | }, |
| 7869 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7870 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 7871 | }; |