Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Sean Nelson | c57a920 | 2010-01-04 17:15:23 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 9 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 14 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 19 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #include "flash.h" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 26 | #include "flashchips.h" |
Sean Nelson | 14ba668 | 2010-02-26 05:48:29 +0000 | [diff] [blame] | 27 | #include "chipdrivers.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 30 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 31 | * |
| 32 | * Please keep the list sorted by vendor name and chip name, so that |
| 33 | * the output of 'flashrom -L' is alphabetically sorted. |
| 34 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 35 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 36 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 37 | /* |
| 38 | * .vendor = Vendor name |
| 39 | * .name = Chip name |
| 40 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 41 | * .manufacture_id = Manufacturer chip ID |
| 42 | * .model_id = Model chip ID |
| 43 | * .total_size = Total size in (binary) kbytes |
| 44 | * .page_size = Page or eraseblock(?) size in bytes |
| 45 | * .tested = Test status |
| 46 | * .probe = Probe function |
| 47 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 48 | * .block_erasers[] = Array of erase layouts and erase functions |
| 49 | * { |
| 50 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 51 | * .block_erase = Block erase function |
| 52 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 53 | * .printlock = Chip lock status function |
| 54 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 55 | * .write = Chip write function |
| 56 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 57 | */ |
| 58 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 59 | { |
| 60 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 61 | .name = "Am29F010A/B", |
| 62 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 63 | .manufacture_id = AMD_ID, |
| 64 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 65 | .total_size = 128, |
| 66 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 67 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 68 | .tested = TEST_UNTESTED, |
| 69 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 70 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 71 | .block_erasers = |
| 72 | { |
| 73 | { |
| 74 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 75 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 76 | }, { |
| 77 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 78 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 79 | }, |
| 80 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 81 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 82 | .read = read_memmapped, |
| 83 | }, |
| 84 | |
| 85 | { |
| 86 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 87 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 88 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .manufacture_id = AMD_ID, |
| 90 | .model_id = AM_29F002BB, |
| 91 | .total_size = 256, |
| 92 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 93 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 94 | .tested = TEST_UNTESTED, |
| 95 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 96 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 97 | .block_erasers = |
| 98 | { |
| 99 | { |
| 100 | .eraseblocks = { |
| 101 | {16 * 1024, 1}, |
| 102 | {8 * 1024, 2}, |
| 103 | {32 * 1024, 1}, |
| 104 | {64 * 1024, 3}, |
| 105 | }, |
| 106 | .block_erase = erase_sector_jedec, |
| 107 | }, { |
| 108 | .eraseblocks = { {256 * 1024, 1} }, |
| 109 | .block_erase = erase_chip_block_jedec, |
| 110 | }, |
| 111 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 114 | }, |
| 115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 116 | { |
| 117 | .vendor = "AMD", |
| 118 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 120 | .manufacture_id = AMD_ID, |
| 121 | .model_id = AM_29F002BT, |
| 122 | .total_size = 256, |
| 123 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 124 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 125 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 126 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 128 | .block_erasers = |
| 129 | { |
| 130 | { |
| 131 | .eraseblocks = { |
| 132 | {64 * 1024, 3}, |
| 133 | {32 * 1024, 1}, |
| 134 | {8 * 1024, 2}, |
| 135 | {16 * 1024, 1}, |
| 136 | }, |
| 137 | .block_erase = erase_sector_jedec, |
| 138 | }, { |
| 139 | .eraseblocks = { {256 * 1024, 1} }, |
| 140 | .block_erase = erase_chip_block_jedec, |
| 141 | }, |
| 142 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 143 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 145 | }, |
| 146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 147 | { |
| 148 | .vendor = "AMD", |
| 149 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 150 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .manufacture_id = AMD_ID, |
| 152 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 153 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 155 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 156 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 157 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 158 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 159 | .block_erasers = |
| 160 | { |
| 161 | { |
| 162 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 163 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 164 | }, { |
| 165 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 167 | }, |
| 168 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 171 | }, |
| 172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 173 | { |
| 174 | .vendor = "AMD", |
| 175 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | .manufacture_id = AMD_ID, |
| 178 | .model_id = AM_29F040B, |
| 179 | .total_size = 512, |
| 180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 182 | .tested = TEST_UNTESTED, |
| 183 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 185 | .block_erasers = |
| 186 | { |
| 187 | { |
| 188 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 189 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | }, { |
| 191 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 193 | }, |
| 194 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 196 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 197 | }, |
| 198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 199 | { |
| 200 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 201 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 202 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 203 | .manufacture_id = AMD_ID, |
| 204 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 205 | .total_size = 1024, |
| 206 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 207 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 208 | .tested = TEST_UNTESTED, |
| 209 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 211 | .block_erasers = |
| 212 | { |
| 213 | { |
| 214 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 215 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | }, { |
| 217 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 218 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 219 | }, |
| 220 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 222 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 223 | }, |
| 224 | |
| 225 | { |
| 226 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 227 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 228 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 229 | .manufacture_id = AMD_ID, |
| 230 | .model_id = AM_29LV040B, |
| 231 | .total_size = 512, |
| 232 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 234 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 235 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 236 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 237 | .block_erasers = |
| 238 | { |
| 239 | { |
| 240 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 241 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 242 | }, { |
| 243 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 244 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 245 | }, |
| 246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 249 | }, |
| 250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 251 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 252 | .vendor = "AMD", |
| 253 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 255 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 256 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .total_size = 1024, |
| 258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 259 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 260 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 261 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 262 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 263 | .block_erasers = |
| 264 | { |
| 265 | { |
| 266 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 267 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | }, { |
| 269 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 270 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 271 | }, |
| 272 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 273 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 274 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 275 | }, |
| 276 | |
| 277 | { |
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, |
| 646 | .tested = TEST_UNTESTED, |
| 647 | .probe = probe_spi_rdid, |
| 648 | .probe_timing = TIMING_ZERO, |
| 649 | .block_erasers = |
| 650 | { |
| 651 | { |
| 652 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 653 | .block_erase = spi_block_erase_20, |
| 654 | }, { |
| 655 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 656 | .block_erase = spi_block_erase_d8, |
| 657 | }, { |
| 658 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 659 | .block_erase = spi_block_erase_c7, |
| 660 | } |
| 661 | }, |
| 662 | .unlock = spi_disable_blockprotect, |
| 663 | .write = spi_chip_write_256, |
| 664 | .read = spi_chip_read, |
| 665 | }, |
| 666 | |
| 667 | { |
| 668 | .vendor = "AMIC", |
| 669 | .name = "A25L010", |
| 670 | .bustype = CHIP_BUSTYPE_SPI, |
| 671 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 672 | .model_id = AMIC_A25L010, |
| 673 | .total_size = 128, |
| 674 | .page_size = 256, |
| 675 | .tested = TEST_UNTESTED, |
| 676 | .probe = probe_spi_rdid, |
| 677 | .probe_timing = TIMING_ZERO, |
| 678 | .block_erasers = |
| 679 | { |
| 680 | { |
| 681 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 682 | .block_erase = spi_block_erase_20, |
| 683 | }, { |
| 684 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 685 | .block_erase = spi_block_erase_d8, |
| 686 | }, { |
| 687 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 688 | .block_erase = spi_block_erase_c7, |
| 689 | } |
| 690 | }, |
| 691 | .unlock = spi_disable_blockprotect, |
| 692 | .write = spi_chip_write_256, |
| 693 | .read = spi_chip_read, |
| 694 | }, |
| 695 | |
| 696 | { |
| 697 | .vendor = "AMIC", |
| 698 | .name = "A25L020", |
| 699 | .bustype = CHIP_BUSTYPE_SPI, |
| 700 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 701 | .model_id = AMIC_A25L020, |
| 702 | .total_size = 256, |
| 703 | .page_size = 256, |
| 704 | .tested = TEST_UNTESTED, |
| 705 | .probe = probe_spi_rdid, |
| 706 | .probe_timing = TIMING_ZERO, |
| 707 | .block_erasers = |
| 708 | { |
| 709 | { |
| 710 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 711 | .block_erase = spi_block_erase_20, |
| 712 | }, { |
| 713 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 714 | .block_erase = spi_block_erase_d8, |
| 715 | }, { |
| 716 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 717 | .block_erase = spi_block_erase_c7, |
| 718 | } |
| 719 | }, |
| 720 | .unlock = spi_disable_blockprotect, |
| 721 | .write = spi_chip_write_256, |
| 722 | .read = spi_chip_read, |
| 723 | }, |
| 724 | |
| 725 | { |
| 726 | .vendor = "AMIC", |
| 727 | .name = "A25L040", |
| 728 | .bustype = CHIP_BUSTYPE_SPI, |
| 729 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 730 | .model_id = AMIC_A25L040, |
| 731 | .total_size = 512, |
| 732 | .page_size = 256, |
| 733 | .tested = TEST_UNTESTED, |
| 734 | .probe = probe_spi_rdid, |
| 735 | .probe_timing = TIMING_ZERO, |
| 736 | .block_erasers = |
| 737 | { |
| 738 | { |
| 739 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 740 | .block_erase = spi_block_erase_20, |
| 741 | }, { |
| 742 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 743 | .block_erase = spi_block_erase_d8, |
| 744 | }, { |
| 745 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 746 | .block_erase = spi_block_erase_c7, |
| 747 | } |
| 748 | }, |
| 749 | .unlock = spi_disable_blockprotect, |
| 750 | .write = spi_chip_write_256, |
| 751 | .read = spi_chip_read, |
| 752 | }, |
| 753 | |
| 754 | { |
| 755 | .vendor = "AMIC", |
| 756 | .name = "A25L080", |
| 757 | .bustype = CHIP_BUSTYPE_SPI, |
| 758 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 759 | .model_id = AMIC_A25L080, |
| 760 | .total_size = 1024, |
| 761 | .page_size = 256, |
| 762 | .tested = TEST_UNTESTED, |
| 763 | .probe = probe_spi_rdid, |
| 764 | .probe_timing = TIMING_ZERO, |
| 765 | .block_erasers = |
| 766 | { |
| 767 | { |
| 768 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 769 | .block_erase = spi_block_erase_20, |
| 770 | }, { |
| 771 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 772 | .block_erase = spi_block_erase_d8, |
| 773 | }, { |
| 774 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 775 | .block_erase = spi_block_erase_c7, |
| 776 | } |
| 777 | }, |
| 778 | .unlock = spi_disable_blockprotect, |
| 779 | .write = spi_chip_write_256, |
| 780 | .read = spi_chip_read, |
| 781 | }, |
| 782 | |
| 783 | { |
| 784 | .vendor = "AMIC", |
| 785 | .name = "A25L016", |
| 786 | .bustype = CHIP_BUSTYPE_SPI, |
| 787 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 788 | .model_id = AMIC_A25L016, |
| 789 | .total_size = 2048, |
| 790 | .page_size = 256, |
| 791 | .tested = TEST_UNTESTED, |
| 792 | .probe = probe_spi_rdid, |
| 793 | .probe_timing = TIMING_ZERO, |
| 794 | .block_erasers = |
| 795 | { |
| 796 | { |
| 797 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 798 | .block_erase = spi_block_erase_20, |
| 799 | }, { |
| 800 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 801 | .block_erase = spi_block_erase_d8, |
| 802 | }, { |
| 803 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 804 | .block_erase = spi_block_erase_c7, |
| 805 | } |
| 806 | }, |
| 807 | .unlock = spi_disable_blockprotect, |
| 808 | .write = spi_chip_write_256, |
| 809 | .read = spi_chip_read, |
| 810 | }, |
| 811 | |
| 812 | { |
| 813 | .vendor = "AMIC", |
| 814 | .name = "A25L032", |
| 815 | .bustype = CHIP_BUSTYPE_SPI, |
| 816 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 817 | .model_id = AMIC_A25L032, |
| 818 | .total_size = 4096, |
| 819 | .page_size = 256, |
| 820 | .tested = TEST_UNTESTED, |
| 821 | .probe = probe_spi_rdid, |
| 822 | .probe_timing = TIMING_ZERO, |
| 823 | .block_erasers = |
| 824 | { |
| 825 | { |
| 826 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 827 | .block_erase = spi_block_erase_20, |
| 828 | }, { |
| 829 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 830 | .block_erase = spi_block_erase_52, |
| 831 | }, { |
| 832 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 833 | .block_erase = spi_block_erase_d8, |
| 834 | }, { |
| 835 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 836 | .block_erase = spi_block_erase_60, |
| 837 | }, { |
| 838 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 839 | .block_erase = spi_block_erase_c7, |
| 840 | } |
| 841 | }, |
| 842 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 843 | .write = spi_chip_write_256, |
| 844 | .read = spi_chip_read, |
| 845 | }, |
| 846 | |
| 847 | { |
| 848 | .vendor = "AMIC", |
| 849 | .name = "A25LQ032", |
| 850 | .bustype = CHIP_BUSTYPE_SPI, |
| 851 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 852 | .model_id = AMIC_A25LQ032, |
| 853 | .total_size = 4096, |
| 854 | .page_size = 256, |
| 855 | .tested = TEST_UNTESTED, |
| 856 | .probe = probe_spi_rdid, |
| 857 | .probe_timing = TIMING_ZERO, |
| 858 | .block_erasers = |
| 859 | { |
| 860 | { |
| 861 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 862 | .block_erase = spi_block_erase_20, |
| 863 | }, { |
| 864 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 865 | .block_erase = spi_block_erase_52, |
| 866 | }, { |
| 867 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 868 | .block_erase = spi_block_erase_d8, |
| 869 | }, { |
| 870 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 871 | .block_erase = spi_block_erase_60, |
| 872 | }, { |
| 873 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 874 | .block_erase = spi_block_erase_c7, |
| 875 | } |
| 876 | }, |
| 877 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 878 | .write = spi_chip_write_256, |
| 879 | .read = spi_chip_read, |
| 880 | }, |
| 881 | |
| 882 | { |
| 883 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 884 | .name = "A29002B", |
| 885 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 886 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 887 | .model_id = AMIC_A29002B, |
| 888 | .total_size = 256, |
| 889 | .page_size = 64 * 1024, |
| 890 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 891 | .tested = TEST_UNTESTED, |
| 892 | .probe = probe_jedec, |
| 893 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 894 | .block_erasers = |
| 895 | { |
| 896 | { |
| 897 | .eraseblocks = { |
| 898 | {16 * 1024, 1}, |
| 899 | {8 * 1024, 2}, |
| 900 | {32 * 1024, 1}, |
| 901 | {64 * 1024, 3}, |
| 902 | }, |
| 903 | .block_erase = erase_sector_jedec, |
| 904 | }, { |
| 905 | .eraseblocks = { {256 * 1024, 1} }, |
| 906 | .block_erase = erase_chip_block_jedec, |
| 907 | }, |
| 908 | }, |
| 909 | .write = write_jedec_1, |
| 910 | .read = read_memmapped, |
| 911 | }, |
| 912 | |
| 913 | { |
| 914 | .vendor = "AMIC", |
| 915 | .name = "A29002T", |
| 916 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 917 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 918 | .model_id = AMIC_A29002T, |
| 919 | .total_size = 256, |
| 920 | .page_size = 64 * 1024, |
| 921 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 922 | .tested = TEST_OK_PRW, |
| 923 | .probe = probe_jedec, |
| 924 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 925 | .block_erasers = |
| 926 | { |
| 927 | { |
| 928 | .eraseblocks = { |
| 929 | {64 * 1024, 3}, |
| 930 | {32 * 1024, 1}, |
| 931 | {8 * 1024, 2}, |
| 932 | {16 * 1024, 1}, |
| 933 | }, |
| 934 | .block_erase = erase_sector_jedec, |
| 935 | }, { |
| 936 | .eraseblocks = { {256 * 1024, 1} }, |
| 937 | .block_erase = erase_chip_block_jedec, |
| 938 | }, |
| 939 | }, |
| 940 | .write = write_jedec_1, |
| 941 | .read = read_memmapped, |
| 942 | }, |
| 943 | |
| 944 | { |
| 945 | .vendor = "AMIC", |
| 946 | .name = "A29040B", |
| 947 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 948 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 949 | .model_id = AMIC_A29040B, |
| 950 | .total_size = 512, |
| 951 | .page_size = 64 * 1024, |
| 952 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 953 | .tested = TEST_UNTESTED, |
| 954 | .probe = probe_jedec, |
| 955 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
| 956 | .block_erasers = |
| 957 | { |
| 958 | { |
| 959 | .eraseblocks = { {64 * 1024, 8} }, |
| 960 | .block_erase = erase_sector_jedec, |
| 961 | }, { |
| 962 | .eraseblocks = { {512 * 1024, 1} }, |
| 963 | .block_erase = erase_chip_block_jedec, |
| 964 | }, |
| 965 | }, |
| 966 | .write = write_jedec_1, |
| 967 | .read = read_memmapped, |
| 968 | }, |
| 969 | |
| 970 | { |
| 971 | .vendor = "AMIC", |
| 972 | .name = "A49LF040A", |
| 973 | .bustype = CHIP_BUSTYPE_LPC, |
| 974 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 975 | .model_id = AMIC_A49LF040A, |
| 976 | .total_size = 512, |
| 977 | .page_size = 64 * 1024, |
| 978 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 979 | .tested = TEST_OK_PREW, |
| 980 | .probe = probe_jedec, |
| 981 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 982 | .block_erasers = |
| 983 | { |
| 984 | { |
| 985 | .eraseblocks = { {64 * 1024, 8} }, |
| 986 | .block_erase = erase_block_jedec, |
| 987 | }, { |
| 988 | .eraseblocks = { {512 * 1024, 1} }, |
| 989 | .block_erase = erase_chip_block_jedec, |
| 990 | } |
| 991 | }, |
| 992 | .unlock = unlock_49fl00x, |
| 993 | .write = write_jedec_1, |
| 994 | .read = read_memmapped, |
| 995 | }, |
| 996 | |
| 997 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 998 | .vendor = "ASD", |
| 999 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1000 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1001 | .manufacture_id = ASD_ID, |
| 1002 | .model_id = ASD_AE49F2008, |
| 1003 | .total_size = 256, |
| 1004 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1005 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1006 | .tested = TEST_UNTESTED, |
| 1007 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1008 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1009 | .block_erasers = |
| 1010 | { |
| 1011 | { |
| 1012 | .eraseblocks = { |
| 1013 | {128 * 1024, 1}, |
| 1014 | {96 * 1024, 1}, |
| 1015 | {8 * 1024, 2}, |
| 1016 | {16 * 1024, 1}, |
| 1017 | }, |
| 1018 | .block_erase = erase_sector_jedec, |
| 1019 | }, { |
| 1020 | .eraseblocks = { {256 * 1024, 1} }, |
| 1021 | .block_erase = erase_chip_block_jedec, |
| 1022 | } |
| 1023 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1024 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1025 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1026 | }, |
| 1027 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1028 | { |
| 1029 | .vendor = "Atmel", |
| 1030 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1031 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1032 | .manufacture_id = ATMEL_ID, |
| 1033 | .model_id = AT_25DF021, |
| 1034 | .total_size = 256, |
| 1035 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1036 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1037 | .tested = TEST_UNTESTED, |
| 1038 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1039 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1040 | .block_erasers = |
| 1041 | { |
| 1042 | { |
| 1043 | .eraseblocks = { {4 * 1024, 64} }, |
| 1044 | .block_erase = spi_block_erase_20, |
| 1045 | }, { |
| 1046 | .eraseblocks = { {32 * 1024, 8} }, |
| 1047 | .block_erase = spi_block_erase_52, |
| 1048 | }, { |
| 1049 | .eraseblocks = { {64 * 1024, 4} }, |
| 1050 | .block_erase = spi_block_erase_d8, |
| 1051 | }, { |
| 1052 | .eraseblocks = { {256 * 1024, 1} }, |
| 1053 | .block_erase = spi_block_erase_60, |
| 1054 | }, { |
| 1055 | .eraseblocks = { {256 * 1024, 1} }, |
| 1056 | .block_erase = spi_block_erase_c7, |
| 1057 | } |
| 1058 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1059 | .printlock = spi_prettyprint_status_register_at25df, |
| 1060 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1061 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1062 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1063 | }, |
| 1064 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1065 | { |
| 1066 | .vendor = "Atmel", |
| 1067 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1068 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1069 | .manufacture_id = ATMEL_ID, |
| 1070 | .model_id = AT_25DF041A, |
| 1071 | .total_size = 512, |
| 1072 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1073 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1074 | .tested = TEST_UNTESTED, |
| 1075 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1076 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1077 | .block_erasers = |
| 1078 | { |
| 1079 | { |
| 1080 | .eraseblocks = { {4 * 1024, 128} }, |
| 1081 | .block_erase = spi_block_erase_20, |
| 1082 | }, { |
| 1083 | .eraseblocks = { {32 * 1024, 16} }, |
| 1084 | .block_erase = spi_block_erase_52, |
| 1085 | }, { |
| 1086 | .eraseblocks = { {64 * 1024, 8} }, |
| 1087 | .block_erase = spi_block_erase_d8, |
| 1088 | }, { |
| 1089 | .eraseblocks = { {512 * 1024, 1} }, |
| 1090 | .block_erase = spi_block_erase_60, |
| 1091 | }, { |
| 1092 | .eraseblocks = { {512 * 1024, 1} }, |
| 1093 | .block_erase = spi_block_erase_c7, |
| 1094 | } |
| 1095 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1096 | .printlock = spi_prettyprint_status_register_at25df, |
| 1097 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1098 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1099 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1100 | }, |
| 1101 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1102 | { |
| 1103 | .vendor = "Atmel", |
| 1104 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1105 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1106 | .manufacture_id = ATMEL_ID, |
| 1107 | .model_id = AT_25DF081, |
| 1108 | .total_size = 1024, |
| 1109 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1110 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1111 | .tested = TEST_UNTESTED, |
| 1112 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1113 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1114 | .block_erasers = |
| 1115 | { |
| 1116 | { |
| 1117 | .eraseblocks = { {4 * 1024, 256} }, |
| 1118 | .block_erase = spi_block_erase_20, |
| 1119 | }, { |
| 1120 | .eraseblocks = { {32 * 1024, 32} }, |
| 1121 | .block_erase = spi_block_erase_52, |
| 1122 | }, { |
| 1123 | .eraseblocks = { {64 * 1024, 16} }, |
| 1124 | .block_erase = spi_block_erase_d8, |
| 1125 | }, { |
| 1126 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1127 | .block_erase = spi_block_erase_60, |
| 1128 | }, { |
| 1129 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1130 | .block_erase = spi_block_erase_c7, |
| 1131 | } |
| 1132 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1133 | .printlock = spi_prettyprint_status_register_at25df, |
| 1134 | .unlock = spi_disable_blockprotect_at25df, |
| 1135 | .write = spi_chip_write_256, |
| 1136 | .read = spi_chip_read, |
| 1137 | }, |
| 1138 | |
| 1139 | { |
| 1140 | .vendor = "Atmel", |
| 1141 | .name = "AT25DF081A", |
| 1142 | .bustype = CHIP_BUSTYPE_SPI, |
| 1143 | .manufacture_id = ATMEL_ID, |
| 1144 | .model_id = AT_25DF081A, |
| 1145 | .total_size = 1024, |
| 1146 | .page_size = 256, |
| 1147 | .feature_bits = FEATURE_WRSR_WREN, |
| 1148 | .tested = TEST_UNTESTED, |
| 1149 | .probe = probe_spi_rdid, |
| 1150 | .probe_timing = TIMING_ZERO, |
| 1151 | .block_erasers = |
| 1152 | { |
| 1153 | { |
| 1154 | .eraseblocks = { {4 * 1024, 256} }, |
| 1155 | .block_erase = spi_block_erase_20, |
| 1156 | }, { |
| 1157 | .eraseblocks = { {32 * 1024, 32} }, |
| 1158 | .block_erase = spi_block_erase_52, |
| 1159 | }, { |
| 1160 | .eraseblocks = { {64 * 1024, 16} }, |
| 1161 | .block_erase = spi_block_erase_d8, |
| 1162 | }, { |
| 1163 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1164 | .block_erase = spi_block_erase_60, |
| 1165 | }, { |
| 1166 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1167 | .block_erase = spi_block_erase_c7, |
| 1168 | } |
| 1169 | }, |
| 1170 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1171 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1172 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1173 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1174 | }, |
| 1175 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1176 | { |
| 1177 | .vendor = "Atmel", |
| 1178 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1179 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1180 | .manufacture_id = ATMEL_ID, |
| 1181 | .model_id = AT_25DF161, |
| 1182 | .total_size = 2048, |
| 1183 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1184 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1185 | .tested = TEST_UNTESTED, |
| 1186 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1187 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1188 | .block_erasers = |
| 1189 | { |
| 1190 | { |
| 1191 | .eraseblocks = { {4 * 1024, 512} }, |
| 1192 | .block_erase = spi_block_erase_20, |
| 1193 | }, { |
| 1194 | .eraseblocks = { {32 * 1024, 64} }, |
| 1195 | .block_erase = spi_block_erase_52, |
| 1196 | }, { |
| 1197 | .eraseblocks = { {64 * 1024, 32} }, |
| 1198 | .block_erase = spi_block_erase_d8, |
| 1199 | }, { |
| 1200 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1201 | .block_erase = spi_block_erase_60, |
| 1202 | }, { |
| 1203 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1204 | .block_erase = spi_block_erase_c7, |
| 1205 | } |
| 1206 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1207 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1208 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1209 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1210 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1211 | }, |
| 1212 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1213 | { |
| 1214 | .vendor = "Atmel", |
| 1215 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1216 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1217 | .manufacture_id = ATMEL_ID, |
| 1218 | .model_id = AT_25DF321, |
| 1219 | .total_size = 4096, |
| 1220 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1221 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 1222 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1223 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1224 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1225 | .block_erasers = |
| 1226 | { |
| 1227 | { |
| 1228 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1229 | .block_erase = spi_block_erase_20, |
| 1230 | }, { |
| 1231 | .eraseblocks = { {32 * 1024, 128} }, |
| 1232 | .block_erase = spi_block_erase_52, |
| 1233 | }, { |
| 1234 | .eraseblocks = { {64 * 1024, 64} }, |
| 1235 | .block_erase = spi_block_erase_d8, |
| 1236 | }, { |
| 1237 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1238 | .block_erase = spi_block_erase_60, |
| 1239 | }, { |
| 1240 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1241 | .block_erase = spi_block_erase_c7, |
| 1242 | } |
| 1243 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1244 | .printlock = spi_prettyprint_status_register_at25df, |
| 1245 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1246 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1247 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1248 | }, |
| 1249 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1250 | { |
| 1251 | .vendor = "Atmel", |
| 1252 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1253 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1254 | .manufacture_id = ATMEL_ID, |
| 1255 | .model_id = AT_25DF321A, |
| 1256 | .total_size = 4096, |
| 1257 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1258 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1259 | .tested = TEST_UNTESTED, |
| 1260 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1261 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1262 | .block_erasers = |
| 1263 | { |
| 1264 | { |
| 1265 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1266 | .block_erase = spi_block_erase_20, |
| 1267 | }, { |
| 1268 | .eraseblocks = { {32 * 1024, 128} }, |
| 1269 | .block_erase = spi_block_erase_52, |
| 1270 | }, { |
| 1271 | .eraseblocks = { {64 * 1024, 64} }, |
| 1272 | .block_erase = spi_block_erase_d8, |
| 1273 | }, { |
| 1274 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1275 | .block_erase = spi_block_erase_60, |
| 1276 | }, { |
| 1277 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1278 | .block_erase = spi_block_erase_c7, |
| 1279 | } |
| 1280 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1281 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1282 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1283 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1284 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1285 | }, |
| 1286 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1287 | { |
| 1288 | .vendor = "Atmel", |
| 1289 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1290 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1291 | .manufacture_id = ATMEL_ID, |
| 1292 | .model_id = AT_25DF641, |
| 1293 | .total_size = 8192, |
| 1294 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1295 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1296 | .tested = TEST_UNTESTED, |
| 1297 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1298 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1299 | .block_erasers = |
| 1300 | { |
| 1301 | { |
| 1302 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1303 | .block_erase = spi_block_erase_20, |
| 1304 | }, { |
| 1305 | .eraseblocks = { {32 * 1024, 256} }, |
| 1306 | .block_erase = spi_block_erase_52, |
| 1307 | }, { |
| 1308 | .eraseblocks = { {64 * 1024, 128} }, |
| 1309 | .block_erase = spi_block_erase_d8, |
| 1310 | }, { |
| 1311 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1312 | .block_erase = spi_block_erase_60, |
| 1313 | }, { |
| 1314 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1315 | .block_erase = spi_block_erase_c7, |
| 1316 | } |
| 1317 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1318 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1319 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1320 | .write = spi_chip_write_256, |
| 1321 | .read = spi_chip_read, |
| 1322 | }, |
| 1323 | |
| 1324 | { |
| 1325 | .vendor = "Atmel", |
| 1326 | .name = "AT25DQ161", |
| 1327 | .bustype = CHIP_BUSTYPE_SPI, |
| 1328 | .manufacture_id = ATMEL_ID, |
| 1329 | .model_id = AT_25DQ161, |
| 1330 | .total_size = 2048, |
| 1331 | .page_size = 256, |
| 1332 | .feature_bits = FEATURE_WRSR_WREN, |
| 1333 | .tested = TEST_UNTESTED, |
| 1334 | .probe = probe_spi_rdid, |
| 1335 | .probe_timing = TIMING_ZERO, |
| 1336 | .block_erasers = |
| 1337 | { |
| 1338 | { |
| 1339 | .eraseblocks = { {4 * 1024, 512} }, |
| 1340 | .block_erase = spi_block_erase_20, |
| 1341 | }, { |
| 1342 | .eraseblocks = { {32 * 1024, 64} }, |
| 1343 | .block_erase = spi_block_erase_52, |
| 1344 | }, { |
| 1345 | .eraseblocks = { {64 * 1024, 32} }, |
| 1346 | .block_erase = spi_block_erase_d8, |
| 1347 | }, { |
| 1348 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1349 | .block_erase = spi_block_erase_60, |
| 1350 | }, { |
| 1351 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1352 | .block_erase = spi_block_erase_c7, |
| 1353 | } |
| 1354 | }, |
| 1355 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1356 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1358 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1359 | }, |
| 1360 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1361 | { |
| 1362 | .vendor = "Atmel", |
| 1363 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1364 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1365 | .manufacture_id = ATMEL_ID, |
| 1366 | .model_id = AT_25F512B, |
| 1367 | .total_size = 64, |
| 1368 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1369 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1370 | .tested = TEST_UNTESTED, |
| 1371 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1372 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1373 | .block_erasers = |
| 1374 | { |
| 1375 | { |
| 1376 | .eraseblocks = { {4 * 1024, 16} }, |
| 1377 | .block_erase = spi_block_erase_20, |
| 1378 | }, { |
| 1379 | .eraseblocks = { {32 * 1024, 2} }, |
| 1380 | .block_erase = spi_block_erase_52, |
| 1381 | }, { |
| 1382 | .eraseblocks = { {32 * 1024, 2} }, |
| 1383 | .block_erase = spi_block_erase_d8, |
| 1384 | }, { |
| 1385 | .eraseblocks = { {64 * 1024, 1} }, |
| 1386 | .block_erase = spi_block_erase_60, |
| 1387 | }, { |
| 1388 | .eraseblocks = { {64 * 1024, 1} }, |
| 1389 | .block_erase = spi_block_erase_c7, |
| 1390 | } |
| 1391 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1392 | .printlock = spi_prettyprint_status_register_at25f, |
| 1393 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1394 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1395 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1396 | }, |
| 1397 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1398 | { |
| 1399 | .vendor = "Atmel", |
| 1400 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1401 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1402 | .manufacture_id = ATMEL_ID, |
| 1403 | .model_id = AT_25FS010, |
| 1404 | .total_size = 128, |
| 1405 | .page_size = 256, |
| 1406 | .tested = TEST_UNTESTED, |
| 1407 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1408 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1409 | .block_erasers = |
| 1410 | { |
| 1411 | { |
| 1412 | .eraseblocks = { {4 * 1024, 32} }, |
| 1413 | .block_erase = spi_block_erase_20, |
| 1414 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1415 | .eraseblocks = { {4 * 1024, 32} }, |
| 1416 | .block_erase = spi_block_erase_d7, |
| 1417 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1418 | .eraseblocks = { {32 * 1024, 4} }, |
| 1419 | .block_erase = spi_block_erase_52, |
| 1420 | }, { |
| 1421 | .eraseblocks = { {32 * 1024, 4} }, |
| 1422 | .block_erase = spi_block_erase_d8, |
| 1423 | }, { |
| 1424 | .eraseblocks = { {128 * 1024, 1} }, |
| 1425 | .block_erase = spi_block_erase_60, |
| 1426 | }, { |
| 1427 | .eraseblocks = { {128 * 1024, 1} }, |
| 1428 | .block_erase = spi_block_erase_c7, |
| 1429 | } |
| 1430 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1431 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1432 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1433 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1434 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1435 | }, |
| 1436 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1437 | { |
| 1438 | .vendor = "Atmel", |
| 1439 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1440 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1441 | .manufacture_id = ATMEL_ID, |
| 1442 | .model_id = AT_25FS040, |
| 1443 | .total_size = 512, |
| 1444 | .page_size = 256, |
| 1445 | .tested = TEST_UNTESTED, |
| 1446 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1447 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1448 | .block_erasers = |
| 1449 | { |
| 1450 | { |
| 1451 | .eraseblocks = { {4 * 1024, 128} }, |
| 1452 | .block_erase = spi_block_erase_20, |
| 1453 | }, { |
| 1454 | .eraseblocks = { {64 * 1024, 8} }, |
| 1455 | .block_erase = spi_block_erase_52, |
| 1456 | }, { |
| 1457 | .eraseblocks = { {64 * 1024, 8} }, |
| 1458 | .block_erase = spi_block_erase_d8, |
| 1459 | }, { |
| 1460 | .eraseblocks = { {512 * 1024, 1} }, |
| 1461 | .block_erase = spi_block_erase_60, |
| 1462 | }, { |
| 1463 | .eraseblocks = { {512 * 1024, 1} }, |
| 1464 | .block_erase = spi_block_erase_c7, |
| 1465 | } |
| 1466 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1467 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1468 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1469 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1470 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1471 | }, |
| 1472 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1473 | { |
| 1474 | .vendor = "Atmel", |
| 1475 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1476 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1477 | .manufacture_id = ATMEL_ID, |
| 1478 | .model_id = AT_26DF041, |
| 1479 | .total_size = 512, |
| 1480 | .page_size = 256, |
| 1481 | .tested = TEST_UNTESTED, |
| 1482 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1483 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1484 | .block_erasers = |
| 1485 | { |
| 1486 | { |
| 1487 | .eraseblocks = { {4 * 1024, 128} }, |
| 1488 | .block_erase = spi_block_erase_20, |
| 1489 | } |
| 1490 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1491 | .write = NULL /* Incompatible Page write */, |
| 1492 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1493 | }, |
| 1494 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1495 | { |
| 1496 | .vendor = "Atmel", |
| 1497 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1498 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1499 | .manufacture_id = ATMEL_ID, |
| 1500 | .model_id = AT_26DF081A, |
| 1501 | .total_size = 1024, |
| 1502 | .page_size = 256, |
| 1503 | .tested = TEST_UNTESTED, |
| 1504 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1505 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1506 | .block_erasers = |
| 1507 | { |
| 1508 | { |
| 1509 | .eraseblocks = { {4 * 1024, 256} }, |
| 1510 | .block_erase = spi_block_erase_20, |
| 1511 | }, { |
| 1512 | .eraseblocks = { {32 * 1024, 32} }, |
| 1513 | .block_erase = spi_block_erase_52, |
| 1514 | }, { |
| 1515 | .eraseblocks = { {64 * 1024, 16} }, |
| 1516 | .block_erase = spi_block_erase_d8, |
| 1517 | }, { |
| 1518 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1519 | .block_erase = spi_block_erase_60, |
| 1520 | }, { |
| 1521 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1522 | .block_erase = spi_block_erase_c7, |
| 1523 | } |
| 1524 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1525 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1526 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1527 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1528 | }, |
| 1529 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1530 | { |
| 1531 | .vendor = "Atmel", |
| 1532 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1533 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1534 | .manufacture_id = ATMEL_ID, |
| 1535 | .model_id = AT_26DF161, |
| 1536 | .total_size = 2048, |
| 1537 | .page_size = 256, |
| 1538 | .tested = TEST_UNTESTED, |
| 1539 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1540 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1541 | .block_erasers = |
| 1542 | { |
| 1543 | { |
| 1544 | .eraseblocks = { {4 * 1024, 512} }, |
| 1545 | .block_erase = spi_block_erase_20, |
| 1546 | }, { |
| 1547 | .eraseblocks = { {32 * 1024, 64} }, |
| 1548 | .block_erase = spi_block_erase_52, |
| 1549 | }, { |
| 1550 | .eraseblocks = { {64 * 1024, 32} }, |
| 1551 | .block_erase = spi_block_erase_d8, |
| 1552 | }, { |
| 1553 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1554 | .block_erase = spi_block_erase_60, |
| 1555 | }, { |
| 1556 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1557 | .block_erase = spi_block_erase_c7, |
| 1558 | } |
| 1559 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1560 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1561 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1562 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1563 | }, |
| 1564 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1565 | { |
| 1566 | .vendor = "Atmel", |
| 1567 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1568 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1569 | .manufacture_id = ATMEL_ID, |
| 1570 | .model_id = AT_26DF161A, |
| 1571 | .total_size = 2048, |
| 1572 | .page_size = 256, |
| 1573 | .tested = TEST_UNTESTED, |
| 1574 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1575 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1576 | .block_erasers = |
| 1577 | { |
| 1578 | { |
| 1579 | .eraseblocks = { {4 * 1024, 512} }, |
| 1580 | .block_erase = spi_block_erase_20, |
| 1581 | }, { |
| 1582 | .eraseblocks = { {32 * 1024, 64} }, |
| 1583 | .block_erase = spi_block_erase_52, |
| 1584 | }, { |
| 1585 | .eraseblocks = { {64 * 1024, 32} }, |
| 1586 | .block_erase = spi_block_erase_d8, |
| 1587 | }, { |
| 1588 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1589 | .block_erase = spi_block_erase_60, |
| 1590 | }, { |
| 1591 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1592 | .block_erase = spi_block_erase_c7, |
| 1593 | } |
| 1594 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1595 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1596 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1597 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1598 | }, |
| 1599 | |
| 1600 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1601 | /*{ |
| 1602 | .vendor = "Atmel", |
| 1603 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1604 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1605 | .manufacture_id = ATMEL_ID, |
| 1606 | .model_id = AT_26DF321, |
| 1607 | .total_size = 4096, |
| 1608 | .page_size = 256, |
| 1609 | .tested = TEST_UNTESTED, |
| 1610 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1611 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1612 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1613 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1614 | .read = spi_chip_read, |
| 1615 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1616 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1617 | { |
| 1618 | .vendor = "Atmel", |
| 1619 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1620 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1621 | .manufacture_id = ATMEL_ID, |
| 1622 | .model_id = AT_26F004, |
| 1623 | .total_size = 512, |
| 1624 | .page_size = 256, |
| 1625 | .tested = TEST_UNTESTED, |
| 1626 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1627 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1628 | .block_erasers = |
| 1629 | { |
| 1630 | { |
| 1631 | .eraseblocks = { {4 * 1024, 128} }, |
| 1632 | .block_erase = spi_block_erase_20, |
| 1633 | }, { |
| 1634 | .eraseblocks = { {32 * 1024, 16} }, |
| 1635 | .block_erase = spi_block_erase_52, |
| 1636 | }, { |
| 1637 | .eraseblocks = { {64 * 1024, 8} }, |
| 1638 | .block_erase = spi_block_erase_d8, |
| 1639 | }, { |
| 1640 | .eraseblocks = { {512 * 1024, 1} }, |
| 1641 | .block_erase = spi_block_erase_60, |
| 1642 | }, { |
| 1643 | .eraseblocks = { {512 * 1024, 1} }, |
| 1644 | .block_erase = spi_block_erase_c7, |
| 1645 | } |
| 1646 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1647 | .write = NULL /* Incompatible Page write */, |
| 1648 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1649 | }, |
| 1650 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1651 | { |
| 1652 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1653 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1654 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1655 | .manufacture_id = ATMEL_ID, |
| 1656 | .model_id = AT_29C512, |
| 1657 | .total_size = 64, |
| 1658 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1659 | .feature_bits = FEATURE_LONG_RESET, |
| 1660 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1661 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1662 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1663 | .block_erasers = |
| 1664 | { |
| 1665 | { |
| 1666 | .eraseblocks = { {64 * 1024, 1} }, |
| 1667 | .block_erase = erase_chip_block_jedec, |
| 1668 | } |
| 1669 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1670 | .write = write_jedec, |
| 1671 | .read = read_memmapped, |
| 1672 | |
| 1673 | }, |
| 1674 | |
| 1675 | { |
| 1676 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1677 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1678 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1679 | .manufacture_id = ATMEL_ID, |
| 1680 | .model_id = AT_29C010A, |
| 1681 | .total_size = 128, |
| 1682 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1683 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 1684 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1685 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1686 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1687 | .block_erasers = |
| 1688 | { |
| 1689 | { |
| 1690 | .eraseblocks = { {128 * 1024, 1} }, |
| 1691 | .block_erase = erase_chip_block_jedec, |
| 1692 | } |
| 1693 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1694 | .write = write_jedec, /* FIXME */ |
| 1695 | .read = read_memmapped, |
| 1696 | }, |
| 1697 | |
| 1698 | { |
| 1699 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1700 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1701 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1702 | .manufacture_id = ATMEL_ID, |
| 1703 | .model_id = AT_29C020, |
| 1704 | .total_size = 256, |
| 1705 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1706 | .feature_bits = FEATURE_LONG_RESET, |
| 1707 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1708 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 1709 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1710 | .block_erasers = |
| 1711 | { |
| 1712 | { |
| 1713 | .eraseblocks = { {256 * 1024, 1} }, |
| 1714 | .block_erase = erase_chip_block_jedec, |
| 1715 | } |
| 1716 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1717 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1718 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1719 | }, |
| 1720 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1721 | { |
| 1722 | .vendor = "Atmel", |
| 1723 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1724 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1725 | .manufacture_id = ATMEL_ID, |
| 1726 | .model_id = AT_29C040A, |
| 1727 | .total_size = 512, |
| 1728 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1729 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1730 | .tested = TEST_UNTESTED, |
| 1731 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 1732 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1733 | .block_erasers = |
| 1734 | { |
| 1735 | { |
| 1736 | .eraseblocks = { {512 * 1024, 1} }, |
| 1737 | .block_erase = erase_chip_block_jedec, |
| 1738 | } |
| 1739 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1740 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1741 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1742 | }, |
| 1743 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1744 | { |
| 1745 | .vendor = "Atmel", |
| 1746 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1747 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1748 | .manufacture_id = ATMEL_ID, |
| 1749 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1750 | .total_size = 16896 /* No power of two sizes */, |
| 1751 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1752 | .tested = TEST_BAD_READ, |
| 1753 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1754 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1755 | .write = NULL /* Incompatible Page write */, |
| 1756 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1757 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1759 | { |
| 1760 | .vendor = "Atmel", |
| 1761 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1762 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1763 | .manufacture_id = ATMEL_ID, |
| 1764 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1765 | .total_size = 128 /* Size can only be determined from status register */, |
| 1766 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1767 | .tested = TEST_BAD_READ, |
| 1768 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1769 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1770 | .write = NULL, |
| 1771 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1772 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1773 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1774 | { |
| 1775 | .vendor = "Atmel", |
| 1776 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1777 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1778 | .manufacture_id = ATMEL_ID, |
| 1779 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1780 | .total_size = 256 /* Size can only be determined from status register */, |
| 1781 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1782 | .tested = TEST_BAD_READ, |
| 1783 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1784 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1785 | .write = NULL, |
| 1786 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1787 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1788 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1789 | { |
| 1790 | .vendor = "Atmel", |
| 1791 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1792 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1793 | .manufacture_id = ATMEL_ID, |
| 1794 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1795 | .total_size = 512 /* Size can only be determined from status register */, |
| 1796 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1797 | .tested = TEST_BAD_READ, |
| 1798 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1799 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1800 | .write = NULL, |
| 1801 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1802 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1803 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1804 | { |
| 1805 | .vendor = "Atmel", |
| 1806 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1807 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1808 | .manufacture_id = ATMEL_ID, |
| 1809 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1810 | .total_size = 1024 /* Size can only be determined from status register */, |
| 1811 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1812 | .tested = TEST_BAD_READ, |
| 1813 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1814 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1815 | .write = NULL, |
| 1816 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1817 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1818 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1819 | { |
| 1820 | .vendor = "Atmel", |
| 1821 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1822 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1823 | .manufacture_id = ATMEL_ID, |
| 1824 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1825 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1826 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1827 | .tested = TEST_BAD_READ, |
| 1828 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1829 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1830 | .write = NULL, |
| 1831 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1832 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1833 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1834 | { |
| 1835 | .vendor = "Atmel", |
| 1836 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1837 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1838 | .manufacture_id = ATMEL_ID, |
| 1839 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1840 | .total_size = 4224 /* No power of two sizes */, |
| 1841 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1842 | .tested = TEST_BAD_READ, |
| 1843 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1844 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1845 | .write = NULL, |
| 1846 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1847 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1848 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1849 | { |
| 1850 | .vendor = "Atmel", |
| 1851 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1852 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1853 | .manufacture_id = ATMEL_ID, |
| 1854 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1855 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1856 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1857 | .tested = TEST_BAD_READ, |
| 1858 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1859 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1860 | .write = NULL, |
| 1861 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1862 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1863 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1864 | { |
| 1865 | .vendor = "Atmel", |
| 1866 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1867 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1868 | .manufacture_id = ATMEL_ID, |
| 1869 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1870 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1871 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1872 | .tested = TEST_BAD_READ, |
| 1873 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1874 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1875 | .write = NULL, |
| 1876 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1877 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1878 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1879 | { |
| 1880 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1881 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1882 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1883 | .manufacture_id = ATMEL_ID, |
| 1884 | .model_id = AT_49BV512, |
| 1885 | .total_size = 64, |
| 1886 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1887 | .feature_bits = FEATURE_EITHER_RESET, |
| 1888 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1889 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1890 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1891 | .block_erasers = |
| 1892 | { |
| 1893 | { |
| 1894 | .eraseblocks = { {64 * 1024, 1} }, |
| 1895 | .block_erase = erase_chip_block_jedec, |
| 1896 | } |
| 1897 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1898 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1899 | .read = read_memmapped, |
| 1900 | }, |
| 1901 | |
| 1902 | { |
| 1903 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1904 | .name = "AT49F020", |
| 1905 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1906 | .manufacture_id = ATMEL_ID, |
| 1907 | .model_id = AT_49F020, |
| 1908 | .total_size = 256, |
| 1909 | .page_size = 256, |
| 1910 | .feature_bits = FEATURE_EITHER_RESET, |
| 1911 | .tested = TEST_OK_PREW, |
| 1912 | .probe = probe_jedec, |
| 1913 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 1914 | .block_erasers = |
| 1915 | { |
| 1916 | { |
| 1917 | .eraseblocks = { {256 * 1024, 1} }, |
| 1918 | .block_erase = erase_chip_block_jedec, |
| 1919 | } |
| 1920 | }, |
| 1921 | .write = write_jedec_1, |
| 1922 | .read = read_memmapped, |
| 1923 | }, |
| 1924 | |
| 1925 | { |
| 1926 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1927 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1928 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1929 | .manufacture_id = ATMEL_ID, |
| 1930 | .model_id = AT_49F002N, |
| 1931 | .total_size = 256, |
| 1932 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1933 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1934 | .tested = TEST_UNTESTED, |
| 1935 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1936 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1937 | .block_erasers = |
| 1938 | { |
| 1939 | { |
| 1940 | .eraseblocks = { |
| 1941 | {16 * 1024, 1}, |
| 1942 | {8 * 1024, 2}, |
| 1943 | {96 * 1024, 1}, |
| 1944 | {128 * 1024, 1}, |
| 1945 | }, |
| 1946 | .block_erase = erase_sector_jedec, |
| 1947 | }, { |
| 1948 | .eraseblocks = { {256 * 1024, 1} }, |
| 1949 | .block_erase = erase_chip_block_jedec, |
| 1950 | } |
| 1951 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1952 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1953 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1954 | }, |
| 1955 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1956 | { |
| 1957 | .vendor = "Atmel", |
| 1958 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1959 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1960 | .manufacture_id = ATMEL_ID, |
| 1961 | .model_id = AT_49F002NT, |
| 1962 | .total_size = 256, |
| 1963 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1964 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1965 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1966 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1967 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1968 | .block_erasers = |
| 1969 | { |
| 1970 | { |
| 1971 | .eraseblocks = { |
| 1972 | {128 * 1024, 1}, |
| 1973 | {96 * 1024, 1}, |
| 1974 | {8 * 1024, 2}, |
| 1975 | {16 * 1024, 1}, |
| 1976 | }, |
| 1977 | .block_erase = erase_sector_jedec, |
| 1978 | }, { |
| 1979 | .eraseblocks = { {256 * 1024, 1} }, |
| 1980 | .block_erase = erase_chip_block_jedec, |
| 1981 | } |
| 1982 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1983 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1984 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1985 | }, |
| 1986 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1987 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1988 | .vendor = "EMST", |
| 1989 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1990 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1991 | .manufacture_id = EMST_ID, |
| 1992 | .model_id = EMST_F49B002UA, |
| 1993 | .total_size = 256, |
| 1994 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1995 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1996 | .tested = TEST_UNTESTED, |
| 1997 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1998 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1999 | .block_erasers = |
| 2000 | { |
| 2001 | { |
| 2002 | .eraseblocks = { |
| 2003 | {128 * 1024, 1}, |
| 2004 | {96 * 1024, 1}, |
| 2005 | {8 * 1024, 2}, |
| 2006 | {16 * 1024, 1}, |
| 2007 | }, |
| 2008 | .block_erase = erase_sector_jedec, |
| 2009 | }, { |
| 2010 | .eraseblocks = { {256 * 1024, 1} }, |
| 2011 | .block_erase = erase_chip_block_jedec, |
| 2012 | } |
| 2013 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2014 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2015 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2016 | }, |
| 2017 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2018 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2019 | .vendor = "EMST", |
| 2020 | .name = "F25L008A", |
| 2021 | .bustype = CHIP_BUSTYPE_SPI, |
| 2022 | .manufacture_id = EMST_ID, |
| 2023 | .model_id = EMST_F25L008A, |
| 2024 | .total_size = 1024, |
| 2025 | .page_size = 256, |
| 2026 | .tested = TEST_UNTESTED, |
| 2027 | .probe = probe_spi_rdid, |
| 2028 | .probe_timing = TIMING_ZERO, |
| 2029 | .block_erasers = |
| 2030 | { |
| 2031 | { |
| 2032 | .eraseblocks = { {4 * 1024, 256} }, |
| 2033 | .block_erase = spi_block_erase_20, |
| 2034 | }, { |
| 2035 | .eraseblocks = { {64 * 1024, 16} }, |
| 2036 | .block_erase = spi_block_erase_d8, |
| 2037 | }, { |
| 2038 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2039 | .block_erase = spi_block_erase_60, |
| 2040 | }, { |
| 2041 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2042 | .block_erase = spi_block_erase_c7, |
| 2043 | } |
| 2044 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2045 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2046 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2047 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2048 | }, |
| 2049 | |
| 2050 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2051 | .vendor = "Eon", |
| 2052 | .name = "EN25B05", |
| 2053 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2054 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2055 | .model_id = EN_25B05, |
| 2056 | .total_size = 64, |
| 2057 | .page_size = 256, |
| 2058 | .tested = TEST_UNTESTED, |
| 2059 | .probe = probe_spi_rdid, |
| 2060 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2061 | .block_erasers = |
| 2062 | { |
| 2063 | { |
| 2064 | .eraseblocks = { |
| 2065 | {4 * 1024, 2}, |
| 2066 | {8 * 1024, 1}, |
| 2067 | {16 * 1024, 1}, |
| 2068 | {32 * 1024, 1}, |
| 2069 | }, |
| 2070 | .block_erase = spi_block_erase_d8, |
| 2071 | }, { |
| 2072 | .eraseblocks = { {64 * 1024, 1} }, |
| 2073 | .block_erase = spi_block_erase_c7, |
| 2074 | } |
| 2075 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2076 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2077 | .write = spi_chip_write_256, |
| 2078 | .read = spi_chip_read, |
| 2079 | }, |
| 2080 | |
| 2081 | { |
| 2082 | .vendor = "Eon", |
| 2083 | .name = "EN25B05T", |
| 2084 | .bustype = CHIP_BUSTYPE_SPI, |
| 2085 | .manufacture_id = EON_ID_NOPREFIX, |
| 2086 | .model_id = EN_25B05, |
| 2087 | .total_size = 64, |
| 2088 | .page_size = 256, |
| 2089 | .tested = TEST_UNTESTED, |
| 2090 | .probe = probe_spi_rdid, |
| 2091 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2092 | .block_erasers = |
| 2093 | { |
| 2094 | { |
| 2095 | .eraseblocks = { |
| 2096 | {32 * 1024, 1}, |
| 2097 | {16 * 1024, 1}, |
| 2098 | {8 * 1024, 1}, |
| 2099 | {4 * 1024, 2}, |
| 2100 | }, |
| 2101 | .block_erase = spi_block_erase_d8, |
| 2102 | }, { |
| 2103 | .eraseblocks = { {64 * 1024, 1} }, |
| 2104 | .block_erase = spi_block_erase_c7, |
| 2105 | } |
| 2106 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2107 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2108 | .write = spi_chip_write_256, |
| 2109 | .read = spi_chip_read, |
| 2110 | }, |
| 2111 | |
| 2112 | { |
| 2113 | .vendor = "Eon", |
| 2114 | .name = "EN25B10", |
| 2115 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2116 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2117 | .model_id = EN_25B10, |
| 2118 | .total_size = 128, |
| 2119 | .page_size = 256, |
| 2120 | .tested = TEST_UNTESTED, |
| 2121 | .probe = probe_spi_rdid, |
| 2122 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2123 | .block_erasers = |
| 2124 | { |
| 2125 | { |
| 2126 | .eraseblocks = { |
| 2127 | {4 * 1024, 2}, |
| 2128 | {8 * 1024, 1}, |
| 2129 | {16 * 1024, 1}, |
| 2130 | {32 * 1024, 3}, |
| 2131 | }, |
| 2132 | .block_erase = spi_block_erase_d8, |
| 2133 | }, { |
| 2134 | .eraseblocks = { {128 * 1024, 1} }, |
| 2135 | .block_erase = spi_block_erase_c7, |
| 2136 | } |
| 2137 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2138 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2139 | .write = spi_chip_write_256, |
| 2140 | .read = spi_chip_read, |
| 2141 | }, |
| 2142 | |
| 2143 | { |
| 2144 | .vendor = "Eon", |
| 2145 | .name = "EN25B10T", |
| 2146 | .bustype = CHIP_BUSTYPE_SPI, |
| 2147 | .manufacture_id = EON_ID_NOPREFIX, |
| 2148 | .model_id = EN_25B10, |
| 2149 | .total_size = 128, |
| 2150 | .page_size = 256, |
| 2151 | .tested = TEST_UNTESTED, |
| 2152 | .probe = probe_spi_rdid, |
| 2153 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2154 | .block_erasers = |
| 2155 | { |
| 2156 | { |
| 2157 | .eraseblocks = { |
| 2158 | {32 * 1024, 3}, |
| 2159 | {16 * 1024, 1}, |
| 2160 | {8 * 1024, 1}, |
| 2161 | {4 * 1024, 2}, |
| 2162 | }, |
| 2163 | .block_erase = spi_block_erase_d8, |
| 2164 | }, { |
| 2165 | .eraseblocks = { {128 * 1024, 1} }, |
| 2166 | .block_erase = spi_block_erase_c7, |
| 2167 | } |
| 2168 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2169 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2170 | .write = spi_chip_write_256, |
| 2171 | .read = spi_chip_read, |
| 2172 | }, |
| 2173 | |
| 2174 | { |
| 2175 | .vendor = "Eon", |
| 2176 | .name = "EN25B20", |
| 2177 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2178 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2179 | .model_id = EN_25B20, |
| 2180 | .total_size = 256, |
| 2181 | .page_size = 256, |
| 2182 | .tested = TEST_UNTESTED, |
| 2183 | .probe = probe_spi_rdid, |
| 2184 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2185 | .block_erasers = |
| 2186 | { |
| 2187 | { |
| 2188 | .eraseblocks = { |
| 2189 | {4 * 1024, 2}, |
| 2190 | {8 * 1024, 1}, |
| 2191 | {16 * 1024, 1}, |
| 2192 | {32 * 1024, 1}, |
| 2193 | {64 * 1024, 3} |
| 2194 | }, |
| 2195 | .block_erase = spi_block_erase_d8, |
| 2196 | }, { |
| 2197 | .eraseblocks = { {256 * 1024, 1} }, |
| 2198 | .block_erase = spi_block_erase_c7, |
| 2199 | } |
| 2200 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2201 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2202 | .write = spi_chip_write_256, |
| 2203 | .read = spi_chip_read, |
| 2204 | }, |
| 2205 | |
| 2206 | { |
| 2207 | .vendor = "Eon", |
| 2208 | .name = "EN25B20T", |
| 2209 | .bustype = CHIP_BUSTYPE_SPI, |
| 2210 | .manufacture_id = EON_ID_NOPREFIX, |
| 2211 | .model_id = EN_25B20, |
| 2212 | .total_size = 256, |
| 2213 | .page_size = 256, |
| 2214 | .tested = TEST_UNTESTED, |
| 2215 | .probe = probe_spi_rdid, |
| 2216 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2217 | .block_erasers = |
| 2218 | { |
| 2219 | { |
| 2220 | .eraseblocks = { |
| 2221 | {64 * 1024, 3}, |
| 2222 | {32 * 1024, 1}, |
| 2223 | {16 * 1024, 1}, |
| 2224 | {8 * 1024, 1}, |
| 2225 | {4 * 1024, 2}, |
| 2226 | }, |
| 2227 | .block_erase = spi_block_erase_d8, |
| 2228 | }, { |
| 2229 | .eraseblocks = { {256 * 1024, 1} }, |
| 2230 | .block_erase = spi_block_erase_c7, |
| 2231 | } |
| 2232 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2233 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2234 | .write = spi_chip_write_256, |
| 2235 | .read = spi_chip_read, |
| 2236 | }, |
| 2237 | |
| 2238 | { |
| 2239 | .vendor = "Eon", |
| 2240 | .name = "EN25B40", |
| 2241 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2242 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2243 | .model_id = EN_25B40, |
| 2244 | .total_size = 512, |
| 2245 | .page_size = 256, |
| 2246 | .tested = TEST_UNTESTED, |
| 2247 | .probe = probe_spi_rdid, |
| 2248 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2249 | .block_erasers = |
| 2250 | { |
| 2251 | { |
| 2252 | .eraseblocks = { |
| 2253 | {4 * 1024, 2}, |
| 2254 | {8 * 1024, 1}, |
| 2255 | {16 * 1024, 1}, |
| 2256 | {32 * 1024, 1}, |
| 2257 | {64 * 1024, 7} |
| 2258 | }, |
| 2259 | .block_erase = spi_block_erase_d8, |
| 2260 | }, { |
| 2261 | .eraseblocks = { {512 * 1024, 1} }, |
| 2262 | .block_erase = spi_block_erase_c7, |
| 2263 | } |
| 2264 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2265 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2266 | .write = spi_chip_write_256, |
| 2267 | .read = spi_chip_read, |
| 2268 | }, |
| 2269 | |
| 2270 | { |
| 2271 | .vendor = "Eon", |
| 2272 | .name = "EN25B40T", |
| 2273 | .bustype = CHIP_BUSTYPE_SPI, |
| 2274 | .manufacture_id = EON_ID_NOPREFIX, |
| 2275 | .model_id = EN_25B40, |
| 2276 | .total_size = 512, |
| 2277 | .page_size = 256, |
| 2278 | .tested = TEST_UNTESTED, |
| 2279 | .probe = probe_spi_rdid, |
| 2280 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2281 | .block_erasers = |
| 2282 | { |
| 2283 | { |
| 2284 | .eraseblocks = { |
| 2285 | {64 * 1024, 7}, |
| 2286 | {32 * 1024, 1}, |
| 2287 | {16 * 1024, 1}, |
| 2288 | {8 * 1024, 1}, |
| 2289 | {4 * 1024, 2}, |
| 2290 | }, |
| 2291 | .block_erase = spi_block_erase_d8, |
| 2292 | }, { |
| 2293 | .eraseblocks = { {512 * 1024, 1} }, |
| 2294 | .block_erase = spi_block_erase_c7, |
| 2295 | } |
| 2296 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2297 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2298 | .write = spi_chip_write_256, |
| 2299 | .read = spi_chip_read, |
| 2300 | }, |
| 2301 | |
| 2302 | { |
| 2303 | .vendor = "Eon", |
| 2304 | .name = "EN25B80", |
| 2305 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2306 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2307 | .model_id = EN_25B80, |
| 2308 | .total_size = 1024, |
| 2309 | .page_size = 256, |
| 2310 | .tested = TEST_UNTESTED, |
| 2311 | .probe = probe_spi_rdid, |
| 2312 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2313 | .block_erasers = |
| 2314 | { |
| 2315 | { |
| 2316 | .eraseblocks = { |
| 2317 | {4 * 1024, 2}, |
| 2318 | {8 * 1024, 1}, |
| 2319 | {16 * 1024, 1}, |
| 2320 | {32 * 1024, 1}, |
| 2321 | {64 * 1024, 15} |
| 2322 | }, |
| 2323 | .block_erase = spi_block_erase_d8, |
| 2324 | }, { |
| 2325 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2326 | .block_erase = spi_block_erase_c7, |
| 2327 | } |
| 2328 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2329 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2330 | .write = spi_chip_write_256, |
| 2331 | .read = spi_chip_read, |
| 2332 | }, |
| 2333 | |
| 2334 | { |
| 2335 | .vendor = "Eon", |
| 2336 | .name = "EN25B80T", |
| 2337 | .bustype = CHIP_BUSTYPE_SPI, |
| 2338 | .manufacture_id = EON_ID_NOPREFIX, |
| 2339 | .model_id = EN_25B80, |
| 2340 | .total_size = 1024, |
| 2341 | .page_size = 256, |
| 2342 | .tested = TEST_UNTESTED, |
| 2343 | .probe = probe_spi_rdid, |
| 2344 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2345 | .block_erasers = |
| 2346 | { |
| 2347 | { |
| 2348 | .eraseblocks = { |
| 2349 | {64 * 1024, 15}, |
| 2350 | {32 * 1024, 1}, |
| 2351 | {16 * 1024, 1}, |
| 2352 | {8 * 1024, 1}, |
| 2353 | {4 * 1024, 2}, |
| 2354 | }, |
| 2355 | .block_erase = spi_block_erase_d8, |
| 2356 | }, { |
| 2357 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2358 | .block_erase = spi_block_erase_c7, |
| 2359 | } |
| 2360 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2361 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2362 | .write = spi_chip_write_256, |
| 2363 | .read = spi_chip_read, |
| 2364 | }, |
| 2365 | |
| 2366 | { |
| 2367 | .vendor = "Eon", |
| 2368 | .name = "EN25B16", |
| 2369 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2370 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2371 | .model_id = EN_25B16, |
| 2372 | .total_size = 2048, |
| 2373 | .page_size = 256, |
| 2374 | .tested = TEST_UNTESTED, |
| 2375 | .probe = probe_spi_rdid, |
| 2376 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2377 | .block_erasers = |
| 2378 | { |
| 2379 | { |
| 2380 | .eraseblocks = { |
| 2381 | {4 * 1024, 2}, |
| 2382 | {8 * 1024, 1}, |
| 2383 | {16 * 1024, 1}, |
| 2384 | {32 * 1024, 1}, |
| 2385 | {64 * 1024, 31}, |
| 2386 | }, |
| 2387 | .block_erase = spi_block_erase_d8, |
| 2388 | }, { |
| 2389 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2390 | .block_erase = spi_block_erase_c7, |
| 2391 | } |
| 2392 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2393 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2394 | .write = spi_chip_write_256, |
| 2395 | .read = spi_chip_read, |
| 2396 | }, |
| 2397 | |
| 2398 | { |
| 2399 | .vendor = "Eon", |
| 2400 | .name = "EN25B16T", |
| 2401 | .bustype = CHIP_BUSTYPE_SPI, |
| 2402 | .manufacture_id = EON_ID_NOPREFIX, |
| 2403 | .model_id = EN_25B16, |
| 2404 | .total_size = 2048, |
| 2405 | .page_size = 256, |
| 2406 | .tested = TEST_UNTESTED, |
| 2407 | .probe = probe_spi_rdid, |
| 2408 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2409 | .block_erasers = |
| 2410 | { |
| 2411 | { |
| 2412 | .eraseblocks = { |
| 2413 | {64 * 1024, 31}, |
| 2414 | {32 * 1024, 1}, |
| 2415 | {16 * 1024, 1}, |
| 2416 | {8 * 1024, 1}, |
| 2417 | {4 * 1024, 2}, |
| 2418 | }, |
| 2419 | .block_erase = spi_block_erase_d8, |
| 2420 | }, { |
| 2421 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2422 | .block_erase = spi_block_erase_c7, |
| 2423 | } |
| 2424 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2425 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2426 | .write = spi_chip_write_256, |
| 2427 | .read = spi_chip_read, |
| 2428 | }, |
| 2429 | |
| 2430 | { |
| 2431 | .vendor = "Eon", |
| 2432 | .name = "EN25B32", |
| 2433 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2434 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2435 | .model_id = EN_25B32, |
| 2436 | .total_size = 4096, |
| 2437 | .page_size = 256, |
| 2438 | .tested = TEST_UNTESTED, |
| 2439 | .probe = probe_spi_rdid, |
| 2440 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2441 | .block_erasers = |
| 2442 | { |
| 2443 | { |
| 2444 | .eraseblocks = { |
| 2445 | {4 * 1024, 2}, |
| 2446 | {8 * 1024, 1}, |
| 2447 | {16 * 1024, 1}, |
| 2448 | {32 * 1024, 1}, |
| 2449 | {64 * 1024, 63}, |
| 2450 | }, |
| 2451 | .block_erase = spi_block_erase_d8, |
| 2452 | }, { |
| 2453 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2454 | .block_erase = spi_block_erase_c7, |
| 2455 | } |
| 2456 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2457 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2458 | .write = spi_chip_write_256, |
| 2459 | .read = spi_chip_read, |
| 2460 | }, |
| 2461 | |
| 2462 | { |
| 2463 | .vendor = "Eon", |
| 2464 | .name = "EN25B32T", |
| 2465 | .bustype = CHIP_BUSTYPE_SPI, |
| 2466 | .manufacture_id = EON_ID_NOPREFIX, |
| 2467 | .model_id = EN_25B32, |
| 2468 | .total_size = 4096, |
| 2469 | .page_size = 256, |
| 2470 | .tested = TEST_UNTESTED, |
| 2471 | .probe = probe_spi_rdid, |
| 2472 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2473 | .block_erasers = |
| 2474 | { |
| 2475 | { |
| 2476 | .eraseblocks = { |
| 2477 | {64 * 1024, 63}, |
| 2478 | {32 * 1024, 1}, |
| 2479 | {16 * 1024, 1}, |
| 2480 | {8 * 1024, 1}, |
| 2481 | {4 * 1024, 2}, |
| 2482 | }, |
| 2483 | .block_erase = spi_block_erase_d8, |
| 2484 | }, { |
| 2485 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2486 | .block_erase = spi_block_erase_c7, |
| 2487 | } |
| 2488 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2489 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2490 | .write = spi_chip_write_256, |
| 2491 | .read = spi_chip_read, |
| 2492 | }, |
| 2493 | |
| 2494 | { |
| 2495 | .vendor = "Eon", |
| 2496 | .name = "EN25B64", |
| 2497 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2498 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2499 | .model_id = EN_25B64, |
| 2500 | .total_size = 8192, |
| 2501 | .page_size = 256, |
| 2502 | .tested = TEST_UNTESTED, |
| 2503 | .probe = probe_spi_rdid, |
| 2504 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2505 | .block_erasers = |
| 2506 | { |
| 2507 | { |
| 2508 | .eraseblocks = { |
| 2509 | {4 * 1024, 2}, |
| 2510 | {8 * 1024, 1}, |
| 2511 | {16 * 1024, 1}, |
| 2512 | {32 * 1024, 1}, |
| 2513 | {64 * 1024, 127}, |
| 2514 | }, |
| 2515 | .block_erase = spi_block_erase_d8, |
| 2516 | }, { |
| 2517 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2518 | .block_erase = spi_block_erase_c7, |
| 2519 | } |
| 2520 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2521 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2522 | .write = spi_chip_write_256, |
| 2523 | .read = spi_chip_read, |
| 2524 | }, |
| 2525 | |
| 2526 | { |
| 2527 | .vendor = "Eon", |
| 2528 | .name = "EN25B64T", |
| 2529 | .bustype = CHIP_BUSTYPE_SPI, |
| 2530 | .manufacture_id = EON_ID_NOPREFIX, |
| 2531 | .model_id = EN_25B64, |
| 2532 | .total_size = 8192, |
| 2533 | .page_size = 256, |
| 2534 | .tested = TEST_UNTESTED, |
| 2535 | .probe = probe_spi_rdid, |
| 2536 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2537 | .block_erasers = |
| 2538 | { |
| 2539 | { |
| 2540 | .eraseblocks = { |
| 2541 | {64 * 1024, 127}, |
| 2542 | {32 * 1024, 1}, |
| 2543 | {16 * 1024, 1}, |
| 2544 | {8 * 1024, 1}, |
| 2545 | {4 * 1024, 2}, |
| 2546 | }, |
| 2547 | .block_erase = spi_block_erase_d8, |
| 2548 | }, { |
| 2549 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2550 | .block_erase = spi_block_erase_c7, |
| 2551 | } |
| 2552 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2553 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2554 | .write = spi_chip_write_256, |
| 2555 | .read = spi_chip_read, |
| 2556 | }, |
| 2557 | |
| 2558 | { |
| 2559 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2560 | .name = "EN25D16", |
| 2561 | .bustype = CHIP_BUSTYPE_SPI, |
| 2562 | .manufacture_id = EON_ID_NOPREFIX, |
| 2563 | .model_id = EN_25D16, |
| 2564 | .total_size = 2048, |
| 2565 | .page_size = 256, |
| 2566 | .tested = TEST_UNTESTED, |
| 2567 | .probe = probe_spi_rdid, |
| 2568 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2569 | .block_erasers = |
| 2570 | { |
| 2571 | { |
| 2572 | .eraseblocks = { {4 * 1024, 512} }, |
| 2573 | .block_erase = spi_block_erase_20, |
| 2574 | }, { |
| 2575 | .eraseblocks = { {64 * 1024, 32} }, |
| 2576 | .block_erase = spi_block_erase_d8, |
| 2577 | }, { |
| 2578 | .eraseblocks = { {64 * 1024, 32} }, |
| 2579 | .block_erase = spi_block_erase_52, |
| 2580 | }, { |
| 2581 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2582 | .block_erase = spi_block_erase_60, |
| 2583 | }, { |
| 2584 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2585 | .block_erase = spi_block_erase_c7, |
| 2586 | } |
| 2587 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2588 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2589 | .write = spi_chip_write_256, |
| 2590 | .read = spi_chip_read, |
| 2591 | }, |
| 2592 | |
| 2593 | { |
| 2594 | .vendor = "Eon", |
| 2595 | .name = "EN25F05", |
| 2596 | .bustype = CHIP_BUSTYPE_SPI, |
| 2597 | .manufacture_id = EON_ID_NOPREFIX, |
| 2598 | .model_id = EN_25F05, |
| 2599 | .total_size = 64, |
| 2600 | .page_size = 256, |
| 2601 | .tested = TEST_UNTESTED, |
| 2602 | .probe = probe_spi_rdid, |
| 2603 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2604 | .block_erasers = |
| 2605 | { |
| 2606 | { |
| 2607 | .eraseblocks = { {4 * 1024, 16} }, |
| 2608 | .block_erase = spi_block_erase_20, |
| 2609 | }, { |
| 2610 | .eraseblocks = { {32 * 1024, 2} }, |
| 2611 | .block_erase = spi_block_erase_d8, |
| 2612 | }, { |
| 2613 | .eraseblocks = { {32 * 1024, 2} }, |
| 2614 | .block_erase = spi_block_erase_52, |
| 2615 | }, { |
| 2616 | .eraseblocks = { {64 * 1024, 1} }, |
| 2617 | .block_erase = spi_block_erase_60, |
| 2618 | }, { |
| 2619 | .eraseblocks = { {64 * 1024, 1} }, |
| 2620 | .block_erase = spi_block_erase_c7, |
| 2621 | } |
| 2622 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2623 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2624 | .write = spi_chip_write_256, |
| 2625 | .read = spi_chip_read, |
| 2626 | }, |
| 2627 | |
| 2628 | { |
| 2629 | .vendor = "Eon", |
| 2630 | .name = "EN25F10", |
| 2631 | .bustype = CHIP_BUSTYPE_SPI, |
| 2632 | .manufacture_id = EON_ID_NOPREFIX, |
| 2633 | .model_id = EN_25F10, |
| 2634 | .total_size = 128, |
| 2635 | .page_size = 256, |
| 2636 | .tested = TEST_UNTESTED, |
| 2637 | .probe = probe_spi_rdid, |
| 2638 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2639 | .block_erasers = |
| 2640 | { |
| 2641 | { |
| 2642 | .eraseblocks = { {4 * 1024, 32} }, |
| 2643 | .block_erase = spi_block_erase_20, |
| 2644 | }, { |
| 2645 | .eraseblocks = { {32 * 1024, 4} }, |
| 2646 | .block_erase = spi_block_erase_d8, |
| 2647 | }, { |
| 2648 | .eraseblocks = { {32 * 1024, 4} }, |
| 2649 | .block_erase = spi_block_erase_52, |
| 2650 | }, { |
| 2651 | .eraseblocks = { {128 * 1024, 1} }, |
| 2652 | .block_erase = spi_block_erase_60, |
| 2653 | }, { |
| 2654 | .eraseblocks = { {128 * 1024, 1} }, |
| 2655 | .block_erase = spi_block_erase_c7, |
| 2656 | } |
| 2657 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2658 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2659 | .write = spi_chip_write_256, |
| 2660 | .read = spi_chip_read, |
| 2661 | }, |
| 2662 | |
| 2663 | { |
| 2664 | .vendor = "Eon", |
| 2665 | .name = "EN25F20", |
| 2666 | .bustype = CHIP_BUSTYPE_SPI, |
| 2667 | .manufacture_id = EON_ID_NOPREFIX, |
| 2668 | .model_id = EN_25F20, |
| 2669 | .total_size = 256, |
| 2670 | .page_size = 256, |
| 2671 | .tested = TEST_UNTESTED, |
| 2672 | .probe = probe_spi_rdid, |
| 2673 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2674 | .block_erasers = |
| 2675 | { |
| 2676 | { |
| 2677 | .eraseblocks = { {4 * 1024, 64} }, |
| 2678 | .block_erase = spi_block_erase_20, |
| 2679 | }, { |
| 2680 | .eraseblocks = { {64 * 1024, 4} }, |
| 2681 | .block_erase = spi_block_erase_d8, |
| 2682 | }, { |
| 2683 | .eraseblocks = { {64 * 1024, 4} }, |
| 2684 | .block_erase = spi_block_erase_52, |
| 2685 | }, { |
| 2686 | .eraseblocks = { {256 * 1024, 1} }, |
| 2687 | .block_erase = spi_block_erase_60, |
| 2688 | }, { |
| 2689 | .eraseblocks = { {256 * 1024, 1} }, |
| 2690 | .block_erase = spi_block_erase_c7, |
| 2691 | } |
| 2692 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2693 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2694 | .write = spi_chip_write_256, |
| 2695 | .read = spi_chip_read, |
| 2696 | }, |
| 2697 | |
| 2698 | { |
| 2699 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2700 | .name = "EN25F40", |
| 2701 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2702 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2703 | .model_id = EN_25F40, |
| 2704 | .total_size = 512, |
| 2705 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2706 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2707 | .probe = probe_spi_rdid, |
| 2708 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2709 | .block_erasers = |
| 2710 | { |
| 2711 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2712 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2713 | .block_erase = spi_block_erase_20, |
| 2714 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2715 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2716 | .block_erase = spi_block_erase_d8, |
| 2717 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2718 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2719 | .block_erase = spi_block_erase_60, |
| 2720 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2721 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2722 | .block_erase = spi_block_erase_c7, |
| 2723 | }, |
| 2724 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2725 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2726 | .write = spi_chip_write_256, |
| 2727 | .read = spi_chip_read, |
| 2728 | }, |
| 2729 | |
| 2730 | { |
| 2731 | .vendor = "Eon", |
| 2732 | .name = "EN25F80", |
| 2733 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2734 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2735 | .model_id = EN_25F80, |
| 2736 | .total_size = 1024, |
| 2737 | .page_size = 256, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 2738 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2739 | .probe = probe_spi_rdid, |
| 2740 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2741 | .block_erasers = |
| 2742 | { |
| 2743 | { |
| 2744 | .eraseblocks = { {4 * 1024, 256} }, |
| 2745 | .block_erase = spi_block_erase_20, |
| 2746 | }, { |
| 2747 | .eraseblocks = { {64 * 1024, 16} }, |
| 2748 | .block_erase = spi_block_erase_d8, |
| 2749 | }, { |
| 2750 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2751 | .block_erase = spi_block_erase_60, |
| 2752 | }, { |
| 2753 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2754 | .block_erase = spi_block_erase_c7, |
| 2755 | } |
| 2756 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2757 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2758 | .write = spi_chip_write_256, |
| 2759 | .read = spi_chip_read, |
| 2760 | }, |
| 2761 | |
| 2762 | { |
| 2763 | .vendor = "Eon", |
| 2764 | .name = "EN25F16", |
| 2765 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2766 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2767 | .model_id = EN_25F16, |
| 2768 | .total_size = 2048, |
| 2769 | .page_size = 256, |
| 2770 | .tested = TEST_UNTESTED, |
| 2771 | .probe = probe_spi_rdid, |
| 2772 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2773 | .block_erasers = |
| 2774 | { |
| 2775 | { |
| 2776 | .eraseblocks = { {4 * 1024, 512} }, |
| 2777 | .block_erase = spi_block_erase_20, |
| 2778 | }, { |
| 2779 | .eraseblocks = { {64 * 1024, 32} }, |
| 2780 | .block_erase = spi_block_erase_d8, |
| 2781 | }, { |
| 2782 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2783 | .block_erase = spi_block_erase_60, |
| 2784 | }, { |
| 2785 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2786 | .block_erase = spi_block_erase_c7, |
| 2787 | } |
| 2788 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2789 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2790 | .write = spi_chip_write_256, |
| 2791 | .read = spi_chip_read, |
| 2792 | }, |
| 2793 | |
| 2794 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2795 | .vendor = "Eon", |
| 2796 | .name = "EN25F32", |
| 2797 | .bustype = CHIP_BUSTYPE_SPI, |
| 2798 | .manufacture_id = EON_ID_NOPREFIX, |
| 2799 | .model_id = EN_25F32, |
| 2800 | .total_size = 4096, |
| 2801 | .page_size = 256, |
| 2802 | .tested = TEST_UNTESTED, |
| 2803 | .probe = probe_spi_rdid, |
| 2804 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2805 | .block_erasers = |
| 2806 | { |
| 2807 | { |
| 2808 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2809 | .block_erase = spi_block_erase_20, |
| 2810 | }, { |
| 2811 | .eraseblocks = { {64 * 1024, 64} }, |
| 2812 | .block_erase = spi_block_erase_d8, |
| 2813 | }, { |
| 2814 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2815 | .block_erase = spi_block_erase_60, |
| 2816 | }, { |
| 2817 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2818 | .block_erase = spi_block_erase_c7, |
| 2819 | } |
| 2820 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2821 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2822 | .write = spi_chip_write_256, |
| 2823 | .read = spi_chip_read, |
| 2824 | }, |
| 2825 | |
| 2826 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2827 | .vendor = "Eon", |
| 2828 | .name = "EN29F010", |
| 2829 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2830 | .manufacture_id = EON_ID, |
| 2831 | .model_id = EN_29F010, |
| 2832 | .total_size = 128, |
| 2833 | .page_size = 128, |
| 2834 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2835 | .tested = TEST_OK_PREW, |
| 2836 | .probe = probe_jedec, |
| 2837 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2838 | .block_erasers = |
| 2839 | { |
| 2840 | { |
| 2841 | .eraseblocks = { {16 * 1024, 8} }, |
| 2842 | .block_erase = erase_sector_jedec, |
| 2843 | }, |
| 2844 | { |
| 2845 | .eraseblocks = { {128 * 1024, 1} }, |
| 2846 | .block_erase = erase_chip_block_jedec, |
| 2847 | }, |
| 2848 | }, |
| 2849 | .write = write_jedec_1, |
| 2850 | .read = read_memmapped, |
| 2851 | }, |
| 2852 | |
| 2853 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2854 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2855 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2856 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2857 | .manufacture_id = EON_ID, |
| 2858 | .model_id = EN_29F002B, |
| 2859 | .total_size = 256, |
| 2860 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2861 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2862 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2863 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2864 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2865 | .block_erasers = |
| 2866 | { |
| 2867 | { |
| 2868 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2869 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2870 | {8 * 1024, 2}, |
| 2871 | {32 * 1024, 1}, |
| 2872 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2873 | }, |
| 2874 | .block_erase = erase_sector_jedec, |
| 2875 | }, { |
| 2876 | .eraseblocks = { {256 * 1024, 1} }, |
| 2877 | .block_erase = erase_chip_block_jedec, |
| 2878 | }, |
| 2879 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2880 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2881 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2882 | }, |
| 2883 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2884 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2885 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2886 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2887 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2888 | .manufacture_id = EON_ID, |
| 2889 | .model_id = EN_29F002T, |
| 2890 | .total_size = 256, |
| 2891 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2892 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2893 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2894 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2895 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2896 | .block_erasers = |
| 2897 | { |
| 2898 | { |
| 2899 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2900 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2901 | {32 * 1024, 1}, |
| 2902 | {8 * 1024, 2}, |
| 2903 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2904 | }, |
| 2905 | .block_erase = erase_sector_jedec, |
| 2906 | }, { |
| 2907 | .eraseblocks = { {256 * 1024, 1} }, |
| 2908 | .block_erase = erase_chip_block_jedec, |
| 2909 | }, |
| 2910 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2911 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2912 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2913 | }, |
| 2914 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2915 | { |
| 2916 | .vendor = "Fujitsu", |
| 2917 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2918 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2919 | .manufacture_id = FUJITSU_ID, |
| 2920 | .model_id = MBM29F004BC, |
| 2921 | .total_size = 512, |
| 2922 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2923 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2924 | .tested = TEST_UNTESTED, |
| 2925 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2926 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2927 | .block_erasers = |
| 2928 | { |
| 2929 | { |
| 2930 | .eraseblocks = { |
| 2931 | {16 * 1024, 1}, |
| 2932 | {8 * 1024, 2}, |
| 2933 | {32 * 1024, 1}, |
| 2934 | {64 * 1024, 7}, |
| 2935 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2936 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2937 | }, { |
| 2938 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2939 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2940 | }, |
| 2941 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2942 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2943 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2944 | }, |
| 2945 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2946 | { |
| 2947 | .vendor = "Fujitsu", |
| 2948 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2949 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2950 | .manufacture_id = FUJITSU_ID, |
| 2951 | .model_id = MBM29F004TC, |
| 2952 | .total_size = 512, |
| 2953 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2954 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2955 | .tested = TEST_UNTESTED, |
| 2956 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2957 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2958 | .block_erasers = |
| 2959 | { |
| 2960 | { |
| 2961 | .eraseblocks = { |
| 2962 | {64 * 1024, 7}, |
| 2963 | {32 * 1024, 1}, |
| 2964 | {8 * 1024, 2}, |
| 2965 | {16 * 1024, 1}, |
| 2966 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2967 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2968 | }, { |
| 2969 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2970 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2971 | }, |
| 2972 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2973 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2974 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2975 | }, |
| 2976 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2977 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2978 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2979 | .vendor = "Fujitsu", |
| 2980 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2981 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2982 | .manufacture_id = FUJITSU_ID, |
| 2983 | .model_id = MBM29F400BC, |
| 2984 | .total_size = 512, |
| 2985 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2986 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2987 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2988 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2989 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2990 | .block_erasers = |
| 2991 | { |
| 2992 | { |
| 2993 | .eraseblocks = { |
| 2994 | {16 * 1024, 1}, |
| 2995 | {8 * 1024, 2}, |
| 2996 | {32 * 1024, 1}, |
| 2997 | {64 * 1024, 7}, |
| 2998 | }, |
| 2999 | .block_erase = block_erase_m29f400bt, |
| 3000 | }, { |
| 3001 | .eraseblocks = { {512 * 1024, 1} }, |
| 3002 | .block_erase = block_erase_chip_m29f400bt, |
| 3003 | }, |
| 3004 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3005 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3006 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3007 | }, |
| 3008 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3009 | { |
| 3010 | .vendor = "Fujitsu", |
| 3011 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3012 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3013 | .manufacture_id = FUJITSU_ID, |
| 3014 | .model_id = MBM29F400TC, |
| 3015 | .total_size = 512, |
| 3016 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3017 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3018 | .tested = TEST_UNTESTED, |
| 3019 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3020 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3021 | .block_erasers = |
| 3022 | { |
| 3023 | { |
| 3024 | .eraseblocks = { |
| 3025 | {64 * 1024, 7}, |
| 3026 | {32 * 1024, 1}, |
| 3027 | {8 * 1024, 2}, |
| 3028 | {16 * 1024, 1}, |
| 3029 | }, |
| 3030 | .block_erase = block_erase_m29f400bt, |
| 3031 | }, { |
| 3032 | .eraseblocks = { {512 * 1024, 1} }, |
| 3033 | .block_erase = block_erase_chip_m29f400bt, |
| 3034 | }, |
| 3035 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3036 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3037 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3038 | }, |
| 3039 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3040 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3041 | .vendor = "Hyundai", |
| 3042 | .name = "HY29F002T", |
| 3043 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3044 | .manufacture_id = HYUNDAI_ID, |
| 3045 | .model_id = HY_29F002T, |
| 3046 | .total_size = 256, |
| 3047 | .page_size = 256 * 1024, |
| 3048 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3049 | .tested = TEST_OK_PREW, |
| 3050 | .probe = probe_jedec, |
| 3051 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3052 | .block_erasers = |
| 3053 | { |
| 3054 | { |
| 3055 | .eraseblocks = { |
| 3056 | {64 * 1024, 3}, |
| 3057 | {32 * 1024, 1}, |
| 3058 | {8 * 1024, 2}, |
| 3059 | {16 * 1024, 1}, |
| 3060 | }, |
| 3061 | .block_erase = erase_sector_jedec, |
| 3062 | }, { |
| 3063 | .eraseblocks = { {256 * 1024, 1} }, |
| 3064 | .block_erase = erase_chip_block_jedec, |
| 3065 | }, |
| 3066 | }, |
| 3067 | .write = write_jedec_1, |
| 3068 | .read = read_memmapped, |
| 3069 | }, |
| 3070 | |
| 3071 | { |
| 3072 | .vendor = "Hyundai", |
| 3073 | .name = "HY29F002B", |
| 3074 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3075 | .manufacture_id = HYUNDAI_ID, |
| 3076 | .model_id = HY_29F002B, |
| 3077 | .total_size = 256, |
| 3078 | .page_size = 256 * 1024, |
| 3079 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3080 | .tested = TEST_UNTESTED, |
| 3081 | .probe = probe_jedec, |
| 3082 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3083 | .block_erasers = |
| 3084 | { |
| 3085 | { |
| 3086 | .eraseblocks = { |
| 3087 | {16 * 1024, 1}, |
| 3088 | {8 * 1024, 2}, |
| 3089 | {32 * 1024, 1}, |
| 3090 | {64 * 1024, 3}, |
| 3091 | }, |
| 3092 | .block_erase = erase_sector_jedec, |
| 3093 | }, { |
| 3094 | .eraseblocks = { {256 * 1024, 1} }, |
| 3095 | .block_erase = erase_chip_block_jedec, |
| 3096 | }, |
| 3097 | }, |
| 3098 | .write = write_jedec_1, |
| 3099 | .read = read_memmapped, |
| 3100 | }, |
| 3101 | |
| 3102 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3103 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3104 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3105 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3106 | .manufacture_id = INTEL_ID, |
| 3107 | .model_id = P28F001BXB, |
| 3108 | .total_size = 128, |
| 3109 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3110 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3111 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3112 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3113 | .block_erasers = |
| 3114 | { |
| 3115 | { |
| 3116 | .eraseblocks = { |
| 3117 | {8 * 1024, 1}, |
| 3118 | {4 * 1024, 2}, |
| 3119 | {112 * 1024, 1}, |
| 3120 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3121 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3122 | }, |
| 3123 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3124 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3125 | .read = read_memmapped, |
| 3126 | }, |
| 3127 | |
| 3128 | { |
| 3129 | .vendor = "Intel", |
| 3130 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3131 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3132 | .manufacture_id = INTEL_ID, |
| 3133 | .model_id = P28F001BXT, |
| 3134 | .total_size = 128, |
| 3135 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3136 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3137 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3138 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3139 | .block_erasers = |
| 3140 | { |
| 3141 | { |
| 3142 | .eraseblocks = { |
| 3143 | {112 * 1024, 1}, |
| 3144 | {4 * 1024, 2}, |
| 3145 | {8 * 1024, 1}, |
| 3146 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3147 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3148 | }, |
| 3149 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3150 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3151 | .read = read_memmapped, |
| 3152 | }, |
| 3153 | |
| 3154 | { |
| 3155 | .vendor = "Intel", |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3156 | .name = "28F002BC-T", |
| 3157 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3158 | .manufacture_id = INTEL_ID, |
| 3159 | .model_id = P28F002BC, |
| 3160 | .total_size = 256, |
| 3161 | .page_size = 256 * 1024, |
| 3162 | .tested = TEST_UNTESTED, |
| 3163 | .probe = probe_82802ab, |
| 3164 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3165 | .block_erasers = |
| 3166 | { |
| 3167 | { |
| 3168 | .eraseblocks = { |
| 3169 | {128 * 1024, 1}, |
| 3170 | {96 * 1024, 1}, |
| 3171 | {8 * 1024, 2}, |
| 3172 | {16 * 1024, 1}, |
| 3173 | }, |
| 3174 | .block_erase = erase_block_82802ab, |
| 3175 | }, |
| 3176 | }, |
| 3177 | .write = write_82802ab, |
| 3178 | .read = read_memmapped, |
| 3179 | }, |
| 3180 | |
| 3181 | { |
| 3182 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3183 | .name = "28F004S5", |
| 3184 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3185 | .manufacture_id = INTEL_ID, |
| 3186 | .model_id = E_28F004S5, |
| 3187 | .total_size = 512, |
| 3188 | .page_size = 256, |
| 3189 | .tested = TEST_UNTESTED, |
| 3190 | .probe = probe_82802ab, |
| 3191 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3192 | .block_erasers = |
| 3193 | { |
| 3194 | { |
| 3195 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3196 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3197 | }, |
| 3198 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3199 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3200 | .write = write_82802ab, |
| 3201 | .read = read_memmapped, |
| 3202 | }, |
| 3203 | |
| 3204 | { |
| 3205 | .vendor = "Intel", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3206 | .name = "28F004BV/BE-B", |
| 3207 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3208 | .manufacture_id = INTEL_ID, |
| 3209 | .model_id = P28F004BB, |
| 3210 | .total_size = 512, |
| 3211 | .page_size = 128 * 1024, /* maximal block size */ |
| 3212 | .tested = TEST_UNTESTED, |
| 3213 | .probe = probe_82802ab, |
| 3214 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3215 | .block_erasers = |
| 3216 | { |
| 3217 | { |
| 3218 | .eraseblocks = { |
| 3219 | {16 * 1024, 1}, |
| 3220 | {8 * 1024, 2}, |
| 3221 | {96 * 1024, 1}, |
| 3222 | {128 * 1024, 3}, |
| 3223 | }, |
| 3224 | .block_erase = erase_block_82802ab, |
| 3225 | }, |
| 3226 | }, |
| 3227 | .write = write_82802ab, |
| 3228 | .read = read_memmapped, |
| 3229 | }, |
| 3230 | |
| 3231 | { |
| 3232 | .vendor = "Intel", |
| 3233 | .name = "28F004BV/BE-T", |
| 3234 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3235 | .manufacture_id = INTEL_ID, |
| 3236 | .model_id = P28F004BT, |
| 3237 | .total_size = 512, |
| 3238 | .page_size = 128 * 1024, /* maximal block size */ |
| 3239 | .tested = TEST_UNTESTED, |
| 3240 | .probe = probe_82802ab, |
| 3241 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3242 | .block_erasers = |
| 3243 | { |
| 3244 | { |
| 3245 | .eraseblocks = { |
| 3246 | {128 * 1024, 3}, |
| 3247 | {96 * 1024, 1}, |
| 3248 | {8 * 1024, 2}, |
| 3249 | {16 * 1024, 1}, |
| 3250 | }, |
| 3251 | .block_erase = erase_block_82802ab, |
| 3252 | }, |
| 3253 | }, |
| 3254 | .write = write_82802ab, |
| 3255 | .read = read_memmapped, |
| 3256 | }, |
| 3257 | |
| 3258 | { |
| 3259 | .vendor = "Intel", |
| 3260 | .name = "28F400BV/CV/CE-B", |
| 3261 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3262 | .manufacture_id = INTEL_ID, |
| 3263 | .model_id = P28F400BB, |
| 3264 | .total_size = 512, |
| 3265 | .page_size = 128 * 1024, /* maximal block size */ |
| 3266 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3267 | .tested = TEST_UNTESTED, |
| 3268 | .probe = probe_82802ab, |
| 3269 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3270 | .block_erasers = |
| 3271 | { |
| 3272 | { |
| 3273 | .eraseblocks = { |
| 3274 | {16 * 1024, 1}, |
| 3275 | {8 * 1024, 2}, |
| 3276 | {96 * 1024, 1}, |
| 3277 | {128 * 1024, 3}, |
| 3278 | }, |
| 3279 | .block_erase = erase_block_82802ab, |
| 3280 | }, |
| 3281 | }, |
| 3282 | .write = write_82802ab, |
| 3283 | .read = read_memmapped, |
| 3284 | }, |
| 3285 | |
| 3286 | { |
| 3287 | .vendor = "Intel", |
| 3288 | .name = "28F400BV/CV/CE-T", |
| 3289 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3290 | .manufacture_id = INTEL_ID, |
| 3291 | .model_id = P28F400BT, |
| 3292 | .total_size = 512, |
| 3293 | .page_size = 128 * 1024, /* maximal block size */ |
| 3294 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3295 | .tested = TEST_UNTESTED, |
| 3296 | .probe = probe_82802ab, |
| 3297 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3298 | .block_erasers = |
| 3299 | { |
| 3300 | { |
| 3301 | .eraseblocks = { |
| 3302 | {128 * 1024, 3}, |
| 3303 | {96 * 1024, 1}, |
| 3304 | {8 * 1024, 2}, |
| 3305 | {16 * 1024, 1}, |
| 3306 | }, |
| 3307 | .block_erase = erase_block_82802ab, |
| 3308 | }, |
| 3309 | }, |
| 3310 | .write = write_82802ab, |
| 3311 | .read = read_memmapped, |
| 3312 | }, |
| 3313 | |
| 3314 | { |
| 3315 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3316 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3317 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3318 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3319 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3320 | .total_size = 512, |
| 3321 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3322 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3323 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3324 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3325 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3326 | .block_erasers = |
| 3327 | { |
| 3328 | { |
| 3329 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3330 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3331 | }, |
| 3332 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3333 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3334 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3335 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3336 | }, |
| 3337 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3338 | { |
| 3339 | .vendor = "Intel", |
| 3340 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3341 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3342 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3343 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3344 | .total_size = 1024, |
| 3345 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3346 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3347 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3348 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3349 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3350 | .block_erasers = |
| 3351 | { |
| 3352 | { |
| 3353 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3354 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3355 | }, |
| 3356 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3357 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3358 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3359 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3360 | }, |
| 3361 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3362 | { |
| 3363 | .vendor = "Macronix", |
| 3364 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3365 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3366 | .manufacture_id = MX_ID, |
| 3367 | .model_id = MX_25L512, |
| 3368 | .total_size = 64, |
| 3369 | .page_size = 256, |
| 3370 | .tested = TEST_UNTESTED, |
| 3371 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3372 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3373 | .block_erasers = |
| 3374 | { |
| 3375 | { |
| 3376 | .eraseblocks = { {4 * 1024, 16} }, |
| 3377 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3378 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3379 | .eraseblocks = { {64 * 1024, 1} }, |
| 3380 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3381 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3382 | .eraseblocks = { {64 * 1024, 1} }, |
| 3383 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3384 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3385 | .eraseblocks = { {64 * 1024, 1} }, |
| 3386 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3387 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3388 | .eraseblocks = { {64 * 1024, 1} }, |
| 3389 | .block_erase = spi_block_erase_c7, |
| 3390 | }, |
| 3391 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3392 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3393 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3394 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3395 | }, |
| 3396 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3397 | { |
| 3398 | .vendor = "Macronix", |
| 3399 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3400 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3401 | .manufacture_id = MX_ID, |
| 3402 | .model_id = MX_25L1005, |
| 3403 | .total_size = 128, |
| 3404 | .page_size = 256, |
| 3405 | .tested = TEST_UNTESTED, |
| 3406 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3407 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3408 | .block_erasers = |
| 3409 | { |
| 3410 | { |
| 3411 | .eraseblocks = { {4 * 1024, 32} }, |
| 3412 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3413 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3414 | .eraseblocks = { {64 * 1024, 2} }, |
| 3415 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3416 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3417 | .eraseblocks = { {128 * 1024, 1} }, |
| 3418 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3419 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3420 | .eraseblocks = { {128 * 1024, 1} }, |
| 3421 | .block_erase = spi_block_erase_c7, |
| 3422 | }, |
| 3423 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3424 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3425 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3426 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3427 | }, |
| 3428 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3429 | { |
| 3430 | .vendor = "Macronix", |
| 3431 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3432 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3433 | .manufacture_id = MX_ID, |
| 3434 | .model_id = MX_25L2005, |
| 3435 | .total_size = 256, |
| 3436 | .page_size = 256, |
| 3437 | .tested = TEST_UNTESTED, |
| 3438 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3439 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3440 | .block_erasers = |
| 3441 | { |
| 3442 | { |
| 3443 | .eraseblocks = { {4 * 1024, 64} }, |
| 3444 | .block_erase = spi_block_erase_20, |
| 3445 | }, { |
| 3446 | .eraseblocks = { {64 * 1024, 4} }, |
| 3447 | .block_erase = spi_block_erase_52, |
| 3448 | }, { |
| 3449 | .eraseblocks = { {64 * 1024, 4} }, |
| 3450 | .block_erase = spi_block_erase_d8, |
| 3451 | }, { |
| 3452 | .eraseblocks = { {256 * 1024, 1} }, |
| 3453 | .block_erase = spi_block_erase_60, |
| 3454 | }, { |
| 3455 | .eraseblocks = { {256 * 1024, 1} }, |
| 3456 | .block_erase = spi_block_erase_c7, |
| 3457 | }, |
| 3458 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3459 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3460 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3461 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3462 | }, |
| 3463 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3464 | { |
| 3465 | .vendor = "Macronix", |
| 3466 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3467 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3468 | .manufacture_id = MX_ID, |
| 3469 | .model_id = MX_25L4005, |
| 3470 | .total_size = 512, |
| 3471 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3472 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3473 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3474 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3475 | .block_erasers = |
| 3476 | { |
| 3477 | { |
| 3478 | .eraseblocks = { {4 * 1024, 128} }, |
| 3479 | .block_erase = spi_block_erase_20, |
| 3480 | }, { |
| 3481 | .eraseblocks = { {64 * 1024, 8} }, |
| 3482 | .block_erase = spi_block_erase_52, |
| 3483 | }, { |
| 3484 | .eraseblocks = { {64 * 1024, 8} }, |
| 3485 | .block_erase = spi_block_erase_d8, |
| 3486 | }, { |
| 3487 | .eraseblocks = { {512 * 1024, 1} }, |
| 3488 | .block_erase = spi_block_erase_60, |
| 3489 | }, { |
| 3490 | .eraseblocks = { {512 * 1024, 1} }, |
| 3491 | .block_erase = spi_block_erase_c7, |
| 3492 | }, |
| 3493 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3494 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3495 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3496 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3497 | }, |
| 3498 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3499 | { |
| 3500 | .vendor = "Macronix", |
| 3501 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3502 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3503 | .manufacture_id = MX_ID, |
| 3504 | .model_id = MX_25L8005, |
| 3505 | .total_size = 1024, |
| 3506 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 3507 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3508 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3509 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3510 | .block_erasers = |
| 3511 | { |
| 3512 | { |
| 3513 | .eraseblocks = { {4 * 1024, 256} }, |
| 3514 | .block_erase = spi_block_erase_20, |
| 3515 | }, { |
| 3516 | .eraseblocks = { {64 * 1024, 16} }, |
| 3517 | .block_erase = spi_block_erase_52, |
| 3518 | }, { |
| 3519 | .eraseblocks = { {64 * 1024, 16} }, |
| 3520 | .block_erase = spi_block_erase_d8, |
| 3521 | }, { |
| 3522 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3523 | .block_erase = spi_block_erase_60, |
| 3524 | }, { |
| 3525 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3526 | .block_erase = spi_block_erase_c7, |
| 3527 | }, |
| 3528 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3529 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3530 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3531 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3532 | }, |
| 3533 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3534 | { |
| 3535 | .vendor = "Macronix", |
| 3536 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3537 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3538 | .manufacture_id = MX_ID, |
| 3539 | .model_id = MX_25L1605, |
| 3540 | .total_size = 2048, |
| 3541 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3542 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3543 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3544 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3545 | .block_erasers = |
| 3546 | { |
| 3547 | { |
| 3548 | .eraseblocks = { {4 * 1024, 512} }, |
| 3549 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3550 | }, { |
| 3551 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3552 | .block_erase = spi_block_erase_52, |
| 3553 | }, { |
| 3554 | .eraseblocks = { {64 * 1024, 32} }, |
| 3555 | .block_erase = spi_block_erase_d8, |
| 3556 | }, { |
| 3557 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3558 | .block_erase = spi_block_erase_60, |
| 3559 | }, { |
| 3560 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3561 | .block_erase = spi_block_erase_c7, |
| 3562 | }, |
| 3563 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3564 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3565 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3566 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3567 | }, |
| 3568 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3569 | { |
| 3570 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3571 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3572 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3573 | .manufacture_id = MX_ID, |
| 3574 | .model_id = MX_25L1635D, |
| 3575 | .total_size = 2048, |
| 3576 | .page_size = 256, |
| 3577 | .tested = TEST_UNTESTED, |
| 3578 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3579 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3580 | .block_erasers = |
| 3581 | { |
| 3582 | { |
| 3583 | .eraseblocks = { {4 * 1024, 512} }, |
| 3584 | .block_erase = spi_block_erase_20, |
| 3585 | }, { |
| 3586 | .eraseblocks = { {64 * 1024, 32} }, |
| 3587 | .block_erase = spi_block_erase_d8, |
| 3588 | }, { |
| 3589 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3590 | .block_erase = spi_block_erase_60, |
| 3591 | }, { |
| 3592 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3593 | .block_erase = spi_block_erase_c7, |
| 3594 | } |
| 3595 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3596 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3597 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3598 | .read = spi_chip_read, |
| 3599 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 3600 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3601 | { |
| 3602 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3603 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3604 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3605 | .manufacture_id = MX_ID, |
| 3606 | .model_id = MX_25L3205, |
| 3607 | .total_size = 4096, |
| 3608 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3609 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3610 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3611 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3612 | .block_erasers = |
| 3613 | { |
| 3614 | { |
| 3615 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3616 | .block_erase = spi_block_erase_20, |
| 3617 | }, { |
| 3618 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3619 | .block_erase = spi_block_erase_d8, |
| 3620 | }, { |
| 3621 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3622 | .block_erase = spi_block_erase_60, |
| 3623 | }, { |
| 3624 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3625 | .block_erase = spi_block_erase_c7, |
| 3626 | }, |
| 3627 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3628 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3629 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3630 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3631 | }, |
| 3632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3633 | { |
| 3634 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3635 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3636 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3637 | .manufacture_id = MX_ID, |
| 3638 | .model_id = MX_25L3235D, |
| 3639 | .total_size = 4096, |
| 3640 | .page_size = 256, |
| 3641 | .tested = TEST_UNTESTED, |
| 3642 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3643 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3644 | .block_erasers = |
| 3645 | { |
| 3646 | { |
| 3647 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3648 | .block_erase = spi_block_erase_20, |
| 3649 | }, { |
| 3650 | .eraseblocks = { {64 * 1024, 64} }, |
| 3651 | .block_erase = spi_block_erase_d8, |
| 3652 | }, { |
| 3653 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3654 | .block_erase = spi_block_erase_60, |
| 3655 | }, { |
| 3656 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3657 | .block_erase = spi_block_erase_c7, |
| 3658 | } |
| 3659 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3660 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3661 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3662 | .read = spi_chip_read, |
| 3663 | }, |
| 3664 | |
| 3665 | { |
| 3666 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3667 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3668 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3669 | .manufacture_id = MX_ID, |
| 3670 | .model_id = MX_25L6405, |
| 3671 | .total_size = 8192, |
| 3672 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 3673 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3674 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3675 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3676 | .block_erasers = |
| 3677 | { |
| 3678 | { |
| 3679 | .eraseblocks = { {64 * 1024, 128} }, |
| 3680 | .block_erase = spi_block_erase_20, |
| 3681 | }, { |
| 3682 | .eraseblocks = { {64 * 1024, 128} }, |
| 3683 | .block_erase = spi_block_erase_d8, |
| 3684 | }, { |
| 3685 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3686 | .block_erase = spi_block_erase_60, |
| 3687 | }, { |
| 3688 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3689 | .block_erase = spi_block_erase_c7, |
| 3690 | } |
| 3691 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3692 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3693 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3694 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3695 | }, |
| 3696 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3697 | { |
| 3698 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3699 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3700 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3701 | .manufacture_id = MX_ID, |
| 3702 | .model_id = MX_25L12805, |
| 3703 | .total_size = 16384, |
| 3704 | .page_size = 256, |
| 3705 | .tested = TEST_UNTESTED, |
| 3706 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3707 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3708 | .block_erasers = |
| 3709 | { |
| 3710 | { |
| 3711 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3712 | .block_erase = spi_block_erase_20, |
| 3713 | }, { |
| 3714 | .eraseblocks = { {64 * 1024, 256} }, |
| 3715 | .block_erase = spi_block_erase_d8, |
| 3716 | }, { |
| 3717 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3718 | .block_erase = spi_block_erase_60, |
| 3719 | }, { |
| 3720 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3721 | .block_erase = spi_block_erase_c7, |
| 3722 | } |
| 3723 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3724 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3725 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3726 | .read = spi_chip_read, |
| 3727 | }, |
| 3728 | |
| 3729 | { |
| 3730 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3731 | .name = "MX29F001B", |
| 3732 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3733 | .manufacture_id = MX_ID, |
| 3734 | .model_id = MX_29F001B, |
| 3735 | .total_size = 128, |
| 3736 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3737 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3738 | .tested = TEST_UNTESTED, |
| 3739 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3740 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3741 | .block_erasers = |
| 3742 | { |
| 3743 | { |
| 3744 | .eraseblocks = { |
| 3745 | {8 * 1024, 1}, |
| 3746 | {4 * 1024, 2}, |
| 3747 | {8 * 1024, 2}, |
| 3748 | {32 * 1024, 1}, |
| 3749 | {64 * 1024, 1}, |
| 3750 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3751 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3752 | }, { |
| 3753 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3754 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3755 | } |
| 3756 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3757 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3758 | .read = read_memmapped, |
| 3759 | }, |
| 3760 | |
| 3761 | { |
| 3762 | .vendor = "Macronix", |
| 3763 | .name = "MX29F001T", |
| 3764 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3765 | .manufacture_id = MX_ID, |
| 3766 | .model_id = MX_29F001T, |
| 3767 | .total_size = 128, |
| 3768 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3769 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3770 | .tested = TEST_UNTESTED, |
| 3771 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3772 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3773 | .block_erasers = |
| 3774 | { |
| 3775 | { |
| 3776 | .eraseblocks = { |
| 3777 | {64 * 1024, 1}, |
| 3778 | {32 * 1024, 1}, |
| 3779 | {8 * 1024, 2}, |
| 3780 | {4 * 1024, 2}, |
| 3781 | {8 * 1024, 1}, |
| 3782 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3783 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3784 | }, { |
| 3785 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3786 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3787 | } |
| 3788 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3789 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3790 | .read = read_memmapped, |
| 3791 | }, |
| 3792 | |
| 3793 | { |
| 3794 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3795 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3796 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3797 | .manufacture_id = MX_ID, |
| 3798 | .model_id = MX_29F002B, |
| 3799 | .total_size = 256, |
| 3800 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3801 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3802 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3803 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3804 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3805 | .block_erasers = |
| 3806 | { |
| 3807 | { |
| 3808 | .eraseblocks = { |
| 3809 | {16 * 1024, 1}, |
| 3810 | {8 * 1024, 2}, |
| 3811 | {32 * 1024, 1}, |
| 3812 | {64 * 1024, 3}, |
| 3813 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3814 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3815 | }, { |
| 3816 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3817 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3818 | }, |
| 3819 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3820 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3821 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3822 | }, |
| 3823 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3824 | { |
| 3825 | .vendor = "Macronix", |
| 3826 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3827 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3828 | .manufacture_id = MX_ID, |
| 3829 | .model_id = MX_29F002T, |
| 3830 | .total_size = 256, |
| 3831 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3832 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3833 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3834 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3835 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3836 | .block_erasers = |
| 3837 | { |
| 3838 | { |
| 3839 | .eraseblocks = { |
| 3840 | {64 * 1024, 3}, |
| 3841 | {32 * 1024, 1}, |
| 3842 | {8 * 1024, 2}, |
| 3843 | {16 * 1024, 1}, |
| 3844 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3845 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3846 | }, { |
| 3847 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3848 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3849 | }, |
| 3850 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3851 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3852 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3853 | }, |
| 3854 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3855 | { |
| 3856 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3857 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3858 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3859 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3860 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3861 | .total_size = 512, |
| 3862 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3863 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3864 | .tested = TEST_UNTESTED, |
| 3865 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3866 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3867 | .block_erasers = |
| 3868 | { |
| 3869 | { |
| 3870 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3871 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3872 | }, { |
| 3873 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3874 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3875 | }, |
| 3876 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3877 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3878 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3879 | }, |
| 3880 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3881 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 3882 | .vendor = "MoselVitelic", |
| 3883 | .name = "V29C51000B", |
| 3884 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3885 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3886 | .model_id = MVC_V29C51000B, |
| 3887 | .total_size = 64, |
| 3888 | .page_size = 512, |
| 3889 | .feature_bits = FEATURE_EITHER_RESET, |
| 3890 | .tested = TEST_UNTESTED, |
| 3891 | .probe = probe_jedec, |
| 3892 | .probe_timing = TIMING_ZERO, |
| 3893 | .block_erasers = |
| 3894 | { |
| 3895 | { |
| 3896 | .eraseblocks = { {512, 128} }, |
| 3897 | .block_erase = erase_sector_jedec, |
| 3898 | }, { |
| 3899 | .eraseblocks = { {64 * 1024, 1} }, |
| 3900 | .block_erase = erase_chip_block_jedec, |
| 3901 | }, |
| 3902 | }, |
| 3903 | .write = write_jedec_1, |
| 3904 | .read = read_memmapped, |
| 3905 | }, |
| 3906 | |
| 3907 | { |
| 3908 | .vendor = "MoselVitelic", |
| 3909 | .name = "V29C51000T", |
| 3910 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3911 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3912 | .model_id = MVC_V29C51000T, |
| 3913 | .total_size = 64, |
| 3914 | .page_size = 512, |
| 3915 | .feature_bits = FEATURE_EITHER_RESET, |
| 3916 | .tested = TEST_UNTESTED, |
| 3917 | .probe = probe_jedec, |
| 3918 | .probe_timing = TIMING_ZERO, |
| 3919 | .block_erasers = |
| 3920 | { |
| 3921 | { |
| 3922 | .eraseblocks = { {512, 128} }, |
| 3923 | .block_erase = erase_sector_jedec, |
| 3924 | }, { |
| 3925 | .eraseblocks = { {64 * 1024, 1} }, |
| 3926 | .block_erase = erase_chip_block_jedec, |
| 3927 | }, |
| 3928 | }, |
| 3929 | .write = write_jedec_1, |
| 3930 | .read = read_memmapped, |
| 3931 | }, |
| 3932 | |
| 3933 | { |
| 3934 | .vendor = "MoselVitelic", |
| 3935 | .name = "V29C51400B", |
| 3936 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3937 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3938 | .model_id = MVC_V29C51400B, |
| 3939 | .total_size = 512, |
| 3940 | .page_size = 1024, |
| 3941 | .feature_bits = FEATURE_EITHER_RESET, |
| 3942 | .tested = TEST_UNTESTED, |
| 3943 | .probe = probe_jedec, |
| 3944 | .probe_timing = TIMING_ZERO, |
| 3945 | .block_erasers = |
| 3946 | { |
| 3947 | { |
| 3948 | .eraseblocks = { {1024, 512} }, |
| 3949 | .block_erase = erase_sector_jedec, |
| 3950 | }, { |
| 3951 | .eraseblocks = { {512 * 1024, 1} }, |
| 3952 | .block_erase = erase_chip_block_jedec, |
| 3953 | }, |
| 3954 | }, |
| 3955 | .write = write_jedec_1, |
| 3956 | .read = read_memmapped, |
| 3957 | }, |
| 3958 | |
| 3959 | { |
| 3960 | .vendor = "MoselVitelic", |
| 3961 | .name = "V29C51400T", |
| 3962 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3963 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3964 | .model_id = MVC_V29C51400T, |
| 3965 | .total_size = 512, |
| 3966 | .page_size = 1024, |
| 3967 | .feature_bits = FEATURE_EITHER_RESET, |
| 3968 | .tested = TEST_UNTESTED, |
| 3969 | .probe = probe_jedec, |
| 3970 | .probe_timing = TIMING_ZERO, |
| 3971 | .block_erasers = |
| 3972 | { |
| 3973 | { |
| 3974 | .eraseblocks = { {1024, 512} }, |
| 3975 | .block_erase = erase_sector_jedec, |
| 3976 | }, { |
| 3977 | .eraseblocks = { {512 * 1024, 1} }, |
| 3978 | .block_erase = erase_chip_block_jedec, |
| 3979 | }, |
| 3980 | }, |
| 3981 | .write = write_jedec_1, |
| 3982 | .read = read_memmapped, |
| 3983 | }, |
| 3984 | |
| 3985 | { |
| 3986 | .vendor = "MoselVitelic", |
| 3987 | .name = "V29LC51000", |
| 3988 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3989 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3990 | .model_id = MVC_V29LC51000, |
| 3991 | .total_size = 64, |
| 3992 | .page_size = 512, |
| 3993 | .feature_bits = FEATURE_EITHER_RESET, |
| 3994 | .tested = TEST_UNTESTED, |
| 3995 | .probe = probe_jedec, |
| 3996 | .probe_timing = TIMING_ZERO, |
| 3997 | .block_erasers = |
| 3998 | { |
| 3999 | { |
| 4000 | .eraseblocks = { {512, 128} }, |
| 4001 | .block_erase = erase_sector_jedec, |
| 4002 | }, { |
| 4003 | .eraseblocks = { {64 * 1024, 1} }, |
| 4004 | .block_erase = erase_chip_block_jedec, |
| 4005 | }, |
| 4006 | }, |
| 4007 | .write = write_jedec_1, |
| 4008 | .read = read_memmapped, |
| 4009 | }, |
| 4010 | |
| 4011 | { |
| 4012 | .vendor = "MoselVitelic", |
| 4013 | .name = "V29LC51001", |
| 4014 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4015 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4016 | .model_id = MVC_V29LC51001, |
| 4017 | .total_size = 128, |
| 4018 | .page_size = 512, |
| 4019 | .feature_bits = FEATURE_EITHER_RESET, |
| 4020 | .tested = TEST_UNTESTED, |
| 4021 | .probe = probe_jedec, |
| 4022 | .probe_timing = TIMING_ZERO, |
| 4023 | .block_erasers = |
| 4024 | { |
| 4025 | { |
| 4026 | .eraseblocks = { {512, 256} }, |
| 4027 | .block_erase = erase_sector_jedec, |
| 4028 | }, { |
| 4029 | .eraseblocks = { {128 * 1024, 1} }, |
| 4030 | .block_erase = erase_chip_block_jedec, |
| 4031 | }, |
| 4032 | }, |
| 4033 | .write = write_jedec_1, |
| 4034 | .read = read_memmapped, |
| 4035 | }, |
| 4036 | |
| 4037 | { |
| 4038 | .vendor = "MoselVitelic", |
| 4039 | .name = "V29LC51002", |
| 4040 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4041 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4042 | .model_id = MVC_V29LC51002, |
| 4043 | .total_size = 256, |
| 4044 | .page_size = 512, |
| 4045 | .feature_bits = FEATURE_EITHER_RESET, |
| 4046 | .tested = TEST_UNTESTED, |
| 4047 | .probe = probe_jedec, |
| 4048 | .probe_timing = TIMING_ZERO, |
| 4049 | .block_erasers = |
| 4050 | { |
| 4051 | { |
| 4052 | .eraseblocks = { {512, 512} }, |
| 4053 | .block_erase = erase_sector_jedec, |
| 4054 | }, { |
| 4055 | .eraseblocks = { {256 * 1024, 1} }, |
| 4056 | .block_erase = erase_chip_block_jedec, |
| 4057 | }, |
| 4058 | }, |
| 4059 | .write = write_jedec_1, |
| 4060 | .read = read_memmapped, |
| 4061 | }, |
| 4062 | |
| 4063 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4064 | .vendor = "Numonyx", |
| 4065 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4066 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4067 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4068 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4069 | .total_size = 128, |
| 4070 | .page_size = 256, |
| 4071 | .tested = TEST_UNTESTED, |
| 4072 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4073 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4074 | .block_erasers = |
| 4075 | { |
| 4076 | { |
| 4077 | .eraseblocks = { {4 * 1024, 32} }, |
| 4078 | .block_erase = spi_block_erase_20, |
| 4079 | }, { |
| 4080 | .eraseblocks = { {64 * 1024, 2} }, |
| 4081 | .block_erase = spi_block_erase_d8, |
| 4082 | }, { |
| 4083 | .eraseblocks = { {128 * 1024, 1} }, |
| 4084 | .block_erase = spi_block_erase_c7, |
| 4085 | } |
| 4086 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4087 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4088 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4089 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4090 | }, |
| 4091 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4092 | { |
| 4093 | .vendor = "Numonyx", |
| 4094 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4095 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4096 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4097 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4098 | .total_size = 256, |
| 4099 | .page_size = 256, |
| 4100 | .tested = TEST_UNTESTED, |
| 4101 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4102 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4103 | .block_erasers = |
| 4104 | { |
| 4105 | { |
| 4106 | .eraseblocks = { {4 * 1024, 64} }, |
| 4107 | .block_erase = spi_block_erase_20, |
| 4108 | }, { |
| 4109 | .eraseblocks = { {64 * 1024, 4} }, |
| 4110 | .block_erase = spi_block_erase_d8, |
| 4111 | }, { |
| 4112 | .eraseblocks = { {256 * 1024, 1} }, |
| 4113 | .block_erase = spi_block_erase_c7, |
| 4114 | } |
| 4115 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4116 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4117 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4118 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4119 | }, |
| 4120 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4121 | { |
| 4122 | .vendor = "Numonyx", |
| 4123 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4124 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4125 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4126 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4127 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4128 | .page_size = 256, |
| 4129 | .tested = TEST_UNTESTED, |
| 4130 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4131 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4132 | .block_erasers = |
| 4133 | { |
| 4134 | { |
| 4135 | .eraseblocks = { {4 * 1024, 128} }, |
| 4136 | .block_erase = spi_block_erase_20, |
| 4137 | }, { |
| 4138 | .eraseblocks = { {64 * 1024, 8} }, |
| 4139 | .block_erase = spi_block_erase_d8, |
| 4140 | }, { |
| 4141 | .eraseblocks = { {512 * 1024, 1} }, |
| 4142 | .block_erase = spi_block_erase_c7, |
| 4143 | } |
| 4144 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4145 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4146 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4147 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4148 | }, |
| 4149 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4150 | { |
| 4151 | .vendor = "Numonyx", |
| 4152 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4153 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4154 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4155 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4156 | .total_size = 1024, |
| 4157 | .page_size = 256, |
| 4158 | .tested = TEST_OK_PREW, |
| 4159 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4160 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4161 | .block_erasers = |
| 4162 | { |
| 4163 | { |
| 4164 | .eraseblocks = { {4 * 1024, 256} }, |
| 4165 | .block_erase = spi_block_erase_20, |
| 4166 | }, { |
| 4167 | .eraseblocks = { {64 * 1024, 16} }, |
| 4168 | .block_erase = spi_block_erase_d8, |
| 4169 | }, { |
| 4170 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4171 | .block_erase = spi_block_erase_c7, |
| 4172 | } |
| 4173 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4174 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4175 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4176 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4177 | }, |
| 4178 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4179 | { |
| 4180 | .vendor = "Numonyx", |
| 4181 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4182 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4183 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4184 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4185 | .total_size = 2048, |
| 4186 | .page_size = 256, |
| 4187 | .tested = TEST_UNTESTED, |
| 4188 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4189 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4190 | .block_erasers = |
| 4191 | { |
| 4192 | { |
| 4193 | .eraseblocks = { {4 * 1024, 512} }, |
| 4194 | .block_erase = spi_block_erase_20, |
| 4195 | }, { |
| 4196 | .eraseblocks = { {64 * 1024, 32} }, |
| 4197 | .block_erase = spi_block_erase_d8, |
| 4198 | }, { |
| 4199 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4200 | .block_erase = spi_block_erase_c7, |
| 4201 | } |
| 4202 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4203 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4204 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4205 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4206 | }, |
| 4207 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4208 | { |
| 4209 | .vendor = "PMC", |
| 4210 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4211 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4212 | .manufacture_id = PMC_ID, |
| 4213 | .model_id = PMC_25LV010, |
| 4214 | .total_size = 128, |
| 4215 | .page_size = 256, |
| 4216 | .tested = TEST_UNTESTED, |
| 4217 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4218 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4219 | .block_erasers = |
| 4220 | { |
| 4221 | { |
| 4222 | .eraseblocks = { {4 * 1024, 32} }, |
| 4223 | .block_erase = spi_block_erase_d7, |
| 4224 | }, { |
| 4225 | .eraseblocks = { {32 * 1024, 4} }, |
| 4226 | .block_erase = spi_block_erase_d8, |
| 4227 | }, { |
| 4228 | .eraseblocks = { {128 * 1024, 1} }, |
| 4229 | .block_erase = spi_block_erase_c7, |
| 4230 | } |
| 4231 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4232 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4233 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4234 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4235 | }, |
| 4236 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4237 | { |
| 4238 | .vendor = "PMC", |
| 4239 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4240 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4241 | .manufacture_id = PMC_ID, |
| 4242 | .model_id = PMC_25LV016B, |
| 4243 | .total_size = 2048, |
| 4244 | .page_size = 256, |
| 4245 | .tested = TEST_UNTESTED, |
| 4246 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4247 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4248 | .block_erasers = |
| 4249 | { |
| 4250 | { |
| 4251 | .eraseblocks = { {4 * 1024, 512} }, |
| 4252 | .block_erase = spi_block_erase_d7, |
| 4253 | }, { |
| 4254 | .eraseblocks = { {4 * 1024, 512} }, |
| 4255 | .block_erase = spi_block_erase_20, |
| 4256 | }, { |
| 4257 | .eraseblocks = { {64 * 1024, 32} }, |
| 4258 | .block_erase = spi_block_erase_d8, |
| 4259 | }, { |
| 4260 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4261 | .block_erase = spi_block_erase_60, |
| 4262 | }, { |
| 4263 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4264 | .block_erase = spi_block_erase_c7, |
| 4265 | } |
| 4266 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4267 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4268 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4269 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4270 | }, |
| 4271 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4272 | { |
| 4273 | .vendor = "PMC", |
| 4274 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4275 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4276 | .manufacture_id = PMC_ID, |
| 4277 | .model_id = PMC_25LV020, |
| 4278 | .total_size = 256, |
| 4279 | .page_size = 256, |
| 4280 | .tested = TEST_UNTESTED, |
| 4281 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4282 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4283 | .block_erasers = |
| 4284 | { |
| 4285 | { |
| 4286 | .eraseblocks = { {4 * 1024, 64} }, |
| 4287 | .block_erase = spi_block_erase_d7, |
| 4288 | }, { |
| 4289 | .eraseblocks = { {64 * 1024, 4} }, |
| 4290 | .block_erase = spi_block_erase_d8, |
| 4291 | }, { |
| 4292 | .eraseblocks = { {256 * 1024, 1} }, |
| 4293 | .block_erase = spi_block_erase_c7, |
| 4294 | } |
| 4295 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4296 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4297 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4298 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4299 | }, |
| 4300 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4301 | { |
| 4302 | .vendor = "PMC", |
| 4303 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4304 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4305 | .manufacture_id = PMC_ID, |
| 4306 | .model_id = PMC_25LV040, |
| 4307 | .total_size = 512, |
| 4308 | .page_size = 256, |
| 4309 | .tested = TEST_UNTESTED, |
| 4310 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4311 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4312 | .block_erasers = |
| 4313 | { |
| 4314 | { |
| 4315 | .eraseblocks = { {4 * 1024, 128} }, |
| 4316 | .block_erase = spi_block_erase_d7, |
| 4317 | }, { |
| 4318 | .eraseblocks = { {64 * 1024, 8} }, |
| 4319 | .block_erase = spi_block_erase_d8, |
| 4320 | }, { |
| 4321 | .eraseblocks = { {512 * 1024, 1} }, |
| 4322 | .block_erase = spi_block_erase_c7, |
| 4323 | } |
| 4324 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4325 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4326 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4327 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4328 | }, |
| 4329 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4330 | { |
| 4331 | .vendor = "PMC", |
| 4332 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4333 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4334 | .manufacture_id = PMC_ID, |
| 4335 | .model_id = PMC_25LV080B, |
| 4336 | .total_size = 1024, |
| 4337 | .page_size = 256, |
| 4338 | .tested = TEST_UNTESTED, |
| 4339 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4340 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4341 | .block_erasers = |
| 4342 | { |
| 4343 | { |
| 4344 | .eraseblocks = { {4 * 1024, 256} }, |
| 4345 | .block_erase = spi_block_erase_d7, |
| 4346 | }, { |
| 4347 | .eraseblocks = { {4 * 1024, 256} }, |
| 4348 | .block_erase = spi_block_erase_20, |
| 4349 | }, { |
| 4350 | .eraseblocks = { {64 * 1024, 16} }, |
| 4351 | .block_erase = spi_block_erase_d8, |
| 4352 | }, { |
| 4353 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4354 | .block_erase = spi_block_erase_60, |
| 4355 | }, { |
| 4356 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4357 | .block_erase = spi_block_erase_c7, |
| 4358 | } |
| 4359 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4360 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4361 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4362 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4363 | }, |
| 4364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4365 | { |
| 4366 | .vendor = "PMC", |
| 4367 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4368 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4369 | .manufacture_id = PMC_ID, |
| 4370 | .model_id = PMC_25LV512, |
| 4371 | .total_size = 64, |
| 4372 | .page_size = 256, |
| 4373 | .tested = TEST_UNTESTED, |
| 4374 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4375 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4376 | .block_erasers = |
| 4377 | { |
| 4378 | { |
| 4379 | .eraseblocks = { {4 * 1024, 16} }, |
| 4380 | .block_erase = spi_block_erase_d7, |
| 4381 | }, { |
| 4382 | .eraseblocks = { {32 * 1024, 2} }, |
| 4383 | .block_erase = spi_block_erase_d8, |
| 4384 | }, { |
| 4385 | .eraseblocks = { {64 * 1024, 1} }, |
| 4386 | .block_erase = spi_block_erase_c7, |
| 4387 | } |
| 4388 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4389 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4390 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4391 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4392 | }, |
| 4393 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4394 | { |
| 4395 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4396 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4397 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4398 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4399 | .model_id = PMC_29F002T, |
| 4400 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4401 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4402 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4403 | .tested = TEST_UNTESTED, |
| 4404 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4405 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4406 | .block_erasers = |
| 4407 | { |
| 4408 | { |
| 4409 | .eraseblocks = { |
| 4410 | {128 * 1024, 1}, |
| 4411 | {96 * 1024, 1}, |
| 4412 | {8 * 1024, 2}, |
| 4413 | {16 * 1024, 1}, |
| 4414 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4415 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4416 | }, { |
| 4417 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4418 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4419 | }, |
| 4420 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4421 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4422 | .read = read_memmapped, |
| 4423 | }, |
| 4424 | |
| 4425 | { |
| 4426 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4427 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4428 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4429 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4430 | .model_id = PMC_29F002B, |
| 4431 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4432 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4433 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4434 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4435 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4436 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4437 | .block_erasers = |
| 4438 | { |
| 4439 | { |
| 4440 | .eraseblocks = { |
| 4441 | {16 * 1024, 1}, |
| 4442 | {8 * 1024, 2}, |
| 4443 | {96 * 1024, 1}, |
| 4444 | {128 * 1024, 1}, |
| 4445 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4446 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4447 | }, { |
| 4448 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4449 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4450 | }, |
| 4451 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4452 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4453 | .read = read_memmapped, |
| 4454 | }, |
| 4455 | |
| 4456 | { |
| 4457 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4458 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4459 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4460 | .manufacture_id = PMC_ID_NOPREFIX, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4461 | .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] | 4462 | .total_size = 128, |
| 4463 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4464 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4465 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4466 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4467 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4468 | .block_erasers = |
| 4469 | { |
| 4470 | { |
| 4471 | .eraseblocks = { {4 * 1024, 32} }, |
| 4472 | .block_erase = erase_sector_jedec, |
| 4473 | }, { |
| 4474 | .eraseblocks = { {64 * 1024, 2} }, |
| 4475 | .block_erase = erase_block_jedec, |
| 4476 | }, { |
| 4477 | .eraseblocks = { {128 * 1024, 1} }, |
| 4478 | .block_erase = erase_chip_block_jedec, |
| 4479 | } |
| 4480 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4481 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4482 | .read = read_memmapped, |
| 4483 | }, |
| 4484 | |
| 4485 | { |
| 4486 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4487 | .name = "Pm39LV020", |
| 4488 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4489 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4490 | .model_id = PMC_39LV020, |
| 4491 | .total_size = 256, |
| 4492 | .page_size = 4096, |
| 4493 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4494 | .tested = TEST_UNTESTED, |
| 4495 | .probe = probe_jedec, |
| 4496 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4497 | .block_erasers = |
| 4498 | { |
| 4499 | { |
| 4500 | .eraseblocks = { {4 * 1024, 64} }, |
| 4501 | .block_erase = erase_sector_jedec, |
| 4502 | }, { |
| 4503 | .eraseblocks = { {64 * 1024, 4} }, |
| 4504 | .block_erase = erase_block_jedec, |
| 4505 | }, { |
| 4506 | .eraseblocks = { {256 * 1024, 1} }, |
| 4507 | .block_erase = erase_chip_block_jedec, |
| 4508 | } |
| 4509 | }, |
| 4510 | .write = write_jedec_1, |
| 4511 | .read = read_memmapped, |
| 4512 | }, |
| 4513 | |
| 4514 | { |
| 4515 | .vendor = "PMC", |
| 4516 | .name = "Pm39LV040", |
| 4517 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4518 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4519 | .model_id = PMC_39LV040, |
| 4520 | .total_size = 512, |
| 4521 | .page_size = 4096, |
| 4522 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4523 | .tested = TEST_UNTESTED, |
| 4524 | .probe = probe_jedec, |
| 4525 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4526 | .block_erasers = |
| 4527 | { |
| 4528 | { |
| 4529 | .eraseblocks = { {4 * 1024, 128} }, |
| 4530 | .block_erase = erase_sector_jedec, |
| 4531 | }, { |
| 4532 | .eraseblocks = { {64 * 1024, 8} }, |
| 4533 | .block_erase = erase_block_jedec, |
| 4534 | }, { |
| 4535 | .eraseblocks = { {512 * 1024, 1} }, |
| 4536 | .block_erase = erase_chip_block_jedec, |
| 4537 | } |
| 4538 | }, |
| 4539 | .write = write_jedec_1, |
| 4540 | .read = read_memmapped, |
| 4541 | }, |
| 4542 | |
| 4543 | { |
| 4544 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4545 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4546 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4547 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4548 | .model_id = PMC_49FL002, |
| 4549 | .total_size = 256, |
| 4550 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4551 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 4552 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4553 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4554 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4555 | .block_erasers = |
| 4556 | { |
| 4557 | { |
| 4558 | .eraseblocks = { {4 * 1024, 64} }, |
| 4559 | .block_erase = erase_sector_jedec, |
| 4560 | }, { |
| 4561 | .eraseblocks = { {16 * 1024, 16} }, |
| 4562 | .block_erase = erase_block_jedec, |
| 4563 | }, { |
| 4564 | .eraseblocks = { {256 * 1024, 1} }, |
| 4565 | .block_erase = erase_chip_block_jedec, |
| 4566 | } |
| 4567 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4568 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4569 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4570 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4571 | }, |
| 4572 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4573 | { |
| 4574 | .vendor = "PMC", |
| 4575 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4576 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4577 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4578 | .model_id = PMC_49FL004, |
| 4579 | .total_size = 512, |
| 4580 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4581 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4582 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4583 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4584 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4585 | .block_erasers = |
| 4586 | { |
| 4587 | { |
| 4588 | .eraseblocks = { {4 * 1024, 128} }, |
| 4589 | .block_erase = erase_sector_jedec, |
| 4590 | }, { |
| 4591 | .eraseblocks = { {64 * 1024, 8} }, |
| 4592 | .block_erase = erase_block_jedec, |
| 4593 | }, { |
| 4594 | .eraseblocks = { {512 * 1024, 1} }, |
| 4595 | .block_erase = erase_chip_block_jedec, |
| 4596 | } |
| 4597 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4598 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4599 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4600 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4601 | }, |
| 4602 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4603 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4604 | .vendor = "Sanyo", |
| 4605 | .name = "LF25FW203A", |
| 4606 | .bustype = CHIP_BUSTYPE_SPI, |
| 4607 | .manufacture_id = SANYO_ID, |
| 4608 | .model_id = SANYO_LE25FW203A, |
| 4609 | .total_size = 2048, |
| 4610 | .page_size = 256, |
| 4611 | .tested = TEST_UNTESTED, |
| 4612 | .probe = probe_spi_rdid, |
| 4613 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4614 | .block_erasers = |
| 4615 | { |
| 4616 | { |
| 4617 | .eraseblocks = { {64 * 1024, 32} }, |
| 4618 | .block_erase = spi_block_erase_d8, |
| 4619 | }, { |
| 4620 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4621 | .block_erase = spi_block_erase_c7, |
| 4622 | } |
| 4623 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4624 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4625 | .write = spi_chip_write_256, |
| 4626 | .read = spi_chip_read, |
| 4627 | }, |
| 4628 | |
| 4629 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4630 | .vendor = "Sharp", |
| 4631 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4632 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4633 | .manufacture_id = SHARP_ID, |
| 4634 | .model_id = SHARP_LHF00L04, |
| 4635 | .total_size = 1024, |
| 4636 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4637 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4638 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4639 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4640 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4641 | .block_erasers = |
| 4642 | { |
| 4643 | { |
| 4644 | .eraseblocks = { |
| 4645 | {64 * 1024, 15}, |
| 4646 | {8 * 1024, 8} |
| 4647 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4648 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4649 | }, { |
| 4650 | .eraseblocks = { |
| 4651 | {1024 * 1024, 1} |
| 4652 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4653 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4654 | }, |
| 4655 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4656 | .unlock = unlock_82802ab, |
| 4657 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4658 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4659 | }, |
| 4660 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4661 | { |
| 4662 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4663 | .name = "S25FL008A", |
| 4664 | .bustype = CHIP_BUSTYPE_SPI, |
| 4665 | .manufacture_id = SPANSION_ID, |
| 4666 | .model_id = SPANSION_S25FL008A, |
| 4667 | .total_size = 1024, |
| 4668 | .page_size = 256, |
| 4669 | .tested = TEST_OK_PREW, |
| 4670 | .probe = probe_spi_rdid, |
| 4671 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4672 | .block_erasers = |
| 4673 | { |
| 4674 | { |
| 4675 | .eraseblocks = { {64 * 1024, 16} }, |
| 4676 | .block_erase = spi_block_erase_d8, |
| 4677 | }, { |
| 4678 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4679 | .block_erase = spi_block_erase_c7, |
| 4680 | } |
| 4681 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4682 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4683 | .write = spi_chip_write_256, |
| 4684 | .read = spi_chip_read, |
| 4685 | }, |
| 4686 | |
| 4687 | { |
| 4688 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4689 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4690 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4691 | .manufacture_id = SPANSION_ID, |
| 4692 | .model_id = SPANSION_S25FL016A, |
| 4693 | .total_size = 2048, |
| 4694 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4695 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4696 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4697 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4698 | .block_erasers = |
| 4699 | { |
| 4700 | { |
| 4701 | .eraseblocks = { {64 * 1024, 32} }, |
| 4702 | .block_erase = spi_block_erase_d8, |
| 4703 | }, { |
| 4704 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4705 | .block_erase = spi_block_erase_c7, |
| 4706 | } |
| 4707 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4708 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4709 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4710 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4711 | }, |
| 4712 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4713 | { |
| 4714 | .vendor = "SST", |
| 4715 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4716 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4717 | .manufacture_id = SST_ID, |
| 4718 | .model_id = SST_25VF016B, |
| 4719 | .total_size = 2048, |
| 4720 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4721 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4722 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4723 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4724 | .block_erasers = |
| 4725 | { |
| 4726 | { |
| 4727 | .eraseblocks = { {4 * 1024, 512} }, |
| 4728 | .block_erase = spi_block_erase_20, |
| 4729 | }, { |
| 4730 | .eraseblocks = { {32 * 1024, 64} }, |
| 4731 | .block_erase = spi_block_erase_52, |
| 4732 | }, { |
| 4733 | .eraseblocks = { {64 * 1024, 32} }, |
| 4734 | .block_erase = spi_block_erase_d8, |
| 4735 | }, { |
| 4736 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4737 | .block_erase = spi_block_erase_60, |
| 4738 | }, { |
| 4739 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4740 | .block_erase = spi_block_erase_c7, |
| 4741 | }, |
| 4742 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4743 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4744 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4745 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4746 | }, |
| 4747 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4748 | { |
| 4749 | .vendor = "SST", |
| 4750 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4751 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4752 | .manufacture_id = SST_ID, |
| 4753 | .model_id = SST_25VF032B, |
| 4754 | .total_size = 4096, |
| 4755 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4756 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4757 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4758 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4759 | .block_erasers = |
| 4760 | { |
| 4761 | { |
| 4762 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4763 | .block_erase = spi_block_erase_20, |
| 4764 | }, { |
| 4765 | .eraseblocks = { {32 * 1024, 128} }, |
| 4766 | .block_erase = spi_block_erase_52, |
| 4767 | }, { |
| 4768 | .eraseblocks = { {64 * 1024, 64} }, |
| 4769 | .block_erase = spi_block_erase_d8, |
| 4770 | }, { |
| 4771 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4772 | .block_erase = spi_block_erase_60, |
| 4773 | }, { |
| 4774 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4775 | .block_erase = spi_block_erase_c7, |
| 4776 | }, |
| 4777 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4778 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4779 | .write = spi_chip_write_1, |
| 4780 | .read = spi_chip_read, |
| 4781 | }, |
| 4782 | |
| 4783 | { |
| 4784 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4785 | .name = "SST25VF064C", |
| 4786 | .bustype = CHIP_BUSTYPE_SPI, |
| 4787 | .manufacture_id = SST_ID, |
| 4788 | .model_id = SST_25VF064C, |
| 4789 | .total_size = 8192, |
| 4790 | .page_size = 256, |
| 4791 | .tested = TEST_OK_PREW, |
| 4792 | .probe = probe_spi_rdid, |
| 4793 | .probe_timing = TIMING_ZERO, |
| 4794 | .block_erasers = |
| 4795 | { |
| 4796 | { |
| 4797 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4798 | .block_erase = spi_block_erase_20, |
| 4799 | }, { |
| 4800 | .eraseblocks = { {32 * 1024, 256} }, |
| 4801 | .block_erase = spi_block_erase_52, |
| 4802 | }, { |
| 4803 | .eraseblocks = { {64 * 1024, 128} }, |
| 4804 | .block_erase = spi_block_erase_d8, |
| 4805 | }, { |
| 4806 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4807 | .block_erase = spi_block_erase_60, |
| 4808 | }, { |
| 4809 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4810 | .block_erase = spi_block_erase_c7, |
| 4811 | }, |
| 4812 | }, |
| 4813 | .unlock = spi_disable_blockprotect, |
| 4814 | .write = spi_chip_write_1, |
| 4815 | .read = spi_chip_read, |
| 4816 | }, |
| 4817 | |
| 4818 | { |
| 4819 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4820 | .name = "SST25VF040.REMS", |
| 4821 | .bustype = CHIP_BUSTYPE_SPI, |
| 4822 | .manufacture_id = SST_ID, |
| 4823 | .model_id = SST_25VF040_REMS, |
| 4824 | .total_size = 512, |
| 4825 | .page_size = 256, |
| 4826 | .tested = TEST_OK_PR, |
| 4827 | .probe = probe_spi_rems, |
| 4828 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4829 | .block_erasers = |
| 4830 | { |
| 4831 | { |
| 4832 | .eraseblocks = { {4 * 1024, 128} }, |
| 4833 | .block_erase = spi_block_erase_20, |
| 4834 | }, { |
| 4835 | .eraseblocks = { {32 * 1024, 16} }, |
| 4836 | .block_erase = spi_block_erase_52, |
| 4837 | }, { |
| 4838 | .eraseblocks = { {512 * 1024, 1} }, |
| 4839 | .block_erase = spi_block_erase_60, |
| 4840 | }, |
| 4841 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4842 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4843 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4844 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4845 | }, |
| 4846 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4847 | { |
| 4848 | .vendor = "SST", |
| 4849 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4850 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4851 | .manufacture_id = SST_ID, |
| 4852 | .model_id = SST_25VF040B, |
| 4853 | .total_size = 512, |
| 4854 | .page_size = 256, |
| 4855 | .tested = TEST_UNTESTED, |
| 4856 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4857 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4858 | .block_erasers = |
| 4859 | { |
| 4860 | { |
| 4861 | .eraseblocks = { {4 * 1024, 128} }, |
| 4862 | .block_erase = spi_block_erase_20, |
| 4863 | }, { |
| 4864 | .eraseblocks = { {32 * 1024, 16} }, |
| 4865 | .block_erase = spi_block_erase_52, |
| 4866 | }, { |
| 4867 | .eraseblocks = { {64 * 1024, 8} }, |
| 4868 | .block_erase = spi_block_erase_d8, |
| 4869 | }, { |
| 4870 | .eraseblocks = { {512 * 1024, 1} }, |
| 4871 | .block_erase = spi_block_erase_60, |
| 4872 | }, { |
| 4873 | .eraseblocks = { {512 * 1024, 1} }, |
| 4874 | .block_erase = spi_block_erase_c7, |
| 4875 | }, |
| 4876 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4877 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4878 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 4879 | .read = spi_chip_read, |
| 4880 | }, |
| 4881 | |
| 4882 | { |
| 4883 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4884 | .name = "SST25LF040A.RES", |
| 4885 | .bustype = CHIP_BUSTYPE_SPI, |
| 4886 | .manufacture_id = SST_ID, |
| 4887 | .model_id = SST_25VF040_REMS, |
| 4888 | .total_size = 512, |
| 4889 | .page_size = 256, |
| 4890 | .tested = TEST_OK_PROBE, |
| 4891 | .probe = probe_spi_res2, |
| 4892 | .probe_timing = TIMING_ZERO, |
| 4893 | .block_erasers = |
| 4894 | { |
| 4895 | { |
| 4896 | .eraseblocks = { {4 * 1024, 128} }, |
| 4897 | .block_erase = spi_block_erase_20, |
| 4898 | }, { |
| 4899 | .eraseblocks = { {32 * 1024, 16} }, |
| 4900 | .block_erase = spi_block_erase_52, |
| 4901 | }, { |
| 4902 | .eraseblocks = { {512 * 1024, 1} }, |
| 4903 | .block_erase = spi_block_erase_60, |
| 4904 | }, |
| 4905 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4906 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4907 | .write = spi_chip_write_1, |
| 4908 | .read = spi_chip_read, |
| 4909 | }, |
| 4910 | |
| 4911 | { |
| 4912 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4913 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4914 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4915 | .manufacture_id = SST_ID, |
| 4916 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4917 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4918 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4919 | .tested = TEST_OK_PR, |
| 4920 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4921 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4922 | .block_erasers = |
| 4923 | { |
| 4924 | { |
| 4925 | .eraseblocks = { {4 * 1024, 128} }, |
| 4926 | .block_erase = spi_block_erase_20, |
| 4927 | }, { |
| 4928 | .eraseblocks = { {32 * 1024, 16} }, |
| 4929 | .block_erase = spi_block_erase_52, |
| 4930 | }, { |
| 4931 | .eraseblocks = { {64 * 1024, 8} }, |
| 4932 | .block_erase = spi_block_erase_d8, |
| 4933 | }, { |
| 4934 | .eraseblocks = { {512 * 1024, 1} }, |
| 4935 | .block_erase = spi_block_erase_60, |
| 4936 | }, { |
| 4937 | .eraseblocks = { {512 * 1024, 1} }, |
| 4938 | .block_erase = spi_block_erase_c7, |
| 4939 | }, |
| 4940 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4941 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4942 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4943 | .read = spi_chip_read, |
| 4944 | }, |
| 4945 | |
| 4946 | { |
| 4947 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4948 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4949 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4950 | .manufacture_id = SST_ID, |
| 4951 | .model_id = SST_25VF080B, |
| 4952 | .total_size = 1024, |
| 4953 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 4954 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4955 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4956 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4957 | .block_erasers = |
| 4958 | { |
| 4959 | { |
| 4960 | .eraseblocks = { {4 * 1024, 256} }, |
| 4961 | .block_erase = spi_block_erase_20, |
| 4962 | }, { |
| 4963 | .eraseblocks = { {32 * 1024, 32} }, |
| 4964 | .block_erase = spi_block_erase_52, |
| 4965 | }, { |
| 4966 | .eraseblocks = { {64 * 1024, 16} }, |
| 4967 | .block_erase = spi_block_erase_d8, |
| 4968 | }, { |
| 4969 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4970 | .block_erase = spi_block_erase_60, |
| 4971 | }, { |
| 4972 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4973 | .block_erase = spi_block_erase_c7, |
| 4974 | }, |
| 4975 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4976 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4977 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4978 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4979 | }, |
| 4980 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4981 | { |
| 4982 | .vendor = "SST", |
| 4983 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4984 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4985 | .manufacture_id = SST_ID, |
| 4986 | .model_id = SST_28SF040, |
| 4987 | .total_size = 512, |
| 4988 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4989 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4990 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4991 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4992 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4993 | .block_erasers = |
| 4994 | { |
| 4995 | { |
| 4996 | .eraseblocks = { {128, 4096} }, |
| 4997 | .block_erase = erase_sector_28sf040, |
| 4998 | }, { |
| 4999 | .eraseblocks = { {512 * 1024, 1} }, |
| 5000 | .block_erase = erase_chip_28sf040, |
| 5001 | } |
| 5002 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5003 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5004 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5005 | }, |
| 5006 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5007 | { |
| 5008 | .vendor = "SST", |
| 5009 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5010 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5011 | .manufacture_id = SST_ID, |
| 5012 | .model_id = SST_29EE010, |
| 5013 | .total_size = 128, |
| 5014 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5015 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5016 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5017 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5018 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5019 | .block_erasers = |
| 5020 | { |
| 5021 | { |
| 5022 | .eraseblocks = { {128 * 1024, 1} }, |
| 5023 | .block_erase = erase_chip_block_jedec, |
| 5024 | } |
| 5025 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5026 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5027 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5028 | }, |
| 5029 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5030 | { |
| 5031 | .vendor = "SST", |
| 5032 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5033 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5034 | .manufacture_id = SST_ID, |
| 5035 | .model_id = SST_29LE010, |
| 5036 | .total_size = 128, |
| 5037 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5038 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5039 | .tested = TEST_UNTESTED, |
| 5040 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5041 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5042 | .block_erasers = |
| 5043 | { |
| 5044 | { |
| 5045 | .eraseblocks = { {128 * 1024, 1} }, |
| 5046 | .block_erase = erase_chip_block_jedec, |
| 5047 | } |
| 5048 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5049 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5050 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5051 | }, |
| 5052 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5053 | { |
| 5054 | .vendor = "SST", |
| 5055 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5056 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5057 | .manufacture_id = SST_ID, |
| 5058 | .model_id = SST_29EE020A, |
| 5059 | .total_size = 256, |
| 5060 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5061 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5062 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5063 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5064 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5065 | .block_erasers = |
| 5066 | { |
| 5067 | { |
| 5068 | .eraseblocks = { {256 * 1024, 1} }, |
| 5069 | .block_erase = erase_chip_block_jedec, |
| 5070 | } |
| 5071 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5072 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5073 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5074 | }, |
| 5075 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5076 | { |
| 5077 | .vendor = "SST", |
| 5078 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5079 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5080 | .manufacture_id = SST_ID, |
| 5081 | .model_id = SST_29LE020, |
| 5082 | .total_size = 256, |
| 5083 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5084 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 5085 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5086 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5087 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5088 | .block_erasers = |
| 5089 | { |
| 5090 | { |
| 5091 | .eraseblocks = { {256 * 1024, 1} }, |
| 5092 | .block_erase = erase_chip_block_jedec, |
| 5093 | } |
| 5094 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5095 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5096 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5097 | }, |
| 5098 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5099 | { |
| 5100 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5101 | .name = "SST39SF512", |
| 5102 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5103 | .manufacture_id = SST_ID, |
| 5104 | .model_id = SST_39SF512, |
| 5105 | .total_size = 64, |
| 5106 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5107 | .feature_bits = FEATURE_EITHER_RESET, |
| 5108 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5109 | .probe = probe_jedec, |
| 5110 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5111 | .block_erasers = |
| 5112 | { |
| 5113 | { |
| 5114 | .eraseblocks = { {4 * 1024, 16} }, |
| 5115 | .block_erase = erase_sector_jedec, |
| 5116 | }, { |
| 5117 | .eraseblocks = { {64 * 1024, 1} }, |
| 5118 | .block_erase = erase_chip_block_jedec, |
| 5119 | } |
| 5120 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5121 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5122 | .read = read_memmapped, |
| 5123 | }, |
| 5124 | |
| 5125 | { |
| 5126 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5127 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5128 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5129 | .manufacture_id = SST_ID, |
| 5130 | .model_id = SST_39SF010, |
| 5131 | .total_size = 128, |
| 5132 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5133 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5134 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5135 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5136 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5137 | .block_erasers = |
| 5138 | { |
| 5139 | { |
| 5140 | .eraseblocks = { {4 * 1024, 32} }, |
| 5141 | .block_erase = erase_sector_jedec, |
| 5142 | }, { |
| 5143 | .eraseblocks = { {128 * 1024, 1} }, |
| 5144 | .block_erase = erase_chip_block_jedec, |
| 5145 | } |
| 5146 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5147 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5148 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5149 | }, |
| 5150 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5151 | { |
| 5152 | .vendor = "SST", |
| 5153 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5154 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5155 | .manufacture_id = SST_ID, |
| 5156 | .model_id = SST_39SF020, |
| 5157 | .total_size = 256, |
| 5158 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5159 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5160 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5161 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5162 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5163 | .block_erasers = |
| 5164 | { |
| 5165 | { |
| 5166 | .eraseblocks = { {4 * 1024, 64} }, |
| 5167 | .block_erase = erase_sector_jedec, |
| 5168 | }, { |
| 5169 | .eraseblocks = { {256 * 1024, 1} }, |
| 5170 | .block_erase = erase_chip_block_jedec, |
| 5171 | } |
| 5172 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5173 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5174 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5175 | }, |
| 5176 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5177 | { |
| 5178 | .vendor = "SST", |
| 5179 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5180 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5181 | .manufacture_id = SST_ID, |
| 5182 | .model_id = SST_39SF040, |
| 5183 | .total_size = 512, |
| 5184 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5185 | .feature_bits = FEATURE_EITHER_RESET, |
| 5186 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5187 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5188 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5189 | .block_erasers = |
| 5190 | { |
| 5191 | { |
| 5192 | .eraseblocks = { {4 * 1024, 128} }, |
| 5193 | .block_erase = erase_sector_jedec, |
| 5194 | }, { |
| 5195 | .eraseblocks = { {512 * 1024, 1} }, |
| 5196 | .block_erase = erase_chip_block_jedec, |
| 5197 | } |
| 5198 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5199 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5200 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5201 | }, |
| 5202 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5203 | { |
| 5204 | .vendor = "SST", |
| 5205 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5206 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5207 | .manufacture_id = SST_ID, |
| 5208 | .model_id = SST_39VF512, |
| 5209 | .total_size = 64, |
| 5210 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5211 | .feature_bits = FEATURE_EITHER_RESET, |
| 5212 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5213 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5214 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5215 | .block_erasers = |
| 5216 | { |
| 5217 | { |
| 5218 | .eraseblocks = { {4 * 1024, 16} }, |
| 5219 | .block_erase = erase_sector_jedec, |
| 5220 | }, { |
| 5221 | .eraseblocks = { {64 * 1024, 1} }, |
| 5222 | .block_erase = erase_chip_block_jedec, |
| 5223 | } |
| 5224 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5225 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5226 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5227 | }, |
| 5228 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5229 | { |
| 5230 | .vendor = "SST", |
| 5231 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5232 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5233 | .manufacture_id = SST_ID, |
| 5234 | .model_id = SST_39VF010, |
| 5235 | .total_size = 128, |
| 5236 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5237 | .feature_bits = FEATURE_EITHER_RESET, |
Guenter Knauf | 2bd007a | 2010-06-24 11:51:12 +0000 | [diff] [blame] | 5238 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5239 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5240 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5241 | .block_erasers = |
| 5242 | { |
| 5243 | { |
| 5244 | .eraseblocks = { {4 * 1024, 32} }, |
| 5245 | .block_erase = erase_sector_jedec, |
| 5246 | }, { |
| 5247 | .eraseblocks = { {128 * 1024, 1} }, |
| 5248 | .block_erase = erase_chip_block_jedec, |
| 5249 | } |
| 5250 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5251 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5252 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5253 | }, |
| 5254 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5255 | { |
| 5256 | .vendor = "SST", |
| 5257 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5258 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5259 | .manufacture_id = SST_ID, |
| 5260 | .model_id = SST_39VF020, |
| 5261 | .total_size = 256, |
| 5262 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5263 | .feature_bits = FEATURE_EITHER_RESET, |
| 5264 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5265 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5266 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5267 | .block_erasers = |
| 5268 | { |
| 5269 | { |
| 5270 | .eraseblocks = { {4 * 1024, 64} }, |
| 5271 | .block_erase = erase_sector_jedec, |
| 5272 | }, { |
| 5273 | .eraseblocks = { {256 * 1024, 1} }, |
| 5274 | .block_erase = erase_chip_block_jedec, |
| 5275 | } |
| 5276 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5277 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5278 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5279 | }, |
| 5280 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5281 | { |
| 5282 | .vendor = "SST", |
| 5283 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5284 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5285 | .manufacture_id = SST_ID, |
| 5286 | .model_id = SST_39VF040, |
| 5287 | .total_size = 512, |
| 5288 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5289 | .feature_bits = FEATURE_EITHER_RESET, |
| 5290 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5291 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5292 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5293 | .block_erasers = |
| 5294 | { |
| 5295 | { |
| 5296 | .eraseblocks = { {4 * 1024, 128} }, |
| 5297 | .block_erase = erase_sector_jedec, |
| 5298 | }, { |
| 5299 | .eraseblocks = { {512 * 1024, 1} }, |
| 5300 | .block_erase = erase_chip_block_jedec, |
| 5301 | } |
| 5302 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5303 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5304 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 5305 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5306 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5307 | { |
| 5308 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5309 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5310 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5311 | .manufacture_id = SST_ID, |
| 5312 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5313 | .total_size = 1024, |
| 5314 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5315 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5316 | .tested = TEST_UNTESTED, |
| 5317 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5318 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5319 | .block_erasers = |
| 5320 | { |
| 5321 | { |
| 5322 | .eraseblocks = { {4 * 1024, 256} }, |
| 5323 | .block_erase = erase_sector_jedec, |
| 5324 | }, { |
| 5325 | .eraseblocks = { {64 * 1024, 16} }, |
| 5326 | .block_erase = erase_block_jedec, |
| 5327 | }, { |
| 5328 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5329 | .block_erase = erase_chip_block_jedec, |
| 5330 | } |
| 5331 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5332 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5333 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5334 | }, |
| 5335 | |
| 5336 | { |
| 5337 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5338 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5339 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5340 | .manufacture_id = SST_ID, |
| 5341 | .model_id = SST_49LF002A, |
| 5342 | .total_size = 256, |
| 5343 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5344 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5345 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5346 | .probe = probe_jedec, |
| 5347 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5348 | .block_erasers = |
| 5349 | { |
| 5350 | { |
| 5351 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5352 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5353 | }, { |
| 5354 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5355 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5356 | }, { |
| 5357 | .eraseblocks = { {256 * 1024, 1} }, |
| 5358 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5359 | } |
| 5360 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5361 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5362 | .unlock = unlock_sst_fwhub, |
| 5363 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5364 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5365 | }, |
| 5366 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5367 | { |
| 5368 | .vendor = "SST", |
| 5369 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5370 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5371 | .manufacture_id = SST_ID, |
| 5372 | .model_id = SST_49LF003A, |
| 5373 | .total_size = 384, |
| 5374 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5375 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 5376 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5377 | .probe = probe_jedec, |
| 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, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5383 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5384 | }, { |
| 5385 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5386 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5387 | }, { |
| 5388 | .eraseblocks = { {384 * 1024, 1} }, |
| 5389 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5390 | } |
| 5391 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5392 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5393 | .unlock = unlock_sst_fwhub, |
| 5394 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5395 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5396 | }, |
| 5397 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5398 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5399 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 5400 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 5401 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5402 | .vendor = "SST", |
| 5403 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5404 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5405 | .manufacture_id = SST_ID, |
| 5406 | .model_id = SST_49LF004A, |
| 5407 | .total_size = 512, |
| 5408 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5409 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5410 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5411 | .probe = probe_jedec, |
| 5412 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5413 | .block_erasers = |
| 5414 | { |
| 5415 | { |
| 5416 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5417 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5418 | }, { |
| 5419 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5420 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5421 | }, { |
| 5422 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5423 | .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] | 5424 | }, |
| 5425 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5426 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5427 | .unlock = unlock_sst_fwhub, |
| 5428 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5429 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5430 | }, |
| 5431 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5432 | { |
| 5433 | .vendor = "SST", |
| 5434 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5435 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5436 | .manufacture_id = SST_ID, |
| 5437 | .model_id = SST_49LF004C, |
| 5438 | .total_size = 512, |
| 5439 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5440 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5441 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5442 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5443 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5444 | .block_erasers = |
| 5445 | { |
| 5446 | { |
| 5447 | .eraseblocks = { {4 * 1024, 128} }, |
| 5448 | .block_erase = erase_sector_49lfxxxc, |
| 5449 | }, { |
| 5450 | .eraseblocks = { |
| 5451 | {64 * 1024, 7}, |
| 5452 | {32 * 1024, 1}, |
| 5453 | {8 * 1024, 2}, |
| 5454 | {16 * 1024, 1}, |
| 5455 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5456 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5457 | } |
| 5458 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5459 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5460 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5461 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5462 | }, |
| 5463 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5464 | { |
| 5465 | .vendor = "SST", |
| 5466 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5467 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5468 | .manufacture_id = SST_ID, |
| 5469 | .model_id = SST_49LF008A, |
| 5470 | .total_size = 1024, |
| 5471 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5472 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5473 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5474 | .probe = probe_jedec, |
| 5475 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5476 | .block_erasers = |
| 5477 | { |
| 5478 | { |
| 5479 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5480 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5481 | }, { |
| 5482 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5483 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5484 | }, { |
| 5485 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5486 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5487 | } |
| 5488 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5489 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5490 | .unlock = unlock_sst_fwhub, |
| 5491 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5492 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5493 | }, |
| 5494 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5495 | { |
| 5496 | .vendor = "SST", |
| 5497 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5498 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5499 | .manufacture_id = SST_ID, |
| 5500 | .model_id = SST_49LF008C, |
| 5501 | .total_size = 1024, |
| 5502 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5503 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5504 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5505 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5506 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5507 | .block_erasers = |
| 5508 | { |
| 5509 | { |
| 5510 | .eraseblocks = { {4 * 1024, 256} }, |
| 5511 | .block_erase = erase_sector_49lfxxxc, |
| 5512 | }, { |
| 5513 | .eraseblocks = { |
| 5514 | {64 * 1024, 15}, |
| 5515 | {32 * 1024, 1}, |
| 5516 | {8 * 1024, 2}, |
| 5517 | {16 * 1024, 1}, |
| 5518 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5519 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5520 | } |
| 5521 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5522 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5523 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5524 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5525 | }, |
| 5526 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5527 | { |
| 5528 | .vendor = "SST", |
| 5529 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5530 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5531 | .manufacture_id = SST_ID, |
| 5532 | .model_id = SST_49LF016C, |
| 5533 | .total_size = 2048, |
| 5534 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5535 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5536 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5537 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5538 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5539 | .block_erasers = |
| 5540 | { |
| 5541 | { |
| 5542 | .eraseblocks = { {4 * 1024, 512} }, |
| 5543 | .block_erase = erase_sector_49lfxxxc, |
| 5544 | }, { |
| 5545 | .eraseblocks = { |
| 5546 | {64 * 1024, 31}, |
| 5547 | {32 * 1024, 1}, |
| 5548 | {8 * 1024, 2}, |
| 5549 | {16 * 1024, 1}, |
| 5550 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5551 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5552 | } |
| 5553 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5554 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5555 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5556 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5557 | }, |
| 5558 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5559 | { |
| 5560 | .vendor = "SST", |
| 5561 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5562 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5563 | .manufacture_id = SST_ID, |
| 5564 | .model_id = SST_49LF020, |
| 5565 | .total_size = 256, |
| 5566 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5567 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5568 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5569 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5570 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5571 | .block_erasers = |
| 5572 | { |
| 5573 | { |
| 5574 | .eraseblocks = { {4 * 1024, 64} }, |
| 5575 | .block_erase = erase_sector_jedec, |
| 5576 | }, { |
| 5577 | .eraseblocks = { {16 * 1024, 16} }, |
| 5578 | .block_erase = erase_block_jedec, |
| 5579 | }, { |
| 5580 | .eraseblocks = { {256 * 1024, 1} }, |
| 5581 | .block_erase = NULL, |
| 5582 | } |
| 5583 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5584 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5585 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 5586 | }, |
| 5587 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5588 | { |
| 5589 | .vendor = "SST", |
| 5590 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5591 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5592 | .manufacture_id = SST_ID, |
| 5593 | .model_id = SST_49LF020A, |
| 5594 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 5595 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5596 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5597 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5598 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5599 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5600 | .block_erasers = |
| 5601 | { |
| 5602 | { |
| 5603 | .eraseblocks = { {4 * 1024, 64} }, |
| 5604 | .block_erase = erase_sector_jedec, |
| 5605 | }, { |
| 5606 | .eraseblocks = { {16 * 1024, 16} }, |
| 5607 | .block_erase = erase_block_jedec, |
| 5608 | }, { |
| 5609 | .eraseblocks = { {256 * 1024, 1} }, |
| 5610 | .block_erase = NULL, |
| 5611 | } |
| 5612 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5613 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5614 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5615 | }, |
| 5616 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5617 | { |
| 5618 | .vendor = "SST", |
| 5619 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5620 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5621 | .manufacture_id = SST_ID, |
| 5622 | .model_id = SST_49LF040, |
| 5623 | .total_size = 512, |
| 5624 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5625 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5626 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5627 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5628 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5629 | .block_erasers = |
| 5630 | { |
| 5631 | { |
| 5632 | .eraseblocks = { {4 * 1024, 128} }, |
| 5633 | .block_erase = erase_sector_jedec, |
| 5634 | }, { |
| 5635 | .eraseblocks = { {64 * 1024, 8} }, |
| 5636 | .block_erase = erase_block_jedec, |
| 5637 | }, { |
| 5638 | .eraseblocks = { {512 * 1024, 1} }, |
| 5639 | .block_erase = NULL, |
| 5640 | } |
| 5641 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5642 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5643 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5644 | }, |
| 5645 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5646 | { |
| 5647 | .vendor = "SST", |
| 5648 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5649 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5650 | .manufacture_id = SST_ID, |
| 5651 | .model_id = SST_49LF040B, |
| 5652 | .total_size = 512, |
| 5653 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5654 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5655 | .tested = TEST_OK_PR, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5656 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5657 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5658 | .block_erasers = |
| 5659 | { |
| 5660 | { |
| 5661 | .eraseblocks = { {4 * 1024, 128} }, |
| 5662 | .block_erase = erase_sector_jedec, |
| 5663 | }, { |
| 5664 | .eraseblocks = { {64 * 1024, 8} }, |
| 5665 | .block_erase = erase_block_jedec, |
| 5666 | }, { |
| 5667 | .eraseblocks = { {512 * 1024, 1} }, |
| 5668 | .block_erase = NULL, |
| 5669 | } |
| 5670 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5671 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5672 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5673 | }, |
| 5674 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5675 | { |
| 5676 | .vendor = "SST", |
| 5677 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5678 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5679 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5680 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5681 | .total_size = 1024, |
| 5682 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5683 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5684 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5685 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5686 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5687 | .block_erasers = |
| 5688 | { |
| 5689 | { |
| 5690 | .eraseblocks = { {4 * 1024, 256} }, |
| 5691 | .block_erase = erase_sector_jedec, |
| 5692 | }, { |
| 5693 | .eraseblocks = { {64 * 1024, 16} }, |
| 5694 | .block_erase = erase_block_jedec, |
| 5695 | }, { |
| 5696 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5697 | .block_erase = NULL, |
| 5698 | } |
| 5699 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5700 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5701 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5702 | }, |
| 5703 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5704 | { |
| 5705 | .vendor = "SST", |
| 5706 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5707 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5708 | .manufacture_id = SST_ID, |
| 5709 | .model_id = SST_49LF160C, |
| 5710 | .total_size = 2048, |
| 5711 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5712 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5713 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5714 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5715 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5716 | .block_erasers = |
| 5717 | { |
| 5718 | { |
| 5719 | .eraseblocks = { {4 * 1024, 512} }, |
| 5720 | .block_erase = erase_sector_49lfxxxc, |
| 5721 | }, { |
| 5722 | .eraseblocks = { |
| 5723 | {64 * 1024, 31}, |
| 5724 | {32 * 1024, 1}, |
| 5725 | {8 * 1024, 2}, |
| 5726 | {16 * 1024, 1}, |
| 5727 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5728 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5729 | } |
| 5730 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5731 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5732 | .write = write_49lfxxxc, |
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 = "ST", |
| 5738 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5739 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5740 | .manufacture_id = ST_ID, |
| 5741 | .model_id = ST_M25P05A, |
| 5742 | .total_size = 64, |
| 5743 | .page_size = 256, |
| 5744 | .tested = TEST_UNTESTED, |
| 5745 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5746 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5747 | .block_erasers = |
| 5748 | { |
| 5749 | { |
| 5750 | .eraseblocks = { {32 * 1024, 2} }, |
| 5751 | .block_erase = spi_block_erase_d8, |
| 5752 | }, { |
| 5753 | .eraseblocks = { {64 * 1024, 1} }, |
| 5754 | .block_erase = spi_block_erase_c7, |
| 5755 | } |
| 5756 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5757 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5758 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5759 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5760 | }, |
| 5761 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5762 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 5763 | * 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] | 5764 | * 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] | 5765 | * only is successful if RDID does not work. |
| 5766 | */ |
| 5767 | { |
| 5768 | .vendor = "ST", |
| 5769 | .name = "M25P05.RES", |
| 5770 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5771 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5772 | .model_id = ST_M25P05_RES, |
| 5773 | .total_size = 64, |
| 5774 | .page_size = 256, |
| 5775 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5776 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5777 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5778 | .block_erasers = |
| 5779 | { |
| 5780 | { |
| 5781 | .eraseblocks = { {32 * 1024, 2} }, |
| 5782 | .block_erase = spi_block_erase_d8, |
| 5783 | }, { |
| 5784 | .eraseblocks = { {64 * 1024, 1} }, |
| 5785 | .block_erase = spi_block_erase_c7, |
| 5786 | } |
| 5787 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5788 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5789 | .write = spi_chip_write_1, /* 128 */ |
| 5790 | .read = spi_chip_read, |
| 5791 | }, |
| 5792 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5793 | { |
| 5794 | .vendor = "ST", |
| 5795 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5796 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5797 | .manufacture_id = ST_ID, |
| 5798 | .model_id = ST_M25P10A, |
| 5799 | .total_size = 128, |
| 5800 | .page_size = 256, |
| 5801 | .tested = TEST_UNTESTED, |
| 5802 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5803 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5804 | .block_erasers = |
| 5805 | { |
| 5806 | { |
| 5807 | .eraseblocks = { {32 * 1024, 4} }, |
| 5808 | .block_erase = spi_block_erase_d8, |
| 5809 | }, { |
| 5810 | .eraseblocks = { {128 * 1024, 1} }, |
| 5811 | .block_erase = spi_block_erase_c7, |
| 5812 | } |
| 5813 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5814 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5815 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5816 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5817 | }, |
| 5818 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5819 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 5820 | { |
| 5821 | .vendor = "ST", |
| 5822 | .name = "M25P10.RES", |
| 5823 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5824 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5825 | .model_id = ST_M25P10_RES, |
| 5826 | .total_size = 128, |
| 5827 | .page_size = 256, |
| 5828 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5829 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5830 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5831 | .block_erasers = |
| 5832 | { |
| 5833 | { |
| 5834 | .eraseblocks = { {32 * 1024, 4} }, |
| 5835 | .block_erase = spi_block_erase_d8, |
| 5836 | }, { |
| 5837 | .eraseblocks = { {128 * 1024, 1} }, |
| 5838 | .block_erase = spi_block_erase_c7, |
| 5839 | } |
| 5840 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5841 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5842 | .write = spi_chip_write_1, /* 128 */ |
| 5843 | .read = spi_chip_read, |
| 5844 | }, |
| 5845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5846 | { |
| 5847 | .vendor = "ST", |
| 5848 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5849 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5850 | .manufacture_id = ST_ID, |
| 5851 | .model_id = ST_M25P20, |
| 5852 | .total_size = 256, |
| 5853 | .page_size = 256, |
| 5854 | .tested = TEST_UNTESTED, |
| 5855 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5856 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5857 | .block_erasers = |
| 5858 | { |
| 5859 | { |
| 5860 | .eraseblocks = { {64 * 1024, 4} }, |
| 5861 | .block_erase = spi_block_erase_d8, |
| 5862 | }, { |
| 5863 | .eraseblocks = { {256 * 1024, 1} }, |
| 5864 | .block_erase = spi_block_erase_c7, |
| 5865 | } |
| 5866 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5867 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5868 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5869 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5870 | }, |
| 5871 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5872 | { |
| 5873 | .vendor = "ST", |
| 5874 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5875 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5876 | .manufacture_id = ST_ID, |
| 5877 | .model_id = ST_M25P40, |
| 5878 | .total_size = 512, |
| 5879 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5880 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5881 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5882 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5883 | .block_erasers = |
| 5884 | { |
| 5885 | { |
| 5886 | .eraseblocks = { {64 * 1024, 8} }, |
| 5887 | .block_erase = spi_block_erase_d8, |
| 5888 | }, { |
| 5889 | .eraseblocks = { {512 * 1024, 1} }, |
| 5890 | .block_erase = spi_block_erase_c7, |
| 5891 | } |
| 5892 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5893 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5894 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5895 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5896 | }, |
| 5897 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5898 | { |
| 5899 | .vendor = "ST", |
| 5900 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5901 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5902 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5903 | .model_id = ST_M25P40_RES, |
| 5904 | .total_size = 512, |
| 5905 | .page_size = 256, |
| 5906 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5907 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5908 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5909 | .block_erasers = |
| 5910 | { |
| 5911 | { |
| 5912 | .eraseblocks = { {64 * 1024, 8} }, |
| 5913 | .block_erase = spi_block_erase_d8, |
| 5914 | }, { |
| 5915 | .eraseblocks = { {512 * 1024, 1} }, |
| 5916 | .block_erase = spi_block_erase_c7, |
| 5917 | } |
| 5918 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5919 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5920 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5921 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5922 | }, |
| 5923 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5924 | { |
| 5925 | .vendor = "ST", |
| 5926 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5927 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5928 | .manufacture_id = ST_ID, |
| 5929 | .model_id = ST_M25P80, |
| 5930 | .total_size = 1024, |
| 5931 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5932 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5933 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5934 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5935 | .block_erasers = |
| 5936 | { |
| 5937 | { |
| 5938 | .eraseblocks = { {64 * 1024, 16} }, |
| 5939 | .block_erase = spi_block_erase_d8, |
| 5940 | }, { |
| 5941 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5942 | .block_erase = spi_block_erase_c7, |
| 5943 | } |
| 5944 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5945 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5946 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5947 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5948 | }, |
| 5949 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5950 | { |
| 5951 | .vendor = "ST", |
| 5952 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5953 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5954 | .manufacture_id = ST_ID, |
| 5955 | .model_id = ST_M25P16, |
| 5956 | .total_size = 2048, |
| 5957 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5958 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5959 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5960 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5961 | .block_erasers = |
| 5962 | { |
| 5963 | { |
| 5964 | .eraseblocks = { {64 * 1024, 32} }, |
| 5965 | .block_erase = spi_block_erase_d8, |
| 5966 | }, { |
| 5967 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5968 | .block_erase = spi_block_erase_c7, |
| 5969 | } |
| 5970 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5971 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5972 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5973 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5974 | }, |
| 5975 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5976 | { |
| 5977 | .vendor = "ST", |
| 5978 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5979 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5980 | .manufacture_id = ST_ID, |
| 5981 | .model_id = ST_M25P32, |
| 5982 | .total_size = 4096, |
| 5983 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5984 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5985 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5986 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5987 | .block_erasers = |
| 5988 | { |
| 5989 | { |
| 5990 | .eraseblocks = { {64 * 1024, 64} }, |
| 5991 | .block_erase = spi_block_erase_d8, |
| 5992 | }, { |
| 5993 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5994 | .block_erase = spi_block_erase_c7, |
| 5995 | } |
| 5996 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5997 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5998 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5999 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6000 | }, |
| 6001 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6002 | { |
| 6003 | .vendor = "ST", |
| 6004 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6005 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6006 | .manufacture_id = ST_ID, |
| 6007 | .model_id = ST_M25P64, |
| 6008 | .total_size = 8192, |
| 6009 | .page_size = 256, |
| 6010 | .tested = TEST_UNTESTED, |
| 6011 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6012 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6013 | .block_erasers = |
| 6014 | { |
| 6015 | { |
| 6016 | .eraseblocks = { {64 * 1024, 128} }, |
| 6017 | .block_erase = spi_block_erase_d8, |
| 6018 | }, { |
| 6019 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6020 | .block_erase = spi_block_erase_c7, |
| 6021 | } |
| 6022 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6023 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6024 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6025 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6026 | }, |
| 6027 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6028 | { |
| 6029 | .vendor = "ST", |
| 6030 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6031 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6032 | .manufacture_id = ST_ID, |
| 6033 | .model_id = ST_M25P128, |
| 6034 | .total_size = 16384, |
| 6035 | .page_size = 256, |
| 6036 | .tested = TEST_UNTESTED, |
| 6037 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6038 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6039 | .block_erasers = |
| 6040 | { |
| 6041 | { |
| 6042 | .eraseblocks = { {256 * 1024, 64} }, |
| 6043 | .block_erase = spi_block_erase_d8, |
| 6044 | }, { |
| 6045 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6046 | .block_erase = spi_block_erase_c7, |
| 6047 | } |
| 6048 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6049 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6050 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6051 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6052 | }, |
| 6053 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6054 | { |
| 6055 | .vendor = "ST", |
| 6056 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6057 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6058 | .manufacture_id = ST_ID, |
| 6059 | .model_id = ST_M29F002B, |
| 6060 | .total_size = 256, |
| 6061 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6062 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6063 | .tested = TEST_UNTESTED, |
| 6064 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6065 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6066 | .block_erasers = |
| 6067 | { |
| 6068 | { |
| 6069 | .eraseblocks = { |
| 6070 | {16 * 1024, 1}, |
| 6071 | {8 * 1024, 2}, |
| 6072 | {32 * 1024, 1}, |
| 6073 | {64 * 1024, 3}, |
| 6074 | }, |
| 6075 | .block_erase = erase_sector_jedec, |
| 6076 | }, { |
| 6077 | .eraseblocks = { {256 * 1024, 1} }, |
| 6078 | .block_erase = erase_chip_block_jedec, |
| 6079 | } |
| 6080 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6081 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6082 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6083 | }, |
| 6084 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6085 | { |
| 6086 | .vendor = "ST", |
| 6087 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6088 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6089 | .manufacture_id = ST_ID, |
| 6090 | .model_id = ST_M29F002T, |
| 6091 | .total_size = 256, |
| 6092 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6093 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 6094 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6095 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6096 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6097 | .block_erasers = |
| 6098 | { |
| 6099 | { |
| 6100 | .eraseblocks = { |
| 6101 | {64 * 1024, 3}, |
| 6102 | {32 * 1024, 1}, |
| 6103 | {8 * 1024, 2}, |
| 6104 | {16 * 1024, 1}, |
| 6105 | }, |
| 6106 | .block_erase = erase_sector_jedec, |
| 6107 | }, { |
| 6108 | .eraseblocks = { {256 * 1024, 1} }, |
| 6109 | .block_erase = erase_chip_block_jedec, |
| 6110 | } |
| 6111 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6114 | }, |
| 6115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6116 | { |
| 6117 | .vendor = "ST", |
| 6118 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6120 | .manufacture_id = ST_ID, |
| 6121 | .model_id = ST_M29F040B, |
| 6122 | .total_size = 512, |
| 6123 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6124 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6125 | .tested = TEST_UNTESTED, |
| 6126 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6127 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6128 | .block_erasers = |
| 6129 | { |
| 6130 | { |
| 6131 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6132 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6133 | }, { |
| 6134 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6135 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6136 | } |
| 6137 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6138 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6139 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6140 | }, |
| 6141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6142 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6143 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6144 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6145 | .name = "M29F400BB", |
| 6146 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6147 | .manufacture_id = ST_ID, |
| 6148 | .model_id = ST_M29F400BB, |
| 6149 | .total_size = 512, |
| 6150 | .page_size = 64 * 1024, |
| 6151 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
| 6152 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
| 6153 | .probe = probe_m29f400bt, |
| 6154 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 6155 | .block_erasers = |
| 6156 | { |
| 6157 | { |
| 6158 | .eraseblocks = { |
| 6159 | {16 * 1024, 1}, |
| 6160 | {8 * 1024, 2}, |
| 6161 | {32 * 1024, 1}, |
| 6162 | {64 * 1024, 7}, |
| 6163 | }, |
| 6164 | .block_erase = block_erase_m29f400bt, |
| 6165 | }, { |
| 6166 | .eraseblocks = { {512 * 1024, 1} }, |
| 6167 | .block_erase = block_erase_chip_m29f400bt, |
| 6168 | } |
| 6169 | }, |
| 6170 | .write = NULL, |
| 6171 | .read = read_memmapped, |
| 6172 | }, |
| 6173 | { |
| 6174 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 6175 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6176 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6177 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6178 | .manufacture_id = ST_ID, |
| 6179 | .model_id = ST_M29F400BT, |
| 6180 | .total_size = 512, |
| 6181 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6182 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6183 | .tested = TEST_UNTESTED, |
| 6184 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6185 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6186 | .block_erasers = |
| 6187 | { |
| 6188 | { |
| 6189 | .eraseblocks = { |
| 6190 | {64 * 1024, 7}, |
| 6191 | {32 * 1024, 1}, |
| 6192 | {8 * 1024, 2}, |
| 6193 | {16 * 1024, 1}, |
| 6194 | }, |
| 6195 | .block_erase = block_erase_m29f400bt, |
| 6196 | }, { |
| 6197 | .eraseblocks = { {512 * 1024, 1} }, |
| 6198 | .block_erase = block_erase_chip_m29f400bt, |
| 6199 | } |
| 6200 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6201 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6202 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6203 | }, |
| 6204 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6205 | { |
| 6206 | .vendor = "ST", |
| 6207 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6208 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6209 | .manufacture_id = ST_ID, |
| 6210 | .model_id = ST_M29W010B, |
| 6211 | .total_size = 128, |
| 6212 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6213 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6214 | .tested = TEST_UNTESTED, |
| 6215 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6216 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6217 | .block_erasers = |
| 6218 | { |
| 6219 | { |
| 6220 | .eraseblocks = { {16 * 1024, 8}, }, |
| 6221 | .block_erase = erase_sector_jedec, |
| 6222 | }, { |
| 6223 | .eraseblocks = { {128 * 1024, 1} }, |
| 6224 | .block_erase = erase_chip_block_jedec, |
| 6225 | } |
| 6226 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6227 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6228 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6229 | }, |
| 6230 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6231 | { |
| 6232 | .vendor = "ST", |
| 6233 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6234 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6235 | .manufacture_id = ST_ID, |
| 6236 | .model_id = ST_M29W040B, |
| 6237 | .total_size = 512, |
| 6238 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6239 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6240 | .tested = TEST_UNTESTED, |
| 6241 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6242 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6243 | .block_erasers = |
| 6244 | { |
| 6245 | { |
| 6246 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6247 | .block_erase = erase_sector_jedec, |
| 6248 | }, { |
| 6249 | .eraseblocks = { {512 * 1024, 1} }, |
| 6250 | .block_erase = erase_chip_block_jedec, |
| 6251 | } |
| 6252 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6253 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6254 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6255 | }, |
| 6256 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6257 | { |
| 6258 | .vendor = "ST", |
| 6259 | .name = "M29W512B", |
| 6260 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6261 | .manufacture_id = ST_ID, |
| 6262 | .model_id = ST_M29W512B, |
| 6263 | .total_size = 64, |
| 6264 | .page_size = 64 * 1024, |
| 6265 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6266 | .tested = TEST_OK_PREW, |
| 6267 | .probe = probe_jedec, |
| 6268 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6269 | .block_erasers = |
| 6270 | { |
| 6271 | { |
| 6272 | .eraseblocks = { {64 * 1024, 1} }, |
| 6273 | .block_erase = erase_chip_block_jedec, |
| 6274 | } |
| 6275 | }, |
| 6276 | .write = write_jedec_1, |
| 6277 | .read = read_memmapped, |
| 6278 | }, |
| 6279 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6280 | { |
| 6281 | .vendor = "ST", |
| 6282 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6283 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6284 | .manufacture_id = ST_ID, |
| 6285 | .model_id = ST_M50FLW040A, |
| 6286 | .total_size = 512, |
| 6287 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6288 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6289 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6290 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6291 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6292 | .block_erasers = |
| 6293 | { |
| 6294 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6295 | .eraseblocks = { |
| 6296 | {4 * 1024, 16}, /* sector */ |
| 6297 | {64 * 1024, 5}, /* block */ |
| 6298 | {4 * 1024, 16}, /* sector */ |
| 6299 | {4 * 1024, 16}, /* sector */ |
| 6300 | }, |
| 6301 | .block_erase = NULL, |
| 6302 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6303 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6304 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6305 | }, { |
| 6306 | .eraseblocks = { {512 * 1024, 1} }, |
| 6307 | .block_erase = erase_chip_stm50flw0x0x, |
| 6308 | } |
| 6309 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6310 | .unlock = unlock_stm50flw0x0x, |
| 6311 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6312 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6313 | }, |
| 6314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6315 | { |
| 6316 | .vendor = "ST", |
| 6317 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6318 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6319 | .manufacture_id = ST_ID, |
| 6320 | .model_id = ST_M50FLW040B, |
| 6321 | .total_size = 512, |
| 6322 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6323 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6324 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6325 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6326 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6327 | .block_erasers = |
| 6328 | { |
| 6329 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6330 | .eraseblocks = { |
| 6331 | {4 * 1024, 16}, /* sector */ |
| 6332 | {4 * 1024, 16}, /* sector */ |
| 6333 | {64 * 1024, 5}, /* block */ |
| 6334 | {4 * 1024, 16}, /* sector */ |
| 6335 | }, |
| 6336 | .block_erase = NULL, |
| 6337 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6338 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6339 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6340 | }, { |
| 6341 | .eraseblocks = { {512 * 1024, 1} }, |
| 6342 | .block_erase = erase_chip_stm50flw0x0x, |
| 6343 | } |
| 6344 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6345 | .unlock = unlock_stm50flw0x0x, |
| 6346 | .write = write_82802ab, |
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 = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6353 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6354 | .manufacture_id = ST_ID, |
| 6355 | .model_id = ST_M50FLW080A, |
| 6356 | .total_size = 1024, |
| 6357 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6358 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6359 | .tested = TEST_UNTESTED, |
| 6360 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6361 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6362 | .block_erasers = |
| 6363 | { |
| 6364 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6365 | .eraseblocks = { |
| 6366 | {4 * 1024, 16}, /* sector */ |
| 6367 | {64 * 1024, 13}, /* block */ |
| 6368 | {4 * 1024, 16}, /* sector */ |
| 6369 | {4 * 1024, 16}, /* sector */ |
| 6370 | }, |
| 6371 | .block_erase = NULL, |
| 6372 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6373 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6374 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6375 | }, { |
| 6376 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6377 | .block_erase = erase_chip_stm50flw0x0x, |
| 6378 | } |
| 6379 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6380 | .unlock = unlock_stm50flw0x0x, |
| 6381 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6382 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6383 | }, |
| 6384 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6385 | { |
| 6386 | .vendor = "ST", |
| 6387 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6388 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6389 | .manufacture_id = ST_ID, |
| 6390 | .model_id = ST_M50FLW080B, |
| 6391 | .total_size = 1024, |
| 6392 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6393 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6394 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6395 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6396 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6397 | .block_erasers = |
| 6398 | { |
| 6399 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6400 | .eraseblocks = { |
| 6401 | {4 * 1024, 16}, /* sector */ |
| 6402 | {4 * 1024, 16}, /* sector */ |
| 6403 | {64 * 1024, 13}, /* block */ |
| 6404 | {4 * 1024, 16}, /* sector */ |
| 6405 | }, |
| 6406 | .block_erase = NULL, |
| 6407 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6408 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6409 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6410 | }, { |
| 6411 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6412 | .block_erase = erase_chip_stm50flw0x0x, |
| 6413 | } |
| 6414 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6415 | .unlock = unlock_stm50flw0x0x, |
| 6416 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6417 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6418 | }, |
| 6419 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6420 | { |
| 6421 | .vendor = "ST", |
| 6422 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6423 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6424 | .manufacture_id = ST_ID, |
| 6425 | .model_id = ST_M50FW002, |
| 6426 | .total_size = 256, |
| 6427 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6428 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6429 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6430 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6431 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6432 | .block_erasers = |
| 6433 | { |
| 6434 | { |
| 6435 | .eraseblocks = { |
| 6436 | {64 * 1024, 3}, |
| 6437 | {32 * 1024, 1}, |
| 6438 | {8 * 1024, 2}, |
| 6439 | {16 * 1024, 1}, |
| 6440 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6441 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6442 | }, { |
| 6443 | .eraseblocks = { {256 * 1024, 1} }, |
| 6444 | .block_erase = erase_chip_stm50flw0x0x, |
| 6445 | } |
| 6446 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6447 | .unlock = unlock_stm50flw0x0x, |
| 6448 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6449 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6450 | }, |
| 6451 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6452 | { |
| 6453 | .vendor = "ST", |
| 6454 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6455 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6456 | .manufacture_id = ST_ID, |
| 6457 | .model_id = ST_M50FW016, |
| 6458 | .total_size = 2048, |
| 6459 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6460 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6461 | .tested = TEST_UNTESTED, |
| 6462 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6463 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6464 | .block_erasers = |
| 6465 | { |
| 6466 | { |
| 6467 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6468 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6469 | }, { |
| 6470 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6471 | .block_erase = erase_chip_stm50flw0x0x, |
| 6472 | } |
| 6473 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6474 | .unlock = unlock_stm50flw0x0x, |
| 6475 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6476 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6477 | }, |
| 6478 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6479 | { |
| 6480 | .vendor = "ST", |
| 6481 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6482 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6483 | .manufacture_id = ST_ID, |
| 6484 | .model_id = ST_M50FW040, |
| 6485 | .total_size = 512, |
| 6486 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6487 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6488 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6489 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6490 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6491 | .block_erasers = |
| 6492 | { |
| 6493 | { |
| 6494 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6495 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6496 | }, { |
| 6497 | .eraseblocks = { {512 * 1024, 1} }, |
| 6498 | .block_erase = erase_chip_stm50flw0x0x, |
| 6499 | } |
| 6500 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6501 | .unlock = unlock_stm50flw0x0x, |
| 6502 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6503 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6504 | }, |
| 6505 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6506 | { |
| 6507 | .vendor = "ST", |
| 6508 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6509 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6510 | .manufacture_id = ST_ID, |
| 6511 | .model_id = ST_M50FW080, |
| 6512 | .total_size = 1024, |
| 6513 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6514 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6515 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6516 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6517 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6518 | .block_erasers = |
| 6519 | { |
| 6520 | { |
| 6521 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6522 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6523 | }, { |
| 6524 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6525 | .block_erase = erase_chip_stm50flw0x0x, |
| 6526 | } |
| 6527 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6528 | .unlock = unlock_stm50flw0x0x, |
| 6529 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6530 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6531 | }, |
| 6532 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6533 | { |
| 6534 | .vendor = "ST", |
| 6535 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6536 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6537 | .manufacture_id = ST_ID, |
| 6538 | .model_id = ST_M50LPW116, |
| 6539 | .total_size = 2048, |
| 6540 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6541 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6542 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6543 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6544 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6545 | .block_erasers = |
| 6546 | { |
| 6547 | { |
| 6548 | .eraseblocks = { |
| 6549 | {4 * 1024, 16}, |
| 6550 | {64 * 1024, 30}, |
| 6551 | {32 * 1024, 1}, |
| 6552 | {8 * 1024, 2}, |
| 6553 | {16 * 1024, 1}, |
| 6554 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6555 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6556 | }, { |
| 6557 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6558 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6559 | } |
| 6560 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6561 | .unlock = unlock_stm50flw0x0x, |
| 6562 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6563 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6564 | }, |
| 6565 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6566 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6567 | .vendor = "SyncMOS/MoselVitelic", |
| 6568 | .name = "{F,S,V}29C51001B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6569 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6570 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6571 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6572 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6573 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6574 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6575 | .tested = TEST_UNTESTED, |
| 6576 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6577 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6578 | .block_erasers = |
| 6579 | { |
| 6580 | { |
| 6581 | .eraseblocks = { {512, 256} }, |
| 6582 | .block_erase = erase_sector_jedec, |
| 6583 | }, { |
| 6584 | .eraseblocks = { {128 * 1024, 1} }, |
| 6585 | .block_erase = erase_chip_block_jedec, |
| 6586 | }, |
| 6587 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6588 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6589 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6590 | }, |
| 6591 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6592 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6593 | .vendor = "SyncMOS/MoselVitelic", |
| 6594 | .name = "{F,S,V}29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6595 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6596 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6597 | .model_id = SM_MVC_29C51001T, |
| 6598 | .total_size = 128, |
| 6599 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6600 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6601 | .tested = TEST_UNTESTED, |
| 6602 | .probe = probe_jedec, |
| 6603 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6604 | .block_erasers = |
| 6605 | { |
| 6606 | { |
| 6607 | .eraseblocks = { {512, 256} }, |
| 6608 | .block_erase = erase_sector_jedec, |
| 6609 | }, { |
| 6610 | .eraseblocks = { {128 * 1024, 1} }, |
| 6611 | .block_erase = erase_chip_block_jedec, |
| 6612 | }, |
| 6613 | }, |
| 6614 | .write = write_jedec_1, |
| 6615 | .read = read_memmapped, |
| 6616 | }, |
| 6617 | |
| 6618 | { |
| 6619 | .vendor = "SyncMOS/MoselVitelic", |
| 6620 | .name = "{F,S,V}29C51002B", |
| 6621 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6622 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6623 | .model_id = SM_MVC_29C51002B, |
| 6624 | .total_size = 256, |
| 6625 | .page_size = 512, |
| 6626 | .feature_bits = FEATURE_EITHER_RESET, |
| 6627 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6628 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6629 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6630 | .block_erasers = |
| 6631 | { |
| 6632 | { |
| 6633 | .eraseblocks = { {512, 512} }, |
| 6634 | .block_erase = erase_sector_jedec, |
| 6635 | }, { |
| 6636 | .eraseblocks = { {256 * 1024, 1} }, |
| 6637 | .block_erase = erase_chip_block_jedec, |
| 6638 | }, |
| 6639 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6640 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6641 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6642 | }, |
| 6643 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6644 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6645 | .vendor = "SyncMOS/MoselVitelic", |
| 6646 | .name = "{F,S,V}29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6647 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6648 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6649 | .model_id = SM_MVC_29C51002T, |
| 6650 | .total_size = 256, |
| 6651 | .page_size = 512, |
| 6652 | .feature_bits = FEATURE_EITHER_RESET, |
| 6653 | .tested = TEST_OK_PR, |
| 6654 | .probe = probe_jedec, |
| 6655 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6656 | .block_erasers = |
| 6657 | { |
| 6658 | { |
| 6659 | .eraseblocks = { {512, 512} }, |
| 6660 | .block_erase = erase_sector_jedec, |
| 6661 | }, { |
| 6662 | .eraseblocks = { {256 * 1024, 1} }, |
| 6663 | .block_erase = erase_chip_block_jedec, |
| 6664 | }, |
| 6665 | }, |
| 6666 | .write = write_jedec_1, |
| 6667 | .read = read_memmapped, |
| 6668 | }, |
| 6669 | |
| 6670 | { |
| 6671 | .vendor = "SyncMOS/MoselVitelic", |
| 6672 | .name = "{F,S,V}29C51004B", |
| 6673 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6674 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6675 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6676 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6677 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6678 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6679 | .tested = TEST_UNTESTED, |
| 6680 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6681 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6682 | .block_erasers = |
| 6683 | { |
| 6684 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6685 | .eraseblocks = { {1024, 512} }, |
| 6686 | .block_erase = erase_sector_jedec, |
| 6687 | }, { |
| 6688 | .eraseblocks = { {512 * 1024, 1} }, |
| 6689 | .block_erase = erase_chip_block_jedec, |
| 6690 | }, |
| 6691 | }, |
| 6692 | .write = write_jedec_1, |
| 6693 | .read = read_memmapped, |
| 6694 | }, |
| 6695 | |
| 6696 | { |
| 6697 | .vendor = "SyncMOS/MoselVitelic", |
| 6698 | .name = "{F,S,V}29C51004T", |
| 6699 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6700 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6701 | .model_id = SM_MVC_29C51004T, |
| 6702 | .total_size = 512, |
| 6703 | .page_size = 1024, |
| 6704 | .feature_bits = FEATURE_EITHER_RESET, |
| 6705 | .tested = TEST_UNTESTED, |
| 6706 | .probe = probe_jedec, |
| 6707 | .probe_timing = TIMING_ZERO, |
| 6708 | .block_erasers = |
| 6709 | { |
| 6710 | { |
| 6711 | .eraseblocks = { {1024, 512} }, |
| 6712 | .block_erase = erase_sector_jedec, |
| 6713 | }, { |
| 6714 | .eraseblocks = { {512 * 1024, 1} }, |
| 6715 | .block_erase = erase_chip_block_jedec, |
| 6716 | }, |
| 6717 | }, |
| 6718 | .write = write_jedec_1, |
| 6719 | .read = read_memmapped, |
| 6720 | }, |
| 6721 | |
| 6722 | { |
| 6723 | .vendor = "SyncMOS/MoselVitelic", |
| 6724 | .name = "{S,V}29C31004B", |
| 6725 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6726 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6727 | .model_id = SM_MVC_29C31004B, |
| 6728 | .total_size = 512, |
| 6729 | .page_size = 1024, |
| 6730 | .feature_bits = FEATURE_EITHER_RESET, |
| 6731 | .tested = TEST_UNTESTED, |
| 6732 | .probe = probe_jedec, |
| 6733 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6734 | .block_erasers = |
| 6735 | { |
| 6736 | { |
| 6737 | .eraseblocks = { {1024, 512} }, |
| 6738 | .block_erase = erase_sector_jedec, |
| 6739 | }, { |
| 6740 | .eraseblocks = { {512 * 1024, 1} }, |
| 6741 | .block_erase = erase_chip_block_jedec, |
| 6742 | }, |
| 6743 | }, |
| 6744 | .write = write_jedec_1, |
| 6745 | .read = read_memmapped, |
| 6746 | }, |
| 6747 | |
| 6748 | { |
| 6749 | .vendor = "SyncMOS/MoselVitelic", |
| 6750 | .name = "{S,V}29C31004T", |
| 6751 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6752 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6753 | .model_id = SM_MVC_29C31004T, |
| 6754 | .total_size = 512, |
| 6755 | .page_size = 1024, |
| 6756 | .feature_bits = FEATURE_EITHER_RESET, |
| 6757 | .tested = TEST_UNTESTED, |
| 6758 | .probe = probe_jedec, |
| 6759 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6760 | .block_erasers = |
| 6761 | { |
| 6762 | { |
| 6763 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6764 | .block_erase = erase_sector_jedec, |
| 6765 | }, { |
| 6766 | .eraseblocks = { {512 * 1024, 1} }, |
| 6767 | .block_erase = erase_chip_block_jedec, |
| 6768 | }, |
| 6769 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6770 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6771 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6772 | }, |
| 6773 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6774 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6775 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6776 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6777 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6778 | .manufacture_id = TI_OLD_ID, |
| 6779 | .model_id = TI_TMS29F002RB, |
| 6780 | .total_size = 256, |
| 6781 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6782 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6783 | .tested = TEST_UNTESTED, |
| 6784 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6785 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6786 | .block_erasers = |
| 6787 | { |
| 6788 | { |
| 6789 | .eraseblocks = { |
| 6790 | {16 * 1024, 1}, |
| 6791 | {8 * 1024, 2}, |
| 6792 | {32 * 1024, 1}, |
| 6793 | {64 * 1024, 3}, |
| 6794 | }, |
| 6795 | .block_erase = erase_sector_jedec, |
| 6796 | }, { |
| 6797 | .eraseblocks = { {256 * 1024, 1} }, |
| 6798 | .block_erase = erase_chip_block_jedec, |
| 6799 | }, |
| 6800 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6801 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6802 | .read = read_memmapped, |
| 6803 | }, |
| 6804 | |
| 6805 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6806 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6807 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6808 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6809 | .manufacture_id = TI_OLD_ID, |
| 6810 | .model_id = TI_TMS29F002RT, |
| 6811 | .total_size = 256, |
| 6812 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6813 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6814 | .tested = TEST_UNTESTED, |
| 6815 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6816 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6817 | .block_erasers = |
| 6818 | { |
| 6819 | { |
| 6820 | .eraseblocks = { |
| 6821 | {64 * 1024, 3}, |
| 6822 | {32 * 1024, 1}, |
| 6823 | {8 * 1024, 2}, |
| 6824 | {16 * 1024, 1}, |
| 6825 | }, |
| 6826 | .block_erase = erase_sector_jedec, |
| 6827 | }, { |
| 6828 | .eraseblocks = { {256 * 1024, 1} }, |
| 6829 | .block_erase = erase_chip_block_jedec, |
| 6830 | }, |
| 6831 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6832 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6833 | .read = read_memmapped, |
| 6834 | }, |
| 6835 | |
| 6836 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6837 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6838 | .name = "W25Q80", |
| 6839 | .bustype = CHIP_BUSTYPE_SPI, |
| 6840 | .manufacture_id = WINBOND_NEX_ID, |
| 6841 | .model_id = W_25Q80, |
| 6842 | .total_size = 1024, |
| 6843 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 6844 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6845 | .probe = probe_spi_rdid, |
| 6846 | .probe_timing = TIMING_ZERO, |
| 6847 | .block_erasers = |
| 6848 | { |
| 6849 | { |
| 6850 | .eraseblocks = { {4 * 1024, 256} }, |
| 6851 | .block_erase = spi_block_erase_20, |
| 6852 | }, { |
| 6853 | .eraseblocks = { {32 * 1024, 32} }, |
| 6854 | .block_erase = spi_block_erase_52, |
| 6855 | }, { |
| 6856 | .eraseblocks = { {64 * 1024, 16} }, |
| 6857 | .block_erase = spi_block_erase_d8, |
| 6858 | }, { |
| 6859 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6860 | .block_erase = spi_block_erase_60, |
| 6861 | }, { |
| 6862 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6863 | .block_erase = spi_block_erase_c7, |
| 6864 | } |
| 6865 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6866 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6867 | .write = spi_chip_write_256, |
| 6868 | .read = spi_chip_read, |
| 6869 | }, |
| 6870 | |
| 6871 | { |
| 6872 | .vendor = "Winbond", |
| 6873 | .name = "W25Q16", |
| 6874 | .bustype = CHIP_BUSTYPE_SPI, |
| 6875 | .manufacture_id = WINBOND_NEX_ID, |
| 6876 | .model_id = W_25Q16, |
| 6877 | .total_size = 2048, |
| 6878 | .page_size = 256, |
| 6879 | .tested = TEST_UNTESTED, |
| 6880 | .probe = probe_spi_rdid, |
| 6881 | .probe_timing = TIMING_ZERO, |
| 6882 | .block_erasers = |
| 6883 | { |
| 6884 | { |
| 6885 | .eraseblocks = { {4 * 1024, 512} }, |
| 6886 | .block_erase = spi_block_erase_20, |
| 6887 | }, { |
| 6888 | .eraseblocks = { {32 * 1024, 64} }, |
| 6889 | .block_erase = spi_block_erase_52, |
| 6890 | }, { |
| 6891 | .eraseblocks = { {64 * 1024, 32} }, |
| 6892 | .block_erase = spi_block_erase_d8, |
| 6893 | }, { |
| 6894 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6895 | .block_erase = spi_block_erase_60, |
| 6896 | }, { |
| 6897 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6898 | .block_erase = spi_block_erase_c7, |
| 6899 | } |
| 6900 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6901 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6902 | .write = spi_chip_write_256, |
| 6903 | .read = spi_chip_read, |
| 6904 | }, |
| 6905 | |
| 6906 | { |
| 6907 | .vendor = "Winbond", |
| 6908 | .name = "W25Q32", |
| 6909 | .bustype = CHIP_BUSTYPE_SPI, |
| 6910 | .manufacture_id = WINBOND_NEX_ID, |
| 6911 | .model_id = W_25Q32, |
| 6912 | .total_size = 4096, |
| 6913 | .page_size = 256, |
| 6914 | .tested = TEST_UNTESTED, |
| 6915 | .probe = probe_spi_rdid, |
| 6916 | .probe_timing = TIMING_ZERO, |
| 6917 | .block_erasers = |
| 6918 | { |
| 6919 | { |
| 6920 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6921 | .block_erase = spi_block_erase_20, |
| 6922 | }, { |
| 6923 | .eraseblocks = { {32 * 1024, 128} }, |
| 6924 | .block_erase = spi_block_erase_52, |
| 6925 | }, { |
| 6926 | .eraseblocks = { {64 * 1024, 64} }, |
| 6927 | .block_erase = spi_block_erase_d8, |
| 6928 | }, { |
| 6929 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6930 | .block_erase = spi_block_erase_60, |
| 6931 | }, { |
| 6932 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6933 | .block_erase = spi_block_erase_c7, |
| 6934 | } |
| 6935 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6936 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6937 | .write = spi_chip_write_256, |
| 6938 | .read = spi_chip_read, |
| 6939 | }, |
| 6940 | |
| 6941 | { |
| 6942 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 6943 | .name = "W25Q64", |
| 6944 | .bustype = CHIP_BUSTYPE_SPI, |
| 6945 | .manufacture_id = WINBOND_NEX_ID, |
| 6946 | .model_id = W_25Q64, |
| 6947 | .total_size = 8192, |
| 6948 | .page_size = 256, |
| 6949 | .tested = TEST_OK_PRW, |
| 6950 | .probe = probe_spi_rdid, |
| 6951 | .probe_timing = TIMING_ZERO, |
| 6952 | .block_erasers = |
| 6953 | { |
| 6954 | { |
| 6955 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6956 | .block_erase = spi_block_erase_20, |
| 6957 | }, { |
| 6958 | .eraseblocks = { {32 * 1024, 256} }, |
| 6959 | .block_erase = spi_block_erase_52, |
| 6960 | }, { |
| 6961 | .eraseblocks = { {64 * 1024, 128} }, |
| 6962 | .block_erase = spi_block_erase_d8, |
| 6963 | }, { |
| 6964 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6965 | .block_erase = spi_block_erase_60, |
| 6966 | }, { |
| 6967 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6968 | .block_erase = spi_block_erase_c7, |
| 6969 | } |
| 6970 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6971 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 6972 | .write = spi_chip_write_256, |
| 6973 | .read = spi_chip_read, |
| 6974 | }, |
| 6975 | |
| 6976 | { |
| 6977 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6978 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6979 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6980 | .manufacture_id = WINBOND_NEX_ID, |
| 6981 | .model_id = W_25X10, |
| 6982 | .total_size = 128, |
| 6983 | .page_size = 256, |
| 6984 | .tested = TEST_UNTESTED, |
| 6985 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6986 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6987 | .block_erasers = |
| 6988 | { |
| 6989 | { |
| 6990 | .eraseblocks = { {4 * 1024, 32} }, |
| 6991 | .block_erase = spi_block_erase_20, |
| 6992 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6993 | .eraseblocks = { {64 * 1024, 2} }, |
| 6994 | .block_erase = spi_block_erase_d8, |
| 6995 | }, { |
| 6996 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6997 | .block_erase = spi_block_erase_c7, |
| 6998 | } |
| 6999 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7000 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7001 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7002 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7003 | }, |
| 7004 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7005 | { |
| 7006 | .vendor = "Winbond", |
| 7007 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7008 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7009 | .manufacture_id = WINBOND_NEX_ID, |
| 7010 | .model_id = W_25X20, |
| 7011 | .total_size = 256, |
| 7012 | .page_size = 256, |
| 7013 | .tested = TEST_UNTESTED, |
| 7014 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7015 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7016 | .block_erasers = |
| 7017 | { |
| 7018 | { |
| 7019 | .eraseblocks = { {4 * 1024, 64} }, |
| 7020 | .block_erase = spi_block_erase_20, |
| 7021 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7022 | .eraseblocks = { {64 * 1024, 4} }, |
| 7023 | .block_erase = spi_block_erase_d8, |
| 7024 | }, { |
| 7025 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7026 | .block_erase = spi_block_erase_c7, |
| 7027 | } |
| 7028 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7029 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7030 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7031 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7032 | }, |
| 7033 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7034 | { |
| 7035 | .vendor = "Winbond", |
| 7036 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7037 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7038 | .manufacture_id = WINBOND_NEX_ID, |
| 7039 | .model_id = W_25X40, |
| 7040 | .total_size = 512, |
| 7041 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7042 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7043 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7044 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7045 | .block_erasers = |
| 7046 | { |
| 7047 | { |
| 7048 | .eraseblocks = { {4 * 1024, 128} }, |
| 7049 | .block_erase = spi_block_erase_20, |
| 7050 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7051 | .eraseblocks = { {64 * 1024, 8} }, |
| 7052 | .block_erase = spi_block_erase_d8, |
| 7053 | }, { |
| 7054 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7059 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7060 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7061 | }, |
| 7062 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7063 | { |
| 7064 | .vendor = "Winbond", |
| 7065 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7066 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7067 | .manufacture_id = WINBOND_NEX_ID, |
| 7068 | .model_id = W_25X80, |
| 7069 | .total_size = 1024, |
| 7070 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7071 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7072 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7073 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7074 | .block_erasers = |
| 7075 | { |
| 7076 | { |
| 7077 | .eraseblocks = { {4 * 1024, 256} }, |
| 7078 | .block_erase = spi_block_erase_20, |
| 7079 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7080 | .eraseblocks = { {64 * 1024, 16} }, |
| 7081 | .block_erase = spi_block_erase_d8, |
| 7082 | }, { |
| 7083 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7084 | .block_erase = spi_block_erase_c7, |
| 7085 | } |
| 7086 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7087 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7088 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7089 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7090 | }, |
| 7091 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7092 | { |
| 7093 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7094 | .name = "W25x16", |
| 7095 | .bustype = CHIP_BUSTYPE_SPI, |
| 7096 | .manufacture_id = WINBOND_NEX_ID, |
| 7097 | .model_id = W_25X16, |
| 7098 | .total_size = 2048, |
| 7099 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7100 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7101 | .probe = probe_spi_rdid, |
| 7102 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7103 | .block_erasers = |
| 7104 | { |
| 7105 | { |
| 7106 | .eraseblocks = { {4 * 1024, 512} }, |
| 7107 | .block_erase = spi_block_erase_20, |
| 7108 | }, { |
| 7109 | .eraseblocks = { {32 * 1024, 64} }, |
| 7110 | .block_erase = spi_block_erase_52, |
| 7111 | }, { |
| 7112 | .eraseblocks = { {64 * 1024, 32} }, |
| 7113 | .block_erase = spi_block_erase_d8, |
| 7114 | }, { |
| 7115 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7116 | .block_erase = spi_block_erase_60, |
| 7117 | }, { |
| 7118 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7119 | .block_erase = spi_block_erase_c7, |
| 7120 | } |
| 7121 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7122 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7123 | .write = spi_chip_write_256, |
| 7124 | .read = spi_chip_read, |
| 7125 | }, |
| 7126 | |
| 7127 | { |
| 7128 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7129 | .name = "W25x32", |
| 7130 | .bustype = CHIP_BUSTYPE_SPI, |
| 7131 | .manufacture_id = WINBOND_NEX_ID, |
| 7132 | .model_id = W_25X32, |
| 7133 | .total_size = 4096, |
| 7134 | .page_size = 256, |
| 7135 | .tested = TEST_OK_PROBE, |
| 7136 | .probe = probe_spi_rdid, |
| 7137 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7138 | .block_erasers = |
| 7139 | { |
| 7140 | { |
| 7141 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7142 | .block_erase = spi_block_erase_20, |
| 7143 | }, { |
| 7144 | .eraseblocks = { {32 * 1024, 128} }, |
| 7145 | .block_erase = spi_block_erase_52, |
| 7146 | }, { |
| 7147 | .eraseblocks = { {64 * 1024, 64} }, |
| 7148 | .block_erase = spi_block_erase_d8, |
| 7149 | }, { |
| 7150 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7151 | .block_erase = spi_block_erase_60, |
| 7152 | }, { |
| 7153 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7154 | .block_erase = spi_block_erase_c7, |
| 7155 | } |
| 7156 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7157 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7158 | .write = spi_chip_write_256, |
| 7159 | .read = spi_chip_read, |
| 7160 | }, |
| 7161 | |
| 7162 | { |
| 7163 | .vendor = "Winbond", |
| 7164 | .name = "W25x64", |
| 7165 | .bustype = CHIP_BUSTYPE_SPI, |
| 7166 | .manufacture_id = WINBOND_NEX_ID, |
| 7167 | .model_id = W_25X64, |
| 7168 | .total_size = 8192, |
| 7169 | .page_size = 256, |
| 7170 | .tested = TEST_UNTESTED, |
| 7171 | .probe = probe_spi_rdid, |
| 7172 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7173 | .block_erasers = |
| 7174 | { |
| 7175 | { |
| 7176 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7177 | .block_erase = spi_block_erase_20, |
| 7178 | }, { |
| 7179 | .eraseblocks = { {32 * 1024, 256} }, |
| 7180 | .block_erase = spi_block_erase_52, |
| 7181 | }, { |
| 7182 | .eraseblocks = { {64 * 1024, 128} }, |
| 7183 | .block_erase = spi_block_erase_d8, |
| 7184 | }, { |
| 7185 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7186 | .block_erase = spi_block_erase_60, |
| 7187 | }, { |
| 7188 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7189 | .block_erase = spi_block_erase_c7, |
| 7190 | } |
| 7191 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7192 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7193 | .write = spi_chip_write_256, |
| 7194 | .read = spi_chip_read, |
| 7195 | }, |
| 7196 | |
| 7197 | { |
| 7198 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7199 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7200 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7201 | .manufacture_id = WINBOND_ID, |
| 7202 | .model_id = W_29C011, |
| 7203 | .total_size = 128, |
| 7204 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7205 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 7206 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7207 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7208 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7209 | .block_erasers = |
| 7210 | { |
| 7211 | { |
| 7212 | .eraseblocks = { {128 * 1024, 1} }, |
| 7213 | .block_erase = erase_chip_block_jedec, |
| 7214 | } |
| 7215 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7216 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7217 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7218 | }, |
| 7219 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7220 | { |
| 7221 | .vendor = "Winbond", |
| 7222 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7223 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7224 | .manufacture_id = WINBOND_ID, |
| 7225 | .model_id = W_29C020C, |
| 7226 | .total_size = 256, |
| 7227 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7228 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7229 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7230 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7231 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7232 | .block_erasers = |
| 7233 | { |
| 7234 | { |
| 7235 | .eraseblocks = { {256 * 1024, 1} }, |
| 7236 | .block_erase = erase_chip_block_jedec, |
| 7237 | } |
| 7238 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7239 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7240 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7241 | }, |
| 7242 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7243 | { |
| 7244 | .vendor = "Winbond", |
| 7245 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7246 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7247 | .manufacture_id = WINBOND_ID, |
| 7248 | .model_id = W_29C040P, |
| 7249 | .total_size = 512, |
| 7250 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7251 | .feature_bits = FEATURE_LONG_RESET, |
| 7252 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7253 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7254 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7255 | .block_erasers = |
| 7256 | { |
| 7257 | { |
| 7258 | .eraseblocks = { {512 * 1024, 1} }, |
| 7259 | .block_erase = erase_chip_block_jedec, |
| 7260 | } |
| 7261 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7262 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7263 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7264 | }, |
| 7265 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7266 | { |
| 7267 | .vendor = "Winbond", |
| 7268 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7269 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7270 | .manufacture_id = WINBOND_ID, |
| 7271 | .model_id = W_29C011, |
| 7272 | .total_size = 128, |
| 7273 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7274 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7275 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7276 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7277 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7278 | .block_erasers = |
| 7279 | { |
| 7280 | { |
| 7281 | .eraseblocks = { {128 * 1024, 1} }, |
| 7282 | .block_erase = erase_chip_block_jedec, |
| 7283 | } |
| 7284 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7285 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7286 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7287 | }, |
| 7288 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7289 | { |
| 7290 | .vendor = "Winbond", |
| 7291 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7292 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7293 | .manufacture_id = WINBOND_ID, |
| 7294 | .model_id = W_39V040A, |
| 7295 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7296 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7297 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 7298 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7299 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7300 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7301 | .block_erasers = |
| 7302 | { |
| 7303 | { |
| 7304 | .eraseblocks = { {64 * 1024, 8} }, |
| 7305 | .block_erase = erase_sector_jedec, |
| 7306 | }, { |
| 7307 | .eraseblocks = { {512 * 1024, 1} }, |
| 7308 | .block_erase = erase_chip_block_jedec, |
| 7309 | } |
| 7310 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7311 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7312 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7313 | }, |
| 7314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7315 | { |
| 7316 | .vendor = "Winbond", |
| 7317 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7318 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7319 | .manufacture_id = WINBOND_ID, |
| 7320 | .model_id = W_39V040B, |
| 7321 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7322 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7323 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 7324 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7325 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7326 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7327 | .block_erasers = |
| 7328 | { |
| 7329 | { |
| 7330 | .eraseblocks = { {64 * 1024, 8} }, |
| 7331 | .block_erase = erase_sector_jedec, |
| 7332 | }, { |
| 7333 | .eraseblocks = { {512 * 1024, 1} }, |
| 7334 | .block_erase = erase_chip_block_jedec, |
| 7335 | } |
| 7336 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7337 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7338 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7339 | }, |
| 7340 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7341 | { |
| 7342 | .vendor = "Winbond", |
| 7343 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7344 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7345 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 7346 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7347 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7348 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7349 | .feature_bits = FEATURE_EITHER_RESET, |
| 7350 | .tested = TEST_UNTESTED, |
| 7351 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7352 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7353 | .block_erasers = |
| 7354 | { |
| 7355 | { |
| 7356 | .eraseblocks = { {64 * 1024, 8} }, |
| 7357 | .block_erase = erase_sector_jedec, |
| 7358 | }, { |
| 7359 | .eraseblocks = { {512 * 1024, 1} }, |
| 7360 | .block_erase = erase_chip_block_jedec, |
| 7361 | } |
| 7362 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7363 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7364 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7365 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7366 | }, |
| 7367 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7368 | { |
| 7369 | .vendor = "Winbond", |
| 7370 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7371 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7372 | .manufacture_id = WINBOND_ID, |
| 7373 | .model_id = W_39V040FA, |
| 7374 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7375 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7376 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 7377 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7378 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7379 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7380 | .block_erasers = |
| 7381 | { |
| 7382 | { |
| 7383 | .eraseblocks = { {4 * 1024, 128} }, |
| 7384 | .block_erase = erase_block_jedec, |
| 7385 | }, { |
| 7386 | .eraseblocks = { {64 * 1024, 8} }, |
| 7387 | .block_erase = erase_sector_jedec, |
| 7388 | }, { |
| 7389 | .eraseblocks = { {512 * 1024, 1} }, |
| 7390 | .block_erase = erase_chip_block_jedec, |
| 7391 | } |
| 7392 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7393 | .printlock = printlock_sst_fwhub, |
| 7394 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7395 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7396 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7397 | }, |
| 7398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7399 | { |
| 7400 | .vendor = "Winbond", |
| 7401 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7402 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7403 | .manufacture_id = WINBOND_ID, |
| 7404 | .model_id = W_39V080A, |
| 7405 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7406 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7407 | .feature_bits = FEATURE_EITHER_RESET, |
| 7408 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7409 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7410 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7411 | .block_erasers = |
| 7412 | { |
| 7413 | { |
| 7414 | .eraseblocks = { {64 * 1024, 16} }, |
| 7415 | .block_erase = erase_sector_jedec, |
| 7416 | }, { |
| 7417 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7418 | .block_erase = erase_chip_block_jedec, |
| 7419 | } |
| 7420 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7421 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7422 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7423 | }, |
| 7424 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7425 | { |
| 7426 | .vendor = "Winbond", |
| 7427 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7428 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7429 | .manufacture_id = WINBOND_ID, |
| 7430 | .model_id = W_49F002U, |
| 7431 | .total_size = 256, |
| 7432 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7433 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 7434 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7435 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7436 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7437 | .block_erasers = |
| 7438 | { |
| 7439 | { |
| 7440 | .eraseblocks = { |
| 7441 | {128 * 1024, 1}, |
| 7442 | {96 * 1024, 1}, |
| 7443 | {8 * 1024, 2}, |
| 7444 | {16 * 1024, 1}, |
| 7445 | }, |
| 7446 | .block_erase = erase_sector_jedec, |
| 7447 | }, { |
| 7448 | .eraseblocks = { {256 * 1024, 1} }, |
| 7449 | .block_erase = erase_chip_block_jedec, |
| 7450 | } |
| 7451 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7452 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7453 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7454 | }, |
| 7455 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7456 | { |
| 7457 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7458 | .name = "W49F020", |
| 7459 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7460 | .manufacture_id = WINBOND_ID, |
| 7461 | .model_id = W_49F020, |
| 7462 | .total_size = 256, |
| 7463 | .page_size = 128, |
| 7464 | .feature_bits = FEATURE_EITHER_RESET, |
| 7465 | .tested = TEST_OK_PROBE, |
| 7466 | .probe = probe_jedec, |
| 7467 | .probe_timing = 10, |
| 7468 | .block_erasers = |
| 7469 | { |
| 7470 | { |
| 7471 | .eraseblocks = { {256 * 1024, 1} }, |
| 7472 | .block_erase = erase_chip_block_jedec, |
| 7473 | } |
| 7474 | }, |
| 7475 | .write = write_jedec_1, |
| 7476 | .read = read_memmapped, |
| 7477 | }, |
| 7478 | |
| 7479 | { |
| 7480 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7481 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7482 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7483 | .manufacture_id = WINBOND_ID, |
| 7484 | .model_id = W_49V002A, |
| 7485 | .total_size = 256, |
| 7486 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7487 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7488 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7489 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7490 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7491 | .block_erasers = |
| 7492 | { |
| 7493 | { |
| 7494 | .eraseblocks = { |
| 7495 | {64 * 1024, 3}, |
| 7496 | {32 * 1024, 1}, |
| 7497 | {8 * 1024, 2}, |
| 7498 | {16 * 1024, 1}, |
| 7499 | }, |
| 7500 | .block_erase = erase_sector_jedec, |
| 7501 | }, { |
| 7502 | .eraseblocks = { {256 * 1024, 1} }, |
| 7503 | .block_erase = erase_chip_block_jedec, |
| 7504 | } |
| 7505 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7506 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7507 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7508 | }, |
| 7509 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7510 | { |
| 7511 | .vendor = "Winbond", |
| 7512 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7513 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7514 | .manufacture_id = WINBOND_ID, |
| 7515 | .model_id = W_49V002FA, |
| 7516 | .total_size = 256, |
| 7517 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7518 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 7519 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7520 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7521 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7522 | .block_erasers = |
| 7523 | { |
| 7524 | { |
| 7525 | .eraseblocks = { |
| 7526 | {64 * 1024, 3}, |
| 7527 | {32 * 1024, 1}, |
| 7528 | {8 * 1024, 2}, |
| 7529 | {16 * 1024, 1}, |
| 7530 | }, |
| 7531 | .block_erase = erase_sector_jedec, |
| 7532 | }, { |
| 7533 | .eraseblocks = { {256 * 1024, 1} }, |
| 7534 | .block_erase = erase_chip_block_jedec, |
| 7535 | } |
| 7536 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7537 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7538 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7539 | }, |
| 7540 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7541 | { |
| 7542 | .vendor = "Winbond", |
| 7543 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7544 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7545 | .manufacture_id = WINBOND_ID, |
| 7546 | .model_id = W_39V080FA, |
| 7547 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7548 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7549 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7550 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7551 | .probe = probe_jedec, |
| 7552 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7553 | .block_erasers = |
| 7554 | { |
| 7555 | { |
| 7556 | .eraseblocks = { {64 * 1024, 16}, }, |
| 7557 | .block_erase = erase_sector_jedec, |
| 7558 | }, { |
| 7559 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7560 | .block_erase = erase_chip_block_jedec, |
| 7561 | } |
| 7562 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7563 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7564 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7565 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7566 | }, |
| 7567 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7568 | { |
| 7569 | .vendor = "Winbond", |
| 7570 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7571 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7572 | .manufacture_id = WINBOND_ID, |
| 7573 | .model_id = W_39V080FA_DM, |
| 7574 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7575 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7576 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7577 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7578 | .probe = probe_jedec, |
| 7579 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7580 | .block_erasers = |
| 7581 | { |
| 7582 | { |
| 7583 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7584 | .block_erase = erase_sector_jedec, |
| 7585 | }, { |
| 7586 | .eraseblocks = { {512 * 1024, 1} }, |
| 7587 | .block_erase = erase_chip_block_jedec, |
| 7588 | } |
| 7589 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7590 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7591 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7592 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7593 | }, |
| 7594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7595 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 7596 | .vendor = "AMIC", |
| 7597 | .name = "unknown AMIC SPI chip", |
| 7598 | .bustype = CHIP_BUSTYPE_SPI, |
| 7599 | .manufacture_id = AMIC_ID, |
| 7600 | .model_id = GENERIC_DEVICE_ID, |
| 7601 | .total_size = 0, |
| 7602 | .page_size = 256, |
| 7603 | .tested = TEST_BAD_PREW, |
| 7604 | .probe = probe_spi_rdid4, |
| 7605 | .probe_timing = TIMING_ZERO, |
| 7606 | .write = NULL, |
| 7607 | .read = NULL, |
| 7608 | }, |
| 7609 | |
| 7610 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7611 | .vendor = "Atmel", |
| 7612 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7613 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7614 | .manufacture_id = ATMEL_ID, |
| 7615 | .model_id = GENERIC_DEVICE_ID, |
| 7616 | .total_size = 0, |
| 7617 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7618 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7619 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7620 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7621 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7622 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7623 | }, |
| 7624 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7625 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 7626 | .vendor = "Eon", |
| 7627 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7628 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7629 | .manufacture_id = EON_ID_NOPREFIX, |
| 7630 | .model_id = GENERIC_DEVICE_ID, |
| 7631 | .total_size = 0, |
| 7632 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7633 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7634 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7635 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7636 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7637 | .read = NULL, |
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 = "Macronix", |
| 7642 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7643 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7644 | .manufacture_id = MX_ID, |
| 7645 | .model_id = GENERIC_DEVICE_ID, |
| 7646 | .total_size = 0, |
| 7647 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7648 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7649 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7650 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7651 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7652 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7653 | }, |
| 7654 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7655 | { |
| 7656 | .vendor = "PMC", |
| 7657 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7658 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7659 | .manufacture_id = PMC_ID, |
| 7660 | .model_id = GENERIC_DEVICE_ID, |
| 7661 | .total_size = 0, |
| 7662 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7663 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7664 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7665 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7666 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7667 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7668 | }, |
| 7669 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7670 | { |
| 7671 | .vendor = "SST", |
| 7672 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7673 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7674 | .manufacture_id = SST_ID, |
| 7675 | .model_id = GENERIC_DEVICE_ID, |
| 7676 | .total_size = 0, |
| 7677 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7678 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7679 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7680 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7681 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7682 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7683 | }, |
| 7684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7685 | { |
| 7686 | .vendor = "ST", |
| 7687 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7688 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7689 | .manufacture_id = ST_ID, |
| 7690 | .model_id = GENERIC_DEVICE_ID, |
| 7691 | .total_size = 0, |
| 7692 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7693 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7694 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7695 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7696 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7697 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7698 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 7699 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7700 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7701 | .vendor = "Sanyo", |
| 7702 | .name = "unknown Sanyo SPI chip", |
| 7703 | .bustype = CHIP_BUSTYPE_SPI, |
| 7704 | .manufacture_id = SANYO_ID, |
| 7705 | .model_id = GENERIC_DEVICE_ID, |
| 7706 | .total_size = 0, |
| 7707 | .page_size = 256, |
| 7708 | .tested = TEST_BAD_PREW, |
| 7709 | .probe = probe_spi_rdid, |
| 7710 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7711 | .write = NULL, |
| 7712 | .read = NULL, |
| 7713 | }, |
| 7714 | |
| 7715 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7716 | .vendor = "Generic", |
| 7717 | .name = "unknown SPI chip (RDID)", |
| 7718 | .bustype = CHIP_BUSTYPE_SPI, |
| 7719 | .manufacture_id = GENERIC_MANUF_ID, |
| 7720 | .model_id = GENERIC_DEVICE_ID, |
| 7721 | .total_size = 0, |
| 7722 | .page_size = 256, |
| 7723 | .tested = TEST_BAD_PREW, |
| 7724 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7725 | .write = NULL, |
| 7726 | }, |
| 7727 | { |
| 7728 | .vendor = "Generic", |
| 7729 | .name = "unknown SPI chip (REMS)", |
| 7730 | .bustype = CHIP_BUSTYPE_SPI, |
| 7731 | .manufacture_id = GENERIC_MANUF_ID, |
| 7732 | .model_id = GENERIC_DEVICE_ID, |
| 7733 | .total_size = 0, |
| 7734 | .page_size = 256, |
| 7735 | .tested = TEST_BAD_PREW, |
| 7736 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7737 | .write = NULL, |
| 7738 | }, |
| 7739 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7740 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 7741 | }; |