Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Sean Nelson | c57a920 | 2010-01-04 17:15:23 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 9 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 14 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 19 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #include "flash.h" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 26 | #include "flashchips.h" |
Sean Nelson | 14ba668 | 2010-02-26 05:48:29 +0000 | [diff] [blame] | 27 | #include "chipdrivers.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 30 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 31 | * |
| 32 | * Please keep the list sorted by vendor name and chip name, so that |
| 33 | * the output of 'flashrom -L' is alphabetically sorted. |
| 34 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 35 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 36 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 37 | /* |
| 38 | * .vendor = Vendor name |
| 39 | * .name = Chip name |
| 40 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 41 | * .manufacture_id = Manufacturer chip ID |
| 42 | * .model_id = Model chip ID |
| 43 | * .total_size = Total size in (binary) kbytes |
| 44 | * .page_size = Page or eraseblock(?) size in bytes |
| 45 | * .tested = Test status |
| 46 | * .probe = Probe function |
| 47 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 48 | * .block_erasers[] = Array of erase layouts and erase functions |
| 49 | * { |
| 50 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 51 | * .block_erase = Block erase function |
| 52 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 53 | * .printlock = Chip lock status function |
| 54 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 55 | * .write = Chip write function |
| 56 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 57 | */ |
| 58 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 59 | { |
| 60 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 61 | .name = "Am29F010A/B", |
| 62 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 63 | .manufacture_id = AMD_ID, |
| 64 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 65 | .total_size = 128, |
| 66 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 67 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 68 | .tested = TEST_UNTESTED, |
| 69 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 70 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 71 | .block_erasers = |
| 72 | { |
| 73 | { |
| 74 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 75 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 76 | }, { |
| 77 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 78 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 79 | }, |
| 80 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 81 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 82 | .read = read_memmapped, |
| 83 | }, |
| 84 | |
| 85 | { |
| 86 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 87 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 88 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .manufacture_id = AMD_ID, |
| 90 | .model_id = AM_29F002BB, |
| 91 | .total_size = 256, |
| 92 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 93 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 94 | .tested = TEST_UNTESTED, |
| 95 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 96 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 97 | .block_erasers = |
| 98 | { |
| 99 | { |
| 100 | .eraseblocks = { |
| 101 | {16 * 1024, 1}, |
| 102 | {8 * 1024, 2}, |
| 103 | {32 * 1024, 1}, |
| 104 | {64 * 1024, 3}, |
| 105 | }, |
| 106 | .block_erase = erase_sector_jedec, |
| 107 | }, { |
| 108 | .eraseblocks = { {256 * 1024, 1} }, |
| 109 | .block_erase = erase_chip_block_jedec, |
| 110 | }, |
| 111 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 114 | }, |
| 115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 116 | { |
| 117 | .vendor = "AMD", |
| 118 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 120 | .manufacture_id = AMD_ID, |
| 121 | .model_id = AM_29F002BT, |
| 122 | .total_size = 256, |
| 123 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 124 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 125 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 126 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 128 | .block_erasers = |
| 129 | { |
| 130 | { |
| 131 | .eraseblocks = { |
| 132 | {64 * 1024, 3}, |
| 133 | {32 * 1024, 1}, |
| 134 | {8 * 1024, 2}, |
| 135 | {16 * 1024, 1}, |
| 136 | }, |
| 137 | .block_erase = erase_sector_jedec, |
| 138 | }, { |
| 139 | .eraseblocks = { {256 * 1024, 1} }, |
| 140 | .block_erase = erase_chip_block_jedec, |
| 141 | }, |
| 142 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 143 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 145 | }, |
| 146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 147 | { |
| 148 | .vendor = "AMD", |
| 149 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 150 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .manufacture_id = AMD_ID, |
| 152 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 153 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 155 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 156 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 157 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 158 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 159 | .block_erasers = |
| 160 | { |
| 161 | { |
| 162 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 163 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 164 | }, { |
| 165 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 167 | }, |
| 168 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 171 | }, |
| 172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 173 | { |
| 174 | .vendor = "AMD", |
| 175 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | .manufacture_id = AMD_ID, |
| 178 | .model_id = AM_29F040B, |
| 179 | .total_size = 512, |
| 180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 182 | .tested = TEST_UNTESTED, |
| 183 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 185 | .block_erasers = |
| 186 | { |
| 187 | { |
| 188 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 189 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | }, { |
| 191 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 193 | }, |
| 194 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 196 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 197 | }, |
| 198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 199 | { |
| 200 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 201 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 202 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 203 | .manufacture_id = AMD_ID, |
| 204 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 205 | .total_size = 1024, |
| 206 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 207 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 208 | .tested = TEST_UNTESTED, |
| 209 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 211 | .block_erasers = |
| 212 | { |
| 213 | { |
| 214 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 215 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | }, { |
| 217 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 218 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 219 | }, |
| 220 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 222 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 223 | }, |
| 224 | |
| 225 | { |
| 226 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 227 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 228 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 229 | .manufacture_id = AMD_ID, |
| 230 | .model_id = AM_29LV040B, |
| 231 | .total_size = 512, |
| 232 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 234 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 235 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 236 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 237 | .block_erasers = |
| 238 | { |
| 239 | { |
| 240 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 241 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 242 | }, { |
| 243 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 244 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 245 | }, |
| 246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 249 | }, |
| 250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 251 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 252 | .vendor = "AMD", |
| 253 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 255 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 256 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .total_size = 1024, |
| 258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 259 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 260 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 261 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 262 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 263 | .block_erasers = |
| 264 | { |
| 265 | { |
| 266 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 267 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | }, { |
| 269 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 270 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 271 | }, |
| 272 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 273 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 274 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 275 | }, |
| 276 | |
| 277 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 278 | .vendor = "ASD", |
| 279 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 280 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 281 | .manufacture_id = ASD_ID, |
| 282 | .model_id = ASD_AE49F2008, |
| 283 | .total_size = 256, |
| 284 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 285 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 286 | .tested = TEST_UNTESTED, |
| 287 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 288 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 289 | .block_erasers = |
| 290 | { |
| 291 | { |
| 292 | .eraseblocks = { |
| 293 | {128 * 1024, 1}, |
| 294 | {96 * 1024, 1}, |
| 295 | {8 * 1024, 2}, |
| 296 | {16 * 1024, 1}, |
| 297 | }, |
| 298 | .block_erase = erase_sector_jedec, |
| 299 | }, { |
| 300 | .eraseblocks = { {256 * 1024, 1} }, |
| 301 | .block_erase = erase_chip_block_jedec, |
| 302 | } |
| 303 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 304 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 305 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 306 | }, |
| 307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 308 | { |
| 309 | .vendor = "Atmel", |
| 310 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 311 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 312 | .manufacture_id = ATMEL_ID, |
| 313 | .model_id = AT_25DF021, |
| 314 | .total_size = 256, |
| 315 | .page_size = 256, |
| 316 | .tested = TEST_UNTESTED, |
| 317 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 318 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 319 | .block_erasers = |
| 320 | { |
| 321 | { |
| 322 | .eraseblocks = { {4 * 1024, 64} }, |
| 323 | .block_erase = spi_block_erase_20, |
| 324 | }, { |
| 325 | .eraseblocks = { {32 * 1024, 8} }, |
| 326 | .block_erase = spi_block_erase_52, |
| 327 | }, { |
| 328 | .eraseblocks = { {64 * 1024, 4} }, |
| 329 | .block_erase = spi_block_erase_d8, |
| 330 | }, { |
| 331 | .eraseblocks = { {256 * 1024, 1} }, |
| 332 | .block_erase = spi_block_erase_60, |
| 333 | }, { |
| 334 | .eraseblocks = { {256 * 1024, 1} }, |
| 335 | .block_erase = spi_block_erase_c7, |
| 336 | } |
| 337 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 338 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 339 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 340 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 341 | }, |
| 342 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 343 | { |
| 344 | .vendor = "Atmel", |
| 345 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 346 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 347 | .manufacture_id = ATMEL_ID, |
| 348 | .model_id = AT_25DF041A, |
| 349 | .total_size = 512, |
| 350 | .page_size = 256, |
| 351 | .tested = TEST_UNTESTED, |
| 352 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 353 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 354 | .block_erasers = |
| 355 | { |
| 356 | { |
| 357 | .eraseblocks = { {4 * 1024, 128} }, |
| 358 | .block_erase = spi_block_erase_20, |
| 359 | }, { |
| 360 | .eraseblocks = { {32 * 1024, 16} }, |
| 361 | .block_erase = spi_block_erase_52, |
| 362 | }, { |
| 363 | .eraseblocks = { {64 * 1024, 8} }, |
| 364 | .block_erase = spi_block_erase_d8, |
| 365 | }, { |
| 366 | .eraseblocks = { {512 * 1024, 1} }, |
| 367 | .block_erase = spi_block_erase_60, |
| 368 | }, { |
| 369 | .eraseblocks = { {512 * 1024, 1} }, |
| 370 | .block_erase = spi_block_erase_c7, |
| 371 | } |
| 372 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 373 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 374 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 375 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 376 | }, |
| 377 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 378 | { |
| 379 | .vendor = "Atmel", |
| 380 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 381 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 382 | .manufacture_id = ATMEL_ID, |
| 383 | .model_id = AT_25DF081, |
| 384 | .total_size = 1024, |
| 385 | .page_size = 256, |
| 386 | .tested = TEST_UNTESTED, |
| 387 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 388 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 389 | .block_erasers = |
| 390 | { |
| 391 | { |
| 392 | .eraseblocks = { {4 * 1024, 256} }, |
| 393 | .block_erase = spi_block_erase_20, |
| 394 | }, { |
| 395 | .eraseblocks = { {32 * 1024, 32} }, |
| 396 | .block_erase = spi_block_erase_52, |
| 397 | }, { |
| 398 | .eraseblocks = { {64 * 1024, 16} }, |
| 399 | .block_erase = spi_block_erase_d8, |
| 400 | }, { |
| 401 | .eraseblocks = { {1024 * 1024, 1} }, |
| 402 | .block_erase = spi_block_erase_60, |
| 403 | }, { |
| 404 | .eraseblocks = { {1024 * 1024, 1} }, |
| 405 | .block_erase = spi_block_erase_c7, |
| 406 | } |
| 407 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 408 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 409 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 410 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 411 | }, |
| 412 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 413 | { |
| 414 | .vendor = "Atmel", |
| 415 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 416 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 417 | .manufacture_id = ATMEL_ID, |
| 418 | .model_id = AT_25DF161, |
| 419 | .total_size = 2048, |
| 420 | .page_size = 256, |
| 421 | .tested = TEST_UNTESTED, |
| 422 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 423 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 424 | .block_erasers = |
| 425 | { |
| 426 | { |
| 427 | .eraseblocks = { {4 * 1024, 512} }, |
| 428 | .block_erase = spi_block_erase_20, |
| 429 | }, { |
| 430 | .eraseblocks = { {32 * 1024, 64} }, |
| 431 | .block_erase = spi_block_erase_52, |
| 432 | }, { |
| 433 | .eraseblocks = { {64 * 1024, 32} }, |
| 434 | .block_erase = spi_block_erase_d8, |
| 435 | }, { |
| 436 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 437 | .block_erase = spi_block_erase_60, |
| 438 | }, { |
| 439 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 440 | .block_erase = spi_block_erase_c7, |
| 441 | } |
| 442 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 443 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 444 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 445 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 446 | }, |
| 447 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 448 | { |
| 449 | .vendor = "Atmel", |
| 450 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 451 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 452 | .manufacture_id = ATMEL_ID, |
| 453 | .model_id = AT_25DF321, |
| 454 | .total_size = 4096, |
| 455 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 456 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 457 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 458 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 459 | .block_erasers = |
| 460 | { |
| 461 | { |
| 462 | .eraseblocks = { {4 * 1024, 1024} }, |
| 463 | .block_erase = spi_block_erase_20, |
| 464 | }, { |
| 465 | .eraseblocks = { {32 * 1024, 128} }, |
| 466 | .block_erase = spi_block_erase_52, |
| 467 | }, { |
| 468 | .eraseblocks = { {64 * 1024, 64} }, |
| 469 | .block_erase = spi_block_erase_d8, |
| 470 | }, { |
| 471 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 472 | .block_erase = spi_block_erase_60, |
| 473 | }, { |
| 474 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 475 | .block_erase = spi_block_erase_c7, |
| 476 | } |
| 477 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 478 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 479 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 480 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 481 | }, |
| 482 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 483 | { |
| 484 | .vendor = "Atmel", |
| 485 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 486 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 487 | .manufacture_id = ATMEL_ID, |
| 488 | .model_id = AT_25DF321A, |
| 489 | .total_size = 4096, |
| 490 | .page_size = 256, |
| 491 | .tested = TEST_UNTESTED, |
| 492 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 493 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 494 | .block_erasers = |
| 495 | { |
| 496 | { |
| 497 | .eraseblocks = { {4 * 1024, 1024} }, |
| 498 | .block_erase = spi_block_erase_20, |
| 499 | }, { |
| 500 | .eraseblocks = { {32 * 1024, 128} }, |
| 501 | .block_erase = spi_block_erase_52, |
| 502 | }, { |
| 503 | .eraseblocks = { {64 * 1024, 64} }, |
| 504 | .block_erase = spi_block_erase_d8, |
| 505 | }, { |
| 506 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 507 | .block_erase = spi_block_erase_60, |
| 508 | }, { |
| 509 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 510 | .block_erase = spi_block_erase_c7, |
| 511 | } |
| 512 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 513 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 514 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 515 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 516 | }, |
| 517 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 518 | { |
| 519 | .vendor = "Atmel", |
| 520 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 521 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 522 | .manufacture_id = ATMEL_ID, |
| 523 | .model_id = AT_25DF641, |
| 524 | .total_size = 8192, |
| 525 | .page_size = 256, |
| 526 | .tested = TEST_UNTESTED, |
| 527 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 528 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 529 | .block_erasers = |
| 530 | { |
| 531 | { |
| 532 | .eraseblocks = { {4 * 1024, 2048} }, |
| 533 | .block_erase = spi_block_erase_20, |
| 534 | }, { |
| 535 | .eraseblocks = { {32 * 1024, 256} }, |
| 536 | .block_erase = spi_block_erase_52, |
| 537 | }, { |
| 538 | .eraseblocks = { {64 * 1024, 128} }, |
| 539 | .block_erase = spi_block_erase_d8, |
| 540 | }, { |
| 541 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 542 | .block_erase = spi_block_erase_60, |
| 543 | }, { |
| 544 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 545 | .block_erase = spi_block_erase_c7, |
| 546 | } |
| 547 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 548 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 549 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 550 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 551 | }, |
| 552 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 553 | { |
| 554 | .vendor = "Atmel", |
| 555 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 556 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 557 | .manufacture_id = ATMEL_ID, |
| 558 | .model_id = AT_25F512B, |
| 559 | .total_size = 64, |
| 560 | .page_size = 256, |
| 561 | .tested = TEST_UNTESTED, |
| 562 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 563 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 564 | .block_erasers = |
| 565 | { |
| 566 | { |
| 567 | .eraseblocks = { {4 * 1024, 16} }, |
| 568 | .block_erase = spi_block_erase_20, |
| 569 | }, { |
| 570 | .eraseblocks = { {32 * 1024, 2} }, |
| 571 | .block_erase = spi_block_erase_52, |
| 572 | }, { |
| 573 | .eraseblocks = { {32 * 1024, 2} }, |
| 574 | .block_erase = spi_block_erase_d8, |
| 575 | }, { |
| 576 | .eraseblocks = { {64 * 1024, 1} }, |
| 577 | .block_erase = spi_block_erase_60, |
| 578 | }, { |
| 579 | .eraseblocks = { {64 * 1024, 1} }, |
| 580 | .block_erase = spi_block_erase_c7, |
| 581 | } |
| 582 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 583 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 584 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 585 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 586 | }, |
| 587 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 588 | { |
| 589 | .vendor = "Atmel", |
| 590 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 591 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 592 | .manufacture_id = ATMEL_ID, |
| 593 | .model_id = AT_25FS010, |
| 594 | .total_size = 128, |
| 595 | .page_size = 256, |
| 596 | .tested = TEST_UNTESTED, |
| 597 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 598 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 599 | .block_erasers = |
| 600 | { |
| 601 | { |
| 602 | .eraseblocks = { {4 * 1024, 32} }, |
| 603 | .block_erase = spi_block_erase_20, |
| 604 | }, { |
| 605 | .eraseblocks = { {32 * 1024, 4} }, |
| 606 | .block_erase = spi_block_erase_52, |
| 607 | }, { |
| 608 | .eraseblocks = { {32 * 1024, 4} }, |
| 609 | .block_erase = spi_block_erase_d8, |
| 610 | }, { |
| 611 | .eraseblocks = { {128 * 1024, 1} }, |
| 612 | .block_erase = spi_block_erase_60, |
| 613 | }, { |
| 614 | .eraseblocks = { {128 * 1024, 1} }, |
| 615 | .block_erase = spi_block_erase_c7, |
| 616 | } |
| 617 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 618 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 619 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 620 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 621 | }, |
| 622 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 623 | { |
| 624 | .vendor = "Atmel", |
| 625 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 626 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 627 | .manufacture_id = ATMEL_ID, |
| 628 | .model_id = AT_25FS040, |
| 629 | .total_size = 512, |
| 630 | .page_size = 256, |
| 631 | .tested = TEST_UNTESTED, |
| 632 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 633 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 634 | .block_erasers = |
| 635 | { |
| 636 | { |
| 637 | .eraseblocks = { {4 * 1024, 128} }, |
| 638 | .block_erase = spi_block_erase_20, |
| 639 | }, { |
| 640 | .eraseblocks = { {64 * 1024, 8} }, |
| 641 | .block_erase = spi_block_erase_52, |
| 642 | }, { |
| 643 | .eraseblocks = { {64 * 1024, 8} }, |
| 644 | .block_erase = spi_block_erase_d8, |
| 645 | }, { |
| 646 | .eraseblocks = { {512 * 1024, 1} }, |
| 647 | .block_erase = spi_block_erase_60, |
| 648 | }, { |
| 649 | .eraseblocks = { {512 * 1024, 1} }, |
| 650 | .block_erase = spi_block_erase_c7, |
| 651 | } |
| 652 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 653 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 654 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 655 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 656 | }, |
| 657 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 658 | { |
| 659 | .vendor = "Atmel", |
| 660 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 661 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 662 | .manufacture_id = ATMEL_ID, |
| 663 | .model_id = AT_26DF041, |
| 664 | .total_size = 512, |
| 665 | .page_size = 256, |
| 666 | .tested = TEST_UNTESTED, |
| 667 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 668 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 669 | .block_erasers = |
| 670 | { |
| 671 | { |
| 672 | .eraseblocks = { {4 * 1024, 128} }, |
| 673 | .block_erase = spi_block_erase_20, |
| 674 | } |
| 675 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 676 | .write = NULL /* Incompatible Page write */, |
| 677 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 678 | }, |
| 679 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 680 | { |
| 681 | .vendor = "Atmel", |
| 682 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 683 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 684 | .manufacture_id = ATMEL_ID, |
| 685 | .model_id = AT_26DF081A, |
| 686 | .total_size = 1024, |
| 687 | .page_size = 256, |
| 688 | .tested = TEST_UNTESTED, |
| 689 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 690 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 691 | .block_erasers = |
| 692 | { |
| 693 | { |
| 694 | .eraseblocks = { {4 * 1024, 256} }, |
| 695 | .block_erase = spi_block_erase_20, |
| 696 | }, { |
| 697 | .eraseblocks = { {32 * 1024, 32} }, |
| 698 | .block_erase = spi_block_erase_52, |
| 699 | }, { |
| 700 | .eraseblocks = { {64 * 1024, 16} }, |
| 701 | .block_erase = spi_block_erase_d8, |
| 702 | }, { |
| 703 | .eraseblocks = { {1024 * 1024, 1} }, |
| 704 | .block_erase = spi_block_erase_60, |
| 705 | }, { |
| 706 | .eraseblocks = { {1024 * 1024, 1} }, |
| 707 | .block_erase = spi_block_erase_c7, |
| 708 | } |
| 709 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 710 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 711 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 712 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 713 | }, |
| 714 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 715 | { |
| 716 | .vendor = "Atmel", |
| 717 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 718 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 719 | .manufacture_id = ATMEL_ID, |
| 720 | .model_id = AT_26DF161, |
| 721 | .total_size = 2048, |
| 722 | .page_size = 256, |
| 723 | .tested = TEST_UNTESTED, |
| 724 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 725 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 726 | .block_erasers = |
| 727 | { |
| 728 | { |
| 729 | .eraseblocks = { {4 * 1024, 512} }, |
| 730 | .block_erase = spi_block_erase_20, |
| 731 | }, { |
| 732 | .eraseblocks = { {32 * 1024, 64} }, |
| 733 | .block_erase = spi_block_erase_52, |
| 734 | }, { |
| 735 | .eraseblocks = { {64 * 1024, 32} }, |
| 736 | .block_erase = spi_block_erase_d8, |
| 737 | }, { |
| 738 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 739 | .block_erase = spi_block_erase_60, |
| 740 | }, { |
| 741 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 742 | .block_erase = spi_block_erase_c7, |
| 743 | } |
| 744 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 745 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 746 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 747 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 748 | }, |
| 749 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 750 | { |
| 751 | .vendor = "Atmel", |
| 752 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 753 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 754 | .manufacture_id = ATMEL_ID, |
| 755 | .model_id = AT_26DF161A, |
| 756 | .total_size = 2048, |
| 757 | .page_size = 256, |
| 758 | .tested = TEST_UNTESTED, |
| 759 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 760 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 761 | .block_erasers = |
| 762 | { |
| 763 | { |
| 764 | .eraseblocks = { {4 * 1024, 512} }, |
| 765 | .block_erase = spi_block_erase_20, |
| 766 | }, { |
| 767 | .eraseblocks = { {32 * 1024, 64} }, |
| 768 | .block_erase = spi_block_erase_52, |
| 769 | }, { |
| 770 | .eraseblocks = { {64 * 1024, 32} }, |
| 771 | .block_erase = spi_block_erase_d8, |
| 772 | }, { |
| 773 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 774 | .block_erase = spi_block_erase_60, |
| 775 | }, { |
| 776 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 777 | .block_erase = spi_block_erase_c7, |
| 778 | } |
| 779 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 780 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 781 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 782 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 783 | }, |
| 784 | |
| 785 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 786 | /*{ |
| 787 | .vendor = "Atmel", |
| 788 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 789 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 790 | .manufacture_id = ATMEL_ID, |
| 791 | .model_id = AT_26DF321, |
| 792 | .total_size = 4096, |
| 793 | .page_size = 256, |
| 794 | .tested = TEST_UNTESTED, |
| 795 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 796 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 797 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 798 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 799 | .read = spi_chip_read, |
| 800 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 801 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 802 | { |
| 803 | .vendor = "Atmel", |
| 804 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 805 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 806 | .manufacture_id = ATMEL_ID, |
| 807 | .model_id = AT_26F004, |
| 808 | .total_size = 512, |
| 809 | .page_size = 256, |
| 810 | .tested = TEST_UNTESTED, |
| 811 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 812 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 813 | .block_erasers = |
| 814 | { |
| 815 | { |
| 816 | .eraseblocks = { {4 * 1024, 128} }, |
| 817 | .block_erase = spi_block_erase_20, |
| 818 | }, { |
| 819 | .eraseblocks = { {32 * 1024, 16} }, |
| 820 | .block_erase = spi_block_erase_52, |
| 821 | }, { |
| 822 | .eraseblocks = { {64 * 1024, 8} }, |
| 823 | .block_erase = spi_block_erase_d8, |
| 824 | }, { |
| 825 | .eraseblocks = { {512 * 1024, 1} }, |
| 826 | .block_erase = spi_block_erase_60, |
| 827 | }, { |
| 828 | .eraseblocks = { {512 * 1024, 1} }, |
| 829 | .block_erase = spi_block_erase_c7, |
| 830 | } |
| 831 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 832 | .write = NULL /* Incompatible Page write */, |
| 833 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 834 | }, |
| 835 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 836 | { |
| 837 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 838 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 839 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 840 | .manufacture_id = ATMEL_ID, |
| 841 | .model_id = AT_29C512, |
| 842 | .total_size = 64, |
| 843 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 844 | .feature_bits = FEATURE_LONG_RESET, |
| 845 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 846 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 847 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 848 | .block_erasers = |
| 849 | { |
| 850 | { |
| 851 | .eraseblocks = { {64 * 1024, 1} }, |
| 852 | .block_erase = erase_chip_block_jedec, |
| 853 | } |
| 854 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 855 | .write = write_jedec, |
| 856 | .read = read_memmapped, |
| 857 | |
| 858 | }, |
| 859 | |
| 860 | { |
| 861 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 862 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 863 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 864 | .manufacture_id = ATMEL_ID, |
| 865 | .model_id = AT_29C010A, |
| 866 | .total_size = 128, |
| 867 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 868 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 869 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 870 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 871 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 872 | .block_erasers = |
| 873 | { |
| 874 | { |
| 875 | .eraseblocks = { {128 * 1024, 1} }, |
| 876 | .block_erase = erase_chip_block_jedec, |
| 877 | } |
| 878 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 879 | .write = write_jedec, /* FIXME */ |
| 880 | .read = read_memmapped, |
| 881 | }, |
| 882 | |
| 883 | { |
| 884 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 885 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 886 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 887 | .manufacture_id = ATMEL_ID, |
| 888 | .model_id = AT_29C020, |
| 889 | .total_size = 256, |
| 890 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 891 | .feature_bits = FEATURE_LONG_RESET, |
| 892 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 893 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 894 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 895 | .block_erasers = |
| 896 | { |
| 897 | { |
| 898 | .eraseblocks = { {256 * 1024, 1} }, |
| 899 | .block_erase = erase_chip_block_jedec, |
| 900 | } |
| 901 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 902 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 903 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 904 | }, |
| 905 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 906 | { |
| 907 | .vendor = "Atmel", |
| 908 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 909 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 910 | .manufacture_id = ATMEL_ID, |
| 911 | .model_id = AT_29C040A, |
| 912 | .total_size = 512, |
| 913 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 914 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 915 | .tested = TEST_UNTESTED, |
| 916 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 917 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 918 | .block_erasers = |
| 919 | { |
| 920 | { |
| 921 | .eraseblocks = { {512 * 1024, 1} }, |
| 922 | .block_erase = erase_chip_block_jedec, |
| 923 | } |
| 924 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 925 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 926 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 927 | }, |
| 928 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 929 | { |
| 930 | .vendor = "Atmel", |
| 931 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 932 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 933 | .manufacture_id = ATMEL_ID, |
| 934 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 935 | .total_size = 16896 /* No power of two sizes */, |
| 936 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 937 | .tested = TEST_BAD_READ, |
| 938 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 939 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 940 | .write = NULL /* Incompatible Page write */, |
| 941 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 942 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 943 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 944 | { |
| 945 | .vendor = "Atmel", |
| 946 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 947 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 948 | .manufacture_id = ATMEL_ID, |
| 949 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 950 | .total_size = 128 /* Size can only be determined from status register */, |
| 951 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 952 | .tested = TEST_BAD_READ, |
| 953 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 954 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 955 | .write = NULL, |
| 956 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 957 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 959 | { |
| 960 | .vendor = "Atmel", |
| 961 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 962 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 963 | .manufacture_id = ATMEL_ID, |
| 964 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 965 | .total_size = 256 /* Size can only be determined from status register */, |
| 966 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 967 | .tested = TEST_BAD_READ, |
| 968 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 969 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 970 | .write = NULL, |
| 971 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 972 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 973 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 974 | { |
| 975 | .vendor = "Atmel", |
| 976 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 977 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 978 | .manufacture_id = ATMEL_ID, |
| 979 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 980 | .total_size = 512 /* Size can only be determined from status register */, |
| 981 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 982 | .tested = TEST_BAD_READ, |
| 983 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 984 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 985 | .write = NULL, |
| 986 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 987 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 988 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 989 | { |
| 990 | .vendor = "Atmel", |
| 991 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 992 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 993 | .manufacture_id = ATMEL_ID, |
| 994 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 995 | .total_size = 1024 /* Size can only be determined from status register */, |
| 996 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 997 | .tested = TEST_BAD_READ, |
| 998 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 999 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1000 | .write = NULL, |
| 1001 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1002 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1003 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1004 | { |
| 1005 | .vendor = "Atmel", |
| 1006 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1007 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1008 | .manufacture_id = ATMEL_ID, |
| 1009 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1010 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1011 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1012 | .tested = TEST_BAD_READ, |
| 1013 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1014 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1015 | .write = NULL, |
| 1016 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1017 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1018 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1019 | { |
| 1020 | .vendor = "Atmel", |
| 1021 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1022 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1023 | .manufacture_id = ATMEL_ID, |
| 1024 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1025 | .total_size = 4224 /* No power of two sizes */, |
| 1026 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1027 | .tested = TEST_BAD_READ, |
| 1028 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1029 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1030 | .write = NULL, |
| 1031 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1032 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1033 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1034 | { |
| 1035 | .vendor = "Atmel", |
| 1036 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1037 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1038 | .manufacture_id = ATMEL_ID, |
| 1039 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1040 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1041 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1042 | .tested = TEST_BAD_READ, |
| 1043 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1044 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1045 | .write = NULL, |
| 1046 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1047 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1048 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1049 | { |
| 1050 | .vendor = "Atmel", |
| 1051 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1052 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1053 | .manufacture_id = ATMEL_ID, |
| 1054 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1055 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1056 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1057 | .tested = TEST_BAD_READ, |
| 1058 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1059 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1060 | .write = NULL, |
| 1061 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1062 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1063 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1064 | { |
| 1065 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1066 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1067 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1068 | .manufacture_id = ATMEL_ID, |
| 1069 | .model_id = AT_49BV512, |
| 1070 | .total_size = 64, |
| 1071 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1072 | .feature_bits = FEATURE_EITHER_RESET, |
| 1073 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1074 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1075 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1076 | .block_erasers = |
| 1077 | { |
| 1078 | { |
| 1079 | .eraseblocks = { {64 * 1024, 1} }, |
| 1080 | .block_erase = erase_chip_block_jedec, |
| 1081 | } |
| 1082 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1083 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1084 | .read = read_memmapped, |
| 1085 | }, |
| 1086 | |
| 1087 | { |
| 1088 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1089 | .name = "AT49F020", |
| 1090 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1091 | .manufacture_id = ATMEL_ID, |
| 1092 | .model_id = AT_49F020, |
| 1093 | .total_size = 256, |
| 1094 | .page_size = 256, |
| 1095 | .feature_bits = FEATURE_EITHER_RESET, |
| 1096 | .tested = TEST_OK_PREW, |
| 1097 | .probe = probe_jedec, |
| 1098 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 1099 | .block_erasers = |
| 1100 | { |
| 1101 | { |
| 1102 | .eraseblocks = { {256 * 1024, 1} }, |
| 1103 | .block_erase = erase_chip_block_jedec, |
| 1104 | } |
| 1105 | }, |
| 1106 | .write = write_jedec_1, |
| 1107 | .read = read_memmapped, |
| 1108 | }, |
| 1109 | |
| 1110 | { |
| 1111 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1112 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1113 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1114 | .manufacture_id = ATMEL_ID, |
| 1115 | .model_id = AT_49F002N, |
| 1116 | .total_size = 256, |
| 1117 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1118 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1119 | .tested = TEST_UNTESTED, |
| 1120 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1121 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1122 | .block_erasers = |
| 1123 | { |
| 1124 | { |
| 1125 | .eraseblocks = { |
| 1126 | {16 * 1024, 1}, |
| 1127 | {8 * 1024, 2}, |
| 1128 | {96 * 1024, 1}, |
| 1129 | {128 * 1024, 1}, |
| 1130 | }, |
| 1131 | .block_erase = erase_sector_jedec, |
| 1132 | }, { |
| 1133 | .eraseblocks = { {256 * 1024, 1} }, |
| 1134 | .block_erase = erase_chip_block_jedec, |
| 1135 | } |
| 1136 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1137 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1138 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1139 | }, |
| 1140 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1141 | { |
| 1142 | .vendor = "Atmel", |
| 1143 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1144 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1145 | .manufacture_id = ATMEL_ID, |
| 1146 | .model_id = AT_49F002NT, |
| 1147 | .total_size = 256, |
| 1148 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1149 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1150 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1151 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1152 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1153 | .block_erasers = |
| 1154 | { |
| 1155 | { |
| 1156 | .eraseblocks = { |
| 1157 | {128 * 1024, 1}, |
| 1158 | {96 * 1024, 1}, |
| 1159 | {8 * 1024, 2}, |
| 1160 | {16 * 1024, 1}, |
| 1161 | }, |
| 1162 | .block_erase = erase_sector_jedec, |
| 1163 | }, { |
| 1164 | .eraseblocks = { {256 * 1024, 1} }, |
| 1165 | .block_erase = erase_chip_block_jedec, |
| 1166 | } |
| 1167 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1168 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1169 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1170 | }, |
| 1171 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1172 | { |
| 1173 | .vendor = "AMIC", |
| 1174 | .name = "A25L05PT", |
| 1175 | .bustype = CHIP_BUSTYPE_SPI, |
| 1176 | .manufacture_id = AMIC_ID, |
| 1177 | .model_id = AMIC_A25L05PT, |
| 1178 | .total_size = 64, |
| 1179 | .page_size = 256, |
| 1180 | .tested = TEST_UNTESTED, |
| 1181 | .probe = probe_spi_rdid4, |
| 1182 | .probe_timing = TIMING_ZERO, |
| 1183 | .block_erasers = |
| 1184 | { |
| 1185 | { |
| 1186 | .eraseblocks = { |
| 1187 | {32 * 1024, 1}, |
| 1188 | {16 * 1024, 1}, |
| 1189 | {8 * 1024, 1}, |
| 1190 | {4 * 1024, 2}, |
| 1191 | }, |
| 1192 | .block_erase = spi_block_erase_d8, |
| 1193 | }, { |
| 1194 | .eraseblocks = { {64 * 1024, 1} }, |
| 1195 | .block_erase = spi_block_erase_c7, |
| 1196 | } |
| 1197 | }, |
| 1198 | .unlock = spi_disable_blockprotect, |
| 1199 | .write = spi_chip_write_256, |
| 1200 | .read = spi_chip_read, |
| 1201 | }, |
| 1202 | |
| 1203 | { |
| 1204 | .vendor = "AMIC", |
| 1205 | .name = "A25L05PU", |
| 1206 | .bustype = CHIP_BUSTYPE_SPI, |
| 1207 | .manufacture_id = AMIC_ID, |
| 1208 | .model_id = AMIC_A25L05PU, |
| 1209 | .total_size = 64, |
| 1210 | .page_size = 256, |
| 1211 | .tested = TEST_UNTESTED, |
| 1212 | .probe = probe_spi_rdid4, |
| 1213 | .probe_timing = TIMING_ZERO, |
| 1214 | .block_erasers = |
| 1215 | { |
| 1216 | { |
| 1217 | .eraseblocks = { |
| 1218 | {4 * 1024, 2}, |
| 1219 | {8 * 1024, 1}, |
| 1220 | {16 * 1024, 1}, |
| 1221 | {32 * 1024, 1}, |
| 1222 | }, |
| 1223 | .block_erase = spi_block_erase_d8, |
| 1224 | }, { |
| 1225 | .eraseblocks = { {64 * 1024, 1} }, |
| 1226 | .block_erase = spi_block_erase_c7, |
| 1227 | } |
| 1228 | }, |
| 1229 | .unlock = spi_disable_blockprotect, |
| 1230 | .write = spi_chip_write_256, |
| 1231 | .read = spi_chip_read, |
| 1232 | }, |
| 1233 | |
| 1234 | { |
| 1235 | .vendor = "AMIC", |
| 1236 | .name = "A25L10PT", |
| 1237 | .bustype = CHIP_BUSTYPE_SPI, |
| 1238 | .manufacture_id = AMIC_ID, |
| 1239 | .model_id = AMIC_A25L10PT, |
| 1240 | .total_size = 128, |
| 1241 | .page_size = 256, |
| 1242 | .tested = TEST_UNTESTED, |
| 1243 | .probe = probe_spi_rdid4, |
| 1244 | .probe_timing = TIMING_ZERO, |
| 1245 | .block_erasers = |
| 1246 | { |
| 1247 | { |
| 1248 | .eraseblocks = { |
| 1249 | {64 * 1024, 1}, |
| 1250 | {32 * 1024, 1}, |
| 1251 | {16 * 1024, 1}, |
| 1252 | {8 * 1024, 1}, |
| 1253 | {4 * 1024, 2}, |
| 1254 | }, |
| 1255 | .block_erase = spi_block_erase_d8, |
| 1256 | }, { |
| 1257 | .eraseblocks = { {128 * 1024, 1} }, |
| 1258 | .block_erase = spi_block_erase_c7, |
| 1259 | } |
| 1260 | }, |
| 1261 | .unlock = spi_disable_blockprotect, |
| 1262 | .write = spi_chip_write_256, |
| 1263 | .read = spi_chip_read, |
| 1264 | }, |
| 1265 | |
| 1266 | { |
| 1267 | .vendor = "AMIC", |
| 1268 | .name = "A25L10PU", |
| 1269 | .bustype = CHIP_BUSTYPE_SPI, |
| 1270 | .manufacture_id = AMIC_ID, |
| 1271 | .model_id = AMIC_A25L10PU, |
| 1272 | .total_size = 128, |
| 1273 | .page_size = 256, |
| 1274 | .tested = TEST_UNTESTED, |
| 1275 | .probe = probe_spi_rdid4, |
| 1276 | .probe_timing = TIMING_ZERO, |
| 1277 | .block_erasers = |
| 1278 | { |
| 1279 | { |
| 1280 | .eraseblocks = { |
| 1281 | {4 * 1024, 2}, |
| 1282 | {8 * 1024, 1}, |
| 1283 | {16 * 1024, 1}, |
| 1284 | {32 * 1024, 1}, |
| 1285 | {64 * 1024, 1}, |
| 1286 | }, |
| 1287 | .block_erase = spi_block_erase_d8, |
| 1288 | }, { |
| 1289 | .eraseblocks = { {128 * 1024, 1} }, |
| 1290 | .block_erase = spi_block_erase_c7, |
| 1291 | } |
| 1292 | }, |
| 1293 | .unlock = spi_disable_blockprotect, |
| 1294 | .write = spi_chip_write_256, |
| 1295 | .read = spi_chip_read, |
| 1296 | }, |
| 1297 | |
| 1298 | { |
| 1299 | .vendor = "AMIC", |
| 1300 | .name = "A25L20PT", |
| 1301 | .bustype = CHIP_BUSTYPE_SPI, |
| 1302 | .manufacture_id = AMIC_ID, |
| 1303 | .model_id = AMIC_A25L20PT, |
| 1304 | .total_size = 256, |
| 1305 | .page_size = 256, |
| 1306 | .tested = TEST_UNTESTED, |
| 1307 | .probe = probe_spi_rdid4, |
| 1308 | .probe_timing = TIMING_ZERO, |
| 1309 | .block_erasers = |
| 1310 | { |
| 1311 | { |
| 1312 | .eraseblocks = { |
| 1313 | {64 * 1024, 3}, |
| 1314 | {32 * 1024, 1}, |
| 1315 | {16 * 1024, 1}, |
| 1316 | {8 * 1024, 1}, |
| 1317 | {4 * 1024, 2}, |
| 1318 | }, |
| 1319 | .block_erase = spi_block_erase_d8, |
| 1320 | }, { |
| 1321 | .eraseblocks = { {256 * 1024, 1} }, |
| 1322 | .block_erase = spi_block_erase_c7, |
| 1323 | } |
| 1324 | }, |
| 1325 | .unlock = spi_disable_blockprotect, |
| 1326 | .write = spi_chip_write_256, |
| 1327 | .read = spi_chip_read, |
| 1328 | }, |
| 1329 | |
| 1330 | { |
| 1331 | .vendor = "AMIC", |
| 1332 | .name = "A25L20PU", |
| 1333 | .bustype = CHIP_BUSTYPE_SPI, |
| 1334 | .manufacture_id = AMIC_ID, |
| 1335 | .model_id = AMIC_A25L20PU, |
| 1336 | .total_size = 256, |
| 1337 | .page_size = 256, |
| 1338 | .tested = TEST_UNTESTED, |
| 1339 | .probe = probe_spi_rdid4, |
| 1340 | .probe_timing = TIMING_ZERO, |
| 1341 | .block_erasers = |
| 1342 | { |
| 1343 | { |
| 1344 | .eraseblocks = { |
| 1345 | {4 * 1024, 2}, |
| 1346 | {8 * 1024, 1}, |
| 1347 | {16 * 1024, 1}, |
| 1348 | {32 * 1024, 1}, |
| 1349 | {64 * 1024, 3}, |
| 1350 | }, |
| 1351 | .block_erase = spi_block_erase_d8, |
| 1352 | }, { |
| 1353 | .eraseblocks = { {256 * 1024, 1} }, |
| 1354 | .block_erase = spi_block_erase_c7, |
| 1355 | } |
| 1356 | }, |
| 1357 | .unlock = spi_disable_blockprotect, |
| 1358 | .write = spi_chip_write_256, |
| 1359 | .read = spi_chip_read, |
| 1360 | }, |
| 1361 | |
| 1362 | /* The A25L40P{T,U} chips are distinguished by their |
| 1363 | * erase block layouts, but without any distinction in RDID. |
| 1364 | * This inexplicable quirk was verified by Rudolf Marek |
| 1365 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 1366 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1367 | { |
| 1368 | .vendor = "AMIC", |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1369 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1370 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1371 | .manufacture_id = AMIC_ID, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1372 | .model_id = AMIC_A25L40PT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1373 | .total_size = 512, |
| 1374 | .page_size = 256, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1375 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1376 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1377 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1378 | .block_erasers = |
| 1379 | { |
| 1380 | { |
| 1381 | .eraseblocks = { |
| 1382 | {64 * 1024, 7}, |
| 1383 | {32 * 1024, 1}, |
| 1384 | {16 * 1024, 1}, |
| 1385 | {8 * 1024, 1}, |
| 1386 | {4 * 1024, 2}, |
| 1387 | }, |
| 1388 | .block_erase = spi_block_erase_d8, |
| 1389 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1390 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1391 | .block_erase = spi_block_erase_c7, |
| 1392 | } |
| 1393 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1394 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1395 | .write = spi_chip_write_256, |
| 1396 | .read = spi_chip_read, |
| 1397 | }, |
| 1398 | |
| 1399 | { |
| 1400 | .vendor = "AMIC", |
| 1401 | .name = "A25L40PU", |
| 1402 | .bustype = CHIP_BUSTYPE_SPI, |
| 1403 | .manufacture_id = AMIC_ID, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1404 | .model_id = AMIC_A25L40PU, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1405 | .total_size = 512, |
| 1406 | .page_size = 256, |
| 1407 | .tested = TEST_OK_PRW, |
| 1408 | .probe = probe_spi_rdid4, |
| 1409 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1410 | .block_erasers = |
| 1411 | { |
| 1412 | { |
| 1413 | .eraseblocks = { |
| 1414 | {4 * 1024, 2}, |
| 1415 | {8 * 1024, 1}, |
| 1416 | {16 * 1024, 1}, |
| 1417 | {32 * 1024, 1}, |
| 1418 | {64 * 1024, 7}, |
| 1419 | }, |
| 1420 | .block_erase = spi_block_erase_d8, |
| 1421 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1422 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1423 | .block_erase = spi_block_erase_c7, |
| 1424 | } |
| 1425 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1426 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1427 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1428 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1429 | }, |
| 1430 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1431 | { |
| 1432 | .vendor = "AMIC", |
Daniel Lenski | 550f5c8 | 2010-07-11 21:33:31 +0000 | [diff] [blame] | 1433 | .name = "A25L80P", |
| 1434 | .bustype = CHIP_BUSTYPE_SPI, |
| 1435 | .manufacture_id = AMIC_ID, |
| 1436 | .model_id = AMIC_A25L80P, |
| 1437 | .total_size = 1024, |
| 1438 | .page_size = 256, |
| 1439 | .tested = TEST_OK_PREW, |
| 1440 | .probe = probe_spi_rdid4, |
| 1441 | .probe_timing = TIMING_ZERO, |
| 1442 | .block_erasers = |
| 1443 | { |
| 1444 | { |
| 1445 | .eraseblocks = { |
| 1446 | {4 * 1024, 2}, |
| 1447 | {8 * 1024, 1}, |
| 1448 | {16 * 1024, 1}, |
| 1449 | {32 * 1024, 1}, |
| 1450 | {64 * 1024, 15}, |
| 1451 | }, |
| 1452 | .block_erase = spi_block_erase_d8, |
| 1453 | }, { |
| 1454 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1455 | .block_erase = spi_block_erase_c7, |
| 1456 | } |
| 1457 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1458 | .unlock = spi_disable_blockprotect, |
Daniel Lenski | 550f5c8 | 2010-07-11 21:33:31 +0000 | [diff] [blame] | 1459 | .write = spi_chip_write_256, |
| 1460 | .read = spi_chip_read, |
| 1461 | }, |
| 1462 | |
| 1463 | { |
| 1464 | .vendor = "AMIC", |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1465 | .name = "A25L16PT", |
| 1466 | .bustype = CHIP_BUSTYPE_SPI, |
| 1467 | .manufacture_id = AMIC_ID, |
| 1468 | .model_id = AMIC_A25L16PT, |
| 1469 | .total_size = 2048, |
| 1470 | .page_size = 256, |
| 1471 | .tested = TEST_UNTESTED, |
| 1472 | .probe = probe_spi_rdid4, |
| 1473 | .probe_timing = TIMING_ZERO, |
| 1474 | .block_erasers = |
| 1475 | { |
| 1476 | { |
| 1477 | .eraseblocks = { |
| 1478 | {64 * 1024, 31}, |
| 1479 | {32 * 1024, 1}, |
| 1480 | {16 * 1024, 1}, |
| 1481 | {8 * 1024, 1}, |
| 1482 | {4 * 1024, 2}, |
| 1483 | }, |
| 1484 | .block_erase = spi_block_erase_d8, |
| 1485 | }, { |
| 1486 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1487 | .block_erase = spi_block_erase_60, |
| 1488 | }, { |
| 1489 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1490 | .block_erase = spi_block_erase_c7, |
| 1491 | } |
| 1492 | }, |
| 1493 | .unlock = spi_disable_blockprotect, |
| 1494 | .write = spi_chip_write_256, |
| 1495 | .read = spi_chip_read, |
| 1496 | }, |
| 1497 | |
| 1498 | { |
| 1499 | .vendor = "AMIC", |
| 1500 | .name = "A25L16PU", |
| 1501 | .bustype = CHIP_BUSTYPE_SPI, |
| 1502 | .manufacture_id = AMIC_ID, |
| 1503 | .model_id = AMIC_A25L16PU, |
| 1504 | .total_size = 2048, |
| 1505 | .page_size = 256, |
| 1506 | .tested = TEST_OK_PRW, |
| 1507 | .probe = probe_spi_rdid4, |
| 1508 | .probe_timing = TIMING_ZERO, |
| 1509 | .block_erasers = |
| 1510 | { |
| 1511 | { |
| 1512 | .eraseblocks = { |
| 1513 | {4 * 1024, 2}, |
| 1514 | {8 * 1024, 1}, |
| 1515 | {16 * 1024, 1}, |
| 1516 | {32 * 1024, 1}, |
| 1517 | {64 * 1024, 31}, |
| 1518 | }, |
| 1519 | .block_erase = spi_block_erase_d8, |
| 1520 | }, { |
| 1521 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1522 | .block_erase = spi_block_erase_60, |
| 1523 | }, { |
| 1524 | .eraseblocks = { {2048 * 1024, 1} }, |
| 1525 | .block_erase = spi_block_erase_c7, |
| 1526 | } |
| 1527 | }, |
| 1528 | .unlock = spi_disable_blockprotect, |
| 1529 | .write = spi_chip_write_256, |
| 1530 | .read = spi_chip_read, |
| 1531 | }, |
| 1532 | |
| 1533 | { |
| 1534 | .vendor = "AMIC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1535 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1536 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1537 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1538 | .model_id = AMIC_A29002B, |
| 1539 | .total_size = 256, |
| 1540 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1541 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1542 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1543 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1544 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1545 | .block_erasers = |
| 1546 | { |
| 1547 | { |
| 1548 | .eraseblocks = { |
| 1549 | {16 * 1024, 1}, |
| 1550 | {8 * 1024, 2}, |
| 1551 | {32 * 1024, 1}, |
| 1552 | {64 * 1024, 3}, |
| 1553 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1554 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1555 | }, { |
| 1556 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1557 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1558 | }, |
| 1559 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1560 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1561 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1562 | }, |
| 1563 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1564 | { |
| 1565 | .vendor = "AMIC", |
| 1566 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1567 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1568 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1569 | .model_id = AMIC_A29002T, |
| 1570 | .total_size = 256, |
| 1571 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1572 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1573 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1574 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1575 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1576 | .block_erasers = |
| 1577 | { |
| 1578 | { |
| 1579 | .eraseblocks = { |
| 1580 | {64 * 1024, 3}, |
| 1581 | {32 * 1024, 1}, |
| 1582 | {8 * 1024, 2}, |
| 1583 | {16 * 1024, 1}, |
| 1584 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1585 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1586 | }, { |
| 1587 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1588 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1589 | }, |
| 1590 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1591 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1592 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1593 | }, |
| 1594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | { |
| 1596 | .vendor = "AMIC", |
| 1597 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1598 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1599 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1600 | .model_id = AMIC_A29040B, |
| 1601 | .total_size = 512, |
| 1602 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1603 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1604 | .tested = TEST_UNTESTED, |
| 1605 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1606 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1607 | .block_erasers = |
| 1608 | { |
| 1609 | { |
| 1610 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1611 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1612 | }, { |
| 1613 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1614 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1615 | }, |
| 1616 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1617 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1618 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1619 | }, |
| 1620 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1621 | { |
| 1622 | .vendor = "AMIC", |
| 1623 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1624 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1625 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1626 | .model_id = AMIC_A49LF040A, |
| 1627 | .total_size = 512, |
| 1628 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1629 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 1630 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1631 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1632 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1633 | .block_erasers = |
| 1634 | { |
| 1635 | { |
| 1636 | .eraseblocks = { {64 * 1024, 8} }, |
| 1637 | .block_erase = erase_block_jedec, |
| 1638 | }, { |
| 1639 | .eraseblocks = { {512 * 1024, 1} }, |
| 1640 | .block_erase = erase_chip_block_jedec, |
| 1641 | } |
| 1642 | }, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 1643 | .unlock = unlock_49fl00x, |
| 1644 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1645 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1646 | }, |
| 1647 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1648 | { |
| 1649 | .vendor = "EMST", |
| 1650 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1651 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1652 | .manufacture_id = EMST_ID, |
| 1653 | .model_id = EMST_F49B002UA, |
| 1654 | .total_size = 256, |
| 1655 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1656 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1657 | .tested = TEST_UNTESTED, |
| 1658 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1659 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1660 | .block_erasers = |
| 1661 | { |
| 1662 | { |
| 1663 | .eraseblocks = { |
| 1664 | {128 * 1024, 1}, |
| 1665 | {96 * 1024, 1}, |
| 1666 | {8 * 1024, 2}, |
| 1667 | {16 * 1024, 1}, |
| 1668 | }, |
| 1669 | .block_erase = erase_sector_jedec, |
| 1670 | }, { |
| 1671 | .eraseblocks = { {256 * 1024, 1} }, |
| 1672 | .block_erase = erase_chip_block_jedec, |
| 1673 | } |
| 1674 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1675 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1676 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1677 | }, |
| 1678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1679 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 1680 | .vendor = "EMST", |
| 1681 | .name = "F25L008A", |
| 1682 | .bustype = CHIP_BUSTYPE_SPI, |
| 1683 | .manufacture_id = EMST_ID, |
| 1684 | .model_id = EMST_F25L008A, |
| 1685 | .total_size = 1024, |
| 1686 | .page_size = 256, |
| 1687 | .tested = TEST_UNTESTED, |
| 1688 | .probe = probe_spi_rdid, |
| 1689 | .probe_timing = TIMING_ZERO, |
| 1690 | .block_erasers = |
| 1691 | { |
| 1692 | { |
| 1693 | .eraseblocks = { {4 * 1024, 256} }, |
| 1694 | .block_erase = spi_block_erase_20, |
| 1695 | }, { |
| 1696 | .eraseblocks = { {64 * 1024, 16} }, |
| 1697 | .block_erase = spi_block_erase_d8, |
| 1698 | }, { |
| 1699 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1700 | .block_erase = spi_block_erase_60, |
| 1701 | }, { |
| 1702 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1703 | .block_erase = spi_block_erase_c7, |
| 1704 | } |
| 1705 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1706 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 1707 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 1708 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 1709 | }, |
| 1710 | |
| 1711 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1712 | .vendor = "Eon", |
| 1713 | .name = "EN25B05", |
| 1714 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1715 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1716 | .model_id = EN_25B05, |
| 1717 | .total_size = 64, |
| 1718 | .page_size = 256, |
| 1719 | .tested = TEST_UNTESTED, |
| 1720 | .probe = probe_spi_rdid, |
| 1721 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1722 | .block_erasers = |
| 1723 | { |
| 1724 | { |
| 1725 | .eraseblocks = { |
| 1726 | {4 * 1024, 2}, |
| 1727 | {8 * 1024, 1}, |
| 1728 | {16 * 1024, 1}, |
| 1729 | {32 * 1024, 1}, |
| 1730 | }, |
| 1731 | .block_erase = spi_block_erase_d8, |
| 1732 | }, { |
| 1733 | .eraseblocks = { {64 * 1024, 1} }, |
| 1734 | .block_erase = spi_block_erase_c7, |
| 1735 | } |
| 1736 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1737 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1738 | .write = spi_chip_write_256, |
| 1739 | .read = spi_chip_read, |
| 1740 | }, |
| 1741 | |
| 1742 | { |
| 1743 | .vendor = "Eon", |
| 1744 | .name = "EN25B05T", |
| 1745 | .bustype = CHIP_BUSTYPE_SPI, |
| 1746 | .manufacture_id = EON_ID_NOPREFIX, |
| 1747 | .model_id = EN_25B05, |
| 1748 | .total_size = 64, |
| 1749 | .page_size = 256, |
| 1750 | .tested = TEST_UNTESTED, |
| 1751 | .probe = probe_spi_rdid, |
| 1752 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1753 | .block_erasers = |
| 1754 | { |
| 1755 | { |
| 1756 | .eraseblocks = { |
| 1757 | {32 * 1024, 1}, |
| 1758 | {16 * 1024, 1}, |
| 1759 | {8 * 1024, 1}, |
| 1760 | {4 * 1024, 2}, |
| 1761 | }, |
| 1762 | .block_erase = spi_block_erase_d8, |
| 1763 | }, { |
| 1764 | .eraseblocks = { {64 * 1024, 1} }, |
| 1765 | .block_erase = spi_block_erase_c7, |
| 1766 | } |
| 1767 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1768 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1769 | .write = spi_chip_write_256, |
| 1770 | .read = spi_chip_read, |
| 1771 | }, |
| 1772 | |
| 1773 | { |
| 1774 | .vendor = "Eon", |
| 1775 | .name = "EN25B10", |
| 1776 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1777 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1778 | .model_id = EN_25B10, |
| 1779 | .total_size = 128, |
| 1780 | .page_size = 256, |
| 1781 | .tested = TEST_UNTESTED, |
| 1782 | .probe = probe_spi_rdid, |
| 1783 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1784 | .block_erasers = |
| 1785 | { |
| 1786 | { |
| 1787 | .eraseblocks = { |
| 1788 | {4 * 1024, 2}, |
| 1789 | {8 * 1024, 1}, |
| 1790 | {16 * 1024, 1}, |
| 1791 | {32 * 1024, 3}, |
| 1792 | }, |
| 1793 | .block_erase = spi_block_erase_d8, |
| 1794 | }, { |
| 1795 | .eraseblocks = { {128 * 1024, 1} }, |
| 1796 | .block_erase = spi_block_erase_c7, |
| 1797 | } |
| 1798 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1799 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1800 | .write = spi_chip_write_256, |
| 1801 | .read = spi_chip_read, |
| 1802 | }, |
| 1803 | |
| 1804 | { |
| 1805 | .vendor = "Eon", |
| 1806 | .name = "EN25B10T", |
| 1807 | .bustype = CHIP_BUSTYPE_SPI, |
| 1808 | .manufacture_id = EON_ID_NOPREFIX, |
| 1809 | .model_id = EN_25B10, |
| 1810 | .total_size = 128, |
| 1811 | .page_size = 256, |
| 1812 | .tested = TEST_UNTESTED, |
| 1813 | .probe = probe_spi_rdid, |
| 1814 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1815 | .block_erasers = |
| 1816 | { |
| 1817 | { |
| 1818 | .eraseblocks = { |
| 1819 | {32 * 1024, 3}, |
| 1820 | {16 * 1024, 1}, |
| 1821 | {8 * 1024, 1}, |
| 1822 | {4 * 1024, 2}, |
| 1823 | }, |
| 1824 | .block_erase = spi_block_erase_d8, |
| 1825 | }, { |
| 1826 | .eraseblocks = { {128 * 1024, 1} }, |
| 1827 | .block_erase = spi_block_erase_c7, |
| 1828 | } |
| 1829 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1830 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1831 | .write = spi_chip_write_256, |
| 1832 | .read = spi_chip_read, |
| 1833 | }, |
| 1834 | |
| 1835 | { |
| 1836 | .vendor = "Eon", |
| 1837 | .name = "EN25B20", |
| 1838 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1839 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1840 | .model_id = EN_25B20, |
| 1841 | .total_size = 256, |
| 1842 | .page_size = 256, |
| 1843 | .tested = TEST_UNTESTED, |
| 1844 | .probe = probe_spi_rdid, |
| 1845 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1846 | .block_erasers = |
| 1847 | { |
| 1848 | { |
| 1849 | .eraseblocks = { |
| 1850 | {4 * 1024, 2}, |
| 1851 | {8 * 1024, 1}, |
| 1852 | {16 * 1024, 1}, |
| 1853 | {32 * 1024, 1}, |
| 1854 | {64 * 1024, 3} |
| 1855 | }, |
| 1856 | .block_erase = spi_block_erase_d8, |
| 1857 | }, { |
| 1858 | .eraseblocks = { {256 * 1024, 1} }, |
| 1859 | .block_erase = spi_block_erase_c7, |
| 1860 | } |
| 1861 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1862 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1863 | .write = spi_chip_write_256, |
| 1864 | .read = spi_chip_read, |
| 1865 | }, |
| 1866 | |
| 1867 | { |
| 1868 | .vendor = "Eon", |
| 1869 | .name = "EN25B20T", |
| 1870 | .bustype = CHIP_BUSTYPE_SPI, |
| 1871 | .manufacture_id = EON_ID_NOPREFIX, |
| 1872 | .model_id = EN_25B20, |
| 1873 | .total_size = 256, |
| 1874 | .page_size = 256, |
| 1875 | .tested = TEST_UNTESTED, |
| 1876 | .probe = probe_spi_rdid, |
| 1877 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1878 | .block_erasers = |
| 1879 | { |
| 1880 | { |
| 1881 | .eraseblocks = { |
| 1882 | {64 * 1024, 3}, |
| 1883 | {32 * 1024, 1}, |
| 1884 | {16 * 1024, 1}, |
| 1885 | {8 * 1024, 1}, |
| 1886 | {4 * 1024, 2}, |
| 1887 | }, |
| 1888 | .block_erase = spi_block_erase_d8, |
| 1889 | }, { |
| 1890 | .eraseblocks = { {256 * 1024, 1} }, |
| 1891 | .block_erase = spi_block_erase_c7, |
| 1892 | } |
| 1893 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1894 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1895 | .write = spi_chip_write_256, |
| 1896 | .read = spi_chip_read, |
| 1897 | }, |
| 1898 | |
| 1899 | { |
| 1900 | .vendor = "Eon", |
| 1901 | .name = "EN25B40", |
| 1902 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1903 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1904 | .model_id = EN_25B40, |
| 1905 | .total_size = 512, |
| 1906 | .page_size = 256, |
| 1907 | .tested = TEST_UNTESTED, |
| 1908 | .probe = probe_spi_rdid, |
| 1909 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1910 | .block_erasers = |
| 1911 | { |
| 1912 | { |
| 1913 | .eraseblocks = { |
| 1914 | {4 * 1024, 2}, |
| 1915 | {8 * 1024, 1}, |
| 1916 | {16 * 1024, 1}, |
| 1917 | {32 * 1024, 1}, |
| 1918 | {64 * 1024, 7} |
| 1919 | }, |
| 1920 | .block_erase = spi_block_erase_d8, |
| 1921 | }, { |
| 1922 | .eraseblocks = { {512 * 1024, 1} }, |
| 1923 | .block_erase = spi_block_erase_c7, |
| 1924 | } |
| 1925 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1926 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1927 | .write = spi_chip_write_256, |
| 1928 | .read = spi_chip_read, |
| 1929 | }, |
| 1930 | |
| 1931 | { |
| 1932 | .vendor = "Eon", |
| 1933 | .name = "EN25B40T", |
| 1934 | .bustype = CHIP_BUSTYPE_SPI, |
| 1935 | .manufacture_id = EON_ID_NOPREFIX, |
| 1936 | .model_id = EN_25B40, |
| 1937 | .total_size = 512, |
| 1938 | .page_size = 256, |
| 1939 | .tested = TEST_UNTESTED, |
| 1940 | .probe = probe_spi_rdid, |
| 1941 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1942 | .block_erasers = |
| 1943 | { |
| 1944 | { |
| 1945 | .eraseblocks = { |
| 1946 | {64 * 1024, 7}, |
| 1947 | {32 * 1024, 1}, |
| 1948 | {16 * 1024, 1}, |
| 1949 | {8 * 1024, 1}, |
| 1950 | {4 * 1024, 2}, |
| 1951 | }, |
| 1952 | .block_erase = spi_block_erase_d8, |
| 1953 | }, { |
| 1954 | .eraseblocks = { {512 * 1024, 1} }, |
| 1955 | .block_erase = spi_block_erase_c7, |
| 1956 | } |
| 1957 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1958 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1959 | .write = spi_chip_write_256, |
| 1960 | .read = spi_chip_read, |
| 1961 | }, |
| 1962 | |
| 1963 | { |
| 1964 | .vendor = "Eon", |
| 1965 | .name = "EN25B80", |
| 1966 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1967 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1968 | .model_id = EN_25B80, |
| 1969 | .total_size = 1024, |
| 1970 | .page_size = 256, |
| 1971 | .tested = TEST_UNTESTED, |
| 1972 | .probe = probe_spi_rdid, |
| 1973 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1974 | .block_erasers = |
| 1975 | { |
| 1976 | { |
| 1977 | .eraseblocks = { |
| 1978 | {4 * 1024, 2}, |
| 1979 | {8 * 1024, 1}, |
| 1980 | {16 * 1024, 1}, |
| 1981 | {32 * 1024, 1}, |
| 1982 | {64 * 1024, 15} |
| 1983 | }, |
| 1984 | .block_erase = spi_block_erase_d8, |
| 1985 | }, { |
| 1986 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1987 | .block_erase = spi_block_erase_c7, |
| 1988 | } |
| 1989 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1990 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1991 | .write = spi_chip_write_256, |
| 1992 | .read = spi_chip_read, |
| 1993 | }, |
| 1994 | |
| 1995 | { |
| 1996 | .vendor = "Eon", |
| 1997 | .name = "EN25B80T", |
| 1998 | .bustype = CHIP_BUSTYPE_SPI, |
| 1999 | .manufacture_id = EON_ID_NOPREFIX, |
| 2000 | .model_id = EN_25B80, |
| 2001 | .total_size = 1024, |
| 2002 | .page_size = 256, |
| 2003 | .tested = TEST_UNTESTED, |
| 2004 | .probe = probe_spi_rdid, |
| 2005 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2006 | .block_erasers = |
| 2007 | { |
| 2008 | { |
| 2009 | .eraseblocks = { |
| 2010 | {64 * 1024, 15}, |
| 2011 | {32 * 1024, 1}, |
| 2012 | {16 * 1024, 1}, |
| 2013 | {8 * 1024, 1}, |
| 2014 | {4 * 1024, 2}, |
| 2015 | }, |
| 2016 | .block_erase = spi_block_erase_d8, |
| 2017 | }, { |
| 2018 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2019 | .block_erase = spi_block_erase_c7, |
| 2020 | } |
| 2021 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2022 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2023 | .write = spi_chip_write_256, |
| 2024 | .read = spi_chip_read, |
| 2025 | }, |
| 2026 | |
| 2027 | { |
| 2028 | .vendor = "Eon", |
| 2029 | .name = "EN25B16", |
| 2030 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2031 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2032 | .model_id = EN_25B16, |
| 2033 | .total_size = 2048, |
| 2034 | .page_size = 256, |
| 2035 | .tested = TEST_UNTESTED, |
| 2036 | .probe = probe_spi_rdid, |
| 2037 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2038 | .block_erasers = |
| 2039 | { |
| 2040 | { |
| 2041 | .eraseblocks = { |
| 2042 | {4 * 1024, 2}, |
| 2043 | {8 * 1024, 1}, |
| 2044 | {16 * 1024, 1}, |
| 2045 | {32 * 1024, 1}, |
| 2046 | {64 * 1024, 31}, |
| 2047 | }, |
| 2048 | .block_erase = spi_block_erase_d8, |
| 2049 | }, { |
| 2050 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2051 | .block_erase = spi_block_erase_c7, |
| 2052 | } |
| 2053 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2054 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2055 | .write = spi_chip_write_256, |
| 2056 | .read = spi_chip_read, |
| 2057 | }, |
| 2058 | |
| 2059 | { |
| 2060 | .vendor = "Eon", |
| 2061 | .name = "EN25B16T", |
| 2062 | .bustype = CHIP_BUSTYPE_SPI, |
| 2063 | .manufacture_id = EON_ID_NOPREFIX, |
| 2064 | .model_id = EN_25B16, |
| 2065 | .total_size = 2048, |
| 2066 | .page_size = 256, |
| 2067 | .tested = TEST_UNTESTED, |
| 2068 | .probe = probe_spi_rdid, |
| 2069 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2070 | .block_erasers = |
| 2071 | { |
| 2072 | { |
| 2073 | .eraseblocks = { |
| 2074 | {64 * 1024, 31}, |
| 2075 | {32 * 1024, 1}, |
| 2076 | {16 * 1024, 1}, |
| 2077 | {8 * 1024, 1}, |
| 2078 | {4 * 1024, 2}, |
| 2079 | }, |
| 2080 | .block_erase = spi_block_erase_d8, |
| 2081 | }, { |
| 2082 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2083 | .block_erase = spi_block_erase_c7, |
| 2084 | } |
| 2085 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2086 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2087 | .write = spi_chip_write_256, |
| 2088 | .read = spi_chip_read, |
| 2089 | }, |
| 2090 | |
| 2091 | { |
| 2092 | .vendor = "Eon", |
| 2093 | .name = "EN25B32", |
| 2094 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2095 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2096 | .model_id = EN_25B32, |
| 2097 | .total_size = 4096, |
| 2098 | .page_size = 256, |
| 2099 | .tested = TEST_UNTESTED, |
| 2100 | .probe = probe_spi_rdid, |
| 2101 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2102 | .block_erasers = |
| 2103 | { |
| 2104 | { |
| 2105 | .eraseblocks = { |
| 2106 | {4 * 1024, 2}, |
| 2107 | {8 * 1024, 1}, |
| 2108 | {16 * 1024, 1}, |
| 2109 | {32 * 1024, 1}, |
| 2110 | {64 * 1024, 63}, |
| 2111 | }, |
| 2112 | .block_erase = spi_block_erase_d8, |
| 2113 | }, { |
| 2114 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2115 | .block_erase = spi_block_erase_c7, |
| 2116 | } |
| 2117 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2118 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2119 | .write = spi_chip_write_256, |
| 2120 | .read = spi_chip_read, |
| 2121 | }, |
| 2122 | |
| 2123 | { |
| 2124 | .vendor = "Eon", |
| 2125 | .name = "EN25B32T", |
| 2126 | .bustype = CHIP_BUSTYPE_SPI, |
| 2127 | .manufacture_id = EON_ID_NOPREFIX, |
| 2128 | .model_id = EN_25B32, |
| 2129 | .total_size = 4096, |
| 2130 | .page_size = 256, |
| 2131 | .tested = TEST_UNTESTED, |
| 2132 | .probe = probe_spi_rdid, |
| 2133 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2134 | .block_erasers = |
| 2135 | { |
| 2136 | { |
| 2137 | .eraseblocks = { |
| 2138 | {64 * 1024, 63}, |
| 2139 | {32 * 1024, 1}, |
| 2140 | {16 * 1024, 1}, |
| 2141 | {8 * 1024, 1}, |
| 2142 | {4 * 1024, 2}, |
| 2143 | }, |
| 2144 | .block_erase = spi_block_erase_d8, |
| 2145 | }, { |
| 2146 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2147 | .block_erase = spi_block_erase_c7, |
| 2148 | } |
| 2149 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2150 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2151 | .write = spi_chip_write_256, |
| 2152 | .read = spi_chip_read, |
| 2153 | }, |
| 2154 | |
| 2155 | { |
| 2156 | .vendor = "Eon", |
| 2157 | .name = "EN25B64", |
| 2158 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2159 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2160 | .model_id = EN_25B64, |
| 2161 | .total_size = 8192, |
| 2162 | .page_size = 256, |
| 2163 | .tested = TEST_UNTESTED, |
| 2164 | .probe = probe_spi_rdid, |
| 2165 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2166 | .block_erasers = |
| 2167 | { |
| 2168 | { |
| 2169 | .eraseblocks = { |
| 2170 | {4 * 1024, 2}, |
| 2171 | {8 * 1024, 1}, |
| 2172 | {16 * 1024, 1}, |
| 2173 | {32 * 1024, 1}, |
| 2174 | {64 * 1024, 127}, |
| 2175 | }, |
| 2176 | .block_erase = spi_block_erase_d8, |
| 2177 | }, { |
| 2178 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2179 | .block_erase = spi_block_erase_c7, |
| 2180 | } |
| 2181 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2182 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2183 | .write = spi_chip_write_256, |
| 2184 | .read = spi_chip_read, |
| 2185 | }, |
| 2186 | |
| 2187 | { |
| 2188 | .vendor = "Eon", |
| 2189 | .name = "EN25B64T", |
| 2190 | .bustype = CHIP_BUSTYPE_SPI, |
| 2191 | .manufacture_id = EON_ID_NOPREFIX, |
| 2192 | .model_id = EN_25B64, |
| 2193 | .total_size = 8192, |
| 2194 | .page_size = 256, |
| 2195 | .tested = TEST_UNTESTED, |
| 2196 | .probe = probe_spi_rdid, |
| 2197 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2198 | .block_erasers = |
| 2199 | { |
| 2200 | { |
| 2201 | .eraseblocks = { |
| 2202 | {64 * 1024, 127}, |
| 2203 | {32 * 1024, 1}, |
| 2204 | {16 * 1024, 1}, |
| 2205 | {8 * 1024, 1}, |
| 2206 | {4 * 1024, 2}, |
| 2207 | }, |
| 2208 | .block_erase = spi_block_erase_d8, |
| 2209 | }, { |
| 2210 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2211 | .block_erase = spi_block_erase_c7, |
| 2212 | } |
| 2213 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2214 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2215 | .write = spi_chip_write_256, |
| 2216 | .read = spi_chip_read, |
| 2217 | }, |
| 2218 | |
| 2219 | { |
| 2220 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2221 | .name = "EN25D16", |
| 2222 | .bustype = CHIP_BUSTYPE_SPI, |
| 2223 | .manufacture_id = EON_ID_NOPREFIX, |
| 2224 | .model_id = EN_25D16, |
| 2225 | .total_size = 2048, |
| 2226 | .page_size = 256, |
| 2227 | .tested = TEST_UNTESTED, |
| 2228 | .probe = probe_spi_rdid, |
| 2229 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2230 | .block_erasers = |
| 2231 | { |
| 2232 | { |
| 2233 | .eraseblocks = { {4 * 1024, 512} }, |
| 2234 | .block_erase = spi_block_erase_20, |
| 2235 | }, { |
| 2236 | .eraseblocks = { {64 * 1024, 32} }, |
| 2237 | .block_erase = spi_block_erase_d8, |
| 2238 | }, { |
| 2239 | .eraseblocks = { {64 * 1024, 32} }, |
| 2240 | .block_erase = spi_block_erase_52, |
| 2241 | }, { |
| 2242 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2243 | .block_erase = spi_block_erase_60, |
| 2244 | }, { |
| 2245 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2246 | .block_erase = spi_block_erase_c7, |
| 2247 | } |
| 2248 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2249 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2250 | .write = spi_chip_write_256, |
| 2251 | .read = spi_chip_read, |
| 2252 | }, |
| 2253 | |
| 2254 | { |
| 2255 | .vendor = "Eon", |
| 2256 | .name = "EN25F05", |
| 2257 | .bustype = CHIP_BUSTYPE_SPI, |
| 2258 | .manufacture_id = EON_ID_NOPREFIX, |
| 2259 | .model_id = EN_25F05, |
| 2260 | .total_size = 64, |
| 2261 | .page_size = 256, |
| 2262 | .tested = TEST_UNTESTED, |
| 2263 | .probe = probe_spi_rdid, |
| 2264 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2265 | .block_erasers = |
| 2266 | { |
| 2267 | { |
| 2268 | .eraseblocks = { {4 * 1024, 16} }, |
| 2269 | .block_erase = spi_block_erase_20, |
| 2270 | }, { |
| 2271 | .eraseblocks = { {32 * 1024, 2} }, |
| 2272 | .block_erase = spi_block_erase_d8, |
| 2273 | }, { |
| 2274 | .eraseblocks = { {32 * 1024, 2} }, |
| 2275 | .block_erase = spi_block_erase_52, |
| 2276 | }, { |
| 2277 | .eraseblocks = { {64 * 1024, 1} }, |
| 2278 | .block_erase = spi_block_erase_60, |
| 2279 | }, { |
| 2280 | .eraseblocks = { {64 * 1024, 1} }, |
| 2281 | .block_erase = spi_block_erase_c7, |
| 2282 | } |
| 2283 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2284 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2285 | .write = spi_chip_write_256, |
| 2286 | .read = spi_chip_read, |
| 2287 | }, |
| 2288 | |
| 2289 | { |
| 2290 | .vendor = "Eon", |
| 2291 | .name = "EN25F10", |
| 2292 | .bustype = CHIP_BUSTYPE_SPI, |
| 2293 | .manufacture_id = EON_ID_NOPREFIX, |
| 2294 | .model_id = EN_25F10, |
| 2295 | .total_size = 128, |
| 2296 | .page_size = 256, |
| 2297 | .tested = TEST_UNTESTED, |
| 2298 | .probe = probe_spi_rdid, |
| 2299 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2300 | .block_erasers = |
| 2301 | { |
| 2302 | { |
| 2303 | .eraseblocks = { {4 * 1024, 32} }, |
| 2304 | .block_erase = spi_block_erase_20, |
| 2305 | }, { |
| 2306 | .eraseblocks = { {32 * 1024, 4} }, |
| 2307 | .block_erase = spi_block_erase_d8, |
| 2308 | }, { |
| 2309 | .eraseblocks = { {32 * 1024, 4} }, |
| 2310 | .block_erase = spi_block_erase_52, |
| 2311 | }, { |
| 2312 | .eraseblocks = { {128 * 1024, 1} }, |
| 2313 | .block_erase = spi_block_erase_60, |
| 2314 | }, { |
| 2315 | .eraseblocks = { {128 * 1024, 1} }, |
| 2316 | .block_erase = spi_block_erase_c7, |
| 2317 | } |
| 2318 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2319 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2320 | .write = spi_chip_write_256, |
| 2321 | .read = spi_chip_read, |
| 2322 | }, |
| 2323 | |
| 2324 | { |
| 2325 | .vendor = "Eon", |
| 2326 | .name = "EN25F20", |
| 2327 | .bustype = CHIP_BUSTYPE_SPI, |
| 2328 | .manufacture_id = EON_ID_NOPREFIX, |
| 2329 | .model_id = EN_25F20, |
| 2330 | .total_size = 256, |
| 2331 | .page_size = 256, |
| 2332 | .tested = TEST_UNTESTED, |
| 2333 | .probe = probe_spi_rdid, |
| 2334 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2335 | .block_erasers = |
| 2336 | { |
| 2337 | { |
| 2338 | .eraseblocks = { {4 * 1024, 64} }, |
| 2339 | .block_erase = spi_block_erase_20, |
| 2340 | }, { |
| 2341 | .eraseblocks = { {64 * 1024, 4} }, |
| 2342 | .block_erase = spi_block_erase_d8, |
| 2343 | }, { |
| 2344 | .eraseblocks = { {64 * 1024, 4} }, |
| 2345 | .block_erase = spi_block_erase_52, |
| 2346 | }, { |
| 2347 | .eraseblocks = { {256 * 1024, 1} }, |
| 2348 | .block_erase = spi_block_erase_60, |
| 2349 | }, { |
| 2350 | .eraseblocks = { {256 * 1024, 1} }, |
| 2351 | .block_erase = spi_block_erase_c7, |
| 2352 | } |
| 2353 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2354 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2355 | .write = spi_chip_write_256, |
| 2356 | .read = spi_chip_read, |
| 2357 | }, |
| 2358 | |
| 2359 | { |
| 2360 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2361 | .name = "EN25F40", |
| 2362 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2363 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2364 | .model_id = EN_25F40, |
| 2365 | .total_size = 512, |
| 2366 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2367 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2368 | .probe = probe_spi_rdid, |
| 2369 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2370 | .block_erasers = |
| 2371 | { |
| 2372 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2373 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2374 | .block_erase = spi_block_erase_20, |
| 2375 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2376 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2377 | .block_erase = spi_block_erase_d8, |
| 2378 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2379 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2380 | .block_erase = spi_block_erase_60, |
| 2381 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2382 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2383 | .block_erase = spi_block_erase_c7, |
| 2384 | }, |
| 2385 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2386 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2387 | .write = spi_chip_write_256, |
| 2388 | .read = spi_chip_read, |
| 2389 | }, |
| 2390 | |
| 2391 | { |
| 2392 | .vendor = "Eon", |
| 2393 | .name = "EN25F80", |
| 2394 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2395 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2396 | .model_id = EN_25F80, |
| 2397 | .total_size = 1024, |
| 2398 | .page_size = 256, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 2399 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2400 | .probe = probe_spi_rdid, |
| 2401 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2402 | .block_erasers = |
| 2403 | { |
| 2404 | { |
| 2405 | .eraseblocks = { {4 * 1024, 256} }, |
| 2406 | .block_erase = spi_block_erase_20, |
| 2407 | }, { |
| 2408 | .eraseblocks = { {64 * 1024, 16} }, |
| 2409 | .block_erase = spi_block_erase_d8, |
| 2410 | }, { |
| 2411 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2412 | .block_erase = spi_block_erase_60, |
| 2413 | }, { |
| 2414 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2415 | .block_erase = spi_block_erase_c7, |
| 2416 | } |
| 2417 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2418 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2419 | .write = spi_chip_write_256, |
| 2420 | .read = spi_chip_read, |
| 2421 | }, |
| 2422 | |
| 2423 | { |
| 2424 | .vendor = "Eon", |
| 2425 | .name = "EN25F16", |
| 2426 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2427 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2428 | .model_id = EN_25F16, |
| 2429 | .total_size = 2048, |
| 2430 | .page_size = 256, |
| 2431 | .tested = TEST_UNTESTED, |
| 2432 | .probe = probe_spi_rdid, |
| 2433 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2434 | .block_erasers = |
| 2435 | { |
| 2436 | { |
| 2437 | .eraseblocks = { {4 * 1024, 512} }, |
| 2438 | .block_erase = spi_block_erase_20, |
| 2439 | }, { |
| 2440 | .eraseblocks = { {64 * 1024, 32} }, |
| 2441 | .block_erase = spi_block_erase_d8, |
| 2442 | }, { |
| 2443 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2444 | .block_erase = spi_block_erase_60, |
| 2445 | }, { |
| 2446 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2447 | .block_erase = spi_block_erase_c7, |
| 2448 | } |
| 2449 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2450 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2451 | .write = spi_chip_write_256, |
| 2452 | .read = spi_chip_read, |
| 2453 | }, |
| 2454 | |
| 2455 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2456 | .vendor = "Eon", |
| 2457 | .name = "EN25F32", |
| 2458 | .bustype = CHIP_BUSTYPE_SPI, |
| 2459 | .manufacture_id = EON_ID_NOPREFIX, |
| 2460 | .model_id = EN_25F32, |
| 2461 | .total_size = 4096, |
| 2462 | .page_size = 256, |
| 2463 | .tested = TEST_UNTESTED, |
| 2464 | .probe = probe_spi_rdid, |
| 2465 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2466 | .block_erasers = |
| 2467 | { |
| 2468 | { |
| 2469 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2470 | .block_erase = spi_block_erase_20, |
| 2471 | }, { |
| 2472 | .eraseblocks = { {64 * 1024, 64} }, |
| 2473 | .block_erase = spi_block_erase_d8, |
| 2474 | }, { |
| 2475 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2476 | .block_erase = spi_block_erase_60, |
| 2477 | }, { |
| 2478 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2479 | .block_erase = spi_block_erase_c7, |
| 2480 | } |
| 2481 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2482 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2483 | .write = spi_chip_write_256, |
| 2484 | .read = spi_chip_read, |
| 2485 | }, |
| 2486 | |
| 2487 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2488 | .vendor = "Eon", |
| 2489 | .name = "EN29F010", |
| 2490 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2491 | .manufacture_id = EON_ID, |
| 2492 | .model_id = EN_29F010, |
| 2493 | .total_size = 128, |
| 2494 | .page_size = 128, |
| 2495 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2496 | .tested = TEST_OK_PREW, |
| 2497 | .probe = probe_jedec, |
| 2498 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2499 | .block_erasers = |
| 2500 | { |
| 2501 | { |
| 2502 | .eraseblocks = { {16 * 1024, 8} }, |
| 2503 | .block_erase = erase_sector_jedec, |
| 2504 | }, |
| 2505 | { |
| 2506 | .eraseblocks = { {128 * 1024, 1} }, |
| 2507 | .block_erase = erase_chip_block_jedec, |
| 2508 | }, |
| 2509 | }, |
| 2510 | .write = write_jedec_1, |
| 2511 | .read = read_memmapped, |
| 2512 | }, |
| 2513 | |
| 2514 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2515 | .vendor = "EON", |
| 2516 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2517 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2518 | .manufacture_id = EON_ID, |
| 2519 | .model_id = EN_29F002B, |
| 2520 | .total_size = 256, |
| 2521 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2522 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2523 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2524 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2525 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2526 | .block_erasers = |
| 2527 | { |
| 2528 | { |
| 2529 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2530 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2531 | {8 * 1024, 2}, |
| 2532 | {32 * 1024, 1}, |
| 2533 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2534 | }, |
| 2535 | .block_erase = erase_sector_jedec, |
| 2536 | }, { |
| 2537 | .eraseblocks = { {256 * 1024, 1} }, |
| 2538 | .block_erase = erase_chip_block_jedec, |
| 2539 | }, |
| 2540 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2541 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2542 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2543 | }, |
| 2544 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2545 | { |
| 2546 | .vendor = "EON", |
| 2547 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2548 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2549 | .manufacture_id = EON_ID, |
| 2550 | .model_id = EN_29F002T, |
| 2551 | .total_size = 256, |
| 2552 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2553 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2554 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2555 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2556 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2557 | .block_erasers = |
| 2558 | { |
| 2559 | { |
| 2560 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2561 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2562 | {32 * 1024, 1}, |
| 2563 | {8 * 1024, 2}, |
| 2564 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2565 | }, |
| 2566 | .block_erase = erase_sector_jedec, |
| 2567 | }, { |
| 2568 | .eraseblocks = { {256 * 1024, 1} }, |
| 2569 | .block_erase = erase_chip_block_jedec, |
| 2570 | }, |
| 2571 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2572 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2573 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2574 | }, |
| 2575 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2576 | { |
| 2577 | .vendor = "Fujitsu", |
| 2578 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2579 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2580 | .manufacture_id = FUJITSU_ID, |
| 2581 | .model_id = MBM29F004BC, |
| 2582 | .total_size = 512, |
| 2583 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2584 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2585 | .tested = TEST_UNTESTED, |
| 2586 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2587 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2588 | .block_erasers = |
| 2589 | { |
| 2590 | { |
| 2591 | .eraseblocks = { |
| 2592 | {16 * 1024, 1}, |
| 2593 | {8 * 1024, 2}, |
| 2594 | {32 * 1024, 1}, |
| 2595 | {64 * 1024, 7}, |
| 2596 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2597 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2598 | }, { |
| 2599 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2600 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2601 | }, |
| 2602 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2603 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2604 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2605 | }, |
| 2606 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2607 | { |
| 2608 | .vendor = "Fujitsu", |
| 2609 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2610 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2611 | .manufacture_id = FUJITSU_ID, |
| 2612 | .model_id = MBM29F004TC, |
| 2613 | .total_size = 512, |
| 2614 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2615 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2616 | .tested = TEST_UNTESTED, |
| 2617 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2618 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2619 | .block_erasers = |
| 2620 | { |
| 2621 | { |
| 2622 | .eraseblocks = { |
| 2623 | {64 * 1024, 7}, |
| 2624 | {32 * 1024, 1}, |
| 2625 | {8 * 1024, 2}, |
| 2626 | {16 * 1024, 1}, |
| 2627 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2628 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2629 | }, { |
| 2630 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2631 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2632 | }, |
| 2633 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2634 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2635 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2636 | }, |
| 2637 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2638 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2639 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2640 | .vendor = "Fujitsu", |
| 2641 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2642 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2643 | .manufacture_id = FUJITSU_ID, |
| 2644 | .model_id = MBM29F400BC, |
| 2645 | .total_size = 512, |
| 2646 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2647 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2648 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2649 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2650 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2651 | .block_erasers = |
| 2652 | { |
| 2653 | { |
| 2654 | .eraseblocks = { |
| 2655 | {16 * 1024, 1}, |
| 2656 | {8 * 1024, 2}, |
| 2657 | {32 * 1024, 1}, |
| 2658 | {64 * 1024, 7}, |
| 2659 | }, |
| 2660 | .block_erase = block_erase_m29f400bt, |
| 2661 | }, { |
| 2662 | .eraseblocks = { {512 * 1024, 1} }, |
| 2663 | .block_erase = block_erase_chip_m29f400bt, |
| 2664 | }, |
| 2665 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2666 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2667 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2668 | }, |
| 2669 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2670 | { |
| 2671 | .vendor = "Fujitsu", |
| 2672 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2673 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2674 | .manufacture_id = FUJITSU_ID, |
| 2675 | .model_id = MBM29F400TC, |
| 2676 | .total_size = 512, |
| 2677 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2678 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2679 | .tested = TEST_UNTESTED, |
| 2680 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2681 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2682 | .block_erasers = |
| 2683 | { |
| 2684 | { |
| 2685 | .eraseblocks = { |
| 2686 | {64 * 1024, 7}, |
| 2687 | {32 * 1024, 1}, |
| 2688 | {8 * 1024, 2}, |
| 2689 | {16 * 1024, 1}, |
| 2690 | }, |
| 2691 | .block_erase = block_erase_m29f400bt, |
| 2692 | }, { |
| 2693 | .eraseblocks = { {512 * 1024, 1} }, |
| 2694 | .block_erase = block_erase_chip_m29f400bt, |
| 2695 | }, |
| 2696 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2697 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2698 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2699 | }, |
| 2700 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2701 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 2702 | .vendor = "Hyundai", |
| 2703 | .name = "HY29F002T", |
| 2704 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2705 | .manufacture_id = HYUNDAI_ID, |
| 2706 | .model_id = HY_29F002T, |
| 2707 | .total_size = 256, |
| 2708 | .page_size = 256 * 1024, |
| 2709 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 2710 | .tested = TEST_OK_PREW, |
| 2711 | .probe = probe_jedec, |
| 2712 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2713 | .block_erasers = |
| 2714 | { |
| 2715 | { |
| 2716 | .eraseblocks = { |
| 2717 | {64 * 1024, 3}, |
| 2718 | {32 * 1024, 1}, |
| 2719 | {8 * 1024, 2}, |
| 2720 | {16 * 1024, 1}, |
| 2721 | }, |
| 2722 | .block_erase = erase_sector_jedec, |
| 2723 | }, { |
| 2724 | .eraseblocks = { {256 * 1024, 1} }, |
| 2725 | .block_erase = erase_chip_block_jedec, |
| 2726 | }, |
| 2727 | }, |
| 2728 | .write = write_jedec_1, |
| 2729 | .read = read_memmapped, |
| 2730 | }, |
| 2731 | |
| 2732 | { |
| 2733 | .vendor = "Hyundai", |
| 2734 | .name = "HY29F002B", |
| 2735 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2736 | .manufacture_id = HYUNDAI_ID, |
| 2737 | .model_id = HY_29F002B, |
| 2738 | .total_size = 256, |
| 2739 | .page_size = 256 * 1024, |
| 2740 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 2741 | .tested = TEST_UNTESTED, |
| 2742 | .probe = probe_jedec, |
| 2743 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2744 | .block_erasers = |
| 2745 | { |
| 2746 | { |
| 2747 | .eraseblocks = { |
| 2748 | {16 * 1024, 1}, |
| 2749 | {8 * 1024, 2}, |
| 2750 | {32 * 1024, 1}, |
| 2751 | {64 * 1024, 3}, |
| 2752 | }, |
| 2753 | .block_erase = erase_sector_jedec, |
| 2754 | }, { |
| 2755 | .eraseblocks = { {256 * 1024, 1} }, |
| 2756 | .block_erase = erase_chip_block_jedec, |
| 2757 | }, |
| 2758 | }, |
| 2759 | .write = write_jedec_1, |
| 2760 | .read = read_memmapped, |
| 2761 | }, |
| 2762 | |
| 2763 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2764 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2765 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2766 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2767 | .manufacture_id = INTEL_ID, |
| 2768 | .model_id = P28F001BXB, |
| 2769 | .total_size = 128, |
| 2770 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2771 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2772 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2773 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2774 | .block_erasers = |
| 2775 | { |
| 2776 | { |
| 2777 | .eraseblocks = { |
| 2778 | {8 * 1024, 1}, |
| 2779 | {4 * 1024, 2}, |
| 2780 | {112 * 1024, 1}, |
| 2781 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2782 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2783 | }, |
| 2784 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2785 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2786 | .read = read_memmapped, |
| 2787 | }, |
| 2788 | |
| 2789 | { |
| 2790 | .vendor = "Intel", |
| 2791 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2792 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2793 | .manufacture_id = INTEL_ID, |
| 2794 | .model_id = P28F001BXT, |
| 2795 | .total_size = 128, |
| 2796 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2797 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2798 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2799 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2800 | .block_erasers = |
| 2801 | { |
| 2802 | { |
| 2803 | .eraseblocks = { |
| 2804 | {112 * 1024, 1}, |
| 2805 | {4 * 1024, 2}, |
| 2806 | {8 * 1024, 1}, |
| 2807 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2808 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2809 | }, |
| 2810 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2811 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2812 | .read = read_memmapped, |
| 2813 | }, |
| 2814 | |
| 2815 | { |
| 2816 | .vendor = "Intel", |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 2817 | .name = "28F002BC-T", |
| 2818 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2819 | .manufacture_id = INTEL_ID, |
| 2820 | .model_id = P28F002BC, |
| 2821 | .total_size = 256, |
| 2822 | .page_size = 256 * 1024, |
| 2823 | .tested = TEST_UNTESTED, |
| 2824 | .probe = probe_82802ab, |
| 2825 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2826 | .block_erasers = |
| 2827 | { |
| 2828 | { |
| 2829 | .eraseblocks = { |
| 2830 | {128 * 1024, 1}, |
| 2831 | {96 * 1024, 1}, |
| 2832 | {8 * 1024, 2}, |
| 2833 | {16 * 1024, 1}, |
| 2834 | }, |
| 2835 | .block_erase = erase_block_82802ab, |
| 2836 | }, |
| 2837 | }, |
| 2838 | .write = write_82802ab, |
| 2839 | .read = read_memmapped, |
| 2840 | }, |
| 2841 | |
| 2842 | { |
| 2843 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2844 | .name = "28F004S5", |
| 2845 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2846 | .manufacture_id = INTEL_ID, |
| 2847 | .model_id = E_28F004S5, |
| 2848 | .total_size = 512, |
| 2849 | .page_size = 256, |
| 2850 | .tested = TEST_UNTESTED, |
| 2851 | .probe = probe_82802ab, |
| 2852 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2853 | .block_erasers = |
| 2854 | { |
| 2855 | { |
| 2856 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2857 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2858 | }, |
| 2859 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2860 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2861 | .write = write_82802ab, |
| 2862 | .read = read_memmapped, |
| 2863 | }, |
| 2864 | |
| 2865 | { |
| 2866 | .vendor = "Intel", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 2867 | .name = "28F004BV/BE-B", |
| 2868 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2869 | .manufacture_id = INTEL_ID, |
| 2870 | .model_id = P28F004BB, |
| 2871 | .total_size = 512, |
| 2872 | .page_size = 128 * 1024, /* maximal block size */ |
| 2873 | .tested = TEST_UNTESTED, |
| 2874 | .probe = probe_82802ab, |
| 2875 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2876 | .block_erasers = |
| 2877 | { |
| 2878 | { |
| 2879 | .eraseblocks = { |
| 2880 | {16 * 1024, 1}, |
| 2881 | {8 * 1024, 2}, |
| 2882 | {96 * 1024, 1}, |
| 2883 | {128 * 1024, 3}, |
| 2884 | }, |
| 2885 | .block_erase = erase_block_82802ab, |
| 2886 | }, |
| 2887 | }, |
| 2888 | .write = write_82802ab, |
| 2889 | .read = read_memmapped, |
| 2890 | }, |
| 2891 | |
| 2892 | { |
| 2893 | .vendor = "Intel", |
| 2894 | .name = "28F004BV/BE-T", |
| 2895 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2896 | .manufacture_id = INTEL_ID, |
| 2897 | .model_id = P28F004BT, |
| 2898 | .total_size = 512, |
| 2899 | .page_size = 128 * 1024, /* maximal block size */ |
| 2900 | .tested = TEST_UNTESTED, |
| 2901 | .probe = probe_82802ab, |
| 2902 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2903 | .block_erasers = |
| 2904 | { |
| 2905 | { |
| 2906 | .eraseblocks = { |
| 2907 | {128 * 1024, 3}, |
| 2908 | {96 * 1024, 1}, |
| 2909 | {8 * 1024, 2}, |
| 2910 | {16 * 1024, 1}, |
| 2911 | }, |
| 2912 | .block_erase = erase_block_82802ab, |
| 2913 | }, |
| 2914 | }, |
| 2915 | .write = write_82802ab, |
| 2916 | .read = read_memmapped, |
| 2917 | }, |
| 2918 | |
| 2919 | { |
| 2920 | .vendor = "Intel", |
| 2921 | .name = "28F400BV/CV/CE-B", |
| 2922 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2923 | .manufacture_id = INTEL_ID, |
| 2924 | .model_id = P28F400BB, |
| 2925 | .total_size = 512, |
| 2926 | .page_size = 128 * 1024, /* maximal block size */ |
| 2927 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2928 | .tested = TEST_UNTESTED, |
| 2929 | .probe = probe_82802ab, |
| 2930 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2931 | .block_erasers = |
| 2932 | { |
| 2933 | { |
| 2934 | .eraseblocks = { |
| 2935 | {16 * 1024, 1}, |
| 2936 | {8 * 1024, 2}, |
| 2937 | {96 * 1024, 1}, |
| 2938 | {128 * 1024, 3}, |
| 2939 | }, |
| 2940 | .block_erase = erase_block_82802ab, |
| 2941 | }, |
| 2942 | }, |
| 2943 | .write = write_82802ab, |
| 2944 | .read = read_memmapped, |
| 2945 | }, |
| 2946 | |
| 2947 | { |
| 2948 | .vendor = "Intel", |
| 2949 | .name = "28F400BV/CV/CE-T", |
| 2950 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2951 | .manufacture_id = INTEL_ID, |
| 2952 | .model_id = P28F400BT, |
| 2953 | .total_size = 512, |
| 2954 | .page_size = 128 * 1024, /* maximal block size */ |
| 2955 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2956 | .tested = TEST_UNTESTED, |
| 2957 | .probe = probe_82802ab, |
| 2958 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2959 | .block_erasers = |
| 2960 | { |
| 2961 | { |
| 2962 | .eraseblocks = { |
| 2963 | {128 * 1024, 3}, |
| 2964 | {96 * 1024, 1}, |
| 2965 | {8 * 1024, 2}, |
| 2966 | {16 * 1024, 1}, |
| 2967 | }, |
| 2968 | .block_erase = erase_block_82802ab, |
| 2969 | }, |
| 2970 | }, |
| 2971 | .write = write_82802ab, |
| 2972 | .read = read_memmapped, |
| 2973 | }, |
| 2974 | |
| 2975 | { |
| 2976 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2977 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2978 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2979 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2980 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2981 | .total_size = 512, |
| 2982 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2983 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2984 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2985 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2986 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2987 | .block_erasers = |
| 2988 | { |
| 2989 | { |
| 2990 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2991 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2992 | }, |
| 2993 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2994 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2995 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2996 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2997 | }, |
| 2998 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2999 | { |
| 3000 | .vendor = "Intel", |
| 3001 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3002 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3003 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3004 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3005 | .total_size = 1024, |
| 3006 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3007 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3008 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3009 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3010 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3011 | .block_erasers = |
| 3012 | { |
| 3013 | { |
| 3014 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3015 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3016 | }, |
| 3017 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3018 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3019 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3020 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3021 | }, |
| 3022 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3023 | { |
| 3024 | .vendor = "Macronix", |
| 3025 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3026 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3027 | .manufacture_id = MX_ID, |
| 3028 | .model_id = MX_25L512, |
| 3029 | .total_size = 64, |
| 3030 | .page_size = 256, |
| 3031 | .tested = TEST_UNTESTED, |
| 3032 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3033 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3034 | .block_erasers = |
| 3035 | { |
| 3036 | { |
| 3037 | .eraseblocks = { {4 * 1024, 16} }, |
| 3038 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3039 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3040 | .eraseblocks = { {64 * 1024, 1} }, |
| 3041 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3042 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3043 | .eraseblocks = { {64 * 1024, 1} }, |
| 3044 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3045 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3046 | .eraseblocks = { {64 * 1024, 1} }, |
| 3047 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3048 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3049 | .eraseblocks = { {64 * 1024, 1} }, |
| 3050 | .block_erase = spi_block_erase_c7, |
| 3051 | }, |
| 3052 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3053 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3054 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3055 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3056 | }, |
| 3057 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3058 | { |
| 3059 | .vendor = "Macronix", |
| 3060 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3061 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3062 | .manufacture_id = MX_ID, |
| 3063 | .model_id = MX_25L1005, |
| 3064 | .total_size = 128, |
| 3065 | .page_size = 256, |
| 3066 | .tested = TEST_UNTESTED, |
| 3067 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3068 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3069 | .block_erasers = |
| 3070 | { |
| 3071 | { |
| 3072 | .eraseblocks = { {4 * 1024, 32} }, |
| 3073 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3074 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3075 | .eraseblocks = { {64 * 1024, 2} }, |
| 3076 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3077 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3078 | .eraseblocks = { {128 * 1024, 1} }, |
| 3079 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3080 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3081 | .eraseblocks = { {128 * 1024, 1} }, |
| 3082 | .block_erase = spi_block_erase_c7, |
| 3083 | }, |
| 3084 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3085 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3086 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3087 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3088 | }, |
| 3089 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3090 | { |
| 3091 | .vendor = "Macronix", |
| 3092 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3093 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3094 | .manufacture_id = MX_ID, |
| 3095 | .model_id = MX_25L2005, |
| 3096 | .total_size = 256, |
| 3097 | .page_size = 256, |
| 3098 | .tested = TEST_UNTESTED, |
| 3099 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3100 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3101 | .block_erasers = |
| 3102 | { |
| 3103 | { |
| 3104 | .eraseblocks = { {4 * 1024, 64} }, |
| 3105 | .block_erase = spi_block_erase_20, |
| 3106 | }, { |
| 3107 | .eraseblocks = { {64 * 1024, 4} }, |
| 3108 | .block_erase = spi_block_erase_52, |
| 3109 | }, { |
| 3110 | .eraseblocks = { {64 * 1024, 4} }, |
| 3111 | .block_erase = spi_block_erase_d8, |
| 3112 | }, { |
| 3113 | .eraseblocks = { {256 * 1024, 1} }, |
| 3114 | .block_erase = spi_block_erase_60, |
| 3115 | }, { |
| 3116 | .eraseblocks = { {256 * 1024, 1} }, |
| 3117 | .block_erase = spi_block_erase_c7, |
| 3118 | }, |
| 3119 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3120 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3121 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3122 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3123 | }, |
| 3124 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3125 | { |
| 3126 | .vendor = "Macronix", |
| 3127 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3128 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3129 | .manufacture_id = MX_ID, |
| 3130 | .model_id = MX_25L4005, |
| 3131 | .total_size = 512, |
| 3132 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3133 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3134 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3135 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3136 | .block_erasers = |
| 3137 | { |
| 3138 | { |
| 3139 | .eraseblocks = { {4 * 1024, 128} }, |
| 3140 | .block_erase = spi_block_erase_20, |
| 3141 | }, { |
| 3142 | .eraseblocks = { {64 * 1024, 8} }, |
| 3143 | .block_erase = spi_block_erase_52, |
| 3144 | }, { |
| 3145 | .eraseblocks = { {64 * 1024, 8} }, |
| 3146 | .block_erase = spi_block_erase_d8, |
| 3147 | }, { |
| 3148 | .eraseblocks = { {512 * 1024, 1} }, |
| 3149 | .block_erase = spi_block_erase_60, |
| 3150 | }, { |
| 3151 | .eraseblocks = { {512 * 1024, 1} }, |
| 3152 | .block_erase = spi_block_erase_c7, |
| 3153 | }, |
| 3154 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3155 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3156 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3157 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3158 | }, |
| 3159 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3160 | { |
| 3161 | .vendor = "Macronix", |
| 3162 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3163 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3164 | .manufacture_id = MX_ID, |
| 3165 | .model_id = MX_25L8005, |
| 3166 | .total_size = 1024, |
| 3167 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3168 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3169 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3170 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3171 | .block_erasers = |
| 3172 | { |
| 3173 | { |
| 3174 | .eraseblocks = { {4 * 1024, 256} }, |
| 3175 | .block_erase = spi_block_erase_20, |
| 3176 | }, { |
| 3177 | .eraseblocks = { {64 * 1024, 16} }, |
| 3178 | .block_erase = spi_block_erase_52, |
| 3179 | }, { |
| 3180 | .eraseblocks = { {64 * 1024, 16} }, |
| 3181 | .block_erase = spi_block_erase_d8, |
| 3182 | }, { |
| 3183 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3184 | .block_erase = spi_block_erase_60, |
| 3185 | }, { |
| 3186 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3187 | .block_erase = spi_block_erase_c7, |
| 3188 | }, |
| 3189 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3190 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3191 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3192 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3193 | }, |
| 3194 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3195 | { |
| 3196 | .vendor = "Macronix", |
| 3197 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3198 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3199 | .manufacture_id = MX_ID, |
| 3200 | .model_id = MX_25L1605, |
| 3201 | .total_size = 2048, |
| 3202 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3203 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3204 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3205 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3206 | .block_erasers = |
| 3207 | { |
| 3208 | { |
| 3209 | .eraseblocks = { {4 * 1024, 512} }, |
| 3210 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3211 | }, { |
| 3212 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3213 | .block_erase = spi_block_erase_52, |
| 3214 | }, { |
| 3215 | .eraseblocks = { {64 * 1024, 32} }, |
| 3216 | .block_erase = spi_block_erase_d8, |
| 3217 | }, { |
| 3218 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3219 | .block_erase = spi_block_erase_60, |
| 3220 | }, { |
| 3221 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3222 | .block_erase = spi_block_erase_c7, |
| 3223 | }, |
| 3224 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3225 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3226 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3227 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3228 | }, |
| 3229 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3230 | { |
| 3231 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3232 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3233 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3234 | .manufacture_id = MX_ID, |
| 3235 | .model_id = MX_25L1635D, |
| 3236 | .total_size = 2048, |
| 3237 | .page_size = 256, |
| 3238 | .tested = TEST_UNTESTED, |
| 3239 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3240 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3241 | .block_erasers = |
| 3242 | { |
| 3243 | { |
| 3244 | .eraseblocks = { {4 * 1024, 512} }, |
| 3245 | .block_erase = spi_block_erase_20, |
| 3246 | }, { |
| 3247 | .eraseblocks = { {64 * 1024, 32} }, |
| 3248 | .block_erase = spi_block_erase_d8, |
| 3249 | }, { |
| 3250 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3251 | .block_erase = spi_block_erase_60, |
| 3252 | }, { |
| 3253 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3254 | .block_erase = spi_block_erase_c7, |
| 3255 | } |
| 3256 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3257 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3258 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3259 | .read = spi_chip_read, |
| 3260 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 3261 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3262 | { |
| 3263 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3264 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3265 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3266 | .manufacture_id = MX_ID, |
| 3267 | .model_id = MX_25L3205, |
| 3268 | .total_size = 4096, |
| 3269 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3270 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3271 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3272 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3273 | .block_erasers = |
| 3274 | { |
| 3275 | { |
| 3276 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3277 | .block_erase = spi_block_erase_20, |
| 3278 | }, { |
| 3279 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3280 | .block_erase = spi_block_erase_d8, |
| 3281 | }, { |
| 3282 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3283 | .block_erase = spi_block_erase_60, |
| 3284 | }, { |
| 3285 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3286 | .block_erase = spi_block_erase_c7, |
| 3287 | }, |
| 3288 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3289 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3290 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3291 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3292 | }, |
| 3293 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3294 | { |
| 3295 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3296 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3297 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3298 | .manufacture_id = MX_ID, |
| 3299 | .model_id = MX_25L3235D, |
| 3300 | .total_size = 4096, |
| 3301 | .page_size = 256, |
| 3302 | .tested = TEST_UNTESTED, |
| 3303 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3304 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3305 | .block_erasers = |
| 3306 | { |
| 3307 | { |
| 3308 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3309 | .block_erase = spi_block_erase_20, |
| 3310 | }, { |
| 3311 | .eraseblocks = { {64 * 1024, 64} }, |
| 3312 | .block_erase = spi_block_erase_d8, |
| 3313 | }, { |
| 3314 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3315 | .block_erase = spi_block_erase_60, |
| 3316 | }, { |
| 3317 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3318 | .block_erase = spi_block_erase_c7, |
| 3319 | } |
| 3320 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3321 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3322 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3323 | .read = spi_chip_read, |
| 3324 | }, |
| 3325 | |
| 3326 | { |
| 3327 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3328 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3329 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3330 | .manufacture_id = MX_ID, |
| 3331 | .model_id = MX_25L6405, |
| 3332 | .total_size = 8192, |
| 3333 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 3334 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3335 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3336 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3337 | .block_erasers = |
| 3338 | { |
| 3339 | { |
| 3340 | .eraseblocks = { {64 * 1024, 128} }, |
| 3341 | .block_erase = spi_block_erase_20, |
| 3342 | }, { |
| 3343 | .eraseblocks = { {64 * 1024, 128} }, |
| 3344 | .block_erase = spi_block_erase_d8, |
| 3345 | }, { |
| 3346 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3347 | .block_erase = spi_block_erase_60, |
| 3348 | }, { |
| 3349 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3350 | .block_erase = spi_block_erase_c7, |
| 3351 | } |
| 3352 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3353 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3354 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3355 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3356 | }, |
| 3357 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3358 | { |
| 3359 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3360 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3361 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3362 | .manufacture_id = MX_ID, |
| 3363 | .model_id = MX_25L12805, |
| 3364 | .total_size = 16384, |
| 3365 | .page_size = 256, |
| 3366 | .tested = TEST_UNTESTED, |
| 3367 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3368 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3369 | .block_erasers = |
| 3370 | { |
| 3371 | { |
| 3372 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3373 | .block_erase = spi_block_erase_20, |
| 3374 | }, { |
| 3375 | .eraseblocks = { {64 * 1024, 256} }, |
| 3376 | .block_erase = spi_block_erase_d8, |
| 3377 | }, { |
| 3378 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3379 | .block_erase = spi_block_erase_60, |
| 3380 | }, { |
| 3381 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3382 | .block_erase = spi_block_erase_c7, |
| 3383 | } |
| 3384 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3385 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3386 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3387 | .read = spi_chip_read, |
| 3388 | }, |
| 3389 | |
| 3390 | { |
| 3391 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3392 | .name = "MX29F001B", |
| 3393 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3394 | .manufacture_id = MX_ID, |
| 3395 | .model_id = MX_29F001B, |
| 3396 | .total_size = 128, |
| 3397 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3398 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3399 | .tested = TEST_UNTESTED, |
| 3400 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3401 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3402 | .block_erasers = |
| 3403 | { |
| 3404 | { |
| 3405 | .eraseblocks = { |
| 3406 | {8 * 1024, 1}, |
| 3407 | {4 * 1024, 2}, |
| 3408 | {8 * 1024, 2}, |
| 3409 | {32 * 1024, 1}, |
| 3410 | {64 * 1024, 1}, |
| 3411 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3412 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3413 | }, { |
| 3414 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3415 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3416 | } |
| 3417 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3418 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3419 | .read = read_memmapped, |
| 3420 | }, |
| 3421 | |
| 3422 | { |
| 3423 | .vendor = "Macronix", |
| 3424 | .name = "MX29F001T", |
| 3425 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3426 | .manufacture_id = MX_ID, |
| 3427 | .model_id = MX_29F001T, |
| 3428 | .total_size = 128, |
| 3429 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3430 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3431 | .tested = TEST_UNTESTED, |
| 3432 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3433 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3434 | .block_erasers = |
| 3435 | { |
| 3436 | { |
| 3437 | .eraseblocks = { |
| 3438 | {64 * 1024, 1}, |
| 3439 | {32 * 1024, 1}, |
| 3440 | {8 * 1024, 2}, |
| 3441 | {4 * 1024, 2}, |
| 3442 | {8 * 1024, 1}, |
| 3443 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3444 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3445 | }, { |
| 3446 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3447 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3448 | } |
| 3449 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3450 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3451 | .read = read_memmapped, |
| 3452 | }, |
| 3453 | |
| 3454 | { |
| 3455 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3456 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3457 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3458 | .manufacture_id = MX_ID, |
| 3459 | .model_id = MX_29F002B, |
| 3460 | .total_size = 256, |
| 3461 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3462 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3463 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3464 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3465 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3466 | .block_erasers = |
| 3467 | { |
| 3468 | { |
| 3469 | .eraseblocks = { |
| 3470 | {16 * 1024, 1}, |
| 3471 | {8 * 1024, 2}, |
| 3472 | {32 * 1024, 1}, |
| 3473 | {64 * 1024, 3}, |
| 3474 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3475 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3476 | }, { |
| 3477 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3478 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3479 | }, |
| 3480 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3481 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3482 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3483 | }, |
| 3484 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3485 | { |
| 3486 | .vendor = "Macronix", |
| 3487 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3488 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3489 | .manufacture_id = MX_ID, |
| 3490 | .model_id = MX_29F002T, |
| 3491 | .total_size = 256, |
| 3492 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3493 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3494 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3495 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3496 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3497 | .block_erasers = |
| 3498 | { |
| 3499 | { |
| 3500 | .eraseblocks = { |
| 3501 | {64 * 1024, 3}, |
| 3502 | {32 * 1024, 1}, |
| 3503 | {8 * 1024, 2}, |
| 3504 | {16 * 1024, 1}, |
| 3505 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3506 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3507 | }, { |
| 3508 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3509 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3510 | }, |
| 3511 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3512 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3513 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3514 | }, |
| 3515 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3516 | { |
| 3517 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3518 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3519 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3520 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3521 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3522 | .total_size = 512, |
| 3523 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3524 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3525 | .tested = TEST_UNTESTED, |
| 3526 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3527 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3528 | .block_erasers = |
| 3529 | { |
| 3530 | { |
| 3531 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3532 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3533 | }, { |
| 3534 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3535 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3536 | }, |
| 3537 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3538 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3539 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3540 | }, |
| 3541 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3542 | { |
| 3543 | .vendor = "Numonyx", |
| 3544 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3545 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3546 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3547 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3548 | .total_size = 128, |
| 3549 | .page_size = 256, |
| 3550 | .tested = TEST_UNTESTED, |
| 3551 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3552 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3553 | .block_erasers = |
| 3554 | { |
| 3555 | { |
| 3556 | .eraseblocks = { {4 * 1024, 32} }, |
| 3557 | .block_erase = spi_block_erase_20, |
| 3558 | }, { |
| 3559 | .eraseblocks = { {64 * 1024, 2} }, |
| 3560 | .block_erase = spi_block_erase_d8, |
| 3561 | }, { |
| 3562 | .eraseblocks = { {128 * 1024, 1} }, |
| 3563 | .block_erase = spi_block_erase_c7, |
| 3564 | } |
| 3565 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3566 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3567 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3568 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3569 | }, |
| 3570 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3571 | { |
| 3572 | .vendor = "Numonyx", |
| 3573 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3574 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3575 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3576 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3577 | .total_size = 256, |
| 3578 | .page_size = 256, |
| 3579 | .tested = TEST_UNTESTED, |
| 3580 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3581 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3582 | .block_erasers = |
| 3583 | { |
| 3584 | { |
| 3585 | .eraseblocks = { {4 * 1024, 64} }, |
| 3586 | .block_erase = spi_block_erase_20, |
| 3587 | }, { |
| 3588 | .eraseblocks = { {64 * 1024, 4} }, |
| 3589 | .block_erase = spi_block_erase_d8, |
| 3590 | }, { |
| 3591 | .eraseblocks = { {256 * 1024, 1} }, |
| 3592 | .block_erase = spi_block_erase_c7, |
| 3593 | } |
| 3594 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3595 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3596 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3597 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3598 | }, |
| 3599 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3600 | { |
| 3601 | .vendor = "Numonyx", |
| 3602 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3603 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3604 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3605 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3606 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3607 | .page_size = 256, |
| 3608 | .tested = TEST_UNTESTED, |
| 3609 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3610 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3611 | .block_erasers = |
| 3612 | { |
| 3613 | { |
| 3614 | .eraseblocks = { {4 * 1024, 128} }, |
| 3615 | .block_erase = spi_block_erase_20, |
| 3616 | }, { |
| 3617 | .eraseblocks = { {64 * 1024, 8} }, |
| 3618 | .block_erase = spi_block_erase_d8, |
| 3619 | }, { |
| 3620 | .eraseblocks = { {512 * 1024, 1} }, |
| 3621 | .block_erase = spi_block_erase_c7, |
| 3622 | } |
| 3623 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3624 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3625 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3626 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3627 | }, |
| 3628 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3629 | { |
| 3630 | .vendor = "Numonyx", |
| 3631 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3632 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3633 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3634 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3635 | .total_size = 1024, |
| 3636 | .page_size = 256, |
| 3637 | .tested = TEST_OK_PREW, |
| 3638 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3639 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3640 | .block_erasers = |
| 3641 | { |
| 3642 | { |
| 3643 | .eraseblocks = { {4 * 1024, 256} }, |
| 3644 | .block_erase = spi_block_erase_20, |
| 3645 | }, { |
| 3646 | .eraseblocks = { {64 * 1024, 16} }, |
| 3647 | .block_erase = spi_block_erase_d8, |
| 3648 | }, { |
| 3649 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3650 | .block_erase = spi_block_erase_c7, |
| 3651 | } |
| 3652 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3653 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3654 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3655 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3656 | }, |
| 3657 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3658 | { |
| 3659 | .vendor = "Numonyx", |
| 3660 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3661 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3662 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3663 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3664 | .total_size = 2048, |
| 3665 | .page_size = 256, |
| 3666 | .tested = TEST_UNTESTED, |
| 3667 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3668 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3669 | .block_erasers = |
| 3670 | { |
| 3671 | { |
| 3672 | .eraseblocks = { {4 * 1024, 512} }, |
| 3673 | .block_erase = spi_block_erase_20, |
| 3674 | }, { |
| 3675 | .eraseblocks = { {64 * 1024, 32} }, |
| 3676 | .block_erase = spi_block_erase_d8, |
| 3677 | }, { |
| 3678 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3679 | .block_erase = spi_block_erase_c7, |
| 3680 | } |
| 3681 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3682 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3683 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3684 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3685 | }, |
| 3686 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3687 | { |
| 3688 | .vendor = "PMC", |
| 3689 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3690 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3691 | .manufacture_id = PMC_ID, |
| 3692 | .model_id = PMC_25LV010, |
| 3693 | .total_size = 128, |
| 3694 | .page_size = 256, |
| 3695 | .tested = TEST_UNTESTED, |
| 3696 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3697 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3698 | .block_erasers = |
| 3699 | { |
| 3700 | { |
| 3701 | .eraseblocks = { {4 * 1024, 32} }, |
| 3702 | .block_erase = spi_block_erase_d7, |
| 3703 | }, { |
| 3704 | .eraseblocks = { {32 * 1024, 4} }, |
| 3705 | .block_erase = spi_block_erase_d8, |
| 3706 | }, { |
| 3707 | .eraseblocks = { {128 * 1024, 1} }, |
| 3708 | .block_erase = spi_block_erase_c7, |
| 3709 | } |
| 3710 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3711 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3712 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3713 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3714 | }, |
| 3715 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3716 | { |
| 3717 | .vendor = "PMC", |
| 3718 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3719 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3720 | .manufacture_id = PMC_ID, |
| 3721 | .model_id = PMC_25LV016B, |
| 3722 | .total_size = 2048, |
| 3723 | .page_size = 256, |
| 3724 | .tested = TEST_UNTESTED, |
| 3725 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3726 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3727 | .block_erasers = |
| 3728 | { |
| 3729 | { |
| 3730 | .eraseblocks = { {4 * 1024, 512} }, |
| 3731 | .block_erase = spi_block_erase_d7, |
| 3732 | }, { |
| 3733 | .eraseblocks = { {4 * 1024, 512} }, |
| 3734 | .block_erase = spi_block_erase_20, |
| 3735 | }, { |
| 3736 | .eraseblocks = { {64 * 1024, 32} }, |
| 3737 | .block_erase = spi_block_erase_d8, |
| 3738 | }, { |
| 3739 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3740 | .block_erase = spi_block_erase_60, |
| 3741 | }, { |
| 3742 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3743 | .block_erase = spi_block_erase_c7, |
| 3744 | } |
| 3745 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3746 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3747 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3748 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3749 | }, |
| 3750 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3751 | { |
| 3752 | .vendor = "PMC", |
| 3753 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3754 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3755 | .manufacture_id = PMC_ID, |
| 3756 | .model_id = PMC_25LV020, |
| 3757 | .total_size = 256, |
| 3758 | .page_size = 256, |
| 3759 | .tested = TEST_UNTESTED, |
| 3760 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3761 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3762 | .block_erasers = |
| 3763 | { |
| 3764 | { |
| 3765 | .eraseblocks = { {4 * 1024, 64} }, |
| 3766 | .block_erase = spi_block_erase_d7, |
| 3767 | }, { |
| 3768 | .eraseblocks = { {64 * 1024, 4} }, |
| 3769 | .block_erase = spi_block_erase_d8, |
| 3770 | }, { |
| 3771 | .eraseblocks = { {256 * 1024, 1} }, |
| 3772 | .block_erase = spi_block_erase_c7, |
| 3773 | } |
| 3774 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3775 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3776 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3777 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3778 | }, |
| 3779 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3780 | { |
| 3781 | .vendor = "PMC", |
| 3782 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3783 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3784 | .manufacture_id = PMC_ID, |
| 3785 | .model_id = PMC_25LV040, |
| 3786 | .total_size = 512, |
| 3787 | .page_size = 256, |
| 3788 | .tested = TEST_UNTESTED, |
| 3789 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3790 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3791 | .block_erasers = |
| 3792 | { |
| 3793 | { |
| 3794 | .eraseblocks = { {4 * 1024, 128} }, |
| 3795 | .block_erase = spi_block_erase_d7, |
| 3796 | }, { |
| 3797 | .eraseblocks = { {64 * 1024, 8} }, |
| 3798 | .block_erase = spi_block_erase_d8, |
| 3799 | }, { |
| 3800 | .eraseblocks = { {512 * 1024, 1} }, |
| 3801 | .block_erase = spi_block_erase_c7, |
| 3802 | } |
| 3803 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3804 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3805 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3806 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3807 | }, |
| 3808 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3809 | { |
| 3810 | .vendor = "PMC", |
| 3811 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3812 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3813 | .manufacture_id = PMC_ID, |
| 3814 | .model_id = PMC_25LV080B, |
| 3815 | .total_size = 1024, |
| 3816 | .page_size = 256, |
| 3817 | .tested = TEST_UNTESTED, |
| 3818 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3819 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3820 | .block_erasers = |
| 3821 | { |
| 3822 | { |
| 3823 | .eraseblocks = { {4 * 1024, 256} }, |
| 3824 | .block_erase = spi_block_erase_d7, |
| 3825 | }, { |
| 3826 | .eraseblocks = { {4 * 1024, 256} }, |
| 3827 | .block_erase = spi_block_erase_20, |
| 3828 | }, { |
| 3829 | .eraseblocks = { {64 * 1024, 16} }, |
| 3830 | .block_erase = spi_block_erase_d8, |
| 3831 | }, { |
| 3832 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3833 | .block_erase = spi_block_erase_60, |
| 3834 | }, { |
| 3835 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3836 | .block_erase = spi_block_erase_c7, |
| 3837 | } |
| 3838 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3839 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3840 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3841 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3842 | }, |
| 3843 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3844 | { |
| 3845 | .vendor = "PMC", |
| 3846 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3847 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3848 | .manufacture_id = PMC_ID, |
| 3849 | .model_id = PMC_25LV512, |
| 3850 | .total_size = 64, |
| 3851 | .page_size = 256, |
| 3852 | .tested = TEST_UNTESTED, |
| 3853 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3854 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3855 | .block_erasers = |
| 3856 | { |
| 3857 | { |
| 3858 | .eraseblocks = { {4 * 1024, 16} }, |
| 3859 | .block_erase = spi_block_erase_d7, |
| 3860 | }, { |
| 3861 | .eraseblocks = { {32 * 1024, 2} }, |
| 3862 | .block_erase = spi_block_erase_d8, |
| 3863 | }, { |
| 3864 | .eraseblocks = { {64 * 1024, 1} }, |
| 3865 | .block_erase = spi_block_erase_c7, |
| 3866 | } |
| 3867 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3868 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3869 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3870 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3871 | }, |
| 3872 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3873 | { |
| 3874 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3875 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3876 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3877 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3878 | .model_id = PMC_29F002T, |
| 3879 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3880 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3881 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3882 | .tested = TEST_UNTESTED, |
| 3883 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3884 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3885 | .block_erasers = |
| 3886 | { |
| 3887 | { |
| 3888 | .eraseblocks = { |
| 3889 | {128 * 1024, 1}, |
| 3890 | {96 * 1024, 1}, |
| 3891 | {8 * 1024, 2}, |
| 3892 | {16 * 1024, 1}, |
| 3893 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3894 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3895 | }, { |
| 3896 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3897 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3898 | }, |
| 3899 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3900 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3901 | .read = read_memmapped, |
| 3902 | }, |
| 3903 | |
| 3904 | { |
| 3905 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3906 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3907 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3908 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3909 | .model_id = PMC_29F002B, |
| 3910 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3911 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3912 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3913 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3914 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3915 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3916 | .block_erasers = |
| 3917 | { |
| 3918 | { |
| 3919 | .eraseblocks = { |
| 3920 | {16 * 1024, 1}, |
| 3921 | {8 * 1024, 2}, |
| 3922 | {96 * 1024, 1}, |
| 3923 | {128 * 1024, 1}, |
| 3924 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3925 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3926 | }, { |
| 3927 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3928 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3929 | }, |
| 3930 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3931 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3932 | .read = read_memmapped, |
| 3933 | }, |
| 3934 | |
| 3935 | { |
| 3936 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3937 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3938 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3939 | .manufacture_id = PMC_ID_NOPREFIX, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3940 | .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] | 3941 | .total_size = 128, |
| 3942 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3943 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 3944 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3945 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3946 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3947 | .block_erasers = |
| 3948 | { |
| 3949 | { |
| 3950 | .eraseblocks = { {4 * 1024, 32} }, |
| 3951 | .block_erase = erase_sector_jedec, |
| 3952 | }, { |
| 3953 | .eraseblocks = { {64 * 1024, 2} }, |
| 3954 | .block_erase = erase_block_jedec, |
| 3955 | }, { |
| 3956 | .eraseblocks = { {128 * 1024, 1} }, |
| 3957 | .block_erase = erase_chip_block_jedec, |
| 3958 | } |
| 3959 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3960 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3961 | .read = read_memmapped, |
| 3962 | }, |
| 3963 | |
| 3964 | { |
| 3965 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3966 | .name = "Pm39LV020", |
| 3967 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3968 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3969 | .model_id = PMC_39LV020, |
| 3970 | .total_size = 256, |
| 3971 | .page_size = 4096, |
| 3972 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3973 | .tested = TEST_UNTESTED, |
| 3974 | .probe = probe_jedec, |
| 3975 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3976 | .block_erasers = |
| 3977 | { |
| 3978 | { |
| 3979 | .eraseblocks = { {4 * 1024, 64} }, |
| 3980 | .block_erase = erase_sector_jedec, |
| 3981 | }, { |
| 3982 | .eraseblocks = { {64 * 1024, 4} }, |
| 3983 | .block_erase = erase_block_jedec, |
| 3984 | }, { |
| 3985 | .eraseblocks = { {256 * 1024, 1} }, |
| 3986 | .block_erase = erase_chip_block_jedec, |
| 3987 | } |
| 3988 | }, |
| 3989 | .write = write_jedec_1, |
| 3990 | .read = read_memmapped, |
| 3991 | }, |
| 3992 | |
| 3993 | { |
| 3994 | .vendor = "PMC", |
| 3995 | .name = "Pm39LV040", |
| 3996 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3997 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3998 | .model_id = PMC_39LV040, |
| 3999 | .total_size = 512, |
| 4000 | .page_size = 4096, |
| 4001 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4002 | .tested = TEST_UNTESTED, |
| 4003 | .probe = probe_jedec, |
| 4004 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4005 | .block_erasers = |
| 4006 | { |
| 4007 | { |
| 4008 | .eraseblocks = { {4 * 1024, 128} }, |
| 4009 | .block_erase = erase_sector_jedec, |
| 4010 | }, { |
| 4011 | .eraseblocks = { {64 * 1024, 8} }, |
| 4012 | .block_erase = erase_block_jedec, |
| 4013 | }, { |
| 4014 | .eraseblocks = { {512 * 1024, 1} }, |
| 4015 | .block_erase = erase_chip_block_jedec, |
| 4016 | } |
| 4017 | }, |
| 4018 | .write = write_jedec_1, |
| 4019 | .read = read_memmapped, |
| 4020 | }, |
| 4021 | |
| 4022 | { |
| 4023 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4024 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4025 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4026 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4027 | .model_id = PMC_49FL002, |
| 4028 | .total_size = 256, |
| 4029 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4030 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 4031 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4032 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4033 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4034 | .block_erasers = |
| 4035 | { |
| 4036 | { |
| 4037 | .eraseblocks = { {4 * 1024, 64} }, |
| 4038 | .block_erase = erase_sector_jedec, |
| 4039 | }, { |
| 4040 | .eraseblocks = { {16 * 1024, 16} }, |
| 4041 | .block_erase = erase_block_jedec, |
| 4042 | }, { |
| 4043 | .eraseblocks = { {256 * 1024, 1} }, |
| 4044 | .block_erase = erase_chip_block_jedec, |
| 4045 | } |
| 4046 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4047 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4048 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4049 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4050 | }, |
| 4051 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4052 | { |
| 4053 | .vendor = "PMC", |
| 4054 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4055 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4056 | .manufacture_id = PMC_ID_NOPREFIX, |
| 4057 | .model_id = PMC_49FL004, |
| 4058 | .total_size = 512, |
| 4059 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4060 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4061 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4062 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4063 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4064 | .block_erasers = |
| 4065 | { |
| 4066 | { |
| 4067 | .eraseblocks = { {4 * 1024, 128} }, |
| 4068 | .block_erase = erase_sector_jedec, |
| 4069 | }, { |
| 4070 | .eraseblocks = { {64 * 1024, 8} }, |
| 4071 | .block_erase = erase_block_jedec, |
| 4072 | }, { |
| 4073 | .eraseblocks = { {512 * 1024, 1} }, |
| 4074 | .block_erase = erase_chip_block_jedec, |
| 4075 | } |
| 4076 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4077 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4078 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4079 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4080 | }, |
| 4081 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4082 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4083 | .vendor = "Sanyo", |
| 4084 | .name = "LF25FW203A", |
| 4085 | .bustype = CHIP_BUSTYPE_SPI, |
| 4086 | .manufacture_id = SANYO_ID, |
| 4087 | .model_id = SANYO_LE25FW203A, |
| 4088 | .total_size = 2048, |
| 4089 | .page_size = 256, |
| 4090 | .tested = TEST_UNTESTED, |
| 4091 | .probe = probe_spi_rdid, |
| 4092 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4093 | .block_erasers = |
| 4094 | { |
| 4095 | { |
| 4096 | .eraseblocks = { {64 * 1024, 32} }, |
| 4097 | .block_erase = spi_block_erase_d8, |
| 4098 | }, { |
| 4099 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4100 | .block_erase = spi_block_erase_c7, |
| 4101 | } |
| 4102 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4103 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4104 | .write = spi_chip_write_256, |
| 4105 | .read = spi_chip_read, |
| 4106 | }, |
| 4107 | |
| 4108 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4109 | .vendor = "Sharp", |
| 4110 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4111 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4112 | .manufacture_id = SHARP_ID, |
| 4113 | .model_id = SHARP_LHF00L04, |
| 4114 | .total_size = 1024, |
| 4115 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4116 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4117 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4118 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4119 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4120 | .block_erasers = |
| 4121 | { |
| 4122 | { |
| 4123 | .eraseblocks = { |
| 4124 | {64 * 1024, 15}, |
| 4125 | {8 * 1024, 8} |
| 4126 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4127 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4128 | }, { |
| 4129 | .eraseblocks = { |
| 4130 | {1024 * 1024, 1} |
| 4131 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4132 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4133 | }, |
| 4134 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4135 | .unlock = unlock_82802ab, |
| 4136 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4137 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4138 | }, |
| 4139 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4140 | { |
| 4141 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4142 | .name = "S25FL008A", |
| 4143 | .bustype = CHIP_BUSTYPE_SPI, |
| 4144 | .manufacture_id = SPANSION_ID, |
| 4145 | .model_id = SPANSION_S25FL008A, |
| 4146 | .total_size = 1024, |
| 4147 | .page_size = 256, |
| 4148 | .tested = TEST_OK_PREW, |
| 4149 | .probe = probe_spi_rdid, |
| 4150 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4151 | .block_erasers = |
| 4152 | { |
| 4153 | { |
| 4154 | .eraseblocks = { {64 * 1024, 16} }, |
| 4155 | .block_erase = spi_block_erase_d8, |
| 4156 | }, { |
| 4157 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4158 | .block_erase = spi_block_erase_c7, |
| 4159 | } |
| 4160 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4161 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4162 | .write = spi_chip_write_256, |
| 4163 | .read = spi_chip_read, |
| 4164 | }, |
| 4165 | |
| 4166 | { |
| 4167 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4168 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4169 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4170 | .manufacture_id = SPANSION_ID, |
| 4171 | .model_id = SPANSION_S25FL016A, |
| 4172 | .total_size = 2048, |
| 4173 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4174 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4175 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4176 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4177 | .block_erasers = |
| 4178 | { |
| 4179 | { |
| 4180 | .eraseblocks = { {64 * 1024, 32} }, |
| 4181 | .block_erase = spi_block_erase_d8, |
| 4182 | }, { |
| 4183 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4184 | .block_erase = spi_block_erase_c7, |
| 4185 | } |
| 4186 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4187 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4188 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4189 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4190 | }, |
| 4191 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4192 | { |
| 4193 | .vendor = "SST", |
| 4194 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4195 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4196 | .manufacture_id = SST_ID, |
| 4197 | .model_id = SST_25VF016B, |
| 4198 | .total_size = 2048, |
| 4199 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4200 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4201 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4202 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4203 | .block_erasers = |
| 4204 | { |
| 4205 | { |
| 4206 | .eraseblocks = { {4 * 1024, 512} }, |
| 4207 | .block_erase = spi_block_erase_20, |
| 4208 | }, { |
| 4209 | .eraseblocks = { {32 * 1024, 64} }, |
| 4210 | .block_erase = spi_block_erase_52, |
| 4211 | }, { |
| 4212 | .eraseblocks = { {64 * 1024, 32} }, |
| 4213 | .block_erase = spi_block_erase_d8, |
| 4214 | }, { |
| 4215 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4216 | .block_erase = spi_block_erase_60, |
| 4217 | }, { |
| 4218 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4219 | .block_erase = spi_block_erase_c7, |
| 4220 | }, |
| 4221 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4222 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4223 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4224 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4225 | }, |
| 4226 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4227 | { |
| 4228 | .vendor = "SST", |
| 4229 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4230 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4231 | .manufacture_id = SST_ID, |
| 4232 | .model_id = SST_25VF032B, |
| 4233 | .total_size = 4096, |
| 4234 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4235 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4236 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4237 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4238 | .block_erasers = |
| 4239 | { |
| 4240 | { |
| 4241 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4242 | .block_erase = spi_block_erase_20, |
| 4243 | }, { |
| 4244 | .eraseblocks = { {32 * 1024, 128} }, |
| 4245 | .block_erase = spi_block_erase_52, |
| 4246 | }, { |
| 4247 | .eraseblocks = { {64 * 1024, 64} }, |
| 4248 | .block_erase = spi_block_erase_d8, |
| 4249 | }, { |
| 4250 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4251 | .block_erase = spi_block_erase_60, |
| 4252 | }, { |
| 4253 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4254 | .block_erase = spi_block_erase_c7, |
| 4255 | }, |
| 4256 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4257 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4258 | .write = spi_chip_write_1, |
| 4259 | .read = spi_chip_read, |
| 4260 | }, |
| 4261 | |
| 4262 | { |
| 4263 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4264 | .name = "SST25VF064C", |
| 4265 | .bustype = CHIP_BUSTYPE_SPI, |
| 4266 | .manufacture_id = SST_ID, |
| 4267 | .model_id = SST_25VF064C, |
| 4268 | .total_size = 8192, |
| 4269 | .page_size = 256, |
| 4270 | .tested = TEST_OK_PREW, |
| 4271 | .probe = probe_spi_rdid, |
| 4272 | .probe_timing = TIMING_ZERO, |
| 4273 | .block_erasers = |
| 4274 | { |
| 4275 | { |
| 4276 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4277 | .block_erase = spi_block_erase_20, |
| 4278 | }, { |
| 4279 | .eraseblocks = { {32 * 1024, 256} }, |
| 4280 | .block_erase = spi_block_erase_52, |
| 4281 | }, { |
| 4282 | .eraseblocks = { {64 * 1024, 128} }, |
| 4283 | .block_erase = spi_block_erase_d8, |
| 4284 | }, { |
| 4285 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4286 | .block_erase = spi_block_erase_60, |
| 4287 | }, { |
| 4288 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4289 | .block_erase = spi_block_erase_c7, |
| 4290 | }, |
| 4291 | }, |
| 4292 | .unlock = spi_disable_blockprotect, |
| 4293 | .write = spi_chip_write_1, |
| 4294 | .read = spi_chip_read, |
| 4295 | }, |
| 4296 | |
| 4297 | { |
| 4298 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4299 | .name = "SST25VF040.REMS", |
| 4300 | .bustype = CHIP_BUSTYPE_SPI, |
| 4301 | .manufacture_id = SST_ID, |
| 4302 | .model_id = SST_25VF040_REMS, |
| 4303 | .total_size = 512, |
| 4304 | .page_size = 256, |
| 4305 | .tested = TEST_OK_PR, |
| 4306 | .probe = probe_spi_rems, |
| 4307 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4308 | .block_erasers = |
| 4309 | { |
| 4310 | { |
| 4311 | .eraseblocks = { {4 * 1024, 128} }, |
| 4312 | .block_erase = spi_block_erase_20, |
| 4313 | }, { |
| 4314 | .eraseblocks = { {32 * 1024, 16} }, |
| 4315 | .block_erase = spi_block_erase_52, |
| 4316 | }, { |
| 4317 | .eraseblocks = { {512 * 1024, 1} }, |
| 4318 | .block_erase = spi_block_erase_60, |
| 4319 | }, |
| 4320 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4321 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4322 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4323 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4324 | }, |
| 4325 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4326 | { |
| 4327 | .vendor = "SST", |
| 4328 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4329 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4330 | .manufacture_id = SST_ID, |
| 4331 | .model_id = SST_25VF040B, |
| 4332 | .total_size = 512, |
| 4333 | .page_size = 256, |
| 4334 | .tested = TEST_UNTESTED, |
| 4335 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4336 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4337 | .block_erasers = |
| 4338 | { |
| 4339 | { |
| 4340 | .eraseblocks = { {4 * 1024, 128} }, |
| 4341 | .block_erase = spi_block_erase_20, |
| 4342 | }, { |
| 4343 | .eraseblocks = { {32 * 1024, 16} }, |
| 4344 | .block_erase = spi_block_erase_52, |
| 4345 | }, { |
| 4346 | .eraseblocks = { {64 * 1024, 8} }, |
| 4347 | .block_erase = spi_block_erase_d8, |
| 4348 | }, { |
| 4349 | .eraseblocks = { {512 * 1024, 1} }, |
| 4350 | .block_erase = spi_block_erase_60, |
| 4351 | }, { |
| 4352 | .eraseblocks = { {512 * 1024, 1} }, |
| 4353 | .block_erase = spi_block_erase_c7, |
| 4354 | }, |
| 4355 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4356 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4357 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 4358 | .read = spi_chip_read, |
| 4359 | }, |
| 4360 | |
| 4361 | { |
| 4362 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4363 | .name = "SST25LF040A.RES", |
| 4364 | .bustype = CHIP_BUSTYPE_SPI, |
| 4365 | .manufacture_id = SST_ID, |
| 4366 | .model_id = SST_25VF040_REMS, |
| 4367 | .total_size = 512, |
| 4368 | .page_size = 256, |
| 4369 | .tested = TEST_OK_PROBE, |
| 4370 | .probe = probe_spi_res2, |
| 4371 | .probe_timing = TIMING_ZERO, |
| 4372 | .block_erasers = |
| 4373 | { |
| 4374 | { |
| 4375 | .eraseblocks = { {4 * 1024, 128} }, |
| 4376 | .block_erase = spi_block_erase_20, |
| 4377 | }, { |
| 4378 | .eraseblocks = { {32 * 1024, 16} }, |
| 4379 | .block_erase = spi_block_erase_52, |
| 4380 | }, { |
| 4381 | .eraseblocks = { {512 * 1024, 1} }, |
| 4382 | .block_erase = spi_block_erase_60, |
| 4383 | }, |
| 4384 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4385 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4386 | .write = spi_chip_write_1, |
| 4387 | .read = spi_chip_read, |
| 4388 | }, |
| 4389 | |
| 4390 | { |
| 4391 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4392 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4393 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4394 | .manufacture_id = SST_ID, |
| 4395 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4396 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4397 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4398 | .tested = TEST_OK_PR, |
| 4399 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4400 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4401 | .block_erasers = |
| 4402 | { |
| 4403 | { |
| 4404 | .eraseblocks = { {4 * 1024, 128} }, |
| 4405 | .block_erase = spi_block_erase_20, |
| 4406 | }, { |
| 4407 | .eraseblocks = { {32 * 1024, 16} }, |
| 4408 | .block_erase = spi_block_erase_52, |
| 4409 | }, { |
| 4410 | .eraseblocks = { {64 * 1024, 8} }, |
| 4411 | .block_erase = spi_block_erase_d8, |
| 4412 | }, { |
| 4413 | .eraseblocks = { {512 * 1024, 1} }, |
| 4414 | .block_erase = spi_block_erase_60, |
| 4415 | }, { |
| 4416 | .eraseblocks = { {512 * 1024, 1} }, |
| 4417 | .block_erase = spi_block_erase_c7, |
| 4418 | }, |
| 4419 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4420 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4421 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4422 | .read = spi_chip_read, |
| 4423 | }, |
| 4424 | |
| 4425 | { |
| 4426 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4427 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4428 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4429 | .manufacture_id = SST_ID, |
| 4430 | .model_id = SST_25VF080B, |
| 4431 | .total_size = 1024, |
| 4432 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4433 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4434 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4435 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4436 | .block_erasers = |
| 4437 | { |
| 4438 | { |
| 4439 | .eraseblocks = { {4 * 1024, 256} }, |
| 4440 | .block_erase = spi_block_erase_20, |
| 4441 | }, { |
| 4442 | .eraseblocks = { {32 * 1024, 32} }, |
| 4443 | .block_erase = spi_block_erase_52, |
| 4444 | }, { |
| 4445 | .eraseblocks = { {64 * 1024, 16} }, |
| 4446 | .block_erase = spi_block_erase_d8, |
| 4447 | }, { |
| 4448 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4449 | .block_erase = spi_block_erase_60, |
| 4450 | }, { |
| 4451 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4452 | .block_erase = spi_block_erase_c7, |
| 4453 | }, |
| 4454 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4455 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4456 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4457 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4458 | }, |
| 4459 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4460 | { |
| 4461 | .vendor = "SST", |
| 4462 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4463 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4464 | .manufacture_id = SST_ID, |
| 4465 | .model_id = SST_28SF040, |
| 4466 | .total_size = 512, |
| 4467 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4468 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4469 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4470 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4471 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4472 | .block_erasers = |
| 4473 | { |
| 4474 | { |
| 4475 | .eraseblocks = { {128, 4096} }, |
| 4476 | .block_erase = erase_sector_28sf040, |
| 4477 | }, { |
| 4478 | .eraseblocks = { {512 * 1024, 1} }, |
| 4479 | .block_erase = erase_chip_28sf040, |
| 4480 | } |
| 4481 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4482 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4483 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4484 | }, |
| 4485 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4486 | { |
| 4487 | .vendor = "SST", |
| 4488 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4489 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4490 | .manufacture_id = SST_ID, |
| 4491 | .model_id = SST_29EE010, |
| 4492 | .total_size = 128, |
| 4493 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4494 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4495 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4496 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4497 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4498 | .block_erasers = |
| 4499 | { |
| 4500 | { |
| 4501 | .eraseblocks = { {128 * 1024, 1} }, |
| 4502 | .block_erase = erase_chip_block_jedec, |
| 4503 | } |
| 4504 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4505 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4506 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4507 | }, |
| 4508 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4509 | { |
| 4510 | .vendor = "SST", |
| 4511 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4512 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4513 | .manufacture_id = SST_ID, |
| 4514 | .model_id = SST_29LE010, |
| 4515 | .total_size = 128, |
| 4516 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4517 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4518 | .tested = TEST_UNTESTED, |
| 4519 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4520 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4521 | .block_erasers = |
| 4522 | { |
| 4523 | { |
| 4524 | .eraseblocks = { {128 * 1024, 1} }, |
| 4525 | .block_erase = erase_chip_block_jedec, |
| 4526 | } |
| 4527 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4528 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4529 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4530 | }, |
| 4531 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4532 | { |
| 4533 | .vendor = "SST", |
| 4534 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4535 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4536 | .manufacture_id = SST_ID, |
| 4537 | .model_id = SST_29EE020A, |
| 4538 | .total_size = 256, |
| 4539 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4540 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4541 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4542 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4543 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4544 | .block_erasers = |
| 4545 | { |
| 4546 | { |
| 4547 | .eraseblocks = { {256 * 1024, 1} }, |
| 4548 | .block_erase = erase_chip_block_jedec, |
| 4549 | } |
| 4550 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4551 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4552 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4553 | }, |
| 4554 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4555 | { |
| 4556 | .vendor = "SST", |
| 4557 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4558 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4559 | .manufacture_id = SST_ID, |
| 4560 | .model_id = SST_29LE020, |
| 4561 | .total_size = 256, |
| 4562 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4563 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 4564 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4565 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4566 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4567 | .block_erasers = |
| 4568 | { |
| 4569 | { |
| 4570 | .eraseblocks = { {256 * 1024, 1} }, |
| 4571 | .block_erase = erase_chip_block_jedec, |
| 4572 | } |
| 4573 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4574 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4575 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4576 | }, |
| 4577 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4578 | { |
| 4579 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4580 | .name = "SST39SF512", |
| 4581 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4582 | .manufacture_id = SST_ID, |
| 4583 | .model_id = SST_39SF512, |
| 4584 | .total_size = 64, |
| 4585 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4586 | .feature_bits = FEATURE_EITHER_RESET, |
| 4587 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4588 | .probe = probe_jedec, |
| 4589 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4590 | .block_erasers = |
| 4591 | { |
| 4592 | { |
| 4593 | .eraseblocks = { {4 * 1024, 16} }, |
| 4594 | .block_erase = erase_sector_jedec, |
| 4595 | }, { |
| 4596 | .eraseblocks = { {64 * 1024, 1} }, |
| 4597 | .block_erase = erase_chip_block_jedec, |
| 4598 | } |
| 4599 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4600 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4601 | .read = read_memmapped, |
| 4602 | }, |
| 4603 | |
| 4604 | { |
| 4605 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4606 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4607 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4608 | .manufacture_id = SST_ID, |
| 4609 | .model_id = SST_39SF010, |
| 4610 | .total_size = 128, |
| 4611 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4612 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4613 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4614 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4615 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4616 | .block_erasers = |
| 4617 | { |
| 4618 | { |
| 4619 | .eraseblocks = { {4 * 1024, 32} }, |
| 4620 | .block_erase = erase_sector_jedec, |
| 4621 | }, { |
| 4622 | .eraseblocks = { {128 * 1024, 1} }, |
| 4623 | .block_erase = erase_chip_block_jedec, |
| 4624 | } |
| 4625 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4626 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4627 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4628 | }, |
| 4629 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4630 | { |
| 4631 | .vendor = "SST", |
| 4632 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4633 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4634 | .manufacture_id = SST_ID, |
| 4635 | .model_id = SST_39SF020, |
| 4636 | .total_size = 256, |
| 4637 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4638 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4639 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4640 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4641 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4642 | .block_erasers = |
| 4643 | { |
| 4644 | { |
| 4645 | .eraseblocks = { {4 * 1024, 64} }, |
| 4646 | .block_erase = erase_sector_jedec, |
| 4647 | }, { |
| 4648 | .eraseblocks = { {256 * 1024, 1} }, |
| 4649 | .block_erase = erase_chip_block_jedec, |
| 4650 | } |
| 4651 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4652 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4653 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4654 | }, |
| 4655 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4656 | { |
| 4657 | .vendor = "SST", |
| 4658 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4659 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4660 | .manufacture_id = SST_ID, |
| 4661 | .model_id = SST_39SF040, |
| 4662 | .total_size = 512, |
| 4663 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4664 | .feature_bits = FEATURE_EITHER_RESET, |
| 4665 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4666 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4667 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4668 | .block_erasers = |
| 4669 | { |
| 4670 | { |
| 4671 | .eraseblocks = { {4 * 1024, 128} }, |
| 4672 | .block_erase = erase_sector_jedec, |
| 4673 | }, { |
| 4674 | .eraseblocks = { {512 * 1024, 1} }, |
| 4675 | .block_erase = erase_chip_block_jedec, |
| 4676 | } |
| 4677 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4678 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4679 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4680 | }, |
| 4681 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4682 | { |
| 4683 | .vendor = "SST", |
| 4684 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4685 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4686 | .manufacture_id = SST_ID, |
| 4687 | .model_id = SST_39VF512, |
| 4688 | .total_size = 64, |
| 4689 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4690 | .feature_bits = FEATURE_EITHER_RESET, |
| 4691 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4692 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4693 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4694 | .block_erasers = |
| 4695 | { |
| 4696 | { |
| 4697 | .eraseblocks = { {4 * 1024, 16} }, |
| 4698 | .block_erase = erase_sector_jedec, |
| 4699 | }, { |
| 4700 | .eraseblocks = { {64 * 1024, 1} }, |
| 4701 | .block_erase = erase_chip_block_jedec, |
| 4702 | } |
| 4703 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4704 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4705 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4706 | }, |
| 4707 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4708 | { |
| 4709 | .vendor = "SST", |
| 4710 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4711 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4712 | .manufacture_id = SST_ID, |
| 4713 | .model_id = SST_39VF010, |
| 4714 | .total_size = 128, |
| 4715 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4716 | .feature_bits = FEATURE_EITHER_RESET, |
Guenter Knauf | 2bd007a | 2010-06-24 11:51:12 +0000 | [diff] [blame] | 4717 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4718 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4719 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4720 | .block_erasers = |
| 4721 | { |
| 4722 | { |
| 4723 | .eraseblocks = { {4 * 1024, 32} }, |
| 4724 | .block_erase = erase_sector_jedec, |
| 4725 | }, { |
| 4726 | .eraseblocks = { {128 * 1024, 1} }, |
| 4727 | .block_erase = erase_chip_block_jedec, |
| 4728 | } |
| 4729 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4730 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4731 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4732 | }, |
| 4733 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4734 | { |
| 4735 | .vendor = "SST", |
| 4736 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4737 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4738 | .manufacture_id = SST_ID, |
| 4739 | .model_id = SST_39VF020, |
| 4740 | .total_size = 256, |
| 4741 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4742 | .feature_bits = FEATURE_EITHER_RESET, |
| 4743 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4744 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4745 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4746 | .block_erasers = |
| 4747 | { |
| 4748 | { |
| 4749 | .eraseblocks = { {4 * 1024, 64} }, |
| 4750 | .block_erase = erase_sector_jedec, |
| 4751 | }, { |
| 4752 | .eraseblocks = { {256 * 1024, 1} }, |
| 4753 | .block_erase = erase_chip_block_jedec, |
| 4754 | } |
| 4755 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4756 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4757 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4758 | }, |
| 4759 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4760 | { |
| 4761 | .vendor = "SST", |
| 4762 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4763 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4764 | .manufacture_id = SST_ID, |
| 4765 | .model_id = SST_39VF040, |
| 4766 | .total_size = 512, |
| 4767 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4768 | .feature_bits = FEATURE_EITHER_RESET, |
| 4769 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4770 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4771 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4772 | .block_erasers = |
| 4773 | { |
| 4774 | { |
| 4775 | .eraseblocks = { {4 * 1024, 128} }, |
| 4776 | .block_erase = erase_sector_jedec, |
| 4777 | }, { |
| 4778 | .eraseblocks = { {512 * 1024, 1} }, |
| 4779 | .block_erase = erase_chip_block_jedec, |
| 4780 | } |
| 4781 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4782 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4783 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4784 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4785 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4786 | { |
| 4787 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4788 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4789 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4790 | .manufacture_id = SST_ID, |
| 4791 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4792 | .total_size = 1024, |
| 4793 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4794 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4795 | .tested = TEST_UNTESTED, |
| 4796 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4797 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4798 | .block_erasers = |
| 4799 | { |
| 4800 | { |
| 4801 | .eraseblocks = { {4 * 1024, 256} }, |
| 4802 | .block_erase = erase_sector_jedec, |
| 4803 | }, { |
| 4804 | .eraseblocks = { {64 * 1024, 16} }, |
| 4805 | .block_erase = erase_block_jedec, |
| 4806 | }, { |
| 4807 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4808 | .block_erase = erase_chip_block_jedec, |
| 4809 | } |
| 4810 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4811 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4812 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4813 | }, |
| 4814 | |
| 4815 | { |
| 4816 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4817 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4818 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4819 | .manufacture_id = SST_ID, |
| 4820 | .model_id = SST_49LF002A, |
| 4821 | .total_size = 256, |
| 4822 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4823 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4824 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4825 | .probe = probe_jedec, |
| 4826 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4827 | .block_erasers = |
| 4828 | { |
| 4829 | { |
| 4830 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4831 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4832 | }, { |
| 4833 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4834 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4835 | }, { |
| 4836 | .eraseblocks = { {256 * 1024, 1} }, |
| 4837 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4838 | } |
| 4839 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4840 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4841 | .unlock = unlock_sst_fwhub, |
| 4842 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4843 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4844 | }, |
| 4845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4846 | { |
| 4847 | .vendor = "SST", |
| 4848 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4849 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4850 | .manufacture_id = SST_ID, |
| 4851 | .model_id = SST_49LF003A, |
| 4852 | .total_size = 384, |
| 4853 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4854 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4855 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4856 | .probe = probe_jedec, |
| 4857 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4858 | .block_erasers = |
| 4859 | { |
| 4860 | { |
| 4861 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4862 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4863 | }, { |
| 4864 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4865 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4866 | }, { |
| 4867 | .eraseblocks = { {384 * 1024, 1} }, |
| 4868 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4869 | } |
| 4870 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4871 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4872 | .unlock = unlock_sst_fwhub, |
| 4873 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4874 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4875 | }, |
| 4876 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4877 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4878 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4879 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4880 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4881 | .vendor = "SST", |
| 4882 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4883 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4884 | .manufacture_id = SST_ID, |
| 4885 | .model_id = SST_49LF004A, |
| 4886 | .total_size = 512, |
| 4887 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4888 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4889 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4890 | .probe = probe_jedec, |
| 4891 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4892 | .block_erasers = |
| 4893 | { |
| 4894 | { |
| 4895 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4896 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4897 | }, { |
| 4898 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4899 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4900 | }, { |
| 4901 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4902 | .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] | 4903 | }, |
| 4904 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4905 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4906 | .unlock = unlock_sst_fwhub, |
| 4907 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4908 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4909 | }, |
| 4910 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4911 | { |
| 4912 | .vendor = "SST", |
| 4913 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4914 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4915 | .manufacture_id = SST_ID, |
| 4916 | .model_id = SST_49LF004C, |
| 4917 | .total_size = 512, |
| 4918 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4919 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4920 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4921 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4922 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4923 | .block_erasers = |
| 4924 | { |
| 4925 | { |
| 4926 | .eraseblocks = { {4 * 1024, 128} }, |
| 4927 | .block_erase = erase_sector_49lfxxxc, |
| 4928 | }, { |
| 4929 | .eraseblocks = { |
| 4930 | {64 * 1024, 7}, |
| 4931 | {32 * 1024, 1}, |
| 4932 | {8 * 1024, 2}, |
| 4933 | {16 * 1024, 1}, |
| 4934 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4935 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4936 | } |
| 4937 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4938 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4939 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4940 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4941 | }, |
| 4942 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4943 | { |
| 4944 | .vendor = "SST", |
| 4945 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4946 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4947 | .manufacture_id = SST_ID, |
| 4948 | .model_id = SST_49LF008A, |
| 4949 | .total_size = 1024, |
| 4950 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4951 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4952 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4953 | .probe = probe_jedec, |
| 4954 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4955 | .block_erasers = |
| 4956 | { |
| 4957 | { |
| 4958 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4959 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4960 | }, { |
| 4961 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4962 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4963 | }, { |
| 4964 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4965 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4966 | } |
| 4967 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4968 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4969 | .unlock = unlock_sst_fwhub, |
| 4970 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4971 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4972 | }, |
| 4973 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4974 | { |
| 4975 | .vendor = "SST", |
| 4976 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4977 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4978 | .manufacture_id = SST_ID, |
| 4979 | .model_id = SST_49LF008C, |
| 4980 | .total_size = 1024, |
| 4981 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4982 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4983 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4984 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4985 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4986 | .block_erasers = |
| 4987 | { |
| 4988 | { |
| 4989 | .eraseblocks = { {4 * 1024, 256} }, |
| 4990 | .block_erase = erase_sector_49lfxxxc, |
| 4991 | }, { |
| 4992 | .eraseblocks = { |
| 4993 | {64 * 1024, 15}, |
| 4994 | {32 * 1024, 1}, |
| 4995 | {8 * 1024, 2}, |
| 4996 | {16 * 1024, 1}, |
| 4997 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4998 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4999 | } |
| 5000 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5001 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5002 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5003 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5004 | }, |
| 5005 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5006 | { |
| 5007 | .vendor = "SST", |
| 5008 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5009 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5010 | .manufacture_id = SST_ID, |
| 5011 | .model_id = SST_49LF016C, |
| 5012 | .total_size = 2048, |
| 5013 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5014 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5015 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5016 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5017 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5018 | .block_erasers = |
| 5019 | { |
| 5020 | { |
| 5021 | .eraseblocks = { {4 * 1024, 512} }, |
| 5022 | .block_erase = erase_sector_49lfxxxc, |
| 5023 | }, { |
| 5024 | .eraseblocks = { |
| 5025 | {64 * 1024, 31}, |
| 5026 | {32 * 1024, 1}, |
| 5027 | {8 * 1024, 2}, |
| 5028 | {16 * 1024, 1}, |
| 5029 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5030 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5031 | } |
| 5032 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5033 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5034 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5035 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5036 | }, |
| 5037 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5038 | { |
| 5039 | .vendor = "SST", |
| 5040 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5041 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5042 | .manufacture_id = SST_ID, |
| 5043 | .model_id = SST_49LF020, |
| 5044 | .total_size = 256, |
| 5045 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5046 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5047 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5048 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5049 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5050 | .block_erasers = |
| 5051 | { |
| 5052 | { |
| 5053 | .eraseblocks = { {4 * 1024, 64} }, |
| 5054 | .block_erase = erase_sector_jedec, |
| 5055 | }, { |
| 5056 | .eraseblocks = { {16 * 1024, 16} }, |
| 5057 | .block_erase = erase_block_jedec, |
| 5058 | }, { |
| 5059 | .eraseblocks = { {256 * 1024, 1} }, |
| 5060 | .block_erase = NULL, |
| 5061 | } |
| 5062 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5063 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5064 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 5065 | }, |
| 5066 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5067 | { |
| 5068 | .vendor = "SST", |
| 5069 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5070 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5071 | .manufacture_id = SST_ID, |
| 5072 | .model_id = SST_49LF020A, |
| 5073 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 5074 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5075 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5076 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5077 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5078 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5079 | .block_erasers = |
| 5080 | { |
| 5081 | { |
| 5082 | .eraseblocks = { {4 * 1024, 64} }, |
| 5083 | .block_erase = erase_sector_jedec, |
| 5084 | }, { |
| 5085 | .eraseblocks = { {16 * 1024, 16} }, |
| 5086 | .block_erase = erase_block_jedec, |
| 5087 | }, { |
| 5088 | .eraseblocks = { {256 * 1024, 1} }, |
| 5089 | .block_erase = NULL, |
| 5090 | } |
| 5091 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5092 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5093 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5094 | }, |
| 5095 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5096 | { |
| 5097 | .vendor = "SST", |
| 5098 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5099 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5100 | .manufacture_id = SST_ID, |
| 5101 | .model_id = SST_49LF040, |
| 5102 | .total_size = 512, |
| 5103 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5104 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5105 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5106 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5107 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5108 | .block_erasers = |
| 5109 | { |
| 5110 | { |
| 5111 | .eraseblocks = { {4 * 1024, 128} }, |
| 5112 | .block_erase = erase_sector_jedec, |
| 5113 | }, { |
| 5114 | .eraseblocks = { {64 * 1024, 8} }, |
| 5115 | .block_erase = erase_block_jedec, |
| 5116 | }, { |
| 5117 | .eraseblocks = { {512 * 1024, 1} }, |
| 5118 | .block_erase = NULL, |
| 5119 | } |
| 5120 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5121 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5122 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5123 | }, |
| 5124 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5125 | { |
| 5126 | .vendor = "SST", |
| 5127 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5128 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5129 | .manufacture_id = SST_ID, |
| 5130 | .model_id = SST_49LF040B, |
| 5131 | .total_size = 512, |
| 5132 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5133 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5134 | .tested = TEST_OK_PR, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5135 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5136 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5137 | .block_erasers = |
| 5138 | { |
| 5139 | { |
| 5140 | .eraseblocks = { {4 * 1024, 128} }, |
| 5141 | .block_erase = erase_sector_jedec, |
| 5142 | }, { |
| 5143 | .eraseblocks = { {64 * 1024, 8} }, |
| 5144 | .block_erase = erase_block_jedec, |
| 5145 | }, { |
| 5146 | .eraseblocks = { {512 * 1024, 1} }, |
| 5147 | .block_erase = NULL, |
| 5148 | } |
| 5149 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5150 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5151 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5152 | }, |
| 5153 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5154 | { |
| 5155 | .vendor = "SST", |
| 5156 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5157 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5158 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5159 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5160 | .total_size = 1024, |
| 5161 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5162 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5163 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5164 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5165 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5166 | .block_erasers = |
| 5167 | { |
| 5168 | { |
| 5169 | .eraseblocks = { {4 * 1024, 256} }, |
| 5170 | .block_erase = erase_sector_jedec, |
| 5171 | }, { |
| 5172 | .eraseblocks = { {64 * 1024, 16} }, |
| 5173 | .block_erase = erase_block_jedec, |
| 5174 | }, { |
| 5175 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5176 | .block_erase = NULL, |
| 5177 | } |
| 5178 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5179 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5180 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5181 | }, |
| 5182 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5183 | { |
| 5184 | .vendor = "SST", |
| 5185 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5186 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5187 | .manufacture_id = SST_ID, |
| 5188 | .model_id = SST_49LF160C, |
| 5189 | .total_size = 2048, |
| 5190 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5191 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5192 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5193 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5194 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5195 | .block_erasers = |
| 5196 | { |
| 5197 | { |
| 5198 | .eraseblocks = { {4 * 1024, 512} }, |
| 5199 | .block_erase = erase_sector_49lfxxxc, |
| 5200 | }, { |
| 5201 | .eraseblocks = { |
| 5202 | {64 * 1024, 31}, |
| 5203 | {32 * 1024, 1}, |
| 5204 | {8 * 1024, 2}, |
| 5205 | {16 * 1024, 1}, |
| 5206 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5207 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5208 | } |
| 5209 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5210 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5211 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5212 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5213 | }, |
| 5214 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5215 | { |
| 5216 | .vendor = "ST", |
| 5217 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5218 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5219 | .manufacture_id = ST_ID, |
| 5220 | .model_id = ST_M25P05A, |
| 5221 | .total_size = 64, |
| 5222 | .page_size = 256, |
| 5223 | .tested = TEST_UNTESTED, |
| 5224 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5225 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5226 | .block_erasers = |
| 5227 | { |
| 5228 | { |
| 5229 | .eraseblocks = { {32 * 1024, 2} }, |
| 5230 | .block_erase = spi_block_erase_d8, |
| 5231 | }, { |
| 5232 | .eraseblocks = { {64 * 1024, 1} }, |
| 5233 | .block_erase = spi_block_erase_c7, |
| 5234 | } |
| 5235 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5236 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5237 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5238 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5239 | }, |
| 5240 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5241 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 5242 | * 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] | 5243 | * 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] | 5244 | * only is successful if RDID does not work. |
| 5245 | */ |
| 5246 | { |
| 5247 | .vendor = "ST", |
| 5248 | .name = "M25P05.RES", |
| 5249 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5250 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5251 | .model_id = ST_M25P05_RES, |
| 5252 | .total_size = 64, |
| 5253 | .page_size = 256, |
| 5254 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5255 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5256 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5257 | .block_erasers = |
| 5258 | { |
| 5259 | { |
| 5260 | .eraseblocks = { {32 * 1024, 2} }, |
| 5261 | .block_erase = spi_block_erase_d8, |
| 5262 | }, { |
| 5263 | .eraseblocks = { {64 * 1024, 1} }, |
| 5264 | .block_erase = spi_block_erase_c7, |
| 5265 | } |
| 5266 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5267 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5268 | .write = spi_chip_write_1, /* 128 */ |
| 5269 | .read = spi_chip_read, |
| 5270 | }, |
| 5271 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5272 | { |
| 5273 | .vendor = "ST", |
| 5274 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5275 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5276 | .manufacture_id = ST_ID, |
| 5277 | .model_id = ST_M25P10A, |
| 5278 | .total_size = 128, |
| 5279 | .page_size = 256, |
| 5280 | .tested = TEST_UNTESTED, |
| 5281 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5282 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5283 | .block_erasers = |
| 5284 | { |
| 5285 | { |
| 5286 | .eraseblocks = { {32 * 1024, 4} }, |
| 5287 | .block_erase = spi_block_erase_d8, |
| 5288 | }, { |
| 5289 | .eraseblocks = { {128 * 1024, 1} }, |
| 5290 | .block_erase = spi_block_erase_c7, |
| 5291 | } |
| 5292 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5293 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5294 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5295 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5296 | }, |
| 5297 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5298 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 5299 | { |
| 5300 | .vendor = "ST", |
| 5301 | .name = "M25P10.RES", |
| 5302 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5303 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5304 | .model_id = ST_M25P10_RES, |
| 5305 | .total_size = 128, |
| 5306 | .page_size = 256, |
| 5307 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5308 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5309 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5310 | .block_erasers = |
| 5311 | { |
| 5312 | { |
| 5313 | .eraseblocks = { {32 * 1024, 4} }, |
| 5314 | .block_erase = spi_block_erase_d8, |
| 5315 | }, { |
| 5316 | .eraseblocks = { {128 * 1024, 1} }, |
| 5317 | .block_erase = spi_block_erase_c7, |
| 5318 | } |
| 5319 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5320 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5321 | .write = spi_chip_write_1, /* 128 */ |
| 5322 | .read = spi_chip_read, |
| 5323 | }, |
| 5324 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5325 | { |
| 5326 | .vendor = "ST", |
| 5327 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5328 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5329 | .manufacture_id = ST_ID, |
| 5330 | .model_id = ST_M25P20, |
| 5331 | .total_size = 256, |
| 5332 | .page_size = 256, |
| 5333 | .tested = TEST_UNTESTED, |
| 5334 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5335 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5336 | .block_erasers = |
| 5337 | { |
| 5338 | { |
| 5339 | .eraseblocks = { {64 * 1024, 4} }, |
| 5340 | .block_erase = spi_block_erase_d8, |
| 5341 | }, { |
| 5342 | .eraseblocks = { {256 * 1024, 1} }, |
| 5343 | .block_erase = spi_block_erase_c7, |
| 5344 | } |
| 5345 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5346 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5347 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5348 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5349 | }, |
| 5350 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5351 | { |
| 5352 | .vendor = "ST", |
| 5353 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5354 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5355 | .manufacture_id = ST_ID, |
| 5356 | .model_id = ST_M25P40, |
| 5357 | .total_size = 512, |
| 5358 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5359 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5360 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5361 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5362 | .block_erasers = |
| 5363 | { |
| 5364 | { |
| 5365 | .eraseblocks = { {64 * 1024, 8} }, |
| 5366 | .block_erase = spi_block_erase_d8, |
| 5367 | }, { |
| 5368 | .eraseblocks = { {512 * 1024, 1} }, |
| 5369 | .block_erase = spi_block_erase_c7, |
| 5370 | } |
| 5371 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5372 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5373 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5374 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5375 | }, |
| 5376 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5377 | { |
| 5378 | .vendor = "ST", |
| 5379 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5380 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5381 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5382 | .model_id = ST_M25P40_RES, |
| 5383 | .total_size = 512, |
| 5384 | .page_size = 256, |
| 5385 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5386 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5387 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5388 | .block_erasers = |
| 5389 | { |
| 5390 | { |
| 5391 | .eraseblocks = { {64 * 1024, 8} }, |
| 5392 | .block_erase = spi_block_erase_d8, |
| 5393 | }, { |
| 5394 | .eraseblocks = { {512 * 1024, 1} }, |
| 5395 | .block_erase = spi_block_erase_c7, |
| 5396 | } |
| 5397 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5398 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5399 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5400 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5401 | }, |
| 5402 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5403 | { |
| 5404 | .vendor = "ST", |
| 5405 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5406 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5407 | .manufacture_id = ST_ID, |
| 5408 | .model_id = ST_M25P80, |
| 5409 | .total_size = 1024, |
| 5410 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5411 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5412 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5413 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5414 | .block_erasers = |
| 5415 | { |
| 5416 | { |
| 5417 | .eraseblocks = { {64 * 1024, 16} }, |
| 5418 | .block_erase = spi_block_erase_d8, |
| 5419 | }, { |
| 5420 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5421 | .block_erase = spi_block_erase_c7, |
| 5422 | } |
| 5423 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5424 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5425 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5426 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5427 | }, |
| 5428 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5429 | { |
| 5430 | .vendor = "ST", |
| 5431 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5432 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5433 | .manufacture_id = ST_ID, |
| 5434 | .model_id = ST_M25P16, |
| 5435 | .total_size = 2048, |
| 5436 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5437 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5438 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5439 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5440 | .block_erasers = |
| 5441 | { |
| 5442 | { |
| 5443 | .eraseblocks = { {64 * 1024, 32} }, |
| 5444 | .block_erase = spi_block_erase_d8, |
| 5445 | }, { |
| 5446 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5447 | .block_erase = spi_block_erase_c7, |
| 5448 | } |
| 5449 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5450 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5451 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5452 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5453 | }, |
| 5454 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5455 | { |
| 5456 | .vendor = "ST", |
| 5457 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5458 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5459 | .manufacture_id = ST_ID, |
| 5460 | .model_id = ST_M25P32, |
| 5461 | .total_size = 4096, |
| 5462 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5463 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5464 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5465 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5466 | .block_erasers = |
| 5467 | { |
| 5468 | { |
| 5469 | .eraseblocks = { {64 * 1024, 64} }, |
| 5470 | .block_erase = spi_block_erase_d8, |
| 5471 | }, { |
| 5472 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5473 | .block_erase = spi_block_erase_c7, |
| 5474 | } |
| 5475 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5476 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5477 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5478 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5479 | }, |
| 5480 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5481 | { |
| 5482 | .vendor = "ST", |
| 5483 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5484 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5485 | .manufacture_id = ST_ID, |
| 5486 | .model_id = ST_M25P64, |
| 5487 | .total_size = 8192, |
| 5488 | .page_size = 256, |
| 5489 | .tested = TEST_UNTESTED, |
| 5490 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5491 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5492 | .block_erasers = |
| 5493 | { |
| 5494 | { |
| 5495 | .eraseblocks = { {64 * 1024, 128} }, |
| 5496 | .block_erase = spi_block_erase_d8, |
| 5497 | }, { |
| 5498 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5499 | .block_erase = spi_block_erase_c7, |
| 5500 | } |
| 5501 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5502 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5503 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5504 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5505 | }, |
| 5506 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5507 | { |
| 5508 | .vendor = "ST", |
| 5509 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5510 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5511 | .manufacture_id = ST_ID, |
| 5512 | .model_id = ST_M25P128, |
| 5513 | .total_size = 16384, |
| 5514 | .page_size = 256, |
| 5515 | .tested = TEST_UNTESTED, |
| 5516 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5517 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5518 | .block_erasers = |
| 5519 | { |
| 5520 | { |
| 5521 | .eraseblocks = { {256 * 1024, 64} }, |
| 5522 | .block_erase = spi_block_erase_d8, |
| 5523 | }, { |
| 5524 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5525 | .block_erase = spi_block_erase_c7, |
| 5526 | } |
| 5527 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5528 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5529 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5530 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5531 | }, |
| 5532 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5533 | { |
| 5534 | .vendor = "ST", |
| 5535 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5536 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5537 | .manufacture_id = ST_ID, |
| 5538 | .model_id = ST_M29F002B, |
| 5539 | .total_size = 256, |
| 5540 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5541 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5542 | .tested = TEST_UNTESTED, |
| 5543 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5544 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5545 | .block_erasers = |
| 5546 | { |
| 5547 | { |
| 5548 | .eraseblocks = { |
| 5549 | {16 * 1024, 1}, |
| 5550 | {8 * 1024, 2}, |
| 5551 | {32 * 1024, 1}, |
| 5552 | {64 * 1024, 3}, |
| 5553 | }, |
| 5554 | .block_erase = erase_sector_jedec, |
| 5555 | }, { |
| 5556 | .eraseblocks = { {256 * 1024, 1} }, |
| 5557 | .block_erase = erase_chip_block_jedec, |
| 5558 | } |
| 5559 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5560 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5561 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5562 | }, |
| 5563 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5564 | { |
| 5565 | .vendor = "ST", |
| 5566 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5567 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5568 | .manufacture_id = ST_ID, |
| 5569 | .model_id = ST_M29F002T, |
| 5570 | .total_size = 256, |
| 5571 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5572 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 5573 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5574 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5575 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5576 | .block_erasers = |
| 5577 | { |
| 5578 | { |
| 5579 | .eraseblocks = { |
| 5580 | {64 * 1024, 3}, |
| 5581 | {32 * 1024, 1}, |
| 5582 | {8 * 1024, 2}, |
| 5583 | {16 * 1024, 1}, |
| 5584 | }, |
| 5585 | .block_erase = erase_sector_jedec, |
| 5586 | }, { |
| 5587 | .eraseblocks = { {256 * 1024, 1} }, |
| 5588 | .block_erase = erase_chip_block_jedec, |
| 5589 | } |
| 5590 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5591 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5592 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5593 | }, |
| 5594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5595 | { |
| 5596 | .vendor = "ST", |
| 5597 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5598 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5599 | .manufacture_id = ST_ID, |
| 5600 | .model_id = ST_M29F040B, |
| 5601 | .total_size = 512, |
| 5602 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5603 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5604 | .tested = TEST_UNTESTED, |
| 5605 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 5606 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5607 | .block_erasers = |
| 5608 | { |
| 5609 | { |
| 5610 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5611 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5612 | }, { |
| 5613 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5614 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5615 | } |
| 5616 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5617 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5618 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5619 | }, |
| 5620 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5621 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5622 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5623 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 5624 | .name = "M29F400BB", |
| 5625 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5626 | .manufacture_id = ST_ID, |
| 5627 | .model_id = ST_M29F400BB, |
| 5628 | .total_size = 512, |
| 5629 | .page_size = 64 * 1024, |
| 5630 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
| 5631 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
| 5632 | .probe = probe_m29f400bt, |
| 5633 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 5634 | .block_erasers = |
| 5635 | { |
| 5636 | { |
| 5637 | .eraseblocks = { |
| 5638 | {16 * 1024, 1}, |
| 5639 | {8 * 1024, 2}, |
| 5640 | {32 * 1024, 1}, |
| 5641 | {64 * 1024, 7}, |
| 5642 | }, |
| 5643 | .block_erase = block_erase_m29f400bt, |
| 5644 | }, { |
| 5645 | .eraseblocks = { {512 * 1024, 1} }, |
| 5646 | .block_erase = block_erase_chip_m29f400bt, |
| 5647 | } |
| 5648 | }, |
| 5649 | .write = NULL, |
| 5650 | .read = read_memmapped, |
| 5651 | }, |
| 5652 | { |
| 5653 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 5654 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5655 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5656 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5657 | .manufacture_id = ST_ID, |
| 5658 | .model_id = ST_M29F400BT, |
| 5659 | .total_size = 512, |
| 5660 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5661 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5662 | .tested = TEST_UNTESTED, |
| 5663 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5664 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5665 | .block_erasers = |
| 5666 | { |
| 5667 | { |
| 5668 | .eraseblocks = { |
| 5669 | {64 * 1024, 7}, |
| 5670 | {32 * 1024, 1}, |
| 5671 | {8 * 1024, 2}, |
| 5672 | {16 * 1024, 1}, |
| 5673 | }, |
| 5674 | .block_erase = block_erase_m29f400bt, |
| 5675 | }, { |
| 5676 | .eraseblocks = { {512 * 1024, 1} }, |
| 5677 | .block_erase = block_erase_chip_m29f400bt, |
| 5678 | } |
| 5679 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 5680 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5681 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5682 | }, |
| 5683 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5684 | { |
| 5685 | .vendor = "ST", |
| 5686 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5687 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5688 | .manufacture_id = ST_ID, |
| 5689 | .model_id = ST_M29W010B, |
| 5690 | .total_size = 128, |
| 5691 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5692 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5693 | .tested = TEST_UNTESTED, |
| 5694 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5695 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5696 | .block_erasers = |
| 5697 | { |
| 5698 | { |
| 5699 | .eraseblocks = { {16 * 1024, 8}, }, |
| 5700 | .block_erase = erase_sector_jedec, |
| 5701 | }, { |
| 5702 | .eraseblocks = { {128 * 1024, 1} }, |
| 5703 | .block_erase = erase_chip_block_jedec, |
| 5704 | } |
| 5705 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5706 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5707 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5708 | }, |
| 5709 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5710 | { |
| 5711 | .vendor = "ST", |
| 5712 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5713 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5714 | .manufacture_id = ST_ID, |
| 5715 | .model_id = ST_M29W040B, |
| 5716 | .total_size = 512, |
| 5717 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5718 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5719 | .tested = TEST_UNTESTED, |
| 5720 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5721 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5722 | .block_erasers = |
| 5723 | { |
| 5724 | { |
| 5725 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5726 | .block_erase = erase_sector_jedec, |
| 5727 | }, { |
| 5728 | .eraseblocks = { {512 * 1024, 1} }, |
| 5729 | .block_erase = erase_chip_block_jedec, |
| 5730 | } |
| 5731 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5732 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5733 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5734 | }, |
| 5735 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5736 | { |
| 5737 | .vendor = "ST", |
| 5738 | .name = "M29W512B", |
| 5739 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5740 | .manufacture_id = ST_ID, |
| 5741 | .model_id = ST_M29W512B, |
| 5742 | .total_size = 64, |
| 5743 | .page_size = 64 * 1024, |
| 5744 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5745 | .tested = TEST_OK_PREW, |
| 5746 | .probe = probe_jedec, |
| 5747 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5748 | .block_erasers = |
| 5749 | { |
| 5750 | { |
| 5751 | .eraseblocks = { {64 * 1024, 1} }, |
| 5752 | .block_erase = erase_chip_block_jedec, |
| 5753 | } |
| 5754 | }, |
| 5755 | .write = write_jedec_1, |
| 5756 | .read = read_memmapped, |
| 5757 | }, |
| 5758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5759 | { |
| 5760 | .vendor = "ST", |
| 5761 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5762 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5763 | .manufacture_id = ST_ID, |
| 5764 | .model_id = ST_M50FLW040A, |
| 5765 | .total_size = 512, |
| 5766 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5767 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5768 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5769 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5770 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5771 | .block_erasers = |
| 5772 | { |
| 5773 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5774 | .eraseblocks = { |
| 5775 | {4 * 1024, 16}, /* sector */ |
| 5776 | {64 * 1024, 5}, /* block */ |
| 5777 | {4 * 1024, 16}, /* sector */ |
| 5778 | {4 * 1024, 16}, /* sector */ |
| 5779 | }, |
| 5780 | .block_erase = NULL, |
| 5781 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5782 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5783 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5784 | }, { |
| 5785 | .eraseblocks = { {512 * 1024, 1} }, |
| 5786 | .block_erase = erase_chip_stm50flw0x0x, |
| 5787 | } |
| 5788 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5789 | .unlock = unlock_stm50flw0x0x, |
| 5790 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5791 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5792 | }, |
| 5793 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5794 | { |
| 5795 | .vendor = "ST", |
| 5796 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5797 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5798 | .manufacture_id = ST_ID, |
| 5799 | .model_id = ST_M50FLW040B, |
| 5800 | .total_size = 512, |
| 5801 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5802 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5803 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5804 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5805 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5806 | .block_erasers = |
| 5807 | { |
| 5808 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5809 | .eraseblocks = { |
| 5810 | {4 * 1024, 16}, /* sector */ |
| 5811 | {4 * 1024, 16}, /* sector */ |
| 5812 | {64 * 1024, 5}, /* block */ |
| 5813 | {4 * 1024, 16}, /* sector */ |
| 5814 | }, |
| 5815 | .block_erase = NULL, |
| 5816 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5817 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5818 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5819 | }, { |
| 5820 | .eraseblocks = { {512 * 1024, 1} }, |
| 5821 | .block_erase = erase_chip_stm50flw0x0x, |
| 5822 | } |
| 5823 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5824 | .unlock = unlock_stm50flw0x0x, |
| 5825 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5826 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5827 | }, |
| 5828 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5829 | { |
| 5830 | .vendor = "ST", |
| 5831 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5832 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5833 | .manufacture_id = ST_ID, |
| 5834 | .model_id = ST_M50FLW080A, |
| 5835 | .total_size = 1024, |
| 5836 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5837 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5838 | .tested = TEST_UNTESTED, |
| 5839 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5840 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5841 | .block_erasers = |
| 5842 | { |
| 5843 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5844 | .eraseblocks = { |
| 5845 | {4 * 1024, 16}, /* sector */ |
| 5846 | {64 * 1024, 13}, /* block */ |
| 5847 | {4 * 1024, 16}, /* sector */ |
| 5848 | {4 * 1024, 16}, /* sector */ |
| 5849 | }, |
| 5850 | .block_erase = NULL, |
| 5851 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5852 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5853 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5854 | }, { |
| 5855 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5856 | .block_erase = erase_chip_stm50flw0x0x, |
| 5857 | } |
| 5858 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5859 | .unlock = unlock_stm50flw0x0x, |
| 5860 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5861 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5862 | }, |
| 5863 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5864 | { |
| 5865 | .vendor = "ST", |
| 5866 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5867 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5868 | .manufacture_id = ST_ID, |
| 5869 | .model_id = ST_M50FLW080B, |
| 5870 | .total_size = 1024, |
| 5871 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5872 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5873 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5874 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5875 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5876 | .block_erasers = |
| 5877 | { |
| 5878 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5879 | .eraseblocks = { |
| 5880 | {4 * 1024, 16}, /* sector */ |
| 5881 | {4 * 1024, 16}, /* sector */ |
| 5882 | {64 * 1024, 13}, /* block */ |
| 5883 | {4 * 1024, 16}, /* sector */ |
| 5884 | }, |
| 5885 | .block_erase = NULL, |
| 5886 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5887 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5888 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5889 | }, { |
| 5890 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5891 | .block_erase = erase_chip_stm50flw0x0x, |
| 5892 | } |
| 5893 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5894 | .unlock = unlock_stm50flw0x0x, |
| 5895 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5896 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5897 | }, |
| 5898 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5899 | { |
| 5900 | .vendor = "ST", |
| 5901 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5902 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5903 | .manufacture_id = ST_ID, |
| 5904 | .model_id = ST_M50FW002, |
| 5905 | .total_size = 256, |
| 5906 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5907 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5908 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5909 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5910 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5911 | .block_erasers = |
| 5912 | { |
| 5913 | { |
| 5914 | .eraseblocks = { |
| 5915 | {64 * 1024, 3}, |
| 5916 | {32 * 1024, 1}, |
| 5917 | {8 * 1024, 2}, |
| 5918 | {16 * 1024, 1}, |
| 5919 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5920 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5921 | }, { |
| 5922 | .eraseblocks = { {256 * 1024, 1} }, |
| 5923 | .block_erase = erase_chip_stm50flw0x0x, |
| 5924 | } |
| 5925 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5926 | .unlock = unlock_stm50flw0x0x, |
| 5927 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5928 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5929 | }, |
| 5930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5931 | { |
| 5932 | .vendor = "ST", |
| 5933 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5934 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5935 | .manufacture_id = ST_ID, |
| 5936 | .model_id = ST_M50FW016, |
| 5937 | .total_size = 2048, |
| 5938 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5939 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5940 | .tested = TEST_UNTESTED, |
| 5941 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5942 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5943 | .block_erasers = |
| 5944 | { |
| 5945 | { |
| 5946 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5947 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5948 | }, { |
| 5949 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5950 | .block_erase = erase_chip_stm50flw0x0x, |
| 5951 | } |
| 5952 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5953 | .unlock = unlock_stm50flw0x0x, |
| 5954 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5955 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5956 | }, |
| 5957 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5958 | { |
| 5959 | .vendor = "ST", |
| 5960 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5961 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5962 | .manufacture_id = ST_ID, |
| 5963 | .model_id = ST_M50FW040, |
| 5964 | .total_size = 512, |
| 5965 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5966 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5967 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5968 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5969 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5970 | .block_erasers = |
| 5971 | { |
| 5972 | { |
| 5973 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5974 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5975 | }, { |
| 5976 | .eraseblocks = { {512 * 1024, 1} }, |
| 5977 | .block_erase = erase_chip_stm50flw0x0x, |
| 5978 | } |
| 5979 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5980 | .unlock = unlock_stm50flw0x0x, |
| 5981 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5982 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5983 | }, |
| 5984 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5985 | { |
| 5986 | .vendor = "ST", |
| 5987 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5988 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5989 | .manufacture_id = ST_ID, |
| 5990 | .model_id = ST_M50FW080, |
| 5991 | .total_size = 1024, |
| 5992 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5993 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5994 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5995 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5996 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5997 | .block_erasers = |
| 5998 | { |
| 5999 | { |
| 6000 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6001 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6002 | }, { |
| 6003 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6004 | .block_erase = erase_chip_stm50flw0x0x, |
| 6005 | } |
| 6006 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6007 | .unlock = unlock_stm50flw0x0x, |
| 6008 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6009 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6010 | }, |
| 6011 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6012 | { |
| 6013 | .vendor = "ST", |
| 6014 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6015 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6016 | .manufacture_id = ST_ID, |
| 6017 | .model_id = ST_M50LPW116, |
| 6018 | .total_size = 2048, |
| 6019 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6020 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6021 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6022 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6023 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6024 | .block_erasers = |
| 6025 | { |
| 6026 | { |
| 6027 | .eraseblocks = { |
| 6028 | {4 * 1024, 16}, |
| 6029 | {64 * 1024, 30}, |
| 6030 | {32 * 1024, 1}, |
| 6031 | {8 * 1024, 2}, |
| 6032 | {16 * 1024, 1}, |
| 6033 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6034 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6035 | }, { |
| 6036 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6037 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6038 | } |
| 6039 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6040 | .unlock = unlock_stm50flw0x0x, |
| 6041 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6042 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6043 | }, |
| 6044 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6045 | { |
| 6046 | .vendor = "SyncMOS", |
| 6047 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6048 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6049 | .manufacture_id = SYNCMOS_ID, |
| 6050 | .model_id = S29C31004T, |
| 6051 | .total_size = 512, |
| 6052 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6053 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6054 | .tested = TEST_UNTESTED, |
| 6055 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6056 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6057 | .block_erasers = |
| 6058 | { |
| 6059 | { |
| 6060 | .eraseblocks = { {1 * 1024, 512} }, |
| 6061 | .block_erase = erase_sector_jedec, |
| 6062 | }, { |
| 6063 | .eraseblocks = { {512 * 1024, 1} }, |
| 6064 | .block_erase = erase_chip_block_jedec, |
| 6065 | }, |
| 6066 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6067 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6068 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6069 | }, |
| 6070 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6071 | { |
| 6072 | .vendor = "SyncMOS", |
| 6073 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6074 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6075 | .manufacture_id = SYNCMOS_ID, |
| 6076 | .model_id = S29C51001T, |
| 6077 | .total_size = 128, |
| 6078 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6079 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6080 | .tested = TEST_UNTESTED, |
| 6081 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6082 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6083 | .block_erasers = |
| 6084 | { |
| 6085 | { |
| 6086 | .eraseblocks = { {512, 256} }, |
| 6087 | .block_erase = erase_sector_jedec, |
| 6088 | }, { |
| 6089 | .eraseblocks = { {128 * 1024, 1} }, |
| 6090 | .block_erase = erase_chip_block_jedec, |
| 6091 | }, |
| 6092 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6093 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6094 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6095 | }, |
| 6096 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6097 | { |
| 6098 | .vendor = "SyncMOS", |
| 6099 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6100 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6101 | .manufacture_id = SYNCMOS_ID, |
| 6102 | .model_id = S29C51002T, |
| 6103 | .total_size = 256, |
| 6104 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6105 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6106 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6107 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6108 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6109 | .block_erasers = |
| 6110 | { |
| 6111 | { |
| 6112 | .eraseblocks = { {512, 512} }, |
| 6113 | .block_erase = erase_sector_jedec, |
| 6114 | }, { |
| 6115 | .eraseblocks = { {256 * 1024, 1} }, |
| 6116 | .block_erase = erase_chip_block_jedec, |
| 6117 | }, |
| 6118 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6119 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6120 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6121 | }, |
| 6122 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6123 | { |
| 6124 | .vendor = "SyncMOS", |
| 6125 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6126 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6127 | .manufacture_id = SYNCMOS_ID, |
| 6128 | .model_id = S29C51004T, |
| 6129 | .total_size = 512, |
| 6130 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6131 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6132 | .tested = TEST_UNTESTED, |
| 6133 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6134 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6135 | .block_erasers = |
| 6136 | { |
| 6137 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 6138 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6139 | .block_erase = erase_sector_jedec, |
| 6140 | }, { |
| 6141 | .eraseblocks = { {512 * 1024, 1} }, |
| 6142 | .block_erase = erase_chip_block_jedec, |
| 6143 | }, |
| 6144 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6145 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6146 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6147 | }, |
| 6148 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6149 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6150 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6151 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6152 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6153 | .manufacture_id = TI_OLD_ID, |
| 6154 | .model_id = TI_TMS29F002RB, |
| 6155 | .total_size = 256, |
| 6156 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6157 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6158 | .tested = TEST_UNTESTED, |
| 6159 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6160 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6161 | .block_erasers = |
| 6162 | { |
| 6163 | { |
| 6164 | .eraseblocks = { |
| 6165 | {16 * 1024, 1}, |
| 6166 | {8 * 1024, 2}, |
| 6167 | {32 * 1024, 1}, |
| 6168 | {64 * 1024, 3}, |
| 6169 | }, |
| 6170 | .block_erase = erase_sector_jedec, |
| 6171 | }, { |
| 6172 | .eraseblocks = { {256 * 1024, 1} }, |
| 6173 | .block_erase = erase_chip_block_jedec, |
| 6174 | }, |
| 6175 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6176 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6177 | .read = read_memmapped, |
| 6178 | }, |
| 6179 | |
| 6180 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6181 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6182 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6183 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6184 | .manufacture_id = TI_OLD_ID, |
| 6185 | .model_id = TI_TMS29F002RT, |
| 6186 | .total_size = 256, |
| 6187 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6188 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6189 | .tested = TEST_UNTESTED, |
| 6190 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6191 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6192 | .block_erasers = |
| 6193 | { |
| 6194 | { |
| 6195 | .eraseblocks = { |
| 6196 | {64 * 1024, 3}, |
| 6197 | {32 * 1024, 1}, |
| 6198 | {8 * 1024, 2}, |
| 6199 | {16 * 1024, 1}, |
| 6200 | }, |
| 6201 | .block_erase = erase_sector_jedec, |
| 6202 | }, { |
| 6203 | .eraseblocks = { {256 * 1024, 1} }, |
| 6204 | .block_erase = erase_chip_block_jedec, |
| 6205 | }, |
| 6206 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6207 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6208 | .read = read_memmapped, |
| 6209 | }, |
| 6210 | |
| 6211 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6212 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6213 | .name = "W25Q80", |
| 6214 | .bustype = CHIP_BUSTYPE_SPI, |
| 6215 | .manufacture_id = WINBOND_NEX_ID, |
| 6216 | .model_id = W_25Q80, |
| 6217 | .total_size = 1024, |
| 6218 | .page_size = 256, |
| 6219 | .tested = TEST_UNTESTED, |
| 6220 | .probe = probe_spi_rdid, |
| 6221 | .probe_timing = TIMING_ZERO, |
| 6222 | .block_erasers = |
| 6223 | { |
| 6224 | { |
| 6225 | .eraseblocks = { {4 * 1024, 256} }, |
| 6226 | .block_erase = spi_block_erase_20, |
| 6227 | }, { |
| 6228 | .eraseblocks = { {32 * 1024, 32} }, |
| 6229 | .block_erase = spi_block_erase_52, |
| 6230 | }, { |
| 6231 | .eraseblocks = { {64 * 1024, 16} }, |
| 6232 | .block_erase = spi_block_erase_d8, |
| 6233 | }, { |
| 6234 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6235 | .block_erase = spi_block_erase_60, |
| 6236 | }, { |
| 6237 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6238 | .block_erase = spi_block_erase_c7, |
| 6239 | } |
| 6240 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6241 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6242 | .write = spi_chip_write_256, |
| 6243 | .read = spi_chip_read, |
| 6244 | }, |
| 6245 | |
| 6246 | { |
| 6247 | .vendor = "Winbond", |
| 6248 | .name = "W25Q16", |
| 6249 | .bustype = CHIP_BUSTYPE_SPI, |
| 6250 | .manufacture_id = WINBOND_NEX_ID, |
| 6251 | .model_id = W_25Q16, |
| 6252 | .total_size = 2048, |
| 6253 | .page_size = 256, |
| 6254 | .tested = TEST_UNTESTED, |
| 6255 | .probe = probe_spi_rdid, |
| 6256 | .probe_timing = TIMING_ZERO, |
| 6257 | .block_erasers = |
| 6258 | { |
| 6259 | { |
| 6260 | .eraseblocks = { {4 * 1024, 512} }, |
| 6261 | .block_erase = spi_block_erase_20, |
| 6262 | }, { |
| 6263 | .eraseblocks = { {32 * 1024, 64} }, |
| 6264 | .block_erase = spi_block_erase_52, |
| 6265 | }, { |
| 6266 | .eraseblocks = { {64 * 1024, 32} }, |
| 6267 | .block_erase = spi_block_erase_d8, |
| 6268 | }, { |
| 6269 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6270 | .block_erase = spi_block_erase_60, |
| 6271 | }, { |
| 6272 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6273 | .block_erase = spi_block_erase_c7, |
| 6274 | } |
| 6275 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6276 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6277 | .write = spi_chip_write_256, |
| 6278 | .read = spi_chip_read, |
| 6279 | }, |
| 6280 | |
| 6281 | { |
| 6282 | .vendor = "Winbond", |
| 6283 | .name = "W25Q32", |
| 6284 | .bustype = CHIP_BUSTYPE_SPI, |
| 6285 | .manufacture_id = WINBOND_NEX_ID, |
| 6286 | .model_id = W_25Q32, |
| 6287 | .total_size = 4096, |
| 6288 | .page_size = 256, |
| 6289 | .tested = TEST_UNTESTED, |
| 6290 | .probe = probe_spi_rdid, |
| 6291 | .probe_timing = TIMING_ZERO, |
| 6292 | .block_erasers = |
| 6293 | { |
| 6294 | { |
| 6295 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6296 | .block_erase = spi_block_erase_20, |
| 6297 | }, { |
| 6298 | .eraseblocks = { {32 * 1024, 128} }, |
| 6299 | .block_erase = spi_block_erase_52, |
| 6300 | }, { |
| 6301 | .eraseblocks = { {64 * 1024, 64} }, |
| 6302 | .block_erase = spi_block_erase_d8, |
| 6303 | }, { |
| 6304 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6305 | .block_erase = spi_block_erase_60, |
| 6306 | }, { |
| 6307 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6308 | .block_erase = spi_block_erase_c7, |
| 6309 | } |
| 6310 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6311 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6312 | .write = spi_chip_write_256, |
| 6313 | .read = spi_chip_read, |
| 6314 | }, |
| 6315 | |
| 6316 | { |
| 6317 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 6318 | .name = "W25Q64", |
| 6319 | .bustype = CHIP_BUSTYPE_SPI, |
| 6320 | .manufacture_id = WINBOND_NEX_ID, |
| 6321 | .model_id = W_25Q64, |
| 6322 | .total_size = 8192, |
| 6323 | .page_size = 256, |
| 6324 | .tested = TEST_OK_PRW, |
| 6325 | .probe = probe_spi_rdid, |
| 6326 | .probe_timing = TIMING_ZERO, |
| 6327 | .block_erasers = |
| 6328 | { |
| 6329 | { |
| 6330 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6331 | .block_erase = spi_block_erase_20, |
| 6332 | }, { |
| 6333 | .eraseblocks = { {32 * 1024, 256} }, |
| 6334 | .block_erase = spi_block_erase_52, |
| 6335 | }, { |
| 6336 | .eraseblocks = { {64 * 1024, 128} }, |
| 6337 | .block_erase = spi_block_erase_d8, |
| 6338 | }, { |
| 6339 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6340 | .block_erase = spi_block_erase_60, |
| 6341 | }, { |
| 6342 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6343 | .block_erase = spi_block_erase_c7, |
| 6344 | } |
| 6345 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6346 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 6347 | .write = spi_chip_write_256, |
| 6348 | .read = spi_chip_read, |
| 6349 | }, |
| 6350 | |
| 6351 | { |
| 6352 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6353 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6354 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6355 | .manufacture_id = WINBOND_NEX_ID, |
| 6356 | .model_id = W_25X10, |
| 6357 | .total_size = 128, |
| 6358 | .page_size = 256, |
| 6359 | .tested = TEST_UNTESTED, |
| 6360 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6361 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6362 | .block_erasers = |
| 6363 | { |
| 6364 | { |
| 6365 | .eraseblocks = { {4 * 1024, 32} }, |
| 6366 | .block_erase = spi_block_erase_20, |
| 6367 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6368 | .eraseblocks = { {64 * 1024, 2} }, |
| 6369 | .block_erase = spi_block_erase_d8, |
| 6370 | }, { |
| 6371 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6372 | .block_erase = spi_block_erase_c7, |
| 6373 | } |
| 6374 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6375 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6376 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6377 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6378 | }, |
| 6379 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6380 | { |
| 6381 | .vendor = "Winbond", |
| 6382 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6383 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6384 | .manufacture_id = WINBOND_NEX_ID, |
| 6385 | .model_id = W_25X20, |
| 6386 | .total_size = 256, |
| 6387 | .page_size = 256, |
| 6388 | .tested = TEST_UNTESTED, |
| 6389 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6390 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6391 | .block_erasers = |
| 6392 | { |
| 6393 | { |
| 6394 | .eraseblocks = { {4 * 1024, 64} }, |
| 6395 | .block_erase = spi_block_erase_20, |
| 6396 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6397 | .eraseblocks = { {64 * 1024, 4} }, |
| 6398 | .block_erase = spi_block_erase_d8, |
| 6399 | }, { |
| 6400 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6401 | .block_erase = spi_block_erase_c7, |
| 6402 | } |
| 6403 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6404 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6405 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6406 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6407 | }, |
| 6408 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6409 | { |
| 6410 | .vendor = "Winbond", |
| 6411 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6412 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6413 | .manufacture_id = WINBOND_NEX_ID, |
| 6414 | .model_id = W_25X40, |
| 6415 | .total_size = 512, |
| 6416 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6417 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6418 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6419 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6420 | .block_erasers = |
| 6421 | { |
| 6422 | { |
| 6423 | .eraseblocks = { {4 * 1024, 128} }, |
| 6424 | .block_erase = spi_block_erase_20, |
| 6425 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6426 | .eraseblocks = { {64 * 1024, 8} }, |
| 6427 | .block_erase = spi_block_erase_d8, |
| 6428 | }, { |
| 6429 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6430 | .block_erase = spi_block_erase_c7, |
| 6431 | } |
| 6432 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6433 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6434 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6435 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6436 | }, |
| 6437 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6438 | { |
| 6439 | .vendor = "Winbond", |
| 6440 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6441 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6442 | .manufacture_id = WINBOND_NEX_ID, |
| 6443 | .model_id = W_25X80, |
| 6444 | .total_size = 1024, |
| 6445 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6446 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6447 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6448 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6449 | .block_erasers = |
| 6450 | { |
| 6451 | { |
| 6452 | .eraseblocks = { {4 * 1024, 256} }, |
| 6453 | .block_erase = spi_block_erase_20, |
| 6454 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6455 | .eraseblocks = { {64 * 1024, 16} }, |
| 6456 | .block_erase = spi_block_erase_d8, |
| 6457 | }, { |
| 6458 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6459 | .block_erase = spi_block_erase_c7, |
| 6460 | } |
| 6461 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6462 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6463 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6464 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6465 | }, |
| 6466 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6467 | { |
| 6468 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 6469 | .name = "W25x16", |
| 6470 | .bustype = CHIP_BUSTYPE_SPI, |
| 6471 | .manufacture_id = WINBOND_NEX_ID, |
| 6472 | .model_id = W_25X16, |
| 6473 | .total_size = 2048, |
| 6474 | .page_size = 256, |
| 6475 | .tested = TEST_OK_PR, |
| 6476 | .probe = probe_spi_rdid, |
| 6477 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6478 | .block_erasers = |
| 6479 | { |
| 6480 | { |
| 6481 | .eraseblocks = { {4 * 1024, 512} }, |
| 6482 | .block_erase = spi_block_erase_20, |
| 6483 | }, { |
| 6484 | .eraseblocks = { {32 * 1024, 64} }, |
| 6485 | .block_erase = spi_block_erase_52, |
| 6486 | }, { |
| 6487 | .eraseblocks = { {64 * 1024, 32} }, |
| 6488 | .block_erase = spi_block_erase_d8, |
| 6489 | }, { |
| 6490 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6491 | .block_erase = spi_block_erase_60, |
| 6492 | }, { |
| 6493 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6494 | .block_erase = spi_block_erase_c7, |
| 6495 | } |
| 6496 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6497 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 6498 | .write = spi_chip_write_256, |
| 6499 | .read = spi_chip_read, |
| 6500 | }, |
| 6501 | |
| 6502 | { |
| 6503 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6504 | .name = "W25x32", |
| 6505 | .bustype = CHIP_BUSTYPE_SPI, |
| 6506 | .manufacture_id = WINBOND_NEX_ID, |
| 6507 | .model_id = W_25X32, |
| 6508 | .total_size = 4096, |
| 6509 | .page_size = 256, |
| 6510 | .tested = TEST_OK_PROBE, |
| 6511 | .probe = probe_spi_rdid, |
| 6512 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6513 | .block_erasers = |
| 6514 | { |
| 6515 | { |
| 6516 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6517 | .block_erase = spi_block_erase_20, |
| 6518 | }, { |
| 6519 | .eraseblocks = { {32 * 1024, 128} }, |
| 6520 | .block_erase = spi_block_erase_52, |
| 6521 | }, { |
| 6522 | .eraseblocks = { {64 * 1024, 64} }, |
| 6523 | .block_erase = spi_block_erase_d8, |
| 6524 | }, { |
| 6525 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6526 | .block_erase = spi_block_erase_60, |
| 6527 | }, { |
| 6528 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6529 | .block_erase = spi_block_erase_c7, |
| 6530 | } |
| 6531 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6532 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6533 | .write = spi_chip_write_256, |
| 6534 | .read = spi_chip_read, |
| 6535 | }, |
| 6536 | |
| 6537 | { |
| 6538 | .vendor = "Winbond", |
| 6539 | .name = "W25x64", |
| 6540 | .bustype = CHIP_BUSTYPE_SPI, |
| 6541 | .manufacture_id = WINBOND_NEX_ID, |
| 6542 | .model_id = W_25X64, |
| 6543 | .total_size = 8192, |
| 6544 | .page_size = 256, |
| 6545 | .tested = TEST_UNTESTED, |
| 6546 | .probe = probe_spi_rdid, |
| 6547 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6548 | .block_erasers = |
| 6549 | { |
| 6550 | { |
| 6551 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6552 | .block_erase = spi_block_erase_20, |
| 6553 | }, { |
| 6554 | .eraseblocks = { {32 * 1024, 256} }, |
| 6555 | .block_erase = spi_block_erase_52, |
| 6556 | }, { |
| 6557 | .eraseblocks = { {64 * 1024, 128} }, |
| 6558 | .block_erase = spi_block_erase_d8, |
| 6559 | }, { |
| 6560 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6561 | .block_erase = spi_block_erase_60, |
| 6562 | }, { |
| 6563 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6564 | .block_erase = spi_block_erase_c7, |
| 6565 | } |
| 6566 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6567 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6568 | .write = spi_chip_write_256, |
| 6569 | .read = spi_chip_read, |
| 6570 | }, |
| 6571 | |
| 6572 | { |
| 6573 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6574 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6575 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6576 | .manufacture_id = WINBOND_ID, |
| 6577 | .model_id = W_29C011, |
| 6578 | .total_size = 128, |
| 6579 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6580 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6581 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6582 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6583 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6584 | .block_erasers = |
| 6585 | { |
| 6586 | { |
| 6587 | .eraseblocks = { {128 * 1024, 1} }, |
| 6588 | .block_erase = erase_chip_block_jedec, |
| 6589 | } |
| 6590 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6591 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6592 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6593 | }, |
| 6594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6595 | { |
| 6596 | .vendor = "Winbond", |
| 6597 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6598 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6599 | .manufacture_id = WINBOND_ID, |
| 6600 | .model_id = W_29C020C, |
| 6601 | .total_size = 256, |
| 6602 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6603 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6604 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6605 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6606 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6607 | .block_erasers = |
| 6608 | { |
| 6609 | { |
| 6610 | .eraseblocks = { {256 * 1024, 1} }, |
| 6611 | .block_erase = erase_chip_block_jedec, |
| 6612 | } |
| 6613 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6614 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6615 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6616 | }, |
| 6617 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6618 | { |
| 6619 | .vendor = "Winbond", |
| 6620 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6621 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6622 | .manufacture_id = WINBOND_ID, |
| 6623 | .model_id = W_29C040P, |
| 6624 | .total_size = 512, |
| 6625 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6626 | .feature_bits = FEATURE_LONG_RESET, |
| 6627 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6628 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6629 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6630 | .block_erasers = |
| 6631 | { |
| 6632 | { |
| 6633 | .eraseblocks = { {512 * 1024, 1} }, |
| 6634 | .block_erase = erase_chip_block_jedec, |
| 6635 | } |
| 6636 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6637 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6638 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6639 | }, |
| 6640 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6641 | { |
| 6642 | .vendor = "Winbond", |
| 6643 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6644 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6645 | .manufacture_id = WINBOND_ID, |
| 6646 | .model_id = W_29C011, |
| 6647 | .total_size = 128, |
| 6648 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6649 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6650 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6651 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6652 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6653 | .block_erasers = |
| 6654 | { |
| 6655 | { |
| 6656 | .eraseblocks = { {128 * 1024, 1} }, |
| 6657 | .block_erase = erase_chip_block_jedec, |
| 6658 | } |
| 6659 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6660 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6661 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6662 | }, |
| 6663 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6664 | { |
| 6665 | .vendor = "Winbond", |
| 6666 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6667 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6668 | .manufacture_id = WINBOND_ID, |
| 6669 | .model_id = W_39V040A, |
| 6670 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6671 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6672 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 6673 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6674 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6675 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6676 | .block_erasers = |
| 6677 | { |
| 6678 | { |
| 6679 | .eraseblocks = { {64 * 1024, 8} }, |
| 6680 | .block_erase = erase_sector_jedec, |
| 6681 | }, { |
| 6682 | .eraseblocks = { {512 * 1024, 1} }, |
| 6683 | .block_erase = erase_chip_block_jedec, |
| 6684 | } |
| 6685 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6686 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6687 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6688 | }, |
| 6689 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6690 | { |
| 6691 | .vendor = "Winbond", |
| 6692 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6693 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6694 | .manufacture_id = WINBOND_ID, |
| 6695 | .model_id = W_39V040B, |
| 6696 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6697 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6698 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 6699 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6700 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6701 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6702 | .block_erasers = |
| 6703 | { |
| 6704 | { |
| 6705 | .eraseblocks = { {64 * 1024, 8} }, |
| 6706 | .block_erase = erase_sector_jedec, |
| 6707 | }, { |
| 6708 | .eraseblocks = { {512 * 1024, 1} }, |
| 6709 | .block_erase = erase_chip_block_jedec, |
| 6710 | } |
| 6711 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6712 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6713 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6714 | }, |
| 6715 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6716 | { |
| 6717 | .vendor = "Winbond", |
| 6718 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6719 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6720 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6721 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6722 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6723 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6724 | .feature_bits = FEATURE_EITHER_RESET, |
| 6725 | .tested = TEST_UNTESTED, |
| 6726 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6727 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6728 | .block_erasers = |
| 6729 | { |
| 6730 | { |
| 6731 | .eraseblocks = { {64 * 1024, 8} }, |
| 6732 | .block_erase = erase_sector_jedec, |
| 6733 | }, { |
| 6734 | .eraseblocks = { {512 * 1024, 1} }, |
| 6735 | .block_erase = erase_chip_block_jedec, |
| 6736 | } |
| 6737 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6738 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6739 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6740 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6741 | }, |
| 6742 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6743 | { |
| 6744 | .vendor = "Winbond", |
| 6745 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6746 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6747 | .manufacture_id = WINBOND_ID, |
| 6748 | .model_id = W_39V040FA, |
| 6749 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6750 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6751 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 6752 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6753 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6754 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6755 | .block_erasers = |
| 6756 | { |
| 6757 | { |
| 6758 | .eraseblocks = { {4 * 1024, 128} }, |
| 6759 | .block_erase = erase_block_jedec, |
| 6760 | }, { |
| 6761 | .eraseblocks = { {64 * 1024, 8} }, |
| 6762 | .block_erase = erase_sector_jedec, |
| 6763 | }, { |
| 6764 | .eraseblocks = { {512 * 1024, 1} }, |
| 6765 | .block_erase = erase_chip_block_jedec, |
| 6766 | } |
| 6767 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6768 | .printlock = printlock_sst_fwhub, |
| 6769 | .unlock = unlock_sst_fwhub, |
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 | { |
| 6775 | .vendor = "Winbond", |
| 6776 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6777 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6778 | .manufacture_id = WINBOND_ID, |
| 6779 | .model_id = W_39V080A, |
| 6780 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6781 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6782 | .feature_bits = FEATURE_EITHER_RESET, |
| 6783 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6784 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6785 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6786 | .block_erasers = |
| 6787 | { |
| 6788 | { |
| 6789 | .eraseblocks = { {64 * 1024, 16} }, |
| 6790 | .block_erase = erase_sector_jedec, |
| 6791 | }, { |
| 6792 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6793 | .block_erase = erase_chip_block_jedec, |
| 6794 | } |
| 6795 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6796 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6797 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6798 | }, |
| 6799 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6800 | { |
| 6801 | .vendor = "Winbond", |
| 6802 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6803 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6804 | .manufacture_id = WINBOND_ID, |
| 6805 | .model_id = W_49F002U, |
| 6806 | .total_size = 256, |
| 6807 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6808 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6809 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6810 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6811 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6812 | .block_erasers = |
| 6813 | { |
| 6814 | { |
| 6815 | .eraseblocks = { |
| 6816 | {128 * 1024, 1}, |
| 6817 | {96 * 1024, 1}, |
| 6818 | {8 * 1024, 2}, |
| 6819 | {16 * 1024, 1}, |
| 6820 | }, |
| 6821 | .block_erase = erase_sector_jedec, |
| 6822 | }, { |
| 6823 | .eraseblocks = { {256 * 1024, 1} }, |
| 6824 | .block_erase = erase_chip_block_jedec, |
| 6825 | } |
| 6826 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6827 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6828 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6829 | }, |
| 6830 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6831 | { |
| 6832 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 6833 | .name = "W49F020", |
| 6834 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6835 | .manufacture_id = WINBOND_ID, |
| 6836 | .model_id = W_49F020, |
| 6837 | .total_size = 256, |
| 6838 | .page_size = 128, |
| 6839 | .feature_bits = FEATURE_EITHER_RESET, |
| 6840 | .tested = TEST_OK_PROBE, |
| 6841 | .probe = probe_jedec, |
| 6842 | .probe_timing = 10, |
| 6843 | .block_erasers = |
| 6844 | { |
| 6845 | { |
| 6846 | .eraseblocks = { {256 * 1024, 1} }, |
| 6847 | .block_erase = erase_chip_block_jedec, |
| 6848 | } |
| 6849 | }, |
| 6850 | .write = write_jedec_1, |
| 6851 | .read = read_memmapped, |
| 6852 | }, |
| 6853 | |
| 6854 | { |
| 6855 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6856 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6857 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6858 | .manufacture_id = WINBOND_ID, |
| 6859 | .model_id = W_49V002A, |
| 6860 | .total_size = 256, |
| 6861 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6862 | .feature_bits = FEATURE_EITHER_RESET, |
| 6863 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6864 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6865 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6866 | .block_erasers = |
| 6867 | { |
| 6868 | { |
| 6869 | .eraseblocks = { |
| 6870 | {64 * 1024, 3}, |
| 6871 | {32 * 1024, 1}, |
| 6872 | {8 * 1024, 2}, |
| 6873 | {16 * 1024, 1}, |
| 6874 | }, |
| 6875 | .block_erase = erase_sector_jedec, |
| 6876 | }, { |
| 6877 | .eraseblocks = { {256 * 1024, 1} }, |
| 6878 | .block_erase = erase_chip_block_jedec, |
| 6879 | } |
| 6880 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6881 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6882 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6883 | }, |
| 6884 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6885 | { |
| 6886 | .vendor = "Winbond", |
| 6887 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6888 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6889 | .manufacture_id = WINBOND_ID, |
| 6890 | .model_id = W_49V002FA, |
| 6891 | .total_size = 256, |
| 6892 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6893 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 6894 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6895 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6896 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6897 | .block_erasers = |
| 6898 | { |
| 6899 | { |
| 6900 | .eraseblocks = { |
| 6901 | {64 * 1024, 3}, |
| 6902 | {32 * 1024, 1}, |
| 6903 | {8 * 1024, 2}, |
| 6904 | {16 * 1024, 1}, |
| 6905 | }, |
| 6906 | .block_erase = erase_sector_jedec, |
| 6907 | }, { |
| 6908 | .eraseblocks = { {256 * 1024, 1} }, |
| 6909 | .block_erase = erase_chip_block_jedec, |
| 6910 | } |
| 6911 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6912 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6913 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6914 | }, |
| 6915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6916 | { |
| 6917 | .vendor = "Winbond", |
| 6918 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6919 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6920 | .manufacture_id = WINBOND_ID, |
| 6921 | .model_id = W_39V080FA, |
| 6922 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6923 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6924 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6925 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6926 | .probe = probe_jedec, |
| 6927 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6928 | .block_erasers = |
| 6929 | { |
| 6930 | { |
| 6931 | .eraseblocks = { {64 * 1024, 16}, }, |
| 6932 | .block_erase = erase_sector_jedec, |
| 6933 | }, { |
| 6934 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6935 | .block_erase = erase_chip_block_jedec, |
| 6936 | } |
| 6937 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6938 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6939 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6940 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6941 | }, |
| 6942 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6943 | { |
| 6944 | .vendor = "Winbond", |
| 6945 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6946 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6947 | .manufacture_id = WINBOND_ID, |
| 6948 | .model_id = W_39V080FA_DM, |
| 6949 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6950 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6951 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6952 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6953 | .probe = probe_jedec, |
| 6954 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6955 | .block_erasers = |
| 6956 | { |
| 6957 | { |
| 6958 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6959 | .block_erase = erase_sector_jedec, |
| 6960 | }, { |
| 6961 | .eraseblocks = { {512 * 1024, 1} }, |
| 6962 | .block_erase = erase_chip_block_jedec, |
| 6963 | } |
| 6964 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6965 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6966 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6967 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6968 | }, |
| 6969 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6970 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 6971 | .vendor = "AMIC", |
| 6972 | .name = "unknown AMIC SPI chip", |
| 6973 | .bustype = CHIP_BUSTYPE_SPI, |
| 6974 | .manufacture_id = AMIC_ID, |
| 6975 | .model_id = GENERIC_DEVICE_ID, |
| 6976 | .total_size = 0, |
| 6977 | .page_size = 256, |
| 6978 | .tested = TEST_BAD_PREW, |
| 6979 | .probe = probe_spi_rdid4, |
| 6980 | .probe_timing = TIMING_ZERO, |
| 6981 | .write = NULL, |
| 6982 | .read = NULL, |
| 6983 | }, |
| 6984 | |
| 6985 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6986 | .vendor = "Atmel", |
| 6987 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6988 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6989 | .manufacture_id = ATMEL_ID, |
| 6990 | .model_id = GENERIC_DEVICE_ID, |
| 6991 | .total_size = 0, |
| 6992 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6993 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6994 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6995 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6996 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6997 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6998 | }, |
| 6999 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7000 | { |
| 7001 | .vendor = "EON", |
| 7002 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7003 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7004 | .manufacture_id = EON_ID_NOPREFIX, |
| 7005 | .model_id = GENERIC_DEVICE_ID, |
| 7006 | .total_size = 0, |
| 7007 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7008 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7009 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7010 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7011 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7012 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7013 | }, |
| 7014 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7015 | { |
| 7016 | .vendor = "Macronix", |
| 7017 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7018 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7019 | .manufacture_id = MX_ID, |
| 7020 | .model_id = GENERIC_DEVICE_ID, |
| 7021 | .total_size = 0, |
| 7022 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7023 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7024 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7025 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7026 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7027 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7028 | }, |
| 7029 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7030 | { |
| 7031 | .vendor = "PMC", |
| 7032 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7033 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7034 | .manufacture_id = PMC_ID, |
| 7035 | .model_id = GENERIC_DEVICE_ID, |
| 7036 | .total_size = 0, |
| 7037 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7038 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7039 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7040 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7041 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7042 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7043 | }, |
| 7044 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7045 | { |
| 7046 | .vendor = "SST", |
| 7047 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7048 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7049 | .manufacture_id = SST_ID, |
| 7050 | .model_id = GENERIC_DEVICE_ID, |
| 7051 | .total_size = 0, |
| 7052 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7053 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7054 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7055 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7056 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7057 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7058 | }, |
| 7059 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7060 | { |
| 7061 | .vendor = "ST", |
| 7062 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7063 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7064 | .manufacture_id = ST_ID, |
| 7065 | .model_id = GENERIC_DEVICE_ID, |
| 7066 | .total_size = 0, |
| 7067 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7068 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7069 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7070 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7071 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7072 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7073 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 7074 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7075 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7076 | .vendor = "Sanyo", |
| 7077 | .name = "unknown Sanyo SPI chip", |
| 7078 | .bustype = CHIP_BUSTYPE_SPI, |
| 7079 | .manufacture_id = SANYO_ID, |
| 7080 | .model_id = GENERIC_DEVICE_ID, |
| 7081 | .total_size = 0, |
| 7082 | .page_size = 256, |
| 7083 | .tested = TEST_BAD_PREW, |
| 7084 | .probe = probe_spi_rdid, |
| 7085 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7086 | .write = NULL, |
| 7087 | .read = NULL, |
| 7088 | }, |
| 7089 | |
| 7090 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7091 | .vendor = "Generic", |
| 7092 | .name = "unknown SPI chip (RDID)", |
| 7093 | .bustype = CHIP_BUSTYPE_SPI, |
| 7094 | .manufacture_id = GENERIC_MANUF_ID, |
| 7095 | .model_id = GENERIC_DEVICE_ID, |
| 7096 | .total_size = 0, |
| 7097 | .page_size = 256, |
| 7098 | .tested = TEST_BAD_PREW, |
| 7099 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7100 | .write = NULL, |
| 7101 | }, |
| 7102 | { |
| 7103 | .vendor = "Generic", |
| 7104 | .name = "unknown SPI chip (REMS)", |
| 7105 | .bustype = CHIP_BUSTYPE_SPI, |
| 7106 | .manufacture_id = GENERIC_MANUF_ID, |
| 7107 | .model_id = GENERIC_DEVICE_ID, |
| 7108 | .total_size = 0, |
| 7109 | .page_size = 256, |
| 7110 | .tested = TEST_BAD_PREW, |
| 7111 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7112 | .write = NULL, |
| 7113 | }, |
| 7114 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7115 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 7116 | }; |