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, |
Uwe Hermann | 09ebd52 | 2011-08-25 22:54:23 +0000 | [diff] [blame^] | 431 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 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", |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 5382 | .name = "LH28F008BJT-BTLZ1", |
| 5383 | .bustype = BUS_PARALLEL, |
| 5384 | .manufacture_id = SHARP_ID, |
| 5385 | .model_id = SHARP_LH28F008BJxxPB, |
| 5386 | .total_size = 1024, |
| 5387 | .page_size = 64 * 1024, |
| 5388 | .tested = TEST_OK_PREW, |
| 5389 | .probe = probe_82802ab, |
| 5390 | .probe_timing = TIMING_ZERO, |
| 5391 | .block_erasers = |
| 5392 | { |
| 5393 | { |
| 5394 | .eraseblocks = { |
| 5395 | {8 * 1024, 8}, |
| 5396 | {64 * 1024, 15} |
| 5397 | }, |
| 5398 | .block_erase = erase_block_82802ab, |
| 5399 | }, { |
| 5400 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5401 | .block_erase = erase_sector_49lfxxxc, |
| 5402 | } |
| 5403 | }, |
| 5404 | .unlock = unlock_lh28f008bjt, |
| 5405 | .write = write_82802ab, |
| 5406 | .read = read_memmapped, |
| 5407 | .voltage = {2700, 3600}, |
| 5408 | }, |
| 5409 | |
| 5410 | { |
| 5411 | .vendor = "Sharp", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5412 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5413 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5414 | .manufacture_id = SHARP_ID, |
| 5415 | .model_id = SHARP_LHF00L04, |
| 5416 | .total_size = 1024, |
| 5417 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5418 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5419 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5420 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5421 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5422 | .block_erasers = |
| 5423 | { |
| 5424 | { |
| 5425 | .eraseblocks = { |
| 5426 | {64 * 1024, 15}, |
| 5427 | {8 * 1024, 8} |
| 5428 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5429 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5430 | }, { |
| 5431 | .eraseblocks = { |
| 5432 | {1024 * 1024, 1} |
| 5433 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5434 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5435 | }, |
| 5436 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5437 | .unlock = unlock_82802ab, |
| 5438 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5439 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5440 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5441 | }, |
| 5442 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5443 | { |
| 5444 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5445 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5446 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5447 | .manufacture_id = SPANSION_ID, |
| 5448 | .model_id = SPANSION_S25FL004A, |
| 5449 | .total_size = 512, |
| 5450 | .page_size = 256, |
| 5451 | .tested = TEST_UNTESTED, |
| 5452 | .probe = probe_spi_rdid, |
| 5453 | .probe_timing = TIMING_ZERO, |
| 5454 | .block_erasers = |
| 5455 | { |
| 5456 | { |
| 5457 | .eraseblocks = { {64 * 1024, 8} }, |
| 5458 | .block_erase = spi_block_erase_d8, |
| 5459 | }, { |
| 5460 | .eraseblocks = { {512 * 1024, 1} }, |
| 5461 | .block_erase = spi_block_erase_c7, |
| 5462 | } |
| 5463 | }, |
| 5464 | .unlock = spi_disable_blockprotect, |
| 5465 | .write = spi_chip_write_256, |
| 5466 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5467 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5468 | }, |
| 5469 | |
| 5470 | { |
| 5471 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5472 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5473 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5474 | .manufacture_id = SPANSION_ID, |
| 5475 | .model_id = SPANSION_S25FL008A, |
| 5476 | .total_size = 1024, |
| 5477 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5478 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5479 | .probe = probe_spi_rdid, |
| 5480 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5481 | .block_erasers = |
| 5482 | { |
| 5483 | { |
| 5484 | .eraseblocks = { {64 * 1024, 16} }, |
| 5485 | .block_erase = spi_block_erase_d8, |
| 5486 | }, { |
| 5487 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5488 | .block_erase = spi_block_erase_c7, |
| 5489 | } |
| 5490 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5491 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5492 | .write = spi_chip_write_256, |
| 5493 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5494 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5495 | }, |
| 5496 | |
| 5497 | { |
| 5498 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5499 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5500 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5501 | .manufacture_id = SPANSION_ID, |
| 5502 | .model_id = SPANSION_S25FL016A, |
| 5503 | .total_size = 2048, |
| 5504 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5505 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5506 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5507 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5508 | .block_erasers = |
| 5509 | { |
| 5510 | { |
| 5511 | .eraseblocks = { {64 * 1024, 32} }, |
| 5512 | .block_erase = spi_block_erase_d8, |
| 5513 | }, { |
| 5514 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5515 | .block_erase = spi_block_erase_c7, |
| 5516 | } |
| 5517 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5518 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5519 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5520 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5521 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5522 | }, |
| 5523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5524 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5525 | .vendor = "Spansion", |
| 5526 | .name = "S25FL032A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5527 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5528 | .manufacture_id = SPANSION_ID, |
| 5529 | .model_id = SPANSION_S25FL032A, |
| 5530 | .total_size = 4096, |
| 5531 | .page_size = 256, |
| 5532 | .tested = TEST_UNTESTED, |
| 5533 | .probe = probe_spi_rdid, |
| 5534 | .probe_timing = TIMING_ZERO, |
| 5535 | .block_erasers = |
| 5536 | { |
| 5537 | { |
| 5538 | .eraseblocks = { {64 * 1024, 64} }, |
| 5539 | .block_erase = spi_block_erase_d8, |
| 5540 | }, { |
| 5541 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5542 | .block_erase = spi_block_erase_c7, |
| 5543 | } |
| 5544 | }, |
| 5545 | .unlock = spi_disable_blockprotect, |
| 5546 | .write = spi_chip_write_256, |
| 5547 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5548 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5549 | }, |
| 5550 | |
| 5551 | { |
| 5552 | .vendor = "Spansion", |
| 5553 | .name = "S25FL064A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5554 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5555 | .manufacture_id = SPANSION_ID, |
| 5556 | .model_id = SPANSION_S25FL064A, |
| 5557 | .total_size = 8192, |
| 5558 | .page_size = 256, |
| 5559 | .tested = TEST_OK_PREW, |
| 5560 | .probe = probe_spi_rdid, |
| 5561 | .probe_timing = TIMING_ZERO, |
| 5562 | .block_erasers = |
| 5563 | { |
| 5564 | { |
| 5565 | .eraseblocks = { {64 * 1024, 128} }, |
| 5566 | .block_erase = spi_block_erase_d8, |
| 5567 | }, { |
| 5568 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5569 | .block_erase = spi_block_erase_c7, |
| 5570 | } |
| 5571 | }, |
| 5572 | .unlock = spi_disable_blockprotect, |
| 5573 | .write = spi_chip_write_256, |
| 5574 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5575 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5576 | }, |
| 5577 | |
| 5578 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5579 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 5580 | .name = "SST25LF040A", |
| 5581 | .bustype = BUS_SPI, |
| 5582 | .manufacture_id = SST_ID, |
| 5583 | .model_id = SST_SST25VF040_REMS, |
| 5584 | .total_size = 512, |
| 5585 | .page_size = 256, |
| 5586 | .tested = TEST_OK_PROBE, |
| 5587 | .probe = probe_spi_res2, |
| 5588 | .probe_timing = TIMING_ZERO, |
| 5589 | .block_erasers = |
| 5590 | { |
| 5591 | { |
| 5592 | .eraseblocks = { {4 * 1024, 128} }, |
| 5593 | .block_erase = spi_block_erase_20, |
| 5594 | }, { |
| 5595 | .eraseblocks = { {32 * 1024, 16} }, |
| 5596 | .block_erase = spi_block_erase_52, |
| 5597 | }, { |
| 5598 | .eraseblocks = { {512 * 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", |
| 5610 | .name = "SST25LF080A", |
| 5611 | .bustype = BUS_SPI, |
| 5612 | .manufacture_id = SST_ID, |
| 5613 | .model_id = SST_SST25VF080_REMS, |
| 5614 | .total_size = 1024, |
| 5615 | .page_size = 256, |
| 5616 | .tested = TEST_UNTESTED, |
| 5617 | .probe = probe_spi_res2, |
| 5618 | .probe_timing = TIMING_ZERO, |
| 5619 | .block_erasers = |
| 5620 | { |
| 5621 | { |
| 5622 | .eraseblocks = { {4 * 1024, 256} }, |
| 5623 | .block_erase = spi_block_erase_20, |
| 5624 | }, { |
| 5625 | .eraseblocks = { {32 * 1024, 32} }, |
| 5626 | .block_erase = spi_block_erase_52, |
| 5627 | }, { |
| 5628 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5629 | .block_erase = spi_block_erase_60, |
| 5630 | }, |
| 5631 | }, |
| 5632 | .unlock = spi_disable_blockprotect, |
| 5633 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 5634 | .read = spi_chip_read, |
| 5635 | .voltage = {3000, 3600}, |
| 5636 | }, |
| 5637 | |
| 5638 | { |
| 5639 | .vendor = "SST", |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5640 | .name = "SST25VF010.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5641 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5642 | .manufacture_id = SST_ID, |
| 5643 | .model_id = SST_SST25VF010_REMS, |
| 5644 | .total_size = 128, |
| 5645 | .page_size = 256, |
| 5646 | .tested = TEST_OK_PREW, |
| 5647 | .probe = probe_spi_rems, |
| 5648 | .probe_timing = TIMING_ZERO, |
| 5649 | .block_erasers = |
| 5650 | { |
| 5651 | { |
| 5652 | .eraseblocks = { {4 * 1024, 32} }, |
| 5653 | .block_erase = spi_block_erase_20, |
| 5654 | }, { |
| 5655 | .eraseblocks = { {32 * 1024, 4} }, |
| 5656 | .block_erase = spi_block_erase_52, |
| 5657 | }, { |
| 5658 | .eraseblocks = { {128 * 1024, 1} }, |
| 5659 | .block_erase = spi_block_erase_60, |
| 5660 | }, |
| 5661 | }, |
| 5662 | .unlock = spi_disable_blockprotect, |
| 5663 | .write = spi_chip_write_1, |
| 5664 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5665 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5666 | }, |
| 5667 | |
| 5668 | { |
| 5669 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5670 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5671 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5672 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5673 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5674 | .total_size = 2048, |
| 5675 | .page_size = 256, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5676 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5677 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5678 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5679 | .block_erasers = |
| 5680 | { |
| 5681 | { |
| 5682 | .eraseblocks = { {4 * 1024, 512} }, |
| 5683 | .block_erase = spi_block_erase_20, |
| 5684 | }, { |
| 5685 | .eraseblocks = { {32 * 1024, 64} }, |
| 5686 | .block_erase = spi_block_erase_52, |
| 5687 | }, { |
| 5688 | .eraseblocks = { {64 * 1024, 32} }, |
| 5689 | .block_erase = spi_block_erase_d8, |
| 5690 | }, { |
| 5691 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5692 | .block_erase = spi_block_erase_60, |
| 5693 | }, { |
| 5694 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5695 | .block_erase = spi_block_erase_c7, |
| 5696 | }, |
| 5697 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5698 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5699 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5700 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5701 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5702 | }, |
| 5703 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5704 | { |
| 5705 | .vendor = "SST", |
| 5706 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5707 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5708 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5709 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5710 | .total_size = 4096, |
| 5711 | .page_size = 256, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 5712 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5713 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5714 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5715 | .block_erasers = |
| 5716 | { |
| 5717 | { |
| 5718 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5719 | .block_erase = spi_block_erase_20, |
| 5720 | }, { |
| 5721 | .eraseblocks = { {32 * 1024, 128} }, |
| 5722 | .block_erase = spi_block_erase_52, |
| 5723 | }, { |
| 5724 | .eraseblocks = { {64 * 1024, 64} }, |
| 5725 | .block_erase = spi_block_erase_d8, |
| 5726 | }, { |
| 5727 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5728 | .block_erase = spi_block_erase_60, |
| 5729 | }, { |
| 5730 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5731 | .block_erase = spi_block_erase_c7, |
| 5732 | }, |
| 5733 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5734 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5735 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5736 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5737 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5738 | }, |
| 5739 | |
| 5740 | { |
| 5741 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5742 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5743 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5744 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5745 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5746 | .total_size = 8192, |
| 5747 | .page_size = 256, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 5748 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5749 | .probe = probe_spi_rdid, |
| 5750 | .probe_timing = TIMING_ZERO, |
| 5751 | .block_erasers = |
| 5752 | { |
| 5753 | { |
| 5754 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5755 | .block_erase = spi_block_erase_20, |
| 5756 | }, { |
| 5757 | .eraseblocks = { {32 * 1024, 256} }, |
| 5758 | .block_erase = spi_block_erase_52, |
| 5759 | }, { |
| 5760 | .eraseblocks = { {64 * 1024, 128} }, |
| 5761 | .block_erase = spi_block_erase_d8, |
| 5762 | }, { |
| 5763 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5764 | .block_erase = spi_block_erase_60, |
| 5765 | }, { |
| 5766 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5767 | .block_erase = spi_block_erase_c7, |
| 5768 | }, |
| 5769 | }, |
| 5770 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5771 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5772 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5773 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5774 | }, |
| 5775 | |
| 5776 | { |
| 5777 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5778 | .name = "SST25VF040.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5779 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5780 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5781 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5782 | .total_size = 512, |
| 5783 | .page_size = 256, |
| 5784 | .tested = TEST_OK_PR, |
| 5785 | .probe = probe_spi_rems, |
| 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 = { {512 * 1024, 1} }, |
| 5797 | .block_erase = spi_block_erase_60, |
| 5798 | }, |
| 5799 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5800 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5801 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5802 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5803 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5804 | }, |
| 5805 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5806 | { |
| 5807 | .vendor = "SST", |
| 5808 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5809 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5810 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5811 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5812 | .total_size = 512, |
| 5813 | .page_size = 256, |
| 5814 | .tested = TEST_UNTESTED, |
| 5815 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5816 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5817 | .block_erasers = |
| 5818 | { |
| 5819 | { |
| 5820 | .eraseblocks = { {4 * 1024, 128} }, |
| 5821 | .block_erase = spi_block_erase_20, |
| 5822 | }, { |
| 5823 | .eraseblocks = { {32 * 1024, 16} }, |
| 5824 | .block_erase = spi_block_erase_52, |
| 5825 | }, { |
| 5826 | .eraseblocks = { {64 * 1024, 8} }, |
| 5827 | .block_erase = spi_block_erase_d8, |
| 5828 | }, { |
| 5829 | .eraseblocks = { {512 * 1024, 1} }, |
| 5830 | .block_erase = spi_block_erase_60, |
| 5831 | }, { |
| 5832 | .eraseblocks = { {512 * 1024, 1} }, |
| 5833 | .block_erase = spi_block_erase_c7, |
| 5834 | }, |
| 5835 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5836 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5837 | .write = spi_aai_write, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 5838 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5839 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 5840 | }, |
| 5841 | |
| 5842 | { |
| 5843 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5844 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5845 | .bustype = BUS_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5846 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5847 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5848 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5849 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5850 | .tested = TEST_OK_PR, |
| 5851 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5852 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5853 | .block_erasers = |
| 5854 | { |
| 5855 | { |
| 5856 | .eraseblocks = { {4 * 1024, 128} }, |
| 5857 | .block_erase = spi_block_erase_20, |
| 5858 | }, { |
| 5859 | .eraseblocks = { {32 * 1024, 16} }, |
| 5860 | .block_erase = spi_block_erase_52, |
| 5861 | }, { |
| 5862 | .eraseblocks = { {64 * 1024, 8} }, |
| 5863 | .block_erase = spi_block_erase_d8, |
| 5864 | }, { |
| 5865 | .eraseblocks = { {512 * 1024, 1} }, |
| 5866 | .block_erase = spi_block_erase_60, |
| 5867 | }, { |
| 5868 | .eraseblocks = { {512 * 1024, 1} }, |
| 5869 | .block_erase = spi_block_erase_c7, |
| 5870 | }, |
| 5871 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5872 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5873 | .write = spi_aai_write, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5874 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5875 | .voltage = {2700, 3600}, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5876 | }, |
| 5877 | |
| 5878 | { |
| 5879 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5880 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5881 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5882 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5883 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5884 | .total_size = 1024, |
| 5885 | .page_size = 256, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 5886 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5887 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5888 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5889 | .block_erasers = |
| 5890 | { |
| 5891 | { |
| 5892 | .eraseblocks = { {4 * 1024, 256} }, |
| 5893 | .block_erase = spi_block_erase_20, |
| 5894 | }, { |
| 5895 | .eraseblocks = { {32 * 1024, 32} }, |
| 5896 | .block_erase = spi_block_erase_52, |
| 5897 | }, { |
| 5898 | .eraseblocks = { {64 * 1024, 16} }, |
| 5899 | .block_erase = spi_block_erase_d8, |
| 5900 | }, { |
| 5901 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5902 | .block_erase = spi_block_erase_60, |
| 5903 | }, { |
| 5904 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5905 | .block_erase = spi_block_erase_c7, |
| 5906 | }, |
| 5907 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5908 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 5909 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5910 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5911 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5912 | }, |
| 5913 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5914 | { |
| 5915 | .vendor = "SST", |
| 5916 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5917 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5918 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5919 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5920 | .total_size = 512, |
| 5921 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5922 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5923 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5924 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 5925 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5926 | .block_erasers = |
| 5927 | { |
| 5928 | { |
| 5929 | .eraseblocks = { {128, 4096} }, |
| 5930 | .block_erase = erase_sector_28sf040, |
| 5931 | }, { |
| 5932 | .eraseblocks = { {512 * 1024, 1} }, |
| 5933 | .block_erase = erase_chip_28sf040, |
| 5934 | } |
| 5935 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5936 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5937 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5938 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5939 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5940 | }, |
| 5941 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5942 | { |
| 5943 | .vendor = "SST", |
| 5944 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5945 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5946 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5947 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5948 | .total_size = 128, |
| 5949 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5950 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5951 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5952 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5953 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5954 | .block_erasers = |
| 5955 | { |
| 5956 | { |
| 5957 | .eraseblocks = { {128 * 1024, 1} }, |
| 5958 | .block_erase = erase_chip_block_jedec, |
| 5959 | } |
| 5960 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5961 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5962 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5963 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5964 | }, |
| 5965 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5966 | { |
| 5967 | .vendor = "SST", |
| 5968 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5969 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5970 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5971 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5972 | .total_size = 128, |
| 5973 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5974 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5975 | .tested = TEST_UNTESTED, |
| 5976 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5977 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5978 | .block_erasers = |
| 5979 | { |
| 5980 | { |
| 5981 | .eraseblocks = { {128 * 1024, 1} }, |
| 5982 | .block_erase = erase_chip_block_jedec, |
| 5983 | } |
| 5984 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5985 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5986 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5987 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5988 | }, |
| 5989 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5990 | { |
| 5991 | .vendor = "SST", |
| 5992 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5993 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5994 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5995 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5996 | .total_size = 256, |
| 5997 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5998 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5999 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6000 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6001 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6002 | .block_erasers = |
| 6003 | { |
| 6004 | { |
| 6005 | .eraseblocks = { {256 * 1024, 1} }, |
| 6006 | .block_erase = erase_chip_block_jedec, |
| 6007 | } |
| 6008 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6009 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6010 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6011 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6012 | }, |
| 6013 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6014 | { |
| 6015 | .vendor = "SST", |
| 6016 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6017 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6018 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6019 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6020 | .total_size = 256, |
| 6021 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6022 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6023 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6024 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6025 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6026 | .block_erasers = |
| 6027 | { |
| 6028 | { |
| 6029 | .eraseblocks = { {256 * 1024, 1} }, |
| 6030 | .block_erase = erase_chip_block_jedec, |
| 6031 | } |
| 6032 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6033 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6034 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6035 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6036 | }, |
| 6037 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6038 | { |
| 6039 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6040 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6041 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6042 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6043 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6044 | .total_size = 64, |
| 6045 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6046 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 6047 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6048 | .probe = probe_jedec, |
| 6049 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6050 | .block_erasers = |
| 6051 | { |
| 6052 | { |
| 6053 | .eraseblocks = { {4 * 1024, 16} }, |
| 6054 | .block_erase = erase_sector_jedec, |
| 6055 | }, { |
| 6056 | .eraseblocks = { {64 * 1024, 1} }, |
| 6057 | .block_erase = erase_chip_block_jedec, |
| 6058 | } |
| 6059 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6060 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6061 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6062 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6063 | }, |
| 6064 | |
| 6065 | { |
| 6066 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6067 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6068 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6069 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6070 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6071 | .total_size = 128, |
| 6072 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6073 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 6074 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6075 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6076 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6077 | .block_erasers = |
| 6078 | { |
| 6079 | { |
| 6080 | .eraseblocks = { {4 * 1024, 32} }, |
| 6081 | .block_erase = erase_sector_jedec, |
| 6082 | }, { |
| 6083 | .eraseblocks = { {128 * 1024, 1} }, |
| 6084 | .block_erase = erase_chip_block_jedec, |
| 6085 | } |
| 6086 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6087 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6088 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6089 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6090 | }, |
| 6091 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6092 | { |
| 6093 | .vendor = "SST", |
| 6094 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6095 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6096 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6097 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6098 | .total_size = 256, |
| 6099 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6100 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 6101 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6102 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6103 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6104 | .block_erasers = |
| 6105 | { |
| 6106 | { |
| 6107 | .eraseblocks = { {4 * 1024, 64} }, |
| 6108 | .block_erase = erase_sector_jedec, |
| 6109 | }, { |
| 6110 | .eraseblocks = { {256 * 1024, 1} }, |
| 6111 | .block_erase = erase_chip_block_jedec, |
| 6112 | } |
| 6113 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6114 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6115 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6116 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6117 | }, |
| 6118 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6119 | { |
| 6120 | .vendor = "SST", |
| 6121 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6122 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6123 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6124 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6125 | .total_size = 512, |
| 6126 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6127 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6128 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6129 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6130 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6131 | .block_erasers = |
| 6132 | { |
| 6133 | { |
| 6134 | .eraseblocks = { {4 * 1024, 128} }, |
| 6135 | .block_erase = erase_sector_jedec, |
| 6136 | }, { |
| 6137 | .eraseblocks = { {512 * 1024, 1} }, |
| 6138 | .block_erase = erase_chip_block_jedec, |
| 6139 | } |
| 6140 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6141 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6142 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6143 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6144 | }, |
| 6145 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6146 | { |
| 6147 | .vendor = "SST", |
| 6148 | .name = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6149 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6150 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6151 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6152 | .total_size = 64, |
| 6153 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6154 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6155 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6156 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6157 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6158 | .block_erasers = |
| 6159 | { |
| 6160 | { |
| 6161 | .eraseblocks = { {4 * 1024, 16} }, |
| 6162 | .block_erase = erase_sector_jedec, |
| 6163 | }, { |
| 6164 | .eraseblocks = { {64 * 1024, 1} }, |
| 6165 | .block_erase = erase_chip_block_jedec, |
| 6166 | } |
| 6167 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6168 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6169 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6170 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6171 | }, |
| 6172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6173 | { |
| 6174 | .vendor = "SST", |
| 6175 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6176 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6177 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6178 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6179 | .total_size = 128, |
| 6180 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6181 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6182 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6183 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6184 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6185 | .block_erasers = |
| 6186 | { |
| 6187 | { |
| 6188 | .eraseblocks = { {4 * 1024, 32} }, |
| 6189 | .block_erase = erase_sector_jedec, |
| 6190 | }, { |
| 6191 | .eraseblocks = { {128 * 1024, 1} }, |
| 6192 | .block_erase = erase_chip_block_jedec, |
| 6193 | } |
| 6194 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6196 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6197 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6198 | }, |
| 6199 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6200 | { |
| 6201 | .vendor = "SST", |
| 6202 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6203 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6204 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6205 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6206 | .total_size = 256, |
| 6207 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6208 | .feature_bits = FEATURE_EITHER_RESET, |
| 6209 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6210 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6211 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6212 | .block_erasers = |
| 6213 | { |
| 6214 | { |
| 6215 | .eraseblocks = { {4 * 1024, 64} }, |
| 6216 | .block_erase = erase_sector_jedec, |
| 6217 | }, { |
| 6218 | .eraseblocks = { {256 * 1024, 1} }, |
| 6219 | .block_erase = erase_chip_block_jedec, |
| 6220 | } |
| 6221 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6222 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6223 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6224 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6225 | }, |
| 6226 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6227 | { |
| 6228 | .vendor = "SST", |
| 6229 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6230 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6231 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6232 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6233 | .total_size = 512, |
| 6234 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6235 | .feature_bits = FEATURE_EITHER_RESET, |
| 6236 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6237 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6238 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6239 | .block_erasers = |
| 6240 | { |
| 6241 | { |
| 6242 | .eraseblocks = { {4 * 1024, 128} }, |
| 6243 | .block_erase = erase_sector_jedec, |
| 6244 | }, { |
| 6245 | .eraseblocks = { {512 * 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}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 6252 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6253 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6254 | { |
| 6255 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6256 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6257 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6258 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6259 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6260 | .total_size = 1024, |
| 6261 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6262 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6263 | .tested = TEST_UNTESTED, |
| 6264 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 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, 256} }, |
| 6270 | .block_erase = erase_sector_jedec, |
| 6271 | }, { |
| 6272 | .eraseblocks = { {64 * 1024, 16} }, |
| 6273 | .block_erase = erase_block_jedec, |
| 6274 | }, { |
| 6275 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6276 | .block_erase = erase_chip_block_jedec, |
| 6277 | } |
| 6278 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6279 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6280 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6281 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6282 | }, |
| 6283 | |
| 6284 | { |
| 6285 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6286 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6287 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6288 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6289 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6290 | .total_size = 256, |
| 6291 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6292 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6293 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6294 | .probe = probe_jedec, |
| 6295 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6296 | .block_erasers = |
| 6297 | { |
| 6298 | { |
| 6299 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6300 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6301 | }, { |
| 6302 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6303 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6304 | }, { |
| 6305 | .eraseblocks = { {256 * 1024, 1} }, |
| 6306 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6307 | } |
| 6308 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6309 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6310 | .unlock = unlock_sst_fwhub, |
| 6311 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6312 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6313 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6314 | }, |
| 6315 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6316 | { |
| 6317 | .vendor = "SST", |
| 6318 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6319 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6320 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6321 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6322 | .total_size = 384, |
| 6323 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6324 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 6325 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6326 | .probe = probe_jedec, |
| 6327 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6328 | .block_erasers = |
| 6329 | { |
| 6330 | { |
| 6331 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6332 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6333 | }, { |
| 6334 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6335 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6336 | }, { |
| 6337 | .eraseblocks = { {384 * 1024, 1} }, |
| 6338 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6339 | } |
| 6340 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6341 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6342 | .unlock = unlock_sst_fwhub, |
| 6343 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6344 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6345 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6346 | }, |
| 6347 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6348 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6349 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 6350 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 6351 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6352 | .vendor = "SST", |
| 6353 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6354 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6355 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6356 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6357 | .total_size = 512, |
| 6358 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6359 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6360 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6361 | .probe = probe_jedec, |
| 6362 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6363 | .block_erasers = |
| 6364 | { |
| 6365 | { |
| 6366 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6367 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6368 | }, { |
| 6369 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6370 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6371 | }, { |
| 6372 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6373 | .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] | 6374 | }, |
| 6375 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6376 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6377 | .unlock = unlock_sst_fwhub, |
| 6378 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6379 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6380 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6381 | }, |
| 6382 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6383 | { |
| 6384 | .vendor = "SST", |
| 6385 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6386 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6387 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6388 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6389 | .total_size = 512, |
| 6390 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6391 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6392 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6393 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6394 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6395 | .block_erasers = |
| 6396 | { |
| 6397 | { |
| 6398 | .eraseblocks = { {4 * 1024, 128} }, |
| 6399 | .block_erase = erase_sector_49lfxxxc, |
| 6400 | }, { |
| 6401 | .eraseblocks = { |
| 6402 | {64 * 1024, 7}, |
| 6403 | {32 * 1024, 1}, |
| 6404 | {8 * 1024, 2}, |
| 6405 | {16 * 1024, 1}, |
| 6406 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6407 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6408 | } |
| 6409 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6410 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6411 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6412 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6413 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6414 | }, |
| 6415 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6416 | { |
| 6417 | .vendor = "SST", |
| 6418 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6419 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6420 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6421 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6422 | .total_size = 1024, |
| 6423 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6424 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6425 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6426 | .probe = probe_jedec, |
| 6427 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6428 | .block_erasers = |
| 6429 | { |
| 6430 | { |
| 6431 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6432 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6433 | }, { |
| 6434 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6435 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6436 | }, { |
| 6437 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6438 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6439 | } |
| 6440 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6441 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6442 | .unlock = unlock_sst_fwhub, |
| 6443 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6444 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6445 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6446 | }, |
| 6447 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6448 | { |
| 6449 | .vendor = "SST", |
| 6450 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6451 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6452 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6453 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6454 | .total_size = 1024, |
| 6455 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6456 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6457 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6458 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6459 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6460 | .block_erasers = |
| 6461 | { |
| 6462 | { |
| 6463 | .eraseblocks = { {4 * 1024, 256} }, |
| 6464 | .block_erase = erase_sector_49lfxxxc, |
| 6465 | }, { |
| 6466 | .eraseblocks = { |
| 6467 | {64 * 1024, 15}, |
| 6468 | {32 * 1024, 1}, |
| 6469 | {8 * 1024, 2}, |
| 6470 | {16 * 1024, 1}, |
| 6471 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6472 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6473 | } |
| 6474 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6475 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6476 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6477 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6478 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6479 | }, |
| 6480 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6481 | { |
| 6482 | .vendor = "SST", |
| 6483 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6484 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6485 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6486 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6487 | .total_size = 2048, |
| 6488 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6489 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6490 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6491 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6492 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6493 | .block_erasers = |
| 6494 | { |
| 6495 | { |
| 6496 | .eraseblocks = { {4 * 1024, 512} }, |
| 6497 | .block_erase = erase_sector_49lfxxxc, |
| 6498 | }, { |
| 6499 | .eraseblocks = { |
| 6500 | {64 * 1024, 31}, |
| 6501 | {32 * 1024, 1}, |
| 6502 | {8 * 1024, 2}, |
| 6503 | {16 * 1024, 1}, |
| 6504 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6505 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6506 | } |
| 6507 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6508 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6509 | .write = write_82802ab, |
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}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6512 | }, |
| 6513 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6514 | { |
| 6515 | .vendor = "SST", |
| 6516 | .name = "SST49LF020", |
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_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6520 | .total_size = 256, |
| 6521 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6522 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6523 | .tested = TEST_OK_PREW, |
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}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 6542 | }, |
| 6543 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6544 | { |
| 6545 | .vendor = "SST", |
| 6546 | .name = "SST49LF020A", |
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_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6550 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 6551 | .page_size = 4 * 1024, |
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, 64} }, |
| 6560 | .block_erase = erase_sector_jedec, |
| 6561 | }, { |
| 6562 | .eraseblocks = { {16 * 1024, 16} }, |
| 6563 | .block_erase = erase_block_jedec, |
| 6564 | }, { |
| 6565 | .eraseblocks = { {256 * 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 = "SST49LF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6577 | .bustype = BUS_LPC, |
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_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6580 | .total_size = 512, |
| 6581 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6582 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6583 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6584 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6585 | .probe_timing = 1, /* 150 ns */ |
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 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6599 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6600 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6601 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6602 | }, |
| 6603 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6604 | { |
| 6605 | .vendor = "SST", |
| 6606 | .name = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6607 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6608 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6609 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6610 | .total_size = 512, |
| 6611 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6612 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6613 | .tested = TEST_OK_PRE, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6614 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6615 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6616 | .block_erasers = |
| 6617 | { |
| 6618 | { |
| 6619 | .eraseblocks = { {4 * 1024, 128} }, |
| 6620 | .block_erase = erase_sector_jedec, |
| 6621 | }, { |
| 6622 | .eraseblocks = { {64 * 1024, 8} }, |
| 6623 | .block_erase = erase_block_jedec, |
| 6624 | }, { |
| 6625 | .eraseblocks = { {512 * 1024, 1} }, |
| 6626 | .block_erase = NULL, |
| 6627 | } |
| 6628 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6629 | .unlock = unlock_82802ab, |
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 = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6638 | .bustype = BUS_LPC, /* A/A Mux */ |
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_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6641 | .total_size = 1024, |
| 6642 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6643 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 6644 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6645 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6646 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6647 | .block_erasers = |
| 6648 | { |
| 6649 | { |
| 6650 | .eraseblocks = { {4 * 1024, 256} }, |
| 6651 | .block_erase = erase_sector_jedec, |
| 6652 | }, { |
| 6653 | .eraseblocks = { {64 * 1024, 16} }, |
| 6654 | .block_erase = erase_block_jedec, |
| 6655 | }, { |
| 6656 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6657 | .block_erase = NULL, |
| 6658 | } |
| 6659 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6660 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6661 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6662 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6663 | }, |
| 6664 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6665 | { |
| 6666 | .vendor = "SST", |
| 6667 | .name = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6668 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6669 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6670 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6671 | .total_size = 2048, |
| 6672 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6673 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6674 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6675 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6676 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6677 | .block_erasers = |
| 6678 | { |
| 6679 | { |
| 6680 | .eraseblocks = { {4 * 1024, 512} }, |
| 6681 | .block_erase = erase_sector_49lfxxxc, |
| 6682 | }, { |
| 6683 | .eraseblocks = { |
| 6684 | {64 * 1024, 31}, |
| 6685 | {32 * 1024, 1}, |
| 6686 | {8 * 1024, 2}, |
| 6687 | {16 * 1024, 1}, |
| 6688 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6689 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6690 | } |
| 6691 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6692 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6693 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6694 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6695 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6696 | }, |
| 6697 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6698 | { |
| 6699 | .vendor = "ST", |
| 6700 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6701 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6702 | .manufacture_id = ST_ID, |
| 6703 | .model_id = ST_M25P05A, |
| 6704 | .total_size = 64, |
| 6705 | .page_size = 256, |
| 6706 | .tested = TEST_UNTESTED, |
| 6707 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6708 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6709 | .block_erasers = |
| 6710 | { |
| 6711 | { |
| 6712 | .eraseblocks = { {32 * 1024, 2} }, |
| 6713 | .block_erase = spi_block_erase_d8, |
| 6714 | }, { |
| 6715 | .eraseblocks = { {64 * 1024, 1} }, |
| 6716 | .block_erase = spi_block_erase_c7, |
| 6717 | } |
| 6718 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6719 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6720 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6721 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6722 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6723 | }, |
| 6724 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6725 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 6726 | * 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] | 6727 | * 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] | 6728 | * only is successful if RDID does not work. |
| 6729 | */ |
| 6730 | { |
| 6731 | .vendor = "ST", |
| 6732 | .name = "M25P05.RES", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6733 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6734 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6735 | .model_id = ST_M25P05_RES, |
| 6736 | .total_size = 64, |
| 6737 | .page_size = 256, |
| 6738 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6739 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6740 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6741 | .block_erasers = |
| 6742 | { |
| 6743 | { |
| 6744 | .eraseblocks = { {32 * 1024, 2} }, |
| 6745 | .block_erase = spi_block_erase_d8, |
| 6746 | }, { |
| 6747 | .eraseblocks = { {64 * 1024, 1} }, |
| 6748 | .block_erase = spi_block_erase_c7, |
| 6749 | } |
| 6750 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6751 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6752 | .write = spi_chip_write_1, /* 128 */ |
| 6753 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6754 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6755 | }, |
| 6756 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6757 | { |
| 6758 | .vendor = "ST", |
| 6759 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6760 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6761 | .manufacture_id = ST_ID, |
| 6762 | .model_id = ST_M25P10A, |
| 6763 | .total_size = 128, |
| 6764 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6765 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6766 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6767 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6768 | .block_erasers = |
| 6769 | { |
| 6770 | { |
| 6771 | .eraseblocks = { {32 * 1024, 4} }, |
| 6772 | .block_erase = spi_block_erase_d8, |
| 6773 | }, { |
| 6774 | .eraseblocks = { {128 * 1024, 1} }, |
| 6775 | .block_erase = spi_block_erase_c7, |
| 6776 | } |
| 6777 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6778 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6779 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6780 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6781 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6782 | }, |
| 6783 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6784 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 6785 | { |
| 6786 | .vendor = "ST", |
| 6787 | .name = "M25P10.RES", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6788 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6789 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6790 | .model_id = ST_M25P10_RES, |
| 6791 | .total_size = 128, |
| 6792 | .page_size = 256, |
| 6793 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6794 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6795 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6796 | .block_erasers = |
| 6797 | { |
| 6798 | { |
| 6799 | .eraseblocks = { {32 * 1024, 4} }, |
| 6800 | .block_erase = spi_block_erase_d8, |
| 6801 | }, { |
| 6802 | .eraseblocks = { {128 * 1024, 1} }, |
| 6803 | .block_erase = spi_block_erase_c7, |
| 6804 | } |
| 6805 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6806 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6807 | .write = spi_chip_write_1, /* 128 */ |
| 6808 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6809 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6810 | }, |
| 6811 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6812 | { |
| 6813 | .vendor = "ST", |
| 6814 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6815 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6816 | .manufacture_id = ST_ID, |
| 6817 | .model_id = ST_M25P20, |
| 6818 | .total_size = 256, |
| 6819 | .page_size = 256, |
| 6820 | .tested = TEST_UNTESTED, |
| 6821 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6822 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6823 | .block_erasers = |
| 6824 | { |
| 6825 | { |
| 6826 | .eraseblocks = { {64 * 1024, 4} }, |
| 6827 | .block_erase = spi_block_erase_d8, |
| 6828 | }, { |
| 6829 | .eraseblocks = { {256 * 1024, 1} }, |
| 6830 | .block_erase = spi_block_erase_c7, |
| 6831 | } |
| 6832 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6833 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6834 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6835 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6836 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6837 | }, |
| 6838 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6839 | { |
| 6840 | .vendor = "ST", |
| 6841 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6842 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6843 | .manufacture_id = ST_ID, |
| 6844 | .model_id = ST_M25P40, |
| 6845 | .total_size = 512, |
| 6846 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6847 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6848 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6849 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6850 | .block_erasers = |
| 6851 | { |
| 6852 | { |
| 6853 | .eraseblocks = { {64 * 1024, 8} }, |
| 6854 | .block_erase = spi_block_erase_d8, |
| 6855 | }, { |
| 6856 | .eraseblocks = { {512 * 1024, 1} }, |
| 6857 | .block_erase = spi_block_erase_c7, |
| 6858 | } |
| 6859 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6860 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6861 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6862 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6863 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6864 | }, |
| 6865 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6866 | { |
| 6867 | .vendor = "ST", |
| 6868 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6869 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6870 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6871 | .model_id = ST_M25P40_RES, |
| 6872 | .total_size = 512, |
| 6873 | .page_size = 256, |
| 6874 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6875 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6876 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6877 | .block_erasers = |
| 6878 | { |
| 6879 | { |
| 6880 | .eraseblocks = { {64 * 1024, 8} }, |
| 6881 | .block_erase = spi_block_erase_d8, |
| 6882 | }, { |
| 6883 | .eraseblocks = { {512 * 1024, 1} }, |
| 6884 | .block_erase = spi_block_erase_c7, |
| 6885 | } |
| 6886 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6887 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6888 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6889 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6890 | }, |
| 6891 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6892 | { |
| 6893 | .vendor = "ST", |
| 6894 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6895 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6896 | .manufacture_id = ST_ID, |
| 6897 | .model_id = ST_M25P80, |
| 6898 | .total_size = 1024, |
| 6899 | .page_size = 256, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 6900 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6901 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6902 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6903 | .block_erasers = |
| 6904 | { |
| 6905 | { |
| 6906 | .eraseblocks = { {64 * 1024, 16} }, |
| 6907 | .block_erase = spi_block_erase_d8, |
| 6908 | }, { |
| 6909 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6910 | .block_erase = spi_block_erase_c7, |
| 6911 | } |
| 6912 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6913 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6914 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6915 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6916 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6917 | }, |
| 6918 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6919 | { |
| 6920 | .vendor = "ST", |
| 6921 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6922 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6923 | .manufacture_id = ST_ID, |
| 6924 | .model_id = ST_M25P16, |
| 6925 | .total_size = 2048, |
| 6926 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6927 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6928 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6929 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6930 | .block_erasers = |
| 6931 | { |
| 6932 | { |
| 6933 | .eraseblocks = { {64 * 1024, 32} }, |
| 6934 | .block_erase = spi_block_erase_d8, |
| 6935 | }, { |
| 6936 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6937 | .block_erase = spi_block_erase_c7, |
| 6938 | } |
| 6939 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6940 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6941 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6942 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6943 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6944 | }, |
| 6945 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6946 | { |
| 6947 | .vendor = "ST", |
| 6948 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6949 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6950 | .manufacture_id = ST_ID, |
| 6951 | .model_id = ST_M25P32, |
| 6952 | .total_size = 4096, |
| 6953 | .page_size = 256, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 6954 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6955 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6956 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6957 | .block_erasers = |
| 6958 | { |
| 6959 | { |
| 6960 | .eraseblocks = { {64 * 1024, 64} }, |
| 6961 | .block_erase = spi_block_erase_d8, |
| 6962 | }, { |
| 6963 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6964 | .block_erase = spi_block_erase_c7, |
| 6965 | } |
| 6966 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6967 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6968 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6969 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6970 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6971 | }, |
| 6972 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6973 | { |
| 6974 | .vendor = "ST", |
| 6975 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6976 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6977 | .manufacture_id = ST_ID, |
| 6978 | .model_id = ST_M25P64, |
| 6979 | .total_size = 8192, |
| 6980 | .page_size = 256, |
| 6981 | .tested = TEST_UNTESTED, |
| 6982 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6983 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6984 | .block_erasers = |
| 6985 | { |
| 6986 | { |
| 6987 | .eraseblocks = { {64 * 1024, 128} }, |
| 6988 | .block_erase = spi_block_erase_d8, |
| 6989 | }, { |
| 6990 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6991 | .block_erase = spi_block_erase_c7, |
| 6992 | } |
| 6993 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6994 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6995 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6996 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6997 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6998 | }, |
| 6999 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7000 | { |
| 7001 | .vendor = "ST", |
| 7002 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7003 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7004 | .manufacture_id = ST_ID, |
| 7005 | .model_id = ST_M25P128, |
| 7006 | .total_size = 16384, |
| 7007 | .page_size = 256, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 7008 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7009 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7010 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7011 | .block_erasers = |
| 7012 | { |
| 7013 | { |
| 7014 | .eraseblocks = { {256 * 1024, 64} }, |
| 7015 | .block_erase = spi_block_erase_d8, |
| 7016 | }, { |
| 7017 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7018 | .block_erase = spi_block_erase_c7, |
| 7019 | } |
| 7020 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7021 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7022 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7023 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7024 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7025 | }, |
| 7026 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7027 | { |
| 7028 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7029 | .name = "M25PX16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7030 | .bustype = BUS_SPI, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7031 | .manufacture_id = ST_ID, |
| 7032 | .model_id = ST_M25PX16, |
| 7033 | .total_size = 2048, |
| 7034 | .page_size = 256, |
| 7035 | .tested = TEST_OK_PREW, |
| 7036 | .probe = probe_spi_rdid, |
| 7037 | .probe_timing = TIMING_ZERO, |
| 7038 | .block_erasers = |
| 7039 | { |
| 7040 | { |
| 7041 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 7042 | .block_erase = spi_block_erase_20, |
| 7043 | }, { |
| 7044 | .eraseblocks = { {64 * 1024, 32} }, |
| 7045 | .block_erase = spi_block_erase_d8, |
| 7046 | }, { |
| 7047 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7048 | .block_erase = spi_block_erase_c7, |
| 7049 | } |
| 7050 | }, |
| 7051 | .unlock = spi_disable_blockprotect, |
| 7052 | .write = spi_chip_write_256, |
| 7053 | .read = spi_chip_read, |
| 7054 | }, |
| 7055 | |
| 7056 | { |
| 7057 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7058 | .name = "M25PX32", |
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_M25PX32, |
| 7062 | .total_size = 4096, |
| 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, 1024 } }, |
| 7071 | .block_erase = spi_block_erase_20, |
| 7072 | }, { |
| 7073 | .eraseblocks = { {64 * 1024, 64} }, |
| 7074 | .block_erase = spi_block_erase_d8, |
| 7075 | }, { |
| 7076 | .eraseblocks = { {4 * 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, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7083 | .voltage = {2700, 3600}, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7084 | }, |
| 7085 | |
| 7086 | { |
| 7087 | .vendor = "ST", |
| 7088 | .name = "M25PX64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7089 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7090 | .manufacture_id = ST_ID, |
| 7091 | .model_id = ST_M25PX64, |
| 7092 | .total_size = 8192, |
| 7093 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7094 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7095 | .probe = probe_spi_rdid, |
| 7096 | .probe_timing = TIMING_ZERO, |
| 7097 | .block_erasers = |
| 7098 | { |
| 7099 | { |
| 7100 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 7101 | .block_erase = spi_block_erase_20, |
| 7102 | }, { |
| 7103 | .eraseblocks = { {64 * 1024, 128} }, |
| 7104 | .block_erase = spi_block_erase_d8, |
| 7105 | }, { |
| 7106 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7107 | .block_erase = spi_block_erase_c7, |
| 7108 | } |
| 7109 | }, |
| 7110 | .unlock = spi_disable_blockprotect, |
| 7111 | .write = spi_chip_write_256, |
| 7112 | .read = spi_chip_read, |
| 7113 | }, |
| 7114 | |
| 7115 | { |
| 7116 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7117 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7118 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7119 | .manufacture_id = ST_ID, |
| 7120 | .model_id = ST_M29F002B, |
| 7121 | .total_size = 256, |
| 7122 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7123 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7124 | .tested = TEST_UNTESTED, |
| 7125 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7126 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7127 | .block_erasers = |
| 7128 | { |
| 7129 | { |
| 7130 | .eraseblocks = { |
| 7131 | {16 * 1024, 1}, |
| 7132 | {8 * 1024, 2}, |
| 7133 | {32 * 1024, 1}, |
| 7134 | {64 * 1024, 3}, |
| 7135 | }, |
| 7136 | .block_erase = erase_sector_jedec, |
| 7137 | }, { |
| 7138 | .eraseblocks = { {256 * 1024, 1} }, |
| 7139 | .block_erase = erase_chip_block_jedec, |
| 7140 | } |
| 7141 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7142 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7143 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7144 | .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] | 7145 | }, |
| 7146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7147 | { |
| 7148 | .vendor = "ST", |
| 7149 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7150 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7151 | .manufacture_id = ST_ID, |
| 7152 | .model_id = ST_M29F002T, |
| 7153 | .total_size = 256, |
| 7154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7155 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 7156 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7157 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7158 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7159 | .block_erasers = |
| 7160 | { |
| 7161 | { |
| 7162 | .eraseblocks = { |
| 7163 | {64 * 1024, 3}, |
| 7164 | {32 * 1024, 1}, |
| 7165 | {8 * 1024, 2}, |
| 7166 | {16 * 1024, 1}, |
| 7167 | }, |
| 7168 | .block_erase = erase_sector_jedec, |
| 7169 | }, { |
| 7170 | .eraseblocks = { {256 * 1024, 1} }, |
| 7171 | .block_erase = erase_chip_block_jedec, |
| 7172 | } |
| 7173 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7174 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7175 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7176 | .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] | 7177 | }, |
| 7178 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7179 | { |
| 7180 | .vendor = "ST", |
| 7181 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7182 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7183 | .manufacture_id = ST_ID, |
| 7184 | .model_id = ST_M29F040B, |
| 7185 | .total_size = 512, |
| 7186 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7187 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7188 | .tested = TEST_UNTESTED, |
| 7189 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7190 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7191 | .block_erasers = |
| 7192 | { |
| 7193 | { |
| 7194 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7195 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7196 | }, { |
| 7197 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7198 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7199 | } |
| 7200 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7201 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7202 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7203 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7204 | }, |
| 7205 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7206 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7207 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7208 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7209 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7210 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7211 | .manufacture_id = ST_ID, |
| 7212 | .model_id = ST_M29F400BB, |
| 7213 | .total_size = 512, |
| 7214 | .page_size = 64 * 1024, |
| 7215 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7216 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7217 | .probe = probe_m29f400bt, |
| 7218 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 7219 | .block_erasers = |
| 7220 | { |
| 7221 | { |
| 7222 | .eraseblocks = { |
| 7223 | {16 * 1024, 1}, |
| 7224 | {8 * 1024, 2}, |
| 7225 | {32 * 1024, 1}, |
| 7226 | {64 * 1024, 7}, |
| 7227 | }, |
| 7228 | .block_erase = block_erase_m29f400bt, |
| 7229 | }, { |
| 7230 | .eraseblocks = { {512 * 1024, 1} }, |
| 7231 | .block_erase = block_erase_chip_m29f400bt, |
| 7232 | } |
| 7233 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7234 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7235 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7236 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7237 | }, |
| 7238 | { |
| 7239 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 7240 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7241 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7242 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7243 | .manufacture_id = ST_ID, |
| 7244 | .model_id = ST_M29F400BT, |
| 7245 | .total_size = 512, |
| 7246 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7247 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7248 | .tested = TEST_UNTESTED, |
| 7249 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7250 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7251 | .block_erasers = |
| 7252 | { |
| 7253 | { |
| 7254 | .eraseblocks = { |
| 7255 | {64 * 1024, 7}, |
| 7256 | {32 * 1024, 1}, |
| 7257 | {8 * 1024, 2}, |
| 7258 | {16 * 1024, 1}, |
| 7259 | }, |
| 7260 | .block_erase = block_erase_m29f400bt, |
| 7261 | }, { |
| 7262 | .eraseblocks = { {512 * 1024, 1} }, |
| 7263 | .block_erase = block_erase_chip_m29f400bt, |
| 7264 | } |
| 7265 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7266 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7267 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7268 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7269 | }, |
| 7270 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7271 | { |
| 7272 | .vendor = "ST", |
| 7273 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7274 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7275 | .manufacture_id = ST_ID, |
| 7276 | .model_id = ST_M29W010B, |
| 7277 | .total_size = 128, |
| 7278 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7279 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7280 | .tested = TEST_UNTESTED, |
| 7281 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7282 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7283 | .block_erasers = |
| 7284 | { |
| 7285 | { |
| 7286 | .eraseblocks = { {16 * 1024, 8}, }, |
| 7287 | .block_erase = erase_sector_jedec, |
| 7288 | }, { |
| 7289 | .eraseblocks = { {128 * 1024, 1} }, |
| 7290 | .block_erase = erase_chip_block_jedec, |
| 7291 | } |
| 7292 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7293 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7294 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7295 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7296 | }, |
| 7297 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7298 | { |
| 7299 | .vendor = "ST", |
| 7300 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7301 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7302 | .manufacture_id = ST_ID, |
| 7303 | .model_id = ST_M29W040B, |
| 7304 | .total_size = 512, |
| 7305 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7306 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7307 | .tested = TEST_UNTESTED, |
| 7308 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7309 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7310 | .block_erasers = |
| 7311 | { |
| 7312 | { |
| 7313 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7314 | .block_erase = erase_sector_jedec, |
| 7315 | }, { |
| 7316 | .eraseblocks = { {512 * 1024, 1} }, |
| 7317 | .block_erase = erase_chip_block_jedec, |
| 7318 | } |
| 7319 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7320 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7321 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7322 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7323 | }, |
| 7324 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7325 | { |
| 7326 | .vendor = "ST", |
| 7327 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7328 | .bustype = BUS_PARALLEL, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7329 | .manufacture_id = ST_ID, |
| 7330 | .model_id = ST_M29W512B, |
| 7331 | .total_size = 64, |
| 7332 | .page_size = 64 * 1024, |
| 7333 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7334 | .tested = TEST_OK_PRE, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7335 | .probe = probe_jedec, |
| 7336 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7337 | .block_erasers = |
| 7338 | { |
| 7339 | { |
| 7340 | .eraseblocks = { {64 * 1024, 1} }, |
| 7341 | .block_erase = erase_chip_block_jedec, |
| 7342 | } |
| 7343 | }, |
| 7344 | .write = write_jedec_1, |
| 7345 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7346 | .voltage = {2700, 3600}, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7347 | }, |
| 7348 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7349 | { |
| 7350 | .vendor = "ST", |
| 7351 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7352 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7353 | .manufacture_id = ST_ID, |
| 7354 | .model_id = ST_M50FLW040A, |
| 7355 | .total_size = 512, |
| 7356 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7357 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7358 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7359 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7360 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7361 | .block_erasers = |
| 7362 | { |
| 7363 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7364 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7365 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7366 | {64 * 1024, 5}, /* block */ |
| 7367 | {4 * 1024, 16}, /* sector */ |
| 7368 | {4 * 1024, 16}, /* sector */ |
| 7369 | }, |
| 7370 | .block_erase = NULL, |
| 7371 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7372 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7373 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7374 | } |
| 7375 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7376 | .unlock = unlock_stm50flw0x0x, |
| 7377 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7378 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7379 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7380 | }, |
| 7381 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7382 | { |
| 7383 | .vendor = "ST", |
| 7384 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7385 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7386 | .manufacture_id = ST_ID, |
| 7387 | .model_id = ST_M50FLW040B, |
| 7388 | .total_size = 512, |
| 7389 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7390 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7391 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7392 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7393 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7394 | .block_erasers = |
| 7395 | { |
| 7396 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7397 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7398 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7399 | {4 * 1024, 16}, /* sector */ |
| 7400 | {64 * 1024, 5}, /* block */ |
| 7401 | {4 * 1024, 16}, /* sector */ |
| 7402 | }, |
| 7403 | .block_erase = NULL, |
| 7404 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7405 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7406 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7407 | } |
| 7408 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7409 | .unlock = unlock_stm50flw0x0x, |
| 7410 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7411 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7412 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7413 | }, |
| 7414 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7415 | { |
| 7416 | .vendor = "ST", |
| 7417 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7418 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7419 | .manufacture_id = ST_ID, |
| 7420 | .model_id = ST_M50FLW080A, |
| 7421 | .total_size = 1024, |
| 7422 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7423 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7424 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7425 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7426 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7427 | .block_erasers = |
| 7428 | { |
| 7429 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7430 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7431 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7432 | {64 * 1024, 13}, /* block */ |
| 7433 | {4 * 1024, 16}, /* sector */ |
| 7434 | {4 * 1024, 16}, /* sector */ |
| 7435 | }, |
| 7436 | .block_erase = NULL, |
| 7437 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7438 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7439 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7440 | } |
| 7441 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7442 | .unlock = unlock_stm50flw0x0x, |
| 7443 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7444 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7445 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7446 | }, |
| 7447 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7448 | { |
| 7449 | .vendor = "ST", |
| 7450 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7451 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7452 | .manufacture_id = ST_ID, |
| 7453 | .model_id = ST_M50FLW080B, |
| 7454 | .total_size = 1024, |
| 7455 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7456 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7457 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7458 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7459 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7460 | .block_erasers = |
| 7461 | { |
| 7462 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7463 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7464 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7465 | {4 * 1024, 16}, /* sector */ |
| 7466 | {64 * 1024, 13}, /* block */ |
| 7467 | {4 * 1024, 16}, /* sector */ |
| 7468 | }, |
| 7469 | .block_erase = NULL, |
| 7470 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7471 | .eraseblocks = { {64 * 1024, 16}, }, |
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 = "M50FW002", |
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_M50FW002, |
| 7487 | .total_size = 256, |
| 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, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 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 (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7493 | .block_erasers = |
| 7494 | { |
| 7495 | { |
| 7496 | .eraseblocks = { |
| 7497 | {64 * 1024, 3}, |
| 7498 | {32 * 1024, 1}, |
| 7499 | {8 * 1024, 2}, |
| 7500 | {16 * 1024, 1}, |
| 7501 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7502 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7503 | } |
| 7504 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7505 | .unlock = unlock_stm50flw0x0x, |
| 7506 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7507 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7508 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7509 | }, |
| 7510 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7511 | { |
| 7512 | .vendor = "ST", |
| 7513 | .name = "M50FW016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7514 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7515 | .manufacture_id = ST_ID, |
| 7516 | .model_id = ST_M50FW016, |
| 7517 | .total_size = 2048, |
| 7518 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7519 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7520 | .tested = TEST_UNTESTED, |
| 7521 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7522 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7523 | .block_erasers = |
| 7524 | { |
| 7525 | { |
| 7526 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7527 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7528 | } |
| 7529 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7530 | .unlock = unlock_stm50flw0x0x, |
| 7531 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7532 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7533 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7534 | }, |
| 7535 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7536 | { |
| 7537 | .vendor = "ST", |
| 7538 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7539 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7540 | .manufacture_id = ST_ID, |
| 7541 | .model_id = ST_M50FW040, |
| 7542 | .total_size = 512, |
| 7543 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7544 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7545 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7546 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7547 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7548 | .block_erasers = |
| 7549 | { |
| 7550 | { |
| 7551 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7552 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7553 | } |
| 7554 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7555 | .unlock = unlock_stm50flw0x0x, |
| 7556 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7557 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7558 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7559 | }, |
| 7560 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7561 | { |
| 7562 | .vendor = "ST", |
| 7563 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7564 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7565 | .manufacture_id = ST_ID, |
| 7566 | .model_id = ST_M50FW080, |
| 7567 | .total_size = 1024, |
| 7568 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7569 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7570 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7571 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7572 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7573 | .block_erasers = |
| 7574 | { |
| 7575 | { |
| 7576 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7577 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7578 | } |
| 7579 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7580 | .unlock = unlock_stm50flw0x0x, |
| 7581 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7582 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7583 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7584 | }, |
| 7585 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7586 | { |
| 7587 | .vendor = "ST", |
| 7588 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7589 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7590 | .manufacture_id = ST_ID, |
| 7591 | .model_id = ST_M50LPW116, |
| 7592 | .total_size = 2048, |
| 7593 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7594 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7595 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7596 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7597 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7598 | .block_erasers = |
| 7599 | { |
| 7600 | { |
| 7601 | .eraseblocks = { |
| 7602 | {4 * 1024, 16}, |
| 7603 | {64 * 1024, 30}, |
| 7604 | {32 * 1024, 1}, |
| 7605 | {8 * 1024, 2}, |
| 7606 | {16 * 1024, 1}, |
| 7607 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7608 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7609 | } |
| 7610 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7611 | .unlock = unlock_stm50flw0x0x, |
| 7612 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7613 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7614 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7615 | }, |
| 7616 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7617 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7618 | .vendor = "SyncMOS/MoselVitelic", |
| 7619 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7620 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7621 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7622 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7623 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7624 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7625 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7626 | .tested = TEST_UNTESTED, |
| 7627 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7628 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7629 | .block_erasers = |
| 7630 | { |
| 7631 | { |
| 7632 | .eraseblocks = { {512, 256} }, |
| 7633 | .block_erase = erase_sector_jedec, |
| 7634 | }, { |
| 7635 | .eraseblocks = { {128 * 1024, 1} }, |
| 7636 | .block_erase = erase_chip_block_jedec, |
| 7637 | }, |
| 7638 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7639 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7640 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7641 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7642 | }, |
| 7643 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7644 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7645 | .vendor = "SyncMOS/MoselVitelic", |
| 7646 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7647 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7648 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7649 | .model_id = SM_MVC_29C51001T, |
| 7650 | .total_size = 128, |
| 7651 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7652 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7653 | .tested = TEST_UNTESTED, |
| 7654 | .probe = probe_jedec, |
| 7655 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7656 | .block_erasers = |
| 7657 | { |
| 7658 | { |
| 7659 | .eraseblocks = { {512, 256} }, |
| 7660 | .block_erase = erase_sector_jedec, |
| 7661 | }, { |
| 7662 | .eraseblocks = { {128 * 1024, 1} }, |
| 7663 | .block_erase = erase_chip_block_jedec, |
| 7664 | }, |
| 7665 | }, |
| 7666 | .write = write_jedec_1, |
| 7667 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7668 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7669 | }, |
| 7670 | |
| 7671 | { |
| 7672 | .vendor = "SyncMOS/MoselVitelic", |
| 7673 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7674 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7675 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7676 | .model_id = SM_MVC_29C51002B, |
| 7677 | .total_size = 256, |
| 7678 | .page_size = 512, |
| 7679 | .feature_bits = FEATURE_EITHER_RESET, |
| 7680 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7681 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7682 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7683 | .block_erasers = |
| 7684 | { |
| 7685 | { |
| 7686 | .eraseblocks = { {512, 512} }, |
| 7687 | .block_erase = erase_sector_jedec, |
| 7688 | }, { |
| 7689 | .eraseblocks = { {256 * 1024, 1} }, |
| 7690 | .block_erase = erase_chip_block_jedec, |
| 7691 | }, |
| 7692 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7693 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7694 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7695 | }, |
| 7696 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7697 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7698 | .vendor = "SyncMOS/MoselVitelic", |
| 7699 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7700 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7701 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7702 | .model_id = SM_MVC_29C51002T, |
| 7703 | .total_size = 256, |
| 7704 | .page_size = 512, |
| 7705 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7706 | .tested = TEST_OK_PRE, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7707 | .probe = probe_jedec, |
| 7708 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7709 | .block_erasers = |
| 7710 | { |
| 7711 | { |
| 7712 | .eraseblocks = { {512, 512} }, |
| 7713 | .block_erase = erase_sector_jedec, |
| 7714 | }, { |
| 7715 | .eraseblocks = { {256 * 1024, 1} }, |
| 7716 | .block_erase = erase_chip_block_jedec, |
| 7717 | }, |
| 7718 | }, |
| 7719 | .write = write_jedec_1, |
| 7720 | .read = read_memmapped, |
| 7721 | }, |
| 7722 | |
| 7723 | { |
| 7724 | .vendor = "SyncMOS/MoselVitelic", |
| 7725 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7726 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7727 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7728 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7729 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7730 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7731 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7732 | .tested = TEST_UNTESTED, |
| 7733 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7734 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7735 | .block_erasers = |
| 7736 | { |
| 7737 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7738 | .eraseblocks = { {1024, 512} }, |
| 7739 | .block_erase = erase_sector_jedec, |
| 7740 | }, { |
| 7741 | .eraseblocks = { {512 * 1024, 1} }, |
| 7742 | .block_erase = erase_chip_block_jedec, |
| 7743 | }, |
| 7744 | }, |
| 7745 | .write = write_jedec_1, |
| 7746 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7747 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7748 | }, |
| 7749 | |
| 7750 | { |
| 7751 | .vendor = "SyncMOS/MoselVitelic", |
| 7752 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7753 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7754 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7755 | .model_id = SM_MVC_29C51004T, |
| 7756 | .total_size = 512, |
| 7757 | .page_size = 1024, |
| 7758 | .feature_bits = FEATURE_EITHER_RESET, |
| 7759 | .tested = TEST_UNTESTED, |
| 7760 | .probe = probe_jedec, |
| 7761 | .probe_timing = TIMING_ZERO, |
| 7762 | .block_erasers = |
| 7763 | { |
| 7764 | { |
| 7765 | .eraseblocks = { {1024, 512} }, |
| 7766 | .block_erase = erase_sector_jedec, |
| 7767 | }, { |
| 7768 | .eraseblocks = { {512 * 1024, 1} }, |
| 7769 | .block_erase = erase_chip_block_jedec, |
| 7770 | }, |
| 7771 | }, |
| 7772 | .write = write_jedec_1, |
| 7773 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7774 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7775 | }, |
| 7776 | |
| 7777 | { |
| 7778 | .vendor = "SyncMOS/MoselVitelic", |
| 7779 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7780 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7781 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7782 | .model_id = SM_MVC_29C31004B, |
| 7783 | .total_size = 512, |
| 7784 | .page_size = 1024, |
| 7785 | .feature_bits = FEATURE_EITHER_RESET, |
| 7786 | .tested = TEST_UNTESTED, |
| 7787 | .probe = probe_jedec, |
| 7788 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7789 | .block_erasers = |
| 7790 | { |
| 7791 | { |
| 7792 | .eraseblocks = { {1024, 512} }, |
| 7793 | .block_erase = erase_sector_jedec, |
| 7794 | }, { |
| 7795 | .eraseblocks = { {512 * 1024, 1} }, |
| 7796 | .block_erase = erase_chip_block_jedec, |
| 7797 | }, |
| 7798 | }, |
| 7799 | .write = write_jedec_1, |
| 7800 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7801 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7802 | }, |
| 7803 | |
| 7804 | { |
| 7805 | .vendor = "SyncMOS/MoselVitelic", |
| 7806 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7807 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7808 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7809 | .model_id = SM_MVC_29C31004T, |
| 7810 | .total_size = 512, |
| 7811 | .page_size = 1024, |
| 7812 | .feature_bits = FEATURE_EITHER_RESET, |
| 7813 | .tested = TEST_UNTESTED, |
| 7814 | .probe = probe_jedec, |
| 7815 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7816 | .block_erasers = |
| 7817 | { |
| 7818 | { |
| 7819 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7820 | .block_erase = erase_sector_jedec, |
| 7821 | }, { |
| 7822 | .eraseblocks = { {512 * 1024, 1} }, |
| 7823 | .block_erase = erase_chip_block_jedec, |
| 7824 | }, |
| 7825 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7826 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7827 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7828 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7829 | }, |
| 7830 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7831 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7832 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7833 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7834 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7835 | .manufacture_id = TI_OLD_ID, |
| 7836 | .model_id = TI_TMS29F002RB, |
| 7837 | .total_size = 256, |
| 7838 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7839 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7840 | .tested = TEST_UNTESTED, |
| 7841 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7842 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7843 | .block_erasers = |
| 7844 | { |
| 7845 | { |
| 7846 | .eraseblocks = { |
| 7847 | {16 * 1024, 1}, |
| 7848 | {8 * 1024, 2}, |
| 7849 | {32 * 1024, 1}, |
| 7850 | {64 * 1024, 3}, |
| 7851 | }, |
| 7852 | .block_erase = erase_sector_jedec, |
| 7853 | }, { |
| 7854 | .eraseblocks = { {256 * 1024, 1} }, |
| 7855 | .block_erase = erase_chip_block_jedec, |
| 7856 | }, |
| 7857 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7858 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7859 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7860 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7861 | }, |
| 7862 | |
| 7863 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7864 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7865 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7866 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7867 | .manufacture_id = TI_OLD_ID, |
| 7868 | .model_id = TI_TMS29F002RT, |
| 7869 | .total_size = 256, |
| 7870 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7871 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7872 | .tested = TEST_UNTESTED, |
| 7873 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7874 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7875 | .block_erasers = |
| 7876 | { |
| 7877 | { |
| 7878 | .eraseblocks = { |
| 7879 | {64 * 1024, 3}, |
| 7880 | {32 * 1024, 1}, |
| 7881 | {8 * 1024, 2}, |
| 7882 | {16 * 1024, 1}, |
| 7883 | }, |
| 7884 | .block_erase = erase_sector_jedec, |
| 7885 | }, { |
| 7886 | .eraseblocks = { {256 * 1024, 1} }, |
| 7887 | .block_erase = erase_chip_block_jedec, |
| 7888 | }, |
| 7889 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7890 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7891 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7892 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7893 | }, |
| 7894 | |
| 7895 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7896 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7897 | .name = "W25Q80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7898 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7899 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7900 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7901 | .total_size = 1024, |
| 7902 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7903 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7904 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7905 | .probe = probe_spi_rdid, |
| 7906 | .probe_timing = TIMING_ZERO, |
| 7907 | .block_erasers = |
| 7908 | { |
| 7909 | { |
| 7910 | .eraseblocks = { {4 * 1024, 256} }, |
| 7911 | .block_erase = spi_block_erase_20, |
| 7912 | }, { |
| 7913 | .eraseblocks = { {32 * 1024, 32} }, |
| 7914 | .block_erase = spi_block_erase_52, |
| 7915 | }, { |
| 7916 | .eraseblocks = { {64 * 1024, 16} }, |
| 7917 | .block_erase = spi_block_erase_d8, |
| 7918 | }, { |
| 7919 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7920 | .block_erase = spi_block_erase_60, |
| 7921 | }, { |
| 7922 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7923 | .block_erase = spi_block_erase_c7, |
| 7924 | } |
| 7925 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7926 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7927 | .write = spi_chip_write_256, |
| 7928 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7929 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7930 | }, |
| 7931 | |
| 7932 | { |
| 7933 | .vendor = "Winbond", |
| 7934 | .name = "W25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7935 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7936 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7937 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7938 | .total_size = 2048, |
| 7939 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7940 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 7941 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7942 | .probe = probe_spi_rdid, |
| 7943 | .probe_timing = TIMING_ZERO, |
| 7944 | .block_erasers = |
| 7945 | { |
| 7946 | { |
| 7947 | .eraseblocks = { {4 * 1024, 512} }, |
| 7948 | .block_erase = spi_block_erase_20, |
| 7949 | }, { |
| 7950 | .eraseblocks = { {32 * 1024, 64} }, |
| 7951 | .block_erase = spi_block_erase_52, |
| 7952 | }, { |
| 7953 | .eraseblocks = { {64 * 1024, 32} }, |
| 7954 | .block_erase = spi_block_erase_d8, |
| 7955 | }, { |
| 7956 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7957 | .block_erase = spi_block_erase_60, |
| 7958 | }, { |
| 7959 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7960 | .block_erase = spi_block_erase_c7, |
| 7961 | } |
| 7962 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7963 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7964 | .write = spi_chip_write_256, |
| 7965 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7966 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7967 | }, |
| 7968 | |
| 7969 | { |
| 7970 | .vendor = "Winbond", |
| 7971 | .name = "W25Q32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7972 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7973 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7974 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7975 | .total_size = 4096, |
| 7976 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7977 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7978 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7979 | .probe = probe_spi_rdid, |
| 7980 | .probe_timing = TIMING_ZERO, |
| 7981 | .block_erasers = |
| 7982 | { |
| 7983 | { |
| 7984 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7985 | .block_erase = spi_block_erase_20, |
| 7986 | }, { |
| 7987 | .eraseblocks = { {32 * 1024, 128} }, |
| 7988 | .block_erase = spi_block_erase_52, |
| 7989 | }, { |
| 7990 | .eraseblocks = { {64 * 1024, 64} }, |
| 7991 | .block_erase = spi_block_erase_d8, |
| 7992 | }, { |
| 7993 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7994 | .block_erase = spi_block_erase_60, |
| 7995 | }, { |
| 7996 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7997 | .block_erase = spi_block_erase_c7, |
| 7998 | } |
| 7999 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8000 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8001 | .write = spi_chip_write_256, |
| 8002 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8003 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8004 | }, |
| 8005 | |
| 8006 | { |
| 8007 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8008 | .name = "W25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8009 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8010 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8011 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8012 | .total_size = 8192, |
| 8013 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8014 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8015 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8016 | .probe = probe_spi_rdid, |
| 8017 | .probe_timing = TIMING_ZERO, |
| 8018 | .block_erasers = |
| 8019 | { |
| 8020 | { |
| 8021 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8022 | .block_erase = spi_block_erase_20, |
| 8023 | }, { |
| 8024 | .eraseblocks = { {32 * 1024, 256} }, |
| 8025 | .block_erase = spi_block_erase_52, |
| 8026 | }, { |
| 8027 | .eraseblocks = { {64 * 1024, 128} }, |
| 8028 | .block_erase = spi_block_erase_d8, |
| 8029 | }, { |
| 8030 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8031 | .block_erase = spi_block_erase_60, |
| 8032 | }, { |
| 8033 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8034 | .block_erase = spi_block_erase_c7, |
| 8035 | } |
| 8036 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8037 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8038 | .write = spi_chip_write_256, |
| 8039 | .read = spi_chip_read, |
| 8040 | }, |
| 8041 | |
| 8042 | { |
| 8043 | .vendor = "Winbond", |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8044 | .name = "W25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8045 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8046 | .manufacture_id = WINBOND_NEX_ID, |
| 8047 | .model_id = WINBOND_NEX_W25Q128, |
| 8048 | .total_size = 16384, |
| 8049 | .page_size = 256, |
| 8050 | .feature_bits = FEATURE_WRSR_WREN, |
| 8051 | .tested = TEST_OK_PROBE, |
| 8052 | .probe = probe_spi_rdid, |
| 8053 | .probe_timing = TIMING_ZERO, |
| 8054 | .block_erasers = |
| 8055 | { |
| 8056 | { |
| 8057 | .eraseblocks = { {4 * 1024, 4096} }, |
| 8058 | .block_erase = spi_block_erase_20, |
| 8059 | }, { |
| 8060 | .eraseblocks = { {32 * 1024, 512} }, |
| 8061 | .block_erase = spi_block_erase_52, |
| 8062 | }, { |
| 8063 | .eraseblocks = { {64 * 1024, 256} }, |
| 8064 | .block_erase = spi_block_erase_d8, |
| 8065 | }, { |
| 8066 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8067 | .block_erase = spi_block_erase_60, |
| 8068 | }, { |
| 8069 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8070 | .block_erase = spi_block_erase_c7, |
| 8071 | } |
| 8072 | }, |
| 8073 | .unlock = spi_disable_blockprotect, |
| 8074 | .write = spi_chip_write_256, |
| 8075 | .read = spi_chip_read, |
| 8076 | }, |
| 8077 | |
| 8078 | { |
| 8079 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8080 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8081 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8082 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8083 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8084 | .total_size = 128, |
| 8085 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8086 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8087 | .tested = TEST_UNTESTED, |
| 8088 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8089 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8090 | .block_erasers = |
| 8091 | { |
| 8092 | { |
| 8093 | .eraseblocks = { {4 * 1024, 32} }, |
| 8094 | .block_erase = spi_block_erase_20, |
| 8095 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8096 | .eraseblocks = { {64 * 1024, 2} }, |
| 8097 | .block_erase = spi_block_erase_d8, |
| 8098 | }, { |
| 8099 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8100 | .block_erase = spi_block_erase_c7, |
| 8101 | } |
| 8102 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8103 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8104 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8105 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8106 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8107 | }, |
| 8108 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8109 | { |
| 8110 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8111 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8112 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8113 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8114 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8115 | .total_size = 256, |
| 8116 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8117 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8118 | .tested = TEST_UNTESTED, |
| 8119 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8120 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8121 | .block_erasers = |
| 8122 | { |
| 8123 | { |
| 8124 | .eraseblocks = { {4 * 1024, 64} }, |
| 8125 | .block_erase = spi_block_erase_20, |
| 8126 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8127 | .eraseblocks = { {64 * 1024, 4} }, |
| 8128 | .block_erase = spi_block_erase_d8, |
| 8129 | }, { |
| 8130 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8131 | .block_erase = spi_block_erase_c7, |
| 8132 | } |
| 8133 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8134 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8135 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8136 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8137 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8138 | }, |
| 8139 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8140 | { |
| 8141 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8142 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8143 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8144 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8145 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8146 | .total_size = 512, |
| 8147 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8148 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8149 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8150 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8151 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8152 | .block_erasers = |
| 8153 | { |
| 8154 | { |
| 8155 | .eraseblocks = { {4 * 1024, 128} }, |
| 8156 | .block_erase = spi_block_erase_20, |
| 8157 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8158 | .eraseblocks = { {64 * 1024, 8} }, |
| 8159 | .block_erase = spi_block_erase_d8, |
| 8160 | }, { |
| 8161 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8162 | .block_erase = spi_block_erase_c7, |
| 8163 | } |
| 8164 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8165 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8166 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8167 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8168 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8169 | }, |
| 8170 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8171 | { |
| 8172 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8173 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8174 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8175 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8176 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8177 | .total_size = 1024, |
| 8178 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8179 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 8180 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8181 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8182 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8183 | .block_erasers = |
| 8184 | { |
| 8185 | { |
| 8186 | .eraseblocks = { {4 * 1024, 256} }, |
| 8187 | .block_erase = spi_block_erase_20, |
| 8188 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8189 | .eraseblocks = { {64 * 1024, 16} }, |
| 8190 | .block_erase = spi_block_erase_d8, |
| 8191 | }, { |
| 8192 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8193 | .block_erase = spi_block_erase_c7, |
| 8194 | } |
| 8195 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8196 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8197 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8198 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8199 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8200 | }, |
| 8201 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8202 | { |
| 8203 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8204 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8205 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8206 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8207 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8208 | .total_size = 2048, |
| 8209 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8210 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 8211 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8212 | .probe = probe_spi_rdid, |
| 8213 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8214 | .block_erasers = |
| 8215 | { |
| 8216 | { |
| 8217 | .eraseblocks = { {4 * 1024, 512} }, |
| 8218 | .block_erase = spi_block_erase_20, |
| 8219 | }, { |
| 8220 | .eraseblocks = { {32 * 1024, 64} }, |
| 8221 | .block_erase = spi_block_erase_52, |
| 8222 | }, { |
| 8223 | .eraseblocks = { {64 * 1024, 32} }, |
| 8224 | .block_erase = spi_block_erase_d8, |
| 8225 | }, { |
| 8226 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8227 | .block_erase = spi_block_erase_60, |
| 8228 | }, { |
| 8229 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8230 | .block_erase = spi_block_erase_c7, |
| 8231 | } |
| 8232 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8233 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8234 | .write = spi_chip_write_256, |
| 8235 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8236 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8237 | }, |
| 8238 | |
| 8239 | { |
| 8240 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8241 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8242 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8243 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8244 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8245 | .total_size = 4096, |
| 8246 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8247 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8248 | .tested = TEST_OK_PROBE, |
| 8249 | .probe = probe_spi_rdid, |
| 8250 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8251 | .block_erasers = |
| 8252 | { |
| 8253 | { |
| 8254 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8255 | .block_erase = spi_block_erase_20, |
| 8256 | }, { |
| 8257 | .eraseblocks = { {32 * 1024, 128} }, |
| 8258 | .block_erase = spi_block_erase_52, |
| 8259 | }, { |
| 8260 | .eraseblocks = { {64 * 1024, 64} }, |
| 8261 | .block_erase = spi_block_erase_d8, |
| 8262 | }, { |
| 8263 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8264 | .block_erase = spi_block_erase_60, |
| 8265 | }, { |
| 8266 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8267 | .block_erase = spi_block_erase_c7, |
| 8268 | } |
| 8269 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8270 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8271 | .write = spi_chip_write_256, |
| 8272 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8273 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8274 | }, |
| 8275 | |
| 8276 | { |
| 8277 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8278 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8279 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8280 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8281 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8282 | .total_size = 8192, |
| 8283 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8284 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8285 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8286 | .probe = probe_spi_rdid, |
| 8287 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8288 | .block_erasers = |
| 8289 | { |
| 8290 | { |
| 8291 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8292 | .block_erase = spi_block_erase_20, |
| 8293 | }, { |
| 8294 | .eraseblocks = { {32 * 1024, 256} }, |
| 8295 | .block_erase = spi_block_erase_52, |
| 8296 | }, { |
| 8297 | .eraseblocks = { {64 * 1024, 128} }, |
| 8298 | .block_erase = spi_block_erase_d8, |
| 8299 | }, { |
| 8300 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8301 | .block_erase = spi_block_erase_60, |
| 8302 | }, { |
| 8303 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8304 | .block_erase = spi_block_erase_c7, |
| 8305 | } |
| 8306 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8307 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8308 | .write = spi_chip_write_256, |
| 8309 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8310 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8311 | }, |
| 8312 | |
| 8313 | { |
| 8314 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8315 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8316 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8317 | .manufacture_id = WINBOND_ID, |
| 8318 | .model_id = WINBOND_W29C010, |
| 8319 | .total_size = 128, |
| 8320 | .page_size = 128, |
| 8321 | .feature_bits = FEATURE_LONG_RESET, |
| 8322 | .tested = TEST_OK_PRE, |
| 8323 | .probe = probe_w29ee011, |
| 8324 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 8325 | .block_erasers = |
| 8326 | { |
| 8327 | { |
| 8328 | .eraseblocks = { {128 * 1024, 1} }, |
| 8329 | .block_erase = erase_chip_block_jedec, |
| 8330 | } |
| 8331 | }, |
| 8332 | .write = write_jedec, |
| 8333 | .read = read_memmapped, |
| 8334 | }, |
| 8335 | |
| 8336 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 8337 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8338 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8339 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8340 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8341 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8342 | .total_size = 128, |
| 8343 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8344 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8345 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8346 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8347 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8348 | .block_erasers = |
| 8349 | { |
| 8350 | { |
| 8351 | .eraseblocks = { {128 * 1024, 1} }, |
| 8352 | .block_erase = erase_chip_block_jedec, |
| 8353 | } |
| 8354 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8355 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8356 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8357 | }, |
| 8358 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8359 | { |
| 8360 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8361 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8362 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8363 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8364 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8365 | .total_size = 256, |
| 8366 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8367 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8368 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8369 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8370 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8371 | .block_erasers = |
| 8372 | { |
| 8373 | { |
| 8374 | .eraseblocks = { {256 * 1024, 1} }, |
| 8375 | .block_erase = erase_chip_block_jedec, |
| 8376 | } |
| 8377 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8378 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8379 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8380 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8381 | }, |
| 8382 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8383 | { |
| 8384 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8385 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8386 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8387 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8388 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8389 | .total_size = 512, |
| 8390 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8391 | .feature_bits = FEATURE_LONG_RESET, |
| 8392 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8393 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8394 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8395 | .block_erasers = |
| 8396 | { |
| 8397 | { |
| 8398 | .eraseblocks = { {512 * 1024, 1} }, |
| 8399 | .block_erase = erase_chip_block_jedec, |
| 8400 | } |
| 8401 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8402 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8403 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8404 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8405 | }, |
| 8406 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8407 | { |
| 8408 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8409 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8410 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8411 | .manufacture_id = WINBOND_ID, |
| 8412 | .model_id = WINBOND_W39L040, |
| 8413 | .total_size = 512, |
| 8414 | .page_size = 64 * 1024, |
| 8415 | .feature_bits = FEATURE_EITHER_RESET, |
| 8416 | .tested = TEST_OK_PR, |
| 8417 | .probe = probe_jedec, |
| 8418 | .probe_timing = 10, |
| 8419 | .block_erasers = |
| 8420 | { |
| 8421 | { |
| 8422 | .eraseblocks = { {4 * 1024, 128} }, |
| 8423 | .block_erase = erase_block_jedec, |
| 8424 | }, { |
| 8425 | .eraseblocks = { {64 * 1024, 8} }, |
| 8426 | .block_erase = erase_sector_jedec, |
| 8427 | }, { |
| 8428 | .eraseblocks = { {512 * 1024, 1} }, |
| 8429 | .block_erase = erase_chip_block_jedec, |
| 8430 | } |
| 8431 | }, |
| 8432 | .printlock = printlock_w39l040, |
| 8433 | .write = write_jedec_1, |
| 8434 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8435 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8436 | }, |
| 8437 | |
| 8438 | { |
| 8439 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8440 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8441 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8442 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8443 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8444 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8445 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8446 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8447 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8448 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8449 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8450 | .block_erasers = |
| 8451 | { |
| 8452 | { |
| 8453 | .eraseblocks = { {64 * 1024, 8} }, |
| 8454 | .block_erase = erase_sector_jedec, |
| 8455 | }, { |
| 8456 | .eraseblocks = { {512 * 1024, 1} }, |
| 8457 | .block_erase = erase_chip_block_jedec, |
| 8458 | } |
| 8459 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8460 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8461 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8462 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8463 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8464 | }, |
| 8465 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8466 | { |
| 8467 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8468 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8469 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8470 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8471 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8472 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8473 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8474 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8475 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8476 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8477 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8478 | .block_erasers = |
| 8479 | { |
| 8480 | { |
| 8481 | .eraseblocks = { {64 * 1024, 8} }, |
| 8482 | .block_erase = erase_sector_jedec, |
| 8483 | }, { |
| 8484 | .eraseblocks = { {512 * 1024, 1} }, |
| 8485 | .block_erase = erase_chip_block_jedec, |
| 8486 | } |
| 8487 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8488 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8489 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8490 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8491 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8492 | }, |
| 8493 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8494 | { |
| 8495 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8496 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8497 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8498 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8499 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8500 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8501 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8502 | .feature_bits = FEATURE_EITHER_RESET, |
| 8503 | .tested = TEST_UNTESTED, |
| 8504 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8505 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8506 | .block_erasers = |
| 8507 | { |
| 8508 | { |
| 8509 | .eraseblocks = { {64 * 1024, 8} }, |
| 8510 | .block_erase = erase_sector_jedec, |
| 8511 | }, { |
| 8512 | .eraseblocks = { {512 * 1024, 1} }, |
| 8513 | .block_erase = erase_chip_block_jedec, |
| 8514 | } |
| 8515 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 8516 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8517 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8518 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8519 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8520 | }, |
| 8521 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8522 | { |
| 8523 | .vendor = "Winbond", |
| 8524 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8525 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8526 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8527 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8528 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8529 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8530 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8531 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8532 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8533 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8534 | .block_erasers = |
| 8535 | { |
| 8536 | { |
| 8537 | .eraseblocks = { {4 * 1024, 128} }, |
| 8538 | .block_erase = erase_block_jedec, |
| 8539 | }, { |
| 8540 | .eraseblocks = { {64 * 1024, 8} }, |
| 8541 | .block_erase = erase_sector_jedec, |
| 8542 | }, { |
| 8543 | .eraseblocks = { {512 * 1024, 1} }, |
| 8544 | .block_erase = erase_chip_block_jedec, |
| 8545 | } |
| 8546 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8547 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8548 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8549 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8550 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8551 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8552 | }, |
| 8553 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8554 | { |
| 8555 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8556 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8557 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8558 | .manufacture_id = WINBOND_ID, |
| 8559 | .model_id = WINBOND_W39V040B, |
| 8560 | .total_size = 512, |
| 8561 | .page_size = 64 * 1024, |
| 8562 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8563 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8564 | .probe = probe_jedec, |
| 8565 | .probe_timing = 10, |
| 8566 | .block_erasers = |
| 8567 | { |
| 8568 | { |
| 8569 | .eraseblocks = { {64 * 1024, 8} }, |
| 8570 | .block_erase = erase_sector_jedec, |
| 8571 | }, { |
| 8572 | .eraseblocks = { {512 * 1024, 1} }, |
| 8573 | .block_erase = erase_chip_block_jedec, |
| 8574 | } |
| 8575 | }, |
| 8576 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 8577 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8578 | .write = write_jedec_1, |
| 8579 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8580 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8581 | }, |
| 8582 | |
| 8583 | { |
| 8584 | .vendor = "Winbond", |
| 8585 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8586 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8587 | .manufacture_id = WINBOND_ID, |
| 8588 | .model_id = WINBOND_W39V040C, |
| 8589 | .total_size = 512, |
| 8590 | .page_size = 64 * 1024, |
| 8591 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 8592 | .tested = TEST_UNTESTED, |
| 8593 | .probe = probe_jedec, |
| 8594 | .probe_timing = 10, |
| 8595 | .block_erasers = |
| 8596 | { |
| 8597 | { |
| 8598 | .eraseblocks = { {64 * 1024, 8} }, |
| 8599 | .block_erase = erase_sector_jedec, |
| 8600 | }, { |
| 8601 | .eraseblocks = { {512 * 1024, 1} }, |
| 8602 | .block_erase = erase_chip_block_jedec, |
| 8603 | } |
| 8604 | }, |
| 8605 | .printlock = printlock_w39v040fc, |
| 8606 | .write = write_jedec_1, |
| 8607 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8608 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8609 | }, |
| 8610 | |
| 8611 | { |
| 8612 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8613 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8614 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8615 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8616 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8617 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8618 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8619 | .feature_bits = FEATURE_EITHER_RESET, |
| 8620 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8621 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8622 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8623 | .block_erasers = |
| 8624 | { |
| 8625 | { |
| 8626 | .eraseblocks = { {64 * 1024, 16} }, |
| 8627 | .block_erase = erase_sector_jedec, |
| 8628 | }, { |
| 8629 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8630 | .block_erase = erase_chip_block_jedec, |
| 8631 | } |
| 8632 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8633 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8634 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8635 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8636 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8637 | }, |
| 8638 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8639 | { |
| 8640 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8641 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8642 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8643 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8644 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8645 | .total_size = 256, |
| 8646 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8647 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8648 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8649 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8650 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8651 | .block_erasers = |
| 8652 | { |
| 8653 | { |
| 8654 | .eraseblocks = { |
| 8655 | {128 * 1024, 1}, |
| 8656 | {96 * 1024, 1}, |
| 8657 | {8 * 1024, 2}, |
| 8658 | {16 * 1024, 1}, |
| 8659 | }, |
| 8660 | .block_erase = erase_sector_jedec, |
| 8661 | }, { |
| 8662 | .eraseblocks = { {256 * 1024, 1} }, |
| 8663 | .block_erase = erase_chip_block_jedec, |
| 8664 | } |
| 8665 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8666 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8667 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8668 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8669 | }, |
| 8670 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8671 | { |
| 8672 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8673 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8674 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8675 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8676 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8677 | .total_size = 256, |
| 8678 | .page_size = 128, |
| 8679 | .feature_bits = FEATURE_EITHER_RESET, |
| 8680 | .tested = TEST_OK_PROBE, |
| 8681 | .probe = probe_jedec, |
| 8682 | .probe_timing = 10, |
| 8683 | .block_erasers = |
| 8684 | { |
| 8685 | { |
| 8686 | .eraseblocks = { {256 * 1024, 1} }, |
| 8687 | .block_erase = erase_chip_block_jedec, |
| 8688 | } |
| 8689 | }, |
| 8690 | .write = write_jedec_1, |
| 8691 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8692 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8693 | }, |
| 8694 | |
| 8695 | { |
| 8696 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8697 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8698 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8699 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8700 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8701 | .total_size = 256, |
| 8702 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8703 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8704 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8705 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8706 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8707 | .block_erasers = |
| 8708 | { |
| 8709 | { |
| 8710 | .eraseblocks = { |
| 8711 | {64 * 1024, 3}, |
| 8712 | {32 * 1024, 1}, |
| 8713 | {8 * 1024, 2}, |
| 8714 | {16 * 1024, 1}, |
| 8715 | }, |
| 8716 | .block_erase = erase_sector_jedec, |
| 8717 | }, { |
| 8718 | .eraseblocks = { {256 * 1024, 1} }, |
| 8719 | .block_erase = erase_chip_block_jedec, |
| 8720 | } |
| 8721 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8722 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8723 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8724 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8725 | }, |
| 8726 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8727 | { |
| 8728 | .vendor = "Winbond", |
| 8729 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8730 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8731 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8732 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8733 | .total_size = 256, |
| 8734 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8735 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8736 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8737 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8738 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8739 | .block_erasers = |
| 8740 | { |
| 8741 | { |
| 8742 | .eraseblocks = { |
| 8743 | {64 * 1024, 3}, |
| 8744 | {32 * 1024, 1}, |
| 8745 | {8 * 1024, 2}, |
| 8746 | {16 * 1024, 1}, |
| 8747 | }, |
| 8748 | .block_erase = erase_sector_jedec, |
| 8749 | }, { |
| 8750 | .eraseblocks = { {256 * 1024, 1} }, |
| 8751 | .block_erase = erase_chip_block_jedec, |
| 8752 | } |
| 8753 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8754 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8755 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8756 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8757 | }, |
| 8758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8759 | { |
| 8760 | .vendor = "Winbond", |
| 8761 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8762 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8763 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8764 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8765 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8766 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8767 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8768 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8769 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8770 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8771 | .block_erasers = |
| 8772 | { |
| 8773 | { |
| 8774 | .eraseblocks = { {64 * 1024, 16}, }, |
| 8775 | .block_erase = erase_sector_jedec, |
| 8776 | }, { |
| 8777 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8778 | .block_erase = erase_chip_block_jedec, |
| 8779 | } |
| 8780 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8781 | .printlock = printlock_w39v080fa, |
| 8782 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8783 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8784 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8785 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8786 | }, |
| 8787 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8788 | { |
| 8789 | .vendor = "Winbond", |
| 8790 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8791 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8792 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8793 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8794 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8795 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8796 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8797 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8798 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8799 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8800 | .block_erasers = |
| 8801 | { |
| 8802 | { |
| 8803 | .eraseblocks = { {64 * 1024, 8}, }, |
| 8804 | .block_erase = erase_sector_jedec, |
| 8805 | }, { |
| 8806 | .eraseblocks = { {512 * 1024, 1} }, |
| 8807 | .block_erase = erase_chip_block_jedec, |
| 8808 | } |
| 8809 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8810 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8811 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8812 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8813 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
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 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 8817 | .vendor = "AMIC", |
| 8818 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8819 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 8820 | .manufacture_id = AMIC_ID, |
| 8821 | .model_id = GENERIC_DEVICE_ID, |
| 8822 | .total_size = 0, |
| 8823 | .page_size = 256, |
| 8824 | .tested = TEST_BAD_PREW, |
| 8825 | .probe = probe_spi_rdid4, |
| 8826 | .probe_timing = TIMING_ZERO, |
| 8827 | .write = NULL, |
| 8828 | .read = NULL, |
| 8829 | }, |
| 8830 | |
| 8831 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8832 | .vendor = "Atmel", |
| 8833 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8834 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8835 | .manufacture_id = ATMEL_ID, |
| 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 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 8847 | .vendor = "Eon", |
| 8848 | .name = "unknown Eon 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 = EON_ID_NOPREFIX, |
| 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 = "Macronix", |
| 8863 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8864 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8865 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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 = "PMC", |
| 8878 | .name = "unknown PMC 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 = PMC_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 | }, |
| 8890 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8891 | { |
| 8892 | .vendor = "SST", |
| 8893 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8894 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8895 | .manufacture_id = SST_ID, |
| 8896 | .model_id = GENERIC_DEVICE_ID, |
| 8897 | .total_size = 0, |
| 8898 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8899 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8900 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8901 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8902 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8903 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8904 | }, |
| 8905 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8906 | { |
| 8907 | .vendor = "ST", |
| 8908 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8909 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8910 | .manufacture_id = ST_ID, |
| 8911 | .model_id = GENERIC_DEVICE_ID, |
| 8912 | .total_size = 0, |
| 8913 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8914 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8915 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8916 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8917 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8918 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8919 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 8920 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8921 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8922 | .vendor = "Sanyo", |
| 8923 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8924 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8925 | .manufacture_id = SANYO_ID, |
| 8926 | .model_id = GENERIC_DEVICE_ID, |
| 8927 | .total_size = 0, |
| 8928 | .page_size = 256, |
| 8929 | .tested = TEST_BAD_PREW, |
| 8930 | .probe = probe_spi_rdid, |
| 8931 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8932 | .write = NULL, |
| 8933 | .read = NULL, |
| 8934 | }, |
| 8935 | |
| 8936 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8937 | .vendor = "Generic", |
| 8938 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8939 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8940 | .manufacture_id = GENERIC_MANUF_ID, |
| 8941 | .model_id = GENERIC_DEVICE_ID, |
| 8942 | .total_size = 0, |
| 8943 | .page_size = 256, |
| 8944 | .tested = TEST_BAD_PREW, |
| 8945 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8946 | .write = NULL, |
| 8947 | }, |
| 8948 | { |
| 8949 | .vendor = "Generic", |
| 8950 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8951 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8952 | .manufacture_id = GENERIC_MANUF_ID, |
| 8953 | .model_id = GENERIC_DEVICE_ID, |
| 8954 | .total_size = 0, |
| 8955 | .page_size = 256, |
| 8956 | .tested = TEST_BAD_PREW, |
| 8957 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8958 | .write = NULL, |
| 8959 | }, |
| 8960 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8961 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 8962 | }; |