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", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 63 | .bustype = BUS_PARALLEL, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 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", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 90 | .bustype = BUS_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 | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 116 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
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", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 122 | .bustype = BUS_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, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 148 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 149 | }, |
| 150 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | { |
| 152 | .vendor = "AMD", |
| 153 | .name = "Am29F016D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 154 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 155 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 156 | .model_id = AMD_AM29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 157 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 158 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 159 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 160 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 161 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 162 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 163 | .block_erasers = |
| 164 | { |
| 165 | { |
| 166 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 167 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 168 | }, { |
| 169 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 170 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 171 | }, |
| 172 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 173 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 174 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 175 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 176 | }, |
| 177 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 178 | { |
| 179 | .vendor = "AMD", |
| 180 | .name = "Am29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 181 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 182 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 183 | .model_id = AMD_AM29F040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 184 | .total_size = 512, |
| 185 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 186 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 187 | .tested = TEST_UNTESTED, |
| 188 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 189 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | .block_erasers = |
| 191 | { |
| 192 | { |
| 193 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 194 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 195 | }, { |
| 196 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 197 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 198 | }, |
| 199 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 200 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 201 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 202 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 203 | }, |
| 204 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 205 | { |
| 206 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 207 | .name = "Am29F080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 208 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 209 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 210 | .model_id = AMD_AM29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 211 | .total_size = 1024, |
| 212 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 213 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 214 | .tested = TEST_UNTESTED, |
| 215 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 216 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 217 | .block_erasers = |
| 218 | { |
| 219 | { |
| 220 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 222 | }, { |
| 223 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 224 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 225 | }, |
| 226 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 227 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 228 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 229 | .voltage = {4500, 5500}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 230 | }, |
| 231 | |
| 232 | { |
| 233 | .vendor = "AMD", |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 234 | .name = "Am29LV001BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 235 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 236 | .manufacture_id = AMD_ID, |
| 237 | .model_id = AMD_AM29LV001BB, |
| 238 | .total_size = 128, |
| 239 | .page_size = 64 * 1024, /* unused */ |
| 240 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 241 | .tested = TEST_OK_PREW, |
| 242 | .probe = probe_jedec, |
| 243 | .probe_timing = TIMING_ZERO, |
| 244 | .block_erasers = |
| 245 | { |
| 246 | { |
| 247 | .eraseblocks = { |
| 248 | {8 * 1024, 1}, |
| 249 | {4 * 1024, 2}, |
| 250 | {16 * 1024, 7}, |
| 251 | }, |
| 252 | .block_erase = erase_sector_jedec, |
| 253 | }, { |
| 254 | .eraseblocks = { {128 * 1024, 1} }, |
| 255 | .block_erase = erase_chip_block_jedec, |
| 256 | }, |
| 257 | }, |
| 258 | .write = write_jedec_1, |
| 259 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 260 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -45R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 261 | }, |
| 262 | |
| 263 | { |
| 264 | .vendor = "AMD", |
| 265 | .name = "Am29LV001BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 266 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 267 | .manufacture_id = AMD_ID, |
| 268 | .model_id = AMD_AM29LV001BT, |
| 269 | .total_size = 128, |
| 270 | .page_size = 64 * 1024, /* unused */ |
| 271 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 272 | .tested = TEST_UNTESTED, |
| 273 | .probe = probe_jedec, |
| 274 | .probe_timing = TIMING_ZERO, |
| 275 | .block_erasers = |
| 276 | { |
| 277 | { |
| 278 | .eraseblocks = { |
| 279 | {16 * 1024, 7}, |
| 280 | {4 * 1024, 2}, |
| 281 | {8 * 1024, 1}, |
| 282 | }, |
| 283 | .block_erase = erase_sector_jedec, |
| 284 | }, { |
| 285 | .eraseblocks = { {128 * 1024, 1} }, |
| 286 | .block_erase = erase_chip_block_jedec, |
| 287 | }, |
| 288 | }, |
| 289 | .write = write_jedec_1, |
| 290 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 291 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -45R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 292 | }, |
| 293 | |
| 294 | { |
| 295 | .vendor = "AMD", |
| 296 | .name = "Am29LV002BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 297 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 298 | .manufacture_id = AMD_ID, |
| 299 | .model_id = AMD_AM29LV002BB, |
| 300 | .total_size = 256, |
| 301 | .page_size = 64 * 1024, /* unused */ |
| 302 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 303 | .tested = TEST_UNTESTED, |
| 304 | .probe = probe_jedec, |
| 305 | .probe_timing = TIMING_ZERO, |
| 306 | .block_erasers = |
| 307 | { |
| 308 | { |
| 309 | .eraseblocks = { |
| 310 | {16 * 1024, 1}, |
| 311 | {8 * 1024, 2}, |
| 312 | {32 * 1024, 1}, |
| 313 | {64 * 1024, 3}, |
| 314 | }, |
| 315 | .block_erase = erase_sector_jedec, |
| 316 | }, { |
| 317 | .eraseblocks = { {256 * 1024, 1} }, |
| 318 | .block_erase = erase_chip_block_jedec, |
| 319 | }, |
| 320 | }, |
| 321 | .write = write_jedec_1, |
| 322 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 323 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -55, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 324 | }, |
| 325 | |
| 326 | { |
| 327 | .vendor = "AMD", |
| 328 | .name = "Am29LV002BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 329 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 330 | .manufacture_id = AMD_ID, |
| 331 | .model_id = AMD_AM29LV002BT, |
| 332 | .total_size = 256, |
| 333 | .page_size = 64 * 1024, /* unused */ |
| 334 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 335 | .tested = TEST_UNTESTED, |
| 336 | .probe = probe_jedec, |
| 337 | .probe_timing = TIMING_ZERO, |
| 338 | .block_erasers = |
| 339 | { |
| 340 | { |
| 341 | .eraseblocks = { |
| 342 | {64 * 1024, 3}, |
| 343 | {32 * 1024, 1}, |
| 344 | {8 * 1024, 2}, |
| 345 | {16 * 1024, 1}, |
| 346 | }, |
| 347 | .block_erase = erase_sector_jedec, |
| 348 | }, { |
| 349 | .eraseblocks = { {256 * 1024, 1} }, |
| 350 | .block_erase = erase_chip_block_jedec, |
| 351 | }, |
| 352 | }, |
| 353 | .write = write_jedec_1, |
| 354 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 355 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -55, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 356 | }, |
| 357 | |
| 358 | { |
| 359 | .vendor = "AMD", |
| 360 | .name = "Am29LV004BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 361 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 362 | .manufacture_id = AMD_ID, |
| 363 | .model_id = AMD_AM29LV004BB, |
| 364 | .total_size = 512, |
| 365 | .page_size = 64 * 1024, /* unused */ |
| 366 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 367 | .tested = TEST_UNTESTED, |
| 368 | .probe = probe_jedec, |
| 369 | .probe_timing = TIMING_ZERO, |
| 370 | .block_erasers = |
| 371 | { |
| 372 | { |
| 373 | .eraseblocks = { |
| 374 | {16 * 1024, 1}, |
| 375 | {8 * 1024, 2}, |
| 376 | {32 * 1024, 1}, |
| 377 | {64 * 1024, 7}, |
| 378 | }, |
| 379 | .block_erase = erase_sector_jedec, |
| 380 | }, { |
| 381 | .eraseblocks = { {512 * 1024, 1} }, |
| 382 | .block_erase = erase_chip_block_jedec, |
| 383 | }, |
| 384 | }, |
| 385 | .write = write_jedec_1, |
| 386 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 387 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 388 | }, |
| 389 | |
| 390 | { |
| 391 | .vendor = "AMD", |
| 392 | .name = "Am29LV004BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 393 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 394 | .manufacture_id = AMD_ID, |
| 395 | .model_id = AMD_AM29LV004BT, |
| 396 | .total_size = 512, |
| 397 | .page_size = 64 * 1024, /* unused */ |
| 398 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 399 | .tested = TEST_UNTESTED, |
| 400 | .probe = probe_jedec, |
| 401 | .probe_timing = TIMING_ZERO, |
| 402 | .block_erasers = |
| 403 | { |
| 404 | { |
| 405 | .eraseblocks = { |
| 406 | {64 * 1024, 7}, |
| 407 | {32 * 1024, 1}, |
| 408 | {8 * 1024, 2}, |
| 409 | {16 * 1024, 1}, |
| 410 | }, |
| 411 | .block_erase = erase_sector_jedec, |
| 412 | }, { |
| 413 | .eraseblocks = { {512 * 1024, 1} }, |
| 414 | .block_erase = erase_chip_block_jedec, |
| 415 | }, |
| 416 | }, |
| 417 | .write = write_jedec_1, |
| 418 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 419 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 420 | }, |
| 421 | |
| 422 | { |
| 423 | .vendor = "AMD", |
| 424 | .name = "Am29LV008BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 425 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 426 | .manufacture_id = AMD_ID, |
| 427 | .model_id = AMD_AM29LV008BB, |
| 428 | .total_size = 1024, |
| 429 | .page_size = 64 * 1024, /* unused */ |
| 430 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 431 | .tested = TEST_UNTESTED, |
| 432 | .probe = probe_jedec, |
| 433 | .probe_timing = TIMING_ZERO, |
| 434 | .block_erasers = |
| 435 | { |
| 436 | { |
| 437 | .eraseblocks = { |
| 438 | {16 * 1024, 1}, |
| 439 | {8 * 1024, 2}, |
| 440 | {32 * 1024, 1}, |
| 441 | {64 * 1024, 15}, |
| 442 | }, |
| 443 | .block_erase = erase_sector_jedec, |
| 444 | }, { |
| 445 | .eraseblocks = { {1024 * 1024, 1} }, |
| 446 | .block_erase = erase_chip_block_jedec, |
| 447 | }, |
| 448 | }, |
| 449 | .write = write_jedec_1, |
| 450 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 451 | .voltage = {3000, 3600} /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 452 | }, |
| 453 | |
| 454 | { |
| 455 | .vendor = "AMD", |
| 456 | .name = "Am29LV008BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 457 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 458 | .manufacture_id = AMD_ID, |
| 459 | .model_id = AMD_AM29LV008BT, |
| 460 | .total_size = 1024, |
| 461 | .page_size = 64 * 1024, /* unused */ |
| 462 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 463 | .tested = TEST_UNTESTED, |
| 464 | .probe = probe_jedec, |
| 465 | .probe_timing = TIMING_ZERO, |
| 466 | .block_erasers = |
| 467 | { |
| 468 | { |
| 469 | .eraseblocks = { |
| 470 | {64 * 1024, 15}, |
| 471 | {32 * 1024, 1}, |
| 472 | {8 * 1024, 2}, |
| 473 | {16 * 1024, 1}, |
| 474 | }, |
| 475 | .block_erase = erase_sector_jedec, |
| 476 | }, { |
| 477 | .eraseblocks = { {1024 * 1024, 1} }, |
| 478 | .block_erase = erase_chip_block_jedec, |
| 479 | }, |
| 480 | }, |
| 481 | .write = write_jedec_1, |
| 482 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 483 | .voltage = {3000, 3600} /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 484 | }, |
| 485 | |
| 486 | { |
| 487 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 488 | .name = "Am29LV040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 489 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 490 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 491 | .model_id = AMD_AM29LV040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 492 | .total_size = 512, |
| 493 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 494 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 495 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 496 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 497 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 498 | .block_erasers = |
| 499 | { |
| 500 | { |
| 501 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 502 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 503 | }, { |
| 504 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 505 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 506 | }, |
| 507 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 508 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 509 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 510 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -60R, others 2.7-3.6V*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 511 | }, |
| 512 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 513 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 514 | .vendor = "AMD", |
| 515 | .name = "Am29LV081B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 516 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 517 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 518 | .model_id = AMD_AM29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 519 | .total_size = 1024, |
| 520 | .page_size = 64 * 1024, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 521 | .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] | 522 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 523 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 524 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 525 | .block_erasers = |
| 526 | { |
| 527 | { |
| 528 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 529 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 530 | }, { |
| 531 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 532 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 533 | }, |
| 534 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 535 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 536 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 537 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 538 | }, |
| 539 | |
| 540 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 541 | .vendor = "AMIC", |
| 542 | .name = "A25L05PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 543 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 544 | .manufacture_id = AMIC_ID, |
| 545 | .model_id = AMIC_A25L05PT, |
| 546 | .total_size = 64, |
| 547 | .page_size = 256, |
| 548 | .tested = TEST_UNTESTED, |
| 549 | .probe = probe_spi_rdid4, |
| 550 | .probe_timing = TIMING_ZERO, |
| 551 | .block_erasers = |
| 552 | { |
| 553 | { |
| 554 | .eraseblocks = { |
| 555 | {32 * 1024, 1}, |
| 556 | {16 * 1024, 1}, |
| 557 | {8 * 1024, 1}, |
| 558 | {4 * 1024, 2}, |
| 559 | }, |
| 560 | .block_erase = spi_block_erase_d8, |
| 561 | }, { |
| 562 | .eraseblocks = { {64 * 1024, 1} }, |
| 563 | .block_erase = spi_block_erase_c7, |
| 564 | } |
| 565 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 566 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 567 | .unlock = spi_disable_blockprotect, |
| 568 | .write = spi_chip_write_256, |
| 569 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 570 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 571 | }, |
| 572 | |
| 573 | { |
| 574 | .vendor = "AMIC", |
| 575 | .name = "A25L05PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 576 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 577 | .manufacture_id = AMIC_ID, |
| 578 | .model_id = AMIC_A25L05PU, |
| 579 | .total_size = 64, |
| 580 | .page_size = 256, |
| 581 | .tested = TEST_UNTESTED, |
| 582 | .probe = probe_spi_rdid4, |
| 583 | .probe_timing = TIMING_ZERO, |
| 584 | .block_erasers = |
| 585 | { |
| 586 | { |
| 587 | .eraseblocks = { |
| 588 | {4 * 1024, 2}, |
| 589 | {8 * 1024, 1}, |
| 590 | {16 * 1024, 1}, |
| 591 | {32 * 1024, 1}, |
| 592 | }, |
| 593 | .block_erase = spi_block_erase_d8, |
| 594 | }, { |
| 595 | .eraseblocks = { {64 * 1024, 1} }, |
| 596 | .block_erase = spi_block_erase_c7, |
| 597 | } |
| 598 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 599 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 600 | .unlock = spi_disable_blockprotect, |
| 601 | .write = spi_chip_write_256, |
| 602 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 603 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 604 | }, |
| 605 | |
| 606 | { |
| 607 | .vendor = "AMIC", |
| 608 | .name = "A25L10PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 609 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 610 | .manufacture_id = AMIC_ID, |
| 611 | .model_id = AMIC_A25L10PT, |
| 612 | .total_size = 128, |
| 613 | .page_size = 256, |
| 614 | .tested = TEST_UNTESTED, |
| 615 | .probe = probe_spi_rdid4, |
| 616 | .probe_timing = TIMING_ZERO, |
| 617 | .block_erasers = |
| 618 | { |
| 619 | { |
| 620 | .eraseblocks = { |
| 621 | {64 * 1024, 1}, |
| 622 | {32 * 1024, 1}, |
| 623 | {16 * 1024, 1}, |
| 624 | {8 * 1024, 1}, |
| 625 | {4 * 1024, 2}, |
| 626 | }, |
| 627 | .block_erase = spi_block_erase_d8, |
| 628 | }, { |
| 629 | .eraseblocks = { {128 * 1024, 1} }, |
| 630 | .block_erase = spi_block_erase_c7, |
| 631 | } |
| 632 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 633 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 634 | .unlock = spi_disable_blockprotect, |
| 635 | .write = spi_chip_write_256, |
| 636 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 637 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 638 | }, |
| 639 | |
| 640 | { |
| 641 | .vendor = "AMIC", |
| 642 | .name = "A25L10PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 643 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 644 | .manufacture_id = AMIC_ID, |
| 645 | .model_id = AMIC_A25L10PU, |
| 646 | .total_size = 128, |
| 647 | .page_size = 256, |
| 648 | .tested = TEST_UNTESTED, |
| 649 | .probe = probe_spi_rdid4, |
| 650 | .probe_timing = TIMING_ZERO, |
| 651 | .block_erasers = |
| 652 | { |
| 653 | { |
| 654 | .eraseblocks = { |
| 655 | {4 * 1024, 2}, |
| 656 | {8 * 1024, 1}, |
| 657 | {16 * 1024, 1}, |
| 658 | {32 * 1024, 1}, |
| 659 | {64 * 1024, 1}, |
| 660 | }, |
| 661 | .block_erase = spi_block_erase_d8, |
| 662 | }, { |
| 663 | .eraseblocks = { {128 * 1024, 1} }, |
| 664 | .block_erase = spi_block_erase_c7, |
| 665 | } |
| 666 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 667 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 668 | .unlock = spi_disable_blockprotect, |
| 669 | .write = spi_chip_write_256, |
| 670 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 671 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 672 | }, |
| 673 | |
| 674 | { |
| 675 | .vendor = "AMIC", |
| 676 | .name = "A25L20PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 677 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 678 | .manufacture_id = AMIC_ID, |
| 679 | .model_id = AMIC_A25L20PT, |
| 680 | .total_size = 256, |
| 681 | .page_size = 256, |
| 682 | .tested = TEST_UNTESTED, |
| 683 | .probe = probe_spi_rdid4, |
| 684 | .probe_timing = TIMING_ZERO, |
| 685 | .block_erasers = |
| 686 | { |
| 687 | { |
| 688 | .eraseblocks = { |
| 689 | {64 * 1024, 3}, |
| 690 | {32 * 1024, 1}, |
| 691 | {16 * 1024, 1}, |
| 692 | {8 * 1024, 1}, |
| 693 | {4 * 1024, 2}, |
| 694 | }, |
| 695 | .block_erase = spi_block_erase_d8, |
| 696 | }, { |
| 697 | .eraseblocks = { {256 * 1024, 1} }, |
| 698 | .block_erase = spi_block_erase_c7, |
| 699 | } |
| 700 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 701 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 702 | .unlock = spi_disable_blockprotect, |
| 703 | .write = spi_chip_write_256, |
| 704 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 705 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 706 | }, |
| 707 | |
| 708 | { |
| 709 | .vendor = "AMIC", |
| 710 | .name = "A25L20PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 711 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 712 | .manufacture_id = AMIC_ID, |
| 713 | .model_id = AMIC_A25L20PU, |
| 714 | .total_size = 256, |
| 715 | .page_size = 256, |
| 716 | .tested = TEST_UNTESTED, |
| 717 | .probe = probe_spi_rdid4, |
| 718 | .probe_timing = TIMING_ZERO, |
| 719 | .block_erasers = |
| 720 | { |
| 721 | { |
| 722 | .eraseblocks = { |
| 723 | {4 * 1024, 2}, |
| 724 | {8 * 1024, 1}, |
| 725 | {16 * 1024, 1}, |
| 726 | {32 * 1024, 1}, |
| 727 | {64 * 1024, 3}, |
| 728 | }, |
| 729 | .block_erase = spi_block_erase_d8, |
| 730 | }, { |
| 731 | .eraseblocks = { {256 * 1024, 1} }, |
| 732 | .block_erase = spi_block_erase_c7, |
| 733 | } |
| 734 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 735 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 736 | .unlock = spi_disable_blockprotect, |
| 737 | .write = spi_chip_write_256, |
| 738 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 739 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 740 | }, |
| 741 | |
| 742 | /* The A25L40P{T,U} chips are distinguished by their |
| 743 | * erase block layouts, but without any distinction in RDID. |
| 744 | * This inexplicable quirk was verified by Rudolf Marek |
| 745 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 746 | */ |
| 747 | { |
| 748 | .vendor = "AMIC", |
| 749 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 750 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 751 | .manufacture_id = AMIC_ID, |
| 752 | .model_id = AMIC_A25L40PT, |
| 753 | .total_size = 512, |
| 754 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 755 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 756 | .probe = probe_spi_rdid4, |
| 757 | .probe_timing = TIMING_ZERO, |
| 758 | .block_erasers = |
| 759 | { |
| 760 | { |
| 761 | .eraseblocks = { |
| 762 | {64 * 1024, 7}, |
| 763 | {32 * 1024, 1}, |
| 764 | {16 * 1024, 1}, |
| 765 | {8 * 1024, 1}, |
| 766 | {4 * 1024, 2}, |
| 767 | }, |
| 768 | .block_erase = spi_block_erase_d8, |
| 769 | }, { |
| 770 | .eraseblocks = { {512 * 1024, 1} }, |
| 771 | .block_erase = spi_block_erase_c7, |
| 772 | } |
| 773 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 774 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 775 | .unlock = spi_disable_blockprotect, |
| 776 | .write = spi_chip_write_256, |
| 777 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 778 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 779 | }, |
| 780 | |
| 781 | { |
| 782 | .vendor = "AMIC", |
| 783 | .name = "A25L40PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 784 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 785 | .manufacture_id = AMIC_ID, |
| 786 | .model_id = AMIC_A25L40PU, |
| 787 | .total_size = 512, |
| 788 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 789 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 790 | .probe = probe_spi_rdid4, |
| 791 | .probe_timing = TIMING_ZERO, |
| 792 | .block_erasers = |
| 793 | { |
| 794 | { |
| 795 | .eraseblocks = { |
| 796 | {4 * 1024, 2}, |
| 797 | {8 * 1024, 1}, |
| 798 | {16 * 1024, 1}, |
| 799 | {32 * 1024, 1}, |
| 800 | {64 * 1024, 7}, |
| 801 | }, |
| 802 | .block_erase = spi_block_erase_d8, |
| 803 | }, { |
| 804 | .eraseblocks = { {512 * 1024, 1} }, |
| 805 | .block_erase = spi_block_erase_c7, |
| 806 | } |
| 807 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 808 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 809 | .unlock = spi_disable_blockprotect, |
| 810 | .write = spi_chip_write_256, |
| 811 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 812 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 813 | }, |
| 814 | |
| 815 | { |
| 816 | .vendor = "AMIC", |
| 817 | .name = "A25L80P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 818 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 819 | .manufacture_id = AMIC_ID, |
| 820 | .model_id = AMIC_A25L80P, |
| 821 | .total_size = 1024, |
| 822 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 823 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 824 | .probe = probe_spi_rdid4, |
| 825 | .probe_timing = TIMING_ZERO, |
| 826 | .block_erasers = |
| 827 | { |
| 828 | { |
| 829 | .eraseblocks = { |
| 830 | {4 * 1024, 2}, |
| 831 | {8 * 1024, 1}, |
| 832 | {16 * 1024, 1}, |
| 833 | {32 * 1024, 1}, |
| 834 | {64 * 1024, 15}, |
| 835 | }, |
| 836 | .block_erase = spi_block_erase_d8, |
| 837 | }, { |
| 838 | .eraseblocks = { {1024 * 1024, 1} }, |
| 839 | .block_erase = spi_block_erase_c7, |
| 840 | } |
| 841 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 842 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 843 | .unlock = spi_disable_blockprotect, |
| 844 | .write = spi_chip_write_256, |
| 845 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 846 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 847 | }, |
| 848 | |
| 849 | { |
| 850 | .vendor = "AMIC", |
| 851 | .name = "A25L16PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 852 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 853 | .manufacture_id = AMIC_ID, |
| 854 | .model_id = AMIC_A25L16PT, |
| 855 | .total_size = 2048, |
| 856 | .page_size = 256, |
| 857 | .tested = TEST_UNTESTED, |
| 858 | .probe = probe_spi_rdid4, |
| 859 | .probe_timing = TIMING_ZERO, |
| 860 | .block_erasers = |
| 861 | { |
| 862 | { |
| 863 | .eraseblocks = { |
| 864 | {64 * 1024, 31}, |
| 865 | {32 * 1024, 1}, |
| 866 | {16 * 1024, 1}, |
| 867 | {8 * 1024, 1}, |
| 868 | {4 * 1024, 2}, |
| 869 | }, |
| 870 | .block_erase = spi_block_erase_d8, |
| 871 | }, { |
| 872 | .eraseblocks = { {2048 * 1024, 1} }, |
| 873 | .block_erase = spi_block_erase_60, |
| 874 | }, { |
| 875 | .eraseblocks = { {2048 * 1024, 1} }, |
| 876 | .block_erase = spi_block_erase_c7, |
| 877 | } |
| 878 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 879 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 880 | .unlock = spi_disable_blockprotect, |
| 881 | .write = spi_chip_write_256, |
| 882 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 883 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 884 | }, |
| 885 | |
| 886 | { |
| 887 | .vendor = "AMIC", |
| 888 | .name = "A25L16PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 889 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 890 | .manufacture_id = AMIC_ID, |
| 891 | .model_id = AMIC_A25L16PU, |
| 892 | .total_size = 2048, |
| 893 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 894 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 895 | .probe = probe_spi_rdid4, |
| 896 | .probe_timing = TIMING_ZERO, |
| 897 | .block_erasers = |
| 898 | { |
| 899 | { |
| 900 | .eraseblocks = { |
| 901 | {4 * 1024, 2}, |
| 902 | {8 * 1024, 1}, |
| 903 | {16 * 1024, 1}, |
| 904 | {32 * 1024, 1}, |
| 905 | {64 * 1024, 31}, |
| 906 | }, |
| 907 | .block_erase = spi_block_erase_d8, |
| 908 | }, { |
| 909 | .eraseblocks = { {2048 * 1024, 1} }, |
| 910 | .block_erase = spi_block_erase_60, |
| 911 | }, { |
| 912 | .eraseblocks = { {2048 * 1024, 1} }, |
| 913 | .block_erase = spi_block_erase_c7, |
| 914 | } |
| 915 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 916 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 917 | .unlock = spi_disable_blockprotect, |
| 918 | .write = spi_chip_write_256, |
| 919 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 920 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 921 | }, |
| 922 | |
| 923 | { |
| 924 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 925 | .name = "A25L512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 926 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 927 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 928 | .model_id = AMIC_A25L512, |
| 929 | .total_size = 64, |
| 930 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 931 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 932 | .tested = TEST_UNTESTED, |
| 933 | .probe = probe_spi_rdid, |
| 934 | .probe_timing = TIMING_ZERO, |
| 935 | .block_erasers = |
| 936 | { |
| 937 | { |
| 938 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 939 | .block_erase = spi_block_erase_20, |
| 940 | }, { |
| 941 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 942 | .block_erase = spi_block_erase_d8, |
| 943 | }, { |
| 944 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 945 | .block_erase = spi_block_erase_c7, |
| 946 | } |
| 947 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 948 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 949 | .unlock = spi_disable_blockprotect, |
| 950 | .write = spi_chip_write_256, |
| 951 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 952 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 953 | }, |
| 954 | |
| 955 | { |
| 956 | .vendor = "AMIC", |
| 957 | .name = "A25L010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 958 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 959 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 960 | .model_id = AMIC_A25L010, |
| 961 | .total_size = 128, |
| 962 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 963 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 964 | .tested = TEST_UNTESTED, |
| 965 | .probe = probe_spi_rdid, |
| 966 | .probe_timing = TIMING_ZERO, |
| 967 | .block_erasers = |
| 968 | { |
| 969 | { |
| 970 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 971 | .block_erase = spi_block_erase_20, |
| 972 | }, { |
| 973 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 974 | .block_erase = spi_block_erase_d8, |
| 975 | }, { |
| 976 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 977 | .block_erase = spi_block_erase_c7, |
| 978 | } |
| 979 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 980 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 981 | .unlock = spi_disable_blockprotect, |
| 982 | .write = spi_chip_write_256, |
| 983 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 984 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 985 | }, |
| 986 | |
| 987 | { |
| 988 | .vendor = "AMIC", |
| 989 | .name = "A25L020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 990 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 991 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 992 | .model_id = AMIC_A25L020, |
| 993 | .total_size = 256, |
| 994 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 995 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 996 | .tested = TEST_UNTESTED, |
| 997 | .probe = probe_spi_rdid, |
| 998 | .probe_timing = TIMING_ZERO, |
| 999 | .block_erasers = |
| 1000 | { |
| 1001 | { |
| 1002 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 1003 | .block_erase = spi_block_erase_20, |
| 1004 | }, { |
| 1005 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 1006 | .block_erase = spi_block_erase_d8, |
| 1007 | }, { |
| 1008 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 1009 | .block_erase = spi_block_erase_c7, |
| 1010 | } |
| 1011 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1012 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1013 | .unlock = spi_disable_blockprotect, |
| 1014 | .write = spi_chip_write_256, |
| 1015 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1016 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1017 | }, |
| 1018 | |
| 1019 | { |
| 1020 | .vendor = "AMIC", |
| 1021 | .name = "A25L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1022 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1023 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1024 | .model_id = AMIC_A25L040, |
| 1025 | .total_size = 512, |
| 1026 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1027 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1028 | .tested = TEST_UNTESTED, |
| 1029 | .probe = probe_spi_rdid, |
| 1030 | .probe_timing = TIMING_ZERO, |
| 1031 | .block_erasers = |
| 1032 | { |
| 1033 | { |
| 1034 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 1035 | .block_erase = spi_block_erase_20, |
| 1036 | }, { |
| 1037 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 1038 | .block_erase = spi_block_erase_d8, |
| 1039 | }, { |
| 1040 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 1041 | .block_erase = spi_block_erase_c7, |
| 1042 | } |
| 1043 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1044 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1045 | .unlock = spi_disable_blockprotect, |
| 1046 | .write = spi_chip_write_256, |
| 1047 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1048 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1049 | }, |
| 1050 | |
| 1051 | { |
| 1052 | .vendor = "AMIC", |
| 1053 | .name = "A25L080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1054 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1055 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1056 | .model_id = AMIC_A25L080, |
| 1057 | .total_size = 1024, |
| 1058 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1059 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1060 | .tested = TEST_UNTESTED, |
| 1061 | .probe = probe_spi_rdid, |
| 1062 | .probe_timing = TIMING_ZERO, |
| 1063 | .block_erasers = |
| 1064 | { |
| 1065 | { |
| 1066 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 1067 | .block_erase = spi_block_erase_20, |
| 1068 | }, { |
| 1069 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 1070 | .block_erase = spi_block_erase_d8, |
| 1071 | }, { |
| 1072 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 1073 | .block_erase = spi_block_erase_c7, |
| 1074 | } |
| 1075 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1076 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1077 | .unlock = spi_disable_blockprotect, |
| 1078 | .write = spi_chip_write_256, |
| 1079 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1080 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1081 | }, |
| 1082 | |
| 1083 | { |
| 1084 | .vendor = "AMIC", |
| 1085 | .name = "A25L016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1086 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1087 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1088 | .model_id = AMIC_A25L016, |
| 1089 | .total_size = 2048, |
| 1090 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1091 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1092 | .tested = TEST_UNTESTED, |
| 1093 | .probe = probe_spi_rdid, |
| 1094 | .probe_timing = TIMING_ZERO, |
| 1095 | .block_erasers = |
| 1096 | { |
| 1097 | { |
| 1098 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 1099 | .block_erase = spi_block_erase_20, |
| 1100 | }, { |
| 1101 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 1102 | .block_erase = spi_block_erase_d8, |
| 1103 | }, { |
| 1104 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 1105 | .block_erase = spi_block_erase_c7, |
| 1106 | } |
| 1107 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1108 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1109 | .unlock = spi_disable_blockprotect, |
| 1110 | .write = spi_chip_write_256, |
| 1111 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1112 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1113 | }, |
| 1114 | |
| 1115 | { |
| 1116 | .vendor = "AMIC", |
| 1117 | .name = "A25L032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1118 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1119 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1120 | .model_id = AMIC_A25L032, |
| 1121 | .total_size = 4096, |
| 1122 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1123 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1124 | .tested = TEST_UNTESTED, |
| 1125 | .probe = probe_spi_rdid, |
| 1126 | .probe_timing = TIMING_ZERO, |
| 1127 | .block_erasers = |
| 1128 | { |
| 1129 | { |
| 1130 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1131 | .block_erase = spi_block_erase_20, |
| 1132 | }, { |
| 1133 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1134 | .block_erase = spi_block_erase_52, |
| 1135 | }, { |
| 1136 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1137 | .block_erase = spi_block_erase_d8, |
| 1138 | }, { |
| 1139 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1140 | .block_erase = spi_block_erase_60, |
| 1141 | }, { |
| 1142 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1143 | .block_erase = spi_block_erase_c7, |
| 1144 | } |
| 1145 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1146 | .printlock = spi_prettyprint_status_register_amic_a25l032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1147 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1148 | .write = spi_chip_write_256, |
| 1149 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1150 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1151 | }, |
| 1152 | |
| 1153 | { |
| 1154 | .vendor = "AMIC", |
| 1155 | .name = "A25LQ032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1156 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1157 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1158 | .model_id = AMIC_A25LQ032, |
| 1159 | .total_size = 4096, |
| 1160 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1161 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1162 | .tested = TEST_UNTESTED, |
| 1163 | .probe = probe_spi_rdid, |
| 1164 | .probe_timing = TIMING_ZERO, |
| 1165 | .block_erasers = |
| 1166 | { |
| 1167 | { |
| 1168 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1169 | .block_erase = spi_block_erase_20, |
| 1170 | }, { |
| 1171 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1172 | .block_erase = spi_block_erase_52, |
| 1173 | }, { |
| 1174 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1175 | .block_erase = spi_block_erase_d8, |
| 1176 | }, { |
| 1177 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1178 | .block_erase = spi_block_erase_60, |
| 1179 | }, { |
| 1180 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1181 | .block_erase = spi_block_erase_c7, |
| 1182 | } |
| 1183 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1184 | .printlock = spi_prettyprint_status_register_amic_a25lq032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1185 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1186 | .write = spi_chip_write_256, |
| 1187 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1188 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1189 | }, |
| 1190 | |
| 1191 | { |
| 1192 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1193 | .name = "A29002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1194 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1195 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1196 | .model_id = AMIC_A29002B, |
| 1197 | .total_size = 256, |
| 1198 | .page_size = 64 * 1024, |
| 1199 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1200 | .tested = TEST_UNTESTED, |
| 1201 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1202 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1203 | .block_erasers = |
| 1204 | { |
| 1205 | { |
| 1206 | .eraseblocks = { |
| 1207 | {16 * 1024, 1}, |
| 1208 | {8 * 1024, 2}, |
| 1209 | {32 * 1024, 1}, |
| 1210 | {64 * 1024, 3}, |
| 1211 | }, |
| 1212 | .block_erase = erase_sector_jedec, |
| 1213 | }, { |
| 1214 | .eraseblocks = { {256 * 1024, 1} }, |
| 1215 | .block_erase = erase_chip_block_jedec, |
| 1216 | }, |
| 1217 | }, |
| 1218 | .write = write_jedec_1, |
| 1219 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1220 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1221 | }, |
| 1222 | |
| 1223 | { |
| 1224 | .vendor = "AMIC", |
| 1225 | .name = "A29002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1226 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1227 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1228 | .model_id = AMIC_A29002T, |
| 1229 | .total_size = 256, |
| 1230 | .page_size = 64 * 1024, |
| 1231 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1232 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1233 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1234 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1235 | .block_erasers = |
| 1236 | { |
| 1237 | { |
| 1238 | .eraseblocks = { |
| 1239 | {64 * 1024, 3}, |
| 1240 | {32 * 1024, 1}, |
| 1241 | {8 * 1024, 2}, |
| 1242 | {16 * 1024, 1}, |
| 1243 | }, |
| 1244 | .block_erase = erase_sector_jedec, |
| 1245 | }, { |
| 1246 | .eraseblocks = { {256 * 1024, 1} }, |
| 1247 | .block_erase = erase_chip_block_jedec, |
| 1248 | }, |
| 1249 | }, |
| 1250 | .write = write_jedec_1, |
| 1251 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1252 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1253 | }, |
| 1254 | |
| 1255 | { |
| 1256 | .vendor = "AMIC", |
| 1257 | .name = "A29040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1258 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1259 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1260 | .model_id = AMIC_A29040B, |
| 1261 | .total_size = 512, |
| 1262 | .page_size = 64 * 1024, |
| 1263 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1264 | .tested = TEST_UNTESTED, |
| 1265 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1266 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1267 | .block_erasers = |
| 1268 | { |
| 1269 | { |
| 1270 | .eraseblocks = { {64 * 1024, 8} }, |
| 1271 | .block_erase = erase_sector_jedec, |
| 1272 | }, { |
| 1273 | .eraseblocks = { {512 * 1024, 1} }, |
| 1274 | .block_erase = erase_chip_block_jedec, |
| 1275 | }, |
| 1276 | }, |
| 1277 | .write = write_jedec_1, |
| 1278 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1279 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1280 | }, |
| 1281 | |
| 1282 | { |
| 1283 | .vendor = "AMIC", |
| 1284 | .name = "A49LF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1285 | .bustype = BUS_LPC, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1286 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1287 | .model_id = AMIC_A49LF040A, |
| 1288 | .total_size = 512, |
| 1289 | .page_size = 64 * 1024, |
| 1290 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1291 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1292 | .probe = probe_jedec, |
| 1293 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 1294 | .block_erasers = |
| 1295 | { |
| 1296 | { |
| 1297 | .eraseblocks = { {64 * 1024, 8} }, |
| 1298 | .block_erase = erase_block_jedec, |
| 1299 | }, { |
| 1300 | .eraseblocks = { {512 * 1024, 1} }, |
| 1301 | .block_erase = erase_chip_block_jedec, |
| 1302 | } |
| 1303 | }, |
| 1304 | .unlock = unlock_49fl00x, |
| 1305 | .write = write_jedec_1, |
| 1306 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1307 | .voltage = {3000, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1308 | }, |
| 1309 | |
| 1310 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1311 | .vendor = "Atmel", |
| 1312 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1313 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1314 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1315 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1316 | .total_size = 256, |
| 1317 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1318 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1319 | .tested = TEST_UNTESTED, |
| 1320 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1321 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1322 | .block_erasers = |
| 1323 | { |
| 1324 | { |
| 1325 | .eraseblocks = { {4 * 1024, 64} }, |
| 1326 | .block_erase = spi_block_erase_20, |
| 1327 | }, { |
| 1328 | .eraseblocks = { {32 * 1024, 8} }, |
| 1329 | .block_erase = spi_block_erase_52, |
| 1330 | }, { |
| 1331 | .eraseblocks = { {64 * 1024, 4} }, |
| 1332 | .block_erase = spi_block_erase_d8, |
| 1333 | }, { |
| 1334 | .eraseblocks = { {256 * 1024, 1} }, |
| 1335 | .block_erase = spi_block_erase_60, |
| 1336 | }, { |
| 1337 | .eraseblocks = { {256 * 1024, 1} }, |
| 1338 | .block_erase = spi_block_erase_c7, |
| 1339 | } |
| 1340 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1341 | .printlock = spi_prettyprint_status_register_at25df, |
| 1342 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1343 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1344 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1345 | .voltage = {2700, 3600}, /* 2.3-3.6V & 2.7-3.6V models available */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1346 | }, |
| 1347 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1348 | { |
| 1349 | .vendor = "Atmel", |
| 1350 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1351 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1352 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1353 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1354 | .total_size = 512, |
| 1355 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1356 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1357 | .tested = TEST_UNTESTED, |
| 1358 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1359 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1360 | .block_erasers = |
| 1361 | { |
| 1362 | { |
| 1363 | .eraseblocks = { {4 * 1024, 128} }, |
| 1364 | .block_erase = spi_block_erase_20, |
| 1365 | }, { |
| 1366 | .eraseblocks = { {32 * 1024, 16} }, |
| 1367 | .block_erase = spi_block_erase_52, |
| 1368 | }, { |
| 1369 | .eraseblocks = { {64 * 1024, 8} }, |
| 1370 | .block_erase = spi_block_erase_d8, |
| 1371 | }, { |
| 1372 | .eraseblocks = { {512 * 1024, 1} }, |
| 1373 | .block_erase = spi_block_erase_60, |
| 1374 | }, { |
| 1375 | .eraseblocks = { {512 * 1024, 1} }, |
| 1376 | .block_erase = spi_block_erase_c7, |
| 1377 | } |
| 1378 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1379 | .printlock = spi_prettyprint_status_register_at25df, |
| 1380 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1381 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1382 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1383 | .voltage = {2700, 3600}, /* 2.3-3.6V & 2.7-3.6V models available */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1384 | }, |
| 1385 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1386 | { |
| 1387 | .vendor = "Atmel", |
| 1388 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1389 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1390 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1391 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1392 | .total_size = 1024, |
| 1393 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1394 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1395 | .tested = TEST_UNTESTED, |
| 1396 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1397 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1398 | .block_erasers = |
| 1399 | { |
| 1400 | { |
| 1401 | .eraseblocks = { {4 * 1024, 256} }, |
| 1402 | .block_erase = spi_block_erase_20, |
| 1403 | }, { |
| 1404 | .eraseblocks = { {32 * 1024, 32} }, |
| 1405 | .block_erase = spi_block_erase_52, |
| 1406 | }, { |
| 1407 | .eraseblocks = { {64 * 1024, 16} }, |
| 1408 | .block_erase = spi_block_erase_d8, |
| 1409 | }, { |
| 1410 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1411 | .block_erase = spi_block_erase_60, |
| 1412 | }, { |
| 1413 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1414 | .block_erase = spi_block_erase_c7, |
| 1415 | } |
| 1416 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1417 | .printlock = spi_prettyprint_status_register_at25df, |
| 1418 | .unlock = spi_disable_blockprotect_at25df, |
| 1419 | .write = spi_chip_write_256, |
| 1420 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1421 | .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] | 1422 | }, |
| 1423 | |
| 1424 | { |
| 1425 | .vendor = "Atmel", |
| 1426 | .name = "AT25DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1427 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1428 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1429 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1430 | .total_size = 1024, |
| 1431 | .page_size = 256, |
| 1432 | .feature_bits = FEATURE_WRSR_WREN, |
| 1433 | .tested = TEST_UNTESTED, |
| 1434 | .probe = probe_spi_rdid, |
| 1435 | .probe_timing = TIMING_ZERO, |
| 1436 | .block_erasers = |
| 1437 | { |
| 1438 | { |
| 1439 | .eraseblocks = { {4 * 1024, 256} }, |
| 1440 | .block_erase = spi_block_erase_20, |
| 1441 | }, { |
| 1442 | .eraseblocks = { {32 * 1024, 32} }, |
| 1443 | .block_erase = spi_block_erase_52, |
| 1444 | }, { |
| 1445 | .eraseblocks = { {64 * 1024, 16} }, |
| 1446 | .block_erase = spi_block_erase_d8, |
| 1447 | }, { |
| 1448 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1449 | .block_erase = spi_block_erase_60, |
| 1450 | }, { |
| 1451 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1452 | .block_erase = spi_block_erase_c7, |
| 1453 | } |
| 1454 | }, |
| 1455 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1456 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1457 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1458 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1459 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1460 | }, |
| 1461 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1462 | { |
| 1463 | .vendor = "Atmel", |
| 1464 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1465 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1466 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1467 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1468 | .total_size = 2048, |
| 1469 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1470 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1471 | .tested = TEST_UNTESTED, |
| 1472 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1473 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1474 | .block_erasers = |
| 1475 | { |
| 1476 | { |
| 1477 | .eraseblocks = { {4 * 1024, 512} }, |
| 1478 | .block_erase = spi_block_erase_20, |
| 1479 | }, { |
| 1480 | .eraseblocks = { {32 * 1024, 64} }, |
| 1481 | .block_erase = spi_block_erase_52, |
| 1482 | }, { |
| 1483 | .eraseblocks = { {64 * 1024, 32} }, |
| 1484 | .block_erase = spi_block_erase_d8, |
| 1485 | }, { |
| 1486 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1487 | .block_erase = spi_block_erase_60, |
| 1488 | }, { |
| 1489 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1490 | .block_erase = spi_block_erase_c7, |
| 1491 | } |
| 1492 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1493 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1494 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1495 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1496 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1497 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1498 | }, |
| 1499 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1500 | { |
| 1501 | .vendor = "Atmel", |
| 1502 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1503 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1504 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1505 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1506 | .total_size = 4096, |
| 1507 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1508 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 1509 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1510 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1511 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1512 | .block_erasers = |
| 1513 | { |
| 1514 | { |
| 1515 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1516 | .block_erase = spi_block_erase_20, |
| 1517 | }, { |
| 1518 | .eraseblocks = { {32 * 1024, 128} }, |
| 1519 | .block_erase = spi_block_erase_52, |
| 1520 | }, { |
| 1521 | .eraseblocks = { {64 * 1024, 64} }, |
| 1522 | .block_erase = spi_block_erase_d8, |
| 1523 | }, { |
| 1524 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1525 | .block_erase = spi_block_erase_60, |
| 1526 | }, { |
| 1527 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1528 | .block_erase = spi_block_erase_c7, |
| 1529 | } |
| 1530 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1531 | .printlock = spi_prettyprint_status_register_at25df, |
| 1532 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1533 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1534 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1535 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1536 | }, |
| 1537 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1538 | { |
| 1539 | .vendor = "Atmel", |
| 1540 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1541 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1542 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1543 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1544 | .total_size = 4096, |
| 1545 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1546 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1547 | .tested = TEST_UNTESTED, |
| 1548 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1549 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1550 | .block_erasers = |
| 1551 | { |
| 1552 | { |
| 1553 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1554 | .block_erase = spi_block_erase_20, |
| 1555 | }, { |
| 1556 | .eraseblocks = { {32 * 1024, 128} }, |
| 1557 | .block_erase = spi_block_erase_52, |
| 1558 | }, { |
| 1559 | .eraseblocks = { {64 * 1024, 64} }, |
| 1560 | .block_erase = spi_block_erase_d8, |
| 1561 | }, { |
| 1562 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1563 | .block_erase = spi_block_erase_60, |
| 1564 | }, { |
| 1565 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1566 | .block_erase = spi_block_erase_c7, |
| 1567 | } |
| 1568 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1569 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1570 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1571 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1572 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1573 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1574 | }, |
| 1575 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1576 | { |
| 1577 | .vendor = "Atmel", |
| 1578 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1579 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1580 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1581 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1582 | .total_size = 8192, |
| 1583 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1584 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1585 | .tested = TEST_UNTESTED, |
| 1586 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1587 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1588 | .block_erasers = |
| 1589 | { |
| 1590 | { |
| 1591 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1592 | .block_erase = spi_block_erase_20, |
| 1593 | }, { |
| 1594 | .eraseblocks = { {32 * 1024, 256} }, |
| 1595 | .block_erase = spi_block_erase_52, |
| 1596 | }, { |
| 1597 | .eraseblocks = { {64 * 1024, 128} }, |
| 1598 | .block_erase = spi_block_erase_d8, |
| 1599 | }, { |
| 1600 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1601 | .block_erase = spi_block_erase_60, |
| 1602 | }, { |
| 1603 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1604 | .block_erase = spi_block_erase_c7, |
| 1605 | } |
| 1606 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1607 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1608 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1609 | .write = spi_chip_write_256, |
| 1610 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1611 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1612 | }, |
| 1613 | |
| 1614 | { |
| 1615 | .vendor = "Atmel", |
| 1616 | .name = "AT25DQ161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1617 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1618 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1619 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1620 | .total_size = 2048, |
| 1621 | .page_size = 256, |
| 1622 | .feature_bits = FEATURE_WRSR_WREN, |
| 1623 | .tested = TEST_UNTESTED, |
| 1624 | .probe = probe_spi_rdid, |
| 1625 | .probe_timing = TIMING_ZERO, |
| 1626 | .block_erasers = |
| 1627 | { |
| 1628 | { |
| 1629 | .eraseblocks = { {4 * 1024, 512} }, |
| 1630 | .block_erase = spi_block_erase_20, |
| 1631 | }, { |
| 1632 | .eraseblocks = { {32 * 1024, 64} }, |
| 1633 | .block_erase = spi_block_erase_52, |
| 1634 | }, { |
| 1635 | .eraseblocks = { {64 * 1024, 32} }, |
| 1636 | .block_erase = spi_block_erase_d8, |
| 1637 | }, { |
| 1638 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1639 | .block_erase = spi_block_erase_60, |
| 1640 | }, { |
| 1641 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1642 | .block_erase = spi_block_erase_c7, |
| 1643 | } |
| 1644 | }, |
| 1645 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1646 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1647 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1648 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1649 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1650 | }, |
| 1651 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1652 | { |
| 1653 | .vendor = "Atmel", |
| 1654 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1655 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1656 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1657 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1658 | .total_size = 64, |
| 1659 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1660 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1661 | .tested = TEST_UNTESTED, |
| 1662 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1663 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1664 | .block_erasers = |
| 1665 | { |
| 1666 | { |
| 1667 | .eraseblocks = { {4 * 1024, 16} }, |
| 1668 | .block_erase = spi_block_erase_20, |
| 1669 | }, { |
| 1670 | .eraseblocks = { {32 * 1024, 2} }, |
| 1671 | .block_erase = spi_block_erase_52, |
| 1672 | }, { |
| 1673 | .eraseblocks = { {32 * 1024, 2} }, |
| 1674 | .block_erase = spi_block_erase_d8, |
| 1675 | }, { |
| 1676 | .eraseblocks = { {64 * 1024, 1} }, |
| 1677 | .block_erase = spi_block_erase_60, |
| 1678 | }, { |
| 1679 | .eraseblocks = { {64 * 1024, 1} }, |
| 1680 | .block_erase = spi_block_erase_c7, |
| 1681 | } |
| 1682 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1683 | .printlock = spi_prettyprint_status_register_at25f, |
| 1684 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1685 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1686 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1687 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1688 | }, |
| 1689 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1690 | { |
| 1691 | .vendor = "Atmel", |
| 1692 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1693 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1694 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1695 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1696 | .total_size = 128, |
| 1697 | .page_size = 256, |
| 1698 | .tested = TEST_UNTESTED, |
| 1699 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1700 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1701 | .block_erasers = |
| 1702 | { |
| 1703 | { |
| 1704 | .eraseblocks = { {4 * 1024, 32} }, |
| 1705 | .block_erase = spi_block_erase_20, |
| 1706 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1707 | .eraseblocks = { {4 * 1024, 32} }, |
| 1708 | .block_erase = spi_block_erase_d7, |
| 1709 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1710 | .eraseblocks = { {32 * 1024, 4} }, |
| 1711 | .block_erase = spi_block_erase_52, |
| 1712 | }, { |
| 1713 | .eraseblocks = { {32 * 1024, 4} }, |
| 1714 | .block_erase = spi_block_erase_d8, |
| 1715 | }, { |
| 1716 | .eraseblocks = { {128 * 1024, 1} }, |
| 1717 | .block_erase = spi_block_erase_60, |
| 1718 | }, { |
| 1719 | .eraseblocks = { {128 * 1024, 1} }, |
| 1720 | .block_erase = spi_block_erase_c7, |
| 1721 | } |
| 1722 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1723 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1724 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1725 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1726 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1727 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1728 | }, |
| 1729 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1730 | { |
| 1731 | .vendor = "Atmel", |
| 1732 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1733 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1734 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1735 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1736 | .total_size = 512, |
| 1737 | .page_size = 256, |
| 1738 | .tested = TEST_UNTESTED, |
| 1739 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1740 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1741 | .block_erasers = |
| 1742 | { |
| 1743 | { |
| 1744 | .eraseblocks = { {4 * 1024, 128} }, |
| 1745 | .block_erase = spi_block_erase_20, |
| 1746 | }, { |
| 1747 | .eraseblocks = { {64 * 1024, 8} }, |
| 1748 | .block_erase = spi_block_erase_52, |
| 1749 | }, { |
| 1750 | .eraseblocks = { {64 * 1024, 8} }, |
| 1751 | .block_erase = spi_block_erase_d8, |
| 1752 | }, { |
| 1753 | .eraseblocks = { {512 * 1024, 1} }, |
| 1754 | .block_erase = spi_block_erase_60, |
| 1755 | }, { |
| 1756 | .eraseblocks = { {512 * 1024, 1} }, |
| 1757 | .block_erase = spi_block_erase_c7, |
| 1758 | } |
| 1759 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1760 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1761 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1762 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1763 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1764 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1765 | }, |
| 1766 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1767 | { |
| 1768 | .vendor = "Atmel", |
| 1769 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1770 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1771 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1772 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1773 | .total_size = 512, |
| 1774 | .page_size = 256, |
| 1775 | .tested = TEST_UNTESTED, |
| 1776 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1777 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1778 | .block_erasers = |
| 1779 | { |
| 1780 | { |
| 1781 | .eraseblocks = { {4 * 1024, 128} }, |
| 1782 | .block_erase = spi_block_erase_20, |
| 1783 | } |
| 1784 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1785 | .write = NULL /* Incompatible Page write */, |
| 1786 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1787 | .voltage = {2700, 3600}, /* 3.0-3.6V for higher speed, 2.7-3.6V normal */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1788 | }, |
| 1789 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1790 | { |
| 1791 | .vendor = "Atmel", |
| 1792 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1793 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1794 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1795 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1796 | .total_size = 1024, |
| 1797 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1798 | .feature_bits = FEATURE_WRSR_WREN, |
| 1799 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1800 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1801 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1802 | .block_erasers = |
| 1803 | { |
| 1804 | { |
| 1805 | .eraseblocks = { {4 * 1024, 256} }, |
| 1806 | .block_erase = spi_block_erase_20, |
| 1807 | }, { |
| 1808 | .eraseblocks = { {32 * 1024, 32} }, |
| 1809 | .block_erase = spi_block_erase_52, |
| 1810 | }, { |
| 1811 | .eraseblocks = { {64 * 1024, 16} }, |
| 1812 | .block_erase = spi_block_erase_d8, |
| 1813 | }, { |
| 1814 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1815 | .block_erase = spi_block_erase_60, |
| 1816 | }, { |
| 1817 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1818 | .block_erase = spi_block_erase_c7, |
| 1819 | } |
| 1820 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1821 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1822 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1823 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1824 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1825 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1826 | }, |
| 1827 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1828 | { |
| 1829 | .vendor = "Atmel", |
| 1830 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1831 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1832 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1833 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1834 | .total_size = 2048, |
| 1835 | .page_size = 256, |
| 1836 | .tested = TEST_UNTESTED, |
| 1837 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1838 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1839 | .block_erasers = |
| 1840 | { |
| 1841 | { |
| 1842 | .eraseblocks = { {4 * 1024, 512} }, |
| 1843 | .block_erase = spi_block_erase_20, |
| 1844 | }, { |
| 1845 | .eraseblocks = { {32 * 1024, 64} }, |
| 1846 | .block_erase = spi_block_erase_52, |
| 1847 | }, { |
| 1848 | .eraseblocks = { {64 * 1024, 32} }, |
| 1849 | .block_erase = spi_block_erase_d8, |
| 1850 | }, { |
| 1851 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1852 | .block_erase = spi_block_erase_60, |
| 1853 | }, { |
| 1854 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1855 | .block_erase = spi_block_erase_c7, |
| 1856 | } |
| 1857 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1858 | .printlock = spi_prettyprint_status_register_at25df, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1859 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1860 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1861 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1862 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1863 | }, |
| 1864 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1865 | { |
| 1866 | .vendor = "Atmel", |
| 1867 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1868 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1869 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1870 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1871 | .total_size = 2048, |
| 1872 | .page_size = 256, |
| 1873 | .tested = TEST_UNTESTED, |
| 1874 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1875 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1876 | .block_erasers = |
| 1877 | { |
| 1878 | { |
| 1879 | .eraseblocks = { {4 * 1024, 512} }, |
| 1880 | .block_erase = spi_block_erase_20, |
| 1881 | }, { |
| 1882 | .eraseblocks = { {32 * 1024, 64} }, |
| 1883 | .block_erase = spi_block_erase_52, |
| 1884 | }, { |
| 1885 | .eraseblocks = { {64 * 1024, 32} }, |
| 1886 | .block_erase = spi_block_erase_d8, |
| 1887 | }, { |
| 1888 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1889 | .block_erase = spi_block_erase_60, |
| 1890 | }, { |
| 1891 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1892 | .block_erase = spi_block_erase_c7, |
| 1893 | } |
| 1894 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1895 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1896 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1897 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1898 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1899 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1900 | }, |
| 1901 | |
| 1902 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1903 | /*{ |
| 1904 | .vendor = "Atmel", |
| 1905 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1906 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1907 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1908 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1909 | .total_size = 4096, |
| 1910 | .page_size = 256, |
| 1911 | .tested = TEST_UNTESTED, |
| 1912 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1913 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1914 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1915 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1916 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1917 | .read = spi_chip_read, |
| 1918 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1919 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1920 | { |
| 1921 | .vendor = "Atmel", |
| 1922 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1923 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1924 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1925 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1926 | .total_size = 512, |
| 1927 | .page_size = 256, |
| 1928 | .tested = TEST_UNTESTED, |
| 1929 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1930 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1931 | .block_erasers = |
| 1932 | { |
| 1933 | { |
| 1934 | .eraseblocks = { {4 * 1024, 128} }, |
| 1935 | .block_erase = spi_block_erase_20, |
| 1936 | }, { |
| 1937 | .eraseblocks = { {32 * 1024, 16} }, |
| 1938 | .block_erase = spi_block_erase_52, |
| 1939 | }, { |
| 1940 | .eraseblocks = { {64 * 1024, 8} }, |
| 1941 | .block_erase = spi_block_erase_d8, |
| 1942 | }, { |
| 1943 | .eraseblocks = { {512 * 1024, 1} }, |
| 1944 | .block_erase = spi_block_erase_60, |
| 1945 | }, { |
| 1946 | .eraseblocks = { {512 * 1024, 1} }, |
| 1947 | .block_erase = spi_block_erase_c7, |
| 1948 | } |
| 1949 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1950 | .write = NULL /* Incompatible Page write */, |
| 1951 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1952 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1953 | }, |
| 1954 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1955 | { |
| 1956 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1957 | .name = "AT29C512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1958 | .bustype = BUS_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1959 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1960 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1961 | .total_size = 64, |
| 1962 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1963 | .feature_bits = FEATURE_LONG_RESET, |
| 1964 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1965 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1966 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1967 | .block_erasers = |
| 1968 | { |
| 1969 | { |
| 1970 | .eraseblocks = { {64 * 1024, 1} }, |
| 1971 | .block_erase = erase_chip_block_jedec, |
| 1972 | } |
| 1973 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1974 | .write = write_jedec, |
| 1975 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1976 | .voltage = {4500, 5500}, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1977 | }, |
| 1978 | |
| 1979 | { |
| 1980 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1981 | .name = "AT29C010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1982 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1983 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1984 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1985 | .total_size = 128, |
| 1986 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1987 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1988 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1989 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1990 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1991 | .block_erasers = |
| 1992 | { |
| 1993 | { |
| 1994 | .eraseblocks = { {128 * 1024, 1} }, |
| 1995 | .block_erase = erase_chip_block_jedec, |
| 1996 | } |
| 1997 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1998 | .write = write_jedec, /* FIXME */ |
| 1999 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2000 | .voltage = {4500, 5500}, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2001 | }, |
| 2002 | |
| 2003 | { |
| 2004 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2005 | .name = "AT29C020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2006 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2007 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2008 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2009 | .total_size = 256, |
| 2010 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2011 | .feature_bits = FEATURE_LONG_RESET, |
| 2012 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2013 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2014 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2015 | .block_erasers = |
| 2016 | { |
| 2017 | { |
| 2018 | .eraseblocks = { {256 * 1024, 1} }, |
| 2019 | .block_erase = erase_chip_block_jedec, |
| 2020 | } |
| 2021 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2022 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2023 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2024 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2025 | }, |
| 2026 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2027 | { |
| 2028 | .vendor = "Atmel", |
| 2029 | .name = "AT29C040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2030 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2031 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2032 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2033 | .total_size = 512, |
| 2034 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2035 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2036 | .tested = TEST_UNTESTED, |
| 2037 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 2038 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2039 | .block_erasers = |
| 2040 | { |
| 2041 | { |
| 2042 | .eraseblocks = { {512 * 1024, 1} }, |
| 2043 | .block_erase = erase_chip_block_jedec, |
| 2044 | } |
| 2045 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2046 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2047 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2048 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2049 | }, |
| 2050 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2051 | { |
| 2052 | .vendor = "Atmel", |
| 2053 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2054 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2055 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2056 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2057 | .total_size = 16896 /* No power of two sizes */, |
| 2058 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2059 | .tested = TEST_BAD_READ, |
| 2060 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2061 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2062 | .write = NULL /* Incompatible Page write */, |
| 2063 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2064 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2065 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2066 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2067 | { |
| 2068 | .vendor = "Atmel", |
| 2069 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2070 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2071 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2072 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2073 | .total_size = 128 /* Size can only be determined from status register */, |
| 2074 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2075 | .tested = TEST_BAD_READ, |
| 2076 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2077 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2078 | .write = NULL, |
| 2079 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2080 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2081 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2082 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2083 | { |
| 2084 | .vendor = "Atmel", |
| 2085 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2086 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2087 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2088 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2089 | .total_size = 256 /* Size can only be determined from status register */, |
| 2090 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2091 | .tested = TEST_BAD_READ, |
| 2092 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2093 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2094 | .write = NULL, |
| 2095 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2096 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2097 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2098 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | { |
| 2100 | .vendor = "Atmel", |
| 2101 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2102 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2103 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2104 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2105 | .total_size = 512 /* Size can only be determined from status register */, |
| 2106 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2107 | .tested = TEST_BAD_READ, |
| 2108 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2109 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2110 | .write = NULL, |
| 2111 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2112 | .voltage = {2500, 3600}, /* 2.5-3.6V & 2.7-3.6V models available */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2113 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2114 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2115 | { |
| 2116 | .vendor = "Atmel", |
| 2117 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2118 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2119 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2120 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2121 | .total_size = 1024 /* Size can only be determined from status register */, |
| 2122 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2123 | .tested = TEST_BAD_READ, |
| 2124 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2125 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2126 | .write = NULL, |
| 2127 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2128 | .voltage = {2700, 3600}, /* 2.5-3.6V & 2.7-3.6V models available */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2129 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2130 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2131 | { |
| 2132 | .vendor = "Atmel", |
| 2133 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2134 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2135 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2136 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2137 | .total_size = 2048 /* Size can only be determined from status register */, |
| 2138 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2139 | .tested = TEST_BAD_READ, |
| 2140 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2141 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2142 | .write = NULL, |
| 2143 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2144 | .voltage = {2700, 3600}, /* 2.5-3.6V & 2.7-3.6V models available */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2145 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2147 | { |
| 2148 | .vendor = "Atmel", |
| 2149 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2150 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2151 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2152 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2153 | .total_size = 4224 /* No power of two sizes */, |
| 2154 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2155 | .tested = TEST_BAD_READ, |
| 2156 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2157 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2158 | .write = NULL, |
| 2159 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2160 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2161 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2162 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2163 | { |
| 2164 | .vendor = "Atmel", |
| 2165 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2166 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2167 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2168 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2169 | .total_size = 4096 /* Size can only be determined from status register */, |
| 2170 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2171 | .tested = TEST_BAD_READ, |
| 2172 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2173 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2174 | .write = NULL, |
| 2175 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2176 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2177 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2178 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2179 | { |
| 2180 | .vendor = "Atmel", |
| 2181 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2182 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2183 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2184 | .model_id = ATMEL_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2185 | .total_size = 8192 /* Size can only be determined from status register */, |
| 2186 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2187 | .tested = TEST_BAD_READ, |
| 2188 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2189 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2190 | .write = NULL, |
| 2191 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2192 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2193 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2194 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2195 | { |
| 2196 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2197 | .name = "AT49BV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2198 | .bustype = BUS_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2199 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2200 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2201 | .total_size = 64, |
| 2202 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2203 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 2204 | .tested = TEST_OK_PREW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2205 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2206 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2207 | .block_erasers = |
| 2208 | { |
| 2209 | { |
| 2210 | .eraseblocks = { {64 * 1024, 1} }, |
| 2211 | .block_erase = erase_chip_block_jedec, |
| 2212 | } |
| 2213 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2214 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2215 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2216 | .voltage = {2700, 3600}, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2217 | }, |
| 2218 | |
| 2219 | { |
| 2220 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2221 | .name = "AT49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2222 | .bustype = BUS_PARALLEL, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2223 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2224 | .model_id = ATMEL_AT49F020, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2225 | .total_size = 256, |
| 2226 | .page_size = 256, |
| 2227 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2228 | .tested = TEST_OK_PRE, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2229 | .probe = probe_jedec, |
| 2230 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2231 | .block_erasers = |
| 2232 | { |
| 2233 | { |
| 2234 | .eraseblocks = { {256 * 1024, 1} }, |
| 2235 | .block_erase = erase_chip_block_jedec, |
| 2236 | } |
| 2237 | }, |
| 2238 | .write = write_jedec_1, |
| 2239 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2240 | .voltage = {4500, 5500}, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2241 | }, |
| 2242 | |
| 2243 | { |
| 2244 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2245 | .name = "AT49F002(N)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2246 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2247 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2248 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2249 | .total_size = 256, |
| 2250 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2251 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2252 | .tested = TEST_UNTESTED, |
| 2253 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2254 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2255 | .block_erasers = |
| 2256 | { |
| 2257 | { |
| 2258 | .eraseblocks = { |
| 2259 | {16 * 1024, 1}, |
| 2260 | {8 * 1024, 2}, |
| 2261 | {96 * 1024, 1}, |
| 2262 | {128 * 1024, 1}, |
| 2263 | }, |
| 2264 | .block_erase = erase_sector_jedec, |
| 2265 | }, { |
| 2266 | .eraseblocks = { {256 * 1024, 1} }, |
| 2267 | .block_erase = erase_chip_block_jedec, |
| 2268 | } |
| 2269 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2270 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2271 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2272 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2273 | }, |
| 2274 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2275 | { |
| 2276 | .vendor = "Atmel", |
| 2277 | .name = "AT49F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2278 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2279 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2280 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2281 | .total_size = 256, |
| 2282 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2283 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2284 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2285 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2286 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2287 | .block_erasers = |
| 2288 | { |
| 2289 | { |
| 2290 | .eraseblocks = { |
| 2291 | {128 * 1024, 1}, |
| 2292 | {96 * 1024, 1}, |
| 2293 | {8 * 1024, 2}, |
| 2294 | {16 * 1024, 1}, |
| 2295 | }, |
| 2296 | .block_erase = erase_sector_jedec, |
| 2297 | }, { |
| 2298 | .eraseblocks = { {256 * 1024, 1} }, |
| 2299 | .block_erase = erase_chip_block_jedec, |
| 2300 | } |
| 2301 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2302 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2303 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2304 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2305 | }, |
| 2306 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2307 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2308 | .vendor = "Bright", |
| 2309 | .name = "BM29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2310 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2311 | .manufacture_id = BRIGHT_ID, |
| 2312 | .model_id = BRIGHT_BM29F040, |
| 2313 | .total_size = 512, |
| 2314 | .page_size = 64 * 1024, |
| 2315 | .feature_bits = FEATURE_EITHER_RESET, |
| 2316 | .tested = TEST_OK_PR, |
| 2317 | .probe = probe_jedec, |
| 2318 | .probe_timing = TIMING_ZERO, |
| 2319 | .block_erasers = |
| 2320 | { |
| 2321 | { |
| 2322 | .eraseblocks = { {64 * 1024, 8} }, |
| 2323 | .block_erase = erase_sector_jedec, |
| 2324 | }, { |
| 2325 | .eraseblocks = { {512 * 1024, 1} }, |
| 2326 | .block_erase = erase_chip_block_jedec, |
| 2327 | }, |
| 2328 | }, |
| 2329 | .write = write_jedec_1, |
| 2330 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2331 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2332 | }, |
| 2333 | |
| 2334 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2335 | .vendor = "EMST", |
| 2336 | .name = "F49B002UA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2337 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2338 | .manufacture_id = EMST_ID, |
| 2339 | .model_id = EMST_F49B002UA, |
| 2340 | .total_size = 256, |
| 2341 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2342 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2343 | .tested = TEST_UNTESTED, |
| 2344 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2345 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2346 | .block_erasers = |
| 2347 | { |
| 2348 | { |
| 2349 | .eraseblocks = { |
| 2350 | {128 * 1024, 1}, |
| 2351 | {96 * 1024, 1}, |
| 2352 | {8 * 1024, 2}, |
| 2353 | {16 * 1024, 1}, |
| 2354 | }, |
| 2355 | .block_erase = erase_sector_jedec, |
| 2356 | }, { |
| 2357 | .eraseblocks = { {256 * 1024, 1} }, |
| 2358 | .block_erase = erase_chip_block_jedec, |
| 2359 | } |
| 2360 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2361 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2362 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2363 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2364 | }, |
| 2365 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2366 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2367 | .vendor = "EMST", |
| 2368 | .name = "F25L008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2369 | .bustype = BUS_SPI, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2370 | .manufacture_id = EMST_ID, |
| 2371 | .model_id = EMST_F25L008A, |
| 2372 | .total_size = 1024, |
| 2373 | .page_size = 256, |
| 2374 | .tested = TEST_UNTESTED, |
| 2375 | .probe = probe_spi_rdid, |
| 2376 | .probe_timing = TIMING_ZERO, |
| 2377 | .block_erasers = |
| 2378 | { |
| 2379 | { |
| 2380 | .eraseblocks = { {4 * 1024, 256} }, |
| 2381 | .block_erase = spi_block_erase_20, |
| 2382 | }, { |
| 2383 | .eraseblocks = { {64 * 1024, 16} }, |
| 2384 | .block_erase = spi_block_erase_d8, |
| 2385 | }, { |
| 2386 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2387 | .block_erase = spi_block_erase_60, |
| 2388 | }, { |
| 2389 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2390 | .block_erase = spi_block_erase_c7, |
| 2391 | } |
| 2392 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2393 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2394 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2395 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2396 | .voltage = {2700, 3600}, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2397 | }, |
| 2398 | |
| 2399 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2400 | .vendor = "Eon", |
| 2401 | .name = "EN25B05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2402 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2403 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2404 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2405 | .total_size = 64, |
| 2406 | .page_size = 256, |
| 2407 | .tested = TEST_UNTESTED, |
| 2408 | .probe = probe_spi_rdid, |
| 2409 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2410 | .block_erasers = |
| 2411 | { |
| 2412 | { |
| 2413 | .eraseblocks = { |
| 2414 | {4 * 1024, 2}, |
| 2415 | {8 * 1024, 1}, |
| 2416 | {16 * 1024, 1}, |
| 2417 | {32 * 1024, 1}, |
| 2418 | }, |
| 2419 | .block_erase = spi_block_erase_d8, |
| 2420 | }, { |
| 2421 | .eraseblocks = { {64 * 1024, 1} }, |
| 2422 | .block_erase = spi_block_erase_c7, |
| 2423 | } |
| 2424 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2425 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2426 | .write = spi_chip_write_256, |
| 2427 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2428 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2429 | }, |
| 2430 | |
| 2431 | { |
| 2432 | .vendor = "Eon", |
| 2433 | .name = "EN25B05T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2434 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2435 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2436 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2437 | .total_size = 64, |
| 2438 | .page_size = 256, |
| 2439 | .tested = TEST_UNTESTED, |
| 2440 | .probe = probe_spi_rdid, |
| 2441 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2442 | .block_erasers = |
| 2443 | { |
| 2444 | { |
| 2445 | .eraseblocks = { |
| 2446 | {32 * 1024, 1}, |
| 2447 | {16 * 1024, 1}, |
| 2448 | {8 * 1024, 1}, |
| 2449 | {4 * 1024, 2}, |
| 2450 | }, |
| 2451 | .block_erase = spi_block_erase_d8, |
| 2452 | }, { |
| 2453 | .eraseblocks = { {64 * 1024, 1} }, |
| 2454 | .block_erase = spi_block_erase_c7, |
| 2455 | } |
| 2456 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2457 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2458 | .write = spi_chip_write_256, |
| 2459 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2460 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2461 | }, |
| 2462 | |
| 2463 | { |
| 2464 | .vendor = "Eon", |
| 2465 | .name = "EN25B10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2466 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2467 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2468 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2469 | .total_size = 128, |
| 2470 | .page_size = 256, |
| 2471 | .tested = TEST_UNTESTED, |
| 2472 | .probe = probe_spi_rdid, |
| 2473 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2474 | .block_erasers = |
| 2475 | { |
| 2476 | { |
| 2477 | .eraseblocks = { |
| 2478 | {4 * 1024, 2}, |
| 2479 | {8 * 1024, 1}, |
| 2480 | {16 * 1024, 1}, |
| 2481 | {32 * 1024, 3}, |
| 2482 | }, |
| 2483 | .block_erase = spi_block_erase_d8, |
| 2484 | }, { |
| 2485 | .eraseblocks = { {128 * 1024, 1} }, |
| 2486 | .block_erase = spi_block_erase_c7, |
| 2487 | } |
| 2488 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2489 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2490 | .write = spi_chip_write_256, |
| 2491 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2492 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2493 | }, |
| 2494 | |
| 2495 | { |
| 2496 | .vendor = "Eon", |
| 2497 | .name = "EN25B10T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2498 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2499 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2500 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2501 | .total_size = 128, |
| 2502 | .page_size = 256, |
| 2503 | .tested = TEST_UNTESTED, |
| 2504 | .probe = probe_spi_rdid, |
| 2505 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2506 | .block_erasers = |
| 2507 | { |
| 2508 | { |
| 2509 | .eraseblocks = { |
| 2510 | {32 * 1024, 3}, |
| 2511 | {16 * 1024, 1}, |
| 2512 | {8 * 1024, 1}, |
| 2513 | {4 * 1024, 2}, |
| 2514 | }, |
| 2515 | .block_erase = spi_block_erase_d8, |
| 2516 | }, { |
| 2517 | .eraseblocks = { {128 * 1024, 1} }, |
| 2518 | .block_erase = spi_block_erase_c7, |
| 2519 | } |
| 2520 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2521 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2522 | .write = spi_chip_write_256, |
| 2523 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2524 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2525 | }, |
| 2526 | |
| 2527 | { |
| 2528 | .vendor = "Eon", |
| 2529 | .name = "EN25B20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2530 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2531 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2532 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2533 | .total_size = 256, |
| 2534 | .page_size = 256, |
| 2535 | .tested = TEST_UNTESTED, |
| 2536 | .probe = probe_spi_rdid, |
| 2537 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2538 | .block_erasers = |
| 2539 | { |
| 2540 | { |
| 2541 | .eraseblocks = { |
| 2542 | {4 * 1024, 2}, |
| 2543 | {8 * 1024, 1}, |
| 2544 | {16 * 1024, 1}, |
| 2545 | {32 * 1024, 1}, |
| 2546 | {64 * 1024, 3} |
| 2547 | }, |
| 2548 | .block_erase = spi_block_erase_d8, |
| 2549 | }, { |
| 2550 | .eraseblocks = { {256 * 1024, 1} }, |
| 2551 | .block_erase = spi_block_erase_c7, |
| 2552 | } |
| 2553 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2554 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2555 | .write = spi_chip_write_256, |
| 2556 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2557 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2558 | }, |
| 2559 | |
| 2560 | { |
| 2561 | .vendor = "Eon", |
| 2562 | .name = "EN25B20T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2563 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2564 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2565 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2566 | .total_size = 256, |
| 2567 | .page_size = 256, |
| 2568 | .tested = TEST_UNTESTED, |
| 2569 | .probe = probe_spi_rdid, |
| 2570 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2571 | .block_erasers = |
| 2572 | { |
| 2573 | { |
| 2574 | .eraseblocks = { |
| 2575 | {64 * 1024, 3}, |
| 2576 | {32 * 1024, 1}, |
| 2577 | {16 * 1024, 1}, |
| 2578 | {8 * 1024, 1}, |
| 2579 | {4 * 1024, 2}, |
| 2580 | }, |
| 2581 | .block_erase = spi_block_erase_d8, |
| 2582 | }, { |
| 2583 | .eraseblocks = { {256 * 1024, 1} }, |
| 2584 | .block_erase = spi_block_erase_c7, |
| 2585 | } |
| 2586 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2587 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2588 | .write = spi_chip_write_256, |
| 2589 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2590 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2591 | }, |
| 2592 | |
| 2593 | { |
| 2594 | .vendor = "Eon", |
| 2595 | .name = "EN25B40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2596 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2597 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2598 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2599 | .total_size = 512, |
| 2600 | .page_size = 256, |
| 2601 | .tested = TEST_UNTESTED, |
| 2602 | .probe = probe_spi_rdid, |
| 2603 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2604 | .block_erasers = |
| 2605 | { |
| 2606 | { |
| 2607 | .eraseblocks = { |
| 2608 | {4 * 1024, 2}, |
| 2609 | {8 * 1024, 1}, |
| 2610 | {16 * 1024, 1}, |
| 2611 | {32 * 1024, 1}, |
| 2612 | {64 * 1024, 7} |
| 2613 | }, |
| 2614 | .block_erase = spi_block_erase_d8, |
| 2615 | }, { |
| 2616 | .eraseblocks = { {512 * 1024, 1} }, |
| 2617 | .block_erase = spi_block_erase_c7, |
| 2618 | } |
| 2619 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2620 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2621 | .write = spi_chip_write_256, |
| 2622 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2623 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2624 | }, |
| 2625 | |
| 2626 | { |
| 2627 | .vendor = "Eon", |
| 2628 | .name = "EN25B40T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2629 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2630 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2631 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2632 | .total_size = 512, |
| 2633 | .page_size = 256, |
| 2634 | .tested = TEST_UNTESTED, |
| 2635 | .probe = probe_spi_rdid, |
| 2636 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2637 | .block_erasers = |
| 2638 | { |
| 2639 | { |
| 2640 | .eraseblocks = { |
| 2641 | {64 * 1024, 7}, |
| 2642 | {32 * 1024, 1}, |
| 2643 | {16 * 1024, 1}, |
| 2644 | {8 * 1024, 1}, |
| 2645 | {4 * 1024, 2}, |
| 2646 | }, |
| 2647 | .block_erase = spi_block_erase_d8, |
| 2648 | }, { |
| 2649 | .eraseblocks = { {512 * 1024, 1} }, |
| 2650 | .block_erase = spi_block_erase_c7, |
| 2651 | } |
| 2652 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2653 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2654 | .write = spi_chip_write_256, |
| 2655 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2656 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2657 | }, |
| 2658 | |
| 2659 | { |
| 2660 | .vendor = "Eon", |
| 2661 | .name = "EN25B80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2662 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2663 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2664 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2665 | .total_size = 1024, |
| 2666 | .page_size = 256, |
| 2667 | .tested = TEST_UNTESTED, |
| 2668 | .probe = probe_spi_rdid, |
| 2669 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2670 | .block_erasers = |
| 2671 | { |
| 2672 | { |
| 2673 | .eraseblocks = { |
| 2674 | {4 * 1024, 2}, |
| 2675 | {8 * 1024, 1}, |
| 2676 | {16 * 1024, 1}, |
| 2677 | {32 * 1024, 1}, |
| 2678 | {64 * 1024, 15} |
| 2679 | }, |
| 2680 | .block_erase = spi_block_erase_d8, |
| 2681 | }, { |
| 2682 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2683 | .block_erase = spi_block_erase_c7, |
| 2684 | } |
| 2685 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2686 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2687 | .write = spi_chip_write_256, |
| 2688 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2689 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2690 | }, |
| 2691 | |
| 2692 | { |
| 2693 | .vendor = "Eon", |
| 2694 | .name = "EN25B80T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2695 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2696 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2697 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2698 | .total_size = 1024, |
| 2699 | .page_size = 256, |
| 2700 | .tested = TEST_UNTESTED, |
| 2701 | .probe = probe_spi_rdid, |
| 2702 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2703 | .block_erasers = |
| 2704 | { |
| 2705 | { |
| 2706 | .eraseblocks = { |
| 2707 | {64 * 1024, 15}, |
| 2708 | {32 * 1024, 1}, |
| 2709 | {16 * 1024, 1}, |
| 2710 | {8 * 1024, 1}, |
| 2711 | {4 * 1024, 2}, |
| 2712 | }, |
| 2713 | .block_erase = spi_block_erase_d8, |
| 2714 | }, { |
| 2715 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2716 | .block_erase = spi_block_erase_c7, |
| 2717 | } |
| 2718 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2719 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2720 | .write = spi_chip_write_256, |
| 2721 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2722 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2723 | }, |
| 2724 | |
| 2725 | { |
| 2726 | .vendor = "Eon", |
| 2727 | .name = "EN25B16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2728 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2729 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2730 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2731 | .total_size = 2048, |
| 2732 | .page_size = 256, |
| 2733 | .tested = TEST_UNTESTED, |
| 2734 | .probe = probe_spi_rdid, |
| 2735 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2736 | .block_erasers = |
| 2737 | { |
| 2738 | { |
| 2739 | .eraseblocks = { |
| 2740 | {4 * 1024, 2}, |
| 2741 | {8 * 1024, 1}, |
| 2742 | {16 * 1024, 1}, |
| 2743 | {32 * 1024, 1}, |
| 2744 | {64 * 1024, 31}, |
| 2745 | }, |
| 2746 | .block_erase = spi_block_erase_d8, |
| 2747 | }, { |
| 2748 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2749 | .block_erase = spi_block_erase_c7, |
| 2750 | } |
| 2751 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2752 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2753 | .write = spi_chip_write_256, |
| 2754 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2755 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2756 | }, |
| 2757 | |
| 2758 | { |
| 2759 | .vendor = "Eon", |
| 2760 | .name = "EN25B16T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2761 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2762 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2763 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2764 | .total_size = 2048, |
| 2765 | .page_size = 256, |
| 2766 | .tested = TEST_UNTESTED, |
| 2767 | .probe = probe_spi_rdid, |
| 2768 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2769 | .block_erasers = |
| 2770 | { |
| 2771 | { |
| 2772 | .eraseblocks = { |
| 2773 | {64 * 1024, 31}, |
| 2774 | {32 * 1024, 1}, |
| 2775 | {16 * 1024, 1}, |
| 2776 | {8 * 1024, 1}, |
| 2777 | {4 * 1024, 2}, |
| 2778 | }, |
| 2779 | .block_erase = spi_block_erase_d8, |
| 2780 | }, { |
| 2781 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2782 | .block_erase = spi_block_erase_c7, |
| 2783 | } |
| 2784 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2785 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2786 | .write = spi_chip_write_256, |
| 2787 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2788 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2789 | }, |
| 2790 | |
| 2791 | { |
| 2792 | .vendor = "Eon", |
| 2793 | .name = "EN25B32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2794 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2795 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2796 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2797 | .total_size = 4096, |
| 2798 | .page_size = 256, |
| 2799 | .tested = TEST_UNTESTED, |
| 2800 | .probe = probe_spi_rdid, |
| 2801 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2802 | .block_erasers = |
| 2803 | { |
| 2804 | { |
| 2805 | .eraseblocks = { |
| 2806 | {4 * 1024, 2}, |
| 2807 | {8 * 1024, 1}, |
| 2808 | {16 * 1024, 1}, |
| 2809 | {32 * 1024, 1}, |
| 2810 | {64 * 1024, 63}, |
| 2811 | }, |
| 2812 | .block_erase = spi_block_erase_d8, |
| 2813 | }, { |
| 2814 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2815 | .block_erase = spi_block_erase_c7, |
| 2816 | } |
| 2817 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2818 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2819 | .write = spi_chip_write_256, |
| 2820 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2821 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2822 | }, |
| 2823 | |
| 2824 | { |
| 2825 | .vendor = "Eon", |
| 2826 | .name = "EN25B32T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2827 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2828 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2829 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2830 | .total_size = 4096, |
| 2831 | .page_size = 256, |
| 2832 | .tested = TEST_UNTESTED, |
| 2833 | .probe = probe_spi_rdid, |
| 2834 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2835 | .block_erasers = |
| 2836 | { |
| 2837 | { |
| 2838 | .eraseblocks = { |
| 2839 | {64 * 1024, 63}, |
| 2840 | {32 * 1024, 1}, |
| 2841 | {16 * 1024, 1}, |
| 2842 | {8 * 1024, 1}, |
| 2843 | {4 * 1024, 2}, |
| 2844 | }, |
| 2845 | .block_erase = spi_block_erase_d8, |
| 2846 | }, { |
| 2847 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2848 | .block_erase = spi_block_erase_c7, |
| 2849 | } |
| 2850 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2851 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2852 | .write = spi_chip_write_256, |
| 2853 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2854 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2855 | }, |
| 2856 | |
| 2857 | { |
| 2858 | .vendor = "Eon", |
| 2859 | .name = "EN25B64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2860 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2861 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2862 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2863 | .total_size = 8192, |
| 2864 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2865 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2866 | .tested = TEST_UNTESTED, |
| 2867 | .probe = probe_spi_rdid, |
| 2868 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2869 | .block_erasers = |
| 2870 | { |
| 2871 | { |
| 2872 | .eraseblocks = { |
| 2873 | {4 * 1024, 2}, |
| 2874 | {8 * 1024, 1}, |
| 2875 | {16 * 1024, 1}, |
| 2876 | {32 * 1024, 1}, |
| 2877 | {64 * 1024, 127}, |
| 2878 | }, |
| 2879 | .block_erase = spi_block_erase_d8, |
| 2880 | }, { |
| 2881 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2882 | .block_erase = spi_block_erase_c7, |
| 2883 | } |
| 2884 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2885 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2886 | .write = spi_chip_write_256, |
| 2887 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2888 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2889 | }, |
| 2890 | |
| 2891 | { |
| 2892 | .vendor = "Eon", |
| 2893 | .name = "EN25B64T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2894 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2895 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2896 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2897 | .total_size = 8192, |
| 2898 | .page_size = 256, |
| 2899 | .tested = TEST_UNTESTED, |
| 2900 | .probe = probe_spi_rdid, |
| 2901 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2902 | .block_erasers = |
| 2903 | { |
| 2904 | { |
| 2905 | .eraseblocks = { |
| 2906 | {64 * 1024, 127}, |
| 2907 | {32 * 1024, 1}, |
| 2908 | {16 * 1024, 1}, |
| 2909 | {8 * 1024, 1}, |
| 2910 | {4 * 1024, 2}, |
| 2911 | }, |
| 2912 | .block_erase = spi_block_erase_d8, |
| 2913 | }, { |
| 2914 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2915 | .block_erase = spi_block_erase_c7, |
| 2916 | } |
| 2917 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2918 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2919 | .write = spi_chip_write_256, |
| 2920 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2921 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2922 | }, |
| 2923 | |
| 2924 | { |
| 2925 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2926 | .name = "EN25F05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2927 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2928 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2929 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2930 | .total_size = 64, |
| 2931 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2932 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2933 | .tested = TEST_UNTESTED, |
| 2934 | .probe = probe_spi_rdid, |
| 2935 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2936 | .block_erasers = |
| 2937 | { |
| 2938 | { |
| 2939 | .eraseblocks = { {4 * 1024, 16} }, |
| 2940 | .block_erase = spi_block_erase_20, |
| 2941 | }, { |
| 2942 | .eraseblocks = { {32 * 1024, 2} }, |
| 2943 | .block_erase = spi_block_erase_d8, |
| 2944 | }, { |
| 2945 | .eraseblocks = { {32 * 1024, 2} }, |
| 2946 | .block_erase = spi_block_erase_52, |
| 2947 | }, { |
| 2948 | .eraseblocks = { {64 * 1024, 1} }, |
| 2949 | .block_erase = spi_block_erase_60, |
| 2950 | }, { |
| 2951 | .eraseblocks = { {64 * 1024, 1} }, |
| 2952 | .block_erase = spi_block_erase_c7, |
| 2953 | } |
| 2954 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2955 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2956 | .write = spi_chip_write_256, |
| 2957 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2958 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2959 | }, |
| 2960 | |
| 2961 | { |
| 2962 | .vendor = "Eon", |
| 2963 | .name = "EN25F10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2964 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2965 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2966 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2967 | .total_size = 128, |
| 2968 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2969 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2970 | .tested = TEST_UNTESTED, |
| 2971 | .probe = probe_spi_rdid, |
| 2972 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2973 | .block_erasers = |
| 2974 | { |
| 2975 | { |
| 2976 | .eraseblocks = { {4 * 1024, 32} }, |
| 2977 | .block_erase = spi_block_erase_20, |
| 2978 | }, { |
| 2979 | .eraseblocks = { {32 * 1024, 4} }, |
| 2980 | .block_erase = spi_block_erase_d8, |
| 2981 | }, { |
| 2982 | .eraseblocks = { {32 * 1024, 4} }, |
| 2983 | .block_erase = spi_block_erase_52, |
| 2984 | }, { |
| 2985 | .eraseblocks = { {128 * 1024, 1} }, |
| 2986 | .block_erase = spi_block_erase_60, |
| 2987 | }, { |
| 2988 | .eraseblocks = { {128 * 1024, 1} }, |
| 2989 | .block_erase = spi_block_erase_c7, |
| 2990 | } |
| 2991 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2992 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2993 | .write = spi_chip_write_256, |
| 2994 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2995 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2996 | }, |
| 2997 | |
| 2998 | { |
| 2999 | .vendor = "Eon", |
| 3000 | .name = "EN25F20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3001 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3002 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3003 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3004 | .total_size = 256, |
| 3005 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3006 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3007 | .tested = TEST_UNTESTED, |
| 3008 | .probe = probe_spi_rdid, |
| 3009 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3010 | .block_erasers = |
| 3011 | { |
| 3012 | { |
| 3013 | .eraseblocks = { {4 * 1024, 64} }, |
| 3014 | .block_erase = spi_block_erase_20, |
| 3015 | }, { |
| 3016 | .eraseblocks = { {64 * 1024, 4} }, |
| 3017 | .block_erase = spi_block_erase_d8, |
| 3018 | }, { |
| 3019 | .eraseblocks = { {64 * 1024, 4} }, |
| 3020 | .block_erase = spi_block_erase_52, |
| 3021 | }, { |
| 3022 | .eraseblocks = { {256 * 1024, 1} }, |
| 3023 | .block_erase = spi_block_erase_60, |
| 3024 | }, { |
| 3025 | .eraseblocks = { {256 * 1024, 1} }, |
| 3026 | .block_erase = spi_block_erase_c7, |
| 3027 | } |
| 3028 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3029 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3030 | .write = spi_chip_write_256, |
| 3031 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3032 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3033 | }, |
| 3034 | |
| 3035 | { |
| 3036 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3037 | .name = "EN25F40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3038 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3039 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3040 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3041 | .total_size = 512, |
| 3042 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3043 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 3044 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3045 | .probe = probe_spi_rdid, |
| 3046 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3047 | .block_erasers = |
| 3048 | { |
| 3049 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3050 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3051 | .block_erase = spi_block_erase_20, |
| 3052 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3053 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3054 | .block_erase = spi_block_erase_d8, |
| 3055 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3056 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3057 | .block_erase = spi_block_erase_60, |
| 3058 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3059 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3060 | .block_erase = spi_block_erase_c7, |
| 3061 | }, |
| 3062 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3063 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3064 | .write = spi_chip_write_256, |
| 3065 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3066 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3067 | }, |
| 3068 | |
| 3069 | { |
| 3070 | .vendor = "Eon", |
| 3071 | .name = "EN25F80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3072 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3073 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3074 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3075 | .total_size = 1024, |
| 3076 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3077 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 3078 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3079 | .probe = probe_spi_rdid, |
| 3080 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3081 | .block_erasers = |
| 3082 | { |
| 3083 | { |
| 3084 | .eraseblocks = { {4 * 1024, 256} }, |
| 3085 | .block_erase = spi_block_erase_20, |
| 3086 | }, { |
| 3087 | .eraseblocks = { {64 * 1024, 16} }, |
| 3088 | .block_erase = spi_block_erase_d8, |
| 3089 | }, { |
| 3090 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3091 | .block_erase = spi_block_erase_60, |
| 3092 | }, { |
| 3093 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3094 | .block_erase = spi_block_erase_c7, |
| 3095 | } |
| 3096 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3097 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3098 | .write = spi_chip_write_256, |
| 3099 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3100 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3101 | }, |
| 3102 | |
| 3103 | { |
| 3104 | .vendor = "Eon", |
| 3105 | .name = "EN25F16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3106 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3107 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3108 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3109 | .total_size = 2048, |
| 3110 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3111 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3112 | .tested = TEST_UNTESTED, |
| 3113 | .probe = probe_spi_rdid, |
| 3114 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3115 | .block_erasers = |
| 3116 | { |
| 3117 | { |
| 3118 | .eraseblocks = { {4 * 1024, 512} }, |
| 3119 | .block_erase = spi_block_erase_20, |
| 3120 | }, { |
| 3121 | .eraseblocks = { {64 * 1024, 32} }, |
| 3122 | .block_erase = spi_block_erase_d8, |
| 3123 | }, { |
| 3124 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3125 | .block_erase = spi_block_erase_60, |
| 3126 | }, { |
| 3127 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3128 | .block_erase = spi_block_erase_c7, |
| 3129 | } |
| 3130 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3131 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3132 | .write = spi_chip_write_256, |
| 3133 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3134 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3135 | }, |
| 3136 | |
| 3137 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3138 | .vendor = "Eon", |
| 3139 | .name = "EN25F32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3140 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3141 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3142 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3143 | .total_size = 4096, |
| 3144 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3145 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3146 | .tested = TEST_UNTESTED, |
| 3147 | .probe = probe_spi_rdid, |
| 3148 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3149 | .block_erasers = |
| 3150 | { |
| 3151 | { |
| 3152 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3153 | .block_erase = spi_block_erase_20, |
| 3154 | }, { |
| 3155 | .eraseblocks = { {64 * 1024, 64} }, |
| 3156 | .block_erase = spi_block_erase_d8, |
| 3157 | }, { |
| 3158 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3159 | .block_erase = spi_block_erase_60, |
| 3160 | }, { |
| 3161 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3162 | .block_erase = spi_block_erase_c7, |
| 3163 | } |
| 3164 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3165 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3166 | .write = spi_chip_write_256, |
| 3167 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3168 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3169 | }, |
| 3170 | |
| 3171 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3172 | .vendor = "Eon", |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3173 | .name = "EN25Q40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3174 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3175 | .manufacture_id = EON_ID_NOPREFIX, |
| 3176 | .model_id = EON_EN25Q40, |
| 3177 | .total_size = 512, |
| 3178 | .page_size = 256, |
| 3179 | /* TODO: chip features 256-byte one-time programmable region */ |
| 3180 | .feature_bits = FEATURE_WRSR_WREN, |
| 3181 | .tested = TEST_UNTESTED, |
| 3182 | .probe = probe_spi_rdid, |
| 3183 | .probe_timing = TIMING_ZERO, |
| 3184 | .block_erasers = |
| 3185 | { |
| 3186 | { |
| 3187 | .eraseblocks = { {4 * 1024, 128} }, |
| 3188 | .block_erase = spi_block_erase_20, |
| 3189 | }, { |
| 3190 | .eraseblocks = { {64 * 1024, 8} }, |
| 3191 | .block_erase = spi_block_erase_d8, |
| 3192 | }, { |
| 3193 | .eraseblocks = { {512 * 1024, 1} }, |
| 3194 | .block_erase = spi_block_erase_60, |
| 3195 | }, { |
| 3196 | .eraseblocks = { {512 * 1024, 1} }, |
| 3197 | .block_erase = spi_block_erase_c7, |
| 3198 | } |
| 3199 | }, |
| 3200 | .unlock = spi_disable_blockprotect, |
| 3201 | .write = spi_chip_write_256, |
| 3202 | .read = spi_chip_read, |
| 3203 | .voltage = {2700, 3600}, |
| 3204 | }, |
| 3205 | |
| 3206 | { |
| 3207 | .vendor = "Eon", |
| 3208 | .name = "EN25Q80(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3209 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3210 | .manufacture_id = EON_ID_NOPREFIX, |
| 3211 | .model_id = EON_EN25Q80, |
| 3212 | .total_size = 1024, |
| 3213 | .page_size = 256, |
| 3214 | /* TODO: chip features 256-byte one-time programmable region */ |
| 3215 | .feature_bits = FEATURE_WRSR_WREN, |
| 3216 | .tested = TEST_UNTESTED, |
| 3217 | .probe = probe_spi_rdid, |
| 3218 | .probe_timing = TIMING_ZERO, |
| 3219 | .block_erasers = |
| 3220 | { |
| 3221 | { |
| 3222 | .eraseblocks = { {4 * 1024, 256} }, |
| 3223 | .block_erase = spi_block_erase_20, |
| 3224 | }, { |
| 3225 | .eraseblocks = { {64 * 1024, 16} }, |
| 3226 | .block_erase = spi_block_erase_d8, |
| 3227 | }, { |
| 3228 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3229 | .block_erase = spi_block_erase_60, |
| 3230 | }, { |
| 3231 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3232 | .block_erase = spi_block_erase_c7, |
| 3233 | } |
| 3234 | }, |
| 3235 | .unlock = spi_disable_blockprotect, |
| 3236 | .write = spi_chip_write_256, |
| 3237 | .read = spi_chip_read, |
| 3238 | .voltage = {2700, 3600}, |
| 3239 | }, |
| 3240 | |
| 3241 | { |
| 3242 | /* Note: EN25D16 is an evil twin which shares the model ID |
| 3243 | but has different write protection capabilities */ |
| 3244 | .vendor = "Eon", |
| 3245 | .name = "EN25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3246 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3247 | .manufacture_id = EON_ID_NOPREFIX, |
| 3248 | .model_id = EON_EN25Q16, |
| 3249 | .total_size = 2048, |
| 3250 | .page_size = 256, |
| 3251 | /* TODO: EN25D16 features 512-byte one-time programmable region, |
| 3252 | * EN25Q16 features a 128-byte one-time programmable region */ |
| 3253 | .feature_bits = FEATURE_WRSR_WREN, |
| 3254 | .tested = TEST_UNTESTED, |
| 3255 | .probe = probe_spi_rdid, |
| 3256 | .probe_timing = TIMING_ZERO, |
| 3257 | .block_erasers = |
| 3258 | { |
| 3259 | { |
| 3260 | .eraseblocks = { {4 * 1024, 512} }, |
| 3261 | .block_erase = spi_block_erase_20, |
| 3262 | }, { |
| 3263 | .eraseblocks = { {64 * 1024, 32} }, |
| 3264 | .block_erase = spi_block_erase_d8, |
| 3265 | }, { |
| 3266 | /* not supported by Q16 version */ |
| 3267 | .eraseblocks = { {64 * 1024, 32} }, |
| 3268 | .block_erase = spi_block_erase_52, |
| 3269 | }, { |
| 3270 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3271 | .block_erase = spi_block_erase_60, |
| 3272 | }, { |
| 3273 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3274 | .block_erase = spi_block_erase_c7, |
| 3275 | } |
| 3276 | }, |
| 3277 | .unlock = spi_disable_blockprotect, |
| 3278 | .write = spi_chip_write_256, |
| 3279 | .read = spi_chip_read, |
| 3280 | .voltage = {2700, 3600}, |
| 3281 | }, |
| 3282 | |
| 3283 | { |
| 3284 | .vendor = "Eon", |
| 3285 | .name = "EN25Q32(A/B)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3286 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3287 | .manufacture_id = EON_ID_NOPREFIX, |
| 3288 | .model_id = EON_EN25Q32, |
| 3289 | .total_size = 4096, |
| 3290 | .page_size = 256, |
| 3291 | /* TODO: chip features 512-byte one-time programmable region */ |
| 3292 | .feature_bits = FEATURE_WRSR_WREN, |
| 3293 | .tested = TEST_UNTESTED, |
| 3294 | .probe = probe_spi_rdid, |
| 3295 | .probe_timing = TIMING_ZERO, |
| 3296 | .block_erasers = |
| 3297 | { |
| 3298 | { |
| 3299 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3300 | .block_erase = spi_block_erase_20, |
| 3301 | }, { |
| 3302 | .eraseblocks = { {64 * 1024, 64} }, |
| 3303 | .block_erase = spi_block_erase_d8, |
| 3304 | }, { |
| 3305 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3306 | .block_erase = spi_block_erase_60, |
| 3307 | }, { |
| 3308 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3309 | .block_erase = spi_block_erase_c7, |
| 3310 | } |
| 3311 | }, |
| 3312 | .unlock = spi_disable_blockprotect, |
| 3313 | .write = spi_chip_write_256, |
| 3314 | .read = spi_chip_read, |
| 3315 | .voltage = {2700, 3600}, |
| 3316 | }, |
| 3317 | |
| 3318 | { |
| 3319 | .vendor = "Eon", |
| 3320 | .name = "EN25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3321 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3322 | .manufacture_id = EON_ID_NOPREFIX, |
| 3323 | .model_id = EON_EN25Q64, |
| 3324 | .total_size = 8192, |
| 3325 | .page_size = 256, |
| 3326 | /* TODO: chip features 512-byte one-time programmable region */ |
| 3327 | .feature_bits = FEATURE_WRSR_WREN, |
| 3328 | .tested = TEST_UNTESTED, |
| 3329 | .probe = probe_spi_rdid, |
| 3330 | .probe_timing = TIMING_ZERO, |
| 3331 | .block_erasers = |
| 3332 | { |
| 3333 | { |
| 3334 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3335 | .block_erase = spi_block_erase_20, |
| 3336 | }, { |
| 3337 | .eraseblocks = { {64 * 1024, 128} }, |
| 3338 | .block_erase = spi_block_erase_d8, |
| 3339 | }, { |
| 3340 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3341 | .block_erase = spi_block_erase_60, |
| 3342 | }, { |
| 3343 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3344 | .block_erase = spi_block_erase_c7, |
| 3345 | } |
| 3346 | }, |
| 3347 | .unlock = spi_disable_blockprotect, |
| 3348 | .write = spi_chip_write_256, |
| 3349 | .read = spi_chip_read, |
| 3350 | .voltage = {2700, 3600}, |
| 3351 | }, |
| 3352 | |
| 3353 | { |
| 3354 | .vendor = "Eon", |
| 3355 | .name = "EN25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3356 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3357 | .manufacture_id = EON_ID_NOPREFIX, |
| 3358 | .model_id = EON_EN25Q128, |
| 3359 | .total_size = 16384, |
| 3360 | .page_size = 256, |
| 3361 | /* TODO: chip features 512-byte one-time programmable region */ |
| 3362 | .feature_bits = FEATURE_WRSR_WREN, |
| 3363 | .tested = TEST_UNTESTED, |
| 3364 | .probe = probe_spi_rdid, |
| 3365 | .probe_timing = TIMING_ZERO, |
| 3366 | .block_erasers = |
| 3367 | { |
| 3368 | { |
| 3369 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3370 | .block_erase = spi_block_erase_20, |
| 3371 | }, { |
| 3372 | .eraseblocks = { {64 * 1024, 256} }, |
| 3373 | .block_erase = spi_block_erase_d8, |
| 3374 | }, { |
| 3375 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3376 | .block_erase = spi_block_erase_60, |
| 3377 | }, { |
| 3378 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3379 | .block_erase = spi_block_erase_c7, |
| 3380 | } |
| 3381 | }, |
| 3382 | .unlock = spi_disable_blockprotect, |
| 3383 | .write = spi_chip_write_256, |
| 3384 | .read = spi_chip_read, |
| 3385 | }, |
| 3386 | |
| 3387 | { |
| 3388 | .vendor = "Eon", |
| 3389 | .name = "EN25QH16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3390 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3391 | .manufacture_id = EON_ID_NOPREFIX, |
| 3392 | .model_id = EON_EN25QH16, |
| 3393 | .total_size = 2048, |
| 3394 | .page_size = 256, |
| 3395 | /* TODO: chip features 512-byte one-time programmable region |
| 3396 | * and supports SFDP. |
| 3397 | */ |
| 3398 | .feature_bits = FEATURE_WRSR_WREN, |
| 3399 | .tested = TEST_UNTESTED, |
| 3400 | .probe = probe_spi_rdid, |
| 3401 | .probe_timing = TIMING_ZERO, |
| 3402 | .block_erasers = |
| 3403 | { |
| 3404 | { |
| 3405 | .eraseblocks = { {4 * 1024, 512} }, |
| 3406 | .block_erase = spi_block_erase_20, |
| 3407 | }, { |
| 3408 | .eraseblocks = { {64 * 1024, 32} }, |
| 3409 | .block_erase = spi_block_erase_d8, |
| 3410 | }, { |
| 3411 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3412 | .block_erase = spi_block_erase_60, |
| 3413 | }, { |
| 3414 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3415 | .block_erase = spi_block_erase_c7, |
| 3416 | } |
| 3417 | }, |
| 3418 | .unlock = spi_disable_blockprotect, |
| 3419 | .write = spi_chip_write_256, |
| 3420 | .read = spi_chip_read, |
| 3421 | .voltage = {2700, 3600}, |
| 3422 | }, |
| 3423 | |
| 3424 | { |
| 3425 | .vendor = "Eon", |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3426 | .name = "EN29F010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3427 | .bustype = BUS_PARALLEL, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3428 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3429 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3430 | .total_size = 128, |
| 3431 | .page_size = 128, |
| 3432 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3433 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3434 | .probe = probe_jedec, |
| 3435 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3436 | .block_erasers = |
| 3437 | { |
| 3438 | { |
| 3439 | .eraseblocks = { {16 * 1024, 8} }, |
| 3440 | .block_erase = erase_sector_jedec, |
| 3441 | }, |
| 3442 | { |
| 3443 | .eraseblocks = { {128 * 1024, 1} }, |
| 3444 | .block_erase = erase_chip_block_jedec, |
| 3445 | }, |
| 3446 | }, |
| 3447 | .write = write_jedec_1, |
| 3448 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3449 | .voltage = {4500, 5500}, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3450 | }, |
| 3451 | |
| 3452 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3453 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3454 | .name = "EN29F002(A)(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3455 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3456 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3457 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3458 | .total_size = 256, |
| 3459 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3460 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3461 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3462 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3463 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3464 | .block_erasers = |
| 3465 | { |
| 3466 | { |
| 3467 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3468 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3469 | {8 * 1024, 2}, |
| 3470 | {32 * 1024, 1}, |
| 3471 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3472 | }, |
| 3473 | .block_erase = erase_sector_jedec, |
| 3474 | }, { |
| 3475 | .eraseblocks = { {256 * 1024, 1} }, |
| 3476 | .block_erase = erase_chip_block_jedec, |
| 3477 | }, |
| 3478 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3479 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3480 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3481 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3482 | }, |
| 3483 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3484 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3485 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3486 | .name = "EN29F002(A)(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3487 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3488 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3489 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3490 | .total_size = 256, |
| 3491 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3492 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3493 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3494 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3495 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3496 | .block_erasers = |
| 3497 | { |
| 3498 | { |
| 3499 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3500 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3501 | {32 * 1024, 1}, |
| 3502 | {8 * 1024, 2}, |
| 3503 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3504 | }, |
| 3505 | .block_erase = erase_sector_jedec, |
| 3506 | }, { |
| 3507 | .eraseblocks = { {256 * 1024, 1} }, |
| 3508 | .block_erase = erase_chip_block_jedec, |
| 3509 | }, |
| 3510 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3511 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3512 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3513 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3514 | }, |
| 3515 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3516 | { |
| 3517 | .vendor = "Fujitsu", |
| 3518 | .name = "MBM29F004BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3519 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3520 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3521 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3522 | .total_size = 512, |
| 3523 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3524 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3525 | .tested = TEST_UNTESTED, |
| 3526 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3527 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3528 | .block_erasers = |
| 3529 | { |
| 3530 | { |
| 3531 | .eraseblocks = { |
| 3532 | {16 * 1024, 1}, |
| 3533 | {8 * 1024, 2}, |
| 3534 | {32 * 1024, 1}, |
| 3535 | {64 * 1024, 7}, |
| 3536 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3537 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3538 | }, { |
| 3539 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3540 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3541 | }, |
| 3542 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3543 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3544 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3545 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3546 | }, |
| 3547 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3548 | { |
| 3549 | .vendor = "Fujitsu", |
| 3550 | .name = "MBM29F004TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3551 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3552 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3553 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3554 | .total_size = 512, |
| 3555 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3556 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3557 | .tested = TEST_UNTESTED, |
| 3558 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3559 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3560 | .block_erasers = |
| 3561 | { |
| 3562 | { |
| 3563 | .eraseblocks = { |
| 3564 | {64 * 1024, 7}, |
| 3565 | {32 * 1024, 1}, |
| 3566 | {8 * 1024, 2}, |
| 3567 | {16 * 1024, 1}, |
| 3568 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3569 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3570 | }, { |
| 3571 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3572 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3573 | }, |
| 3574 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3575 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3576 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3577 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3578 | }, |
| 3579 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3580 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3581 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3582 | .vendor = "Fujitsu", |
| 3583 | .name = "MBM29F400BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3584 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3585 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3586 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3587 | .total_size = 512, |
| 3588 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3589 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3590 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3591 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3592 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3593 | .block_erasers = |
| 3594 | { |
| 3595 | { |
| 3596 | .eraseblocks = { |
| 3597 | {16 * 1024, 1}, |
| 3598 | {8 * 1024, 2}, |
| 3599 | {32 * 1024, 1}, |
| 3600 | {64 * 1024, 7}, |
| 3601 | }, |
| 3602 | .block_erase = block_erase_m29f400bt, |
| 3603 | }, { |
| 3604 | .eraseblocks = { {512 * 1024, 1} }, |
| 3605 | .block_erase = block_erase_chip_m29f400bt, |
| 3606 | }, |
| 3607 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3608 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3609 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3610 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3611 | }, |
| 3612 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3613 | { |
| 3614 | .vendor = "Fujitsu", |
| 3615 | .name = "MBM29F400TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3616 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3617 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3618 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3619 | .total_size = 512, |
| 3620 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3621 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3622 | .tested = TEST_UNTESTED, |
| 3623 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3624 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3625 | .block_erasers = |
| 3626 | { |
| 3627 | { |
| 3628 | .eraseblocks = { |
| 3629 | {64 * 1024, 7}, |
| 3630 | {32 * 1024, 1}, |
| 3631 | {8 * 1024, 2}, |
| 3632 | {16 * 1024, 1}, |
| 3633 | }, |
| 3634 | .block_erase = block_erase_m29f400bt, |
| 3635 | }, { |
| 3636 | .eraseblocks = { {512 * 1024, 1} }, |
| 3637 | .block_erase = block_erase_chip_m29f400bt, |
| 3638 | }, |
| 3639 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3640 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3641 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3642 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3643 | }, |
| 3644 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3645 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3646 | .vendor = "Hyundai", |
| 3647 | .name = "HY29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3648 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3649 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3650 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3651 | .total_size = 256, |
| 3652 | .page_size = 256 * 1024, |
| 3653 | .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] | 3654 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3655 | .probe = probe_jedec, |
| 3656 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3657 | .block_erasers = |
| 3658 | { |
| 3659 | { |
| 3660 | .eraseblocks = { |
| 3661 | {64 * 1024, 3}, |
| 3662 | {32 * 1024, 1}, |
| 3663 | {8 * 1024, 2}, |
| 3664 | {16 * 1024, 1}, |
| 3665 | }, |
| 3666 | .block_erase = erase_sector_jedec, |
| 3667 | }, { |
| 3668 | .eraseblocks = { {256 * 1024, 1} }, |
| 3669 | .block_erase = erase_chip_block_jedec, |
| 3670 | }, |
| 3671 | }, |
| 3672 | .write = write_jedec_1, |
| 3673 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3674 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -45, others 4.5-5.5V */ |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3675 | }, |
| 3676 | |
| 3677 | { |
| 3678 | .vendor = "Hyundai", |
| 3679 | .name = "HY29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3680 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3681 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3682 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3683 | .total_size = 256, |
| 3684 | .page_size = 256 * 1024, |
| 3685 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3686 | .tested = TEST_UNTESTED, |
| 3687 | .probe = probe_jedec, |
| 3688 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3689 | .block_erasers = |
| 3690 | { |
| 3691 | { |
| 3692 | .eraseblocks = { |
| 3693 | {16 * 1024, 1}, |
| 3694 | {8 * 1024, 2}, |
| 3695 | {32 * 1024, 1}, |
| 3696 | {64 * 1024, 3}, |
| 3697 | }, |
| 3698 | .block_erase = erase_sector_jedec, |
| 3699 | }, { |
| 3700 | .eraseblocks = { {256 * 1024, 1} }, |
| 3701 | .block_erase = erase_chip_block_jedec, |
| 3702 | }, |
| 3703 | }, |
| 3704 | .write = write_jedec_1, |
| 3705 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3706 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -45, others 4.5-5.5V */ |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3707 | }, |
| 3708 | |
| 3709 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3710 | .vendor = "Hyundai", |
| 3711 | .name = "HY29F040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3712 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3713 | .manufacture_id = HYUNDAI_ID, |
| 3714 | .model_id = HYUNDAI_HY29F040A, |
| 3715 | .total_size = 512, |
| 3716 | .page_size = 64 * 1024, |
| 3717 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3718 | .tested = TEST_UNTESTED, |
| 3719 | .probe = probe_jedec, |
| 3720 | .probe_timing = TIMING_ZERO, |
| 3721 | .block_erasers = |
| 3722 | { |
| 3723 | { |
| 3724 | .eraseblocks = { {64 * 1024, 8} }, |
| 3725 | .block_erase = erase_sector_jedec, |
| 3726 | }, { |
| 3727 | .eraseblocks = { {512 * 1024, 1} }, |
| 3728 | .block_erase = erase_chip_block_jedec, |
| 3729 | }, |
| 3730 | }, |
| 3731 | .write = write_jedec_1, |
| 3732 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3733 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3734 | }, |
| 3735 | |
| 3736 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3737 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3738 | .name = "28F001BN/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3739 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3740 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3741 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3742 | .total_size = 128, |
| 3743 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3744 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3745 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3746 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3747 | .block_erasers = |
| 3748 | { |
| 3749 | { |
| 3750 | .eraseblocks = { |
| 3751 | {8 * 1024, 1}, |
| 3752 | {4 * 1024, 2}, |
| 3753 | {112 * 1024, 1}, |
| 3754 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3755 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3756 | }, |
| 3757 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3758 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3759 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3760 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3761 | }, |
| 3762 | |
| 3763 | { |
| 3764 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3765 | .name = "28F001BN/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3766 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3767 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3768 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3769 | .total_size = 128, |
| 3770 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3771 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3772 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3773 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3774 | .block_erasers = |
| 3775 | { |
| 3776 | { |
| 3777 | .eraseblocks = { |
| 3778 | {112 * 1024, 1}, |
| 3779 | {4 * 1024, 2}, |
| 3780 | {8 * 1024, 1}, |
| 3781 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3782 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3783 | }, |
| 3784 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3785 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3786 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3787 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3788 | }, |
| 3789 | |
| 3790 | { |
| 3791 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3792 | .name = "28F002BC/BL/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3793 | .bustype = BUS_PARALLEL, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3794 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3795 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3796 | .total_size = 256, |
| 3797 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3798 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3799 | .probe = probe_82802ab, |
| 3800 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3801 | .block_erasers = |
| 3802 | { |
| 3803 | { |
| 3804 | .eraseblocks = { |
| 3805 | {128 * 1024, 1}, |
| 3806 | {96 * 1024, 1}, |
| 3807 | {8 * 1024, 2}, |
| 3808 | {16 * 1024, 1}, |
| 3809 | }, |
| 3810 | .block_erase = erase_block_82802ab, |
| 3811 | }, |
| 3812 | }, |
| 3813 | .write = write_82802ab, |
| 3814 | .read = read_memmapped, |
| 3815 | }, |
| 3816 | |
| 3817 | { |
| 3818 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3819 | .name = "28F008S3/S5/SC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3820 | .bustype = BUS_PARALLEL, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3821 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3822 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3823 | .total_size = 512, |
| 3824 | .page_size = 256, |
| 3825 | .tested = TEST_UNTESTED, |
| 3826 | .probe = probe_82802ab, |
| 3827 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3828 | .block_erasers = |
| 3829 | { |
| 3830 | { |
| 3831 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3832 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3833 | }, |
| 3834 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3835 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3836 | .write = write_82802ab, |
| 3837 | .read = read_memmapped, |
| 3838 | }, |
| 3839 | |
| 3840 | { |
| 3841 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3842 | .name = "28F004B5/BE/BV/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3843 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3844 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3845 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3846 | .total_size = 512, |
| 3847 | .page_size = 128 * 1024, /* maximal block size */ |
| 3848 | .tested = TEST_UNTESTED, |
| 3849 | .probe = probe_82802ab, |
| 3850 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3851 | .block_erasers = |
| 3852 | { |
| 3853 | { |
| 3854 | .eraseblocks = { |
| 3855 | {16 * 1024, 1}, |
| 3856 | {8 * 1024, 2}, |
| 3857 | {96 * 1024, 1}, |
| 3858 | {128 * 1024, 3}, |
| 3859 | }, |
| 3860 | .block_erase = erase_block_82802ab, |
| 3861 | }, |
| 3862 | }, |
| 3863 | .write = write_82802ab, |
| 3864 | .read = read_memmapped, |
| 3865 | }, |
| 3866 | |
| 3867 | { |
| 3868 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3869 | .name = "28F004B5/BE/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3870 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3871 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3872 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3873 | .total_size = 512, |
| 3874 | .page_size = 128 * 1024, /* maximal block size */ |
| 3875 | .tested = TEST_UNTESTED, |
| 3876 | .probe = probe_82802ab, |
| 3877 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3878 | .block_erasers = |
| 3879 | { |
| 3880 | { |
| 3881 | .eraseblocks = { |
| 3882 | {128 * 1024, 3}, |
| 3883 | {96 * 1024, 1}, |
| 3884 | {8 * 1024, 2}, |
| 3885 | {16 * 1024, 1}, |
| 3886 | }, |
| 3887 | .block_erase = erase_block_82802ab, |
| 3888 | }, |
| 3889 | }, |
| 3890 | .write = write_82802ab, |
| 3891 | .read = read_memmapped, |
| 3892 | }, |
| 3893 | |
| 3894 | { |
| 3895 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3896 | .name = "28F400BV/BX/CE/CV-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3897 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3898 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3899 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3900 | .total_size = 512, |
| 3901 | .page_size = 128 * 1024, /* maximal block size */ |
| 3902 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3903 | .tested = TEST_UNTESTED, |
| 3904 | .probe = probe_82802ab, |
| 3905 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3906 | .block_erasers = |
| 3907 | { |
| 3908 | { |
| 3909 | .eraseblocks = { |
| 3910 | {16 * 1024, 1}, |
| 3911 | {8 * 1024, 2}, |
| 3912 | {96 * 1024, 1}, |
| 3913 | {128 * 1024, 3}, |
| 3914 | }, |
| 3915 | .block_erase = erase_block_82802ab, |
| 3916 | }, |
| 3917 | }, |
| 3918 | .write = write_82802ab, |
| 3919 | .read = read_memmapped, |
| 3920 | }, |
| 3921 | |
| 3922 | { |
| 3923 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3924 | .name = "28F400BV/BX/CE/CV-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3925 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3926 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3927 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3928 | .total_size = 512, |
| 3929 | .page_size = 128 * 1024, /* maximal block size */ |
| 3930 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3931 | .tested = TEST_UNTESTED, |
| 3932 | .probe = probe_82802ab, |
| 3933 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3934 | .block_erasers = |
| 3935 | { |
| 3936 | { |
| 3937 | .eraseblocks = { |
| 3938 | {128 * 1024, 3}, |
| 3939 | {96 * 1024, 1}, |
| 3940 | {8 * 1024, 2}, |
| 3941 | {16 * 1024, 1}, |
| 3942 | }, |
| 3943 | .block_erase = erase_block_82802ab, |
| 3944 | }, |
| 3945 | }, |
| 3946 | .write = write_82802ab, |
| 3947 | .read = read_memmapped, |
| 3948 | }, |
| 3949 | |
| 3950 | { |
| 3951 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3952 | .name = "82802AB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3953 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3954 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3955 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3956 | .total_size = 512, |
| 3957 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3958 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 3959 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3960 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3961 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3962 | .block_erasers = |
| 3963 | { |
| 3964 | { |
| 3965 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3966 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3967 | }, |
| 3968 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3969 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3970 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3971 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3972 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3973 | }, |
| 3974 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3975 | { |
| 3976 | .vendor = "Intel", |
| 3977 | .name = "82802AC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3978 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3979 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3980 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3981 | .total_size = 1024, |
| 3982 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3983 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3984 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3985 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3986 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3987 | .block_erasers = |
| 3988 | { |
| 3989 | { |
| 3990 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3991 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3992 | }, |
| 3993 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3994 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3995 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3996 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3997 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3998 | }, |
| 3999 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4000 | { |
| 4001 | .vendor = "Macronix", |
| 4002 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4003 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4004 | .manufacture_id = MACRONIX_ID, |
| 4005 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4006 | .total_size = 64, |
| 4007 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4008 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4009 | .tested = TEST_UNTESTED, |
| 4010 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4011 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4012 | .block_erasers = |
| 4013 | { |
| 4014 | { |
| 4015 | .eraseblocks = { {4 * 1024, 16} }, |
| 4016 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4017 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4018 | .eraseblocks = { {64 * 1024, 1} }, |
| 4019 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4020 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4021 | .eraseblocks = { {64 * 1024, 1} }, |
| 4022 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4023 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4024 | .eraseblocks = { {64 * 1024, 1} }, |
| 4025 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4026 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4027 | .eraseblocks = { {64 * 1024, 1} }, |
| 4028 | .block_erase = spi_block_erase_c7, |
| 4029 | }, |
| 4030 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4031 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4032 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4033 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4034 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4035 | }, |
| 4036 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4037 | { |
| 4038 | .vendor = "Macronix", |
| 4039 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4040 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4041 | .manufacture_id = MACRONIX_ID, |
| 4042 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4043 | .total_size = 128, |
| 4044 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4045 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4046 | .tested = TEST_UNTESTED, |
| 4047 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4048 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4049 | .block_erasers = |
| 4050 | { |
| 4051 | { |
| 4052 | .eraseblocks = { {4 * 1024, 32} }, |
| 4053 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4054 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4055 | .eraseblocks = { {64 * 1024, 2} }, |
| 4056 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4057 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4058 | .eraseblocks = { {128 * 1024, 1} }, |
| 4059 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4060 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4061 | .eraseblocks = { {128 * 1024, 1} }, |
| 4062 | .block_erase = spi_block_erase_c7, |
| 4063 | }, |
| 4064 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4065 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4066 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4067 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4068 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4069 | }, |
| 4070 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4071 | { |
| 4072 | .vendor = "Macronix", |
| 4073 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4074 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4075 | .manufacture_id = MACRONIX_ID, |
| 4076 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4077 | .total_size = 256, |
| 4078 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4079 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4080 | .tested = TEST_UNTESTED, |
| 4081 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4082 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4083 | .block_erasers = |
| 4084 | { |
| 4085 | { |
| 4086 | .eraseblocks = { {4 * 1024, 64} }, |
| 4087 | .block_erase = spi_block_erase_20, |
| 4088 | }, { |
| 4089 | .eraseblocks = { {64 * 1024, 4} }, |
| 4090 | .block_erase = spi_block_erase_52, |
| 4091 | }, { |
| 4092 | .eraseblocks = { {64 * 1024, 4} }, |
| 4093 | .block_erase = spi_block_erase_d8, |
| 4094 | }, { |
| 4095 | .eraseblocks = { {256 * 1024, 1} }, |
| 4096 | .block_erase = spi_block_erase_60, |
| 4097 | }, { |
| 4098 | .eraseblocks = { {256 * 1024, 1} }, |
| 4099 | .block_erase = spi_block_erase_c7, |
| 4100 | }, |
| 4101 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4102 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4103 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4104 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4105 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4106 | }, |
| 4107 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4108 | { |
| 4109 | .vendor = "Macronix", |
| 4110 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4111 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4112 | .manufacture_id = MACRONIX_ID, |
| 4113 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4114 | .total_size = 512, |
| 4115 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4116 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 4117 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4118 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4119 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4120 | .block_erasers = |
| 4121 | { |
| 4122 | { |
| 4123 | .eraseblocks = { {4 * 1024, 128} }, |
| 4124 | .block_erase = spi_block_erase_20, |
| 4125 | }, { |
| 4126 | .eraseblocks = { {64 * 1024, 8} }, |
| 4127 | .block_erase = spi_block_erase_52, |
| 4128 | }, { |
| 4129 | .eraseblocks = { {64 * 1024, 8} }, |
| 4130 | .block_erase = spi_block_erase_d8, |
| 4131 | }, { |
| 4132 | .eraseblocks = { {512 * 1024, 1} }, |
| 4133 | .block_erase = spi_block_erase_60, |
| 4134 | }, { |
| 4135 | .eraseblocks = { {512 * 1024, 1} }, |
| 4136 | .block_erase = spi_block_erase_c7, |
| 4137 | }, |
| 4138 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4139 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4140 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4141 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4142 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4143 | }, |
| 4144 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4145 | { |
| 4146 | .vendor = "Macronix", |
| 4147 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4148 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4149 | .manufacture_id = MACRONIX_ID, |
| 4150 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4151 | .total_size = 1024, |
| 4152 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4153 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 4154 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4155 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4156 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4157 | .block_erasers = |
| 4158 | { |
| 4159 | { |
| 4160 | .eraseblocks = { {4 * 1024, 256} }, |
| 4161 | .block_erase = spi_block_erase_20, |
| 4162 | }, { |
| 4163 | .eraseblocks = { {64 * 1024, 16} }, |
| 4164 | .block_erase = spi_block_erase_52, |
| 4165 | }, { |
| 4166 | .eraseblocks = { {64 * 1024, 16} }, |
| 4167 | .block_erase = spi_block_erase_d8, |
| 4168 | }, { |
| 4169 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4170 | .block_erase = spi_block_erase_60, |
| 4171 | }, { |
| 4172 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4173 | .block_erase = spi_block_erase_c7, |
| 4174 | }, |
| 4175 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4176 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4177 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4178 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4179 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4180 | }, |
| 4181 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4182 | { |
| 4183 | .vendor = "Macronix", |
| 4184 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4185 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4186 | .manufacture_id = MACRONIX_ID, |
| 4187 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4188 | .total_size = 2048, |
| 4189 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4190 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 4191 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4192 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4193 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4194 | .block_erasers = |
| 4195 | { |
| 4196 | { |
| 4197 | .eraseblocks = { {4 * 1024, 512} }, |
| 4198 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 4199 | }, { |
| 4200 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 4201 | .block_erase = spi_block_erase_52, |
| 4202 | }, { |
| 4203 | .eraseblocks = { {64 * 1024, 32} }, |
| 4204 | .block_erase = spi_block_erase_d8, |
| 4205 | }, { |
| 4206 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4207 | .block_erase = spi_block_erase_60, |
| 4208 | }, { |
| 4209 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4210 | .block_erase = spi_block_erase_c7, |
| 4211 | }, |
| 4212 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4213 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4214 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4215 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4216 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4217 | }, |
| 4218 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4219 | { |
| 4220 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4221 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4222 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4223 | .manufacture_id = MACRONIX_ID, |
| 4224 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4225 | .total_size = 2048, |
| 4226 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4227 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4228 | .tested = TEST_UNTESTED, |
| 4229 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4230 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4231 | .block_erasers = |
| 4232 | { |
| 4233 | { |
| 4234 | .eraseblocks = { {4 * 1024, 512} }, |
| 4235 | .block_erase = spi_block_erase_20, |
| 4236 | }, { |
| 4237 | .eraseblocks = { {64 * 1024, 32} }, |
| 4238 | .block_erase = spi_block_erase_d8, |
| 4239 | }, { |
| 4240 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4241 | .block_erase = spi_block_erase_60, |
| 4242 | }, { |
| 4243 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4244 | .block_erase = spi_block_erase_c7, |
| 4245 | } |
| 4246 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4247 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4248 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4249 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4250 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4251 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 4252 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4253 | { |
| 4254 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4255 | .name = "MX25L1635E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4256 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4257 | .manufacture_id = MACRONIX_ID, |
| 4258 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4259 | .total_size = 2048, |
| 4260 | .page_size = 256, |
| 4261 | .feature_bits = FEATURE_WRSR_WREN, |
| 4262 | .tested = TEST_UNTESTED, |
| 4263 | .probe = probe_spi_rdid, |
| 4264 | .probe_timing = TIMING_ZERO, |
| 4265 | .block_erasers = |
| 4266 | { |
| 4267 | { |
| 4268 | .eraseblocks = { {4 * 1024, 512} }, |
| 4269 | .block_erase = spi_block_erase_20, |
| 4270 | }, { |
| 4271 | .eraseblocks = { {64 * 1024, 32} }, |
| 4272 | .block_erase = spi_block_erase_d8, |
| 4273 | }, { |
| 4274 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4275 | .block_erase = spi_block_erase_60, |
| 4276 | }, { |
| 4277 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4278 | .block_erase = spi_block_erase_c7, |
| 4279 | } |
| 4280 | }, |
| 4281 | .unlock = spi_disable_blockprotect, |
| 4282 | .write = spi_chip_write_256, |
| 4283 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4284 | .voltage = {2700, 3600}, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4285 | }, |
| 4286 | |
| 4287 | { |
| 4288 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4289 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4290 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4291 | .manufacture_id = MACRONIX_ID, |
| 4292 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4293 | .total_size = 4096, |
| 4294 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4295 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 4296 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4297 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4298 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4299 | .block_erasers = |
| 4300 | { |
| 4301 | { |
| 4302 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4303 | .block_erase = spi_block_erase_20, |
| 4304 | }, { |
| 4305 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4306 | .block_erase = spi_block_erase_d8, |
| 4307 | }, { |
| 4308 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4309 | .block_erase = spi_block_erase_60, |
| 4310 | }, { |
| 4311 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4312 | .block_erase = spi_block_erase_c7, |
| 4313 | }, |
| 4314 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4315 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4316 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4317 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4318 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4319 | }, |
| 4320 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4321 | { |
| 4322 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4323 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4324 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4325 | .manufacture_id = MACRONIX_ID, |
| 4326 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4327 | .total_size = 4096, |
| 4328 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4329 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4330 | .tested = TEST_UNTESTED, |
| 4331 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4332 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4333 | .block_erasers = |
| 4334 | { |
| 4335 | { |
| 4336 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4337 | .block_erase = spi_block_erase_20, |
| 4338 | }, { |
| 4339 | .eraseblocks = { {64 * 1024, 64} }, |
| 4340 | .block_erase = spi_block_erase_d8, |
| 4341 | }, { |
| 4342 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4343 | .block_erase = spi_block_erase_60, |
| 4344 | }, { |
| 4345 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4346 | .block_erase = spi_block_erase_c7, |
| 4347 | } |
| 4348 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4349 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4350 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4351 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4352 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4353 | }, |
| 4354 | |
| 4355 | { |
| 4356 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4357 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4358 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4359 | .manufacture_id = MACRONIX_ID, |
| 4360 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4361 | .total_size = 8192, |
| 4362 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4363 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 4364 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4365 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4366 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4367 | .block_erasers = |
| 4368 | { |
| 4369 | { |
| 4370 | .eraseblocks = { {64 * 1024, 128} }, |
| 4371 | .block_erase = spi_block_erase_20, |
| 4372 | }, { |
| 4373 | .eraseblocks = { {64 * 1024, 128} }, |
| 4374 | .block_erase = spi_block_erase_d8, |
| 4375 | }, { |
| 4376 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4377 | .block_erase = spi_block_erase_60, |
| 4378 | }, { |
| 4379 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4380 | .block_erase = spi_block_erase_c7, |
| 4381 | } |
| 4382 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4383 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4384 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4385 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4386 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4387 | }, |
| 4388 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4389 | { |
| 4390 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4391 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4392 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4393 | .manufacture_id = MACRONIX_ID, |
| 4394 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4395 | .total_size = 16384, |
| 4396 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4397 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4398 | .tested = TEST_UNTESTED, |
| 4399 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4400 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4401 | .block_erasers = |
| 4402 | { |
| 4403 | { |
| 4404 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4405 | .block_erase = spi_block_erase_20, |
| 4406 | }, { |
| 4407 | .eraseblocks = { {64 * 1024, 256} }, |
| 4408 | .block_erase = spi_block_erase_d8, |
| 4409 | }, { |
| 4410 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4411 | .block_erase = spi_block_erase_60, |
| 4412 | }, { |
| 4413 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4414 | .block_erase = spi_block_erase_c7, |
| 4415 | } |
| 4416 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4417 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4418 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4419 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4420 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4421 | }, |
| 4422 | |
| 4423 | { |
| 4424 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4425 | .name = "MX29F001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4426 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4427 | .manufacture_id = MACRONIX_ID, |
| 4428 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4429 | .total_size = 128, |
| 4430 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4431 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4432 | .tested = TEST_UNTESTED, |
| 4433 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4434 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4435 | .block_erasers = |
| 4436 | { |
| 4437 | { |
| 4438 | .eraseblocks = { |
| 4439 | {8 * 1024, 1}, |
| 4440 | {4 * 1024, 2}, |
| 4441 | {8 * 1024, 2}, |
| 4442 | {32 * 1024, 1}, |
| 4443 | {64 * 1024, 1}, |
| 4444 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4445 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4446 | }, { |
| 4447 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4448 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4449 | } |
| 4450 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4451 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4452 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4453 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4454 | }, |
| 4455 | |
| 4456 | { |
| 4457 | .vendor = "Macronix", |
| 4458 | .name = "MX29F001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4459 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4460 | .manufacture_id = MACRONIX_ID, |
| 4461 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4462 | .total_size = 128, |
| 4463 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4464 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 4465 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4466 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4467 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4468 | .block_erasers = |
| 4469 | { |
| 4470 | { |
| 4471 | .eraseblocks = { |
| 4472 | {64 * 1024, 1}, |
| 4473 | {32 * 1024, 1}, |
| 4474 | {8 * 1024, 2}, |
| 4475 | {4 * 1024, 2}, |
| 4476 | {8 * 1024, 1}, |
| 4477 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4478 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4479 | }, { |
| 4480 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4481 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4482 | } |
| 4483 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4484 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4485 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4486 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4487 | }, |
| 4488 | |
| 4489 | { |
| 4490 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4491 | .name = "MX29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4492 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4493 | .manufacture_id = MACRONIX_ID, |
| 4494 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4495 | .total_size = 256, |
| 4496 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4497 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4498 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4499 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4500 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4501 | .block_erasers = |
| 4502 | { |
| 4503 | { |
| 4504 | .eraseblocks = { |
| 4505 | {16 * 1024, 1}, |
| 4506 | {8 * 1024, 2}, |
| 4507 | {32 * 1024, 1}, |
| 4508 | {64 * 1024, 3}, |
| 4509 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4510 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4511 | }, { |
| 4512 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4513 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4514 | }, |
| 4515 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4516 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4517 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4518 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4519 | }, |
| 4520 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4521 | { |
| 4522 | .vendor = "Macronix", |
| 4523 | .name = "MX29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4524 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4525 | .manufacture_id = MACRONIX_ID, |
| 4526 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4527 | .total_size = 256, |
| 4528 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4529 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4530 | .tested = TEST_OK_PR, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4531 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4532 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4533 | .block_erasers = |
| 4534 | { |
| 4535 | { |
| 4536 | .eraseblocks = { |
| 4537 | {64 * 1024, 3}, |
| 4538 | {32 * 1024, 1}, |
| 4539 | {8 * 1024, 2}, |
| 4540 | {16 * 1024, 1}, |
| 4541 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4542 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4543 | }, { |
| 4544 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4545 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4546 | }, |
| 4547 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4548 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4549 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4550 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4551 | }, |
| 4552 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4553 | { |
| 4554 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4555 | .name = "MX29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4556 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4557 | .manufacture_id = MACRONIX_ID, |
| 4558 | .model_id = MACRONIX_MX29F040, |
| 4559 | .total_size = 512, |
| 4560 | .page_size = 64 * 1024, |
| 4561 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4562 | .tested = TEST_UNTESTED, |
| 4563 | .probe = probe_jedec, |
| 4564 | .probe_timing = TIMING_ZERO, |
| 4565 | .block_erasers = |
| 4566 | { |
| 4567 | { |
| 4568 | .eraseblocks = { {64 * 1024, 8} }, |
| 4569 | .block_erase = erase_sector_jedec, |
| 4570 | }, { |
| 4571 | .eraseblocks = { {512 * 1024, 1} }, |
| 4572 | .block_erase = erase_chip_block_jedec, |
| 4573 | }, |
| 4574 | }, |
| 4575 | .write = write_jedec_1, |
| 4576 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4577 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4578 | }, |
| 4579 | |
| 4580 | { |
| 4581 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 4582 | .name = "MX29LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4583 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4584 | .manufacture_id = MACRONIX_ID, |
| 4585 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4586 | .total_size = 512, |
| 4587 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4588 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4589 | .tested = TEST_UNTESTED, |
| 4590 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4591 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4592 | .block_erasers = |
| 4593 | { |
| 4594 | { |
| 4595 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4596 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4597 | }, { |
| 4598 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4599 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4600 | }, |
| 4601 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4602 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4603 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4604 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 4605 | }, |
| 4606 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4607 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4608 | .vendor = "MoselVitelic", |
| 4609 | .name = "V29C51000B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4610 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4611 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4612 | .model_id = MVC_V29C51000B, |
| 4613 | .total_size = 64, |
| 4614 | .page_size = 512, |
| 4615 | .feature_bits = FEATURE_EITHER_RESET, |
| 4616 | .tested = TEST_UNTESTED, |
| 4617 | .probe = probe_jedec, |
| 4618 | .probe_timing = TIMING_ZERO, |
| 4619 | .block_erasers = |
| 4620 | { |
| 4621 | { |
| 4622 | .eraseblocks = { {512, 128} }, |
| 4623 | .block_erase = erase_sector_jedec, |
| 4624 | }, { |
| 4625 | .eraseblocks = { {64 * 1024, 1} }, |
| 4626 | .block_erase = erase_chip_block_jedec, |
| 4627 | }, |
| 4628 | }, |
| 4629 | .write = write_jedec_1, |
| 4630 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4631 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4632 | }, |
| 4633 | |
| 4634 | { |
| 4635 | .vendor = "MoselVitelic", |
| 4636 | .name = "V29C51000T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4637 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4638 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4639 | .model_id = MVC_V29C51000T, |
| 4640 | .total_size = 64, |
| 4641 | .page_size = 512, |
| 4642 | .feature_bits = FEATURE_EITHER_RESET, |
| 4643 | .tested = TEST_UNTESTED, |
| 4644 | .probe = probe_jedec, |
| 4645 | .probe_timing = TIMING_ZERO, |
| 4646 | .block_erasers = |
| 4647 | { |
| 4648 | { |
| 4649 | .eraseblocks = { {512, 128} }, |
| 4650 | .block_erase = erase_sector_jedec, |
| 4651 | }, { |
| 4652 | .eraseblocks = { {64 * 1024, 1} }, |
| 4653 | .block_erase = erase_chip_block_jedec, |
| 4654 | }, |
| 4655 | }, |
| 4656 | .write = write_jedec_1, |
| 4657 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4658 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4659 | }, |
| 4660 | |
| 4661 | { |
| 4662 | .vendor = "MoselVitelic", |
| 4663 | .name = "V29C51400B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4664 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4665 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4666 | .model_id = MVC_V29C51400B, |
| 4667 | .total_size = 512, |
| 4668 | .page_size = 1024, |
| 4669 | .feature_bits = FEATURE_EITHER_RESET, |
| 4670 | .tested = TEST_UNTESTED, |
| 4671 | .probe = probe_jedec, |
| 4672 | .probe_timing = TIMING_ZERO, |
| 4673 | .block_erasers = |
| 4674 | { |
| 4675 | { |
| 4676 | .eraseblocks = { {1024, 512} }, |
| 4677 | .block_erase = erase_sector_jedec, |
| 4678 | }, { |
| 4679 | .eraseblocks = { {512 * 1024, 1} }, |
| 4680 | .block_erase = erase_chip_block_jedec, |
| 4681 | }, |
| 4682 | }, |
| 4683 | .write = write_jedec_1, |
| 4684 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4685 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4686 | }, |
| 4687 | |
| 4688 | { |
| 4689 | .vendor = "MoselVitelic", |
| 4690 | .name = "V29C51400T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4691 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4692 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4693 | .model_id = MVC_V29C51400T, |
| 4694 | .total_size = 512, |
| 4695 | .page_size = 1024, |
| 4696 | .feature_bits = FEATURE_EITHER_RESET, |
| 4697 | .tested = TEST_UNTESTED, |
| 4698 | .probe = probe_jedec, |
| 4699 | .probe_timing = TIMING_ZERO, |
| 4700 | .block_erasers = |
| 4701 | { |
| 4702 | { |
| 4703 | .eraseblocks = { {1024, 512} }, |
| 4704 | .block_erase = erase_sector_jedec, |
| 4705 | }, { |
| 4706 | .eraseblocks = { {512 * 1024, 1} }, |
| 4707 | .block_erase = erase_chip_block_jedec, |
| 4708 | }, |
| 4709 | }, |
| 4710 | .write = write_jedec_1, |
| 4711 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4712 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4713 | }, |
| 4714 | |
| 4715 | { |
| 4716 | .vendor = "MoselVitelic", |
| 4717 | .name = "V29LC51000", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4718 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4719 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4720 | .model_id = MVC_V29LC51000, |
| 4721 | .total_size = 64, |
| 4722 | .page_size = 512, |
| 4723 | .feature_bits = FEATURE_EITHER_RESET, |
| 4724 | .tested = TEST_UNTESTED, |
| 4725 | .probe = probe_jedec, |
| 4726 | .probe_timing = TIMING_ZERO, |
| 4727 | .block_erasers = |
| 4728 | { |
| 4729 | { |
| 4730 | .eraseblocks = { {512, 128} }, |
| 4731 | .block_erase = erase_sector_jedec, |
| 4732 | }, { |
| 4733 | .eraseblocks = { {64 * 1024, 1} }, |
| 4734 | .block_erase = erase_chip_block_jedec, |
| 4735 | }, |
| 4736 | }, |
| 4737 | .write = write_jedec_1, |
| 4738 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4739 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4740 | }, |
| 4741 | |
| 4742 | { |
| 4743 | .vendor = "MoselVitelic", |
| 4744 | .name = "V29LC51001", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4745 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4746 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4747 | .model_id = MVC_V29LC51001, |
| 4748 | .total_size = 128, |
| 4749 | .page_size = 512, |
| 4750 | .feature_bits = FEATURE_EITHER_RESET, |
| 4751 | .tested = TEST_UNTESTED, |
| 4752 | .probe = probe_jedec, |
| 4753 | .probe_timing = TIMING_ZERO, |
| 4754 | .block_erasers = |
| 4755 | { |
| 4756 | { |
| 4757 | .eraseblocks = { {512, 256} }, |
| 4758 | .block_erase = erase_sector_jedec, |
| 4759 | }, { |
| 4760 | .eraseblocks = { {128 * 1024, 1} }, |
| 4761 | .block_erase = erase_chip_block_jedec, |
| 4762 | }, |
| 4763 | }, |
| 4764 | .write = write_jedec_1, |
| 4765 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4766 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4767 | }, |
| 4768 | |
| 4769 | { |
| 4770 | .vendor = "MoselVitelic", |
| 4771 | .name = "V29LC51002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4772 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4773 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4774 | .model_id = MVC_V29LC51002, |
| 4775 | .total_size = 256, |
| 4776 | .page_size = 512, |
| 4777 | .feature_bits = FEATURE_EITHER_RESET, |
| 4778 | .tested = TEST_UNTESTED, |
| 4779 | .probe = probe_jedec, |
| 4780 | .probe_timing = TIMING_ZERO, |
| 4781 | .block_erasers = |
| 4782 | { |
| 4783 | { |
| 4784 | .eraseblocks = { {512, 512} }, |
| 4785 | .block_erase = erase_sector_jedec, |
| 4786 | }, { |
| 4787 | .eraseblocks = { {256 * 1024, 1} }, |
| 4788 | .block_erase = erase_chip_block_jedec, |
| 4789 | }, |
| 4790 | }, |
| 4791 | .write = write_jedec_1, |
| 4792 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4793 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4794 | }, |
| 4795 | |
| 4796 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4797 | .vendor = "Numonyx", |
| 4798 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4799 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4800 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4801 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4802 | .total_size = 128, |
| 4803 | .page_size = 256, |
| 4804 | .tested = TEST_UNTESTED, |
| 4805 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4806 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4807 | .block_erasers = |
| 4808 | { |
| 4809 | { |
| 4810 | .eraseblocks = { {4 * 1024, 32} }, |
| 4811 | .block_erase = spi_block_erase_20, |
| 4812 | }, { |
| 4813 | .eraseblocks = { {64 * 1024, 2} }, |
| 4814 | .block_erase = spi_block_erase_d8, |
| 4815 | }, { |
| 4816 | .eraseblocks = { {128 * 1024, 1} }, |
| 4817 | .block_erase = spi_block_erase_c7, |
| 4818 | } |
| 4819 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4820 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4821 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4822 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4823 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4824 | }, |
| 4825 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4826 | { |
| 4827 | .vendor = "Numonyx", |
| 4828 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4829 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4830 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4831 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4832 | .total_size = 256, |
| 4833 | .page_size = 256, |
| 4834 | .tested = TEST_UNTESTED, |
| 4835 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4836 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4837 | .block_erasers = |
| 4838 | { |
| 4839 | { |
| 4840 | .eraseblocks = { {4 * 1024, 64} }, |
| 4841 | .block_erase = spi_block_erase_20, |
| 4842 | }, { |
| 4843 | .eraseblocks = { {64 * 1024, 4} }, |
| 4844 | .block_erase = spi_block_erase_d8, |
| 4845 | }, { |
| 4846 | .eraseblocks = { {256 * 1024, 1} }, |
| 4847 | .block_erase = spi_block_erase_c7, |
| 4848 | } |
| 4849 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4850 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4851 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4852 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4853 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4854 | }, |
| 4855 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4856 | { |
| 4857 | .vendor = "Numonyx", |
| 4858 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4859 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4860 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4861 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4862 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4863 | .page_size = 256, |
| 4864 | .tested = TEST_UNTESTED, |
| 4865 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4866 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4867 | .block_erasers = |
| 4868 | { |
| 4869 | { |
| 4870 | .eraseblocks = { {4 * 1024, 128} }, |
| 4871 | .block_erase = spi_block_erase_20, |
| 4872 | }, { |
| 4873 | .eraseblocks = { {64 * 1024, 8} }, |
| 4874 | .block_erase = spi_block_erase_d8, |
| 4875 | }, { |
| 4876 | .eraseblocks = { {512 * 1024, 1} }, |
| 4877 | .block_erase = spi_block_erase_c7, |
| 4878 | } |
| 4879 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4880 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4881 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4882 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4883 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4884 | }, |
| 4885 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4886 | { |
| 4887 | .vendor = "Numonyx", |
| 4888 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4889 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4890 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4891 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4892 | .total_size = 1024, |
| 4893 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4894 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4895 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4896 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4897 | .block_erasers = |
| 4898 | { |
| 4899 | { |
| 4900 | .eraseblocks = { {4 * 1024, 256} }, |
| 4901 | .block_erase = spi_block_erase_20, |
| 4902 | }, { |
| 4903 | .eraseblocks = { {64 * 1024, 16} }, |
| 4904 | .block_erase = spi_block_erase_d8, |
| 4905 | }, { |
| 4906 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4907 | .block_erase = spi_block_erase_c7, |
| 4908 | } |
| 4909 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4910 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4911 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4912 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4913 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4914 | }, |
| 4915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4916 | { |
| 4917 | .vendor = "Numonyx", |
| 4918 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4919 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4920 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4921 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4922 | .total_size = 2048, |
| 4923 | .page_size = 256, |
| 4924 | .tested = TEST_UNTESTED, |
| 4925 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4926 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4927 | .block_erasers = |
| 4928 | { |
| 4929 | { |
| 4930 | .eraseblocks = { {4 * 1024, 512} }, |
| 4931 | .block_erase = spi_block_erase_20, |
| 4932 | }, { |
| 4933 | .eraseblocks = { {64 * 1024, 32} }, |
| 4934 | .block_erase = spi_block_erase_d8, |
| 4935 | }, { |
| 4936 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4937 | .block_erase = spi_block_erase_c7, |
| 4938 | } |
| 4939 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4940 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4941 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4942 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4943 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4944 | }, |
| 4945 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4946 | { |
| 4947 | .vendor = "PMC", |
| 4948 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4949 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4950 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4951 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4952 | .total_size = 128, |
| 4953 | .page_size = 256, |
| 4954 | .tested = TEST_UNTESTED, |
| 4955 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4956 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4957 | .block_erasers = |
| 4958 | { |
| 4959 | { |
| 4960 | .eraseblocks = { {4 * 1024, 32} }, |
| 4961 | .block_erase = spi_block_erase_d7, |
| 4962 | }, { |
| 4963 | .eraseblocks = { {32 * 1024, 4} }, |
| 4964 | .block_erase = spi_block_erase_d8, |
| 4965 | }, { |
| 4966 | .eraseblocks = { {128 * 1024, 1} }, |
| 4967 | .block_erase = spi_block_erase_c7, |
| 4968 | } |
| 4969 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4970 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4971 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4972 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4973 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4974 | }, |
| 4975 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4976 | { |
| 4977 | .vendor = "PMC", |
| 4978 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4979 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4980 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4981 | .model_id = PMC_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4982 | .total_size = 2048, |
| 4983 | .page_size = 256, |
| 4984 | .tested = TEST_UNTESTED, |
| 4985 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4986 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4987 | .block_erasers = |
| 4988 | { |
| 4989 | { |
| 4990 | .eraseblocks = { {4 * 1024, 512} }, |
| 4991 | .block_erase = spi_block_erase_d7, |
| 4992 | }, { |
| 4993 | .eraseblocks = { {4 * 1024, 512} }, |
| 4994 | .block_erase = spi_block_erase_20, |
| 4995 | }, { |
| 4996 | .eraseblocks = { {64 * 1024, 32} }, |
| 4997 | .block_erase = spi_block_erase_d8, |
| 4998 | }, { |
| 4999 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5000 | .block_erase = spi_block_erase_60, |
| 5001 | }, { |
| 5002 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5003 | .block_erase = spi_block_erase_c7, |
| 5004 | } |
| 5005 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5006 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5007 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5008 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5009 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5010 | }, |
| 5011 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5012 | { |
| 5013 | .vendor = "PMC", |
| 5014 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5015 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5016 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5017 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5018 | .total_size = 256, |
| 5019 | .page_size = 256, |
| 5020 | .tested = TEST_UNTESTED, |
| 5021 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5022 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5023 | .block_erasers = |
| 5024 | { |
| 5025 | { |
| 5026 | .eraseblocks = { {4 * 1024, 64} }, |
| 5027 | .block_erase = spi_block_erase_d7, |
| 5028 | }, { |
| 5029 | .eraseblocks = { {64 * 1024, 4} }, |
| 5030 | .block_erase = spi_block_erase_d8, |
| 5031 | }, { |
| 5032 | .eraseblocks = { {256 * 1024, 1} }, |
| 5033 | .block_erase = spi_block_erase_c7, |
| 5034 | } |
| 5035 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5036 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5037 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5038 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5039 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5040 | }, |
| 5041 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5042 | { |
| 5043 | .vendor = "PMC", |
| 5044 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5045 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5046 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5047 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5048 | .total_size = 512, |
| 5049 | .page_size = 256, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 5050 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5051 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5052 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5053 | .block_erasers = |
| 5054 | { |
| 5055 | { |
| 5056 | .eraseblocks = { {4 * 1024, 128} }, |
| 5057 | .block_erase = spi_block_erase_d7, |
| 5058 | }, { |
| 5059 | .eraseblocks = { {64 * 1024, 8} }, |
| 5060 | .block_erase = spi_block_erase_d8, |
| 5061 | }, { |
| 5062 | .eraseblocks = { {512 * 1024, 1} }, |
| 5063 | .block_erase = spi_block_erase_c7, |
| 5064 | } |
| 5065 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5066 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5067 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5068 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5069 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5070 | }, |
| 5071 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5072 | { |
| 5073 | .vendor = "PMC", |
| 5074 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5075 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5076 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5077 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5078 | .total_size = 1024, |
| 5079 | .page_size = 256, |
| 5080 | .tested = TEST_UNTESTED, |
| 5081 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5082 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5083 | .block_erasers = |
| 5084 | { |
| 5085 | { |
| 5086 | .eraseblocks = { {4 * 1024, 256} }, |
| 5087 | .block_erase = spi_block_erase_d7, |
| 5088 | }, { |
| 5089 | .eraseblocks = { {4 * 1024, 256} }, |
| 5090 | .block_erase = spi_block_erase_20, |
| 5091 | }, { |
| 5092 | .eraseblocks = { {64 * 1024, 16} }, |
| 5093 | .block_erase = spi_block_erase_d8, |
| 5094 | }, { |
| 5095 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5096 | .block_erase = spi_block_erase_60, |
| 5097 | }, { |
| 5098 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5099 | .block_erase = spi_block_erase_c7, |
| 5100 | } |
| 5101 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5102 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5103 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5104 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5105 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5106 | }, |
| 5107 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5108 | { |
| 5109 | .vendor = "PMC", |
| 5110 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5111 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5112 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5113 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5114 | .total_size = 64, |
| 5115 | .page_size = 256, |
| 5116 | .tested = TEST_UNTESTED, |
| 5117 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5118 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5119 | .block_erasers = |
| 5120 | { |
| 5121 | { |
| 5122 | .eraseblocks = { {4 * 1024, 16} }, |
| 5123 | .block_erase = spi_block_erase_d7, |
| 5124 | }, { |
| 5125 | .eraseblocks = { {32 * 1024, 2} }, |
| 5126 | .block_erase = spi_block_erase_d8, |
| 5127 | }, { |
| 5128 | .eraseblocks = { {64 * 1024, 1} }, |
| 5129 | .block_erase = spi_block_erase_c7, |
| 5130 | } |
| 5131 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5132 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5133 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5134 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5135 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5136 | }, |
| 5137 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5138 | { |
| 5139 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5140 | .name = "Pm29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5141 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5142 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5143 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5144 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5145 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5146 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5147 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5148 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5149 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5150 | .block_erasers = |
| 5151 | { |
| 5152 | { |
| 5153 | .eraseblocks = { |
| 5154 | {128 * 1024, 1}, |
| 5155 | {96 * 1024, 1}, |
| 5156 | {8 * 1024, 2}, |
| 5157 | {16 * 1024, 1}, |
| 5158 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5159 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5160 | }, { |
| 5161 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5162 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5163 | }, |
| 5164 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5165 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5166 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5167 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5168 | }, |
| 5169 | |
| 5170 | { |
| 5171 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5172 | .name = "Pm29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5173 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5174 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5175 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5176 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5177 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5178 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5179 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5180 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5181 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5182 | .block_erasers = |
| 5183 | { |
| 5184 | { |
| 5185 | .eraseblocks = { |
| 5186 | {16 * 1024, 1}, |
| 5187 | {8 * 1024, 2}, |
| 5188 | {96 * 1024, 1}, |
| 5189 | {128 * 1024, 1}, |
| 5190 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5191 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5192 | }, { |
| 5193 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5194 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5195 | }, |
| 5196 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5197 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5198 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5199 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5200 | }, |
| 5201 | |
| 5202 | { |
| 5203 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5204 | .name = "Pm39LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5205 | .bustype = BUS_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5206 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5207 | .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] | 5208 | .total_size = 128, |
| 5209 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5210 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5211 | .tested = TEST_OK_PRE, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5212 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5213 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5214 | .block_erasers = |
| 5215 | { |
| 5216 | { |
| 5217 | .eraseblocks = { {4 * 1024, 32} }, |
| 5218 | .block_erase = erase_sector_jedec, |
| 5219 | }, { |
| 5220 | .eraseblocks = { {64 * 1024, 2} }, |
| 5221 | .block_erase = erase_block_jedec, |
| 5222 | }, { |
| 5223 | .eraseblocks = { {128 * 1024, 1} }, |
| 5224 | .block_erase = erase_chip_block_jedec, |
| 5225 | } |
| 5226 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5227 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5228 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5229 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5230 | }, |
| 5231 | |
| 5232 | { |
| 5233 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5234 | .name = "Pm39LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5235 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5236 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5237 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5238 | .total_size = 256, |
| 5239 | .page_size = 4096, |
| 5240 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5241 | .tested = TEST_UNTESTED, |
| 5242 | .probe = probe_jedec, |
| 5243 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5244 | .block_erasers = |
| 5245 | { |
| 5246 | { |
| 5247 | .eraseblocks = { {4 * 1024, 64} }, |
| 5248 | .block_erase = erase_sector_jedec, |
| 5249 | }, { |
| 5250 | .eraseblocks = { {64 * 1024, 4} }, |
| 5251 | .block_erase = erase_block_jedec, |
| 5252 | }, { |
| 5253 | .eraseblocks = { {256 * 1024, 1} }, |
| 5254 | .block_erase = erase_chip_block_jedec, |
| 5255 | } |
| 5256 | }, |
| 5257 | .write = write_jedec_1, |
| 5258 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5259 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5260 | }, |
| 5261 | |
| 5262 | { |
| 5263 | .vendor = "PMC", |
| 5264 | .name = "Pm39LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5265 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5266 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5267 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5268 | .total_size = 512, |
| 5269 | .page_size = 4096, |
| 5270 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5271 | .tested = TEST_UNTESTED, |
| 5272 | .probe = probe_jedec, |
| 5273 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5274 | .block_erasers = |
| 5275 | { |
| 5276 | { |
| 5277 | .eraseblocks = { {4 * 1024, 128} }, |
| 5278 | .block_erase = erase_sector_jedec, |
| 5279 | }, { |
| 5280 | .eraseblocks = { {64 * 1024, 8} }, |
| 5281 | .block_erase = erase_block_jedec, |
| 5282 | }, { |
| 5283 | .eraseblocks = { {512 * 1024, 1} }, |
| 5284 | .block_erase = erase_chip_block_jedec, |
| 5285 | } |
| 5286 | }, |
| 5287 | .write = write_jedec_1, |
| 5288 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5289 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5290 | }, |
| 5291 | |
| 5292 | { |
| 5293 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5294 | .name = "Pm49FL002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5295 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5296 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5297 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5298 | .total_size = 256, |
| 5299 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5300 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 5301 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5302 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5303 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5304 | .block_erasers = |
| 5305 | { |
| 5306 | { |
| 5307 | .eraseblocks = { {4 * 1024, 64} }, |
| 5308 | .block_erase = erase_sector_jedec, |
| 5309 | }, { |
| 5310 | .eraseblocks = { {16 * 1024, 16} }, |
| 5311 | .block_erase = erase_block_jedec, |
| 5312 | }, { |
| 5313 | .eraseblocks = { {256 * 1024, 1} }, |
| 5314 | .block_erase = erase_chip_block_jedec, |
| 5315 | } |
| 5316 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5317 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5318 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5319 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5320 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5321 | }, |
| 5322 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5323 | { |
| 5324 | .vendor = "PMC", |
| 5325 | .name = "Pm49FL004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5326 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5327 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5328 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5329 | .total_size = 512, |
| 5330 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5331 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 5332 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5333 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5334 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5335 | .block_erasers = |
| 5336 | { |
| 5337 | { |
| 5338 | .eraseblocks = { {4 * 1024, 128} }, |
| 5339 | .block_erase = erase_sector_jedec, |
| 5340 | }, { |
| 5341 | .eraseblocks = { {64 * 1024, 8} }, |
| 5342 | .block_erase = erase_block_jedec, |
| 5343 | }, { |
| 5344 | .eraseblocks = { {512 * 1024, 1} }, |
| 5345 | .block_erase = erase_chip_block_jedec, |
| 5346 | } |
| 5347 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5348 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5349 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5350 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5351 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5352 | }, |
| 5353 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5354 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5355 | .vendor = "Sanyo", |
| 5356 | .name = "LF25FW203A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5357 | .bustype = BUS_SPI, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5358 | .manufacture_id = SANYO_ID, |
| 5359 | .model_id = SANYO_LE25FW203A, |
| 5360 | .total_size = 2048, |
| 5361 | .page_size = 256, |
| 5362 | .tested = TEST_UNTESTED, |
| 5363 | .probe = probe_spi_rdid, |
| 5364 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5365 | .block_erasers = |
| 5366 | { |
| 5367 | { |
| 5368 | .eraseblocks = { {64 * 1024, 32} }, |
| 5369 | .block_erase = spi_block_erase_d8, |
| 5370 | }, { |
| 5371 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5372 | .block_erase = spi_block_erase_c7, |
| 5373 | } |
| 5374 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5375 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5376 | .write = spi_chip_write_256, |
| 5377 | .read = spi_chip_read, |
| 5378 | }, |
| 5379 | |
| 5380 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5381 | .vendor = "Sharp", |
| 5382 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5383 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5384 | .manufacture_id = SHARP_ID, |
| 5385 | .model_id = SHARP_LHF00L04, |
| 5386 | .total_size = 1024, |
| 5387 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5388 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5389 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5390 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5391 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5392 | .block_erasers = |
| 5393 | { |
| 5394 | { |
| 5395 | .eraseblocks = { |
| 5396 | {64 * 1024, 15}, |
| 5397 | {8 * 1024, 8} |
| 5398 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5399 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5400 | }, { |
| 5401 | .eraseblocks = { |
| 5402 | {1024 * 1024, 1} |
| 5403 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5404 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5405 | }, |
| 5406 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5407 | .unlock = unlock_82802ab, |
| 5408 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5409 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5410 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5411 | }, |
| 5412 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5413 | { |
| 5414 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5415 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5416 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5417 | .manufacture_id = SPANSION_ID, |
| 5418 | .model_id = SPANSION_S25FL004A, |
| 5419 | .total_size = 512, |
| 5420 | .page_size = 256, |
| 5421 | .tested = TEST_UNTESTED, |
| 5422 | .probe = probe_spi_rdid, |
| 5423 | .probe_timing = TIMING_ZERO, |
| 5424 | .block_erasers = |
| 5425 | { |
| 5426 | { |
| 5427 | .eraseblocks = { {64 * 1024, 8} }, |
| 5428 | .block_erase = spi_block_erase_d8, |
| 5429 | }, { |
| 5430 | .eraseblocks = { {512 * 1024, 1} }, |
| 5431 | .block_erase = spi_block_erase_c7, |
| 5432 | } |
| 5433 | }, |
| 5434 | .unlock = spi_disable_blockprotect, |
| 5435 | .write = spi_chip_write_256, |
| 5436 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5437 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5438 | }, |
| 5439 | |
| 5440 | { |
| 5441 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5442 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5443 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5444 | .manufacture_id = SPANSION_ID, |
| 5445 | .model_id = SPANSION_S25FL008A, |
| 5446 | .total_size = 1024, |
| 5447 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5448 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5449 | .probe = probe_spi_rdid, |
| 5450 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5451 | .block_erasers = |
| 5452 | { |
| 5453 | { |
| 5454 | .eraseblocks = { {64 * 1024, 16} }, |
| 5455 | .block_erase = spi_block_erase_d8, |
| 5456 | }, { |
| 5457 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5458 | .block_erase = spi_block_erase_c7, |
| 5459 | } |
| 5460 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5461 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5462 | .write = spi_chip_write_256, |
| 5463 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5464 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5465 | }, |
| 5466 | |
| 5467 | { |
| 5468 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5469 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5470 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5471 | .manufacture_id = SPANSION_ID, |
| 5472 | .model_id = SPANSION_S25FL016A, |
| 5473 | .total_size = 2048, |
| 5474 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5475 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5476 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5477 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5478 | .block_erasers = |
| 5479 | { |
| 5480 | { |
| 5481 | .eraseblocks = { {64 * 1024, 32} }, |
| 5482 | .block_erase = spi_block_erase_d8, |
| 5483 | }, { |
| 5484 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5485 | .block_erase = spi_block_erase_c7, |
| 5486 | } |
| 5487 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5488 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5489 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5490 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5491 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5492 | }, |
| 5493 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5494 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5495 | .vendor = "Spansion", |
| 5496 | .name = "S25FL032A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5497 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5498 | .manufacture_id = SPANSION_ID, |
| 5499 | .model_id = SPANSION_S25FL032A, |
| 5500 | .total_size = 4096, |
| 5501 | .page_size = 256, |
| 5502 | .tested = TEST_UNTESTED, |
| 5503 | .probe = probe_spi_rdid, |
| 5504 | .probe_timing = TIMING_ZERO, |
| 5505 | .block_erasers = |
| 5506 | { |
| 5507 | { |
| 5508 | .eraseblocks = { {64 * 1024, 64} }, |
| 5509 | .block_erase = spi_block_erase_d8, |
| 5510 | }, { |
| 5511 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5512 | .block_erase = spi_block_erase_c7, |
| 5513 | } |
| 5514 | }, |
| 5515 | .unlock = spi_disable_blockprotect, |
| 5516 | .write = spi_chip_write_256, |
| 5517 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5518 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5519 | }, |
| 5520 | |
| 5521 | { |
| 5522 | .vendor = "Spansion", |
| 5523 | .name = "S25FL064A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5524 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5525 | .manufacture_id = SPANSION_ID, |
| 5526 | .model_id = SPANSION_S25FL064A, |
| 5527 | .total_size = 8192, |
| 5528 | .page_size = 256, |
| 5529 | .tested = TEST_OK_PREW, |
| 5530 | .probe = probe_spi_rdid, |
| 5531 | .probe_timing = TIMING_ZERO, |
| 5532 | .block_erasers = |
| 5533 | { |
| 5534 | { |
| 5535 | .eraseblocks = { {64 * 1024, 128} }, |
| 5536 | .block_erase = spi_block_erase_d8, |
| 5537 | }, { |
| 5538 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5539 | .block_erase = spi_block_erase_c7, |
| 5540 | } |
| 5541 | }, |
| 5542 | .unlock = spi_disable_blockprotect, |
| 5543 | .write = spi_chip_write_256, |
| 5544 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5545 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5546 | }, |
| 5547 | |
| 5548 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5549 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 5550 | .name = "SST25LF040A", |
| 5551 | .bustype = BUS_SPI, |
| 5552 | .manufacture_id = SST_ID, |
| 5553 | .model_id = SST_SST25VF040_REMS, |
| 5554 | .total_size = 512, |
| 5555 | .page_size = 256, |
| 5556 | .tested = TEST_OK_PROBE, |
| 5557 | .probe = probe_spi_res2, |
| 5558 | .probe_timing = TIMING_ZERO, |
| 5559 | .block_erasers = |
| 5560 | { |
| 5561 | { |
| 5562 | .eraseblocks = { {4 * 1024, 128} }, |
| 5563 | .block_erase = spi_block_erase_20, |
| 5564 | }, { |
| 5565 | .eraseblocks = { {32 * 1024, 16} }, |
| 5566 | .block_erase = spi_block_erase_52, |
| 5567 | }, { |
| 5568 | .eraseblocks = { {512 * 1024, 1} }, |
| 5569 | .block_erase = spi_block_erase_60, |
| 5570 | }, |
| 5571 | }, |
| 5572 | .unlock = spi_disable_blockprotect, |
| 5573 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 5574 | .read = spi_chip_read, |
| 5575 | .voltage = {3000, 3600}, |
| 5576 | }, |
| 5577 | |
| 5578 | { |
| 5579 | .vendor = "SST", |
| 5580 | .name = "SST25LF080A", |
| 5581 | .bustype = BUS_SPI, |
| 5582 | .manufacture_id = SST_ID, |
| 5583 | .model_id = SST_SST25VF080_REMS, |
| 5584 | .total_size = 1024, |
| 5585 | .page_size = 256, |
| 5586 | .tested = TEST_UNTESTED, |
| 5587 | .probe = probe_spi_res2, |
| 5588 | .probe_timing = TIMING_ZERO, |
| 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 = { {1024 * 1024, 1} }, |
| 5599 | .block_erase = spi_block_erase_60, |
| 5600 | }, |
| 5601 | }, |
| 5602 | .unlock = spi_disable_blockprotect, |
| 5603 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 5604 | .read = spi_chip_read, |
| 5605 | .voltage = {3000, 3600}, |
| 5606 | }, |
| 5607 | |
| 5608 | { |
| 5609 | .vendor = "SST", |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5610 | .name = "SST25VF010.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5611 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5612 | .manufacture_id = SST_ID, |
| 5613 | .model_id = SST_SST25VF010_REMS, |
| 5614 | .total_size = 128, |
| 5615 | .page_size = 256, |
| 5616 | .tested = TEST_OK_PREW, |
| 5617 | .probe = probe_spi_rems, |
| 5618 | .probe_timing = TIMING_ZERO, |
| 5619 | .block_erasers = |
| 5620 | { |
| 5621 | { |
| 5622 | .eraseblocks = { {4 * 1024, 32} }, |
| 5623 | .block_erase = spi_block_erase_20, |
| 5624 | }, { |
| 5625 | .eraseblocks = { {32 * 1024, 4} }, |
| 5626 | .block_erase = spi_block_erase_52, |
| 5627 | }, { |
| 5628 | .eraseblocks = { {128 * 1024, 1} }, |
| 5629 | .block_erase = spi_block_erase_60, |
| 5630 | }, |
| 5631 | }, |
| 5632 | .unlock = spi_disable_blockprotect, |
| 5633 | .write = spi_chip_write_1, |
| 5634 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5635 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5636 | }, |
| 5637 | |
| 5638 | { |
| 5639 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5640 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5641 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5642 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5643 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5644 | .total_size = 2048, |
| 5645 | .page_size = 256, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5646 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5647 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5648 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5649 | .block_erasers = |
| 5650 | { |
| 5651 | { |
| 5652 | .eraseblocks = { {4 * 1024, 512} }, |
| 5653 | .block_erase = spi_block_erase_20, |
| 5654 | }, { |
| 5655 | .eraseblocks = { {32 * 1024, 64} }, |
| 5656 | .block_erase = spi_block_erase_52, |
| 5657 | }, { |
| 5658 | .eraseblocks = { {64 * 1024, 32} }, |
| 5659 | .block_erase = spi_block_erase_d8, |
| 5660 | }, { |
| 5661 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5662 | .block_erase = spi_block_erase_60, |
| 5663 | }, { |
| 5664 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5665 | .block_erase = spi_block_erase_c7, |
| 5666 | }, |
| 5667 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5668 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5669 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5670 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5671 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5672 | }, |
| 5673 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5674 | { |
| 5675 | .vendor = "SST", |
| 5676 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5677 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5678 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5679 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5680 | .total_size = 4096, |
| 5681 | .page_size = 256, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 5682 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5683 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5684 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5685 | .block_erasers = |
| 5686 | { |
| 5687 | { |
| 5688 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5689 | .block_erase = spi_block_erase_20, |
| 5690 | }, { |
| 5691 | .eraseblocks = { {32 * 1024, 128} }, |
| 5692 | .block_erase = spi_block_erase_52, |
| 5693 | }, { |
| 5694 | .eraseblocks = { {64 * 1024, 64} }, |
| 5695 | .block_erase = spi_block_erase_d8, |
| 5696 | }, { |
| 5697 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5698 | .block_erase = spi_block_erase_60, |
| 5699 | }, { |
| 5700 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5701 | .block_erase = spi_block_erase_c7, |
| 5702 | }, |
| 5703 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5704 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5705 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5706 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5707 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5708 | }, |
| 5709 | |
| 5710 | { |
| 5711 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5712 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5713 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5714 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5715 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5716 | .total_size = 8192, |
| 5717 | .page_size = 256, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 5718 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5719 | .probe = probe_spi_rdid, |
| 5720 | .probe_timing = TIMING_ZERO, |
| 5721 | .block_erasers = |
| 5722 | { |
| 5723 | { |
| 5724 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5725 | .block_erase = spi_block_erase_20, |
| 5726 | }, { |
| 5727 | .eraseblocks = { {32 * 1024, 256} }, |
| 5728 | .block_erase = spi_block_erase_52, |
| 5729 | }, { |
| 5730 | .eraseblocks = { {64 * 1024, 128} }, |
| 5731 | .block_erase = spi_block_erase_d8, |
| 5732 | }, { |
| 5733 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5734 | .block_erase = spi_block_erase_60, |
| 5735 | }, { |
| 5736 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5737 | .block_erase = spi_block_erase_c7, |
| 5738 | }, |
| 5739 | }, |
| 5740 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5741 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5742 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5743 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5744 | }, |
| 5745 | |
| 5746 | { |
| 5747 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5748 | .name = "SST25VF040.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5749 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5750 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5751 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5752 | .total_size = 512, |
| 5753 | .page_size = 256, |
| 5754 | .tested = TEST_OK_PR, |
| 5755 | .probe = probe_spi_rems, |
| 5756 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5757 | .block_erasers = |
| 5758 | { |
| 5759 | { |
| 5760 | .eraseblocks = { {4 * 1024, 128} }, |
| 5761 | .block_erase = spi_block_erase_20, |
| 5762 | }, { |
| 5763 | .eraseblocks = { {32 * 1024, 16} }, |
| 5764 | .block_erase = spi_block_erase_52, |
| 5765 | }, { |
| 5766 | .eraseblocks = { {512 * 1024, 1} }, |
| 5767 | .block_erase = spi_block_erase_60, |
| 5768 | }, |
| 5769 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5770 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5771 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5772 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5773 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5774 | }, |
| 5775 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5776 | { |
| 5777 | .vendor = "SST", |
| 5778 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5779 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5780 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5781 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5782 | .total_size = 512, |
| 5783 | .page_size = 256, |
| 5784 | .tested = TEST_UNTESTED, |
| 5785 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5786 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5787 | .block_erasers = |
| 5788 | { |
| 5789 | { |
| 5790 | .eraseblocks = { {4 * 1024, 128} }, |
| 5791 | .block_erase = spi_block_erase_20, |
| 5792 | }, { |
| 5793 | .eraseblocks = { {32 * 1024, 16} }, |
| 5794 | .block_erase = spi_block_erase_52, |
| 5795 | }, { |
| 5796 | .eraseblocks = { {64 * 1024, 8} }, |
| 5797 | .block_erase = spi_block_erase_d8, |
| 5798 | }, { |
| 5799 | .eraseblocks = { {512 * 1024, 1} }, |
| 5800 | .block_erase = spi_block_erase_60, |
| 5801 | }, { |
| 5802 | .eraseblocks = { {512 * 1024, 1} }, |
| 5803 | .block_erase = spi_block_erase_c7, |
| 5804 | }, |
| 5805 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5806 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5807 | .write = spi_aai_write, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 5808 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5809 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 5810 | }, |
| 5811 | |
| 5812 | { |
| 5813 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5814 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5815 | .bustype = BUS_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5816 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5817 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5818 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5819 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5820 | .tested = TEST_OK_PR, |
| 5821 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5822 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5823 | .block_erasers = |
| 5824 | { |
| 5825 | { |
| 5826 | .eraseblocks = { {4 * 1024, 128} }, |
| 5827 | .block_erase = spi_block_erase_20, |
| 5828 | }, { |
| 5829 | .eraseblocks = { {32 * 1024, 16} }, |
| 5830 | .block_erase = spi_block_erase_52, |
| 5831 | }, { |
| 5832 | .eraseblocks = { {64 * 1024, 8} }, |
| 5833 | .block_erase = spi_block_erase_d8, |
| 5834 | }, { |
| 5835 | .eraseblocks = { {512 * 1024, 1} }, |
| 5836 | .block_erase = spi_block_erase_60, |
| 5837 | }, { |
| 5838 | .eraseblocks = { {512 * 1024, 1} }, |
| 5839 | .block_erase = spi_block_erase_c7, |
| 5840 | }, |
| 5841 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5842 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5843 | .write = spi_aai_write, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5844 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5845 | .voltage = {2700, 3600}, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5846 | }, |
| 5847 | |
| 5848 | { |
| 5849 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5850 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5851 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5852 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5853 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5854 | .total_size = 1024, |
| 5855 | .page_size = 256, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 5856 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5857 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5858 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5859 | .block_erasers = |
| 5860 | { |
| 5861 | { |
| 5862 | .eraseblocks = { {4 * 1024, 256} }, |
| 5863 | .block_erase = spi_block_erase_20, |
| 5864 | }, { |
| 5865 | .eraseblocks = { {32 * 1024, 32} }, |
| 5866 | .block_erase = spi_block_erase_52, |
| 5867 | }, { |
| 5868 | .eraseblocks = { {64 * 1024, 16} }, |
| 5869 | .block_erase = spi_block_erase_d8, |
| 5870 | }, { |
| 5871 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5872 | .block_erase = spi_block_erase_60, |
| 5873 | }, { |
| 5874 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5875 | .block_erase = spi_block_erase_c7, |
| 5876 | }, |
| 5877 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5878 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5879 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5880 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5881 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5882 | }, |
| 5883 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5884 | { |
| 5885 | .vendor = "SST", |
| 5886 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5887 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5888 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5889 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5890 | .total_size = 512, |
| 5891 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5892 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5893 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5894 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 5895 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5896 | .block_erasers = |
| 5897 | { |
| 5898 | { |
| 5899 | .eraseblocks = { {128, 4096} }, |
| 5900 | .block_erase = erase_sector_28sf040, |
| 5901 | }, { |
| 5902 | .eraseblocks = { {512 * 1024, 1} }, |
| 5903 | .block_erase = erase_chip_28sf040, |
| 5904 | } |
| 5905 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5906 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5907 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5908 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5909 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5910 | }, |
| 5911 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5912 | { |
| 5913 | .vendor = "SST", |
| 5914 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5915 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5916 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5917 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5918 | .total_size = 128, |
| 5919 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5920 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5921 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5922 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5923 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5924 | .block_erasers = |
| 5925 | { |
| 5926 | { |
| 5927 | .eraseblocks = { {128 * 1024, 1} }, |
| 5928 | .block_erase = erase_chip_block_jedec, |
| 5929 | } |
| 5930 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5931 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5932 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5933 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5934 | }, |
| 5935 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5936 | { |
| 5937 | .vendor = "SST", |
| 5938 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5939 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5940 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5941 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5942 | .total_size = 128, |
| 5943 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5944 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5945 | .tested = TEST_UNTESTED, |
| 5946 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5947 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5948 | .block_erasers = |
| 5949 | { |
| 5950 | { |
| 5951 | .eraseblocks = { {128 * 1024, 1} }, |
| 5952 | .block_erase = erase_chip_block_jedec, |
| 5953 | } |
| 5954 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5955 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5956 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5957 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5958 | }, |
| 5959 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5960 | { |
| 5961 | .vendor = "SST", |
| 5962 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5963 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5964 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5965 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5966 | .total_size = 256, |
| 5967 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5968 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5969 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5970 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5971 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5972 | .block_erasers = |
| 5973 | { |
| 5974 | { |
| 5975 | .eraseblocks = { {256 * 1024, 1} }, |
| 5976 | .block_erase = erase_chip_block_jedec, |
| 5977 | } |
| 5978 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5979 | .write = write_jedec, |
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 = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5982 | }, |
| 5983 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5984 | { |
| 5985 | .vendor = "SST", |
| 5986 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5987 | .bustype = BUS_PARALLEL, |
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_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5990 | .total_size = 256, |
| 5991 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5992 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5993 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5994 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5995 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5996 | .block_erasers = |
| 5997 | { |
| 5998 | { |
| 5999 | .eraseblocks = { {256 * 1024, 1} }, |
| 6000 | .block_erase = erase_chip_block_jedec, |
| 6001 | } |
| 6002 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6003 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6004 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6005 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6006 | }, |
| 6007 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6008 | { |
| 6009 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6010 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6011 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6012 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6013 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6014 | .total_size = 64, |
| 6015 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6016 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 6017 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6018 | .probe = probe_jedec, |
| 6019 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6020 | .block_erasers = |
| 6021 | { |
| 6022 | { |
| 6023 | .eraseblocks = { {4 * 1024, 16} }, |
| 6024 | .block_erase = erase_sector_jedec, |
| 6025 | }, { |
| 6026 | .eraseblocks = { {64 * 1024, 1} }, |
| 6027 | .block_erase = erase_chip_block_jedec, |
| 6028 | } |
| 6029 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6030 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6031 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6032 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6033 | }, |
| 6034 | |
| 6035 | { |
| 6036 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6037 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6038 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6039 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6040 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6041 | .total_size = 128, |
| 6042 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6043 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 6044 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6045 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6046 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6047 | .block_erasers = |
| 6048 | { |
| 6049 | { |
| 6050 | .eraseblocks = { {4 * 1024, 32} }, |
| 6051 | .block_erase = erase_sector_jedec, |
| 6052 | }, { |
| 6053 | .eraseblocks = { {128 * 1024, 1} }, |
| 6054 | .block_erase = erase_chip_block_jedec, |
| 6055 | } |
| 6056 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6057 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6058 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6059 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6060 | }, |
| 6061 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6062 | { |
| 6063 | .vendor = "SST", |
| 6064 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6065 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6066 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6067 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6068 | .total_size = 256, |
| 6069 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6070 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 6071 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6072 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6073 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6074 | .block_erasers = |
| 6075 | { |
| 6076 | { |
| 6077 | .eraseblocks = { {4 * 1024, 64} }, |
| 6078 | .block_erase = erase_sector_jedec, |
| 6079 | }, { |
| 6080 | .eraseblocks = { {256 * 1024, 1} }, |
| 6081 | .block_erase = erase_chip_block_jedec, |
| 6082 | } |
| 6083 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6084 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6085 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6086 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6087 | }, |
| 6088 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6089 | { |
| 6090 | .vendor = "SST", |
| 6091 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6092 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6093 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6094 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6095 | .total_size = 512, |
| 6096 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6097 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6098 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6099 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6100 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6101 | .block_erasers = |
| 6102 | { |
| 6103 | { |
| 6104 | .eraseblocks = { {4 * 1024, 128} }, |
| 6105 | .block_erase = erase_sector_jedec, |
| 6106 | }, { |
| 6107 | .eraseblocks = { {512 * 1024, 1} }, |
| 6108 | .block_erase = erase_chip_block_jedec, |
| 6109 | } |
| 6110 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6111 | .write = write_jedec_1, |
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 = {4500, 5500}, |
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 = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6119 | .bustype = BUS_PARALLEL, |
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_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6122 | .total_size = 64, |
| 6123 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6124 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6125 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6126 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 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, 16} }, |
| 6132 | .block_erase = erase_sector_jedec, |
| 6133 | }, { |
| 6134 | .eraseblocks = { {64 * 1024, 1} }, |
| 6135 | .block_erase = erase_chip_block_jedec, |
| 6136 | } |
| 6137 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6138 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6139 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6140 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6141 | }, |
| 6142 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6143 | { |
| 6144 | .vendor = "SST", |
| 6145 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6146 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6147 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6148 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6149 | .total_size = 128, |
| 6150 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6151 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6152 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6153 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6154 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6155 | .block_erasers = |
| 6156 | { |
| 6157 | { |
| 6158 | .eraseblocks = { {4 * 1024, 32} }, |
| 6159 | .block_erase = erase_sector_jedec, |
| 6160 | }, { |
| 6161 | .eraseblocks = { {128 * 1024, 1} }, |
| 6162 | .block_erase = erase_chip_block_jedec, |
| 6163 | } |
| 6164 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6165 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6166 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6167 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6168 | }, |
| 6169 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6170 | { |
| 6171 | .vendor = "SST", |
| 6172 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6173 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6174 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6175 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6176 | .total_size = 256, |
| 6177 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6178 | .feature_bits = FEATURE_EITHER_RESET, |
| 6179 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6180 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6181 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6182 | .block_erasers = |
| 6183 | { |
| 6184 | { |
| 6185 | .eraseblocks = { {4 * 1024, 64} }, |
| 6186 | .block_erase = erase_sector_jedec, |
| 6187 | }, { |
| 6188 | .eraseblocks = { {256 * 1024, 1} }, |
| 6189 | .block_erase = erase_chip_block_jedec, |
| 6190 | } |
| 6191 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6192 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6193 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6194 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6195 | }, |
| 6196 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6197 | { |
| 6198 | .vendor = "SST", |
| 6199 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6200 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6201 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6202 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6203 | .total_size = 512, |
| 6204 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6205 | .feature_bits = FEATURE_EITHER_RESET, |
| 6206 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6207 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6208 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6209 | .block_erasers = |
| 6210 | { |
| 6211 | { |
| 6212 | .eraseblocks = { {4 * 1024, 128} }, |
| 6213 | .block_erase = erase_sector_jedec, |
| 6214 | }, { |
| 6215 | .eraseblocks = { {512 * 1024, 1} }, |
| 6216 | .block_erase = erase_chip_block_jedec, |
| 6217 | } |
| 6218 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6219 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6220 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6221 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 6222 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6223 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6224 | { |
| 6225 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6226 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6227 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6228 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6229 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6230 | .total_size = 1024, |
| 6231 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6232 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6233 | .tested = TEST_UNTESTED, |
| 6234 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6235 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6236 | .block_erasers = |
| 6237 | { |
| 6238 | { |
| 6239 | .eraseblocks = { {4 * 1024, 256} }, |
| 6240 | .block_erase = erase_sector_jedec, |
| 6241 | }, { |
| 6242 | .eraseblocks = { {64 * 1024, 16} }, |
| 6243 | .block_erase = erase_block_jedec, |
| 6244 | }, { |
| 6245 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6246 | .block_erase = erase_chip_block_jedec, |
| 6247 | } |
| 6248 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6249 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6250 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6251 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6252 | }, |
| 6253 | |
| 6254 | { |
| 6255 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6256 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6257 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6258 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6259 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6260 | .total_size = 256, |
| 6261 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6262 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6263 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6264 | .probe = probe_jedec, |
| 6265 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6266 | .block_erasers = |
| 6267 | { |
| 6268 | { |
| 6269 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6270 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6271 | }, { |
| 6272 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6273 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6274 | }, { |
| 6275 | .eraseblocks = { {256 * 1024, 1} }, |
| 6276 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6277 | } |
| 6278 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6279 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6280 | .unlock = unlock_sst_fwhub, |
| 6281 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6282 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6283 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6284 | }, |
| 6285 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6286 | { |
| 6287 | .vendor = "SST", |
| 6288 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6289 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6290 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6291 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6292 | .total_size = 384, |
| 6293 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6294 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 6295 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6296 | .probe = probe_jedec, |
| 6297 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6298 | .block_erasers = |
| 6299 | { |
| 6300 | { |
| 6301 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6302 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6303 | }, { |
| 6304 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6305 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6306 | }, { |
| 6307 | .eraseblocks = { {384 * 1024, 1} }, |
| 6308 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6309 | } |
| 6310 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6311 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6312 | .unlock = unlock_sst_fwhub, |
| 6313 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6314 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6315 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6316 | }, |
| 6317 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6318 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6319 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 6320 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 6321 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6322 | .vendor = "SST", |
| 6323 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6324 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6325 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6326 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6327 | .total_size = 512, |
| 6328 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6329 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6330 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6331 | .probe = probe_jedec, |
| 6332 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6333 | .block_erasers = |
| 6334 | { |
| 6335 | { |
| 6336 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6337 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6338 | }, { |
| 6339 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6340 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6341 | }, { |
| 6342 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6343 | .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] | 6344 | }, |
| 6345 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6346 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6347 | .unlock = unlock_sst_fwhub, |
| 6348 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6349 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6350 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6351 | }, |
| 6352 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6353 | { |
| 6354 | .vendor = "SST", |
| 6355 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6356 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6357 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6358 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6359 | .total_size = 512, |
| 6360 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6361 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6362 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6363 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6364 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6365 | .block_erasers = |
| 6366 | { |
| 6367 | { |
| 6368 | .eraseblocks = { {4 * 1024, 128} }, |
| 6369 | .block_erase = erase_sector_49lfxxxc, |
| 6370 | }, { |
| 6371 | .eraseblocks = { |
| 6372 | {64 * 1024, 7}, |
| 6373 | {32 * 1024, 1}, |
| 6374 | {8 * 1024, 2}, |
| 6375 | {16 * 1024, 1}, |
| 6376 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6377 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6378 | } |
| 6379 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6380 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6381 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6382 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6383 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6384 | }, |
| 6385 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6386 | { |
| 6387 | .vendor = "SST", |
| 6388 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6389 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6390 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6391 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6392 | .total_size = 1024, |
| 6393 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6394 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6395 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6396 | .probe = probe_jedec, |
| 6397 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6398 | .block_erasers = |
| 6399 | { |
| 6400 | { |
| 6401 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6402 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6403 | }, { |
| 6404 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6405 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6406 | }, { |
| 6407 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6408 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6409 | } |
| 6410 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6411 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6412 | .unlock = unlock_sst_fwhub, |
| 6413 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6414 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6415 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6416 | }, |
| 6417 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6418 | { |
| 6419 | .vendor = "SST", |
| 6420 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6421 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6422 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6423 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6424 | .total_size = 1024, |
| 6425 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6426 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6427 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6428 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6429 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6430 | .block_erasers = |
| 6431 | { |
| 6432 | { |
| 6433 | .eraseblocks = { {4 * 1024, 256} }, |
| 6434 | .block_erase = erase_sector_49lfxxxc, |
| 6435 | }, { |
| 6436 | .eraseblocks = { |
| 6437 | {64 * 1024, 15}, |
| 6438 | {32 * 1024, 1}, |
| 6439 | {8 * 1024, 2}, |
| 6440 | {16 * 1024, 1}, |
| 6441 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6442 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6443 | } |
| 6444 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6445 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6446 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6447 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6448 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6449 | }, |
| 6450 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6451 | { |
| 6452 | .vendor = "SST", |
| 6453 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6454 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6455 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6456 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6457 | .total_size = 2048, |
| 6458 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6459 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6460 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6461 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6462 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6463 | .block_erasers = |
| 6464 | { |
| 6465 | { |
| 6466 | .eraseblocks = { {4 * 1024, 512} }, |
| 6467 | .block_erase = erase_sector_49lfxxxc, |
| 6468 | }, { |
| 6469 | .eraseblocks = { |
| 6470 | {64 * 1024, 31}, |
| 6471 | {32 * 1024, 1}, |
| 6472 | {8 * 1024, 2}, |
| 6473 | {16 * 1024, 1}, |
| 6474 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6475 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6476 | } |
| 6477 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6478 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6479 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6480 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6481 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6482 | }, |
| 6483 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6484 | { |
| 6485 | .vendor = "SST", |
| 6486 | .name = "SST49LF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6487 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6488 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6489 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6490 | .total_size = 256, |
| 6491 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6492 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6493 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6494 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6495 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6496 | .block_erasers = |
| 6497 | { |
| 6498 | { |
| 6499 | .eraseblocks = { {4 * 1024, 64} }, |
| 6500 | .block_erase = erase_sector_jedec, |
| 6501 | }, { |
| 6502 | .eraseblocks = { {16 * 1024, 16} }, |
| 6503 | .block_erase = erase_block_jedec, |
| 6504 | }, { |
| 6505 | .eraseblocks = { {256 * 1024, 1} }, |
| 6506 | .block_erase = NULL, |
| 6507 | } |
| 6508 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6509 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6510 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6511 | .voltage = {3000, 3600}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 6512 | }, |
| 6513 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6514 | { |
| 6515 | .vendor = "SST", |
| 6516 | .name = "SST49LF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6517 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6518 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6519 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6520 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 6521 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6522 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6523 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6524 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6525 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6526 | .block_erasers = |
| 6527 | { |
| 6528 | { |
| 6529 | .eraseblocks = { {4 * 1024, 64} }, |
| 6530 | .block_erase = erase_sector_jedec, |
| 6531 | }, { |
| 6532 | .eraseblocks = { {16 * 1024, 16} }, |
| 6533 | .block_erase = erase_block_jedec, |
| 6534 | }, { |
| 6535 | .eraseblocks = { {256 * 1024, 1} }, |
| 6536 | .block_erase = NULL, |
| 6537 | } |
| 6538 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6539 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6540 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6541 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6542 | }, |
| 6543 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6544 | { |
| 6545 | .vendor = "SST", |
| 6546 | .name = "SST49LF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6547 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6548 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6549 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6550 | .total_size = 512, |
| 6551 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6552 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6553 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6554 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6555 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6556 | .block_erasers = |
| 6557 | { |
| 6558 | { |
| 6559 | .eraseblocks = { {4 * 1024, 128} }, |
| 6560 | .block_erase = erase_sector_jedec, |
| 6561 | }, { |
| 6562 | .eraseblocks = { {64 * 1024, 8} }, |
| 6563 | .block_erase = erase_block_jedec, |
| 6564 | }, { |
| 6565 | .eraseblocks = { {512 * 1024, 1} }, |
| 6566 | .block_erase = NULL, |
| 6567 | } |
| 6568 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6569 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6570 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6571 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6572 | }, |
| 6573 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6574 | { |
| 6575 | .vendor = "SST", |
| 6576 | .name = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6577 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6578 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6579 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6580 | .total_size = 512, |
| 6581 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6582 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6583 | .tested = TEST_OK_PRE, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6584 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6585 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6586 | .block_erasers = |
| 6587 | { |
| 6588 | { |
| 6589 | .eraseblocks = { {4 * 1024, 128} }, |
| 6590 | .block_erase = erase_sector_jedec, |
| 6591 | }, { |
| 6592 | .eraseblocks = { {64 * 1024, 8} }, |
| 6593 | .block_erase = erase_block_jedec, |
| 6594 | }, { |
| 6595 | .eraseblocks = { {512 * 1024, 1} }, |
| 6596 | .block_erase = NULL, |
| 6597 | } |
| 6598 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6599 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6600 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6601 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6602 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6603 | }, |
| 6604 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6605 | { |
| 6606 | .vendor = "SST", |
| 6607 | .name = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6608 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6609 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6610 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6611 | .total_size = 1024, |
| 6612 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6613 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 6614 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6615 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6616 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6617 | .block_erasers = |
| 6618 | { |
| 6619 | { |
| 6620 | .eraseblocks = { {4 * 1024, 256} }, |
| 6621 | .block_erase = erase_sector_jedec, |
| 6622 | }, { |
| 6623 | .eraseblocks = { {64 * 1024, 16} }, |
| 6624 | .block_erase = erase_block_jedec, |
| 6625 | }, { |
| 6626 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6627 | .block_erase = NULL, |
| 6628 | } |
| 6629 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6630 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6631 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6632 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6633 | }, |
| 6634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6635 | { |
| 6636 | .vendor = "SST", |
| 6637 | .name = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6638 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6639 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6640 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6641 | .total_size = 2048, |
| 6642 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6643 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6644 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6645 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6646 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6647 | .block_erasers = |
| 6648 | { |
| 6649 | { |
| 6650 | .eraseblocks = { {4 * 1024, 512} }, |
| 6651 | .block_erase = erase_sector_49lfxxxc, |
| 6652 | }, { |
| 6653 | .eraseblocks = { |
| 6654 | {64 * 1024, 31}, |
| 6655 | {32 * 1024, 1}, |
| 6656 | {8 * 1024, 2}, |
| 6657 | {16 * 1024, 1}, |
| 6658 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6659 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6660 | } |
| 6661 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6662 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6663 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6664 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6665 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6666 | }, |
| 6667 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6668 | { |
| 6669 | .vendor = "ST", |
| 6670 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6671 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6672 | .manufacture_id = ST_ID, |
| 6673 | .model_id = ST_M25P05A, |
| 6674 | .total_size = 64, |
| 6675 | .page_size = 256, |
| 6676 | .tested = TEST_UNTESTED, |
| 6677 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6678 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6679 | .block_erasers = |
| 6680 | { |
| 6681 | { |
| 6682 | .eraseblocks = { {32 * 1024, 2} }, |
| 6683 | .block_erase = spi_block_erase_d8, |
| 6684 | }, { |
| 6685 | .eraseblocks = { {64 * 1024, 1} }, |
| 6686 | .block_erase = spi_block_erase_c7, |
| 6687 | } |
| 6688 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6689 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6690 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6691 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6692 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6693 | }, |
| 6694 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6695 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 6696 | * 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] | 6697 | * 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] | 6698 | * only is successful if RDID does not work. |
| 6699 | */ |
| 6700 | { |
| 6701 | .vendor = "ST", |
| 6702 | .name = "M25P05.RES", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6703 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6704 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6705 | .model_id = ST_M25P05_RES, |
| 6706 | .total_size = 64, |
| 6707 | .page_size = 256, |
| 6708 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6709 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +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 = { {32 * 1024, 2} }, |
| 6715 | .block_erase = spi_block_erase_d8, |
| 6716 | }, { |
| 6717 | .eraseblocks = { {64 * 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 | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6722 | .write = spi_chip_write_1, /* 128 */ |
| 6723 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6724 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6725 | }, |
| 6726 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6727 | { |
| 6728 | .vendor = "ST", |
| 6729 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6730 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6731 | .manufacture_id = ST_ID, |
| 6732 | .model_id = ST_M25P10A, |
| 6733 | .total_size = 128, |
| 6734 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6735 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6736 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6737 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6738 | .block_erasers = |
| 6739 | { |
| 6740 | { |
| 6741 | .eraseblocks = { {32 * 1024, 4} }, |
| 6742 | .block_erase = spi_block_erase_d8, |
| 6743 | }, { |
| 6744 | .eraseblocks = { {128 * 1024, 1} }, |
| 6745 | .block_erase = spi_block_erase_c7, |
| 6746 | } |
| 6747 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6748 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6749 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6750 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6751 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6752 | }, |
| 6753 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6754 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 6755 | { |
| 6756 | .vendor = "ST", |
| 6757 | .name = "M25P10.RES", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6758 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6759 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6760 | .model_id = ST_M25P10_RES, |
| 6761 | .total_size = 128, |
| 6762 | .page_size = 256, |
| 6763 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6764 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6765 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6766 | .block_erasers = |
| 6767 | { |
| 6768 | { |
| 6769 | .eraseblocks = { {32 * 1024, 4} }, |
| 6770 | .block_erase = spi_block_erase_d8, |
| 6771 | }, { |
| 6772 | .eraseblocks = { {128 * 1024, 1} }, |
| 6773 | .block_erase = spi_block_erase_c7, |
| 6774 | } |
| 6775 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6776 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6777 | .write = spi_chip_write_1, /* 128 */ |
| 6778 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6779 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6780 | }, |
| 6781 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6782 | { |
| 6783 | .vendor = "ST", |
| 6784 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6785 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6786 | .manufacture_id = ST_ID, |
| 6787 | .model_id = ST_M25P20, |
| 6788 | .total_size = 256, |
| 6789 | .page_size = 256, |
| 6790 | .tested = TEST_UNTESTED, |
| 6791 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6792 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6793 | .block_erasers = |
| 6794 | { |
| 6795 | { |
| 6796 | .eraseblocks = { {64 * 1024, 4} }, |
| 6797 | .block_erase = spi_block_erase_d8, |
| 6798 | }, { |
| 6799 | .eraseblocks = { {256 * 1024, 1} }, |
| 6800 | .block_erase = spi_block_erase_c7, |
| 6801 | } |
| 6802 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6803 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6804 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6805 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6806 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6807 | }, |
| 6808 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6809 | { |
| 6810 | .vendor = "ST", |
| 6811 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6812 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6813 | .manufacture_id = ST_ID, |
| 6814 | .model_id = ST_M25P40, |
| 6815 | .total_size = 512, |
| 6816 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6817 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6818 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6819 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6820 | .block_erasers = |
| 6821 | { |
| 6822 | { |
| 6823 | .eraseblocks = { {64 * 1024, 8} }, |
| 6824 | .block_erase = spi_block_erase_d8, |
| 6825 | }, { |
| 6826 | .eraseblocks = { {512 * 1024, 1} }, |
| 6827 | .block_erase = spi_block_erase_c7, |
| 6828 | } |
| 6829 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6830 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6831 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6832 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6833 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6834 | }, |
| 6835 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6836 | { |
| 6837 | .vendor = "ST", |
| 6838 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6839 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6840 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6841 | .model_id = ST_M25P40_RES, |
| 6842 | .total_size = 512, |
| 6843 | .page_size = 256, |
| 6844 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6845 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6846 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6847 | .block_erasers = |
| 6848 | { |
| 6849 | { |
| 6850 | .eraseblocks = { {64 * 1024, 8} }, |
| 6851 | .block_erase = spi_block_erase_d8, |
| 6852 | }, { |
| 6853 | .eraseblocks = { {512 * 1024, 1} }, |
| 6854 | .block_erase = spi_block_erase_c7, |
| 6855 | } |
| 6856 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6857 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6858 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6859 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6860 | }, |
| 6861 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6862 | { |
| 6863 | .vendor = "ST", |
| 6864 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6865 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6866 | .manufacture_id = ST_ID, |
| 6867 | .model_id = ST_M25P80, |
| 6868 | .total_size = 1024, |
| 6869 | .page_size = 256, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 6870 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6871 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6872 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6873 | .block_erasers = |
| 6874 | { |
| 6875 | { |
| 6876 | .eraseblocks = { {64 * 1024, 16} }, |
| 6877 | .block_erase = spi_block_erase_d8, |
| 6878 | }, { |
| 6879 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6880 | .block_erase = spi_block_erase_c7, |
| 6881 | } |
| 6882 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6883 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6884 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6885 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6886 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6887 | }, |
| 6888 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6889 | { |
| 6890 | .vendor = "ST", |
| 6891 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6892 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6893 | .manufacture_id = ST_ID, |
| 6894 | .model_id = ST_M25P16, |
| 6895 | .total_size = 2048, |
| 6896 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6897 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6898 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6899 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6900 | .block_erasers = |
| 6901 | { |
| 6902 | { |
| 6903 | .eraseblocks = { {64 * 1024, 32} }, |
| 6904 | .block_erase = spi_block_erase_d8, |
| 6905 | }, { |
| 6906 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6907 | .block_erase = spi_block_erase_c7, |
| 6908 | } |
| 6909 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6910 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6911 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6912 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6913 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6914 | }, |
| 6915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6916 | { |
| 6917 | .vendor = "ST", |
| 6918 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6919 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6920 | .manufacture_id = ST_ID, |
| 6921 | .model_id = ST_M25P32, |
| 6922 | .total_size = 4096, |
| 6923 | .page_size = 256, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 6924 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6925 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6926 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6927 | .block_erasers = |
| 6928 | { |
| 6929 | { |
| 6930 | .eraseblocks = { {64 * 1024, 64} }, |
| 6931 | .block_erase = spi_block_erase_d8, |
| 6932 | }, { |
| 6933 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6934 | .block_erase = spi_block_erase_c7, |
| 6935 | } |
| 6936 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6937 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6938 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6939 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6940 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6941 | }, |
| 6942 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6943 | { |
| 6944 | .vendor = "ST", |
| 6945 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6946 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6947 | .manufacture_id = ST_ID, |
| 6948 | .model_id = ST_M25P64, |
| 6949 | .total_size = 8192, |
| 6950 | .page_size = 256, |
| 6951 | .tested = TEST_UNTESTED, |
| 6952 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6953 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6954 | .block_erasers = |
| 6955 | { |
| 6956 | { |
| 6957 | .eraseblocks = { {64 * 1024, 128} }, |
| 6958 | .block_erase = spi_block_erase_d8, |
| 6959 | }, { |
| 6960 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6961 | .block_erase = spi_block_erase_c7, |
| 6962 | } |
| 6963 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6964 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6965 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6966 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6967 | .voltage = {2700, 3600}, |
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 = "M25P128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6973 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6974 | .manufacture_id = ST_ID, |
| 6975 | .model_id = ST_M25P128, |
| 6976 | .total_size = 16384, |
| 6977 | .page_size = 256, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 6978 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6979 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6980 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6981 | .block_erasers = |
| 6982 | { |
| 6983 | { |
| 6984 | .eraseblocks = { {256 * 1024, 64} }, |
| 6985 | .block_erase = spi_block_erase_d8, |
| 6986 | }, { |
| 6987 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6988 | .block_erase = spi_block_erase_c7, |
| 6989 | } |
| 6990 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6991 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6992 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6993 | .read = spi_chip_read, |
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", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 6999 | .name = "M25PX16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7000 | .bustype = BUS_SPI, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7001 | .manufacture_id = ST_ID, |
| 7002 | .model_id = ST_M25PX16, |
| 7003 | .total_size = 2048, |
| 7004 | .page_size = 256, |
| 7005 | .tested = TEST_OK_PREW, |
| 7006 | .probe = probe_spi_rdid, |
| 7007 | .probe_timing = TIMING_ZERO, |
| 7008 | .block_erasers = |
| 7009 | { |
| 7010 | { |
| 7011 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 7012 | .block_erase = spi_block_erase_20, |
| 7013 | }, { |
| 7014 | .eraseblocks = { {64 * 1024, 32} }, |
| 7015 | .block_erase = spi_block_erase_d8, |
| 7016 | }, { |
| 7017 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7018 | .block_erase = spi_block_erase_c7, |
| 7019 | } |
| 7020 | }, |
| 7021 | .unlock = spi_disable_blockprotect, |
| 7022 | .write = spi_chip_write_256, |
| 7023 | .read = spi_chip_read, |
| 7024 | }, |
| 7025 | |
| 7026 | { |
| 7027 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7028 | .name = "M25PX32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7029 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7030 | .manufacture_id = ST_ID, |
| 7031 | .model_id = ST_M25PX32, |
| 7032 | .total_size = 4096, |
| 7033 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7034 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7035 | .probe = probe_spi_rdid, |
| 7036 | .probe_timing = TIMING_ZERO, |
| 7037 | .block_erasers = |
| 7038 | { |
| 7039 | { |
| 7040 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 7041 | .block_erase = spi_block_erase_20, |
| 7042 | }, { |
| 7043 | .eraseblocks = { {64 * 1024, 64} }, |
| 7044 | .block_erase = spi_block_erase_d8, |
| 7045 | }, { |
| 7046 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7047 | .block_erase = spi_block_erase_c7, |
| 7048 | } |
| 7049 | }, |
| 7050 | .unlock = spi_disable_blockprotect, |
| 7051 | .write = spi_chip_write_256, |
| 7052 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7053 | .voltage = {2700, 3600}, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7054 | }, |
| 7055 | |
| 7056 | { |
| 7057 | .vendor = "ST", |
| 7058 | .name = "M25PX64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7059 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7060 | .manufacture_id = ST_ID, |
| 7061 | .model_id = ST_M25PX64, |
| 7062 | .total_size = 8192, |
| 7063 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7064 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7065 | .probe = probe_spi_rdid, |
| 7066 | .probe_timing = TIMING_ZERO, |
| 7067 | .block_erasers = |
| 7068 | { |
| 7069 | { |
| 7070 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 7071 | .block_erase = spi_block_erase_20, |
| 7072 | }, { |
| 7073 | .eraseblocks = { {64 * 1024, 128} }, |
| 7074 | .block_erase = spi_block_erase_d8, |
| 7075 | }, { |
| 7076 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7077 | .block_erase = spi_block_erase_c7, |
| 7078 | } |
| 7079 | }, |
| 7080 | .unlock = spi_disable_blockprotect, |
| 7081 | .write = spi_chip_write_256, |
| 7082 | .read = spi_chip_read, |
| 7083 | }, |
| 7084 | |
| 7085 | { |
| 7086 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7087 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7088 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7089 | .manufacture_id = ST_ID, |
| 7090 | .model_id = ST_M29F002B, |
| 7091 | .total_size = 256, |
| 7092 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7093 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7094 | .tested = TEST_UNTESTED, |
| 7095 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7096 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7097 | .block_erasers = |
| 7098 | { |
| 7099 | { |
| 7100 | .eraseblocks = { |
| 7101 | {16 * 1024, 1}, |
| 7102 | {8 * 1024, 2}, |
| 7103 | {32 * 1024, 1}, |
| 7104 | {64 * 1024, 3}, |
| 7105 | }, |
| 7106 | .block_erase = erase_sector_jedec, |
| 7107 | }, { |
| 7108 | .eraseblocks = { {256 * 1024, 1} }, |
| 7109 | .block_erase = erase_chip_block_jedec, |
| 7110 | } |
| 7111 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7113 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7114 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -X, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7115 | }, |
| 7116 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7117 | { |
| 7118 | .vendor = "ST", |
| 7119 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7120 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7121 | .manufacture_id = ST_ID, |
| 7122 | .model_id = ST_M29F002T, |
| 7123 | .total_size = 256, |
| 7124 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7125 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 7126 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7127 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7128 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7129 | .block_erasers = |
| 7130 | { |
| 7131 | { |
| 7132 | .eraseblocks = { |
| 7133 | {64 * 1024, 3}, |
| 7134 | {32 * 1024, 1}, |
| 7135 | {8 * 1024, 2}, |
| 7136 | {16 * 1024, 1}, |
| 7137 | }, |
| 7138 | .block_erase = erase_sector_jedec, |
| 7139 | }, { |
| 7140 | .eraseblocks = { {256 * 1024, 1} }, |
| 7141 | .block_erase = erase_chip_block_jedec, |
| 7142 | } |
| 7143 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7144 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7145 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7146 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -X, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7147 | }, |
| 7148 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7149 | { |
| 7150 | .vendor = "ST", |
| 7151 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7152 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7153 | .manufacture_id = ST_ID, |
| 7154 | .model_id = ST_M29F040B, |
| 7155 | .total_size = 512, |
| 7156 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7157 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7158 | .tested = TEST_UNTESTED, |
| 7159 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7160 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7161 | .block_erasers = |
| 7162 | { |
| 7163 | { |
| 7164 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7165 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7166 | }, { |
| 7167 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7168 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7169 | } |
| 7170 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7171 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7172 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7173 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7174 | }, |
| 7175 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7176 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7177 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7178 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7179 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7180 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7181 | .manufacture_id = ST_ID, |
| 7182 | .model_id = ST_M29F400BB, |
| 7183 | .total_size = 512, |
| 7184 | .page_size = 64 * 1024, |
| 7185 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7186 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7187 | .probe = probe_m29f400bt, |
| 7188 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 7189 | .block_erasers = |
| 7190 | { |
| 7191 | { |
| 7192 | .eraseblocks = { |
| 7193 | {16 * 1024, 1}, |
| 7194 | {8 * 1024, 2}, |
| 7195 | {32 * 1024, 1}, |
| 7196 | {64 * 1024, 7}, |
| 7197 | }, |
| 7198 | .block_erase = block_erase_m29f400bt, |
| 7199 | }, { |
| 7200 | .eraseblocks = { {512 * 1024, 1} }, |
| 7201 | .block_erase = block_erase_chip_m29f400bt, |
| 7202 | } |
| 7203 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7204 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7205 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7206 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7207 | }, |
| 7208 | { |
| 7209 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 7210 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7211 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7212 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7213 | .manufacture_id = ST_ID, |
| 7214 | .model_id = ST_M29F400BT, |
| 7215 | .total_size = 512, |
| 7216 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7217 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7218 | .tested = TEST_UNTESTED, |
| 7219 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7220 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7221 | .block_erasers = |
| 7222 | { |
| 7223 | { |
| 7224 | .eraseblocks = { |
| 7225 | {64 * 1024, 7}, |
| 7226 | {32 * 1024, 1}, |
| 7227 | {8 * 1024, 2}, |
| 7228 | {16 * 1024, 1}, |
| 7229 | }, |
| 7230 | .block_erase = block_erase_m29f400bt, |
| 7231 | }, { |
| 7232 | .eraseblocks = { {512 * 1024, 1} }, |
| 7233 | .block_erase = block_erase_chip_m29f400bt, |
| 7234 | } |
| 7235 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7236 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7237 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7238 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7239 | }, |
| 7240 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7241 | { |
| 7242 | .vendor = "ST", |
| 7243 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7244 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7245 | .manufacture_id = ST_ID, |
| 7246 | .model_id = ST_M29W010B, |
| 7247 | .total_size = 128, |
| 7248 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7249 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7250 | .tested = TEST_UNTESTED, |
| 7251 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7252 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7253 | .block_erasers = |
| 7254 | { |
| 7255 | { |
| 7256 | .eraseblocks = { {16 * 1024, 8}, }, |
| 7257 | .block_erase = erase_sector_jedec, |
| 7258 | }, { |
| 7259 | .eraseblocks = { {128 * 1024, 1} }, |
| 7260 | .block_erase = erase_chip_block_jedec, |
| 7261 | } |
| 7262 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7263 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7264 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7265 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7266 | }, |
| 7267 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7268 | { |
| 7269 | .vendor = "ST", |
| 7270 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7271 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7272 | .manufacture_id = ST_ID, |
| 7273 | .model_id = ST_M29W040B, |
| 7274 | .total_size = 512, |
| 7275 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7276 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7277 | .tested = TEST_UNTESTED, |
| 7278 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7279 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7280 | .block_erasers = |
| 7281 | { |
| 7282 | { |
| 7283 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7284 | .block_erase = erase_sector_jedec, |
| 7285 | }, { |
| 7286 | .eraseblocks = { {512 * 1024, 1} }, |
| 7287 | .block_erase = erase_chip_block_jedec, |
| 7288 | } |
| 7289 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7290 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7291 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7292 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7293 | }, |
| 7294 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7295 | { |
| 7296 | .vendor = "ST", |
| 7297 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7298 | .bustype = BUS_PARALLEL, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7299 | .manufacture_id = ST_ID, |
| 7300 | .model_id = ST_M29W512B, |
| 7301 | .total_size = 64, |
| 7302 | .page_size = 64 * 1024, |
| 7303 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7304 | .tested = TEST_OK_PRE, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7305 | .probe = probe_jedec, |
| 7306 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7307 | .block_erasers = |
| 7308 | { |
| 7309 | { |
| 7310 | .eraseblocks = { {64 * 1024, 1} }, |
| 7311 | .block_erase = erase_chip_block_jedec, |
| 7312 | } |
| 7313 | }, |
| 7314 | .write = write_jedec_1, |
| 7315 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7316 | .voltage = {2700, 3600}, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7317 | }, |
| 7318 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7319 | { |
| 7320 | .vendor = "ST", |
| 7321 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7322 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7323 | .manufacture_id = ST_ID, |
| 7324 | .model_id = ST_M50FLW040A, |
| 7325 | .total_size = 512, |
| 7326 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7327 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7328 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7329 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7330 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7331 | .block_erasers = |
| 7332 | { |
| 7333 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7334 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7335 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7336 | {64 * 1024, 5}, /* block */ |
| 7337 | {4 * 1024, 16}, /* sector */ |
| 7338 | {4 * 1024, 16}, /* sector */ |
| 7339 | }, |
| 7340 | .block_erase = NULL, |
| 7341 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7342 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7343 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7344 | } |
| 7345 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7346 | .unlock = unlock_stm50flw0x0x, |
| 7347 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7348 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7349 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7350 | }, |
| 7351 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7352 | { |
| 7353 | .vendor = "ST", |
| 7354 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7355 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7356 | .manufacture_id = ST_ID, |
| 7357 | .model_id = ST_M50FLW040B, |
| 7358 | .total_size = 512, |
| 7359 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7360 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7361 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7362 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7363 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7364 | .block_erasers = |
| 7365 | { |
| 7366 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7367 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7368 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7369 | {4 * 1024, 16}, /* sector */ |
| 7370 | {64 * 1024, 5}, /* block */ |
| 7371 | {4 * 1024, 16}, /* sector */ |
| 7372 | }, |
| 7373 | .block_erase = NULL, |
| 7374 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7375 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7376 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7377 | } |
| 7378 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7379 | .unlock = unlock_stm50flw0x0x, |
| 7380 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7381 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7382 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7383 | }, |
| 7384 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7385 | { |
| 7386 | .vendor = "ST", |
| 7387 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7388 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7389 | .manufacture_id = ST_ID, |
| 7390 | .model_id = ST_M50FLW080A, |
| 7391 | .total_size = 1024, |
| 7392 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7393 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7394 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7395 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7396 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7397 | .block_erasers = |
| 7398 | { |
| 7399 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7400 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7401 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7402 | {64 * 1024, 13}, /* block */ |
| 7403 | {4 * 1024, 16}, /* sector */ |
| 7404 | {4 * 1024, 16}, /* sector */ |
| 7405 | }, |
| 7406 | .block_erase = NULL, |
| 7407 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7408 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7409 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7410 | } |
| 7411 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7412 | .unlock = unlock_stm50flw0x0x, |
| 7413 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7414 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7415 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7416 | }, |
| 7417 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7418 | { |
| 7419 | .vendor = "ST", |
| 7420 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7421 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7422 | .manufacture_id = ST_ID, |
| 7423 | .model_id = ST_M50FLW080B, |
| 7424 | .total_size = 1024, |
| 7425 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7426 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7427 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7428 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7429 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7430 | .block_erasers = |
| 7431 | { |
| 7432 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7433 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7434 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7435 | {4 * 1024, 16}, /* sector */ |
| 7436 | {64 * 1024, 13}, /* block */ |
| 7437 | {4 * 1024, 16}, /* sector */ |
| 7438 | }, |
| 7439 | .block_erase = NULL, |
| 7440 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7441 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7442 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7443 | } |
| 7444 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7445 | .unlock = unlock_stm50flw0x0x, |
| 7446 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7447 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7448 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7449 | }, |
| 7450 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7451 | { |
| 7452 | .vendor = "ST", |
| 7453 | .name = "M50FW002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7454 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7455 | .manufacture_id = ST_ID, |
| 7456 | .model_id = ST_M50FW002, |
| 7457 | .total_size = 256, |
| 7458 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7459 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7460 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7461 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7462 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7463 | .block_erasers = |
| 7464 | { |
| 7465 | { |
| 7466 | .eraseblocks = { |
| 7467 | {64 * 1024, 3}, |
| 7468 | {32 * 1024, 1}, |
| 7469 | {8 * 1024, 2}, |
| 7470 | {16 * 1024, 1}, |
| 7471 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7472 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7473 | } |
| 7474 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7475 | .unlock = unlock_stm50flw0x0x, |
| 7476 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7477 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7478 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7479 | }, |
| 7480 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7481 | { |
| 7482 | .vendor = "ST", |
| 7483 | .name = "M50FW016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7484 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7485 | .manufacture_id = ST_ID, |
| 7486 | .model_id = ST_M50FW016, |
| 7487 | .total_size = 2048, |
| 7488 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7489 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7490 | .tested = TEST_UNTESTED, |
| 7491 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7492 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7493 | .block_erasers = |
| 7494 | { |
| 7495 | { |
| 7496 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7497 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7498 | } |
| 7499 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7500 | .unlock = unlock_stm50flw0x0x, |
| 7501 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7502 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7503 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7504 | }, |
| 7505 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7506 | { |
| 7507 | .vendor = "ST", |
| 7508 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7509 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7510 | .manufacture_id = ST_ID, |
| 7511 | .model_id = ST_M50FW040, |
| 7512 | .total_size = 512, |
| 7513 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7514 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7515 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7516 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7517 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7518 | .block_erasers = |
| 7519 | { |
| 7520 | { |
| 7521 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7522 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7523 | } |
| 7524 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7525 | .unlock = unlock_stm50flw0x0x, |
| 7526 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7527 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7528 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7529 | }, |
| 7530 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7531 | { |
| 7532 | .vendor = "ST", |
| 7533 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7534 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7535 | .manufacture_id = ST_ID, |
| 7536 | .model_id = ST_M50FW080, |
| 7537 | .total_size = 1024, |
| 7538 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7539 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7540 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7541 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7542 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7543 | .block_erasers = |
| 7544 | { |
| 7545 | { |
| 7546 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7547 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7548 | } |
| 7549 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7550 | .unlock = unlock_stm50flw0x0x, |
| 7551 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7552 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7553 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7554 | }, |
| 7555 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7556 | { |
| 7557 | .vendor = "ST", |
| 7558 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7559 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7560 | .manufacture_id = ST_ID, |
| 7561 | .model_id = ST_M50LPW116, |
| 7562 | .total_size = 2048, |
| 7563 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7564 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7565 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7566 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7567 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7568 | .block_erasers = |
| 7569 | { |
| 7570 | { |
| 7571 | .eraseblocks = { |
| 7572 | {4 * 1024, 16}, |
| 7573 | {64 * 1024, 30}, |
| 7574 | {32 * 1024, 1}, |
| 7575 | {8 * 1024, 2}, |
| 7576 | {16 * 1024, 1}, |
| 7577 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7578 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7579 | } |
| 7580 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7581 | .unlock = unlock_stm50flw0x0x, |
| 7582 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7583 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7584 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7585 | }, |
| 7586 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7587 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7588 | .vendor = "SyncMOS/MoselVitelic", |
| 7589 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7590 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7591 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7592 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7593 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7594 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7595 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7596 | .tested = TEST_UNTESTED, |
| 7597 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7598 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7599 | .block_erasers = |
| 7600 | { |
| 7601 | { |
| 7602 | .eraseblocks = { {512, 256} }, |
| 7603 | .block_erase = erase_sector_jedec, |
| 7604 | }, { |
| 7605 | .eraseblocks = { {128 * 1024, 1} }, |
| 7606 | .block_erase = erase_chip_block_jedec, |
| 7607 | }, |
| 7608 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7609 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7610 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7611 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7612 | }, |
| 7613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7614 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7615 | .vendor = "SyncMOS/MoselVitelic", |
| 7616 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7617 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7618 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7619 | .model_id = SM_MVC_29C51001T, |
| 7620 | .total_size = 128, |
| 7621 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7622 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7623 | .tested = TEST_UNTESTED, |
| 7624 | .probe = probe_jedec, |
| 7625 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7626 | .block_erasers = |
| 7627 | { |
| 7628 | { |
| 7629 | .eraseblocks = { {512, 256} }, |
| 7630 | .block_erase = erase_sector_jedec, |
| 7631 | }, { |
| 7632 | .eraseblocks = { {128 * 1024, 1} }, |
| 7633 | .block_erase = erase_chip_block_jedec, |
| 7634 | }, |
| 7635 | }, |
| 7636 | .write = write_jedec_1, |
| 7637 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7638 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7639 | }, |
| 7640 | |
| 7641 | { |
| 7642 | .vendor = "SyncMOS/MoselVitelic", |
| 7643 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7644 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7645 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7646 | .model_id = SM_MVC_29C51002B, |
| 7647 | .total_size = 256, |
| 7648 | .page_size = 512, |
| 7649 | .feature_bits = FEATURE_EITHER_RESET, |
| 7650 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7651 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7652 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7653 | .block_erasers = |
| 7654 | { |
| 7655 | { |
| 7656 | .eraseblocks = { {512, 512} }, |
| 7657 | .block_erase = erase_sector_jedec, |
| 7658 | }, { |
| 7659 | .eraseblocks = { {256 * 1024, 1} }, |
| 7660 | .block_erase = erase_chip_block_jedec, |
| 7661 | }, |
| 7662 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7663 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7664 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7665 | }, |
| 7666 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7667 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7668 | .vendor = "SyncMOS/MoselVitelic", |
| 7669 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7670 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7671 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7672 | .model_id = SM_MVC_29C51002T, |
| 7673 | .total_size = 256, |
| 7674 | .page_size = 512, |
| 7675 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7676 | .tested = TEST_OK_PRE, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7677 | .probe = probe_jedec, |
| 7678 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7679 | .block_erasers = |
| 7680 | { |
| 7681 | { |
| 7682 | .eraseblocks = { {512, 512} }, |
| 7683 | .block_erase = erase_sector_jedec, |
| 7684 | }, { |
| 7685 | .eraseblocks = { {256 * 1024, 1} }, |
| 7686 | .block_erase = erase_chip_block_jedec, |
| 7687 | }, |
| 7688 | }, |
| 7689 | .write = write_jedec_1, |
| 7690 | .read = read_memmapped, |
| 7691 | }, |
| 7692 | |
| 7693 | { |
| 7694 | .vendor = "SyncMOS/MoselVitelic", |
| 7695 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7696 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7697 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7698 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7699 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7700 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7701 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7702 | .tested = TEST_UNTESTED, |
| 7703 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7704 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7705 | .block_erasers = |
| 7706 | { |
| 7707 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7708 | .eraseblocks = { {1024, 512} }, |
| 7709 | .block_erase = erase_sector_jedec, |
| 7710 | }, { |
| 7711 | .eraseblocks = { {512 * 1024, 1} }, |
| 7712 | .block_erase = erase_chip_block_jedec, |
| 7713 | }, |
| 7714 | }, |
| 7715 | .write = write_jedec_1, |
| 7716 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7717 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7718 | }, |
| 7719 | |
| 7720 | { |
| 7721 | .vendor = "SyncMOS/MoselVitelic", |
| 7722 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7723 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7724 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7725 | .model_id = SM_MVC_29C51004T, |
| 7726 | .total_size = 512, |
| 7727 | .page_size = 1024, |
| 7728 | .feature_bits = FEATURE_EITHER_RESET, |
| 7729 | .tested = TEST_UNTESTED, |
| 7730 | .probe = probe_jedec, |
| 7731 | .probe_timing = TIMING_ZERO, |
| 7732 | .block_erasers = |
| 7733 | { |
| 7734 | { |
| 7735 | .eraseblocks = { {1024, 512} }, |
| 7736 | .block_erase = erase_sector_jedec, |
| 7737 | }, { |
| 7738 | .eraseblocks = { {512 * 1024, 1} }, |
| 7739 | .block_erase = erase_chip_block_jedec, |
| 7740 | }, |
| 7741 | }, |
| 7742 | .write = write_jedec_1, |
| 7743 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7744 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7745 | }, |
| 7746 | |
| 7747 | { |
| 7748 | .vendor = "SyncMOS/MoselVitelic", |
| 7749 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7750 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7751 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7752 | .model_id = SM_MVC_29C31004B, |
| 7753 | .total_size = 512, |
| 7754 | .page_size = 1024, |
| 7755 | .feature_bits = FEATURE_EITHER_RESET, |
| 7756 | .tested = TEST_UNTESTED, |
| 7757 | .probe = probe_jedec, |
| 7758 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7759 | .block_erasers = |
| 7760 | { |
| 7761 | { |
| 7762 | .eraseblocks = { {1024, 512} }, |
| 7763 | .block_erase = erase_sector_jedec, |
| 7764 | }, { |
| 7765 | .eraseblocks = { {512 * 1024, 1} }, |
| 7766 | .block_erase = erase_chip_block_jedec, |
| 7767 | }, |
| 7768 | }, |
| 7769 | .write = write_jedec_1, |
| 7770 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7771 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7772 | }, |
| 7773 | |
| 7774 | { |
| 7775 | .vendor = "SyncMOS/MoselVitelic", |
| 7776 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7777 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7778 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7779 | .model_id = SM_MVC_29C31004T, |
| 7780 | .total_size = 512, |
| 7781 | .page_size = 1024, |
| 7782 | .feature_bits = FEATURE_EITHER_RESET, |
| 7783 | .tested = TEST_UNTESTED, |
| 7784 | .probe = probe_jedec, |
| 7785 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7786 | .block_erasers = |
| 7787 | { |
| 7788 | { |
| 7789 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7790 | .block_erase = erase_sector_jedec, |
| 7791 | }, { |
| 7792 | .eraseblocks = { {512 * 1024, 1} }, |
| 7793 | .block_erase = erase_chip_block_jedec, |
| 7794 | }, |
| 7795 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7796 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7797 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7798 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7799 | }, |
| 7800 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7801 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7802 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7803 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7804 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7805 | .manufacture_id = TI_OLD_ID, |
| 7806 | .model_id = TI_TMS29F002RB, |
| 7807 | .total_size = 256, |
| 7808 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7809 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7810 | .tested = TEST_UNTESTED, |
| 7811 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7812 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7813 | .block_erasers = |
| 7814 | { |
| 7815 | { |
| 7816 | .eraseblocks = { |
| 7817 | {16 * 1024, 1}, |
| 7818 | {8 * 1024, 2}, |
| 7819 | {32 * 1024, 1}, |
| 7820 | {64 * 1024, 3}, |
| 7821 | }, |
| 7822 | .block_erase = erase_sector_jedec, |
| 7823 | }, { |
| 7824 | .eraseblocks = { {256 * 1024, 1} }, |
| 7825 | .block_erase = erase_chip_block_jedec, |
| 7826 | }, |
| 7827 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7828 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7829 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7830 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7831 | }, |
| 7832 | |
| 7833 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7834 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7835 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7836 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7837 | .manufacture_id = TI_OLD_ID, |
| 7838 | .model_id = TI_TMS29F002RT, |
| 7839 | .total_size = 256, |
| 7840 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7841 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7842 | .tested = TEST_UNTESTED, |
| 7843 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7844 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7845 | .block_erasers = |
| 7846 | { |
| 7847 | { |
| 7848 | .eraseblocks = { |
| 7849 | {64 * 1024, 3}, |
| 7850 | {32 * 1024, 1}, |
| 7851 | {8 * 1024, 2}, |
| 7852 | {16 * 1024, 1}, |
| 7853 | }, |
| 7854 | .block_erase = erase_sector_jedec, |
| 7855 | }, { |
| 7856 | .eraseblocks = { {256 * 1024, 1} }, |
| 7857 | .block_erase = erase_chip_block_jedec, |
| 7858 | }, |
| 7859 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7860 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7861 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7862 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7863 | }, |
| 7864 | |
| 7865 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7866 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7867 | .name = "W25Q80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7868 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7869 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7870 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7871 | .total_size = 1024, |
| 7872 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7873 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7874 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7875 | .probe = probe_spi_rdid, |
| 7876 | .probe_timing = TIMING_ZERO, |
| 7877 | .block_erasers = |
| 7878 | { |
| 7879 | { |
| 7880 | .eraseblocks = { {4 * 1024, 256} }, |
| 7881 | .block_erase = spi_block_erase_20, |
| 7882 | }, { |
| 7883 | .eraseblocks = { {32 * 1024, 32} }, |
| 7884 | .block_erase = spi_block_erase_52, |
| 7885 | }, { |
| 7886 | .eraseblocks = { {64 * 1024, 16} }, |
| 7887 | .block_erase = spi_block_erase_d8, |
| 7888 | }, { |
| 7889 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7890 | .block_erase = spi_block_erase_60, |
| 7891 | }, { |
| 7892 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7893 | .block_erase = spi_block_erase_c7, |
| 7894 | } |
| 7895 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7896 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7897 | .write = spi_chip_write_256, |
| 7898 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7899 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7900 | }, |
| 7901 | |
| 7902 | { |
| 7903 | .vendor = "Winbond", |
| 7904 | .name = "W25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7905 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7906 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7907 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7908 | .total_size = 2048, |
| 7909 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7910 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 7911 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7912 | .probe = probe_spi_rdid, |
| 7913 | .probe_timing = TIMING_ZERO, |
| 7914 | .block_erasers = |
| 7915 | { |
| 7916 | { |
| 7917 | .eraseblocks = { {4 * 1024, 512} }, |
| 7918 | .block_erase = spi_block_erase_20, |
| 7919 | }, { |
| 7920 | .eraseblocks = { {32 * 1024, 64} }, |
| 7921 | .block_erase = spi_block_erase_52, |
| 7922 | }, { |
| 7923 | .eraseblocks = { {64 * 1024, 32} }, |
| 7924 | .block_erase = spi_block_erase_d8, |
| 7925 | }, { |
| 7926 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7927 | .block_erase = spi_block_erase_60, |
| 7928 | }, { |
| 7929 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7930 | .block_erase = spi_block_erase_c7, |
| 7931 | } |
| 7932 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7933 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7934 | .write = spi_chip_write_256, |
| 7935 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7936 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7937 | }, |
| 7938 | |
| 7939 | { |
| 7940 | .vendor = "Winbond", |
| 7941 | .name = "W25Q32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7942 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7943 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7944 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7945 | .total_size = 4096, |
| 7946 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7947 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7948 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7949 | .probe = probe_spi_rdid, |
| 7950 | .probe_timing = TIMING_ZERO, |
| 7951 | .block_erasers = |
| 7952 | { |
| 7953 | { |
| 7954 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7955 | .block_erase = spi_block_erase_20, |
| 7956 | }, { |
| 7957 | .eraseblocks = { {32 * 1024, 128} }, |
| 7958 | .block_erase = spi_block_erase_52, |
| 7959 | }, { |
| 7960 | .eraseblocks = { {64 * 1024, 64} }, |
| 7961 | .block_erase = spi_block_erase_d8, |
| 7962 | }, { |
| 7963 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7964 | .block_erase = spi_block_erase_60, |
| 7965 | }, { |
| 7966 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7967 | .block_erase = spi_block_erase_c7, |
| 7968 | } |
| 7969 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7970 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7971 | .write = spi_chip_write_256, |
| 7972 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7973 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7974 | }, |
| 7975 | |
| 7976 | { |
| 7977 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7978 | .name = "W25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7979 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7980 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7981 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7982 | .total_size = 8192, |
| 7983 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7984 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7985 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7986 | .probe = probe_spi_rdid, |
| 7987 | .probe_timing = TIMING_ZERO, |
| 7988 | .block_erasers = |
| 7989 | { |
| 7990 | { |
| 7991 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7992 | .block_erase = spi_block_erase_20, |
| 7993 | }, { |
| 7994 | .eraseblocks = { {32 * 1024, 256} }, |
| 7995 | .block_erase = spi_block_erase_52, |
| 7996 | }, { |
| 7997 | .eraseblocks = { {64 * 1024, 128} }, |
| 7998 | .block_erase = spi_block_erase_d8, |
| 7999 | }, { |
| 8000 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8001 | .block_erase = spi_block_erase_60, |
| 8002 | }, { |
| 8003 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8004 | .block_erase = spi_block_erase_c7, |
| 8005 | } |
| 8006 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8007 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8008 | .write = spi_chip_write_256, |
| 8009 | .read = spi_chip_read, |
| 8010 | }, |
| 8011 | |
| 8012 | { |
| 8013 | .vendor = "Winbond", |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8014 | .name = "W25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8015 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8016 | .manufacture_id = WINBOND_NEX_ID, |
| 8017 | .model_id = WINBOND_NEX_W25Q128, |
| 8018 | .total_size = 16384, |
| 8019 | .page_size = 256, |
| 8020 | .feature_bits = FEATURE_WRSR_WREN, |
| 8021 | .tested = TEST_OK_PROBE, |
| 8022 | .probe = probe_spi_rdid, |
| 8023 | .probe_timing = TIMING_ZERO, |
| 8024 | .block_erasers = |
| 8025 | { |
| 8026 | { |
| 8027 | .eraseblocks = { {4 * 1024, 4096} }, |
| 8028 | .block_erase = spi_block_erase_20, |
| 8029 | }, { |
| 8030 | .eraseblocks = { {32 * 1024, 512} }, |
| 8031 | .block_erase = spi_block_erase_52, |
| 8032 | }, { |
| 8033 | .eraseblocks = { {64 * 1024, 256} }, |
| 8034 | .block_erase = spi_block_erase_d8, |
| 8035 | }, { |
| 8036 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8037 | .block_erase = spi_block_erase_60, |
| 8038 | }, { |
| 8039 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8040 | .block_erase = spi_block_erase_c7, |
| 8041 | } |
| 8042 | }, |
| 8043 | .unlock = spi_disable_blockprotect, |
| 8044 | .write = spi_chip_write_256, |
| 8045 | .read = spi_chip_read, |
| 8046 | }, |
| 8047 | |
| 8048 | { |
| 8049 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8050 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8051 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8052 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8053 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8054 | .total_size = 128, |
| 8055 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8056 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8057 | .tested = TEST_UNTESTED, |
| 8058 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8059 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8060 | .block_erasers = |
| 8061 | { |
| 8062 | { |
| 8063 | .eraseblocks = { {4 * 1024, 32} }, |
| 8064 | .block_erase = spi_block_erase_20, |
| 8065 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8066 | .eraseblocks = { {64 * 1024, 2} }, |
| 8067 | .block_erase = spi_block_erase_d8, |
| 8068 | }, { |
| 8069 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8070 | .block_erase = spi_block_erase_c7, |
| 8071 | } |
| 8072 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8073 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8074 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8075 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8076 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8077 | }, |
| 8078 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8079 | { |
| 8080 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8081 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8082 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8083 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8084 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8085 | .total_size = 256, |
| 8086 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8087 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8088 | .tested = TEST_UNTESTED, |
| 8089 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8090 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8091 | .block_erasers = |
| 8092 | { |
| 8093 | { |
| 8094 | .eraseblocks = { {4 * 1024, 64} }, |
| 8095 | .block_erase = spi_block_erase_20, |
| 8096 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8097 | .eraseblocks = { {64 * 1024, 4} }, |
| 8098 | .block_erase = spi_block_erase_d8, |
| 8099 | }, { |
| 8100 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8101 | .block_erase = spi_block_erase_c7, |
| 8102 | } |
| 8103 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8104 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8105 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8106 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8107 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8108 | }, |
| 8109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8110 | { |
| 8111 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8112 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8113 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8114 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8115 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8116 | .total_size = 512, |
| 8117 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8118 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8119 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8120 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8121 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8122 | .block_erasers = |
| 8123 | { |
| 8124 | { |
| 8125 | .eraseblocks = { {4 * 1024, 128} }, |
| 8126 | .block_erase = spi_block_erase_20, |
| 8127 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8128 | .eraseblocks = { {64 * 1024, 8} }, |
| 8129 | .block_erase = spi_block_erase_d8, |
| 8130 | }, { |
| 8131 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8132 | .block_erase = spi_block_erase_c7, |
| 8133 | } |
| 8134 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8135 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8136 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8137 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8138 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8139 | }, |
| 8140 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8141 | { |
| 8142 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8143 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8144 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8145 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8146 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8147 | .total_size = 1024, |
| 8148 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8149 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 8150 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8151 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8152 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8153 | .block_erasers = |
| 8154 | { |
| 8155 | { |
| 8156 | .eraseblocks = { {4 * 1024, 256} }, |
| 8157 | .block_erase = spi_block_erase_20, |
| 8158 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8159 | .eraseblocks = { {64 * 1024, 16} }, |
| 8160 | .block_erase = spi_block_erase_d8, |
| 8161 | }, { |
| 8162 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8163 | .block_erase = spi_block_erase_c7, |
| 8164 | } |
| 8165 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8166 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8167 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8168 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8169 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8170 | }, |
| 8171 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8172 | { |
| 8173 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8174 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8175 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8176 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8177 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8178 | .total_size = 2048, |
| 8179 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8180 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 8181 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8182 | .probe = probe_spi_rdid, |
| 8183 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8184 | .block_erasers = |
| 8185 | { |
| 8186 | { |
| 8187 | .eraseblocks = { {4 * 1024, 512} }, |
| 8188 | .block_erase = spi_block_erase_20, |
| 8189 | }, { |
| 8190 | .eraseblocks = { {32 * 1024, 64} }, |
| 8191 | .block_erase = spi_block_erase_52, |
| 8192 | }, { |
| 8193 | .eraseblocks = { {64 * 1024, 32} }, |
| 8194 | .block_erase = spi_block_erase_d8, |
| 8195 | }, { |
| 8196 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8197 | .block_erase = spi_block_erase_60, |
| 8198 | }, { |
| 8199 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8200 | .block_erase = spi_block_erase_c7, |
| 8201 | } |
| 8202 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8203 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8204 | .write = spi_chip_write_256, |
| 8205 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8206 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8207 | }, |
| 8208 | |
| 8209 | { |
| 8210 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8211 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8212 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8213 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8214 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8215 | .total_size = 4096, |
| 8216 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8217 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8218 | .tested = TEST_OK_PROBE, |
| 8219 | .probe = probe_spi_rdid, |
| 8220 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8221 | .block_erasers = |
| 8222 | { |
| 8223 | { |
| 8224 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8225 | .block_erase = spi_block_erase_20, |
| 8226 | }, { |
| 8227 | .eraseblocks = { {32 * 1024, 128} }, |
| 8228 | .block_erase = spi_block_erase_52, |
| 8229 | }, { |
| 8230 | .eraseblocks = { {64 * 1024, 64} }, |
| 8231 | .block_erase = spi_block_erase_d8, |
| 8232 | }, { |
| 8233 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8234 | .block_erase = spi_block_erase_60, |
| 8235 | }, { |
| 8236 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8237 | .block_erase = spi_block_erase_c7, |
| 8238 | } |
| 8239 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8240 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8241 | .write = spi_chip_write_256, |
| 8242 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8243 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8244 | }, |
| 8245 | |
| 8246 | { |
| 8247 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8248 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8249 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8250 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8251 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8252 | .total_size = 8192, |
| 8253 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8254 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8255 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8256 | .probe = probe_spi_rdid, |
| 8257 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8258 | .block_erasers = |
| 8259 | { |
| 8260 | { |
| 8261 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8262 | .block_erase = spi_block_erase_20, |
| 8263 | }, { |
| 8264 | .eraseblocks = { {32 * 1024, 256} }, |
| 8265 | .block_erase = spi_block_erase_52, |
| 8266 | }, { |
| 8267 | .eraseblocks = { {64 * 1024, 128} }, |
| 8268 | .block_erase = spi_block_erase_d8, |
| 8269 | }, { |
| 8270 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8271 | .block_erase = spi_block_erase_60, |
| 8272 | }, { |
| 8273 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8274 | .block_erase = spi_block_erase_c7, |
| 8275 | } |
| 8276 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8277 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8278 | .write = spi_chip_write_256, |
| 8279 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8280 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8281 | }, |
| 8282 | |
| 8283 | { |
| 8284 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8285 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8286 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8287 | .manufacture_id = WINBOND_ID, |
| 8288 | .model_id = WINBOND_W29C010, |
| 8289 | .total_size = 128, |
| 8290 | .page_size = 128, |
| 8291 | .feature_bits = FEATURE_LONG_RESET, |
| 8292 | .tested = TEST_OK_PRE, |
| 8293 | .probe = probe_w29ee011, |
| 8294 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 8295 | .block_erasers = |
| 8296 | { |
| 8297 | { |
| 8298 | .eraseblocks = { {128 * 1024, 1} }, |
| 8299 | .block_erase = erase_chip_block_jedec, |
| 8300 | } |
| 8301 | }, |
| 8302 | .write = write_jedec, |
| 8303 | .read = read_memmapped, |
| 8304 | }, |
| 8305 | |
| 8306 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 8307 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8308 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8309 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8310 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8311 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8312 | .total_size = 128, |
| 8313 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8314 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8315 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8316 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8317 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8318 | .block_erasers = |
| 8319 | { |
| 8320 | { |
| 8321 | .eraseblocks = { {128 * 1024, 1} }, |
| 8322 | .block_erase = erase_chip_block_jedec, |
| 8323 | } |
| 8324 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8325 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8326 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8327 | }, |
| 8328 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8329 | { |
| 8330 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8331 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8332 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8333 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8334 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8335 | .total_size = 256, |
| 8336 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8337 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8338 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8339 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8340 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8341 | .block_erasers = |
| 8342 | { |
| 8343 | { |
| 8344 | .eraseblocks = { {256 * 1024, 1} }, |
| 8345 | .block_erase = erase_chip_block_jedec, |
| 8346 | } |
| 8347 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8348 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8349 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8350 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8351 | }, |
| 8352 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8353 | { |
| 8354 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8355 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8356 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8357 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8358 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8359 | .total_size = 512, |
| 8360 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8361 | .feature_bits = FEATURE_LONG_RESET, |
| 8362 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8363 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8364 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8365 | .block_erasers = |
| 8366 | { |
| 8367 | { |
| 8368 | .eraseblocks = { {512 * 1024, 1} }, |
| 8369 | .block_erase = erase_chip_block_jedec, |
| 8370 | } |
| 8371 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8372 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8373 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8374 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8375 | }, |
| 8376 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8377 | { |
| 8378 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8379 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8380 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8381 | .manufacture_id = WINBOND_ID, |
| 8382 | .model_id = WINBOND_W39L040, |
| 8383 | .total_size = 512, |
| 8384 | .page_size = 64 * 1024, |
| 8385 | .feature_bits = FEATURE_EITHER_RESET, |
| 8386 | .tested = TEST_OK_PR, |
| 8387 | .probe = probe_jedec, |
| 8388 | .probe_timing = 10, |
| 8389 | .block_erasers = |
| 8390 | { |
| 8391 | { |
| 8392 | .eraseblocks = { {4 * 1024, 128} }, |
| 8393 | .block_erase = erase_block_jedec, |
| 8394 | }, { |
| 8395 | .eraseblocks = { {64 * 1024, 8} }, |
| 8396 | .block_erase = erase_sector_jedec, |
| 8397 | }, { |
| 8398 | .eraseblocks = { {512 * 1024, 1} }, |
| 8399 | .block_erase = erase_chip_block_jedec, |
| 8400 | } |
| 8401 | }, |
| 8402 | .printlock = printlock_w39l040, |
| 8403 | .write = write_jedec_1, |
| 8404 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8405 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8406 | }, |
| 8407 | |
| 8408 | { |
| 8409 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8410 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8411 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8412 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8413 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8414 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8415 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8416 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8417 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8418 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8419 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8420 | .block_erasers = |
| 8421 | { |
| 8422 | { |
| 8423 | .eraseblocks = { {64 * 1024, 8} }, |
| 8424 | .block_erase = erase_sector_jedec, |
| 8425 | }, { |
| 8426 | .eraseblocks = { {512 * 1024, 1} }, |
| 8427 | .block_erase = erase_chip_block_jedec, |
| 8428 | } |
| 8429 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8430 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8431 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8432 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8433 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8434 | }, |
| 8435 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8436 | { |
| 8437 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8438 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8439 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8440 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8441 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8442 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8443 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8444 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8445 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8446 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8447 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8448 | .block_erasers = |
| 8449 | { |
| 8450 | { |
| 8451 | .eraseblocks = { {64 * 1024, 8} }, |
| 8452 | .block_erase = erase_sector_jedec, |
| 8453 | }, { |
| 8454 | .eraseblocks = { {512 * 1024, 1} }, |
| 8455 | .block_erase = erase_chip_block_jedec, |
| 8456 | } |
| 8457 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8458 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8459 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8460 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8461 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8462 | }, |
| 8463 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8464 | { |
| 8465 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8466 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8467 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8468 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8469 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8470 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8471 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8472 | .feature_bits = FEATURE_EITHER_RESET, |
| 8473 | .tested = TEST_UNTESTED, |
| 8474 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8475 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8476 | .block_erasers = |
| 8477 | { |
| 8478 | { |
| 8479 | .eraseblocks = { {64 * 1024, 8} }, |
| 8480 | .block_erase = erase_sector_jedec, |
| 8481 | }, { |
| 8482 | .eraseblocks = { {512 * 1024, 1} }, |
| 8483 | .block_erase = erase_chip_block_jedec, |
| 8484 | } |
| 8485 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 8486 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8487 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8488 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8489 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8490 | }, |
| 8491 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8492 | { |
| 8493 | .vendor = "Winbond", |
| 8494 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8495 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8496 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8497 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8498 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8499 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8500 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8501 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8502 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8503 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8504 | .block_erasers = |
| 8505 | { |
| 8506 | { |
| 8507 | .eraseblocks = { {4 * 1024, 128} }, |
| 8508 | .block_erase = erase_block_jedec, |
| 8509 | }, { |
| 8510 | .eraseblocks = { {64 * 1024, 8} }, |
| 8511 | .block_erase = erase_sector_jedec, |
| 8512 | }, { |
| 8513 | .eraseblocks = { {512 * 1024, 1} }, |
| 8514 | .block_erase = erase_chip_block_jedec, |
| 8515 | } |
| 8516 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8517 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8518 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8519 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8520 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8521 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8522 | }, |
| 8523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8524 | { |
| 8525 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8526 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8527 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8528 | .manufacture_id = WINBOND_ID, |
| 8529 | .model_id = WINBOND_W39V040B, |
| 8530 | .total_size = 512, |
| 8531 | .page_size = 64 * 1024, |
| 8532 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8533 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8534 | .probe = probe_jedec, |
| 8535 | .probe_timing = 10, |
| 8536 | .block_erasers = |
| 8537 | { |
| 8538 | { |
| 8539 | .eraseblocks = { {64 * 1024, 8} }, |
| 8540 | .block_erase = erase_sector_jedec, |
| 8541 | }, { |
| 8542 | .eraseblocks = { {512 * 1024, 1} }, |
| 8543 | .block_erase = erase_chip_block_jedec, |
| 8544 | } |
| 8545 | }, |
| 8546 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 8547 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8548 | .write = write_jedec_1, |
| 8549 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8550 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8551 | }, |
| 8552 | |
| 8553 | { |
| 8554 | .vendor = "Winbond", |
| 8555 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8556 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8557 | .manufacture_id = WINBOND_ID, |
| 8558 | .model_id = WINBOND_W39V040C, |
| 8559 | .total_size = 512, |
| 8560 | .page_size = 64 * 1024, |
| 8561 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 8562 | .tested = TEST_UNTESTED, |
| 8563 | .probe = probe_jedec, |
| 8564 | .probe_timing = 10, |
| 8565 | .block_erasers = |
| 8566 | { |
| 8567 | { |
| 8568 | .eraseblocks = { {64 * 1024, 8} }, |
| 8569 | .block_erase = erase_sector_jedec, |
| 8570 | }, { |
| 8571 | .eraseblocks = { {512 * 1024, 1} }, |
| 8572 | .block_erase = erase_chip_block_jedec, |
| 8573 | } |
| 8574 | }, |
| 8575 | .printlock = printlock_w39v040fc, |
| 8576 | .write = write_jedec_1, |
| 8577 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8578 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8579 | }, |
| 8580 | |
| 8581 | { |
| 8582 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8583 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8584 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8585 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8586 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8587 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8588 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8589 | .feature_bits = FEATURE_EITHER_RESET, |
| 8590 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8591 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8592 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8593 | .block_erasers = |
| 8594 | { |
| 8595 | { |
| 8596 | .eraseblocks = { {64 * 1024, 16} }, |
| 8597 | .block_erase = erase_sector_jedec, |
| 8598 | }, { |
| 8599 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8600 | .block_erase = erase_chip_block_jedec, |
| 8601 | } |
| 8602 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8603 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8604 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8605 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8606 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8607 | }, |
| 8608 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8609 | { |
| 8610 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8611 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8612 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8613 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8614 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8615 | .total_size = 256, |
| 8616 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8617 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8618 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8619 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8620 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8621 | .block_erasers = |
| 8622 | { |
| 8623 | { |
| 8624 | .eraseblocks = { |
| 8625 | {128 * 1024, 1}, |
| 8626 | {96 * 1024, 1}, |
| 8627 | {8 * 1024, 2}, |
| 8628 | {16 * 1024, 1}, |
| 8629 | }, |
| 8630 | .block_erase = erase_sector_jedec, |
| 8631 | }, { |
| 8632 | .eraseblocks = { {256 * 1024, 1} }, |
| 8633 | .block_erase = erase_chip_block_jedec, |
| 8634 | } |
| 8635 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8636 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8637 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8638 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8639 | }, |
| 8640 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8641 | { |
| 8642 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8643 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8644 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8645 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8646 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8647 | .total_size = 256, |
| 8648 | .page_size = 128, |
| 8649 | .feature_bits = FEATURE_EITHER_RESET, |
| 8650 | .tested = TEST_OK_PROBE, |
| 8651 | .probe = probe_jedec, |
| 8652 | .probe_timing = 10, |
| 8653 | .block_erasers = |
| 8654 | { |
| 8655 | { |
| 8656 | .eraseblocks = { {256 * 1024, 1} }, |
| 8657 | .block_erase = erase_chip_block_jedec, |
| 8658 | } |
| 8659 | }, |
| 8660 | .write = write_jedec_1, |
| 8661 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8662 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8663 | }, |
| 8664 | |
| 8665 | { |
| 8666 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8667 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8668 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8669 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8670 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8671 | .total_size = 256, |
| 8672 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8673 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8674 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8675 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8676 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8677 | .block_erasers = |
| 8678 | { |
| 8679 | { |
| 8680 | .eraseblocks = { |
| 8681 | {64 * 1024, 3}, |
| 8682 | {32 * 1024, 1}, |
| 8683 | {8 * 1024, 2}, |
| 8684 | {16 * 1024, 1}, |
| 8685 | }, |
| 8686 | .block_erase = erase_sector_jedec, |
| 8687 | }, { |
| 8688 | .eraseblocks = { {256 * 1024, 1} }, |
| 8689 | .block_erase = erase_chip_block_jedec, |
| 8690 | } |
| 8691 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8692 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8693 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8694 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8695 | }, |
| 8696 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8697 | { |
| 8698 | .vendor = "Winbond", |
| 8699 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8700 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8701 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8702 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8703 | .total_size = 256, |
| 8704 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8705 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8706 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8707 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8708 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8709 | .block_erasers = |
| 8710 | { |
| 8711 | { |
| 8712 | .eraseblocks = { |
| 8713 | {64 * 1024, 3}, |
| 8714 | {32 * 1024, 1}, |
| 8715 | {8 * 1024, 2}, |
| 8716 | {16 * 1024, 1}, |
| 8717 | }, |
| 8718 | .block_erase = erase_sector_jedec, |
| 8719 | }, { |
| 8720 | .eraseblocks = { {256 * 1024, 1} }, |
| 8721 | .block_erase = erase_chip_block_jedec, |
| 8722 | } |
| 8723 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8724 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8725 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8726 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8727 | }, |
| 8728 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8729 | { |
| 8730 | .vendor = "Winbond", |
| 8731 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8732 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8733 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8734 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8735 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8736 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8737 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8738 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8739 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8740 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8741 | .block_erasers = |
| 8742 | { |
| 8743 | { |
| 8744 | .eraseblocks = { {64 * 1024, 16}, }, |
| 8745 | .block_erase = erase_sector_jedec, |
| 8746 | }, { |
| 8747 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8748 | .block_erase = erase_chip_block_jedec, |
| 8749 | } |
| 8750 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8751 | .printlock = printlock_w39v080fa, |
| 8752 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8753 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8754 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8755 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8756 | }, |
| 8757 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8758 | { |
| 8759 | .vendor = "Winbond", |
| 8760 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8761 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8762 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8763 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8764 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8765 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8766 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8767 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8768 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8769 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8770 | .block_erasers = |
| 8771 | { |
| 8772 | { |
| 8773 | .eraseblocks = { {64 * 1024, 8}, }, |
| 8774 | .block_erase = erase_sector_jedec, |
| 8775 | }, { |
| 8776 | .eraseblocks = { {512 * 1024, 1} }, |
| 8777 | .block_erase = erase_chip_block_jedec, |
| 8778 | } |
| 8779 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8780 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8781 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8782 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8783 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8784 | }, |
| 8785 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8786 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 8787 | .vendor = "AMIC", |
| 8788 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8789 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 8790 | .manufacture_id = AMIC_ID, |
| 8791 | .model_id = GENERIC_DEVICE_ID, |
| 8792 | .total_size = 0, |
| 8793 | .page_size = 256, |
| 8794 | .tested = TEST_BAD_PREW, |
| 8795 | .probe = probe_spi_rdid4, |
| 8796 | .probe_timing = TIMING_ZERO, |
| 8797 | .write = NULL, |
| 8798 | .read = NULL, |
| 8799 | }, |
| 8800 | |
| 8801 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8802 | .vendor = "Atmel", |
| 8803 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8804 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8805 | .manufacture_id = ATMEL_ID, |
| 8806 | .model_id = GENERIC_DEVICE_ID, |
| 8807 | .total_size = 0, |
| 8808 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8809 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8810 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8811 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8812 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8813 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8814 | }, |
| 8815 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8816 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 8817 | .vendor = "Eon", |
| 8818 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8819 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8820 | .manufacture_id = EON_ID_NOPREFIX, |
| 8821 | .model_id = GENERIC_DEVICE_ID, |
| 8822 | .total_size = 0, |
| 8823 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8824 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8825 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8826 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8827 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8828 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8829 | }, |
| 8830 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8831 | { |
| 8832 | .vendor = "Macronix", |
| 8833 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8834 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8835 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8836 | .model_id = GENERIC_DEVICE_ID, |
| 8837 | .total_size = 0, |
| 8838 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8839 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8840 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8841 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8842 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8843 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8844 | }, |
| 8845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8846 | { |
| 8847 | .vendor = "PMC", |
| 8848 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8849 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8850 | .manufacture_id = PMC_ID, |
| 8851 | .model_id = GENERIC_DEVICE_ID, |
| 8852 | .total_size = 0, |
| 8853 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8854 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8855 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8856 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8857 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8858 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8859 | }, |
| 8860 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8861 | { |
| 8862 | .vendor = "SST", |
| 8863 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8864 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8865 | .manufacture_id = SST_ID, |
| 8866 | .model_id = GENERIC_DEVICE_ID, |
| 8867 | .total_size = 0, |
| 8868 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8869 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8870 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8871 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8872 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8873 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8874 | }, |
| 8875 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8876 | { |
| 8877 | .vendor = "ST", |
| 8878 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8879 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8880 | .manufacture_id = ST_ID, |
| 8881 | .model_id = GENERIC_DEVICE_ID, |
| 8882 | .total_size = 0, |
| 8883 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8884 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8885 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8886 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8887 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8888 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8889 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 8890 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8891 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8892 | .vendor = "Sanyo", |
| 8893 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8894 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8895 | .manufacture_id = SANYO_ID, |
| 8896 | .model_id = GENERIC_DEVICE_ID, |
| 8897 | .total_size = 0, |
| 8898 | .page_size = 256, |
| 8899 | .tested = TEST_BAD_PREW, |
| 8900 | .probe = probe_spi_rdid, |
| 8901 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8902 | .write = NULL, |
| 8903 | .read = NULL, |
| 8904 | }, |
| 8905 | |
| 8906 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8907 | .vendor = "Generic", |
| 8908 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8909 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8910 | .manufacture_id = GENERIC_MANUF_ID, |
| 8911 | .model_id = GENERIC_DEVICE_ID, |
| 8912 | .total_size = 0, |
| 8913 | .page_size = 256, |
| 8914 | .tested = TEST_BAD_PREW, |
| 8915 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8916 | .write = NULL, |
| 8917 | }, |
| 8918 | { |
| 8919 | .vendor = "Generic", |
| 8920 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8921 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8922 | .manufacture_id = GENERIC_MANUF_ID, |
| 8923 | .model_id = GENERIC_DEVICE_ID, |
| 8924 | .total_size = 0, |
| 8925 | .page_size = 256, |
| 8926 | .tested = TEST_BAD_PREW, |
| 8927 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8928 | .write = NULL, |
| 8929 | }, |
| 8930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8931 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 8932 | }; |