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 | */ |
Carl-Daniel Hailfinger | 4c82318 | 2011-05-04 00:39:50 +0000 | [diff] [blame] | 35 | const 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 |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 57 | * .voltage = Voltage range in millivolt |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 58 | */ |
| 59 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 60 | { |
| 61 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 62 | .name = "Am29F010A/B", |
| 63 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 64 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 65 | .model_id = AMD_AM29F010B, /* Same as Am29F010A */ |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 66 | .total_size = 128, |
| 67 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 68 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 69 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 70 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 71 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 72 | .block_erasers = |
| 73 | { |
| 74 | { |
| 75 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 76 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 77 | }, { |
| 78 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 79 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 80 | }, |
| 81 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 82 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 83 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 84 | .voltage = {4500, 5500}, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 85 | }, |
| 86 | |
| 87 | { |
| 88 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 90 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 91 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 92 | .model_id = AMD_AM29F002BB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 93 | .total_size = 256, |
| 94 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 95 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 96 | .tested = TEST_UNTESTED, |
| 97 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 98 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 99 | .block_erasers = |
| 100 | { |
| 101 | { |
| 102 | .eraseblocks = { |
| 103 | {16 * 1024, 1}, |
| 104 | {8 * 1024, 2}, |
| 105 | {32 * 1024, 1}, |
| 106 | {64 * 1024, 3}, |
| 107 | }, |
| 108 | .block_erase = erase_sector_jedec, |
| 109 | }, { |
| 110 | .eraseblocks = { {256 * 1024, 1} }, |
| 111 | .block_erase = erase_chip_block_jedec, |
| 112 | }, |
| 113 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 114 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 115 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 116 | .voltage = {4750, 5250}, /* -55 speed is +-5%, all others +-10% */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 117 | }, |
| 118 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 119 | { |
| 120 | .vendor = "AMD", |
| 121 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 122 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 123 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 124 | .model_id = AMD_AM29F002BT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 125 | .total_size = 256, |
| 126 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 127 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 128 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 129 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 130 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 131 | .block_erasers = |
| 132 | { |
| 133 | { |
| 134 | .eraseblocks = { |
| 135 | {64 * 1024, 3}, |
| 136 | {32 * 1024, 1}, |
| 137 | {8 * 1024, 2}, |
| 138 | {16 * 1024, 1}, |
| 139 | }, |
| 140 | .block_erase = erase_sector_jedec, |
| 141 | }, { |
| 142 | .eraseblocks = { {256 * 1024, 1} }, |
| 143 | .block_erase = erase_chip_block_jedec, |
| 144 | }, |
| 145 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 146 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 147 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 148 | }, |
| 149 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 150 | { |
| 151 | .vendor = "AMD", |
| 152 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 153 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 154 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 155 | .model_id = AMD_AM29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 156 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 157 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 158 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 159 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 160 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 161 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 162 | .block_erasers = |
| 163 | { |
| 164 | { |
| 165 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 167 | }, { |
| 168 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 169 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 170 | }, |
| 171 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 172 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 173 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 174 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 175 | }, |
| 176 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | { |
| 178 | .vendor = "AMD", |
| 179 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 180 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 181 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 182 | .model_id = AMD_AM29F040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 183 | .total_size = 512, |
| 184 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 185 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 186 | .tested = TEST_UNTESTED, |
| 187 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 188 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 189 | .block_erasers = |
| 190 | { |
| 191 | { |
| 192 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 193 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 194 | }, { |
| 195 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 196 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 197 | }, |
| 198 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 199 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 200 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 201 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 202 | }, |
| 203 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 204 | { |
| 205 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 206 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 207 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 208 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 209 | .model_id = AMD_AM29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 210 | .total_size = 1024, |
| 211 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 212 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 213 | .tested = TEST_UNTESTED, |
| 214 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 215 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | .block_erasers = |
| 217 | { |
| 218 | { |
| 219 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 220 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 221 | }, { |
| 222 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 223 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 224 | }, |
| 225 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 226 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 227 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 228 | .voltage = {4500, 5500}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 229 | }, |
| 230 | |
| 231 | { |
| 232 | .vendor = "AMD", |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 233 | .name = "Am29LV001BB", |
| 234 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 235 | .manufacture_id = AMD_ID, |
| 236 | .model_id = AMD_AM29LV001BB, |
| 237 | .total_size = 128, |
| 238 | .page_size = 64 * 1024, /* unused */ |
| 239 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 240 | .tested = TEST_OK_PREW, |
| 241 | .probe = probe_jedec, |
| 242 | .probe_timing = TIMING_ZERO, |
| 243 | .block_erasers = |
| 244 | { |
| 245 | { |
| 246 | .eraseblocks = { |
| 247 | {8 * 1024, 1}, |
| 248 | {4 * 1024, 2}, |
| 249 | {16 * 1024, 7}, |
| 250 | }, |
| 251 | .block_erase = erase_sector_jedec, |
| 252 | }, { |
| 253 | .eraseblocks = { {128 * 1024, 1} }, |
| 254 | .block_erase = erase_chip_block_jedec, |
| 255 | }, |
| 256 | }, |
| 257 | .write = write_jedec_1, |
| 258 | .read = read_memmapped, |
| 259 | }, |
| 260 | |
| 261 | { |
| 262 | .vendor = "AMD", |
| 263 | .name = "Am29LV001BT", |
| 264 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 265 | .manufacture_id = AMD_ID, |
| 266 | .model_id = AMD_AM29LV001BT, |
| 267 | .total_size = 128, |
| 268 | .page_size = 64 * 1024, /* unused */ |
| 269 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 270 | .tested = TEST_UNTESTED, |
| 271 | .probe = probe_jedec, |
| 272 | .probe_timing = TIMING_ZERO, |
| 273 | .block_erasers = |
| 274 | { |
| 275 | { |
| 276 | .eraseblocks = { |
| 277 | {16 * 1024, 7}, |
| 278 | {4 * 1024, 2}, |
| 279 | {8 * 1024, 1}, |
| 280 | }, |
| 281 | .block_erase = erase_sector_jedec, |
| 282 | }, { |
| 283 | .eraseblocks = { {128 * 1024, 1} }, |
| 284 | .block_erase = erase_chip_block_jedec, |
| 285 | }, |
| 286 | }, |
| 287 | .write = write_jedec_1, |
| 288 | .read = read_memmapped, |
| 289 | }, |
| 290 | |
| 291 | { |
| 292 | .vendor = "AMD", |
| 293 | .name = "Am29LV002BB", |
| 294 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 295 | .manufacture_id = AMD_ID, |
| 296 | .model_id = AMD_AM29LV002BB, |
| 297 | .total_size = 256, |
| 298 | .page_size = 64 * 1024, /* unused */ |
| 299 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 300 | .tested = TEST_UNTESTED, |
| 301 | .probe = probe_jedec, |
| 302 | .probe_timing = TIMING_ZERO, |
| 303 | .block_erasers = |
| 304 | { |
| 305 | { |
| 306 | .eraseblocks = { |
| 307 | {16 * 1024, 1}, |
| 308 | {8 * 1024, 2}, |
| 309 | {32 * 1024, 1}, |
| 310 | {64 * 1024, 3}, |
| 311 | }, |
| 312 | .block_erase = erase_sector_jedec, |
| 313 | }, { |
| 314 | .eraseblocks = { {256 * 1024, 1} }, |
| 315 | .block_erase = erase_chip_block_jedec, |
| 316 | }, |
| 317 | }, |
| 318 | .write = write_jedec_1, |
| 319 | .read = read_memmapped, |
| 320 | }, |
| 321 | |
| 322 | { |
| 323 | .vendor = "AMD", |
| 324 | .name = "Am29LV002BT", |
| 325 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 326 | .manufacture_id = AMD_ID, |
| 327 | .model_id = AMD_AM29LV002BT, |
| 328 | .total_size = 256, |
| 329 | .page_size = 64 * 1024, /* unused */ |
| 330 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 331 | .tested = TEST_UNTESTED, |
| 332 | .probe = probe_jedec, |
| 333 | .probe_timing = TIMING_ZERO, |
| 334 | .block_erasers = |
| 335 | { |
| 336 | { |
| 337 | .eraseblocks = { |
| 338 | {64 * 1024, 3}, |
| 339 | {32 * 1024, 1}, |
| 340 | {8 * 1024, 2}, |
| 341 | {16 * 1024, 1}, |
| 342 | }, |
| 343 | .block_erase = erase_sector_jedec, |
| 344 | }, { |
| 345 | .eraseblocks = { {256 * 1024, 1} }, |
| 346 | .block_erase = erase_chip_block_jedec, |
| 347 | }, |
| 348 | }, |
| 349 | .write = write_jedec_1, |
| 350 | .read = read_memmapped, |
| 351 | }, |
| 352 | |
| 353 | { |
| 354 | .vendor = "AMD", |
| 355 | .name = "Am29LV004BB", |
| 356 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 357 | .manufacture_id = AMD_ID, |
| 358 | .model_id = AMD_AM29LV004BB, |
| 359 | .total_size = 512, |
| 360 | .page_size = 64 * 1024, /* unused */ |
| 361 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 362 | .tested = TEST_UNTESTED, |
| 363 | .probe = probe_jedec, |
| 364 | .probe_timing = TIMING_ZERO, |
| 365 | .block_erasers = |
| 366 | { |
| 367 | { |
| 368 | .eraseblocks = { |
| 369 | {16 * 1024, 1}, |
| 370 | {8 * 1024, 2}, |
| 371 | {32 * 1024, 1}, |
| 372 | {64 * 1024, 7}, |
| 373 | }, |
| 374 | .block_erase = erase_sector_jedec, |
| 375 | }, { |
| 376 | .eraseblocks = { {512 * 1024, 1} }, |
| 377 | .block_erase = erase_chip_block_jedec, |
| 378 | }, |
| 379 | }, |
| 380 | .write = write_jedec_1, |
| 381 | .read = read_memmapped, |
| 382 | }, |
| 383 | |
| 384 | { |
| 385 | .vendor = "AMD", |
| 386 | .name = "Am29LV004BT", |
| 387 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 388 | .manufacture_id = AMD_ID, |
| 389 | .model_id = AMD_AM29LV004BT, |
| 390 | .total_size = 512, |
| 391 | .page_size = 64 * 1024, /* unused */ |
| 392 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 393 | .tested = TEST_UNTESTED, |
| 394 | .probe = probe_jedec, |
| 395 | .probe_timing = TIMING_ZERO, |
| 396 | .block_erasers = |
| 397 | { |
| 398 | { |
| 399 | .eraseblocks = { |
| 400 | {64 * 1024, 7}, |
| 401 | {32 * 1024, 1}, |
| 402 | {8 * 1024, 2}, |
| 403 | {16 * 1024, 1}, |
| 404 | }, |
| 405 | .block_erase = erase_sector_jedec, |
| 406 | }, { |
| 407 | .eraseblocks = { {512 * 1024, 1} }, |
| 408 | .block_erase = erase_chip_block_jedec, |
| 409 | }, |
| 410 | }, |
| 411 | .write = write_jedec_1, |
| 412 | .read = read_memmapped, |
| 413 | }, |
| 414 | |
| 415 | { |
| 416 | .vendor = "AMD", |
| 417 | .name = "Am29LV008BB", |
| 418 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 419 | .manufacture_id = AMD_ID, |
| 420 | .model_id = AMD_AM29LV008BB, |
| 421 | .total_size = 1024, |
| 422 | .page_size = 64 * 1024, /* unused */ |
| 423 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 424 | .tested = TEST_UNTESTED, |
| 425 | .probe = probe_jedec, |
| 426 | .probe_timing = TIMING_ZERO, |
| 427 | .block_erasers = |
| 428 | { |
| 429 | { |
| 430 | .eraseblocks = { |
| 431 | {16 * 1024, 1}, |
| 432 | {8 * 1024, 2}, |
| 433 | {32 * 1024, 1}, |
| 434 | {64 * 1024, 15}, |
| 435 | }, |
| 436 | .block_erase = erase_sector_jedec, |
| 437 | }, { |
| 438 | .eraseblocks = { {1024 * 1024, 1} }, |
| 439 | .block_erase = erase_chip_block_jedec, |
| 440 | }, |
| 441 | }, |
| 442 | .write = write_jedec_1, |
| 443 | .read = read_memmapped, |
| 444 | }, |
| 445 | |
| 446 | { |
| 447 | .vendor = "AMD", |
| 448 | .name = "Am29LV008BT", |
| 449 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 450 | .manufacture_id = AMD_ID, |
| 451 | .model_id = AMD_AM29LV008BT, |
| 452 | .total_size = 1024, |
| 453 | .page_size = 64 * 1024, /* unused */ |
| 454 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 455 | .tested = TEST_UNTESTED, |
| 456 | .probe = probe_jedec, |
| 457 | .probe_timing = TIMING_ZERO, |
| 458 | .block_erasers = |
| 459 | { |
| 460 | { |
| 461 | .eraseblocks = { |
| 462 | {64 * 1024, 15}, |
| 463 | {32 * 1024, 1}, |
| 464 | {8 * 1024, 2}, |
| 465 | {16 * 1024, 1}, |
| 466 | }, |
| 467 | .block_erase = erase_sector_jedec, |
| 468 | }, { |
| 469 | .eraseblocks = { {1024 * 1024, 1} }, |
| 470 | .block_erase = erase_chip_block_jedec, |
| 471 | }, |
| 472 | }, |
| 473 | .write = write_jedec_1, |
| 474 | .read = read_memmapped, |
| 475 | }, |
| 476 | |
| 477 | { |
| 478 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 479 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 480 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 481 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 482 | .model_id = AMD_AM29LV040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 483 | .total_size = 512, |
| 484 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 485 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 486 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 487 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 488 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 489 | .block_erasers = |
| 490 | { |
| 491 | { |
| 492 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 493 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 494 | }, { |
| 495 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 496 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 497 | }, |
| 498 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 499 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 500 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 501 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 502 | }, |
| 503 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 504 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 505 | .vendor = "AMD", |
| 506 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 507 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 508 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 509 | .model_id = AMD_AM29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 510 | .total_size = 1024, |
| 511 | .page_size = 64 * 1024, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 512 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, /* datasheet specifies address as don't care */ |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 513 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 514 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 515 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 516 | .block_erasers = |
| 517 | { |
| 518 | { |
| 519 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 520 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 521 | }, { |
| 522 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 523 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 524 | }, |
| 525 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 526 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 527 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 528 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 529 | }, |
| 530 | |
| 531 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 532 | .vendor = "AMIC", |
| 533 | .name = "A25L05PT", |
| 534 | .bustype = CHIP_BUSTYPE_SPI, |
| 535 | .manufacture_id = AMIC_ID, |
| 536 | .model_id = AMIC_A25L05PT, |
| 537 | .total_size = 64, |
| 538 | .page_size = 256, |
| 539 | .tested = TEST_UNTESTED, |
| 540 | .probe = probe_spi_rdid4, |
| 541 | .probe_timing = TIMING_ZERO, |
| 542 | .block_erasers = |
| 543 | { |
| 544 | { |
| 545 | .eraseblocks = { |
| 546 | {32 * 1024, 1}, |
| 547 | {16 * 1024, 1}, |
| 548 | {8 * 1024, 1}, |
| 549 | {4 * 1024, 2}, |
| 550 | }, |
| 551 | .block_erase = spi_block_erase_d8, |
| 552 | }, { |
| 553 | .eraseblocks = { {64 * 1024, 1} }, |
| 554 | .block_erase = spi_block_erase_c7, |
| 555 | } |
| 556 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 557 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 558 | .unlock = spi_disable_blockprotect, |
| 559 | .write = spi_chip_write_256, |
| 560 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 561 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 562 | }, |
| 563 | |
| 564 | { |
| 565 | .vendor = "AMIC", |
| 566 | .name = "A25L05PU", |
| 567 | .bustype = CHIP_BUSTYPE_SPI, |
| 568 | .manufacture_id = AMIC_ID, |
| 569 | .model_id = AMIC_A25L05PU, |
| 570 | .total_size = 64, |
| 571 | .page_size = 256, |
| 572 | .tested = TEST_UNTESTED, |
| 573 | .probe = probe_spi_rdid4, |
| 574 | .probe_timing = TIMING_ZERO, |
| 575 | .block_erasers = |
| 576 | { |
| 577 | { |
| 578 | .eraseblocks = { |
| 579 | {4 * 1024, 2}, |
| 580 | {8 * 1024, 1}, |
| 581 | {16 * 1024, 1}, |
| 582 | {32 * 1024, 1}, |
| 583 | }, |
| 584 | .block_erase = spi_block_erase_d8, |
| 585 | }, { |
| 586 | .eraseblocks = { {64 * 1024, 1} }, |
| 587 | .block_erase = spi_block_erase_c7, |
| 588 | } |
| 589 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 590 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 591 | .unlock = spi_disable_blockprotect, |
| 592 | .write = spi_chip_write_256, |
| 593 | .read = spi_chip_read, |
| 594 | }, |
| 595 | |
| 596 | { |
| 597 | .vendor = "AMIC", |
| 598 | .name = "A25L10PT", |
| 599 | .bustype = CHIP_BUSTYPE_SPI, |
| 600 | .manufacture_id = AMIC_ID, |
| 601 | .model_id = AMIC_A25L10PT, |
| 602 | .total_size = 128, |
| 603 | .page_size = 256, |
| 604 | .tested = TEST_UNTESTED, |
| 605 | .probe = probe_spi_rdid4, |
| 606 | .probe_timing = TIMING_ZERO, |
| 607 | .block_erasers = |
| 608 | { |
| 609 | { |
| 610 | .eraseblocks = { |
| 611 | {64 * 1024, 1}, |
| 612 | {32 * 1024, 1}, |
| 613 | {16 * 1024, 1}, |
| 614 | {8 * 1024, 1}, |
| 615 | {4 * 1024, 2}, |
| 616 | }, |
| 617 | .block_erase = spi_block_erase_d8, |
| 618 | }, { |
| 619 | .eraseblocks = { {128 * 1024, 1} }, |
| 620 | .block_erase = spi_block_erase_c7, |
| 621 | } |
| 622 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 623 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 624 | .unlock = spi_disable_blockprotect, |
| 625 | .write = spi_chip_write_256, |
| 626 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 627 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 628 | }, |
| 629 | |
| 630 | { |
| 631 | .vendor = "AMIC", |
| 632 | .name = "A25L10PU", |
| 633 | .bustype = CHIP_BUSTYPE_SPI, |
| 634 | .manufacture_id = AMIC_ID, |
| 635 | .model_id = AMIC_A25L10PU, |
| 636 | .total_size = 128, |
| 637 | .page_size = 256, |
| 638 | .tested = TEST_UNTESTED, |
| 639 | .probe = probe_spi_rdid4, |
| 640 | .probe_timing = TIMING_ZERO, |
| 641 | .block_erasers = |
| 642 | { |
| 643 | { |
| 644 | .eraseblocks = { |
| 645 | {4 * 1024, 2}, |
| 646 | {8 * 1024, 1}, |
| 647 | {16 * 1024, 1}, |
| 648 | {32 * 1024, 1}, |
| 649 | {64 * 1024, 1}, |
| 650 | }, |
| 651 | .block_erase = spi_block_erase_d8, |
| 652 | }, { |
| 653 | .eraseblocks = { {128 * 1024, 1} }, |
| 654 | .block_erase = spi_block_erase_c7, |
| 655 | } |
| 656 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 657 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 658 | .unlock = spi_disable_blockprotect, |
| 659 | .write = spi_chip_write_256, |
| 660 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 661 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 662 | }, |
| 663 | |
| 664 | { |
| 665 | .vendor = "AMIC", |
| 666 | .name = "A25L20PT", |
| 667 | .bustype = CHIP_BUSTYPE_SPI, |
| 668 | .manufacture_id = AMIC_ID, |
| 669 | .model_id = AMIC_A25L20PT, |
| 670 | .total_size = 256, |
| 671 | .page_size = 256, |
| 672 | .tested = TEST_UNTESTED, |
| 673 | .probe = probe_spi_rdid4, |
| 674 | .probe_timing = TIMING_ZERO, |
| 675 | .block_erasers = |
| 676 | { |
| 677 | { |
| 678 | .eraseblocks = { |
| 679 | {64 * 1024, 3}, |
| 680 | {32 * 1024, 1}, |
| 681 | {16 * 1024, 1}, |
| 682 | {8 * 1024, 1}, |
| 683 | {4 * 1024, 2}, |
| 684 | }, |
| 685 | .block_erase = spi_block_erase_d8, |
| 686 | }, { |
| 687 | .eraseblocks = { {256 * 1024, 1} }, |
| 688 | .block_erase = spi_block_erase_c7, |
| 689 | } |
| 690 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 691 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 692 | .unlock = spi_disable_blockprotect, |
| 693 | .write = spi_chip_write_256, |
| 694 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 695 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 696 | }, |
| 697 | |
| 698 | { |
| 699 | .vendor = "AMIC", |
| 700 | .name = "A25L20PU", |
| 701 | .bustype = CHIP_BUSTYPE_SPI, |
| 702 | .manufacture_id = AMIC_ID, |
| 703 | .model_id = AMIC_A25L20PU, |
| 704 | .total_size = 256, |
| 705 | .page_size = 256, |
| 706 | .tested = TEST_UNTESTED, |
| 707 | .probe = probe_spi_rdid4, |
| 708 | .probe_timing = TIMING_ZERO, |
| 709 | .block_erasers = |
| 710 | { |
| 711 | { |
| 712 | .eraseblocks = { |
| 713 | {4 * 1024, 2}, |
| 714 | {8 * 1024, 1}, |
| 715 | {16 * 1024, 1}, |
| 716 | {32 * 1024, 1}, |
| 717 | {64 * 1024, 3}, |
| 718 | }, |
| 719 | .block_erase = spi_block_erase_d8, |
| 720 | }, { |
| 721 | .eraseblocks = { {256 * 1024, 1} }, |
| 722 | .block_erase = spi_block_erase_c7, |
| 723 | } |
| 724 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 725 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 726 | .unlock = spi_disable_blockprotect, |
| 727 | .write = spi_chip_write_256, |
| 728 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 729 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 730 | }, |
| 731 | |
| 732 | /* The A25L40P{T,U} chips are distinguished by their |
| 733 | * erase block layouts, but without any distinction in RDID. |
| 734 | * This inexplicable quirk was verified by Rudolf Marek |
| 735 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 736 | */ |
| 737 | { |
| 738 | .vendor = "AMIC", |
| 739 | .name = "A25L40PT", |
| 740 | .bustype = CHIP_BUSTYPE_SPI, |
| 741 | .manufacture_id = AMIC_ID, |
| 742 | .model_id = AMIC_A25L40PT, |
| 743 | .total_size = 512, |
| 744 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 745 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 746 | .probe = probe_spi_rdid4, |
| 747 | .probe_timing = TIMING_ZERO, |
| 748 | .block_erasers = |
| 749 | { |
| 750 | { |
| 751 | .eraseblocks = { |
| 752 | {64 * 1024, 7}, |
| 753 | {32 * 1024, 1}, |
| 754 | {16 * 1024, 1}, |
| 755 | {8 * 1024, 1}, |
| 756 | {4 * 1024, 2}, |
| 757 | }, |
| 758 | .block_erase = spi_block_erase_d8, |
| 759 | }, { |
| 760 | .eraseblocks = { {512 * 1024, 1} }, |
| 761 | .block_erase = spi_block_erase_c7, |
| 762 | } |
| 763 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 764 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 765 | .unlock = spi_disable_blockprotect, |
| 766 | .write = spi_chip_write_256, |
| 767 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 768 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 769 | }, |
| 770 | |
| 771 | { |
| 772 | .vendor = "AMIC", |
| 773 | .name = "A25L40PU", |
| 774 | .bustype = CHIP_BUSTYPE_SPI, |
| 775 | .manufacture_id = AMIC_ID, |
| 776 | .model_id = AMIC_A25L40PU, |
| 777 | .total_size = 512, |
| 778 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 779 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 780 | .probe = probe_spi_rdid4, |
| 781 | .probe_timing = TIMING_ZERO, |
| 782 | .block_erasers = |
| 783 | { |
| 784 | { |
| 785 | .eraseblocks = { |
| 786 | {4 * 1024, 2}, |
| 787 | {8 * 1024, 1}, |
| 788 | {16 * 1024, 1}, |
| 789 | {32 * 1024, 1}, |
| 790 | {64 * 1024, 7}, |
| 791 | }, |
| 792 | .block_erase = spi_block_erase_d8, |
| 793 | }, { |
| 794 | .eraseblocks = { {512 * 1024, 1} }, |
| 795 | .block_erase = spi_block_erase_c7, |
| 796 | } |
| 797 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 798 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 799 | .unlock = spi_disable_blockprotect, |
| 800 | .write = spi_chip_write_256, |
| 801 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 802 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 803 | }, |
| 804 | |
| 805 | { |
| 806 | .vendor = "AMIC", |
| 807 | .name = "A25L80P", |
| 808 | .bustype = CHIP_BUSTYPE_SPI, |
| 809 | .manufacture_id = AMIC_ID, |
| 810 | .model_id = AMIC_A25L80P, |
| 811 | .total_size = 1024, |
| 812 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 813 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 814 | .probe = probe_spi_rdid4, |
| 815 | .probe_timing = TIMING_ZERO, |
| 816 | .block_erasers = |
| 817 | { |
| 818 | { |
| 819 | .eraseblocks = { |
| 820 | {4 * 1024, 2}, |
| 821 | {8 * 1024, 1}, |
| 822 | {16 * 1024, 1}, |
| 823 | {32 * 1024, 1}, |
| 824 | {64 * 1024, 15}, |
| 825 | }, |
| 826 | .block_erase = spi_block_erase_d8, |
| 827 | }, { |
| 828 | .eraseblocks = { {1024 * 1024, 1} }, |
| 829 | .block_erase = spi_block_erase_c7, |
| 830 | } |
| 831 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 832 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 833 | .unlock = spi_disable_blockprotect, |
| 834 | .write = spi_chip_write_256, |
| 835 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 836 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 837 | }, |
| 838 | |
| 839 | { |
| 840 | .vendor = "AMIC", |
| 841 | .name = "A25L16PT", |
| 842 | .bustype = CHIP_BUSTYPE_SPI, |
| 843 | .manufacture_id = AMIC_ID, |
| 844 | .model_id = AMIC_A25L16PT, |
| 845 | .total_size = 2048, |
| 846 | .page_size = 256, |
| 847 | .tested = TEST_UNTESTED, |
| 848 | .probe = probe_spi_rdid4, |
| 849 | .probe_timing = TIMING_ZERO, |
| 850 | .block_erasers = |
| 851 | { |
| 852 | { |
| 853 | .eraseblocks = { |
| 854 | {64 * 1024, 31}, |
| 855 | {32 * 1024, 1}, |
| 856 | {16 * 1024, 1}, |
| 857 | {8 * 1024, 1}, |
| 858 | {4 * 1024, 2}, |
| 859 | }, |
| 860 | .block_erase = spi_block_erase_d8, |
| 861 | }, { |
| 862 | .eraseblocks = { {2048 * 1024, 1} }, |
| 863 | .block_erase = spi_block_erase_60, |
| 864 | }, { |
| 865 | .eraseblocks = { {2048 * 1024, 1} }, |
| 866 | .block_erase = spi_block_erase_c7, |
| 867 | } |
| 868 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 869 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 870 | .unlock = spi_disable_blockprotect, |
| 871 | .write = spi_chip_write_256, |
| 872 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 873 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 874 | }, |
| 875 | |
| 876 | { |
| 877 | .vendor = "AMIC", |
| 878 | .name = "A25L16PU", |
| 879 | .bustype = CHIP_BUSTYPE_SPI, |
| 880 | .manufacture_id = AMIC_ID, |
| 881 | .model_id = AMIC_A25L16PU, |
| 882 | .total_size = 2048, |
| 883 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 884 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 885 | .probe = probe_spi_rdid4, |
| 886 | .probe_timing = TIMING_ZERO, |
| 887 | .block_erasers = |
| 888 | { |
| 889 | { |
| 890 | .eraseblocks = { |
| 891 | {4 * 1024, 2}, |
| 892 | {8 * 1024, 1}, |
| 893 | {16 * 1024, 1}, |
| 894 | {32 * 1024, 1}, |
| 895 | {64 * 1024, 31}, |
| 896 | }, |
| 897 | .block_erase = spi_block_erase_d8, |
| 898 | }, { |
| 899 | .eraseblocks = { {2048 * 1024, 1} }, |
| 900 | .block_erase = spi_block_erase_60, |
| 901 | }, { |
| 902 | .eraseblocks = { {2048 * 1024, 1} }, |
| 903 | .block_erase = spi_block_erase_c7, |
| 904 | } |
| 905 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 906 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 907 | .unlock = spi_disable_blockprotect, |
| 908 | .write = spi_chip_write_256, |
| 909 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 910 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 911 | }, |
| 912 | |
| 913 | { |
| 914 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 915 | .name = "A25L512", |
| 916 | .bustype = CHIP_BUSTYPE_SPI, |
| 917 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 918 | .model_id = AMIC_A25L512, |
| 919 | .total_size = 64, |
| 920 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 921 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 922 | .tested = TEST_UNTESTED, |
| 923 | .probe = probe_spi_rdid, |
| 924 | .probe_timing = TIMING_ZERO, |
| 925 | .block_erasers = |
| 926 | { |
| 927 | { |
| 928 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 929 | .block_erase = spi_block_erase_20, |
| 930 | }, { |
| 931 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 932 | .block_erase = spi_block_erase_d8, |
| 933 | }, { |
| 934 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 935 | .block_erase = spi_block_erase_c7, |
| 936 | } |
| 937 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 938 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 939 | .unlock = spi_disable_blockprotect, |
| 940 | .write = spi_chip_write_256, |
| 941 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 942 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 943 | }, |
| 944 | |
| 945 | { |
| 946 | .vendor = "AMIC", |
| 947 | .name = "A25L010", |
| 948 | .bustype = CHIP_BUSTYPE_SPI, |
| 949 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 950 | .model_id = AMIC_A25L010, |
| 951 | .total_size = 128, |
| 952 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 953 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 954 | .tested = TEST_UNTESTED, |
| 955 | .probe = probe_spi_rdid, |
| 956 | .probe_timing = TIMING_ZERO, |
| 957 | .block_erasers = |
| 958 | { |
| 959 | { |
| 960 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 961 | .block_erase = spi_block_erase_20, |
| 962 | }, { |
| 963 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 964 | .block_erase = spi_block_erase_d8, |
| 965 | }, { |
| 966 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 967 | .block_erase = spi_block_erase_c7, |
| 968 | } |
| 969 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 970 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 971 | .unlock = spi_disable_blockprotect, |
| 972 | .write = spi_chip_write_256, |
| 973 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 974 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 975 | }, |
| 976 | |
| 977 | { |
| 978 | .vendor = "AMIC", |
| 979 | .name = "A25L020", |
| 980 | .bustype = CHIP_BUSTYPE_SPI, |
| 981 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 982 | .model_id = AMIC_A25L020, |
| 983 | .total_size = 256, |
| 984 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 985 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 986 | .tested = TEST_UNTESTED, |
| 987 | .probe = probe_spi_rdid, |
| 988 | .probe_timing = TIMING_ZERO, |
| 989 | .block_erasers = |
| 990 | { |
| 991 | { |
| 992 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 993 | .block_erase = spi_block_erase_20, |
| 994 | }, { |
| 995 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 996 | .block_erase = spi_block_erase_d8, |
| 997 | }, { |
| 998 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 999 | .block_erase = spi_block_erase_c7, |
| 1000 | } |
| 1001 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1002 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1003 | .unlock = spi_disable_blockprotect, |
| 1004 | .write = spi_chip_write_256, |
| 1005 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1006 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1007 | }, |
| 1008 | |
| 1009 | { |
| 1010 | .vendor = "AMIC", |
| 1011 | .name = "A25L040", |
| 1012 | .bustype = CHIP_BUSTYPE_SPI, |
| 1013 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1014 | .model_id = AMIC_A25L040, |
| 1015 | .total_size = 512, |
| 1016 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1017 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1018 | .tested = TEST_UNTESTED, |
| 1019 | .probe = probe_spi_rdid, |
| 1020 | .probe_timing = TIMING_ZERO, |
| 1021 | .block_erasers = |
| 1022 | { |
| 1023 | { |
| 1024 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 1025 | .block_erase = spi_block_erase_20, |
| 1026 | }, { |
| 1027 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 1028 | .block_erase = spi_block_erase_d8, |
| 1029 | }, { |
| 1030 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 1031 | .block_erase = spi_block_erase_c7, |
| 1032 | } |
| 1033 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1034 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1035 | .unlock = spi_disable_blockprotect, |
| 1036 | .write = spi_chip_write_256, |
| 1037 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1038 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1039 | }, |
| 1040 | |
| 1041 | { |
| 1042 | .vendor = "AMIC", |
| 1043 | .name = "A25L080", |
| 1044 | .bustype = CHIP_BUSTYPE_SPI, |
| 1045 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1046 | .model_id = AMIC_A25L080, |
| 1047 | .total_size = 1024, |
| 1048 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1049 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1050 | .tested = TEST_UNTESTED, |
| 1051 | .probe = probe_spi_rdid, |
| 1052 | .probe_timing = TIMING_ZERO, |
| 1053 | .block_erasers = |
| 1054 | { |
| 1055 | { |
| 1056 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 1057 | .block_erase = spi_block_erase_20, |
| 1058 | }, { |
| 1059 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 1060 | .block_erase = spi_block_erase_d8, |
| 1061 | }, { |
| 1062 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 1063 | .block_erase = spi_block_erase_c7, |
| 1064 | } |
| 1065 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1066 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1067 | .unlock = spi_disable_blockprotect, |
| 1068 | .write = spi_chip_write_256, |
| 1069 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1070 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1071 | }, |
| 1072 | |
| 1073 | { |
| 1074 | .vendor = "AMIC", |
| 1075 | .name = "A25L016", |
| 1076 | .bustype = CHIP_BUSTYPE_SPI, |
| 1077 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1078 | .model_id = AMIC_A25L016, |
| 1079 | .total_size = 2048, |
| 1080 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1081 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1082 | .tested = TEST_UNTESTED, |
| 1083 | .probe = probe_spi_rdid, |
| 1084 | .probe_timing = TIMING_ZERO, |
| 1085 | .block_erasers = |
| 1086 | { |
| 1087 | { |
| 1088 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 1089 | .block_erase = spi_block_erase_20, |
| 1090 | }, { |
| 1091 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 1092 | .block_erase = spi_block_erase_d8, |
| 1093 | }, { |
| 1094 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 1095 | .block_erase = spi_block_erase_c7, |
| 1096 | } |
| 1097 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1098 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1099 | .unlock = spi_disable_blockprotect, |
| 1100 | .write = spi_chip_write_256, |
| 1101 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1102 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1103 | }, |
| 1104 | |
| 1105 | { |
| 1106 | .vendor = "AMIC", |
| 1107 | .name = "A25L032", |
| 1108 | .bustype = CHIP_BUSTYPE_SPI, |
| 1109 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1110 | .model_id = AMIC_A25L032, |
| 1111 | .total_size = 4096, |
| 1112 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1113 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1114 | .tested = TEST_UNTESTED, |
| 1115 | .probe = probe_spi_rdid, |
| 1116 | .probe_timing = TIMING_ZERO, |
| 1117 | .block_erasers = |
| 1118 | { |
| 1119 | { |
| 1120 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1121 | .block_erase = spi_block_erase_20, |
| 1122 | }, { |
| 1123 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1124 | .block_erase = spi_block_erase_52, |
| 1125 | }, { |
| 1126 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1127 | .block_erase = spi_block_erase_d8, |
| 1128 | }, { |
| 1129 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1130 | .block_erase = spi_block_erase_60, |
| 1131 | }, { |
| 1132 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1133 | .block_erase = spi_block_erase_c7, |
| 1134 | } |
| 1135 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1136 | .printlock = spi_prettyprint_status_register_amic_a25l032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1137 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1138 | .write = spi_chip_write_256, |
| 1139 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1140 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1141 | }, |
| 1142 | |
| 1143 | { |
| 1144 | .vendor = "AMIC", |
| 1145 | .name = "A25LQ032", |
| 1146 | .bustype = CHIP_BUSTYPE_SPI, |
| 1147 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1148 | .model_id = AMIC_A25LQ032, |
| 1149 | .total_size = 4096, |
| 1150 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1151 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1152 | .tested = TEST_UNTESTED, |
| 1153 | .probe = probe_spi_rdid, |
| 1154 | .probe_timing = TIMING_ZERO, |
| 1155 | .block_erasers = |
| 1156 | { |
| 1157 | { |
| 1158 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1159 | .block_erase = spi_block_erase_20, |
| 1160 | }, { |
| 1161 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1162 | .block_erase = spi_block_erase_52, |
| 1163 | }, { |
| 1164 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1165 | .block_erase = spi_block_erase_d8, |
| 1166 | }, { |
| 1167 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1168 | .block_erase = spi_block_erase_60, |
| 1169 | }, { |
| 1170 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1171 | .block_erase = spi_block_erase_c7, |
| 1172 | } |
| 1173 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1174 | .printlock = spi_prettyprint_status_register_amic_a25lq032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1175 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1176 | .write = spi_chip_write_256, |
| 1177 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1178 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1179 | }, |
| 1180 | |
| 1181 | { |
| 1182 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1183 | .name = "A29002B", |
| 1184 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1185 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1186 | .model_id = AMIC_A29002B, |
| 1187 | .total_size = 256, |
| 1188 | .page_size = 64 * 1024, |
| 1189 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1190 | .tested = TEST_UNTESTED, |
| 1191 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1192 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1193 | .block_erasers = |
| 1194 | { |
| 1195 | { |
| 1196 | .eraseblocks = { |
| 1197 | {16 * 1024, 1}, |
| 1198 | {8 * 1024, 2}, |
| 1199 | {32 * 1024, 1}, |
| 1200 | {64 * 1024, 3}, |
| 1201 | }, |
| 1202 | .block_erase = erase_sector_jedec, |
| 1203 | }, { |
| 1204 | .eraseblocks = { {256 * 1024, 1} }, |
| 1205 | .block_erase = erase_chip_block_jedec, |
| 1206 | }, |
| 1207 | }, |
| 1208 | .write = write_jedec_1, |
| 1209 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1210 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1211 | }, |
| 1212 | |
| 1213 | { |
| 1214 | .vendor = "AMIC", |
| 1215 | .name = "A29002T", |
| 1216 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1217 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1218 | .model_id = AMIC_A29002T, |
| 1219 | .total_size = 256, |
| 1220 | .page_size = 64 * 1024, |
| 1221 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1222 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1223 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1224 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1225 | .block_erasers = |
| 1226 | { |
| 1227 | { |
| 1228 | .eraseblocks = { |
| 1229 | {64 * 1024, 3}, |
| 1230 | {32 * 1024, 1}, |
| 1231 | {8 * 1024, 2}, |
| 1232 | {16 * 1024, 1}, |
| 1233 | }, |
| 1234 | .block_erase = erase_sector_jedec, |
| 1235 | }, { |
| 1236 | .eraseblocks = { {256 * 1024, 1} }, |
| 1237 | .block_erase = erase_chip_block_jedec, |
| 1238 | }, |
| 1239 | }, |
| 1240 | .write = write_jedec_1, |
| 1241 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1242 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1243 | }, |
| 1244 | |
| 1245 | { |
| 1246 | .vendor = "AMIC", |
| 1247 | .name = "A29040B", |
| 1248 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1249 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1250 | .model_id = AMIC_A29040B, |
| 1251 | .total_size = 512, |
| 1252 | .page_size = 64 * 1024, |
| 1253 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1254 | .tested = TEST_UNTESTED, |
| 1255 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1256 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1257 | .block_erasers = |
| 1258 | { |
| 1259 | { |
| 1260 | .eraseblocks = { {64 * 1024, 8} }, |
| 1261 | .block_erase = erase_sector_jedec, |
| 1262 | }, { |
| 1263 | .eraseblocks = { {512 * 1024, 1} }, |
| 1264 | .block_erase = erase_chip_block_jedec, |
| 1265 | }, |
| 1266 | }, |
| 1267 | .write = write_jedec_1, |
| 1268 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1269 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1270 | }, |
| 1271 | |
| 1272 | { |
| 1273 | .vendor = "AMIC", |
| 1274 | .name = "A49LF040A", |
| 1275 | .bustype = CHIP_BUSTYPE_LPC, |
| 1276 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1277 | .model_id = AMIC_A49LF040A, |
| 1278 | .total_size = 512, |
| 1279 | .page_size = 64 * 1024, |
| 1280 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1281 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1282 | .probe = probe_jedec, |
| 1283 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 1284 | .block_erasers = |
| 1285 | { |
| 1286 | { |
| 1287 | .eraseblocks = { {64 * 1024, 8} }, |
| 1288 | .block_erase = erase_block_jedec, |
| 1289 | }, { |
| 1290 | .eraseblocks = { {512 * 1024, 1} }, |
| 1291 | .block_erase = erase_chip_block_jedec, |
| 1292 | } |
| 1293 | }, |
| 1294 | .unlock = unlock_49fl00x, |
| 1295 | .write = write_jedec_1, |
| 1296 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1297 | .voltage = {3000, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1298 | }, |
| 1299 | |
| 1300 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1301 | .vendor = "Atmel", |
| 1302 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1303 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1304 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1305 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1306 | .total_size = 256, |
| 1307 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1308 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1309 | .tested = TEST_UNTESTED, |
| 1310 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1311 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1312 | .block_erasers = |
| 1313 | { |
| 1314 | { |
| 1315 | .eraseblocks = { {4 * 1024, 64} }, |
| 1316 | .block_erase = spi_block_erase_20, |
| 1317 | }, { |
| 1318 | .eraseblocks = { {32 * 1024, 8} }, |
| 1319 | .block_erase = spi_block_erase_52, |
| 1320 | }, { |
| 1321 | .eraseblocks = { {64 * 1024, 4} }, |
| 1322 | .block_erase = spi_block_erase_d8, |
| 1323 | }, { |
| 1324 | .eraseblocks = { {256 * 1024, 1} }, |
| 1325 | .block_erase = spi_block_erase_60, |
| 1326 | }, { |
| 1327 | .eraseblocks = { {256 * 1024, 1} }, |
| 1328 | .block_erase = spi_block_erase_c7, |
| 1329 | } |
| 1330 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1331 | .printlock = spi_prettyprint_status_register_at25df, |
| 1332 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1333 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1334 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1335 | .voltage = {2300, 3600}, /* Datasheet says 2.3-3.6V or 2.7-3.6V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1336 | }, |
| 1337 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1338 | { |
| 1339 | .vendor = "Atmel", |
| 1340 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1341 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1342 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1343 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1344 | .total_size = 512, |
| 1345 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1346 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1347 | .tested = TEST_UNTESTED, |
| 1348 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1350 | .block_erasers = |
| 1351 | { |
| 1352 | { |
| 1353 | .eraseblocks = { {4 * 1024, 128} }, |
| 1354 | .block_erase = spi_block_erase_20, |
| 1355 | }, { |
| 1356 | .eraseblocks = { {32 * 1024, 16} }, |
| 1357 | .block_erase = spi_block_erase_52, |
| 1358 | }, { |
| 1359 | .eraseblocks = { {64 * 1024, 8} }, |
| 1360 | .block_erase = spi_block_erase_d8, |
| 1361 | }, { |
| 1362 | .eraseblocks = { {512 * 1024, 1} }, |
| 1363 | .block_erase = spi_block_erase_60, |
| 1364 | }, { |
| 1365 | .eraseblocks = { {512 * 1024, 1} }, |
| 1366 | .block_erase = spi_block_erase_c7, |
| 1367 | } |
| 1368 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1369 | .printlock = spi_prettyprint_status_register_at25df, |
| 1370 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1371 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1372 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1373 | .voltage = {2300, 3600}, /* Datasheet says 2.3-3.6V or 2.7-3.6V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1374 | }, |
| 1375 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1376 | { |
| 1377 | .vendor = "Atmel", |
| 1378 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1379 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1380 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1381 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1382 | .total_size = 1024, |
| 1383 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1384 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1385 | .tested = TEST_UNTESTED, |
| 1386 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1387 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1388 | .block_erasers = |
| 1389 | { |
| 1390 | { |
| 1391 | .eraseblocks = { {4 * 1024, 256} }, |
| 1392 | .block_erase = spi_block_erase_20, |
| 1393 | }, { |
| 1394 | .eraseblocks = { {32 * 1024, 32} }, |
| 1395 | .block_erase = spi_block_erase_52, |
| 1396 | }, { |
| 1397 | .eraseblocks = { {64 * 1024, 16} }, |
| 1398 | .block_erase = spi_block_erase_d8, |
| 1399 | }, { |
| 1400 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1401 | .block_erase = spi_block_erase_60, |
| 1402 | }, { |
| 1403 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1404 | .block_erase = spi_block_erase_c7, |
| 1405 | } |
| 1406 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1407 | .printlock = spi_prettyprint_status_register_at25df, |
| 1408 | .unlock = spi_disable_blockprotect_at25df, |
| 1409 | .write = spi_chip_write_256, |
| 1410 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1411 | .voltage = {1600, 2000}, /* Datasheet says range is 1.65-1.95 V */ |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1412 | }, |
| 1413 | |
| 1414 | { |
| 1415 | .vendor = "Atmel", |
| 1416 | .name = "AT25DF081A", |
| 1417 | .bustype = CHIP_BUSTYPE_SPI, |
| 1418 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1419 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1420 | .total_size = 1024, |
| 1421 | .page_size = 256, |
| 1422 | .feature_bits = FEATURE_WRSR_WREN, |
| 1423 | .tested = TEST_UNTESTED, |
| 1424 | .probe = probe_spi_rdid, |
| 1425 | .probe_timing = TIMING_ZERO, |
| 1426 | .block_erasers = |
| 1427 | { |
| 1428 | { |
| 1429 | .eraseblocks = { {4 * 1024, 256} }, |
| 1430 | .block_erase = spi_block_erase_20, |
| 1431 | }, { |
| 1432 | .eraseblocks = { {32 * 1024, 32} }, |
| 1433 | .block_erase = spi_block_erase_52, |
| 1434 | }, { |
| 1435 | .eraseblocks = { {64 * 1024, 16} }, |
| 1436 | .block_erase = spi_block_erase_d8, |
| 1437 | }, { |
| 1438 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1439 | .block_erase = spi_block_erase_60, |
| 1440 | }, { |
| 1441 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1442 | .block_erase = spi_block_erase_c7, |
| 1443 | } |
| 1444 | }, |
| 1445 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1446 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1447 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1448 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1449 | }, |
| 1450 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1451 | { |
| 1452 | .vendor = "Atmel", |
| 1453 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1454 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1455 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1456 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1457 | .total_size = 2048, |
| 1458 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1459 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1460 | .tested = TEST_UNTESTED, |
| 1461 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1462 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1463 | .block_erasers = |
| 1464 | { |
| 1465 | { |
| 1466 | .eraseblocks = { {4 * 1024, 512} }, |
| 1467 | .block_erase = spi_block_erase_20, |
| 1468 | }, { |
| 1469 | .eraseblocks = { {32 * 1024, 64} }, |
| 1470 | .block_erase = spi_block_erase_52, |
| 1471 | }, { |
| 1472 | .eraseblocks = { {64 * 1024, 32} }, |
| 1473 | .block_erase = spi_block_erase_d8, |
| 1474 | }, { |
| 1475 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1476 | .block_erase = spi_block_erase_60, |
| 1477 | }, { |
| 1478 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1479 | .block_erase = spi_block_erase_c7, |
| 1480 | } |
| 1481 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1482 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1483 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1484 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1485 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1486 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1487 | }, |
| 1488 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1489 | { |
| 1490 | .vendor = "Atmel", |
| 1491 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1492 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1493 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1494 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1495 | .total_size = 4096, |
| 1496 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1497 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 1498 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1499 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1500 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1501 | .block_erasers = |
| 1502 | { |
| 1503 | { |
| 1504 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1505 | .block_erase = spi_block_erase_20, |
| 1506 | }, { |
| 1507 | .eraseblocks = { {32 * 1024, 128} }, |
| 1508 | .block_erase = spi_block_erase_52, |
| 1509 | }, { |
| 1510 | .eraseblocks = { {64 * 1024, 64} }, |
| 1511 | .block_erase = spi_block_erase_d8, |
| 1512 | }, { |
| 1513 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1514 | .block_erase = spi_block_erase_60, |
| 1515 | }, { |
| 1516 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1517 | .block_erase = spi_block_erase_c7, |
| 1518 | } |
| 1519 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1520 | .printlock = spi_prettyprint_status_register_at25df, |
| 1521 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1522 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1523 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1524 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1525 | }, |
| 1526 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1527 | { |
| 1528 | .vendor = "Atmel", |
| 1529 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1530 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1531 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1532 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1533 | .total_size = 4096, |
| 1534 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1535 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1536 | .tested = TEST_UNTESTED, |
| 1537 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1538 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1539 | .block_erasers = |
| 1540 | { |
| 1541 | { |
| 1542 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1543 | .block_erase = spi_block_erase_20, |
| 1544 | }, { |
| 1545 | .eraseblocks = { {32 * 1024, 128} }, |
| 1546 | .block_erase = spi_block_erase_52, |
| 1547 | }, { |
| 1548 | .eraseblocks = { {64 * 1024, 64} }, |
| 1549 | .block_erase = spi_block_erase_d8, |
| 1550 | }, { |
| 1551 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1552 | .block_erase = spi_block_erase_60, |
| 1553 | }, { |
| 1554 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1555 | .block_erase = spi_block_erase_c7, |
| 1556 | } |
| 1557 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1558 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1559 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1560 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1561 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1562 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1563 | }, |
| 1564 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1565 | { |
| 1566 | .vendor = "Atmel", |
| 1567 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1568 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1569 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1570 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1571 | .total_size = 8192, |
| 1572 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1573 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1574 | .tested = TEST_UNTESTED, |
| 1575 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1576 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1577 | .block_erasers = |
| 1578 | { |
| 1579 | { |
| 1580 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1581 | .block_erase = spi_block_erase_20, |
| 1582 | }, { |
| 1583 | .eraseblocks = { {32 * 1024, 256} }, |
| 1584 | .block_erase = spi_block_erase_52, |
| 1585 | }, { |
| 1586 | .eraseblocks = { {64 * 1024, 128} }, |
| 1587 | .block_erase = spi_block_erase_d8, |
| 1588 | }, { |
| 1589 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1590 | .block_erase = spi_block_erase_60, |
| 1591 | }, { |
| 1592 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1593 | .block_erase = spi_block_erase_c7, |
| 1594 | } |
| 1595 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1596 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1597 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1598 | .write = spi_chip_write_256, |
| 1599 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1600 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1601 | }, |
| 1602 | |
| 1603 | { |
| 1604 | .vendor = "Atmel", |
| 1605 | .name = "AT25DQ161", |
| 1606 | .bustype = CHIP_BUSTYPE_SPI, |
| 1607 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1608 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1609 | .total_size = 2048, |
| 1610 | .page_size = 256, |
| 1611 | .feature_bits = FEATURE_WRSR_WREN, |
| 1612 | .tested = TEST_UNTESTED, |
| 1613 | .probe = probe_spi_rdid, |
| 1614 | .probe_timing = TIMING_ZERO, |
| 1615 | .block_erasers = |
| 1616 | { |
| 1617 | { |
| 1618 | .eraseblocks = { {4 * 1024, 512} }, |
| 1619 | .block_erase = spi_block_erase_20, |
| 1620 | }, { |
| 1621 | .eraseblocks = { {32 * 1024, 64} }, |
| 1622 | .block_erase = spi_block_erase_52, |
| 1623 | }, { |
| 1624 | .eraseblocks = { {64 * 1024, 32} }, |
| 1625 | .block_erase = spi_block_erase_d8, |
| 1626 | }, { |
| 1627 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1628 | .block_erase = spi_block_erase_60, |
| 1629 | }, { |
| 1630 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1631 | .block_erase = spi_block_erase_c7, |
| 1632 | } |
| 1633 | }, |
| 1634 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1635 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1636 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1637 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1638 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1639 | }, |
| 1640 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1641 | { |
| 1642 | .vendor = "Atmel", |
| 1643 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1644 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1645 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1646 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1647 | .total_size = 64, |
| 1648 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1649 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1650 | .tested = TEST_UNTESTED, |
| 1651 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1652 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1653 | .block_erasers = |
| 1654 | { |
| 1655 | { |
| 1656 | .eraseblocks = { {4 * 1024, 16} }, |
| 1657 | .block_erase = spi_block_erase_20, |
| 1658 | }, { |
| 1659 | .eraseblocks = { {32 * 1024, 2} }, |
| 1660 | .block_erase = spi_block_erase_52, |
| 1661 | }, { |
| 1662 | .eraseblocks = { {32 * 1024, 2} }, |
| 1663 | .block_erase = spi_block_erase_d8, |
| 1664 | }, { |
| 1665 | .eraseblocks = { {64 * 1024, 1} }, |
| 1666 | .block_erase = spi_block_erase_60, |
| 1667 | }, { |
| 1668 | .eraseblocks = { {64 * 1024, 1} }, |
| 1669 | .block_erase = spi_block_erase_c7, |
| 1670 | } |
| 1671 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1672 | .printlock = spi_prettyprint_status_register_at25f, |
| 1673 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1674 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1675 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1676 | .voltage = {2700, 3600}, |
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 | { |
| 1680 | .vendor = "Atmel", |
| 1681 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1682 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1683 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1684 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1685 | .total_size = 128, |
| 1686 | .page_size = 256, |
| 1687 | .tested = TEST_UNTESTED, |
| 1688 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1689 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1690 | .block_erasers = |
| 1691 | { |
| 1692 | { |
| 1693 | .eraseblocks = { {4 * 1024, 32} }, |
| 1694 | .block_erase = spi_block_erase_20, |
| 1695 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1696 | .eraseblocks = { {4 * 1024, 32} }, |
| 1697 | .block_erase = spi_block_erase_d7, |
| 1698 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1699 | .eraseblocks = { {32 * 1024, 4} }, |
| 1700 | .block_erase = spi_block_erase_52, |
| 1701 | }, { |
| 1702 | .eraseblocks = { {32 * 1024, 4} }, |
| 1703 | .block_erase = spi_block_erase_d8, |
| 1704 | }, { |
| 1705 | .eraseblocks = { {128 * 1024, 1} }, |
| 1706 | .block_erase = spi_block_erase_60, |
| 1707 | }, { |
| 1708 | .eraseblocks = { {128 * 1024, 1} }, |
| 1709 | .block_erase = spi_block_erase_c7, |
| 1710 | } |
| 1711 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1712 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1713 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1714 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1715 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1716 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1717 | }, |
| 1718 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1719 | { |
| 1720 | .vendor = "Atmel", |
| 1721 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1722 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1723 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1724 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1725 | .total_size = 512, |
| 1726 | .page_size = 256, |
| 1727 | .tested = TEST_UNTESTED, |
| 1728 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1729 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1730 | .block_erasers = |
| 1731 | { |
| 1732 | { |
| 1733 | .eraseblocks = { {4 * 1024, 128} }, |
| 1734 | .block_erase = spi_block_erase_20, |
| 1735 | }, { |
| 1736 | .eraseblocks = { {64 * 1024, 8} }, |
| 1737 | .block_erase = spi_block_erase_52, |
| 1738 | }, { |
| 1739 | .eraseblocks = { {64 * 1024, 8} }, |
| 1740 | .block_erase = spi_block_erase_d8, |
| 1741 | }, { |
| 1742 | .eraseblocks = { {512 * 1024, 1} }, |
| 1743 | .block_erase = spi_block_erase_60, |
| 1744 | }, { |
| 1745 | .eraseblocks = { {512 * 1024, 1} }, |
| 1746 | .block_erase = spi_block_erase_c7, |
| 1747 | } |
| 1748 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1749 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1750 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1751 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1752 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1753 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1754 | }, |
| 1755 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1756 | { |
| 1757 | .vendor = "Atmel", |
| 1758 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1759 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1760 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1761 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1762 | .total_size = 512, |
| 1763 | .page_size = 256, |
| 1764 | .tested = TEST_UNTESTED, |
| 1765 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1766 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1767 | .block_erasers = |
| 1768 | { |
| 1769 | { |
| 1770 | .eraseblocks = { {4 * 1024, 128} }, |
| 1771 | .block_erase = spi_block_erase_20, |
| 1772 | } |
| 1773 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1774 | .write = NULL /* Incompatible Page write */, |
| 1775 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1776 | .voltage = {2700, 3600}, /* Datasheet says 3.0-3.6 V or 2.7-3.6 V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1777 | }, |
| 1778 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1779 | { |
| 1780 | .vendor = "Atmel", |
| 1781 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1782 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1783 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1784 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1785 | .total_size = 1024, |
| 1786 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1787 | .feature_bits = FEATURE_WRSR_WREN, |
| 1788 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1789 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1790 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1791 | .block_erasers = |
| 1792 | { |
| 1793 | { |
| 1794 | .eraseblocks = { {4 * 1024, 256} }, |
| 1795 | .block_erase = spi_block_erase_20, |
| 1796 | }, { |
| 1797 | .eraseblocks = { {32 * 1024, 32} }, |
| 1798 | .block_erase = spi_block_erase_52, |
| 1799 | }, { |
| 1800 | .eraseblocks = { {64 * 1024, 16} }, |
| 1801 | .block_erase = spi_block_erase_d8, |
| 1802 | }, { |
| 1803 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1804 | .block_erase = spi_block_erase_60, |
| 1805 | }, { |
| 1806 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1807 | .block_erase = spi_block_erase_c7, |
| 1808 | } |
| 1809 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1810 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1811 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1812 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1813 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1814 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1815 | }, |
| 1816 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1817 | { |
| 1818 | .vendor = "Atmel", |
| 1819 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1820 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1821 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1822 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1823 | .total_size = 2048, |
| 1824 | .page_size = 256, |
| 1825 | .tested = TEST_UNTESTED, |
| 1826 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1827 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1828 | .block_erasers = |
| 1829 | { |
| 1830 | { |
| 1831 | .eraseblocks = { {4 * 1024, 512} }, |
| 1832 | .block_erase = spi_block_erase_20, |
| 1833 | }, { |
| 1834 | .eraseblocks = { {32 * 1024, 64} }, |
| 1835 | .block_erase = spi_block_erase_52, |
| 1836 | }, { |
| 1837 | .eraseblocks = { {64 * 1024, 32} }, |
| 1838 | .block_erase = spi_block_erase_d8, |
| 1839 | }, { |
| 1840 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1841 | .block_erase = spi_block_erase_60, |
| 1842 | }, { |
| 1843 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1844 | .block_erase = spi_block_erase_c7, |
| 1845 | } |
| 1846 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1847 | .printlock = spi_prettyprint_status_register_at25df, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1848 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1849 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1850 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1851 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1852 | }, |
| 1853 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1854 | { |
| 1855 | .vendor = "Atmel", |
| 1856 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1857 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1858 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1859 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1860 | .total_size = 2048, |
| 1861 | .page_size = 256, |
| 1862 | .tested = TEST_UNTESTED, |
| 1863 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1864 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1865 | .block_erasers = |
| 1866 | { |
| 1867 | { |
| 1868 | .eraseblocks = { {4 * 1024, 512} }, |
| 1869 | .block_erase = spi_block_erase_20, |
| 1870 | }, { |
| 1871 | .eraseblocks = { {32 * 1024, 64} }, |
| 1872 | .block_erase = spi_block_erase_52, |
| 1873 | }, { |
| 1874 | .eraseblocks = { {64 * 1024, 32} }, |
| 1875 | .block_erase = spi_block_erase_d8, |
| 1876 | }, { |
| 1877 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1878 | .block_erase = spi_block_erase_60, |
| 1879 | }, { |
| 1880 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1881 | .block_erase = spi_block_erase_c7, |
| 1882 | } |
| 1883 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1884 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1885 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1886 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1887 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1888 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1889 | }, |
| 1890 | |
| 1891 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1892 | /*{ |
| 1893 | .vendor = "Atmel", |
| 1894 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1895 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1896 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1897 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1898 | .total_size = 4096, |
| 1899 | .page_size = 256, |
| 1900 | .tested = TEST_UNTESTED, |
| 1901 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1902 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1903 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1904 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1905 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1906 | .read = spi_chip_read, |
| 1907 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1908 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1909 | { |
| 1910 | .vendor = "Atmel", |
| 1911 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1912 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1913 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1914 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1915 | .total_size = 512, |
| 1916 | .page_size = 256, |
| 1917 | .tested = TEST_UNTESTED, |
| 1918 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1919 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1920 | .block_erasers = |
| 1921 | { |
| 1922 | { |
| 1923 | .eraseblocks = { {4 * 1024, 128} }, |
| 1924 | .block_erase = spi_block_erase_20, |
| 1925 | }, { |
| 1926 | .eraseblocks = { {32 * 1024, 16} }, |
| 1927 | .block_erase = spi_block_erase_52, |
| 1928 | }, { |
| 1929 | .eraseblocks = { {64 * 1024, 8} }, |
| 1930 | .block_erase = spi_block_erase_d8, |
| 1931 | }, { |
| 1932 | .eraseblocks = { {512 * 1024, 1} }, |
| 1933 | .block_erase = spi_block_erase_60, |
| 1934 | }, { |
| 1935 | .eraseblocks = { {512 * 1024, 1} }, |
| 1936 | .block_erase = spi_block_erase_c7, |
| 1937 | } |
| 1938 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1939 | .write = NULL /* Incompatible Page write */, |
| 1940 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1941 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1942 | }, |
| 1943 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1944 | { |
| 1945 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1946 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1947 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1948 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1949 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1950 | .total_size = 64, |
| 1951 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1952 | .feature_bits = FEATURE_LONG_RESET, |
| 1953 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1954 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1955 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1956 | .block_erasers = |
| 1957 | { |
| 1958 | { |
| 1959 | .eraseblocks = { {64 * 1024, 1} }, |
| 1960 | .block_erase = erase_chip_block_jedec, |
| 1961 | } |
| 1962 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1963 | .write = write_jedec, |
| 1964 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1965 | .voltage = {4500, 5500}, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1966 | }, |
| 1967 | |
| 1968 | { |
| 1969 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1970 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1971 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1972 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1973 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1974 | .total_size = 128, |
| 1975 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1976 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1977 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1978 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1979 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1980 | .block_erasers = |
| 1981 | { |
| 1982 | { |
| 1983 | .eraseblocks = { {128 * 1024, 1} }, |
| 1984 | .block_erase = erase_chip_block_jedec, |
| 1985 | } |
| 1986 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1987 | .write = write_jedec, /* FIXME */ |
| 1988 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1989 | .voltage = {4500, 5500}, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1990 | }, |
| 1991 | |
| 1992 | { |
| 1993 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1994 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1995 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1996 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1997 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1998 | .total_size = 256, |
| 1999 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2000 | .feature_bits = FEATURE_LONG_RESET, |
| 2001 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2002 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2003 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2004 | .block_erasers = |
| 2005 | { |
| 2006 | { |
| 2007 | .eraseblocks = { {256 * 1024, 1} }, |
| 2008 | .block_erase = erase_chip_block_jedec, |
| 2009 | } |
| 2010 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2011 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2012 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2013 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2014 | }, |
| 2015 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2016 | { |
| 2017 | .vendor = "Atmel", |
| 2018 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2019 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2020 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2021 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2022 | .total_size = 512, |
| 2023 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2024 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2025 | .tested = TEST_UNTESTED, |
| 2026 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 2027 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2028 | .block_erasers = |
| 2029 | { |
| 2030 | { |
| 2031 | .eraseblocks = { {512 * 1024, 1} }, |
| 2032 | .block_erase = erase_chip_block_jedec, |
| 2033 | } |
| 2034 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2035 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2036 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2037 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2038 | }, |
| 2039 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2040 | { |
| 2041 | .vendor = "Atmel", |
| 2042 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2043 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2044 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2045 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2046 | .total_size = 16896 /* No power of two sizes */, |
| 2047 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2048 | .tested = TEST_BAD_READ, |
| 2049 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2050 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2051 | .write = NULL /* Incompatible Page write */, |
| 2052 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2053 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2054 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2055 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2056 | { |
| 2057 | .vendor = "Atmel", |
| 2058 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2059 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2060 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2061 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2062 | .total_size = 128 /* Size can only be determined from status register */, |
| 2063 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2064 | .tested = TEST_BAD_READ, |
| 2065 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2066 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2067 | .write = NULL, |
| 2068 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2069 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2070 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2071 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2072 | { |
| 2073 | .vendor = "Atmel", |
| 2074 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2075 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2076 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2077 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2078 | .total_size = 256 /* Size can only be determined from status register */, |
| 2079 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2080 | .tested = TEST_BAD_READ, |
| 2081 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2082 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2083 | .write = NULL, |
| 2084 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2085 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2086 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2087 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2088 | { |
| 2089 | .vendor = "Atmel", |
| 2090 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2091 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2092 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2093 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2094 | .total_size = 512 /* Size can only be determined from status register */, |
| 2095 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2096 | .tested = TEST_BAD_READ, |
| 2097 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2098 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | .write = NULL, |
| 2100 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2101 | .voltage = {2500, 3600}, /* Datasheet says 2.5-3.6 V or 2.7-3.6 V */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2102 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2103 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2104 | { |
| 2105 | .vendor = "Atmel", |
| 2106 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2107 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2108 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2109 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2110 | .total_size = 1024 /* Size can only be determined from status register */, |
| 2111 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2112 | .tested = TEST_BAD_READ, |
| 2113 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2114 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2115 | .write = NULL, |
| 2116 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2117 | .voltage = {2500, 3600}, /* Datasheet says 2.5-3.6 V or 2.7-3.6 V */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2118 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2119 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2120 | { |
| 2121 | .vendor = "Atmel", |
| 2122 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2123 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2124 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2125 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2126 | .total_size = 2048 /* Size can only be determined from status register */, |
| 2127 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2128 | .tested = TEST_BAD_READ, |
| 2129 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2130 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2131 | .write = NULL, |
| 2132 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2133 | .voltage = {2500, 3600}, /* Datasheet says 2.5-3.6 V or 2.7-3.6 V */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2134 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2135 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2136 | { |
| 2137 | .vendor = "Atmel", |
| 2138 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2139 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2140 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2141 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2142 | .total_size = 4224 /* No power of two sizes */, |
| 2143 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2144 | .tested = TEST_BAD_READ, |
| 2145 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2146 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2147 | .write = NULL, |
| 2148 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2149 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2150 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2151 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2152 | { |
| 2153 | .vendor = "Atmel", |
| 2154 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2155 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2156 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2157 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2158 | .total_size = 4096 /* Size can only be determined from status register */, |
| 2159 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2160 | .tested = TEST_BAD_READ, |
| 2161 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2162 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2163 | .write = NULL, |
| 2164 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2165 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2166 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2167 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2168 | { |
| 2169 | .vendor = "Atmel", |
| 2170 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2171 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2172 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2173 | .model_id = ATMEL_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2174 | .total_size = 8192 /* Size can only be determined from status register */, |
| 2175 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2176 | .tested = TEST_BAD_READ, |
| 2177 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2178 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2179 | .write = NULL, |
| 2180 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2181 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2182 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2183 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2184 | { |
| 2185 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2186 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2187 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2188 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2189 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2190 | .total_size = 64, |
| 2191 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2192 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 2193 | .tested = TEST_OK_PREW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2194 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2195 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2196 | .block_erasers = |
| 2197 | { |
| 2198 | { |
| 2199 | .eraseblocks = { {64 * 1024, 1} }, |
| 2200 | .block_erase = erase_chip_block_jedec, |
| 2201 | } |
| 2202 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2203 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2204 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2205 | .voltage = {2700, 3600}, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2206 | }, |
| 2207 | |
| 2208 | { |
| 2209 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2210 | .name = "AT49F020", |
| 2211 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2212 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2213 | .model_id = ATMEL_AT49F020, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2214 | .total_size = 256, |
| 2215 | .page_size = 256, |
| 2216 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2217 | .tested = TEST_OK_PRE, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2218 | .probe = probe_jedec, |
| 2219 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2220 | .block_erasers = |
| 2221 | { |
| 2222 | { |
| 2223 | .eraseblocks = { {256 * 1024, 1} }, |
| 2224 | .block_erase = erase_chip_block_jedec, |
| 2225 | } |
| 2226 | }, |
| 2227 | .write = write_jedec_1, |
| 2228 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2229 | .voltage = {4500, 5500}, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2230 | }, |
| 2231 | |
| 2232 | { |
| 2233 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2234 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2235 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2236 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2237 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2238 | .total_size = 256, |
| 2239 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2240 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2241 | .tested = TEST_UNTESTED, |
| 2242 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2243 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2244 | .block_erasers = |
| 2245 | { |
| 2246 | { |
| 2247 | .eraseblocks = { |
| 2248 | {16 * 1024, 1}, |
| 2249 | {8 * 1024, 2}, |
| 2250 | {96 * 1024, 1}, |
| 2251 | {128 * 1024, 1}, |
| 2252 | }, |
| 2253 | .block_erase = erase_sector_jedec, |
| 2254 | }, { |
| 2255 | .eraseblocks = { {256 * 1024, 1} }, |
| 2256 | .block_erase = erase_chip_block_jedec, |
| 2257 | } |
| 2258 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2259 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2260 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2261 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2262 | }, |
| 2263 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2264 | { |
| 2265 | .vendor = "Atmel", |
| 2266 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2267 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2268 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2269 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2270 | .total_size = 256, |
| 2271 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2272 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2273 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2274 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2275 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2276 | .block_erasers = |
| 2277 | { |
| 2278 | { |
| 2279 | .eraseblocks = { |
| 2280 | {128 * 1024, 1}, |
| 2281 | {96 * 1024, 1}, |
| 2282 | {8 * 1024, 2}, |
| 2283 | {16 * 1024, 1}, |
| 2284 | }, |
| 2285 | .block_erase = erase_sector_jedec, |
| 2286 | }, { |
| 2287 | .eraseblocks = { {256 * 1024, 1} }, |
| 2288 | .block_erase = erase_chip_block_jedec, |
| 2289 | } |
| 2290 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2291 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2292 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2293 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2294 | }, |
| 2295 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2296 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2297 | .vendor = "Bright", |
| 2298 | .name = "BM29F040", |
| 2299 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2300 | .manufacture_id = BRIGHT_ID, |
| 2301 | .model_id = BRIGHT_BM29F040, |
| 2302 | .total_size = 512, |
| 2303 | .page_size = 64 * 1024, |
| 2304 | .feature_bits = FEATURE_EITHER_RESET, |
| 2305 | .tested = TEST_OK_PR, |
| 2306 | .probe = probe_jedec, |
| 2307 | .probe_timing = TIMING_ZERO, |
| 2308 | .block_erasers = |
| 2309 | { |
| 2310 | { |
| 2311 | .eraseblocks = { {64 * 1024, 8} }, |
| 2312 | .block_erase = erase_sector_jedec, |
| 2313 | }, { |
| 2314 | .eraseblocks = { {512 * 1024, 1} }, |
| 2315 | .block_erase = erase_chip_block_jedec, |
| 2316 | }, |
| 2317 | }, |
| 2318 | .write = write_jedec_1, |
| 2319 | .read = read_memmapped, |
| 2320 | }, |
| 2321 | |
| 2322 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2323 | .vendor = "EMST", |
| 2324 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2325 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2326 | .manufacture_id = EMST_ID, |
| 2327 | .model_id = EMST_F49B002UA, |
| 2328 | .total_size = 256, |
| 2329 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2330 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2331 | .tested = TEST_UNTESTED, |
| 2332 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2333 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2334 | .block_erasers = |
| 2335 | { |
| 2336 | { |
| 2337 | .eraseblocks = { |
| 2338 | {128 * 1024, 1}, |
| 2339 | {96 * 1024, 1}, |
| 2340 | {8 * 1024, 2}, |
| 2341 | {16 * 1024, 1}, |
| 2342 | }, |
| 2343 | .block_erase = erase_sector_jedec, |
| 2344 | }, { |
| 2345 | .eraseblocks = { {256 * 1024, 1} }, |
| 2346 | .block_erase = erase_chip_block_jedec, |
| 2347 | } |
| 2348 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2349 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2350 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2351 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2352 | }, |
| 2353 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2354 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2355 | .vendor = "EMST", |
| 2356 | .name = "F25L008A", |
| 2357 | .bustype = CHIP_BUSTYPE_SPI, |
| 2358 | .manufacture_id = EMST_ID, |
| 2359 | .model_id = EMST_F25L008A, |
| 2360 | .total_size = 1024, |
| 2361 | .page_size = 256, |
| 2362 | .tested = TEST_UNTESTED, |
| 2363 | .probe = probe_spi_rdid, |
| 2364 | .probe_timing = TIMING_ZERO, |
| 2365 | .block_erasers = |
| 2366 | { |
| 2367 | { |
| 2368 | .eraseblocks = { {4 * 1024, 256} }, |
| 2369 | .block_erase = spi_block_erase_20, |
| 2370 | }, { |
| 2371 | .eraseblocks = { {64 * 1024, 16} }, |
| 2372 | .block_erase = spi_block_erase_d8, |
| 2373 | }, { |
| 2374 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2375 | .block_erase = spi_block_erase_60, |
| 2376 | }, { |
| 2377 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2378 | .block_erase = spi_block_erase_c7, |
| 2379 | } |
| 2380 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2381 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2382 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2383 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2384 | .voltage = {2700, 3600}, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2385 | }, |
| 2386 | |
| 2387 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2388 | .vendor = "Eon", |
| 2389 | .name = "EN25B05", |
| 2390 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2391 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2392 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2393 | .total_size = 64, |
| 2394 | .page_size = 256, |
| 2395 | .tested = TEST_UNTESTED, |
| 2396 | .probe = probe_spi_rdid, |
| 2397 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2398 | .block_erasers = |
| 2399 | { |
| 2400 | { |
| 2401 | .eraseblocks = { |
| 2402 | {4 * 1024, 2}, |
| 2403 | {8 * 1024, 1}, |
| 2404 | {16 * 1024, 1}, |
| 2405 | {32 * 1024, 1}, |
| 2406 | }, |
| 2407 | .block_erase = spi_block_erase_d8, |
| 2408 | }, { |
| 2409 | .eraseblocks = { {64 * 1024, 1} }, |
| 2410 | .block_erase = spi_block_erase_c7, |
| 2411 | } |
| 2412 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2413 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2414 | .write = spi_chip_write_256, |
| 2415 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2416 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2417 | }, |
| 2418 | |
| 2419 | { |
| 2420 | .vendor = "Eon", |
| 2421 | .name = "EN25B05T", |
| 2422 | .bustype = CHIP_BUSTYPE_SPI, |
| 2423 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2424 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2425 | .total_size = 64, |
| 2426 | .page_size = 256, |
| 2427 | .tested = TEST_UNTESTED, |
| 2428 | .probe = probe_spi_rdid, |
| 2429 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2430 | .block_erasers = |
| 2431 | { |
| 2432 | { |
| 2433 | .eraseblocks = { |
| 2434 | {32 * 1024, 1}, |
| 2435 | {16 * 1024, 1}, |
| 2436 | {8 * 1024, 1}, |
| 2437 | {4 * 1024, 2}, |
| 2438 | }, |
| 2439 | .block_erase = spi_block_erase_d8, |
| 2440 | }, { |
| 2441 | .eraseblocks = { {64 * 1024, 1} }, |
| 2442 | .block_erase = spi_block_erase_c7, |
| 2443 | } |
| 2444 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2445 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2446 | .write = spi_chip_write_256, |
| 2447 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2448 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2449 | }, |
| 2450 | |
| 2451 | { |
| 2452 | .vendor = "Eon", |
| 2453 | .name = "EN25B10", |
| 2454 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2455 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2456 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2457 | .total_size = 128, |
| 2458 | .page_size = 256, |
| 2459 | .tested = TEST_UNTESTED, |
| 2460 | .probe = probe_spi_rdid, |
| 2461 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2462 | .block_erasers = |
| 2463 | { |
| 2464 | { |
| 2465 | .eraseblocks = { |
| 2466 | {4 * 1024, 2}, |
| 2467 | {8 * 1024, 1}, |
| 2468 | {16 * 1024, 1}, |
| 2469 | {32 * 1024, 3}, |
| 2470 | }, |
| 2471 | .block_erase = spi_block_erase_d8, |
| 2472 | }, { |
| 2473 | .eraseblocks = { {128 * 1024, 1} }, |
| 2474 | .block_erase = spi_block_erase_c7, |
| 2475 | } |
| 2476 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2477 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2478 | .write = spi_chip_write_256, |
| 2479 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2480 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2481 | }, |
| 2482 | |
| 2483 | { |
| 2484 | .vendor = "Eon", |
| 2485 | .name = "EN25B10T", |
| 2486 | .bustype = CHIP_BUSTYPE_SPI, |
| 2487 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2488 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2489 | .total_size = 128, |
| 2490 | .page_size = 256, |
| 2491 | .tested = TEST_UNTESTED, |
| 2492 | .probe = probe_spi_rdid, |
| 2493 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2494 | .block_erasers = |
| 2495 | { |
| 2496 | { |
| 2497 | .eraseblocks = { |
| 2498 | {32 * 1024, 3}, |
| 2499 | {16 * 1024, 1}, |
| 2500 | {8 * 1024, 1}, |
| 2501 | {4 * 1024, 2}, |
| 2502 | }, |
| 2503 | .block_erase = spi_block_erase_d8, |
| 2504 | }, { |
| 2505 | .eraseblocks = { {128 * 1024, 1} }, |
| 2506 | .block_erase = spi_block_erase_c7, |
| 2507 | } |
| 2508 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2509 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2510 | .write = spi_chip_write_256, |
| 2511 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2512 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2513 | }, |
| 2514 | |
| 2515 | { |
| 2516 | .vendor = "Eon", |
| 2517 | .name = "EN25B20", |
| 2518 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2519 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2520 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2521 | .total_size = 256, |
| 2522 | .page_size = 256, |
| 2523 | .tested = TEST_UNTESTED, |
| 2524 | .probe = probe_spi_rdid, |
| 2525 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2526 | .block_erasers = |
| 2527 | { |
| 2528 | { |
| 2529 | .eraseblocks = { |
| 2530 | {4 * 1024, 2}, |
| 2531 | {8 * 1024, 1}, |
| 2532 | {16 * 1024, 1}, |
| 2533 | {32 * 1024, 1}, |
| 2534 | {64 * 1024, 3} |
| 2535 | }, |
| 2536 | .block_erase = spi_block_erase_d8, |
| 2537 | }, { |
| 2538 | .eraseblocks = { {256 * 1024, 1} }, |
| 2539 | .block_erase = spi_block_erase_c7, |
| 2540 | } |
| 2541 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2542 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2543 | .write = spi_chip_write_256, |
| 2544 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2545 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2546 | }, |
| 2547 | |
| 2548 | { |
| 2549 | .vendor = "Eon", |
| 2550 | .name = "EN25B20T", |
| 2551 | .bustype = CHIP_BUSTYPE_SPI, |
| 2552 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2553 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2554 | .total_size = 256, |
| 2555 | .page_size = 256, |
| 2556 | .tested = TEST_UNTESTED, |
| 2557 | .probe = probe_spi_rdid, |
| 2558 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2559 | .block_erasers = |
| 2560 | { |
| 2561 | { |
| 2562 | .eraseblocks = { |
| 2563 | {64 * 1024, 3}, |
| 2564 | {32 * 1024, 1}, |
| 2565 | {16 * 1024, 1}, |
| 2566 | {8 * 1024, 1}, |
| 2567 | {4 * 1024, 2}, |
| 2568 | }, |
| 2569 | .block_erase = spi_block_erase_d8, |
| 2570 | }, { |
| 2571 | .eraseblocks = { {256 * 1024, 1} }, |
| 2572 | .block_erase = spi_block_erase_c7, |
| 2573 | } |
| 2574 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2575 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2576 | .write = spi_chip_write_256, |
| 2577 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2578 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2579 | }, |
| 2580 | |
| 2581 | { |
| 2582 | .vendor = "Eon", |
| 2583 | .name = "EN25B40", |
| 2584 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2585 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2586 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2587 | .total_size = 512, |
| 2588 | .page_size = 256, |
| 2589 | .tested = TEST_UNTESTED, |
| 2590 | .probe = probe_spi_rdid, |
| 2591 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2592 | .block_erasers = |
| 2593 | { |
| 2594 | { |
| 2595 | .eraseblocks = { |
| 2596 | {4 * 1024, 2}, |
| 2597 | {8 * 1024, 1}, |
| 2598 | {16 * 1024, 1}, |
| 2599 | {32 * 1024, 1}, |
| 2600 | {64 * 1024, 7} |
| 2601 | }, |
| 2602 | .block_erase = spi_block_erase_d8, |
| 2603 | }, { |
| 2604 | .eraseblocks = { {512 * 1024, 1} }, |
| 2605 | .block_erase = spi_block_erase_c7, |
| 2606 | } |
| 2607 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2608 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2609 | .write = spi_chip_write_256, |
| 2610 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2611 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2612 | }, |
| 2613 | |
| 2614 | { |
| 2615 | .vendor = "Eon", |
| 2616 | .name = "EN25B40T", |
| 2617 | .bustype = CHIP_BUSTYPE_SPI, |
| 2618 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2619 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2620 | .total_size = 512, |
| 2621 | .page_size = 256, |
| 2622 | .tested = TEST_UNTESTED, |
| 2623 | .probe = probe_spi_rdid, |
| 2624 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2625 | .block_erasers = |
| 2626 | { |
| 2627 | { |
| 2628 | .eraseblocks = { |
| 2629 | {64 * 1024, 7}, |
| 2630 | {32 * 1024, 1}, |
| 2631 | {16 * 1024, 1}, |
| 2632 | {8 * 1024, 1}, |
| 2633 | {4 * 1024, 2}, |
| 2634 | }, |
| 2635 | .block_erase = spi_block_erase_d8, |
| 2636 | }, { |
| 2637 | .eraseblocks = { {512 * 1024, 1} }, |
| 2638 | .block_erase = spi_block_erase_c7, |
| 2639 | } |
| 2640 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2641 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2642 | .write = spi_chip_write_256, |
| 2643 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2644 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2645 | }, |
| 2646 | |
| 2647 | { |
| 2648 | .vendor = "Eon", |
| 2649 | .name = "EN25B80", |
| 2650 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2651 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2652 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2653 | .total_size = 1024, |
| 2654 | .page_size = 256, |
| 2655 | .tested = TEST_UNTESTED, |
| 2656 | .probe = probe_spi_rdid, |
| 2657 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2658 | .block_erasers = |
| 2659 | { |
| 2660 | { |
| 2661 | .eraseblocks = { |
| 2662 | {4 * 1024, 2}, |
| 2663 | {8 * 1024, 1}, |
| 2664 | {16 * 1024, 1}, |
| 2665 | {32 * 1024, 1}, |
| 2666 | {64 * 1024, 15} |
| 2667 | }, |
| 2668 | .block_erase = spi_block_erase_d8, |
| 2669 | }, { |
| 2670 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2671 | .block_erase = spi_block_erase_c7, |
| 2672 | } |
| 2673 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2674 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2675 | .write = spi_chip_write_256, |
| 2676 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2677 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2678 | }, |
| 2679 | |
| 2680 | { |
| 2681 | .vendor = "Eon", |
| 2682 | .name = "EN25B80T", |
| 2683 | .bustype = CHIP_BUSTYPE_SPI, |
| 2684 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2685 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2686 | .total_size = 1024, |
| 2687 | .page_size = 256, |
| 2688 | .tested = TEST_UNTESTED, |
| 2689 | .probe = probe_spi_rdid, |
| 2690 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2691 | .block_erasers = |
| 2692 | { |
| 2693 | { |
| 2694 | .eraseblocks = { |
| 2695 | {64 * 1024, 15}, |
| 2696 | {32 * 1024, 1}, |
| 2697 | {16 * 1024, 1}, |
| 2698 | {8 * 1024, 1}, |
| 2699 | {4 * 1024, 2}, |
| 2700 | }, |
| 2701 | .block_erase = spi_block_erase_d8, |
| 2702 | }, { |
| 2703 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2704 | .block_erase = spi_block_erase_c7, |
| 2705 | } |
| 2706 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2707 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2708 | .write = spi_chip_write_256, |
| 2709 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2710 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2711 | }, |
| 2712 | |
| 2713 | { |
| 2714 | .vendor = "Eon", |
| 2715 | .name = "EN25B16", |
| 2716 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2717 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2718 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2719 | .total_size = 2048, |
| 2720 | .page_size = 256, |
| 2721 | .tested = TEST_UNTESTED, |
| 2722 | .probe = probe_spi_rdid, |
| 2723 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2724 | .block_erasers = |
| 2725 | { |
| 2726 | { |
| 2727 | .eraseblocks = { |
| 2728 | {4 * 1024, 2}, |
| 2729 | {8 * 1024, 1}, |
| 2730 | {16 * 1024, 1}, |
| 2731 | {32 * 1024, 1}, |
| 2732 | {64 * 1024, 31}, |
| 2733 | }, |
| 2734 | .block_erase = spi_block_erase_d8, |
| 2735 | }, { |
| 2736 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2737 | .block_erase = spi_block_erase_c7, |
| 2738 | } |
| 2739 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2740 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2741 | .write = spi_chip_write_256, |
| 2742 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2743 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2744 | }, |
| 2745 | |
| 2746 | { |
| 2747 | .vendor = "Eon", |
| 2748 | .name = "EN25B16T", |
| 2749 | .bustype = CHIP_BUSTYPE_SPI, |
| 2750 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2751 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2752 | .total_size = 2048, |
| 2753 | .page_size = 256, |
| 2754 | .tested = TEST_UNTESTED, |
| 2755 | .probe = probe_spi_rdid, |
| 2756 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2757 | .block_erasers = |
| 2758 | { |
| 2759 | { |
| 2760 | .eraseblocks = { |
| 2761 | {64 * 1024, 31}, |
| 2762 | {32 * 1024, 1}, |
| 2763 | {16 * 1024, 1}, |
| 2764 | {8 * 1024, 1}, |
| 2765 | {4 * 1024, 2}, |
| 2766 | }, |
| 2767 | .block_erase = spi_block_erase_d8, |
| 2768 | }, { |
| 2769 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2770 | .block_erase = spi_block_erase_c7, |
| 2771 | } |
| 2772 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2773 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2774 | .write = spi_chip_write_256, |
| 2775 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2776 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2777 | }, |
| 2778 | |
| 2779 | { |
| 2780 | .vendor = "Eon", |
| 2781 | .name = "EN25B32", |
| 2782 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2783 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2784 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2785 | .total_size = 4096, |
| 2786 | .page_size = 256, |
| 2787 | .tested = TEST_UNTESTED, |
| 2788 | .probe = probe_spi_rdid, |
| 2789 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2790 | .block_erasers = |
| 2791 | { |
| 2792 | { |
| 2793 | .eraseblocks = { |
| 2794 | {4 * 1024, 2}, |
| 2795 | {8 * 1024, 1}, |
| 2796 | {16 * 1024, 1}, |
| 2797 | {32 * 1024, 1}, |
| 2798 | {64 * 1024, 63}, |
| 2799 | }, |
| 2800 | .block_erase = spi_block_erase_d8, |
| 2801 | }, { |
| 2802 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2803 | .block_erase = spi_block_erase_c7, |
| 2804 | } |
| 2805 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2806 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2807 | .write = spi_chip_write_256, |
| 2808 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2809 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2810 | }, |
| 2811 | |
| 2812 | { |
| 2813 | .vendor = "Eon", |
| 2814 | .name = "EN25B32T", |
| 2815 | .bustype = CHIP_BUSTYPE_SPI, |
| 2816 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2817 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2818 | .total_size = 4096, |
| 2819 | .page_size = 256, |
| 2820 | .tested = TEST_UNTESTED, |
| 2821 | .probe = probe_spi_rdid, |
| 2822 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2823 | .block_erasers = |
| 2824 | { |
| 2825 | { |
| 2826 | .eraseblocks = { |
| 2827 | {64 * 1024, 63}, |
| 2828 | {32 * 1024, 1}, |
| 2829 | {16 * 1024, 1}, |
| 2830 | {8 * 1024, 1}, |
| 2831 | {4 * 1024, 2}, |
| 2832 | }, |
| 2833 | .block_erase = spi_block_erase_d8, |
| 2834 | }, { |
| 2835 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2836 | .block_erase = spi_block_erase_c7, |
| 2837 | } |
| 2838 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2839 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2840 | .write = spi_chip_write_256, |
| 2841 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2842 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2843 | }, |
| 2844 | |
| 2845 | { |
| 2846 | .vendor = "Eon", |
| 2847 | .name = "EN25B64", |
| 2848 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2849 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2850 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2851 | .total_size = 8192, |
| 2852 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2853 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2854 | .tested = TEST_UNTESTED, |
| 2855 | .probe = probe_spi_rdid, |
| 2856 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2857 | .block_erasers = |
| 2858 | { |
| 2859 | { |
| 2860 | .eraseblocks = { |
| 2861 | {4 * 1024, 2}, |
| 2862 | {8 * 1024, 1}, |
| 2863 | {16 * 1024, 1}, |
| 2864 | {32 * 1024, 1}, |
| 2865 | {64 * 1024, 127}, |
| 2866 | }, |
| 2867 | .block_erase = spi_block_erase_d8, |
| 2868 | }, { |
| 2869 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2870 | .block_erase = spi_block_erase_c7, |
| 2871 | } |
| 2872 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2873 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2874 | .write = spi_chip_write_256, |
| 2875 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2876 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2877 | }, |
| 2878 | |
| 2879 | { |
| 2880 | .vendor = "Eon", |
| 2881 | .name = "EN25B64T", |
| 2882 | .bustype = CHIP_BUSTYPE_SPI, |
| 2883 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2884 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2885 | .total_size = 8192, |
| 2886 | .page_size = 256, |
| 2887 | .tested = TEST_UNTESTED, |
| 2888 | .probe = probe_spi_rdid, |
| 2889 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2890 | .block_erasers = |
| 2891 | { |
| 2892 | { |
| 2893 | .eraseblocks = { |
| 2894 | {64 * 1024, 127}, |
| 2895 | {32 * 1024, 1}, |
| 2896 | {16 * 1024, 1}, |
| 2897 | {8 * 1024, 1}, |
| 2898 | {4 * 1024, 2}, |
| 2899 | }, |
| 2900 | .block_erase = spi_block_erase_d8, |
| 2901 | }, { |
| 2902 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2903 | .block_erase = spi_block_erase_c7, |
| 2904 | } |
| 2905 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2906 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2907 | .write = spi_chip_write_256, |
| 2908 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2909 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2910 | }, |
| 2911 | |
| 2912 | { |
| 2913 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2914 | .name = "EN25D16", |
| 2915 | .bustype = CHIP_BUSTYPE_SPI, |
| 2916 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2917 | .model_id = EON_EN25D16, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2918 | .total_size = 2048, |
| 2919 | .page_size = 256, |
| 2920 | .tested = TEST_UNTESTED, |
| 2921 | .probe = probe_spi_rdid, |
| 2922 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2923 | .block_erasers = |
| 2924 | { |
| 2925 | { |
| 2926 | .eraseblocks = { {4 * 1024, 512} }, |
| 2927 | .block_erase = spi_block_erase_20, |
| 2928 | }, { |
| 2929 | .eraseblocks = { {64 * 1024, 32} }, |
| 2930 | .block_erase = spi_block_erase_d8, |
| 2931 | }, { |
| 2932 | .eraseblocks = { {64 * 1024, 32} }, |
| 2933 | .block_erase = spi_block_erase_52, |
| 2934 | }, { |
| 2935 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2936 | .block_erase = spi_block_erase_60, |
| 2937 | }, { |
| 2938 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2939 | .block_erase = spi_block_erase_c7, |
| 2940 | } |
| 2941 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2942 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2943 | .write = spi_chip_write_256, |
| 2944 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2945 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2946 | }, |
| 2947 | |
| 2948 | { |
| 2949 | .vendor = "Eon", |
| 2950 | .name = "EN25F05", |
| 2951 | .bustype = CHIP_BUSTYPE_SPI, |
| 2952 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2953 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2954 | .total_size = 64, |
| 2955 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2956 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2957 | .tested = TEST_UNTESTED, |
| 2958 | .probe = probe_spi_rdid, |
| 2959 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2960 | .block_erasers = |
| 2961 | { |
| 2962 | { |
| 2963 | .eraseblocks = { {4 * 1024, 16} }, |
| 2964 | .block_erase = spi_block_erase_20, |
| 2965 | }, { |
| 2966 | .eraseblocks = { {32 * 1024, 2} }, |
| 2967 | .block_erase = spi_block_erase_d8, |
| 2968 | }, { |
| 2969 | .eraseblocks = { {32 * 1024, 2} }, |
| 2970 | .block_erase = spi_block_erase_52, |
| 2971 | }, { |
| 2972 | .eraseblocks = { {64 * 1024, 1} }, |
| 2973 | .block_erase = spi_block_erase_60, |
| 2974 | }, { |
| 2975 | .eraseblocks = { {64 * 1024, 1} }, |
| 2976 | .block_erase = spi_block_erase_c7, |
| 2977 | } |
| 2978 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2979 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2980 | .write = spi_chip_write_256, |
| 2981 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2982 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2983 | }, |
| 2984 | |
| 2985 | { |
| 2986 | .vendor = "Eon", |
| 2987 | .name = "EN25F10", |
| 2988 | .bustype = CHIP_BUSTYPE_SPI, |
| 2989 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2990 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2991 | .total_size = 128, |
| 2992 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2993 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2994 | .tested = TEST_UNTESTED, |
| 2995 | .probe = probe_spi_rdid, |
| 2996 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2997 | .block_erasers = |
| 2998 | { |
| 2999 | { |
| 3000 | .eraseblocks = { {4 * 1024, 32} }, |
| 3001 | .block_erase = spi_block_erase_20, |
| 3002 | }, { |
| 3003 | .eraseblocks = { {32 * 1024, 4} }, |
| 3004 | .block_erase = spi_block_erase_d8, |
| 3005 | }, { |
| 3006 | .eraseblocks = { {32 * 1024, 4} }, |
| 3007 | .block_erase = spi_block_erase_52, |
| 3008 | }, { |
| 3009 | .eraseblocks = { {128 * 1024, 1} }, |
| 3010 | .block_erase = spi_block_erase_60, |
| 3011 | }, { |
| 3012 | .eraseblocks = { {128 * 1024, 1} }, |
| 3013 | .block_erase = spi_block_erase_c7, |
| 3014 | } |
| 3015 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3016 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3017 | .write = spi_chip_write_256, |
| 3018 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3019 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3020 | }, |
| 3021 | |
| 3022 | { |
| 3023 | .vendor = "Eon", |
| 3024 | .name = "EN25F20", |
| 3025 | .bustype = CHIP_BUSTYPE_SPI, |
| 3026 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3027 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3028 | .total_size = 256, |
| 3029 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3030 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3031 | .tested = TEST_UNTESTED, |
| 3032 | .probe = probe_spi_rdid, |
| 3033 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3034 | .block_erasers = |
| 3035 | { |
| 3036 | { |
| 3037 | .eraseblocks = { {4 * 1024, 64} }, |
| 3038 | .block_erase = spi_block_erase_20, |
| 3039 | }, { |
| 3040 | .eraseblocks = { {64 * 1024, 4} }, |
| 3041 | .block_erase = spi_block_erase_d8, |
| 3042 | }, { |
| 3043 | .eraseblocks = { {64 * 1024, 4} }, |
| 3044 | .block_erase = spi_block_erase_52, |
| 3045 | }, { |
| 3046 | .eraseblocks = { {256 * 1024, 1} }, |
| 3047 | .block_erase = spi_block_erase_60, |
| 3048 | }, { |
| 3049 | .eraseblocks = { {256 * 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 | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3054 | .write = spi_chip_write_256, |
| 3055 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3056 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3057 | }, |
| 3058 | |
| 3059 | { |
| 3060 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3061 | .name = "EN25F40", |
| 3062 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3063 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3064 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3065 | .total_size = 512, |
| 3066 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3067 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 3068 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3069 | .probe = probe_spi_rdid, |
| 3070 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3071 | .block_erasers = |
| 3072 | { |
| 3073 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3074 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3075 | .block_erase = spi_block_erase_20, |
| 3076 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3077 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3078 | .block_erase = spi_block_erase_d8, |
| 3079 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3080 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3081 | .block_erase = spi_block_erase_60, |
| 3082 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3083 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3084 | .block_erase = spi_block_erase_c7, |
| 3085 | }, |
| 3086 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3087 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3088 | .write = spi_chip_write_256, |
| 3089 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3090 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3091 | }, |
| 3092 | |
| 3093 | { |
| 3094 | .vendor = "Eon", |
| 3095 | .name = "EN25F80", |
| 3096 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3097 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3098 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3099 | .total_size = 1024, |
| 3100 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3101 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3102 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3103 | .probe = probe_spi_rdid, |
| 3104 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3105 | .block_erasers = |
| 3106 | { |
| 3107 | { |
| 3108 | .eraseblocks = { {4 * 1024, 256} }, |
| 3109 | .block_erase = spi_block_erase_20, |
| 3110 | }, { |
| 3111 | .eraseblocks = { {64 * 1024, 16} }, |
| 3112 | .block_erase = spi_block_erase_d8, |
| 3113 | }, { |
| 3114 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3115 | .block_erase = spi_block_erase_60, |
| 3116 | }, { |
| 3117 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3118 | .block_erase = spi_block_erase_c7, |
| 3119 | } |
| 3120 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3121 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3122 | .write = spi_chip_write_256, |
| 3123 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3124 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3125 | }, |
| 3126 | |
| 3127 | { |
| 3128 | .vendor = "Eon", |
| 3129 | .name = "EN25F16", |
| 3130 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3131 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3132 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3133 | .total_size = 2048, |
| 3134 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3135 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3136 | .tested = TEST_UNTESTED, |
| 3137 | .probe = probe_spi_rdid, |
| 3138 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3139 | .block_erasers = |
| 3140 | { |
| 3141 | { |
| 3142 | .eraseblocks = { {4 * 1024, 512} }, |
| 3143 | .block_erase = spi_block_erase_20, |
| 3144 | }, { |
| 3145 | .eraseblocks = { {64 * 1024, 32} }, |
| 3146 | .block_erase = spi_block_erase_d8, |
| 3147 | }, { |
| 3148 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3149 | .block_erase = spi_block_erase_60, |
| 3150 | }, { |
| 3151 | .eraseblocks = { {2 * 1024 * 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 | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3156 | .write = spi_chip_write_256, |
| 3157 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3158 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3159 | }, |
| 3160 | |
| 3161 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3162 | .vendor = "Eon", |
| 3163 | .name = "EN25F32", |
| 3164 | .bustype = CHIP_BUSTYPE_SPI, |
| 3165 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3166 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3167 | .total_size = 4096, |
| 3168 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3169 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3170 | .tested = TEST_UNTESTED, |
| 3171 | .probe = probe_spi_rdid, |
| 3172 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3173 | .block_erasers = |
| 3174 | { |
| 3175 | { |
| 3176 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3177 | .block_erase = spi_block_erase_20, |
| 3178 | }, { |
| 3179 | .eraseblocks = { {64 * 1024, 64} }, |
| 3180 | .block_erase = spi_block_erase_d8, |
| 3181 | }, { |
| 3182 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3183 | .block_erase = spi_block_erase_60, |
| 3184 | }, { |
| 3185 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3186 | .block_erase = spi_block_erase_c7, |
| 3187 | } |
| 3188 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3189 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3190 | .write = spi_chip_write_256, |
| 3191 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3192 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3193 | }, |
| 3194 | |
| 3195 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3196 | .vendor = "Eon", |
| 3197 | .name = "EN29F010", |
| 3198 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3199 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3200 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3201 | .total_size = 128, |
| 3202 | .page_size = 128, |
| 3203 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3204 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3205 | .probe = probe_jedec, |
| 3206 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3207 | .block_erasers = |
| 3208 | { |
| 3209 | { |
| 3210 | .eraseblocks = { {16 * 1024, 8} }, |
| 3211 | .block_erase = erase_sector_jedec, |
| 3212 | }, |
| 3213 | { |
| 3214 | .eraseblocks = { {128 * 1024, 1} }, |
| 3215 | .block_erase = erase_chip_block_jedec, |
| 3216 | }, |
| 3217 | }, |
| 3218 | .write = write_jedec_1, |
| 3219 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3220 | .voltage = {4500, 5500}, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3221 | }, |
| 3222 | |
| 3223 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3224 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3225 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3226 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3227 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3228 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3229 | .total_size = 256, |
| 3230 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3231 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3232 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3233 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3234 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3235 | .block_erasers = |
| 3236 | { |
| 3237 | { |
| 3238 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3239 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3240 | {8 * 1024, 2}, |
| 3241 | {32 * 1024, 1}, |
| 3242 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3243 | }, |
| 3244 | .block_erase = erase_sector_jedec, |
| 3245 | }, { |
| 3246 | .eraseblocks = { {256 * 1024, 1} }, |
| 3247 | .block_erase = erase_chip_block_jedec, |
| 3248 | }, |
| 3249 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3250 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3251 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3252 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3253 | }, |
| 3254 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3255 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3256 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3257 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3258 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3259 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3260 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3261 | .total_size = 256, |
| 3262 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3263 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3264 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3265 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3266 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3267 | .block_erasers = |
| 3268 | { |
| 3269 | { |
| 3270 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3271 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3272 | {32 * 1024, 1}, |
| 3273 | {8 * 1024, 2}, |
| 3274 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3275 | }, |
| 3276 | .block_erase = erase_sector_jedec, |
| 3277 | }, { |
| 3278 | .eraseblocks = { {256 * 1024, 1} }, |
| 3279 | .block_erase = erase_chip_block_jedec, |
| 3280 | }, |
| 3281 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3282 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3283 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3284 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3285 | }, |
| 3286 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3287 | { |
| 3288 | .vendor = "Fujitsu", |
| 3289 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3290 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3291 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3292 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3293 | .total_size = 512, |
| 3294 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3295 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3296 | .tested = TEST_UNTESTED, |
| 3297 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3298 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3299 | .block_erasers = |
| 3300 | { |
| 3301 | { |
| 3302 | .eraseblocks = { |
| 3303 | {16 * 1024, 1}, |
| 3304 | {8 * 1024, 2}, |
| 3305 | {32 * 1024, 1}, |
| 3306 | {64 * 1024, 7}, |
| 3307 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3308 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3309 | }, { |
| 3310 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3311 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3312 | }, |
| 3313 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3314 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3315 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3316 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3317 | }, |
| 3318 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3319 | { |
| 3320 | .vendor = "Fujitsu", |
| 3321 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3322 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3323 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3324 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3325 | .total_size = 512, |
| 3326 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3327 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3328 | .tested = TEST_UNTESTED, |
| 3329 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3330 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3331 | .block_erasers = |
| 3332 | { |
| 3333 | { |
| 3334 | .eraseblocks = { |
| 3335 | {64 * 1024, 7}, |
| 3336 | {32 * 1024, 1}, |
| 3337 | {8 * 1024, 2}, |
| 3338 | {16 * 1024, 1}, |
| 3339 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3340 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3341 | }, { |
| 3342 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3343 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3344 | }, |
| 3345 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3346 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3347 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3348 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3349 | }, |
| 3350 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3351 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3352 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3353 | .vendor = "Fujitsu", |
| 3354 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3355 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3356 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3357 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3358 | .total_size = 512, |
| 3359 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3360 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3361 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3362 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3363 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3364 | .block_erasers = |
| 3365 | { |
| 3366 | { |
| 3367 | .eraseblocks = { |
| 3368 | {16 * 1024, 1}, |
| 3369 | {8 * 1024, 2}, |
| 3370 | {32 * 1024, 1}, |
| 3371 | {64 * 1024, 7}, |
| 3372 | }, |
| 3373 | .block_erase = block_erase_m29f400bt, |
| 3374 | }, { |
| 3375 | .eraseblocks = { {512 * 1024, 1} }, |
| 3376 | .block_erase = block_erase_chip_m29f400bt, |
| 3377 | }, |
| 3378 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3379 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3380 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3381 | .voltage = {4750, 5250}, /* 5.0V +-5% for -55 model, +-10% for rest */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3382 | }, |
| 3383 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3384 | { |
| 3385 | .vendor = "Fujitsu", |
| 3386 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3387 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3388 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3389 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3390 | .total_size = 512, |
| 3391 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3392 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3393 | .tested = TEST_UNTESTED, |
| 3394 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3395 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3396 | .block_erasers = |
| 3397 | { |
| 3398 | { |
| 3399 | .eraseblocks = { |
| 3400 | {64 * 1024, 7}, |
| 3401 | {32 * 1024, 1}, |
| 3402 | {8 * 1024, 2}, |
| 3403 | {16 * 1024, 1}, |
| 3404 | }, |
| 3405 | .block_erase = block_erase_m29f400bt, |
| 3406 | }, { |
| 3407 | .eraseblocks = { {512 * 1024, 1} }, |
| 3408 | .block_erase = block_erase_chip_m29f400bt, |
| 3409 | }, |
| 3410 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3411 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3412 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3413 | .voltage = {4750, 5250}, /* 5.0V +-5% for -55 model, +-10% for rest */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3414 | }, |
| 3415 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3416 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3417 | .vendor = "Hyundai", |
| 3418 | .name = "HY29F002T", |
| 3419 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3420 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3421 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3422 | .total_size = 256, |
| 3423 | .page_size = 256 * 1024, |
| 3424 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3425 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3426 | .probe = probe_jedec, |
| 3427 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3428 | .block_erasers = |
| 3429 | { |
| 3430 | { |
| 3431 | .eraseblocks = { |
| 3432 | {64 * 1024, 3}, |
| 3433 | {32 * 1024, 1}, |
| 3434 | {8 * 1024, 2}, |
| 3435 | {16 * 1024, 1}, |
| 3436 | }, |
| 3437 | .block_erase = erase_sector_jedec, |
| 3438 | }, { |
| 3439 | .eraseblocks = { {256 * 1024, 1} }, |
| 3440 | .block_erase = erase_chip_block_jedec, |
| 3441 | }, |
| 3442 | }, |
| 3443 | .write = write_jedec_1, |
| 3444 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3445 | .voltage = {4750, 5250}, /* 5.0V +-5% for -45 model, +-10% for rest */ |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3446 | }, |
| 3447 | |
| 3448 | { |
| 3449 | .vendor = "Hyundai", |
| 3450 | .name = "HY29F002B", |
| 3451 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3452 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3453 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3454 | .total_size = 256, |
| 3455 | .page_size = 256 * 1024, |
| 3456 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3457 | .tested = TEST_UNTESTED, |
| 3458 | .probe = probe_jedec, |
| 3459 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3460 | .block_erasers = |
| 3461 | { |
| 3462 | { |
| 3463 | .eraseblocks = { |
| 3464 | {16 * 1024, 1}, |
| 3465 | {8 * 1024, 2}, |
| 3466 | {32 * 1024, 1}, |
| 3467 | {64 * 1024, 3}, |
| 3468 | }, |
| 3469 | .block_erase = erase_sector_jedec, |
| 3470 | }, { |
| 3471 | .eraseblocks = { {256 * 1024, 1} }, |
| 3472 | .block_erase = erase_chip_block_jedec, |
| 3473 | }, |
| 3474 | }, |
| 3475 | .write = write_jedec_1, |
| 3476 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3477 | .voltage = {4750, 5250}, /* 5.0V +-5% for -45 model, +-10% for rest */ |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3478 | }, |
| 3479 | |
| 3480 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3481 | .vendor = "Hyundai", |
| 3482 | .name = "HY29F040A", |
| 3483 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3484 | .manufacture_id = HYUNDAI_ID, |
| 3485 | .model_id = HYUNDAI_HY29F040A, |
| 3486 | .total_size = 512, |
| 3487 | .page_size = 64 * 1024, |
| 3488 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3489 | .tested = TEST_UNTESTED, |
| 3490 | .probe = probe_jedec, |
| 3491 | .probe_timing = TIMING_ZERO, |
| 3492 | .block_erasers = |
| 3493 | { |
| 3494 | { |
| 3495 | .eraseblocks = { {64 * 1024, 8} }, |
| 3496 | .block_erase = erase_sector_jedec, |
| 3497 | }, { |
| 3498 | .eraseblocks = { {512 * 1024, 1} }, |
| 3499 | .block_erase = erase_chip_block_jedec, |
| 3500 | }, |
| 3501 | }, |
| 3502 | .write = write_jedec_1, |
| 3503 | .read = read_memmapped, |
| 3504 | }, |
| 3505 | |
| 3506 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3507 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3508 | .name = "28F001BN/BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3509 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3510 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3511 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3512 | .total_size = 128, |
| 3513 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3514 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3515 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3516 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3517 | .block_erasers = |
| 3518 | { |
| 3519 | { |
| 3520 | .eraseblocks = { |
| 3521 | {8 * 1024, 1}, |
| 3522 | {4 * 1024, 2}, |
| 3523 | {112 * 1024, 1}, |
| 3524 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3525 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3526 | }, |
| 3527 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3528 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3529 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3530 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3531 | }, |
| 3532 | |
| 3533 | { |
| 3534 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3535 | .name = "28F001BN/BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3536 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3537 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3538 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3539 | .total_size = 128, |
| 3540 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3541 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3542 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3543 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3544 | .block_erasers = |
| 3545 | { |
| 3546 | { |
| 3547 | .eraseblocks = { |
| 3548 | {112 * 1024, 1}, |
| 3549 | {4 * 1024, 2}, |
| 3550 | {8 * 1024, 1}, |
| 3551 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3552 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3553 | }, |
| 3554 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3555 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3556 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3557 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3558 | }, |
| 3559 | |
| 3560 | { |
| 3561 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3562 | .name = "28F002BC/BL/BV/BX-T", |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3563 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3564 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3565 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3566 | .total_size = 256, |
| 3567 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3568 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3569 | .probe = probe_82802ab, |
| 3570 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3571 | .block_erasers = |
| 3572 | { |
| 3573 | { |
| 3574 | .eraseblocks = { |
| 3575 | {128 * 1024, 1}, |
| 3576 | {96 * 1024, 1}, |
| 3577 | {8 * 1024, 2}, |
| 3578 | {16 * 1024, 1}, |
| 3579 | }, |
| 3580 | .block_erase = erase_block_82802ab, |
| 3581 | }, |
| 3582 | }, |
| 3583 | .write = write_82802ab, |
| 3584 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3585 | .voltage = {4500, 5500}, /* 5.0V +-10% read, 12V fast program & erase- +-5% standard, +-10% option */ |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3586 | }, |
| 3587 | |
| 3588 | { |
| 3589 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3590 | .name = "28F008S3/S5/SC", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3591 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3592 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3593 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3594 | .total_size = 512, |
| 3595 | .page_size = 256, |
| 3596 | .tested = TEST_UNTESTED, |
| 3597 | .probe = probe_82802ab, |
| 3598 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3599 | .block_erasers = |
| 3600 | { |
| 3601 | { |
| 3602 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3603 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3604 | }, |
| 3605 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3606 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3607 | .write = write_82802ab, |
| 3608 | .read = read_memmapped, |
| 3609 | }, |
| 3610 | |
| 3611 | { |
| 3612 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3613 | .name = "28F004B5/BE/BV/BX-B", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3614 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3615 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3616 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3617 | .total_size = 512, |
| 3618 | .page_size = 128 * 1024, /* maximal block size */ |
| 3619 | .tested = TEST_UNTESTED, |
| 3620 | .probe = probe_82802ab, |
| 3621 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3622 | .block_erasers = |
| 3623 | { |
| 3624 | { |
| 3625 | .eraseblocks = { |
| 3626 | {16 * 1024, 1}, |
| 3627 | {8 * 1024, 2}, |
| 3628 | {96 * 1024, 1}, |
| 3629 | {128 * 1024, 3}, |
| 3630 | }, |
| 3631 | .block_erase = erase_block_82802ab, |
| 3632 | }, |
| 3633 | }, |
| 3634 | .write = write_82802ab, |
| 3635 | .read = read_memmapped, |
| 3636 | }, |
| 3637 | |
| 3638 | { |
| 3639 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3640 | .name = "28F004B5/BE/BV/BX-T", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3641 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3642 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3643 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3644 | .total_size = 512, |
| 3645 | .page_size = 128 * 1024, /* maximal block size */ |
| 3646 | .tested = TEST_UNTESTED, |
| 3647 | .probe = probe_82802ab, |
| 3648 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3649 | .block_erasers = |
| 3650 | { |
| 3651 | { |
| 3652 | .eraseblocks = { |
| 3653 | {128 * 1024, 3}, |
| 3654 | {96 * 1024, 1}, |
| 3655 | {8 * 1024, 2}, |
| 3656 | {16 * 1024, 1}, |
| 3657 | }, |
| 3658 | .block_erase = erase_block_82802ab, |
| 3659 | }, |
| 3660 | }, |
| 3661 | .write = write_82802ab, |
| 3662 | .read = read_memmapped, |
| 3663 | }, |
| 3664 | |
| 3665 | { |
| 3666 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3667 | .name = "28F400BV/BX/CE/CV-B", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3668 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3669 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3670 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3671 | .total_size = 512, |
| 3672 | .page_size = 128 * 1024, /* maximal block size */ |
| 3673 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3674 | .tested = TEST_UNTESTED, |
| 3675 | .probe = probe_82802ab, |
| 3676 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3677 | .block_erasers = |
| 3678 | { |
| 3679 | { |
| 3680 | .eraseblocks = { |
| 3681 | {16 * 1024, 1}, |
| 3682 | {8 * 1024, 2}, |
| 3683 | {96 * 1024, 1}, |
| 3684 | {128 * 1024, 3}, |
| 3685 | }, |
| 3686 | .block_erase = erase_block_82802ab, |
| 3687 | }, |
| 3688 | }, |
| 3689 | .write = write_82802ab, |
| 3690 | .read = read_memmapped, |
| 3691 | }, |
| 3692 | |
| 3693 | { |
| 3694 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3695 | .name = "28F400BV/BX/CE/CV-T", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3696 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3697 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3698 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3699 | .total_size = 512, |
| 3700 | .page_size = 128 * 1024, /* maximal block size */ |
| 3701 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3702 | .tested = TEST_UNTESTED, |
| 3703 | .probe = probe_82802ab, |
| 3704 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3705 | .block_erasers = |
| 3706 | { |
| 3707 | { |
| 3708 | .eraseblocks = { |
| 3709 | {128 * 1024, 3}, |
| 3710 | {96 * 1024, 1}, |
| 3711 | {8 * 1024, 2}, |
| 3712 | {16 * 1024, 1}, |
| 3713 | }, |
| 3714 | .block_erase = erase_block_82802ab, |
| 3715 | }, |
| 3716 | }, |
| 3717 | .write = write_82802ab, |
| 3718 | .read = read_memmapped, |
| 3719 | }, |
| 3720 | |
| 3721 | { |
| 3722 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3723 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3724 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3725 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3726 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3727 | .total_size = 512, |
| 3728 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3729 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 3730 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3731 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3732 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3733 | .block_erasers = |
| 3734 | { |
| 3735 | { |
| 3736 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3737 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3738 | }, |
| 3739 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3740 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3741 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3742 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3743 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3744 | }, |
| 3745 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3746 | { |
| 3747 | .vendor = "Intel", |
| 3748 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3749 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3750 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3751 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3752 | .total_size = 1024, |
| 3753 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3754 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3755 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3756 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3757 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3758 | .block_erasers = |
| 3759 | { |
| 3760 | { |
| 3761 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3762 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3763 | }, |
| 3764 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3765 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3766 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3767 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3768 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3769 | }, |
| 3770 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3771 | { |
| 3772 | .vendor = "Macronix", |
| 3773 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3774 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3775 | .manufacture_id = MACRONIX_ID, |
| 3776 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3777 | .total_size = 64, |
| 3778 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3779 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3780 | .tested = TEST_UNTESTED, |
| 3781 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3782 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3783 | .block_erasers = |
| 3784 | { |
| 3785 | { |
| 3786 | .eraseblocks = { {4 * 1024, 16} }, |
| 3787 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3788 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3789 | .eraseblocks = { {64 * 1024, 1} }, |
| 3790 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3791 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3792 | .eraseblocks = { {64 * 1024, 1} }, |
| 3793 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3794 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3795 | .eraseblocks = { {64 * 1024, 1} }, |
| 3796 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3797 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3798 | .eraseblocks = { {64 * 1024, 1} }, |
| 3799 | .block_erase = spi_block_erase_c7, |
| 3800 | }, |
| 3801 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3802 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3803 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3804 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3805 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3806 | }, |
| 3807 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3808 | { |
| 3809 | .vendor = "Macronix", |
| 3810 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3811 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3812 | .manufacture_id = MACRONIX_ID, |
| 3813 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3814 | .total_size = 128, |
| 3815 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3816 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3820 | .block_erasers = |
| 3821 | { |
| 3822 | { |
| 3823 | .eraseblocks = { {4 * 1024, 32} }, |
| 3824 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3825 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3826 | .eraseblocks = { {64 * 1024, 2} }, |
| 3827 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3828 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3829 | .eraseblocks = { {128 * 1024, 1} }, |
| 3830 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3831 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3832 | .eraseblocks = { {128 * 1024, 1} }, |
| 3833 | .block_erase = spi_block_erase_c7, |
| 3834 | }, |
| 3835 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3836 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3837 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3838 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3839 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3840 | }, |
| 3841 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3842 | { |
| 3843 | .vendor = "Macronix", |
| 3844 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3845 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3846 | .manufacture_id = MACRONIX_ID, |
| 3847 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3848 | .total_size = 256, |
| 3849 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3850 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3851 | .tested = TEST_UNTESTED, |
| 3852 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3853 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3854 | .block_erasers = |
| 3855 | { |
| 3856 | { |
| 3857 | .eraseblocks = { {4 * 1024, 64} }, |
| 3858 | .block_erase = spi_block_erase_20, |
| 3859 | }, { |
| 3860 | .eraseblocks = { {64 * 1024, 4} }, |
| 3861 | .block_erase = spi_block_erase_52, |
| 3862 | }, { |
| 3863 | .eraseblocks = { {64 * 1024, 4} }, |
| 3864 | .block_erase = spi_block_erase_d8, |
| 3865 | }, { |
| 3866 | .eraseblocks = { {256 * 1024, 1} }, |
| 3867 | .block_erase = spi_block_erase_60, |
| 3868 | }, { |
| 3869 | .eraseblocks = { {256 * 1024, 1} }, |
| 3870 | .block_erase = spi_block_erase_c7, |
| 3871 | }, |
| 3872 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3873 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3874 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3875 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3876 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3877 | }, |
| 3878 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3879 | { |
| 3880 | .vendor = "Macronix", |
| 3881 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3882 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3883 | .manufacture_id = MACRONIX_ID, |
| 3884 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3885 | .total_size = 512, |
| 3886 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3887 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 3888 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3889 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3890 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3891 | .block_erasers = |
| 3892 | { |
| 3893 | { |
| 3894 | .eraseblocks = { {4 * 1024, 128} }, |
| 3895 | .block_erase = spi_block_erase_20, |
| 3896 | }, { |
| 3897 | .eraseblocks = { {64 * 1024, 8} }, |
| 3898 | .block_erase = spi_block_erase_52, |
| 3899 | }, { |
| 3900 | .eraseblocks = { {64 * 1024, 8} }, |
| 3901 | .block_erase = spi_block_erase_d8, |
| 3902 | }, { |
| 3903 | .eraseblocks = { {512 * 1024, 1} }, |
| 3904 | .block_erase = spi_block_erase_60, |
| 3905 | }, { |
| 3906 | .eraseblocks = { {512 * 1024, 1} }, |
| 3907 | .block_erase = spi_block_erase_c7, |
| 3908 | }, |
| 3909 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3910 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3911 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3912 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3913 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3914 | }, |
| 3915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3916 | { |
| 3917 | .vendor = "Macronix", |
| 3918 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3919 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3920 | .manufacture_id = MACRONIX_ID, |
| 3921 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3922 | .total_size = 1024, |
| 3923 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3924 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 3925 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3926 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3927 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3928 | .block_erasers = |
| 3929 | { |
| 3930 | { |
| 3931 | .eraseblocks = { {4 * 1024, 256} }, |
| 3932 | .block_erase = spi_block_erase_20, |
| 3933 | }, { |
| 3934 | .eraseblocks = { {64 * 1024, 16} }, |
| 3935 | .block_erase = spi_block_erase_52, |
| 3936 | }, { |
| 3937 | .eraseblocks = { {64 * 1024, 16} }, |
| 3938 | .block_erase = spi_block_erase_d8, |
| 3939 | }, { |
| 3940 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3941 | .block_erase = spi_block_erase_60, |
| 3942 | }, { |
| 3943 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3944 | .block_erase = spi_block_erase_c7, |
| 3945 | }, |
| 3946 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3947 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3948 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3949 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3950 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3951 | }, |
| 3952 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3953 | { |
| 3954 | .vendor = "Macronix", |
| 3955 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3956 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3957 | .manufacture_id = MACRONIX_ID, |
| 3958 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3959 | .total_size = 2048, |
| 3960 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3961 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 3962 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3963 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3964 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3965 | .block_erasers = |
| 3966 | { |
| 3967 | { |
| 3968 | .eraseblocks = { {4 * 1024, 512} }, |
| 3969 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3970 | }, { |
| 3971 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3972 | .block_erase = spi_block_erase_52, |
| 3973 | }, { |
| 3974 | .eraseblocks = { {64 * 1024, 32} }, |
| 3975 | .block_erase = spi_block_erase_d8, |
| 3976 | }, { |
| 3977 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3978 | .block_erase = spi_block_erase_60, |
| 3979 | }, { |
| 3980 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3981 | .block_erase = spi_block_erase_c7, |
| 3982 | }, |
| 3983 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3984 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3985 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3986 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3987 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3988 | }, |
| 3989 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3990 | { |
| 3991 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3992 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3993 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3994 | .manufacture_id = MACRONIX_ID, |
| 3995 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3996 | .total_size = 2048, |
| 3997 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3998 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3999 | .tested = TEST_UNTESTED, |
| 4000 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4001 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4002 | .block_erasers = |
| 4003 | { |
| 4004 | { |
| 4005 | .eraseblocks = { {4 * 1024, 512} }, |
| 4006 | .block_erase = spi_block_erase_20, |
| 4007 | }, { |
| 4008 | .eraseblocks = { {64 * 1024, 32} }, |
| 4009 | .block_erase = spi_block_erase_d8, |
| 4010 | }, { |
| 4011 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4012 | .block_erase = spi_block_erase_60, |
| 4013 | }, { |
| 4014 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4015 | .block_erase = spi_block_erase_c7, |
| 4016 | } |
| 4017 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4018 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4019 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4020 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4021 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4022 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 4023 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4024 | { |
| 4025 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4026 | .name = "MX25L1635E", |
| 4027 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4028 | .manufacture_id = MACRONIX_ID, |
| 4029 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4030 | .total_size = 2048, |
| 4031 | .page_size = 256, |
| 4032 | .feature_bits = FEATURE_WRSR_WREN, |
| 4033 | .tested = TEST_UNTESTED, |
| 4034 | .probe = probe_spi_rdid, |
| 4035 | .probe_timing = TIMING_ZERO, |
| 4036 | .block_erasers = |
| 4037 | { |
| 4038 | { |
| 4039 | .eraseblocks = { {4 * 1024, 512} }, |
| 4040 | .block_erase = spi_block_erase_20, |
| 4041 | }, { |
| 4042 | .eraseblocks = { {64 * 1024, 32} }, |
| 4043 | .block_erase = spi_block_erase_d8, |
| 4044 | }, { |
| 4045 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4046 | .block_erase = spi_block_erase_60, |
| 4047 | }, { |
| 4048 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4049 | .block_erase = spi_block_erase_c7, |
| 4050 | } |
| 4051 | }, |
| 4052 | .unlock = spi_disable_blockprotect, |
| 4053 | .write = spi_chip_write_256, |
| 4054 | .read = spi_chip_read, |
| 4055 | }, |
| 4056 | |
| 4057 | { |
| 4058 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4059 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4060 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4061 | .manufacture_id = MACRONIX_ID, |
| 4062 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4063 | .total_size = 4096, |
| 4064 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4065 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 4066 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4067 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4068 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4069 | .block_erasers = |
| 4070 | { |
| 4071 | { |
| 4072 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4073 | .block_erase = spi_block_erase_20, |
| 4074 | }, { |
| 4075 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4076 | .block_erase = spi_block_erase_d8, |
| 4077 | }, { |
| 4078 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4079 | .block_erase = spi_block_erase_60, |
| 4080 | }, { |
| 4081 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4082 | .block_erase = spi_block_erase_c7, |
| 4083 | }, |
| 4084 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4085 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4086 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4087 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4088 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4089 | }, |
| 4090 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4091 | { |
| 4092 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4093 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4094 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4095 | .manufacture_id = MACRONIX_ID, |
| 4096 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4097 | .total_size = 4096, |
| 4098 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4099 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4100 | .tested = TEST_UNTESTED, |
| 4101 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4102 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4103 | .block_erasers = |
| 4104 | { |
| 4105 | { |
| 4106 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4107 | .block_erase = spi_block_erase_20, |
| 4108 | }, { |
| 4109 | .eraseblocks = { {64 * 1024, 64} }, |
| 4110 | .block_erase = spi_block_erase_d8, |
| 4111 | }, { |
| 4112 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4113 | .block_erase = spi_block_erase_60, |
| 4114 | }, { |
| 4115 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4116 | .block_erase = spi_block_erase_c7, |
| 4117 | } |
| 4118 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4119 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4120 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4121 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4122 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4123 | }, |
| 4124 | |
| 4125 | { |
| 4126 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4127 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4128 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4129 | .manufacture_id = MACRONIX_ID, |
| 4130 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4131 | .total_size = 8192, |
| 4132 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4133 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 4134 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4135 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4136 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4137 | .block_erasers = |
| 4138 | { |
| 4139 | { |
| 4140 | .eraseblocks = { {64 * 1024, 128} }, |
| 4141 | .block_erase = spi_block_erase_20, |
| 4142 | }, { |
| 4143 | .eraseblocks = { {64 * 1024, 128} }, |
| 4144 | .block_erase = spi_block_erase_d8, |
| 4145 | }, { |
| 4146 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4147 | .block_erase = spi_block_erase_60, |
| 4148 | }, { |
| 4149 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4150 | .block_erase = spi_block_erase_c7, |
| 4151 | } |
| 4152 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4153 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4154 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4155 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4156 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4157 | }, |
| 4158 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4159 | { |
| 4160 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4161 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4162 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4163 | .manufacture_id = MACRONIX_ID, |
| 4164 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4165 | .total_size = 16384, |
| 4166 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4167 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4168 | .tested = TEST_UNTESTED, |
| 4169 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4170 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4171 | .block_erasers = |
| 4172 | { |
| 4173 | { |
| 4174 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4175 | .block_erase = spi_block_erase_20, |
| 4176 | }, { |
| 4177 | .eraseblocks = { {64 * 1024, 256} }, |
| 4178 | .block_erase = spi_block_erase_d8, |
| 4179 | }, { |
| 4180 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4181 | .block_erase = spi_block_erase_60, |
| 4182 | }, { |
| 4183 | .eraseblocks = { {16 * 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 | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4189 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4190 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4191 | }, |
| 4192 | |
| 4193 | { |
| 4194 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4195 | .name = "MX29F001B", |
| 4196 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4197 | .manufacture_id = MACRONIX_ID, |
| 4198 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4199 | .total_size = 128, |
| 4200 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4201 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4202 | .tested = TEST_UNTESTED, |
| 4203 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4204 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4205 | .block_erasers = |
| 4206 | { |
| 4207 | { |
| 4208 | .eraseblocks = { |
| 4209 | {8 * 1024, 1}, |
| 4210 | {4 * 1024, 2}, |
| 4211 | {8 * 1024, 2}, |
| 4212 | {32 * 1024, 1}, |
| 4213 | {64 * 1024, 1}, |
| 4214 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4215 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4216 | }, { |
| 4217 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4218 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4219 | } |
| 4220 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4221 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4222 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4223 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4224 | }, |
| 4225 | |
| 4226 | { |
| 4227 | .vendor = "Macronix", |
| 4228 | .name = "MX29F001T", |
| 4229 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4230 | .manufacture_id = MACRONIX_ID, |
| 4231 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4232 | .total_size = 128, |
| 4233 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4234 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 4235 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4236 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4237 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4238 | .block_erasers = |
| 4239 | { |
| 4240 | { |
| 4241 | .eraseblocks = { |
| 4242 | {64 * 1024, 1}, |
| 4243 | {32 * 1024, 1}, |
| 4244 | {8 * 1024, 2}, |
| 4245 | {4 * 1024, 2}, |
| 4246 | {8 * 1024, 1}, |
| 4247 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4248 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4249 | }, { |
| 4250 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4251 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4252 | } |
| 4253 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4254 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4255 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4256 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4257 | }, |
| 4258 | |
| 4259 | { |
| 4260 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4261 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4262 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4263 | .manufacture_id = MACRONIX_ID, |
| 4264 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4265 | .total_size = 256, |
| 4266 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4267 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4268 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4269 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4270 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4271 | .block_erasers = |
| 4272 | { |
| 4273 | { |
| 4274 | .eraseblocks = { |
| 4275 | {16 * 1024, 1}, |
| 4276 | {8 * 1024, 2}, |
| 4277 | {32 * 1024, 1}, |
| 4278 | {64 * 1024, 3}, |
| 4279 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4280 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4281 | }, { |
| 4282 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4283 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4284 | }, |
| 4285 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4286 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4287 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4288 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4289 | }, |
| 4290 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4291 | { |
| 4292 | .vendor = "Macronix", |
| 4293 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4294 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4295 | .manufacture_id = MACRONIX_ID, |
| 4296 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4297 | .total_size = 256, |
| 4298 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4299 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4300 | .tested = TEST_OK_PR, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4301 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4302 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4303 | .block_erasers = |
| 4304 | { |
| 4305 | { |
| 4306 | .eraseblocks = { |
| 4307 | {64 * 1024, 3}, |
| 4308 | {32 * 1024, 1}, |
| 4309 | {8 * 1024, 2}, |
| 4310 | {16 * 1024, 1}, |
| 4311 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4312 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4313 | }, { |
| 4314 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4315 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4316 | }, |
| 4317 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4318 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4319 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4320 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4321 | }, |
| 4322 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4323 | { |
| 4324 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4325 | .name = "MX29F040", |
| 4326 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4327 | .manufacture_id = MACRONIX_ID, |
| 4328 | .model_id = MACRONIX_MX29F040, |
| 4329 | .total_size = 512, |
| 4330 | .page_size = 64 * 1024, |
| 4331 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4332 | .tested = TEST_UNTESTED, |
| 4333 | .probe = probe_jedec, |
| 4334 | .probe_timing = TIMING_ZERO, |
| 4335 | .block_erasers = |
| 4336 | { |
| 4337 | { |
| 4338 | .eraseblocks = { {64 * 1024, 8} }, |
| 4339 | .block_erase = erase_sector_jedec, |
| 4340 | }, { |
| 4341 | .eraseblocks = { {512 * 1024, 1} }, |
| 4342 | .block_erase = erase_chip_block_jedec, |
| 4343 | }, |
| 4344 | }, |
| 4345 | .write = write_jedec_1, |
| 4346 | .read = read_memmapped, |
| 4347 | }, |
| 4348 | |
| 4349 | { |
| 4350 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 4351 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4352 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4353 | .manufacture_id = MACRONIX_ID, |
| 4354 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4355 | .total_size = 512, |
| 4356 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4357 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4358 | .tested = TEST_UNTESTED, |
| 4359 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4360 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4361 | .block_erasers = |
| 4362 | { |
| 4363 | { |
| 4364 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4365 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4366 | }, { |
| 4367 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4368 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4369 | }, |
| 4370 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4371 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4372 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4373 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 4374 | }, |
| 4375 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4376 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4377 | .vendor = "MoselVitelic", |
| 4378 | .name = "V29C51000B", |
| 4379 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4380 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4381 | .model_id = MVC_V29C51000B, |
| 4382 | .total_size = 64, |
| 4383 | .page_size = 512, |
| 4384 | .feature_bits = FEATURE_EITHER_RESET, |
| 4385 | .tested = TEST_UNTESTED, |
| 4386 | .probe = probe_jedec, |
| 4387 | .probe_timing = TIMING_ZERO, |
| 4388 | .block_erasers = |
| 4389 | { |
| 4390 | { |
| 4391 | .eraseblocks = { {512, 128} }, |
| 4392 | .block_erase = erase_sector_jedec, |
| 4393 | }, { |
| 4394 | .eraseblocks = { {64 * 1024, 1} }, |
| 4395 | .block_erase = erase_chip_block_jedec, |
| 4396 | }, |
| 4397 | }, |
| 4398 | .write = write_jedec_1, |
| 4399 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4400 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4401 | }, |
| 4402 | |
| 4403 | { |
| 4404 | .vendor = "MoselVitelic", |
| 4405 | .name = "V29C51000T", |
| 4406 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4407 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4408 | .model_id = MVC_V29C51000T, |
| 4409 | .total_size = 64, |
| 4410 | .page_size = 512, |
| 4411 | .feature_bits = FEATURE_EITHER_RESET, |
| 4412 | .tested = TEST_UNTESTED, |
| 4413 | .probe = probe_jedec, |
| 4414 | .probe_timing = TIMING_ZERO, |
| 4415 | .block_erasers = |
| 4416 | { |
| 4417 | { |
| 4418 | .eraseblocks = { {512, 128} }, |
| 4419 | .block_erase = erase_sector_jedec, |
| 4420 | }, { |
| 4421 | .eraseblocks = { {64 * 1024, 1} }, |
| 4422 | .block_erase = erase_chip_block_jedec, |
| 4423 | }, |
| 4424 | }, |
| 4425 | .write = write_jedec_1, |
| 4426 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4427 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4428 | }, |
| 4429 | |
| 4430 | { |
| 4431 | .vendor = "MoselVitelic", |
| 4432 | .name = "V29C51400B", |
| 4433 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4434 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4435 | .model_id = MVC_V29C51400B, |
| 4436 | .total_size = 512, |
| 4437 | .page_size = 1024, |
| 4438 | .feature_bits = FEATURE_EITHER_RESET, |
| 4439 | .tested = TEST_UNTESTED, |
| 4440 | .probe = probe_jedec, |
| 4441 | .probe_timing = TIMING_ZERO, |
| 4442 | .block_erasers = |
| 4443 | { |
| 4444 | { |
| 4445 | .eraseblocks = { {1024, 512} }, |
| 4446 | .block_erase = erase_sector_jedec, |
| 4447 | }, { |
| 4448 | .eraseblocks = { {512 * 1024, 1} }, |
| 4449 | .block_erase = erase_chip_block_jedec, |
| 4450 | }, |
| 4451 | }, |
| 4452 | .write = write_jedec_1, |
| 4453 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4454 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4455 | }, |
| 4456 | |
| 4457 | { |
| 4458 | .vendor = "MoselVitelic", |
| 4459 | .name = "V29C51400T", |
| 4460 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4461 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4462 | .model_id = MVC_V29C51400T, |
| 4463 | .total_size = 512, |
| 4464 | .page_size = 1024, |
| 4465 | .feature_bits = FEATURE_EITHER_RESET, |
| 4466 | .tested = TEST_UNTESTED, |
| 4467 | .probe = probe_jedec, |
| 4468 | .probe_timing = TIMING_ZERO, |
| 4469 | .block_erasers = |
| 4470 | { |
| 4471 | { |
| 4472 | .eraseblocks = { {1024, 512} }, |
| 4473 | .block_erase = erase_sector_jedec, |
| 4474 | }, { |
| 4475 | .eraseblocks = { {512 * 1024, 1} }, |
| 4476 | .block_erase = erase_chip_block_jedec, |
| 4477 | }, |
| 4478 | }, |
| 4479 | .write = write_jedec_1, |
| 4480 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4481 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4482 | }, |
| 4483 | |
| 4484 | { |
| 4485 | .vendor = "MoselVitelic", |
| 4486 | .name = "V29LC51000", |
| 4487 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4488 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4489 | .model_id = MVC_V29LC51000, |
| 4490 | .total_size = 64, |
| 4491 | .page_size = 512, |
| 4492 | .feature_bits = FEATURE_EITHER_RESET, |
| 4493 | .tested = TEST_UNTESTED, |
| 4494 | .probe = probe_jedec, |
| 4495 | .probe_timing = TIMING_ZERO, |
| 4496 | .block_erasers = |
| 4497 | { |
| 4498 | { |
| 4499 | .eraseblocks = { {512, 128} }, |
| 4500 | .block_erase = erase_sector_jedec, |
| 4501 | }, { |
| 4502 | .eraseblocks = { {64 * 1024, 1} }, |
| 4503 | .block_erase = erase_chip_block_jedec, |
| 4504 | }, |
| 4505 | }, |
| 4506 | .write = write_jedec_1, |
| 4507 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4508 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4509 | }, |
| 4510 | |
| 4511 | { |
| 4512 | .vendor = "MoselVitelic", |
| 4513 | .name = "V29LC51001", |
| 4514 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4515 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4516 | .model_id = MVC_V29LC51001, |
| 4517 | .total_size = 128, |
| 4518 | .page_size = 512, |
| 4519 | .feature_bits = FEATURE_EITHER_RESET, |
| 4520 | .tested = TEST_UNTESTED, |
| 4521 | .probe = probe_jedec, |
| 4522 | .probe_timing = TIMING_ZERO, |
| 4523 | .block_erasers = |
| 4524 | { |
| 4525 | { |
| 4526 | .eraseblocks = { {512, 256} }, |
| 4527 | .block_erase = erase_sector_jedec, |
| 4528 | }, { |
| 4529 | .eraseblocks = { {128 * 1024, 1} }, |
| 4530 | .block_erase = erase_chip_block_jedec, |
| 4531 | }, |
| 4532 | }, |
| 4533 | .write = write_jedec_1, |
| 4534 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4535 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4536 | }, |
| 4537 | |
| 4538 | { |
| 4539 | .vendor = "MoselVitelic", |
| 4540 | .name = "V29LC51002", |
| 4541 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4542 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4543 | .model_id = MVC_V29LC51002, |
| 4544 | .total_size = 256, |
| 4545 | .page_size = 512, |
| 4546 | .feature_bits = FEATURE_EITHER_RESET, |
| 4547 | .tested = TEST_UNTESTED, |
| 4548 | .probe = probe_jedec, |
| 4549 | .probe_timing = TIMING_ZERO, |
| 4550 | .block_erasers = |
| 4551 | { |
| 4552 | { |
| 4553 | .eraseblocks = { {512, 512} }, |
| 4554 | .block_erase = erase_sector_jedec, |
| 4555 | }, { |
| 4556 | .eraseblocks = { {256 * 1024, 1} }, |
| 4557 | .block_erase = erase_chip_block_jedec, |
| 4558 | }, |
| 4559 | }, |
| 4560 | .write = write_jedec_1, |
| 4561 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4562 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4563 | }, |
| 4564 | |
| 4565 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4566 | .vendor = "Numonyx", |
| 4567 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4568 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4569 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4570 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4571 | .total_size = 128, |
| 4572 | .page_size = 256, |
| 4573 | .tested = TEST_UNTESTED, |
| 4574 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4575 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4576 | .block_erasers = |
| 4577 | { |
| 4578 | { |
| 4579 | .eraseblocks = { {4 * 1024, 32} }, |
| 4580 | .block_erase = spi_block_erase_20, |
| 4581 | }, { |
| 4582 | .eraseblocks = { {64 * 1024, 2} }, |
| 4583 | .block_erase = spi_block_erase_d8, |
| 4584 | }, { |
| 4585 | .eraseblocks = { {128 * 1024, 1} }, |
| 4586 | .block_erase = spi_block_erase_c7, |
| 4587 | } |
| 4588 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4589 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4590 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4591 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4592 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4593 | }, |
| 4594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4595 | { |
| 4596 | .vendor = "Numonyx", |
| 4597 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4598 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4599 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4600 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4601 | .total_size = 256, |
| 4602 | .page_size = 256, |
| 4603 | .tested = TEST_UNTESTED, |
| 4604 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4605 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4606 | .block_erasers = |
| 4607 | { |
| 4608 | { |
| 4609 | .eraseblocks = { {4 * 1024, 64} }, |
| 4610 | .block_erase = spi_block_erase_20, |
| 4611 | }, { |
| 4612 | .eraseblocks = { {64 * 1024, 4} }, |
| 4613 | .block_erase = spi_block_erase_d8, |
| 4614 | }, { |
| 4615 | .eraseblocks = { {256 * 1024, 1} }, |
| 4616 | .block_erase = spi_block_erase_c7, |
| 4617 | } |
| 4618 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4619 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4620 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4621 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4622 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4623 | }, |
| 4624 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4625 | { |
| 4626 | .vendor = "Numonyx", |
| 4627 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4628 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4629 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4630 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4631 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4632 | .page_size = 256, |
| 4633 | .tested = TEST_UNTESTED, |
| 4634 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4635 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4636 | .block_erasers = |
| 4637 | { |
| 4638 | { |
| 4639 | .eraseblocks = { {4 * 1024, 128} }, |
| 4640 | .block_erase = spi_block_erase_20, |
| 4641 | }, { |
| 4642 | .eraseblocks = { {64 * 1024, 8} }, |
| 4643 | .block_erase = spi_block_erase_d8, |
| 4644 | }, { |
| 4645 | .eraseblocks = { {512 * 1024, 1} }, |
| 4646 | .block_erase = spi_block_erase_c7, |
| 4647 | } |
| 4648 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4649 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4650 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4651 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4652 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4653 | }, |
| 4654 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4655 | { |
| 4656 | .vendor = "Numonyx", |
| 4657 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4658 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4659 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4660 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4661 | .total_size = 1024, |
| 4662 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4663 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4664 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4665 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4666 | .block_erasers = |
| 4667 | { |
| 4668 | { |
| 4669 | .eraseblocks = { {4 * 1024, 256} }, |
| 4670 | .block_erase = spi_block_erase_20, |
| 4671 | }, { |
| 4672 | .eraseblocks = { {64 * 1024, 16} }, |
| 4673 | .block_erase = spi_block_erase_d8, |
| 4674 | }, { |
| 4675 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4676 | .block_erase = spi_block_erase_c7, |
| 4677 | } |
| 4678 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4679 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4680 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4681 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4682 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4683 | }, |
| 4684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4685 | { |
| 4686 | .vendor = "Numonyx", |
| 4687 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4688 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4689 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4690 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4691 | .total_size = 2048, |
| 4692 | .page_size = 256, |
| 4693 | .tested = TEST_UNTESTED, |
| 4694 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4695 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4696 | .block_erasers = |
| 4697 | { |
| 4698 | { |
| 4699 | .eraseblocks = { {4 * 1024, 512} }, |
| 4700 | .block_erase = spi_block_erase_20, |
| 4701 | }, { |
| 4702 | .eraseblocks = { {64 * 1024, 32} }, |
| 4703 | .block_erase = spi_block_erase_d8, |
| 4704 | }, { |
| 4705 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4706 | .block_erase = spi_block_erase_c7, |
| 4707 | } |
| 4708 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4709 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4710 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4711 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4712 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4713 | }, |
| 4714 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4715 | { |
| 4716 | .vendor = "PMC", |
| 4717 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4718 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4719 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4720 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4721 | .total_size = 128, |
| 4722 | .page_size = 256, |
| 4723 | .tested = TEST_UNTESTED, |
| 4724 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4725 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4726 | .block_erasers = |
| 4727 | { |
| 4728 | { |
| 4729 | .eraseblocks = { {4 * 1024, 32} }, |
| 4730 | .block_erase = spi_block_erase_d7, |
| 4731 | }, { |
| 4732 | .eraseblocks = { {32 * 1024, 4} }, |
| 4733 | .block_erase = spi_block_erase_d8, |
| 4734 | }, { |
| 4735 | .eraseblocks = { {128 * 1024, 1} }, |
| 4736 | .block_erase = spi_block_erase_c7, |
| 4737 | } |
| 4738 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4739 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4740 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4741 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4742 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4743 | }, |
| 4744 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4745 | { |
| 4746 | .vendor = "PMC", |
| 4747 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4748 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4749 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4750 | .model_id = PMC_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4751 | .total_size = 2048, |
| 4752 | .page_size = 256, |
| 4753 | .tested = TEST_UNTESTED, |
| 4754 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4755 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4756 | .block_erasers = |
| 4757 | { |
| 4758 | { |
| 4759 | .eraseblocks = { {4 * 1024, 512} }, |
| 4760 | .block_erase = spi_block_erase_d7, |
| 4761 | }, { |
| 4762 | .eraseblocks = { {4 * 1024, 512} }, |
| 4763 | .block_erase = spi_block_erase_20, |
| 4764 | }, { |
| 4765 | .eraseblocks = { {64 * 1024, 32} }, |
| 4766 | .block_erase = spi_block_erase_d8, |
| 4767 | }, { |
| 4768 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4769 | .block_erase = spi_block_erase_60, |
| 4770 | }, { |
| 4771 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4772 | .block_erase = spi_block_erase_c7, |
| 4773 | } |
| 4774 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4775 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4776 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4777 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4778 | }, |
| 4779 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4780 | { |
| 4781 | .vendor = "PMC", |
| 4782 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4783 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4784 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4785 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4786 | .total_size = 256, |
| 4787 | .page_size = 256, |
| 4788 | .tested = TEST_UNTESTED, |
| 4789 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4790 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4791 | .block_erasers = |
| 4792 | { |
| 4793 | { |
| 4794 | .eraseblocks = { {4 * 1024, 64} }, |
| 4795 | .block_erase = spi_block_erase_d7, |
| 4796 | }, { |
| 4797 | .eraseblocks = { {64 * 1024, 4} }, |
| 4798 | .block_erase = spi_block_erase_d8, |
| 4799 | }, { |
| 4800 | .eraseblocks = { {256 * 1024, 1} }, |
| 4801 | .block_erase = spi_block_erase_c7, |
| 4802 | } |
| 4803 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4804 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4805 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4806 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4807 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4808 | }, |
| 4809 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4810 | { |
| 4811 | .vendor = "PMC", |
| 4812 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4813 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4814 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4815 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4816 | .total_size = 512, |
| 4817 | .page_size = 256, |
| 4818 | .tested = TEST_UNTESTED, |
| 4819 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4820 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4821 | .block_erasers = |
| 4822 | { |
| 4823 | { |
| 4824 | .eraseblocks = { {4 * 1024, 128} }, |
| 4825 | .block_erase = spi_block_erase_d7, |
| 4826 | }, { |
| 4827 | .eraseblocks = { {64 * 1024, 8} }, |
| 4828 | .block_erase = spi_block_erase_d8, |
| 4829 | }, { |
| 4830 | .eraseblocks = { {512 * 1024, 1} }, |
| 4831 | .block_erase = spi_block_erase_c7, |
| 4832 | } |
| 4833 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4834 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4835 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4836 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4837 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4838 | }, |
| 4839 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4840 | { |
| 4841 | .vendor = "PMC", |
| 4842 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4843 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4844 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4845 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4846 | .total_size = 1024, |
| 4847 | .page_size = 256, |
| 4848 | .tested = TEST_UNTESTED, |
| 4849 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4850 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4851 | .block_erasers = |
| 4852 | { |
| 4853 | { |
| 4854 | .eraseblocks = { {4 * 1024, 256} }, |
| 4855 | .block_erase = spi_block_erase_d7, |
| 4856 | }, { |
| 4857 | .eraseblocks = { {4 * 1024, 256} }, |
| 4858 | .block_erase = spi_block_erase_20, |
| 4859 | }, { |
| 4860 | .eraseblocks = { {64 * 1024, 16} }, |
| 4861 | .block_erase = spi_block_erase_d8, |
| 4862 | }, { |
| 4863 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4864 | .block_erase = spi_block_erase_60, |
| 4865 | }, { |
| 4866 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4867 | .block_erase = spi_block_erase_c7, |
| 4868 | } |
| 4869 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4870 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4871 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4872 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4873 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4874 | }, |
| 4875 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4876 | { |
| 4877 | .vendor = "PMC", |
| 4878 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4879 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4880 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4881 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4882 | .total_size = 64, |
| 4883 | .page_size = 256, |
| 4884 | .tested = TEST_UNTESTED, |
| 4885 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4886 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4887 | .block_erasers = |
| 4888 | { |
| 4889 | { |
| 4890 | .eraseblocks = { {4 * 1024, 16} }, |
| 4891 | .block_erase = spi_block_erase_d7, |
| 4892 | }, { |
| 4893 | .eraseblocks = { {32 * 1024, 2} }, |
| 4894 | .block_erase = spi_block_erase_d8, |
| 4895 | }, { |
| 4896 | .eraseblocks = { {64 * 1024, 1} }, |
| 4897 | .block_erase = spi_block_erase_c7, |
| 4898 | } |
| 4899 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4900 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4901 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4902 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4903 | }, |
| 4904 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4905 | { |
| 4906 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4907 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4908 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4909 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4910 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4911 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4912 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4913 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4914 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4915 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4916 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4917 | .block_erasers = |
| 4918 | { |
| 4919 | { |
| 4920 | .eraseblocks = { |
| 4921 | {128 * 1024, 1}, |
| 4922 | {96 * 1024, 1}, |
| 4923 | {8 * 1024, 2}, |
| 4924 | {16 * 1024, 1}, |
| 4925 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4926 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4927 | }, { |
| 4928 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4929 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4930 | }, |
| 4931 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4932 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4933 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4934 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4935 | }, |
| 4936 | |
| 4937 | { |
| 4938 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4939 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4940 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4941 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4942 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4943 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4944 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4945 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4946 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4947 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4948 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4949 | .block_erasers = |
| 4950 | { |
| 4951 | { |
| 4952 | .eraseblocks = { |
| 4953 | {16 * 1024, 1}, |
| 4954 | {8 * 1024, 2}, |
| 4955 | {96 * 1024, 1}, |
| 4956 | {128 * 1024, 1}, |
| 4957 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4958 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4959 | }, { |
| 4960 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4961 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4962 | }, |
| 4963 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4964 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4965 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4966 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4967 | }, |
| 4968 | |
| 4969 | { |
| 4970 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4971 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4972 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4973 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4974 | .model_id = PMC_PM39F010, /* Pm39LV010 and Pm39F010 have identical IDs but different voltage */ |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4975 | .total_size = 128, |
| 4976 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4977 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4978 | .tested = TEST_OK_PRE, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4979 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4980 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4981 | .block_erasers = |
| 4982 | { |
| 4983 | { |
| 4984 | .eraseblocks = { {4 * 1024, 32} }, |
| 4985 | .block_erase = erase_sector_jedec, |
| 4986 | }, { |
| 4987 | .eraseblocks = { {64 * 1024, 2} }, |
| 4988 | .block_erase = erase_block_jedec, |
| 4989 | }, { |
| 4990 | .eraseblocks = { {128 * 1024, 1} }, |
| 4991 | .block_erase = erase_chip_block_jedec, |
| 4992 | } |
| 4993 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4994 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4995 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4996 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4997 | }, |
| 4998 | |
| 4999 | { |
| 5000 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5001 | .name = "Pm39LV020", |
| 5002 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5003 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5004 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5005 | .total_size = 256, |
| 5006 | .page_size = 4096, |
| 5007 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5008 | .tested = TEST_UNTESTED, |
| 5009 | .probe = probe_jedec, |
| 5010 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5011 | .block_erasers = |
| 5012 | { |
| 5013 | { |
| 5014 | .eraseblocks = { {4 * 1024, 64} }, |
| 5015 | .block_erase = erase_sector_jedec, |
| 5016 | }, { |
| 5017 | .eraseblocks = { {64 * 1024, 4} }, |
| 5018 | .block_erase = erase_block_jedec, |
| 5019 | }, { |
| 5020 | .eraseblocks = { {256 * 1024, 1} }, |
| 5021 | .block_erase = erase_chip_block_jedec, |
| 5022 | } |
| 5023 | }, |
| 5024 | .write = write_jedec_1, |
| 5025 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5026 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5027 | }, |
| 5028 | |
| 5029 | { |
| 5030 | .vendor = "PMC", |
| 5031 | .name = "Pm39LV040", |
| 5032 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5033 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5034 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5035 | .total_size = 512, |
| 5036 | .page_size = 4096, |
| 5037 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5038 | .tested = TEST_UNTESTED, |
| 5039 | .probe = probe_jedec, |
| 5040 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5041 | .block_erasers = |
| 5042 | { |
| 5043 | { |
| 5044 | .eraseblocks = { {4 * 1024, 128} }, |
| 5045 | .block_erase = erase_sector_jedec, |
| 5046 | }, { |
| 5047 | .eraseblocks = { {64 * 1024, 8} }, |
| 5048 | .block_erase = erase_block_jedec, |
| 5049 | }, { |
| 5050 | .eraseblocks = { {512 * 1024, 1} }, |
| 5051 | .block_erase = erase_chip_block_jedec, |
| 5052 | } |
| 5053 | }, |
| 5054 | .write = write_jedec_1, |
| 5055 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5056 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5057 | }, |
| 5058 | |
| 5059 | { |
| 5060 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5061 | .name = "Pm49FL002", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5062 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5063 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5064 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5065 | .total_size = 256, |
| 5066 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5067 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 5068 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5069 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5070 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5071 | .block_erasers = |
| 5072 | { |
| 5073 | { |
| 5074 | .eraseblocks = { {4 * 1024, 64} }, |
| 5075 | .block_erase = erase_sector_jedec, |
| 5076 | }, { |
| 5077 | .eraseblocks = { {16 * 1024, 16} }, |
| 5078 | .block_erase = erase_block_jedec, |
| 5079 | }, { |
| 5080 | .eraseblocks = { {256 * 1024, 1} }, |
| 5081 | .block_erase = erase_chip_block_jedec, |
| 5082 | } |
| 5083 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5084 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5085 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5086 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5087 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5088 | }, |
| 5089 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5090 | { |
| 5091 | .vendor = "PMC", |
| 5092 | .name = "Pm49FL004", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5093 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5094 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5095 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5096 | .total_size = 512, |
| 5097 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5098 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 5099 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5100 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5101 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5102 | .block_erasers = |
| 5103 | { |
| 5104 | { |
| 5105 | .eraseblocks = { {4 * 1024, 128} }, |
| 5106 | .block_erase = erase_sector_jedec, |
| 5107 | }, { |
| 5108 | .eraseblocks = { {64 * 1024, 8} }, |
| 5109 | .block_erase = erase_block_jedec, |
| 5110 | }, { |
| 5111 | .eraseblocks = { {512 * 1024, 1} }, |
| 5112 | .block_erase = erase_chip_block_jedec, |
| 5113 | } |
| 5114 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5115 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5116 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5117 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5118 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5119 | }, |
| 5120 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5121 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5122 | .vendor = "Sanyo", |
| 5123 | .name = "LF25FW203A", |
| 5124 | .bustype = CHIP_BUSTYPE_SPI, |
| 5125 | .manufacture_id = SANYO_ID, |
| 5126 | .model_id = SANYO_LE25FW203A, |
| 5127 | .total_size = 2048, |
| 5128 | .page_size = 256, |
| 5129 | .tested = TEST_UNTESTED, |
| 5130 | .probe = probe_spi_rdid, |
| 5131 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5132 | .block_erasers = |
| 5133 | { |
| 5134 | { |
| 5135 | .eraseblocks = { {64 * 1024, 32} }, |
| 5136 | .block_erase = spi_block_erase_d8, |
| 5137 | }, { |
| 5138 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5139 | .block_erase = spi_block_erase_c7, |
| 5140 | } |
| 5141 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5142 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5143 | .write = spi_chip_write_256, |
| 5144 | .read = spi_chip_read, |
| 5145 | }, |
| 5146 | |
| 5147 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5148 | .vendor = "Sharp", |
| 5149 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5150 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5151 | .manufacture_id = SHARP_ID, |
| 5152 | .model_id = SHARP_LHF00L04, |
| 5153 | .total_size = 1024, |
| 5154 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5155 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5156 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5157 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5158 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5159 | .block_erasers = |
| 5160 | { |
| 5161 | { |
| 5162 | .eraseblocks = { |
| 5163 | {64 * 1024, 15}, |
| 5164 | {8 * 1024, 8} |
| 5165 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5166 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5167 | }, { |
| 5168 | .eraseblocks = { |
| 5169 | {1024 * 1024, 1} |
| 5170 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5171 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5172 | }, |
| 5173 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5174 | .unlock = unlock_82802ab, |
| 5175 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5176 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5177 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5178 | }, |
| 5179 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5180 | { |
| 5181 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5182 | .name = "S25FL004A", |
| 5183 | .bustype = CHIP_BUSTYPE_SPI, |
| 5184 | .manufacture_id = SPANSION_ID, |
| 5185 | .model_id = SPANSION_S25FL004A, |
| 5186 | .total_size = 512, |
| 5187 | .page_size = 256, |
| 5188 | .tested = TEST_UNTESTED, |
| 5189 | .probe = probe_spi_rdid, |
| 5190 | .probe_timing = TIMING_ZERO, |
| 5191 | .block_erasers = |
| 5192 | { |
| 5193 | { |
| 5194 | .eraseblocks = { {64 * 1024, 8} }, |
| 5195 | .block_erase = spi_block_erase_d8, |
| 5196 | }, { |
| 5197 | .eraseblocks = { {512 * 1024, 1} }, |
| 5198 | .block_erase = spi_block_erase_c7, |
| 5199 | } |
| 5200 | }, |
| 5201 | .unlock = spi_disable_blockprotect, |
| 5202 | .write = spi_chip_write_256, |
| 5203 | .read = spi_chip_read, |
| 5204 | }, |
| 5205 | |
| 5206 | { |
| 5207 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5208 | .name = "S25FL008A", |
| 5209 | .bustype = CHIP_BUSTYPE_SPI, |
| 5210 | .manufacture_id = SPANSION_ID, |
| 5211 | .model_id = SPANSION_S25FL008A, |
| 5212 | .total_size = 1024, |
| 5213 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5214 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5215 | .probe = probe_spi_rdid, |
| 5216 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5217 | .block_erasers = |
| 5218 | { |
| 5219 | { |
| 5220 | .eraseblocks = { {64 * 1024, 16} }, |
| 5221 | .block_erase = spi_block_erase_d8, |
| 5222 | }, { |
| 5223 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5224 | .block_erase = spi_block_erase_c7, |
| 5225 | } |
| 5226 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5227 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5228 | .write = spi_chip_write_256, |
| 5229 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5230 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5231 | }, |
| 5232 | |
| 5233 | { |
| 5234 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5235 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5236 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5237 | .manufacture_id = SPANSION_ID, |
| 5238 | .model_id = SPANSION_S25FL016A, |
| 5239 | .total_size = 2048, |
| 5240 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5241 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5242 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5243 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5244 | .block_erasers = |
| 5245 | { |
| 5246 | { |
| 5247 | .eraseblocks = { {64 * 1024, 32} }, |
| 5248 | .block_erase = spi_block_erase_d8, |
| 5249 | }, { |
| 5250 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5251 | .block_erase = spi_block_erase_c7, |
| 5252 | } |
| 5253 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5254 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5255 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5256 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5257 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5258 | }, |
| 5259 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5260 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5261 | .vendor = "Spansion", |
| 5262 | .name = "S25FL032A", |
| 5263 | .bustype = CHIP_BUSTYPE_SPI, |
| 5264 | .manufacture_id = SPANSION_ID, |
| 5265 | .model_id = SPANSION_S25FL032A, |
| 5266 | .total_size = 4096, |
| 5267 | .page_size = 256, |
| 5268 | .tested = TEST_UNTESTED, |
| 5269 | .probe = probe_spi_rdid, |
| 5270 | .probe_timing = TIMING_ZERO, |
| 5271 | .block_erasers = |
| 5272 | { |
| 5273 | { |
| 5274 | .eraseblocks = { {64 * 1024, 64} }, |
| 5275 | .block_erase = spi_block_erase_d8, |
| 5276 | }, { |
| 5277 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5278 | .block_erase = spi_block_erase_c7, |
| 5279 | } |
| 5280 | }, |
| 5281 | .unlock = spi_disable_blockprotect, |
| 5282 | .write = spi_chip_write_256, |
| 5283 | .read = spi_chip_read, |
| 5284 | }, |
| 5285 | |
| 5286 | { |
| 5287 | .vendor = "Spansion", |
| 5288 | .name = "S25FL064A", |
| 5289 | .bustype = CHIP_BUSTYPE_SPI, |
| 5290 | .manufacture_id = SPANSION_ID, |
| 5291 | .model_id = SPANSION_S25FL064A, |
| 5292 | .total_size = 8192, |
| 5293 | .page_size = 256, |
| 5294 | .tested = TEST_OK_PREW, |
| 5295 | .probe = probe_spi_rdid, |
| 5296 | .probe_timing = TIMING_ZERO, |
| 5297 | .block_erasers = |
| 5298 | { |
| 5299 | { |
| 5300 | .eraseblocks = { {64 * 1024, 128} }, |
| 5301 | .block_erase = spi_block_erase_d8, |
| 5302 | }, { |
| 5303 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5304 | .block_erase = spi_block_erase_c7, |
| 5305 | } |
| 5306 | }, |
| 5307 | .unlock = spi_disable_blockprotect, |
| 5308 | .write = spi_chip_write_256, |
| 5309 | .read = spi_chip_read, |
| 5310 | }, |
| 5311 | |
| 5312 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5313 | .vendor = "SST", |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5314 | .name = "SST25VF010.REMS", |
| 5315 | .bustype = CHIP_BUSTYPE_SPI, |
| 5316 | .manufacture_id = SST_ID, |
| 5317 | .model_id = SST_SST25VF010_REMS, |
| 5318 | .total_size = 128, |
| 5319 | .page_size = 256, |
| 5320 | .tested = TEST_OK_PREW, |
| 5321 | .probe = probe_spi_rems, |
| 5322 | .probe_timing = TIMING_ZERO, |
| 5323 | .block_erasers = |
| 5324 | { |
| 5325 | { |
| 5326 | .eraseblocks = { {4 * 1024, 32} }, |
| 5327 | .block_erase = spi_block_erase_20, |
| 5328 | }, { |
| 5329 | .eraseblocks = { {32 * 1024, 4} }, |
| 5330 | .block_erase = spi_block_erase_52, |
| 5331 | }, { |
| 5332 | .eraseblocks = { {128 * 1024, 1} }, |
| 5333 | .block_erase = spi_block_erase_60, |
| 5334 | }, |
| 5335 | }, |
| 5336 | .unlock = spi_disable_blockprotect, |
| 5337 | .write = spi_chip_write_1, |
| 5338 | .read = spi_chip_read, |
| 5339 | }, |
| 5340 | |
| 5341 | { |
| 5342 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5343 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5344 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5345 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5346 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5347 | .total_size = 2048, |
| 5348 | .page_size = 256, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5349 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5350 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5351 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5352 | .block_erasers = |
| 5353 | { |
| 5354 | { |
| 5355 | .eraseblocks = { {4 * 1024, 512} }, |
| 5356 | .block_erase = spi_block_erase_20, |
| 5357 | }, { |
| 5358 | .eraseblocks = { {32 * 1024, 64} }, |
| 5359 | .block_erase = spi_block_erase_52, |
| 5360 | }, { |
| 5361 | .eraseblocks = { {64 * 1024, 32} }, |
| 5362 | .block_erase = spi_block_erase_d8, |
| 5363 | }, { |
| 5364 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5365 | .block_erase = spi_block_erase_60, |
| 5366 | }, { |
| 5367 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5368 | .block_erase = spi_block_erase_c7, |
| 5369 | }, |
| 5370 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5371 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5372 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5373 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5374 | .voltage = {2700, 3600}, |
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 = "SST", |
| 5379 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5380 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5381 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5382 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5383 | .total_size = 4096, |
| 5384 | .page_size = 256, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 5385 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5386 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5387 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5388 | .block_erasers = |
| 5389 | { |
| 5390 | { |
| 5391 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5392 | .block_erase = spi_block_erase_20, |
| 5393 | }, { |
| 5394 | .eraseblocks = { {32 * 1024, 128} }, |
| 5395 | .block_erase = spi_block_erase_52, |
| 5396 | }, { |
| 5397 | .eraseblocks = { {64 * 1024, 64} }, |
| 5398 | .block_erase = spi_block_erase_d8, |
| 5399 | }, { |
| 5400 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5401 | .block_erase = spi_block_erase_60, |
| 5402 | }, { |
| 5403 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5404 | .block_erase = spi_block_erase_c7, |
| 5405 | }, |
| 5406 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5407 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5408 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5409 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5410 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5411 | }, |
| 5412 | |
| 5413 | { |
| 5414 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5415 | .name = "SST25VF064C", |
| 5416 | .bustype = CHIP_BUSTYPE_SPI, |
| 5417 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5418 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5419 | .total_size = 8192, |
| 5420 | .page_size = 256, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 5421 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5422 | .probe = probe_spi_rdid, |
| 5423 | .probe_timing = TIMING_ZERO, |
| 5424 | .block_erasers = |
| 5425 | { |
| 5426 | { |
| 5427 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5428 | .block_erase = spi_block_erase_20, |
| 5429 | }, { |
| 5430 | .eraseblocks = { {32 * 1024, 256} }, |
| 5431 | .block_erase = spi_block_erase_52, |
| 5432 | }, { |
| 5433 | .eraseblocks = { {64 * 1024, 128} }, |
| 5434 | .block_erase = spi_block_erase_d8, |
| 5435 | }, { |
| 5436 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5437 | .block_erase = spi_block_erase_60, |
| 5438 | }, { |
| 5439 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5440 | .block_erase = spi_block_erase_c7, |
| 5441 | }, |
| 5442 | }, |
| 5443 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5444 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5445 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5446 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5447 | }, |
| 5448 | |
| 5449 | { |
| 5450 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5451 | .name = "SST25VF040.REMS", |
| 5452 | .bustype = CHIP_BUSTYPE_SPI, |
| 5453 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5454 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5455 | .total_size = 512, |
| 5456 | .page_size = 256, |
| 5457 | .tested = TEST_OK_PR, |
| 5458 | .probe = probe_spi_rems, |
| 5459 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5460 | .block_erasers = |
| 5461 | { |
| 5462 | { |
| 5463 | .eraseblocks = { {4 * 1024, 128} }, |
| 5464 | .block_erase = spi_block_erase_20, |
| 5465 | }, { |
| 5466 | .eraseblocks = { {32 * 1024, 16} }, |
| 5467 | .block_erase = spi_block_erase_52, |
| 5468 | }, { |
| 5469 | .eraseblocks = { {512 * 1024, 1} }, |
| 5470 | .block_erase = spi_block_erase_60, |
| 5471 | }, |
| 5472 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5473 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5474 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5475 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5476 | }, |
| 5477 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5478 | { |
| 5479 | .vendor = "SST", |
| 5480 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5481 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5482 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5483 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5484 | .total_size = 512, |
| 5485 | .page_size = 256, |
| 5486 | .tested = TEST_UNTESTED, |
| 5487 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5488 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5489 | .block_erasers = |
| 5490 | { |
| 5491 | { |
| 5492 | .eraseblocks = { {4 * 1024, 128} }, |
| 5493 | .block_erase = spi_block_erase_20, |
| 5494 | }, { |
| 5495 | .eraseblocks = { {32 * 1024, 16} }, |
| 5496 | .block_erase = spi_block_erase_52, |
| 5497 | }, { |
| 5498 | .eraseblocks = { {64 * 1024, 8} }, |
| 5499 | .block_erase = spi_block_erase_d8, |
| 5500 | }, { |
| 5501 | .eraseblocks = { {512 * 1024, 1} }, |
| 5502 | .block_erase = spi_block_erase_60, |
| 5503 | }, { |
| 5504 | .eraseblocks = { {512 * 1024, 1} }, |
| 5505 | .block_erase = spi_block_erase_c7, |
| 5506 | }, |
| 5507 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5508 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5509 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 5510 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5511 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 5512 | }, |
| 5513 | |
| 5514 | { |
| 5515 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 5516 | .name = "SST25LF040A.RES", |
| 5517 | .bustype = CHIP_BUSTYPE_SPI, |
| 5518 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5519 | .model_id = SST_SST25VF040_REMS, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 5520 | .total_size = 512, |
| 5521 | .page_size = 256, |
| 5522 | .tested = TEST_OK_PROBE, |
| 5523 | .probe = probe_spi_res2, |
| 5524 | .probe_timing = TIMING_ZERO, |
| 5525 | .block_erasers = |
| 5526 | { |
| 5527 | { |
| 5528 | .eraseblocks = { {4 * 1024, 128} }, |
| 5529 | .block_erase = spi_block_erase_20, |
| 5530 | }, { |
| 5531 | .eraseblocks = { {32 * 1024, 16} }, |
| 5532 | .block_erase = spi_block_erase_52, |
| 5533 | }, { |
| 5534 | .eraseblocks = { {512 * 1024, 1} }, |
| 5535 | .block_erase = spi_block_erase_60, |
| 5536 | }, |
| 5537 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5538 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 5539 | .write = spi_chip_write_1, |
| 5540 | .read = spi_chip_read, |
| 5541 | }, |
| 5542 | |
| 5543 | { |
| 5544 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5545 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5546 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5547 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5548 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5549 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5550 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5551 | .tested = TEST_OK_PR, |
| 5552 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5553 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5554 | .block_erasers = |
| 5555 | { |
| 5556 | { |
| 5557 | .eraseblocks = { {4 * 1024, 128} }, |
| 5558 | .block_erase = spi_block_erase_20, |
| 5559 | }, { |
| 5560 | .eraseblocks = { {32 * 1024, 16} }, |
| 5561 | .block_erase = spi_block_erase_52, |
| 5562 | }, { |
| 5563 | .eraseblocks = { {64 * 1024, 8} }, |
| 5564 | .block_erase = spi_block_erase_d8, |
| 5565 | }, { |
| 5566 | .eraseblocks = { {512 * 1024, 1} }, |
| 5567 | .block_erase = spi_block_erase_60, |
| 5568 | }, { |
| 5569 | .eraseblocks = { {512 * 1024, 1} }, |
| 5570 | .block_erase = spi_block_erase_c7, |
| 5571 | }, |
| 5572 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5573 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5574 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5575 | .read = spi_chip_read, |
| 5576 | }, |
| 5577 | |
| 5578 | { |
| 5579 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5580 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5581 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5582 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5583 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5584 | .total_size = 1024, |
| 5585 | .page_size = 256, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 5586 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5587 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5588 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5589 | .block_erasers = |
| 5590 | { |
| 5591 | { |
| 5592 | .eraseblocks = { {4 * 1024, 256} }, |
| 5593 | .block_erase = spi_block_erase_20, |
| 5594 | }, { |
| 5595 | .eraseblocks = { {32 * 1024, 32} }, |
| 5596 | .block_erase = spi_block_erase_52, |
| 5597 | }, { |
| 5598 | .eraseblocks = { {64 * 1024, 16} }, |
| 5599 | .block_erase = spi_block_erase_d8, |
| 5600 | }, { |
| 5601 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5602 | .block_erase = spi_block_erase_60, |
| 5603 | }, { |
| 5604 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5605 | .block_erase = spi_block_erase_c7, |
| 5606 | }, |
| 5607 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5608 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5609 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5610 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5611 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5612 | }, |
| 5613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5614 | { |
| 5615 | .vendor = "SST", |
| 5616 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5617 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5618 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5619 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5620 | .total_size = 512, |
| 5621 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5622 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5623 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5624 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 5625 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5626 | .block_erasers = |
| 5627 | { |
| 5628 | { |
| 5629 | .eraseblocks = { {128, 4096} }, |
| 5630 | .block_erase = erase_sector_28sf040, |
| 5631 | }, { |
| 5632 | .eraseblocks = { {512 * 1024, 1} }, |
| 5633 | .block_erase = erase_chip_28sf040, |
| 5634 | } |
| 5635 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5636 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5637 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5638 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5639 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5640 | }, |
| 5641 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5642 | { |
| 5643 | .vendor = "SST", |
| 5644 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5645 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5646 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5647 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5648 | .total_size = 128, |
| 5649 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5650 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5651 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5652 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5653 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5654 | .block_erasers = |
| 5655 | { |
| 5656 | { |
| 5657 | .eraseblocks = { {128 * 1024, 1} }, |
| 5658 | .block_erase = erase_chip_block_jedec, |
| 5659 | } |
| 5660 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5661 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5662 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5663 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5664 | }, |
| 5665 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5666 | { |
| 5667 | .vendor = "SST", |
| 5668 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5669 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5670 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5671 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5672 | .total_size = 128, |
| 5673 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5674 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5675 | .tested = TEST_UNTESTED, |
| 5676 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5677 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5678 | .block_erasers = |
| 5679 | { |
| 5680 | { |
| 5681 | .eraseblocks = { {128 * 1024, 1} }, |
| 5682 | .block_erase = erase_chip_block_jedec, |
| 5683 | } |
| 5684 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5685 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5686 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5687 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5688 | }, |
| 5689 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5690 | { |
| 5691 | .vendor = "SST", |
| 5692 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5693 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5694 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5695 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5696 | .total_size = 256, |
| 5697 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5698 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5699 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5700 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5701 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5702 | .block_erasers = |
| 5703 | { |
| 5704 | { |
| 5705 | .eraseblocks = { {256 * 1024, 1} }, |
| 5706 | .block_erase = erase_chip_block_jedec, |
| 5707 | } |
| 5708 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5709 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5710 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5711 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5712 | }, |
| 5713 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5714 | { |
| 5715 | .vendor = "SST", |
| 5716 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5717 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5718 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5719 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5720 | .total_size = 256, |
| 5721 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5722 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5723 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5724 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5725 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5726 | .block_erasers = |
| 5727 | { |
| 5728 | { |
| 5729 | .eraseblocks = { {256 * 1024, 1} }, |
| 5730 | .block_erase = erase_chip_block_jedec, |
| 5731 | } |
| 5732 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5733 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5734 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5735 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5736 | }, |
| 5737 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5738 | { |
| 5739 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5740 | .name = "SST39SF512", |
| 5741 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5742 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5743 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5744 | .total_size = 64, |
| 5745 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5746 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 5747 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5748 | .probe = probe_jedec, |
| 5749 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5750 | .block_erasers = |
| 5751 | { |
| 5752 | { |
| 5753 | .eraseblocks = { {4 * 1024, 16} }, |
| 5754 | .block_erase = erase_sector_jedec, |
| 5755 | }, { |
| 5756 | .eraseblocks = { {64 * 1024, 1} }, |
| 5757 | .block_erase = erase_chip_block_jedec, |
| 5758 | } |
| 5759 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5760 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5761 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5762 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5763 | }, |
| 5764 | |
| 5765 | { |
| 5766 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5767 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5768 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5769 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5770 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5771 | .total_size = 128, |
| 5772 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5773 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5774 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5775 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5776 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5777 | .block_erasers = |
| 5778 | { |
| 5779 | { |
| 5780 | .eraseblocks = { {4 * 1024, 32} }, |
| 5781 | .block_erase = erase_sector_jedec, |
| 5782 | }, { |
| 5783 | .eraseblocks = { {128 * 1024, 1} }, |
| 5784 | .block_erase = erase_chip_block_jedec, |
| 5785 | } |
| 5786 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5787 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5788 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5789 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5790 | }, |
| 5791 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5792 | { |
| 5793 | .vendor = "SST", |
| 5794 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5795 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5796 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5797 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5798 | .total_size = 256, |
| 5799 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5800 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 5801 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5802 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5803 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5804 | .block_erasers = |
| 5805 | { |
| 5806 | { |
| 5807 | .eraseblocks = { {4 * 1024, 64} }, |
| 5808 | .block_erase = erase_sector_jedec, |
| 5809 | }, { |
| 5810 | .eraseblocks = { {256 * 1024, 1} }, |
| 5811 | .block_erase = erase_chip_block_jedec, |
| 5812 | } |
| 5813 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5814 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5815 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5816 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5817 | }, |
| 5818 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5819 | { |
| 5820 | .vendor = "SST", |
| 5821 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5822 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5823 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5824 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5825 | .total_size = 512, |
| 5826 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5827 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5828 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5829 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5830 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5831 | .block_erasers = |
| 5832 | { |
| 5833 | { |
| 5834 | .eraseblocks = { {4 * 1024, 128} }, |
| 5835 | .block_erase = erase_sector_jedec, |
| 5836 | }, { |
| 5837 | .eraseblocks = { {512 * 1024, 1} }, |
| 5838 | .block_erase = erase_chip_block_jedec, |
| 5839 | } |
| 5840 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5841 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5842 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5843 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5844 | }, |
| 5845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5846 | { |
| 5847 | .vendor = "SST", |
| 5848 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5849 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5850 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5851 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5852 | .total_size = 64, |
| 5853 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5854 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5855 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5856 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5857 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5858 | .block_erasers = |
| 5859 | { |
| 5860 | { |
| 5861 | .eraseblocks = { {4 * 1024, 16} }, |
| 5862 | .block_erase = erase_sector_jedec, |
| 5863 | }, { |
| 5864 | .eraseblocks = { {64 * 1024, 1} }, |
| 5865 | .block_erase = erase_chip_block_jedec, |
| 5866 | } |
| 5867 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5868 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5869 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5870 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5871 | }, |
| 5872 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5873 | { |
| 5874 | .vendor = "SST", |
| 5875 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5876 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5877 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5878 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5879 | .total_size = 128, |
| 5880 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5881 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5882 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5883 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5884 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5885 | .block_erasers = |
| 5886 | { |
| 5887 | { |
| 5888 | .eraseblocks = { {4 * 1024, 32} }, |
| 5889 | .block_erase = erase_sector_jedec, |
| 5890 | }, { |
| 5891 | .eraseblocks = { {128 * 1024, 1} }, |
| 5892 | .block_erase = erase_chip_block_jedec, |
| 5893 | } |
| 5894 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5895 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5896 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5897 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5898 | }, |
| 5899 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5900 | { |
| 5901 | .vendor = "SST", |
| 5902 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5903 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5904 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5905 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5906 | .total_size = 256, |
| 5907 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5908 | .feature_bits = FEATURE_EITHER_RESET, |
| 5909 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5910 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5911 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5912 | .block_erasers = |
| 5913 | { |
| 5914 | { |
| 5915 | .eraseblocks = { {4 * 1024, 64} }, |
| 5916 | .block_erase = erase_sector_jedec, |
| 5917 | }, { |
| 5918 | .eraseblocks = { {256 * 1024, 1} }, |
| 5919 | .block_erase = erase_chip_block_jedec, |
| 5920 | } |
| 5921 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5922 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5923 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5924 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5925 | }, |
| 5926 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5927 | { |
| 5928 | .vendor = "SST", |
| 5929 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5930 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5931 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5932 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5933 | .total_size = 512, |
| 5934 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5935 | .feature_bits = FEATURE_EITHER_RESET, |
| 5936 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5937 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5938 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5939 | .block_erasers = |
| 5940 | { |
| 5941 | { |
| 5942 | .eraseblocks = { {4 * 1024, 128} }, |
| 5943 | .block_erase = erase_sector_jedec, |
| 5944 | }, { |
| 5945 | .eraseblocks = { {512 * 1024, 1} }, |
| 5946 | .block_erase = erase_chip_block_jedec, |
| 5947 | } |
| 5948 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5949 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5950 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5951 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 5952 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5953 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5954 | { |
| 5955 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5956 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5957 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5958 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5959 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5960 | .total_size = 1024, |
| 5961 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5962 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5963 | .tested = TEST_UNTESTED, |
| 5964 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5965 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5966 | .block_erasers = |
| 5967 | { |
| 5968 | { |
| 5969 | .eraseblocks = { {4 * 1024, 256} }, |
| 5970 | .block_erase = erase_sector_jedec, |
| 5971 | }, { |
| 5972 | .eraseblocks = { {64 * 1024, 16} }, |
| 5973 | .block_erase = erase_block_jedec, |
| 5974 | }, { |
| 5975 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5976 | .block_erase = erase_chip_block_jedec, |
| 5977 | } |
| 5978 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5979 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5980 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5981 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5982 | }, |
| 5983 | |
| 5984 | { |
| 5985 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5986 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5987 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5988 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5989 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5990 | .total_size = 256, |
| 5991 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5992 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 5993 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5994 | .probe = probe_jedec, |
| 5995 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5996 | .block_erasers = |
| 5997 | { |
| 5998 | { |
| 5999 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6000 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6001 | }, { |
| 6002 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6003 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6004 | }, { |
| 6005 | .eraseblocks = { {256 * 1024, 1} }, |
| 6006 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6007 | } |
| 6008 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6009 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6010 | .unlock = unlock_sst_fwhub, |
| 6011 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6012 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6013 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6014 | }, |
| 6015 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6016 | { |
| 6017 | .vendor = "SST", |
| 6018 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6019 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6020 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6021 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6022 | .total_size = 384, |
| 6023 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6024 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 6025 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6026 | .probe = probe_jedec, |
| 6027 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6028 | .block_erasers = |
| 6029 | { |
| 6030 | { |
| 6031 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6032 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6033 | }, { |
| 6034 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6035 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6036 | }, { |
| 6037 | .eraseblocks = { {384 * 1024, 1} }, |
| 6038 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6039 | } |
| 6040 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6041 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6042 | .unlock = unlock_sst_fwhub, |
| 6043 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6044 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6045 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6046 | }, |
| 6047 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6048 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6049 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 6050 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 6051 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6052 | .vendor = "SST", |
| 6053 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6054 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6055 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6056 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6057 | .total_size = 512, |
| 6058 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6059 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6060 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6061 | .probe = probe_jedec, |
| 6062 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6063 | .block_erasers = |
| 6064 | { |
| 6065 | { |
| 6066 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6067 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6068 | }, { |
| 6069 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6070 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6071 | }, { |
| 6072 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6073 | .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] | 6074 | }, |
| 6075 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6076 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6077 | .unlock = unlock_sst_fwhub, |
| 6078 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6079 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6080 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6081 | }, |
| 6082 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6083 | { |
| 6084 | .vendor = "SST", |
| 6085 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6086 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6087 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6088 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6089 | .total_size = 512, |
| 6090 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6091 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6092 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6093 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6094 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6095 | .block_erasers = |
| 6096 | { |
| 6097 | { |
| 6098 | .eraseblocks = { {4 * 1024, 128} }, |
| 6099 | .block_erase = erase_sector_49lfxxxc, |
| 6100 | }, { |
| 6101 | .eraseblocks = { |
| 6102 | {64 * 1024, 7}, |
| 6103 | {32 * 1024, 1}, |
| 6104 | {8 * 1024, 2}, |
| 6105 | {16 * 1024, 1}, |
| 6106 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6107 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6108 | } |
| 6109 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6110 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6111 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6112 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6113 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6114 | }, |
| 6115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6116 | { |
| 6117 | .vendor = "SST", |
| 6118 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6119 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6120 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6121 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6122 | .total_size = 1024, |
| 6123 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6124 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6125 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6126 | .probe = probe_jedec, |
| 6127 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6128 | .block_erasers = |
| 6129 | { |
| 6130 | { |
| 6131 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6132 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6133 | }, { |
| 6134 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6135 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6136 | }, { |
| 6137 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6138 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6139 | } |
| 6140 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6141 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6142 | .unlock = unlock_sst_fwhub, |
| 6143 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6144 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6145 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6146 | }, |
| 6147 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6148 | { |
| 6149 | .vendor = "SST", |
| 6150 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6151 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6152 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6153 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6154 | .total_size = 1024, |
| 6155 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6156 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6157 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6158 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6159 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6160 | .block_erasers = |
| 6161 | { |
| 6162 | { |
| 6163 | .eraseblocks = { {4 * 1024, 256} }, |
| 6164 | .block_erase = erase_sector_49lfxxxc, |
| 6165 | }, { |
| 6166 | .eraseblocks = { |
| 6167 | {64 * 1024, 15}, |
| 6168 | {32 * 1024, 1}, |
| 6169 | {8 * 1024, 2}, |
| 6170 | {16 * 1024, 1}, |
| 6171 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6172 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6173 | } |
| 6174 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6175 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6176 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6177 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6178 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6179 | }, |
| 6180 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6181 | { |
| 6182 | .vendor = "SST", |
| 6183 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6184 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6185 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6186 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6187 | .total_size = 2048, |
| 6188 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6189 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6190 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6191 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6192 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6193 | .block_erasers = |
| 6194 | { |
| 6195 | { |
| 6196 | .eraseblocks = { {4 * 1024, 512} }, |
| 6197 | .block_erase = erase_sector_49lfxxxc, |
| 6198 | }, { |
| 6199 | .eraseblocks = { |
| 6200 | {64 * 1024, 31}, |
| 6201 | {32 * 1024, 1}, |
| 6202 | {8 * 1024, 2}, |
| 6203 | {16 * 1024, 1}, |
| 6204 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6205 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6206 | } |
| 6207 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6208 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6209 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6210 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6211 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6212 | }, |
| 6213 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6214 | { |
| 6215 | .vendor = "SST", |
| 6216 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6217 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6218 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6219 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6220 | .total_size = 256, |
| 6221 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6222 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6223 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6224 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6225 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6226 | .block_erasers = |
| 6227 | { |
| 6228 | { |
| 6229 | .eraseblocks = { {4 * 1024, 64} }, |
| 6230 | .block_erase = erase_sector_jedec, |
| 6231 | }, { |
| 6232 | .eraseblocks = { {16 * 1024, 16} }, |
| 6233 | .block_erase = erase_block_jedec, |
| 6234 | }, { |
| 6235 | .eraseblocks = { {256 * 1024, 1} }, |
| 6236 | .block_erase = NULL, |
| 6237 | } |
| 6238 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6239 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6240 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6241 | .voltage = {3000, 3600}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 6242 | }, |
| 6243 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6244 | { |
| 6245 | .vendor = "SST", |
| 6246 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6247 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6248 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6249 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6250 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 6251 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6252 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6253 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6254 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6255 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6256 | .block_erasers = |
| 6257 | { |
| 6258 | { |
| 6259 | .eraseblocks = { {4 * 1024, 64} }, |
| 6260 | .block_erase = erase_sector_jedec, |
| 6261 | }, { |
| 6262 | .eraseblocks = { {16 * 1024, 16} }, |
| 6263 | .block_erase = erase_block_jedec, |
| 6264 | }, { |
| 6265 | .eraseblocks = { {256 * 1024, 1} }, |
| 6266 | .block_erase = NULL, |
| 6267 | } |
| 6268 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6269 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6270 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6271 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6272 | }, |
| 6273 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6274 | { |
| 6275 | .vendor = "SST", |
| 6276 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6277 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6278 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6279 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6280 | .total_size = 512, |
| 6281 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6282 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6283 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6284 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6285 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6286 | .block_erasers = |
| 6287 | { |
| 6288 | { |
| 6289 | .eraseblocks = { {4 * 1024, 128} }, |
| 6290 | .block_erase = erase_sector_jedec, |
| 6291 | }, { |
| 6292 | .eraseblocks = { {64 * 1024, 8} }, |
| 6293 | .block_erase = erase_block_jedec, |
| 6294 | }, { |
| 6295 | .eraseblocks = { {512 * 1024, 1} }, |
| 6296 | .block_erase = NULL, |
| 6297 | } |
| 6298 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6299 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6300 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6301 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6302 | }, |
| 6303 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6304 | { |
| 6305 | .vendor = "SST", |
| 6306 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6307 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6308 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6309 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6310 | .total_size = 512, |
| 6311 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6312 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6313 | .tested = TEST_OK_PRE, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6314 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6315 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6316 | .block_erasers = |
| 6317 | { |
| 6318 | { |
| 6319 | .eraseblocks = { {4 * 1024, 128} }, |
| 6320 | .block_erase = erase_sector_jedec, |
| 6321 | }, { |
| 6322 | .eraseblocks = { {64 * 1024, 8} }, |
| 6323 | .block_erase = erase_block_jedec, |
| 6324 | }, { |
| 6325 | .eraseblocks = { {512 * 1024, 1} }, |
| 6326 | .block_erase = NULL, |
| 6327 | } |
| 6328 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6329 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6330 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6331 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6332 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6333 | }, |
| 6334 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6335 | { |
| 6336 | .vendor = "SST", |
| 6337 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6338 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6339 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6340 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6341 | .total_size = 1024, |
| 6342 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6343 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 6344 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6345 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6346 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6347 | .block_erasers = |
| 6348 | { |
| 6349 | { |
| 6350 | .eraseblocks = { {4 * 1024, 256} }, |
| 6351 | .block_erase = erase_sector_jedec, |
| 6352 | }, { |
| 6353 | .eraseblocks = { {64 * 1024, 16} }, |
| 6354 | .block_erase = erase_block_jedec, |
| 6355 | }, { |
| 6356 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6357 | .block_erase = NULL, |
| 6358 | } |
| 6359 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6360 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6361 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6362 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6363 | }, |
| 6364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6365 | { |
| 6366 | .vendor = "SST", |
| 6367 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6368 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6369 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6370 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6371 | .total_size = 2048, |
| 6372 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6373 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6374 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6375 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6376 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6377 | .block_erasers = |
| 6378 | { |
| 6379 | { |
| 6380 | .eraseblocks = { {4 * 1024, 512} }, |
| 6381 | .block_erase = erase_sector_49lfxxxc, |
| 6382 | }, { |
| 6383 | .eraseblocks = { |
| 6384 | {64 * 1024, 31}, |
| 6385 | {32 * 1024, 1}, |
| 6386 | {8 * 1024, 2}, |
| 6387 | {16 * 1024, 1}, |
| 6388 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6389 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6390 | } |
| 6391 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6392 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6393 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6394 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6395 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6396 | }, |
| 6397 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6398 | { |
| 6399 | .vendor = "ST", |
| 6400 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6401 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6402 | .manufacture_id = ST_ID, |
| 6403 | .model_id = ST_M25P05A, |
| 6404 | .total_size = 64, |
| 6405 | .page_size = 256, |
| 6406 | .tested = TEST_UNTESTED, |
| 6407 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6408 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6409 | .block_erasers = |
| 6410 | { |
| 6411 | { |
| 6412 | .eraseblocks = { {32 * 1024, 2} }, |
| 6413 | .block_erase = spi_block_erase_d8, |
| 6414 | }, { |
| 6415 | .eraseblocks = { {64 * 1024, 1} }, |
| 6416 | .block_erase = spi_block_erase_c7, |
| 6417 | } |
| 6418 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6419 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6420 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6421 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6422 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6423 | }, |
| 6424 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6425 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 6426 | * 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] | 6427 | * 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] | 6428 | * only is successful if RDID does not work. |
| 6429 | */ |
| 6430 | { |
| 6431 | .vendor = "ST", |
| 6432 | .name = "M25P05.RES", |
| 6433 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6434 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6435 | .model_id = ST_M25P05_RES, |
| 6436 | .total_size = 64, |
| 6437 | .page_size = 256, |
| 6438 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6439 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6440 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6441 | .block_erasers = |
| 6442 | { |
| 6443 | { |
| 6444 | .eraseblocks = { {32 * 1024, 2} }, |
| 6445 | .block_erase = spi_block_erase_d8, |
| 6446 | }, { |
| 6447 | .eraseblocks = { {64 * 1024, 1} }, |
| 6448 | .block_erase = spi_block_erase_c7, |
| 6449 | } |
| 6450 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6451 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6452 | .write = spi_chip_write_1, /* 128 */ |
| 6453 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6454 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6455 | }, |
| 6456 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6457 | { |
| 6458 | .vendor = "ST", |
| 6459 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6460 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6461 | .manufacture_id = ST_ID, |
| 6462 | .model_id = ST_M25P10A, |
| 6463 | .total_size = 128, |
| 6464 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6465 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6466 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6467 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6468 | .block_erasers = |
| 6469 | { |
| 6470 | { |
| 6471 | .eraseblocks = { {32 * 1024, 4} }, |
| 6472 | .block_erase = spi_block_erase_d8, |
| 6473 | }, { |
| 6474 | .eraseblocks = { {128 * 1024, 1} }, |
| 6475 | .block_erase = spi_block_erase_c7, |
| 6476 | } |
| 6477 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6478 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6479 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6480 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6481 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6482 | }, |
| 6483 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6484 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 6485 | { |
| 6486 | .vendor = "ST", |
| 6487 | .name = "M25P10.RES", |
| 6488 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6489 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6490 | .model_id = ST_M25P10_RES, |
| 6491 | .total_size = 128, |
| 6492 | .page_size = 256, |
| 6493 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6494 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6495 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6496 | .block_erasers = |
| 6497 | { |
| 6498 | { |
| 6499 | .eraseblocks = { {32 * 1024, 4} }, |
| 6500 | .block_erase = spi_block_erase_d8, |
| 6501 | }, { |
| 6502 | .eraseblocks = { {128 * 1024, 1} }, |
| 6503 | .block_erase = spi_block_erase_c7, |
| 6504 | } |
| 6505 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6506 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6507 | .write = spi_chip_write_1, /* 128 */ |
| 6508 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6509 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6510 | }, |
| 6511 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6512 | { |
| 6513 | .vendor = "ST", |
| 6514 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6515 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6516 | .manufacture_id = ST_ID, |
| 6517 | .model_id = ST_M25P20, |
| 6518 | .total_size = 256, |
| 6519 | .page_size = 256, |
| 6520 | .tested = TEST_UNTESTED, |
| 6521 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6522 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6523 | .block_erasers = |
| 6524 | { |
| 6525 | { |
| 6526 | .eraseblocks = { {64 * 1024, 4} }, |
| 6527 | .block_erase = spi_block_erase_d8, |
| 6528 | }, { |
| 6529 | .eraseblocks = { {256 * 1024, 1} }, |
| 6530 | .block_erase = spi_block_erase_c7, |
| 6531 | } |
| 6532 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6533 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6534 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6535 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6536 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6537 | }, |
| 6538 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6539 | { |
| 6540 | .vendor = "ST", |
| 6541 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6542 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6543 | .manufacture_id = ST_ID, |
| 6544 | .model_id = ST_M25P40, |
| 6545 | .total_size = 512, |
| 6546 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6547 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6548 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6549 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6550 | .block_erasers = |
| 6551 | { |
| 6552 | { |
| 6553 | .eraseblocks = { {64 * 1024, 8} }, |
| 6554 | .block_erase = spi_block_erase_d8, |
| 6555 | }, { |
| 6556 | .eraseblocks = { {512 * 1024, 1} }, |
| 6557 | .block_erase = spi_block_erase_c7, |
| 6558 | } |
| 6559 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6560 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6561 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6562 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6563 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6564 | }, |
| 6565 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6566 | { |
| 6567 | .vendor = "ST", |
| 6568 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6569 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6570 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6571 | .model_id = ST_M25P40_RES, |
| 6572 | .total_size = 512, |
| 6573 | .page_size = 256, |
| 6574 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6575 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6576 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6577 | .block_erasers = |
| 6578 | { |
| 6579 | { |
| 6580 | .eraseblocks = { {64 * 1024, 8} }, |
| 6581 | .block_erase = spi_block_erase_d8, |
| 6582 | }, { |
| 6583 | .eraseblocks = { {512 * 1024, 1} }, |
| 6584 | .block_erase = spi_block_erase_c7, |
| 6585 | } |
| 6586 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6587 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6588 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6589 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6590 | }, |
| 6591 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6592 | { |
| 6593 | .vendor = "ST", |
| 6594 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6595 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6596 | .manufacture_id = ST_ID, |
| 6597 | .model_id = ST_M25P80, |
| 6598 | .total_size = 1024, |
| 6599 | .page_size = 256, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 6600 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6601 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6602 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6603 | .block_erasers = |
| 6604 | { |
| 6605 | { |
| 6606 | .eraseblocks = { {64 * 1024, 16} }, |
| 6607 | .block_erase = spi_block_erase_d8, |
| 6608 | }, { |
| 6609 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6610 | .block_erase = spi_block_erase_c7, |
| 6611 | } |
| 6612 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6613 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6614 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6615 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6616 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6617 | }, |
| 6618 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6619 | { |
| 6620 | .vendor = "ST", |
| 6621 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6622 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6623 | .manufacture_id = ST_ID, |
| 6624 | .model_id = ST_M25P16, |
| 6625 | .total_size = 2048, |
| 6626 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6627 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6628 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6629 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6630 | .block_erasers = |
| 6631 | { |
| 6632 | { |
| 6633 | .eraseblocks = { {64 * 1024, 32} }, |
| 6634 | .block_erase = spi_block_erase_d8, |
| 6635 | }, { |
| 6636 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6637 | .block_erase = spi_block_erase_c7, |
| 6638 | } |
| 6639 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6640 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6641 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6642 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6643 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6644 | }, |
| 6645 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6646 | { |
| 6647 | .vendor = "ST", |
| 6648 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6649 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6650 | .manufacture_id = ST_ID, |
| 6651 | .model_id = ST_M25P32, |
| 6652 | .total_size = 4096, |
| 6653 | .page_size = 256, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 6654 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6655 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6656 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6657 | .block_erasers = |
| 6658 | { |
| 6659 | { |
| 6660 | .eraseblocks = { {64 * 1024, 64} }, |
| 6661 | .block_erase = spi_block_erase_d8, |
| 6662 | }, { |
| 6663 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6664 | .block_erase = spi_block_erase_c7, |
| 6665 | } |
| 6666 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6667 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6668 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6669 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6670 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6671 | }, |
| 6672 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6673 | { |
| 6674 | .vendor = "ST", |
| 6675 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6676 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6677 | .manufacture_id = ST_ID, |
| 6678 | .model_id = ST_M25P64, |
| 6679 | .total_size = 8192, |
| 6680 | .page_size = 256, |
| 6681 | .tested = TEST_UNTESTED, |
| 6682 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6683 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6684 | .block_erasers = |
| 6685 | { |
| 6686 | { |
| 6687 | .eraseblocks = { {64 * 1024, 128} }, |
| 6688 | .block_erase = spi_block_erase_d8, |
| 6689 | }, { |
| 6690 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6691 | .block_erase = spi_block_erase_c7, |
| 6692 | } |
| 6693 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6694 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6695 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6696 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6697 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6698 | }, |
| 6699 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6700 | { |
| 6701 | .vendor = "ST", |
| 6702 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6703 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6704 | .manufacture_id = ST_ID, |
| 6705 | .model_id = ST_M25P128, |
| 6706 | .total_size = 16384, |
| 6707 | .page_size = 256, |
| 6708 | .tested = TEST_UNTESTED, |
| 6709 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6710 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6711 | .block_erasers = |
| 6712 | { |
| 6713 | { |
| 6714 | .eraseblocks = { {256 * 1024, 64} }, |
| 6715 | .block_erase = spi_block_erase_d8, |
| 6716 | }, { |
| 6717 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6718 | .block_erase = spi_block_erase_c7, |
| 6719 | } |
| 6720 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6721 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6722 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6723 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6724 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6725 | }, |
| 6726 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6727 | { |
| 6728 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 6729 | .name = "M25PX16", |
| 6730 | .bustype = CHIP_BUSTYPE_SPI, |
| 6731 | .manufacture_id = ST_ID, |
| 6732 | .model_id = ST_M25PX16, |
| 6733 | .total_size = 2048, |
| 6734 | .page_size = 256, |
| 6735 | .tested = TEST_OK_PREW, |
| 6736 | .probe = probe_spi_rdid, |
| 6737 | .probe_timing = TIMING_ZERO, |
| 6738 | .block_erasers = |
| 6739 | { |
| 6740 | { |
| 6741 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 6742 | .block_erase = spi_block_erase_20, |
| 6743 | }, { |
| 6744 | .eraseblocks = { {64 * 1024, 32} }, |
| 6745 | .block_erase = spi_block_erase_d8, |
| 6746 | }, { |
| 6747 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6748 | .block_erase = spi_block_erase_c7, |
| 6749 | } |
| 6750 | }, |
| 6751 | .unlock = spi_disable_blockprotect, |
| 6752 | .write = spi_chip_write_256, |
| 6753 | .read = spi_chip_read, |
| 6754 | }, |
| 6755 | |
| 6756 | { |
| 6757 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6758 | .name = "M25PX32", |
| 6759 | .bustype = CHIP_BUSTYPE_SPI, |
| 6760 | .manufacture_id = ST_ID, |
| 6761 | .model_id = ST_M25PX32, |
| 6762 | .total_size = 4096, |
| 6763 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6764 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6765 | .probe = probe_spi_rdid, |
| 6766 | .probe_timing = TIMING_ZERO, |
| 6767 | .block_erasers = |
| 6768 | { |
| 6769 | { |
| 6770 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 6771 | .block_erase = spi_block_erase_20, |
| 6772 | }, { |
| 6773 | .eraseblocks = { {64 * 1024, 64} }, |
| 6774 | .block_erase = spi_block_erase_d8, |
| 6775 | }, { |
| 6776 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6777 | .block_erase = spi_block_erase_c7, |
| 6778 | } |
| 6779 | }, |
| 6780 | .unlock = spi_disable_blockprotect, |
| 6781 | .write = spi_chip_write_256, |
| 6782 | .read = spi_chip_read, |
| 6783 | }, |
| 6784 | |
| 6785 | { |
| 6786 | .vendor = "ST", |
| 6787 | .name = "M25PX64", |
| 6788 | .bustype = CHIP_BUSTYPE_SPI, |
| 6789 | .manufacture_id = ST_ID, |
| 6790 | .model_id = ST_M25PX64, |
| 6791 | .total_size = 8192, |
| 6792 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6793 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6794 | .probe = probe_spi_rdid, |
| 6795 | .probe_timing = TIMING_ZERO, |
| 6796 | .block_erasers = |
| 6797 | { |
| 6798 | { |
| 6799 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 6800 | .block_erase = spi_block_erase_20, |
| 6801 | }, { |
| 6802 | .eraseblocks = { {64 * 1024, 128} }, |
| 6803 | .block_erase = spi_block_erase_d8, |
| 6804 | }, { |
| 6805 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6806 | .block_erase = spi_block_erase_c7, |
| 6807 | } |
| 6808 | }, |
| 6809 | .unlock = spi_disable_blockprotect, |
| 6810 | .write = spi_chip_write_256, |
| 6811 | .read = spi_chip_read, |
| 6812 | }, |
| 6813 | |
| 6814 | { |
| 6815 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6816 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6817 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6818 | .manufacture_id = ST_ID, |
| 6819 | .model_id = ST_M29F002B, |
| 6820 | .total_size = 256, |
| 6821 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6822 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6823 | .tested = TEST_UNTESTED, |
| 6824 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6825 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6826 | .block_erasers = |
| 6827 | { |
| 6828 | { |
| 6829 | .eraseblocks = { |
| 6830 | {16 * 1024, 1}, |
| 6831 | {8 * 1024, 2}, |
| 6832 | {32 * 1024, 1}, |
| 6833 | {64 * 1024, 3}, |
| 6834 | }, |
| 6835 | .block_erase = erase_sector_jedec, |
| 6836 | }, { |
| 6837 | .eraseblocks = { {256 * 1024, 1} }, |
| 6838 | .block_erase = erase_chip_block_jedec, |
| 6839 | } |
| 6840 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6841 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6842 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6843 | .voltage = {4750, 5250}, /* Datasheet says some are only 4.75-5.25 V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6844 | }, |
| 6845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6846 | { |
| 6847 | .vendor = "ST", |
| 6848 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6849 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6850 | .manufacture_id = ST_ID, |
| 6851 | .model_id = ST_M29F002T, |
| 6852 | .total_size = 256, |
| 6853 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6854 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 6855 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6856 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6857 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6858 | .block_erasers = |
| 6859 | { |
| 6860 | { |
| 6861 | .eraseblocks = { |
| 6862 | {64 * 1024, 3}, |
| 6863 | {32 * 1024, 1}, |
| 6864 | {8 * 1024, 2}, |
| 6865 | {16 * 1024, 1}, |
| 6866 | }, |
| 6867 | .block_erase = erase_sector_jedec, |
| 6868 | }, { |
| 6869 | .eraseblocks = { {256 * 1024, 1} }, |
| 6870 | .block_erase = erase_chip_block_jedec, |
| 6871 | } |
| 6872 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6873 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6874 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6875 | .voltage = {4750, 5250}, /* Datasheet says some are only 4.75-5.25 V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6876 | }, |
| 6877 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6878 | { |
| 6879 | .vendor = "ST", |
| 6880 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6881 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6882 | .manufacture_id = ST_ID, |
| 6883 | .model_id = ST_M29F040B, |
| 6884 | .total_size = 512, |
| 6885 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6886 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6887 | .tested = TEST_UNTESTED, |
| 6888 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 6889 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6890 | .block_erasers = |
| 6891 | { |
| 6892 | { |
| 6893 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6894 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6895 | }, { |
| 6896 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6897 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6898 | } |
| 6899 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6900 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6901 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6902 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6903 | }, |
| 6904 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6905 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6906 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6907 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6908 | .name = "M29F400BB", |
| 6909 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6910 | .manufacture_id = ST_ID, |
| 6911 | .model_id = ST_M29F400BB, |
| 6912 | .total_size = 512, |
| 6913 | .page_size = 64 * 1024, |
| 6914 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6915 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6916 | .probe = probe_m29f400bt, |
| 6917 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 6918 | .block_erasers = |
| 6919 | { |
| 6920 | { |
| 6921 | .eraseblocks = { |
| 6922 | {16 * 1024, 1}, |
| 6923 | {8 * 1024, 2}, |
| 6924 | {32 * 1024, 1}, |
| 6925 | {64 * 1024, 7}, |
| 6926 | }, |
| 6927 | .block_erase = block_erase_m29f400bt, |
| 6928 | }, { |
| 6929 | .eraseblocks = { {512 * 1024, 1} }, |
| 6930 | .block_erase = block_erase_chip_m29f400bt, |
| 6931 | } |
| 6932 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6933 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6934 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6935 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6936 | }, |
| 6937 | { |
| 6938 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 6939 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6940 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6941 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6942 | .manufacture_id = ST_ID, |
| 6943 | .model_id = ST_M29F400BT, |
| 6944 | .total_size = 512, |
| 6945 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6946 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6947 | .tested = TEST_UNTESTED, |
| 6948 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6949 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6950 | .block_erasers = |
| 6951 | { |
| 6952 | { |
| 6953 | .eraseblocks = { |
| 6954 | {64 * 1024, 7}, |
| 6955 | {32 * 1024, 1}, |
| 6956 | {8 * 1024, 2}, |
| 6957 | {16 * 1024, 1}, |
| 6958 | }, |
| 6959 | .block_erase = block_erase_m29f400bt, |
| 6960 | }, { |
| 6961 | .eraseblocks = { {512 * 1024, 1} }, |
| 6962 | .block_erase = block_erase_chip_m29f400bt, |
| 6963 | } |
| 6964 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6965 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6966 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6967 | .voltage = {4500, 5500}, |
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 | { |
| 6971 | .vendor = "ST", |
| 6972 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6973 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6974 | .manufacture_id = ST_ID, |
| 6975 | .model_id = ST_M29W010B, |
| 6976 | .total_size = 128, |
| 6977 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6978 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6979 | .tested = TEST_UNTESTED, |
| 6980 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6981 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6982 | .block_erasers = |
| 6983 | { |
| 6984 | { |
| 6985 | .eraseblocks = { {16 * 1024, 8}, }, |
| 6986 | .block_erase = erase_sector_jedec, |
| 6987 | }, { |
| 6988 | .eraseblocks = { {128 * 1024, 1} }, |
| 6989 | .block_erase = erase_chip_block_jedec, |
| 6990 | } |
| 6991 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6992 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6993 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6994 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6995 | }, |
| 6996 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6997 | { |
| 6998 | .vendor = "ST", |
| 6999 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7000 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7001 | .manufacture_id = ST_ID, |
| 7002 | .model_id = ST_M29W040B, |
| 7003 | .total_size = 512, |
| 7004 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7005 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7006 | .tested = TEST_UNTESTED, |
| 7007 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7008 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7009 | .block_erasers = |
| 7010 | { |
| 7011 | { |
| 7012 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7013 | .block_erase = erase_sector_jedec, |
| 7014 | }, { |
| 7015 | .eraseblocks = { {512 * 1024, 1} }, |
| 7016 | .block_erase = erase_chip_block_jedec, |
| 7017 | } |
| 7018 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7019 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7020 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7021 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7022 | }, |
| 7023 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7024 | { |
| 7025 | .vendor = "ST", |
| 7026 | .name = "M29W512B", |
| 7027 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7028 | .manufacture_id = ST_ID, |
| 7029 | .model_id = ST_M29W512B, |
| 7030 | .total_size = 64, |
| 7031 | .page_size = 64 * 1024, |
| 7032 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7033 | .tested = TEST_OK_PRE, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7034 | .probe = probe_jedec, |
| 7035 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7036 | .block_erasers = |
| 7037 | { |
| 7038 | { |
| 7039 | .eraseblocks = { {64 * 1024, 1} }, |
| 7040 | .block_erase = erase_chip_block_jedec, |
| 7041 | } |
| 7042 | }, |
| 7043 | .write = write_jedec_1, |
| 7044 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7045 | .voltage = {2700, 3600}, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7046 | }, |
| 7047 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7048 | { |
| 7049 | .vendor = "ST", |
| 7050 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7051 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7052 | .manufacture_id = ST_ID, |
| 7053 | .model_id = ST_M50FLW040A, |
| 7054 | .total_size = 512, |
| 7055 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7056 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7057 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7058 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7059 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7060 | .block_erasers = |
| 7061 | { |
| 7062 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7063 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7064 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7065 | {64 * 1024, 5}, /* block */ |
| 7066 | {4 * 1024, 16}, /* sector */ |
| 7067 | {4 * 1024, 16}, /* sector */ |
| 7068 | }, |
| 7069 | .block_erase = NULL, |
| 7070 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7071 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7072 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7073 | } |
| 7074 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7075 | .unlock = unlock_stm50flw0x0x, |
| 7076 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7077 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7078 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7079 | }, |
| 7080 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7081 | { |
| 7082 | .vendor = "ST", |
| 7083 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7084 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7085 | .manufacture_id = ST_ID, |
| 7086 | .model_id = ST_M50FLW040B, |
| 7087 | .total_size = 512, |
| 7088 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7089 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7090 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7091 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7092 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7093 | .block_erasers = |
| 7094 | { |
| 7095 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7096 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7097 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7098 | {4 * 1024, 16}, /* sector */ |
| 7099 | {64 * 1024, 5}, /* block */ |
| 7100 | {4 * 1024, 16}, /* sector */ |
| 7101 | }, |
| 7102 | .block_erase = NULL, |
| 7103 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7104 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7105 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7106 | } |
| 7107 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7108 | .unlock = unlock_stm50flw0x0x, |
| 7109 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7110 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7111 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7112 | }, |
| 7113 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7114 | { |
| 7115 | .vendor = "ST", |
| 7116 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7117 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7118 | .manufacture_id = ST_ID, |
| 7119 | .model_id = ST_M50FLW080A, |
| 7120 | .total_size = 1024, |
| 7121 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7122 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7123 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7124 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7125 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7126 | .block_erasers = |
| 7127 | { |
| 7128 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7129 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7130 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7131 | {64 * 1024, 13}, /* block */ |
| 7132 | {4 * 1024, 16}, /* sector */ |
| 7133 | {4 * 1024, 16}, /* sector */ |
| 7134 | }, |
| 7135 | .block_erase = NULL, |
| 7136 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7137 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7138 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7139 | } |
| 7140 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7141 | .unlock = unlock_stm50flw0x0x, |
| 7142 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7143 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7144 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7145 | }, |
| 7146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7147 | { |
| 7148 | .vendor = "ST", |
| 7149 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7150 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7151 | .manufacture_id = ST_ID, |
| 7152 | .model_id = ST_M50FLW080B, |
| 7153 | .total_size = 1024, |
| 7154 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7155 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7156 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7157 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7158 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7159 | .block_erasers = |
| 7160 | { |
| 7161 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7162 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7163 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7164 | {4 * 1024, 16}, /* sector */ |
| 7165 | {64 * 1024, 13}, /* block */ |
| 7166 | {4 * 1024, 16}, /* sector */ |
| 7167 | }, |
| 7168 | .block_erase = NULL, |
| 7169 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7170 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7171 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7172 | } |
| 7173 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7174 | .unlock = unlock_stm50flw0x0x, |
| 7175 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7176 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7177 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7178 | }, |
| 7179 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7180 | { |
| 7181 | .vendor = "ST", |
| 7182 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7183 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7184 | .manufacture_id = ST_ID, |
| 7185 | .model_id = ST_M50FW002, |
| 7186 | .total_size = 256, |
| 7187 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7188 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7189 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7190 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7191 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7192 | .block_erasers = |
| 7193 | { |
| 7194 | { |
| 7195 | .eraseblocks = { |
| 7196 | {64 * 1024, 3}, |
| 7197 | {32 * 1024, 1}, |
| 7198 | {8 * 1024, 2}, |
| 7199 | {16 * 1024, 1}, |
| 7200 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7201 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7202 | } |
| 7203 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7204 | .unlock = unlock_stm50flw0x0x, |
| 7205 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7206 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7207 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7208 | }, |
| 7209 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7210 | { |
| 7211 | .vendor = "ST", |
| 7212 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7213 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7214 | .manufacture_id = ST_ID, |
| 7215 | .model_id = ST_M50FW016, |
| 7216 | .total_size = 2048, |
| 7217 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7218 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7219 | .tested = TEST_UNTESTED, |
| 7220 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7221 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7222 | .block_erasers = |
| 7223 | { |
| 7224 | { |
| 7225 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7226 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7227 | } |
| 7228 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7229 | .unlock = unlock_stm50flw0x0x, |
| 7230 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7231 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7232 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7233 | }, |
| 7234 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7235 | { |
| 7236 | .vendor = "ST", |
| 7237 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7238 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7239 | .manufacture_id = ST_ID, |
| 7240 | .model_id = ST_M50FW040, |
| 7241 | .total_size = 512, |
| 7242 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7243 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7244 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7245 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7246 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7247 | .block_erasers = |
| 7248 | { |
| 7249 | { |
| 7250 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7251 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7252 | } |
| 7253 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7254 | .unlock = unlock_stm50flw0x0x, |
| 7255 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7256 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7257 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7258 | }, |
| 7259 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7260 | { |
| 7261 | .vendor = "ST", |
| 7262 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7263 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7264 | .manufacture_id = ST_ID, |
| 7265 | .model_id = ST_M50FW080, |
| 7266 | .total_size = 1024, |
| 7267 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7268 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7269 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7270 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7271 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7272 | .block_erasers = |
| 7273 | { |
| 7274 | { |
| 7275 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7276 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7277 | } |
| 7278 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7279 | .unlock = unlock_stm50flw0x0x, |
| 7280 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7281 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7282 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7283 | }, |
| 7284 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7285 | { |
| 7286 | .vendor = "ST", |
| 7287 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7288 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7289 | .manufacture_id = ST_ID, |
| 7290 | .model_id = ST_M50LPW116, |
| 7291 | .total_size = 2048, |
| 7292 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7293 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7294 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7295 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7296 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7297 | .block_erasers = |
| 7298 | { |
| 7299 | { |
| 7300 | .eraseblocks = { |
| 7301 | {4 * 1024, 16}, |
| 7302 | {64 * 1024, 30}, |
| 7303 | {32 * 1024, 1}, |
| 7304 | {8 * 1024, 2}, |
| 7305 | {16 * 1024, 1}, |
| 7306 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7307 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7308 | } |
| 7309 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7310 | .unlock = unlock_stm50flw0x0x, |
| 7311 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7312 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7313 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7314 | }, |
| 7315 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7316 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7317 | .vendor = "SyncMOS/MoselVitelic", |
| 7318 | .name = "{F,S,V}29C51001B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7319 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7320 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7321 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7322 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7323 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7324 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7325 | .tested = TEST_UNTESTED, |
| 7326 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7327 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7328 | .block_erasers = |
| 7329 | { |
| 7330 | { |
| 7331 | .eraseblocks = { {512, 256} }, |
| 7332 | .block_erase = erase_sector_jedec, |
| 7333 | }, { |
| 7334 | .eraseblocks = { {128 * 1024, 1} }, |
| 7335 | .block_erase = erase_chip_block_jedec, |
| 7336 | }, |
| 7337 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7338 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7339 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7340 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7341 | }, |
| 7342 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7343 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7344 | .vendor = "SyncMOS/MoselVitelic", |
| 7345 | .name = "{F,S,V}29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7346 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7347 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7348 | .model_id = SM_MVC_29C51001T, |
| 7349 | .total_size = 128, |
| 7350 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7351 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7352 | .tested = TEST_UNTESTED, |
| 7353 | .probe = probe_jedec, |
| 7354 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7355 | .block_erasers = |
| 7356 | { |
| 7357 | { |
| 7358 | .eraseblocks = { {512, 256} }, |
| 7359 | .block_erase = erase_sector_jedec, |
| 7360 | }, { |
| 7361 | .eraseblocks = { {128 * 1024, 1} }, |
| 7362 | .block_erase = erase_chip_block_jedec, |
| 7363 | }, |
| 7364 | }, |
| 7365 | .write = write_jedec_1, |
| 7366 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7367 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7368 | }, |
| 7369 | |
| 7370 | { |
| 7371 | .vendor = "SyncMOS/MoselVitelic", |
| 7372 | .name = "{F,S,V}29C51002B", |
| 7373 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7374 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7375 | .model_id = SM_MVC_29C51002B, |
| 7376 | .total_size = 256, |
| 7377 | .page_size = 512, |
| 7378 | .feature_bits = FEATURE_EITHER_RESET, |
| 7379 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7380 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7381 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7382 | .block_erasers = |
| 7383 | { |
| 7384 | { |
| 7385 | .eraseblocks = { {512, 512} }, |
| 7386 | .block_erase = erase_sector_jedec, |
| 7387 | }, { |
| 7388 | .eraseblocks = { {256 * 1024, 1} }, |
| 7389 | .block_erase = erase_chip_block_jedec, |
| 7390 | }, |
| 7391 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7392 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7393 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7394 | }, |
| 7395 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7396 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7397 | .vendor = "SyncMOS/MoselVitelic", |
| 7398 | .name = "{F,S,V}29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7399 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7400 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7401 | .model_id = SM_MVC_29C51002T, |
| 7402 | .total_size = 256, |
| 7403 | .page_size = 512, |
| 7404 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7405 | .tested = TEST_OK_PRE, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7406 | .probe = probe_jedec, |
| 7407 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7408 | .block_erasers = |
| 7409 | { |
| 7410 | { |
| 7411 | .eraseblocks = { {512, 512} }, |
| 7412 | .block_erase = erase_sector_jedec, |
| 7413 | }, { |
| 7414 | .eraseblocks = { {256 * 1024, 1} }, |
| 7415 | .block_erase = erase_chip_block_jedec, |
| 7416 | }, |
| 7417 | }, |
| 7418 | .write = write_jedec_1, |
| 7419 | .read = read_memmapped, |
| 7420 | }, |
| 7421 | |
| 7422 | { |
| 7423 | .vendor = "SyncMOS/MoselVitelic", |
| 7424 | .name = "{F,S,V}29C51004B", |
| 7425 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7426 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7427 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7428 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7429 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7430 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7431 | .tested = TEST_UNTESTED, |
| 7432 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7433 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7434 | .block_erasers = |
| 7435 | { |
| 7436 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7437 | .eraseblocks = { {1024, 512} }, |
| 7438 | .block_erase = erase_sector_jedec, |
| 7439 | }, { |
| 7440 | .eraseblocks = { {512 * 1024, 1} }, |
| 7441 | .block_erase = erase_chip_block_jedec, |
| 7442 | }, |
| 7443 | }, |
| 7444 | .write = write_jedec_1, |
| 7445 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7446 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7447 | }, |
| 7448 | |
| 7449 | { |
| 7450 | .vendor = "SyncMOS/MoselVitelic", |
| 7451 | .name = "{F,S,V}29C51004T", |
| 7452 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7453 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7454 | .model_id = SM_MVC_29C51004T, |
| 7455 | .total_size = 512, |
| 7456 | .page_size = 1024, |
| 7457 | .feature_bits = FEATURE_EITHER_RESET, |
| 7458 | .tested = TEST_UNTESTED, |
| 7459 | .probe = probe_jedec, |
| 7460 | .probe_timing = TIMING_ZERO, |
| 7461 | .block_erasers = |
| 7462 | { |
| 7463 | { |
| 7464 | .eraseblocks = { {1024, 512} }, |
| 7465 | .block_erase = erase_sector_jedec, |
| 7466 | }, { |
| 7467 | .eraseblocks = { {512 * 1024, 1} }, |
| 7468 | .block_erase = erase_chip_block_jedec, |
| 7469 | }, |
| 7470 | }, |
| 7471 | .write = write_jedec_1, |
| 7472 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7473 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7474 | }, |
| 7475 | |
| 7476 | { |
| 7477 | .vendor = "SyncMOS/MoselVitelic", |
| 7478 | .name = "{S,V}29C31004B", |
| 7479 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7480 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7481 | .model_id = SM_MVC_29C31004B, |
| 7482 | .total_size = 512, |
| 7483 | .page_size = 1024, |
| 7484 | .feature_bits = FEATURE_EITHER_RESET, |
| 7485 | .tested = TEST_UNTESTED, |
| 7486 | .probe = probe_jedec, |
| 7487 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7488 | .block_erasers = |
| 7489 | { |
| 7490 | { |
| 7491 | .eraseblocks = { {1024, 512} }, |
| 7492 | .block_erase = erase_sector_jedec, |
| 7493 | }, { |
| 7494 | .eraseblocks = { {512 * 1024, 1} }, |
| 7495 | .block_erase = erase_chip_block_jedec, |
| 7496 | }, |
| 7497 | }, |
| 7498 | .write = write_jedec_1, |
| 7499 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7500 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7501 | }, |
| 7502 | |
| 7503 | { |
| 7504 | .vendor = "SyncMOS/MoselVitelic", |
| 7505 | .name = "{S,V}29C31004T", |
| 7506 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7507 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7508 | .model_id = SM_MVC_29C31004T, |
| 7509 | .total_size = 512, |
| 7510 | .page_size = 1024, |
| 7511 | .feature_bits = FEATURE_EITHER_RESET, |
| 7512 | .tested = TEST_UNTESTED, |
| 7513 | .probe = probe_jedec, |
| 7514 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7515 | .block_erasers = |
| 7516 | { |
| 7517 | { |
| 7518 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7519 | .block_erase = erase_sector_jedec, |
| 7520 | }, { |
| 7521 | .eraseblocks = { {512 * 1024, 1} }, |
| 7522 | .block_erase = erase_chip_block_jedec, |
| 7523 | }, |
| 7524 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7525 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7526 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7527 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7528 | }, |
| 7529 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7530 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7531 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7532 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7533 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7534 | .manufacture_id = TI_OLD_ID, |
| 7535 | .model_id = TI_TMS29F002RB, |
| 7536 | .total_size = 256, |
| 7537 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7538 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7539 | .tested = TEST_UNTESTED, |
| 7540 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7541 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7542 | .block_erasers = |
| 7543 | { |
| 7544 | { |
| 7545 | .eraseblocks = { |
| 7546 | {16 * 1024, 1}, |
| 7547 | {8 * 1024, 2}, |
| 7548 | {32 * 1024, 1}, |
| 7549 | {64 * 1024, 3}, |
| 7550 | }, |
| 7551 | .block_erase = erase_sector_jedec, |
| 7552 | }, { |
| 7553 | .eraseblocks = { {256 * 1024, 1} }, |
| 7554 | .block_erase = erase_chip_block_jedec, |
| 7555 | }, |
| 7556 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7557 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7558 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7559 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7560 | }, |
| 7561 | |
| 7562 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7563 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7564 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7565 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7566 | .manufacture_id = TI_OLD_ID, |
| 7567 | .model_id = TI_TMS29F002RT, |
| 7568 | .total_size = 256, |
| 7569 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7570 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7571 | .tested = TEST_UNTESTED, |
| 7572 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7573 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7574 | .block_erasers = |
| 7575 | { |
| 7576 | { |
| 7577 | .eraseblocks = { |
| 7578 | {64 * 1024, 3}, |
| 7579 | {32 * 1024, 1}, |
| 7580 | {8 * 1024, 2}, |
| 7581 | {16 * 1024, 1}, |
| 7582 | }, |
| 7583 | .block_erase = erase_sector_jedec, |
| 7584 | }, { |
| 7585 | .eraseblocks = { {256 * 1024, 1} }, |
| 7586 | .block_erase = erase_chip_block_jedec, |
| 7587 | }, |
| 7588 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7589 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7590 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7591 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7592 | }, |
| 7593 | |
| 7594 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7595 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7596 | .name = "W25Q80", |
| 7597 | .bustype = CHIP_BUSTYPE_SPI, |
| 7598 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7599 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7600 | .total_size = 1024, |
| 7601 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7602 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7603 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7604 | .probe = probe_spi_rdid, |
| 7605 | .probe_timing = TIMING_ZERO, |
| 7606 | .block_erasers = |
| 7607 | { |
| 7608 | { |
| 7609 | .eraseblocks = { {4 * 1024, 256} }, |
| 7610 | .block_erase = spi_block_erase_20, |
| 7611 | }, { |
| 7612 | .eraseblocks = { {32 * 1024, 32} }, |
| 7613 | .block_erase = spi_block_erase_52, |
| 7614 | }, { |
| 7615 | .eraseblocks = { {64 * 1024, 16} }, |
| 7616 | .block_erase = spi_block_erase_d8, |
| 7617 | }, { |
| 7618 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7619 | .block_erase = spi_block_erase_60, |
| 7620 | }, { |
| 7621 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7622 | .block_erase = spi_block_erase_c7, |
| 7623 | } |
| 7624 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7625 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7626 | .write = spi_chip_write_256, |
| 7627 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7628 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7629 | }, |
| 7630 | |
| 7631 | { |
| 7632 | .vendor = "Winbond", |
| 7633 | .name = "W25Q16", |
| 7634 | .bustype = CHIP_BUSTYPE_SPI, |
| 7635 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7636 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7637 | .total_size = 2048, |
| 7638 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7639 | .feature_bits = FEATURE_WRSR_WREN, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7640 | .tested = TEST_UNTESTED, |
| 7641 | .probe = probe_spi_rdid, |
| 7642 | .probe_timing = TIMING_ZERO, |
| 7643 | .block_erasers = |
| 7644 | { |
| 7645 | { |
| 7646 | .eraseblocks = { {4 * 1024, 512} }, |
| 7647 | .block_erase = spi_block_erase_20, |
| 7648 | }, { |
| 7649 | .eraseblocks = { {32 * 1024, 64} }, |
| 7650 | .block_erase = spi_block_erase_52, |
| 7651 | }, { |
| 7652 | .eraseblocks = { {64 * 1024, 32} }, |
| 7653 | .block_erase = spi_block_erase_d8, |
| 7654 | }, { |
| 7655 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7656 | .block_erase = spi_block_erase_60, |
| 7657 | }, { |
| 7658 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7659 | .block_erase = spi_block_erase_c7, |
| 7660 | } |
| 7661 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7662 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7663 | .write = spi_chip_write_256, |
| 7664 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7665 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7666 | }, |
| 7667 | |
| 7668 | { |
| 7669 | .vendor = "Winbond", |
| 7670 | .name = "W25Q32", |
| 7671 | .bustype = CHIP_BUSTYPE_SPI, |
| 7672 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7673 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7674 | .total_size = 4096, |
| 7675 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7676 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7677 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7678 | .probe = probe_spi_rdid, |
| 7679 | .probe_timing = TIMING_ZERO, |
| 7680 | .block_erasers = |
| 7681 | { |
| 7682 | { |
| 7683 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7684 | .block_erase = spi_block_erase_20, |
| 7685 | }, { |
| 7686 | .eraseblocks = { {32 * 1024, 128} }, |
| 7687 | .block_erase = spi_block_erase_52, |
| 7688 | }, { |
| 7689 | .eraseblocks = { {64 * 1024, 64} }, |
| 7690 | .block_erase = spi_block_erase_d8, |
| 7691 | }, { |
| 7692 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7693 | .block_erase = spi_block_erase_60, |
| 7694 | }, { |
| 7695 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7696 | .block_erase = spi_block_erase_c7, |
| 7697 | } |
| 7698 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7699 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7700 | .write = spi_chip_write_256, |
| 7701 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7702 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7703 | }, |
| 7704 | |
| 7705 | { |
| 7706 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7707 | .name = "W25Q64", |
| 7708 | .bustype = CHIP_BUSTYPE_SPI, |
| 7709 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7710 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7711 | .total_size = 8192, |
| 7712 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7713 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7714 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7715 | .probe = probe_spi_rdid, |
| 7716 | .probe_timing = TIMING_ZERO, |
| 7717 | .block_erasers = |
| 7718 | { |
| 7719 | { |
| 7720 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7721 | .block_erase = spi_block_erase_20, |
| 7722 | }, { |
| 7723 | .eraseblocks = { {32 * 1024, 256} }, |
| 7724 | .block_erase = spi_block_erase_52, |
| 7725 | }, { |
| 7726 | .eraseblocks = { {64 * 1024, 128} }, |
| 7727 | .block_erase = spi_block_erase_d8, |
| 7728 | }, { |
| 7729 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7730 | .block_erase = spi_block_erase_60, |
| 7731 | }, { |
| 7732 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7733 | .block_erase = spi_block_erase_c7, |
| 7734 | } |
| 7735 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7736 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7737 | .write = spi_chip_write_256, |
| 7738 | .read = spi_chip_read, |
| 7739 | }, |
| 7740 | |
| 7741 | { |
| 7742 | .vendor = "Winbond", |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7743 | .name = "W25Q128", |
| 7744 | .bustype = CHIP_BUSTYPE_SPI, |
| 7745 | .manufacture_id = WINBOND_NEX_ID, |
| 7746 | .model_id = WINBOND_NEX_W25Q128, |
| 7747 | .total_size = 16384, |
| 7748 | .page_size = 256, |
| 7749 | .feature_bits = FEATURE_WRSR_WREN, |
| 7750 | .tested = TEST_OK_PROBE, |
| 7751 | .probe = probe_spi_rdid, |
| 7752 | .probe_timing = TIMING_ZERO, |
| 7753 | .block_erasers = |
| 7754 | { |
| 7755 | { |
| 7756 | .eraseblocks = { {4 * 1024, 4096} }, |
| 7757 | .block_erase = spi_block_erase_20, |
| 7758 | }, { |
| 7759 | .eraseblocks = { {32 * 1024, 512} }, |
| 7760 | .block_erase = spi_block_erase_52, |
| 7761 | }, { |
| 7762 | .eraseblocks = { {64 * 1024, 256} }, |
| 7763 | .block_erase = spi_block_erase_d8, |
| 7764 | }, { |
| 7765 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7766 | .block_erase = spi_block_erase_60, |
| 7767 | }, { |
| 7768 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7769 | .block_erase = spi_block_erase_c7, |
| 7770 | } |
| 7771 | }, |
| 7772 | .unlock = spi_disable_blockprotect, |
| 7773 | .write = spi_chip_write_256, |
| 7774 | .read = spi_chip_read, |
| 7775 | }, |
| 7776 | |
| 7777 | { |
| 7778 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7779 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7780 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7781 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7782 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7783 | .total_size = 128, |
| 7784 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7785 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7786 | .tested = TEST_UNTESTED, |
| 7787 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7788 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7789 | .block_erasers = |
| 7790 | { |
| 7791 | { |
| 7792 | .eraseblocks = { {4 * 1024, 32} }, |
| 7793 | .block_erase = spi_block_erase_20, |
| 7794 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7795 | .eraseblocks = { {64 * 1024, 2} }, |
| 7796 | .block_erase = spi_block_erase_d8, |
| 7797 | }, { |
| 7798 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7799 | .block_erase = spi_block_erase_c7, |
| 7800 | } |
| 7801 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7802 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7803 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7804 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7805 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7806 | }, |
| 7807 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7808 | { |
| 7809 | .vendor = "Winbond", |
| 7810 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7811 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7812 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7813 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7814 | .total_size = 256, |
| 7815 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7816 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7817 | .tested = TEST_UNTESTED, |
| 7818 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7819 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7820 | .block_erasers = |
| 7821 | { |
| 7822 | { |
| 7823 | .eraseblocks = { {4 * 1024, 64} }, |
| 7824 | .block_erase = spi_block_erase_20, |
| 7825 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7826 | .eraseblocks = { {64 * 1024, 4} }, |
| 7827 | .block_erase = spi_block_erase_d8, |
| 7828 | }, { |
| 7829 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7830 | .block_erase = spi_block_erase_c7, |
| 7831 | } |
| 7832 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7833 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7834 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7835 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7836 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7837 | }, |
| 7838 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7839 | { |
| 7840 | .vendor = "Winbond", |
| 7841 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7842 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7843 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7844 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7845 | .total_size = 512, |
| 7846 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7847 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 7848 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7849 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7850 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7851 | .block_erasers = |
| 7852 | { |
| 7853 | { |
| 7854 | .eraseblocks = { {4 * 1024, 128} }, |
| 7855 | .block_erase = spi_block_erase_20, |
| 7856 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7857 | .eraseblocks = { {64 * 1024, 8} }, |
| 7858 | .block_erase = spi_block_erase_d8, |
| 7859 | }, { |
| 7860 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7861 | .block_erase = spi_block_erase_c7, |
| 7862 | } |
| 7863 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7864 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7865 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7866 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7867 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7868 | }, |
| 7869 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7870 | { |
| 7871 | .vendor = "Winbond", |
| 7872 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7873 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7874 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7875 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7876 | .total_size = 1024, |
| 7877 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7878 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 7879 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7880 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7881 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7882 | .block_erasers = |
| 7883 | { |
| 7884 | { |
| 7885 | .eraseblocks = { {4 * 1024, 256} }, |
| 7886 | .block_erase = spi_block_erase_20, |
| 7887 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7888 | .eraseblocks = { {64 * 1024, 16} }, |
| 7889 | .block_erase = spi_block_erase_d8, |
| 7890 | }, { |
| 7891 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7892 | .block_erase = spi_block_erase_c7, |
| 7893 | } |
| 7894 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7895 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7896 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7897 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7898 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7899 | }, |
| 7900 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7901 | { |
| 7902 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7903 | .name = "W25x16", |
| 7904 | .bustype = CHIP_BUSTYPE_SPI, |
| 7905 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7906 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7907 | .total_size = 2048, |
| 7908 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7909 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 7910 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7911 | .probe = probe_spi_rdid, |
| 7912 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7913 | .block_erasers = |
| 7914 | { |
| 7915 | { |
| 7916 | .eraseblocks = { {4 * 1024, 512} }, |
| 7917 | .block_erase = spi_block_erase_20, |
| 7918 | }, { |
| 7919 | .eraseblocks = { {32 * 1024, 64} }, |
| 7920 | .block_erase = spi_block_erase_52, |
| 7921 | }, { |
| 7922 | .eraseblocks = { {64 * 1024, 32} }, |
| 7923 | .block_erase = spi_block_erase_d8, |
| 7924 | }, { |
| 7925 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7926 | .block_erase = spi_block_erase_60, |
| 7927 | }, { |
| 7928 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7929 | .block_erase = spi_block_erase_c7, |
| 7930 | } |
| 7931 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7932 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7933 | .write = spi_chip_write_256, |
| 7934 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7935 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7936 | }, |
| 7937 | |
| 7938 | { |
| 7939 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7940 | .name = "W25x32", |
| 7941 | .bustype = CHIP_BUSTYPE_SPI, |
| 7942 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7943 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7944 | .total_size = 4096, |
| 7945 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7946 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7947 | .tested = TEST_OK_PROBE, |
| 7948 | .probe = probe_spi_rdid, |
| 7949 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7950 | .block_erasers = |
| 7951 | { |
| 7952 | { |
| 7953 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7954 | .block_erase = spi_block_erase_20, |
| 7955 | }, { |
| 7956 | .eraseblocks = { {32 * 1024, 128} }, |
| 7957 | .block_erase = spi_block_erase_52, |
| 7958 | }, { |
| 7959 | .eraseblocks = { {64 * 1024, 64} }, |
| 7960 | .block_erase = spi_block_erase_d8, |
| 7961 | }, { |
| 7962 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7963 | .block_erase = spi_block_erase_60, |
| 7964 | }, { |
| 7965 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7966 | .block_erase = spi_block_erase_c7, |
| 7967 | } |
| 7968 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7969 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7970 | .write = spi_chip_write_256, |
| 7971 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7972 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7973 | }, |
| 7974 | |
| 7975 | { |
| 7976 | .vendor = "Winbond", |
| 7977 | .name = "W25x64", |
| 7978 | .bustype = CHIP_BUSTYPE_SPI, |
| 7979 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7980 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7981 | .total_size = 8192, |
| 7982 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7983 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7984 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7985 | .probe = probe_spi_rdid, |
| 7986 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7987 | .block_erasers = |
| 7988 | { |
| 7989 | { |
| 7990 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7991 | .block_erase = spi_block_erase_20, |
| 7992 | }, { |
| 7993 | .eraseblocks = { {32 * 1024, 256} }, |
| 7994 | .block_erase = spi_block_erase_52, |
| 7995 | }, { |
| 7996 | .eraseblocks = { {64 * 1024, 128} }, |
| 7997 | .block_erase = spi_block_erase_d8, |
| 7998 | }, { |
| 7999 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8000 | .block_erase = spi_block_erase_60, |
| 8001 | }, { |
| 8002 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8003 | .block_erase = spi_block_erase_c7, |
| 8004 | } |
| 8005 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8006 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8007 | .write = spi_chip_write_256, |
| 8008 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8009 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8010 | }, |
| 8011 | |
| 8012 | { |
| 8013 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8014 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 8015 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8016 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8017 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8018 | .total_size = 128, |
| 8019 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8020 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8021 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8022 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8023 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8024 | .block_erasers = |
| 8025 | { |
| 8026 | { |
| 8027 | .eraseblocks = { {128 * 1024, 1} }, |
| 8028 | .block_erase = erase_chip_block_jedec, |
| 8029 | } |
| 8030 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8031 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8032 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8033 | }, |
| 8034 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8035 | { |
| 8036 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8037 | .name = "W29C020(C)/W29C022", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 8038 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8039 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8040 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8041 | .total_size = 256, |
| 8042 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8043 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8044 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8045 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8046 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8047 | .block_erasers = |
| 8048 | { |
| 8049 | { |
| 8050 | .eraseblocks = { {256 * 1024, 1} }, |
| 8051 | .block_erase = erase_chip_block_jedec, |
| 8052 | } |
| 8053 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8054 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8055 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8056 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8057 | }, |
| 8058 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8059 | { |
| 8060 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8061 | .name = "W29C040/P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 8062 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8063 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8064 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8065 | .total_size = 512, |
| 8066 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8067 | .feature_bits = FEATURE_LONG_RESET, |
| 8068 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8069 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8070 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8071 | .block_erasers = |
| 8072 | { |
| 8073 | { |
| 8074 | .eraseblocks = { {512 * 1024, 1} }, |
| 8075 | .block_erase = erase_chip_block_jedec, |
| 8076 | } |
| 8077 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8078 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8079 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8080 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8081 | }, |
| 8082 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8083 | { |
| 8084 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8085 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 8086 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8087 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8088 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8089 | .total_size = 128, |
| 8090 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8091 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8092 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8093 | .probe = probe_w29ee011, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8094 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8095 | .block_erasers = |
| 8096 | { |
| 8097 | { |
| 8098 | .eraseblocks = { {128 * 1024, 1} }, |
| 8099 | .block_erase = erase_chip_block_jedec, |
| 8100 | } |
| 8101 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8102 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8103 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8104 | }, |
| 8105 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8106 | { |
| 8107 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8108 | .name = "W39L040", |
| 8109 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 8110 | .manufacture_id = WINBOND_ID, |
| 8111 | .model_id = WINBOND_W39L040, |
| 8112 | .total_size = 512, |
| 8113 | .page_size = 64 * 1024, |
| 8114 | .feature_bits = FEATURE_EITHER_RESET, |
| 8115 | .tested = TEST_OK_PR, |
| 8116 | .probe = probe_jedec, |
| 8117 | .probe_timing = 10, |
| 8118 | .block_erasers = |
| 8119 | { |
| 8120 | { |
| 8121 | .eraseblocks = { {4 * 1024, 128} }, |
| 8122 | .block_erase = erase_block_jedec, |
| 8123 | }, { |
| 8124 | .eraseblocks = { {64 * 1024, 8} }, |
| 8125 | .block_erase = erase_sector_jedec, |
| 8126 | }, { |
| 8127 | .eraseblocks = { {512 * 1024, 1} }, |
| 8128 | .block_erase = erase_chip_block_jedec, |
| 8129 | } |
| 8130 | }, |
| 8131 | .printlock = printlock_w39l040, |
| 8132 | .write = write_jedec_1, |
| 8133 | .read = read_memmapped, |
| 8134 | }, |
| 8135 | |
| 8136 | { |
| 8137 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8138 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8139 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8140 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8141 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8142 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8143 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8144 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8145 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8146 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8147 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8148 | .block_erasers = |
| 8149 | { |
| 8150 | { |
| 8151 | .eraseblocks = { {64 * 1024, 8} }, |
| 8152 | .block_erase = erase_sector_jedec, |
| 8153 | }, { |
| 8154 | .eraseblocks = { {512 * 1024, 1} }, |
| 8155 | .block_erase = erase_chip_block_jedec, |
| 8156 | } |
| 8157 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8158 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8159 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8160 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8161 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8162 | }, |
| 8163 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8164 | { |
| 8165 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8166 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8167 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8168 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8169 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8170 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8171 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8172 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8173 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8174 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8175 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8176 | .block_erasers = |
| 8177 | { |
| 8178 | { |
| 8179 | .eraseblocks = { {64 * 1024, 8} }, |
| 8180 | .block_erase = erase_sector_jedec, |
| 8181 | }, { |
| 8182 | .eraseblocks = { {512 * 1024, 1} }, |
| 8183 | .block_erase = erase_chip_block_jedec, |
| 8184 | } |
| 8185 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8186 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8187 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8188 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8189 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8190 | }, |
| 8191 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8192 | { |
| 8193 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8194 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8195 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8196 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8197 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8198 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8199 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8200 | .feature_bits = FEATURE_EITHER_RESET, |
| 8201 | .tested = TEST_UNTESTED, |
| 8202 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8203 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8204 | .block_erasers = |
| 8205 | { |
| 8206 | { |
| 8207 | .eraseblocks = { {64 * 1024, 8} }, |
| 8208 | .block_erase = erase_sector_jedec, |
| 8209 | }, { |
| 8210 | .eraseblocks = { {512 * 1024, 1} }, |
| 8211 | .block_erase = erase_chip_block_jedec, |
| 8212 | } |
| 8213 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 8214 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8215 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8216 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8217 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8218 | }, |
| 8219 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8220 | { |
| 8221 | .vendor = "Winbond", |
| 8222 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8223 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8224 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8225 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8226 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8227 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8228 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8229 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8230 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8231 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8232 | .block_erasers = |
| 8233 | { |
| 8234 | { |
| 8235 | .eraseblocks = { {4 * 1024, 128} }, |
| 8236 | .block_erase = erase_block_jedec, |
| 8237 | }, { |
| 8238 | .eraseblocks = { {64 * 1024, 8} }, |
| 8239 | .block_erase = erase_sector_jedec, |
| 8240 | }, { |
| 8241 | .eraseblocks = { {512 * 1024, 1} }, |
| 8242 | .block_erase = erase_chip_block_jedec, |
| 8243 | } |
| 8244 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8245 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8246 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8248 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8249 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8250 | }, |
| 8251 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8252 | { |
| 8253 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8254 | .name = "W39V040FB", |
| 8255 | .bustype = CHIP_BUSTYPE_FWH, |
| 8256 | .manufacture_id = WINBOND_ID, |
| 8257 | .model_id = WINBOND_W39V040B, |
| 8258 | .total_size = 512, |
| 8259 | .page_size = 64 * 1024, |
| 8260 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8261 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8262 | .probe = probe_jedec, |
| 8263 | .probe_timing = 10, |
| 8264 | .block_erasers = |
| 8265 | { |
| 8266 | { |
| 8267 | .eraseblocks = { {64 * 1024, 8} }, |
| 8268 | .block_erase = erase_sector_jedec, |
| 8269 | }, { |
| 8270 | .eraseblocks = { {512 * 1024, 1} }, |
| 8271 | .block_erase = erase_chip_block_jedec, |
| 8272 | } |
| 8273 | }, |
| 8274 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 8275 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8276 | .write = write_jedec_1, |
| 8277 | .read = read_memmapped, |
| 8278 | }, |
| 8279 | |
| 8280 | { |
| 8281 | .vendor = "Winbond", |
| 8282 | .name = "W39V040FC", |
| 8283 | .bustype = CHIP_BUSTYPE_FWH, |
| 8284 | .manufacture_id = WINBOND_ID, |
| 8285 | .model_id = WINBOND_W39V040C, |
| 8286 | .total_size = 512, |
| 8287 | .page_size = 64 * 1024, |
| 8288 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 8289 | .tested = TEST_UNTESTED, |
| 8290 | .probe = probe_jedec, |
| 8291 | .probe_timing = 10, |
| 8292 | .block_erasers = |
| 8293 | { |
| 8294 | { |
| 8295 | .eraseblocks = { {64 * 1024, 8} }, |
| 8296 | .block_erase = erase_sector_jedec, |
| 8297 | }, { |
| 8298 | .eraseblocks = { {512 * 1024, 1} }, |
| 8299 | .block_erase = erase_chip_block_jedec, |
| 8300 | } |
| 8301 | }, |
| 8302 | .printlock = printlock_w39v040fc, |
| 8303 | .write = write_jedec_1, |
| 8304 | .read = read_memmapped, |
| 8305 | }, |
| 8306 | |
| 8307 | { |
| 8308 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8309 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8310 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8311 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8312 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8313 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8314 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8315 | .feature_bits = FEATURE_EITHER_RESET, |
| 8316 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8317 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8318 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8319 | .block_erasers = |
| 8320 | { |
| 8321 | { |
| 8322 | .eraseblocks = { {64 * 1024, 16} }, |
| 8323 | .block_erase = erase_sector_jedec, |
| 8324 | }, { |
| 8325 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8326 | .block_erase = erase_chip_block_jedec, |
| 8327 | } |
| 8328 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8329 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8330 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8331 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8332 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8333 | }, |
| 8334 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8335 | { |
| 8336 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8337 | .name = "W49F002U/N", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 8338 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8339 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8340 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8341 | .total_size = 256, |
| 8342 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8343 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8344 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8345 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8346 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8347 | .block_erasers = |
| 8348 | { |
| 8349 | { |
| 8350 | .eraseblocks = { |
| 8351 | {128 * 1024, 1}, |
| 8352 | {96 * 1024, 1}, |
| 8353 | {8 * 1024, 2}, |
| 8354 | {16 * 1024, 1}, |
| 8355 | }, |
| 8356 | .block_erase = erase_sector_jedec, |
| 8357 | }, { |
| 8358 | .eraseblocks = { {256 * 1024, 1} }, |
| 8359 | .block_erase = erase_chip_block_jedec, |
| 8360 | } |
| 8361 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8362 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8363 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8364 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8365 | }, |
| 8366 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8367 | { |
| 8368 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8369 | .name = "W49F020", |
| 8370 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 8371 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8372 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8373 | .total_size = 256, |
| 8374 | .page_size = 128, |
| 8375 | .feature_bits = FEATURE_EITHER_RESET, |
| 8376 | .tested = TEST_OK_PROBE, |
| 8377 | .probe = probe_jedec, |
| 8378 | .probe_timing = 10, |
| 8379 | .block_erasers = |
| 8380 | { |
| 8381 | { |
| 8382 | .eraseblocks = { {256 * 1024, 1} }, |
| 8383 | .block_erase = erase_chip_block_jedec, |
| 8384 | } |
| 8385 | }, |
| 8386 | .write = write_jedec_1, |
| 8387 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8388 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8389 | }, |
| 8390 | |
| 8391 | { |
| 8392 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8393 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8394 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8395 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8396 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8397 | .total_size = 256, |
| 8398 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8399 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8400 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8401 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8402 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8403 | .block_erasers = |
| 8404 | { |
| 8405 | { |
| 8406 | .eraseblocks = { |
| 8407 | {64 * 1024, 3}, |
| 8408 | {32 * 1024, 1}, |
| 8409 | {8 * 1024, 2}, |
| 8410 | {16 * 1024, 1}, |
| 8411 | }, |
| 8412 | .block_erase = erase_sector_jedec, |
| 8413 | }, { |
| 8414 | .eraseblocks = { {256 * 1024, 1} }, |
| 8415 | .block_erase = erase_chip_block_jedec, |
| 8416 | } |
| 8417 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8418 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8419 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8420 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8421 | }, |
| 8422 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8423 | { |
| 8424 | .vendor = "Winbond", |
| 8425 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8426 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8427 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8428 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8429 | .total_size = 256, |
| 8430 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8431 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8432 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8433 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8434 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8435 | .block_erasers = |
| 8436 | { |
| 8437 | { |
| 8438 | .eraseblocks = { |
| 8439 | {64 * 1024, 3}, |
| 8440 | {32 * 1024, 1}, |
| 8441 | {8 * 1024, 2}, |
| 8442 | {16 * 1024, 1}, |
| 8443 | }, |
| 8444 | .block_erase = erase_sector_jedec, |
| 8445 | }, { |
| 8446 | .eraseblocks = { {256 * 1024, 1} }, |
| 8447 | .block_erase = erase_chip_block_jedec, |
| 8448 | } |
| 8449 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8450 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8451 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8452 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8453 | }, |
| 8454 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8455 | { |
| 8456 | .vendor = "Winbond", |
| 8457 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8458 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8459 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8460 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8461 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8462 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8463 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8464 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8465 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8466 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8467 | .block_erasers = |
| 8468 | { |
| 8469 | { |
| 8470 | .eraseblocks = { {64 * 1024, 16}, }, |
| 8471 | .block_erase = erase_sector_jedec, |
| 8472 | }, { |
| 8473 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8474 | .block_erase = erase_chip_block_jedec, |
| 8475 | } |
| 8476 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8477 | .printlock = printlock_w39v080fa, |
| 8478 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8479 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8480 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8481 | .voltage = {3000, 3600}, /* 12 V fast program mode */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8482 | }, |
| 8483 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8484 | { |
| 8485 | .vendor = "Winbond", |
| 8486 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8487 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8488 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8489 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8490 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8491 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8492 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8493 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8494 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8495 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8496 | .block_erasers = |
| 8497 | { |
| 8498 | { |
| 8499 | .eraseblocks = { {64 * 1024, 8}, }, |
| 8500 | .block_erase = erase_sector_jedec, |
| 8501 | }, { |
| 8502 | .eraseblocks = { {512 * 1024, 1} }, |
| 8503 | .block_erase = erase_chip_block_jedec, |
| 8504 | } |
| 8505 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8506 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8507 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8508 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8509 | }, |
| 8510 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8511 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 8512 | .vendor = "AMIC", |
| 8513 | .name = "unknown AMIC SPI chip", |
| 8514 | .bustype = CHIP_BUSTYPE_SPI, |
| 8515 | .manufacture_id = AMIC_ID, |
| 8516 | .model_id = GENERIC_DEVICE_ID, |
| 8517 | .total_size = 0, |
| 8518 | .page_size = 256, |
| 8519 | .tested = TEST_BAD_PREW, |
| 8520 | .probe = probe_spi_rdid4, |
| 8521 | .probe_timing = TIMING_ZERO, |
| 8522 | .write = NULL, |
| 8523 | .read = NULL, |
| 8524 | }, |
| 8525 | |
| 8526 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8527 | .vendor = "Atmel", |
| 8528 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8529 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8530 | .manufacture_id = ATMEL_ID, |
| 8531 | .model_id = GENERIC_DEVICE_ID, |
| 8532 | .total_size = 0, |
| 8533 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8534 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8535 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8536 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8537 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8538 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8539 | }, |
| 8540 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8541 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 8542 | .vendor = "Eon", |
| 8543 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8544 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8545 | .manufacture_id = EON_ID_NOPREFIX, |
| 8546 | .model_id = GENERIC_DEVICE_ID, |
| 8547 | .total_size = 0, |
| 8548 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8549 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8550 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8551 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8552 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8553 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8554 | }, |
| 8555 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8556 | { |
| 8557 | .vendor = "Macronix", |
| 8558 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8559 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8560 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8561 | .model_id = GENERIC_DEVICE_ID, |
| 8562 | .total_size = 0, |
| 8563 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8564 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8565 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8566 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8567 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8568 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8569 | }, |
| 8570 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8571 | { |
| 8572 | .vendor = "PMC", |
| 8573 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8574 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8575 | .manufacture_id = PMC_ID, |
| 8576 | .model_id = GENERIC_DEVICE_ID, |
| 8577 | .total_size = 0, |
| 8578 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8579 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8580 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8581 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8582 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8583 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8584 | }, |
| 8585 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8586 | { |
| 8587 | .vendor = "SST", |
| 8588 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8589 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8590 | .manufacture_id = SST_ID, |
| 8591 | .model_id = GENERIC_DEVICE_ID, |
| 8592 | .total_size = 0, |
| 8593 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8594 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8595 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8596 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8597 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8598 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8599 | }, |
| 8600 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8601 | { |
| 8602 | .vendor = "ST", |
| 8603 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8604 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8605 | .manufacture_id = ST_ID, |
| 8606 | .model_id = GENERIC_DEVICE_ID, |
| 8607 | .total_size = 0, |
| 8608 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8609 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8610 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8611 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8612 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8613 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8614 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 8615 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8616 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8617 | .vendor = "Sanyo", |
| 8618 | .name = "unknown Sanyo SPI chip", |
| 8619 | .bustype = CHIP_BUSTYPE_SPI, |
| 8620 | .manufacture_id = SANYO_ID, |
| 8621 | .model_id = GENERIC_DEVICE_ID, |
| 8622 | .total_size = 0, |
| 8623 | .page_size = 256, |
| 8624 | .tested = TEST_BAD_PREW, |
| 8625 | .probe = probe_spi_rdid, |
| 8626 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8627 | .write = NULL, |
| 8628 | .read = NULL, |
| 8629 | }, |
| 8630 | |
| 8631 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8632 | .vendor = "Generic", |
| 8633 | .name = "unknown SPI chip (RDID)", |
| 8634 | .bustype = CHIP_BUSTYPE_SPI, |
| 8635 | .manufacture_id = GENERIC_MANUF_ID, |
| 8636 | .model_id = GENERIC_DEVICE_ID, |
| 8637 | .total_size = 0, |
| 8638 | .page_size = 256, |
| 8639 | .tested = TEST_BAD_PREW, |
| 8640 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8641 | .write = NULL, |
| 8642 | }, |
| 8643 | { |
| 8644 | .vendor = "Generic", |
| 8645 | .name = "unknown SPI chip (REMS)", |
| 8646 | .bustype = CHIP_BUSTYPE_SPI, |
| 8647 | .manufacture_id = GENERIC_MANUF_ID, |
| 8648 | .model_id = GENERIC_DEVICE_ID, |
| 8649 | .total_size = 0, |
| 8650 | .page_size = 256, |
| 8651 | .tested = TEST_BAD_PREW, |
| 8652 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8653 | .write = NULL, |
| 8654 | }, |
| 8655 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8656 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 8657 | }; |