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, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 548 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 549 | .tested = TEST_UNTESTED, |
| 550 | .probe = probe_spi_rdid4, |
| 551 | .probe_timing = TIMING_ZERO, |
| 552 | .block_erasers = |
| 553 | { |
| 554 | { |
| 555 | .eraseblocks = { |
| 556 | {32 * 1024, 1}, |
| 557 | {16 * 1024, 1}, |
| 558 | {8 * 1024, 1}, |
| 559 | {4 * 1024, 2}, |
| 560 | }, |
| 561 | .block_erase = spi_block_erase_d8, |
| 562 | }, { |
| 563 | .eraseblocks = { {64 * 1024, 1} }, |
| 564 | .block_erase = spi_block_erase_c7, |
| 565 | } |
| 566 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 567 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 568 | .unlock = spi_disable_blockprotect, |
| 569 | .write = spi_chip_write_256, |
| 570 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 571 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 572 | }, |
| 573 | |
| 574 | { |
| 575 | .vendor = "AMIC", |
| 576 | .name = "A25L05PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 577 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 578 | .manufacture_id = AMIC_ID, |
| 579 | .model_id = AMIC_A25L05PU, |
| 580 | .total_size = 64, |
| 581 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 582 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 583 | .tested = TEST_UNTESTED, |
| 584 | .probe = probe_spi_rdid4, |
| 585 | .probe_timing = TIMING_ZERO, |
| 586 | .block_erasers = |
| 587 | { |
| 588 | { |
| 589 | .eraseblocks = { |
| 590 | {4 * 1024, 2}, |
| 591 | {8 * 1024, 1}, |
| 592 | {16 * 1024, 1}, |
| 593 | {32 * 1024, 1}, |
| 594 | }, |
| 595 | .block_erase = spi_block_erase_d8, |
| 596 | }, { |
| 597 | .eraseblocks = { {64 * 1024, 1} }, |
| 598 | .block_erase = spi_block_erase_c7, |
| 599 | } |
| 600 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 601 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 602 | .unlock = spi_disable_blockprotect, |
| 603 | .write = spi_chip_write_256, |
| 604 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 605 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 606 | }, |
| 607 | |
| 608 | { |
| 609 | .vendor = "AMIC", |
| 610 | .name = "A25L10PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 611 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 612 | .manufacture_id = AMIC_ID, |
| 613 | .model_id = AMIC_A25L10PT, |
| 614 | .total_size = 128, |
| 615 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 616 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 617 | .tested = TEST_UNTESTED, |
| 618 | .probe = probe_spi_rdid4, |
| 619 | .probe_timing = TIMING_ZERO, |
| 620 | .block_erasers = |
| 621 | { |
| 622 | { |
| 623 | .eraseblocks = { |
| 624 | {64 * 1024, 1}, |
| 625 | {32 * 1024, 1}, |
| 626 | {16 * 1024, 1}, |
| 627 | {8 * 1024, 1}, |
| 628 | {4 * 1024, 2}, |
| 629 | }, |
| 630 | .block_erase = spi_block_erase_d8, |
| 631 | }, { |
| 632 | .eraseblocks = { {128 * 1024, 1} }, |
| 633 | .block_erase = spi_block_erase_c7, |
| 634 | } |
| 635 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 636 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 637 | .unlock = spi_disable_blockprotect, |
| 638 | .write = spi_chip_write_256, |
| 639 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 640 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 641 | }, |
| 642 | |
| 643 | { |
| 644 | .vendor = "AMIC", |
| 645 | .name = "A25L10PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 646 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 647 | .manufacture_id = AMIC_ID, |
| 648 | .model_id = AMIC_A25L10PU, |
| 649 | .total_size = 128, |
| 650 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 651 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 652 | .tested = TEST_UNTESTED, |
| 653 | .probe = probe_spi_rdid4, |
| 654 | .probe_timing = TIMING_ZERO, |
| 655 | .block_erasers = |
| 656 | { |
| 657 | { |
| 658 | .eraseblocks = { |
| 659 | {4 * 1024, 2}, |
| 660 | {8 * 1024, 1}, |
| 661 | {16 * 1024, 1}, |
| 662 | {32 * 1024, 1}, |
| 663 | {64 * 1024, 1}, |
| 664 | }, |
| 665 | .block_erase = spi_block_erase_d8, |
| 666 | }, { |
| 667 | .eraseblocks = { {128 * 1024, 1} }, |
| 668 | .block_erase = spi_block_erase_c7, |
| 669 | } |
| 670 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 671 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 672 | .unlock = spi_disable_blockprotect, |
| 673 | .write = spi_chip_write_256, |
| 674 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 675 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 676 | }, |
| 677 | |
| 678 | { |
| 679 | .vendor = "AMIC", |
| 680 | .name = "A25L20PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 681 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 682 | .manufacture_id = AMIC_ID, |
| 683 | .model_id = AMIC_A25L20PT, |
| 684 | .total_size = 256, |
| 685 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 686 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 687 | .tested = TEST_UNTESTED, |
| 688 | .probe = probe_spi_rdid4, |
| 689 | .probe_timing = TIMING_ZERO, |
| 690 | .block_erasers = |
| 691 | { |
| 692 | { |
| 693 | .eraseblocks = { |
| 694 | {64 * 1024, 3}, |
| 695 | {32 * 1024, 1}, |
| 696 | {16 * 1024, 1}, |
| 697 | {8 * 1024, 1}, |
| 698 | {4 * 1024, 2}, |
| 699 | }, |
| 700 | .block_erase = spi_block_erase_d8, |
| 701 | }, { |
| 702 | .eraseblocks = { {256 * 1024, 1} }, |
| 703 | .block_erase = spi_block_erase_c7, |
| 704 | } |
| 705 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 706 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 707 | .unlock = spi_disable_blockprotect, |
| 708 | .write = spi_chip_write_256, |
| 709 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 710 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 711 | }, |
| 712 | |
| 713 | { |
| 714 | .vendor = "AMIC", |
| 715 | .name = "A25L20PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 716 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 717 | .manufacture_id = AMIC_ID, |
| 718 | .model_id = AMIC_A25L20PU, |
| 719 | .total_size = 256, |
| 720 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 721 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 722 | .tested = TEST_UNTESTED, |
| 723 | .probe = probe_spi_rdid4, |
| 724 | .probe_timing = TIMING_ZERO, |
| 725 | .block_erasers = |
| 726 | { |
| 727 | { |
| 728 | .eraseblocks = { |
| 729 | {4 * 1024, 2}, |
| 730 | {8 * 1024, 1}, |
| 731 | {16 * 1024, 1}, |
| 732 | {32 * 1024, 1}, |
| 733 | {64 * 1024, 3}, |
| 734 | }, |
| 735 | .block_erase = spi_block_erase_d8, |
| 736 | }, { |
| 737 | .eraseblocks = { {256 * 1024, 1} }, |
| 738 | .block_erase = spi_block_erase_c7, |
| 739 | } |
| 740 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 741 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 742 | .unlock = spi_disable_blockprotect, |
| 743 | .write = spi_chip_write_256, |
| 744 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 745 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 746 | }, |
| 747 | |
| 748 | /* The A25L40P{T,U} chips are distinguished by their |
| 749 | * erase block layouts, but without any distinction in RDID. |
| 750 | * This inexplicable quirk was verified by Rudolf Marek |
| 751 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 752 | */ |
| 753 | { |
| 754 | .vendor = "AMIC", |
| 755 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 756 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 757 | .manufacture_id = AMIC_ID, |
| 758 | .model_id = AMIC_A25L40PT, |
| 759 | .total_size = 512, |
| 760 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 761 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 762 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 763 | .probe = probe_spi_rdid4, |
| 764 | .probe_timing = TIMING_ZERO, |
| 765 | .block_erasers = |
| 766 | { |
| 767 | { |
| 768 | .eraseblocks = { |
| 769 | {64 * 1024, 7}, |
| 770 | {32 * 1024, 1}, |
| 771 | {16 * 1024, 1}, |
| 772 | {8 * 1024, 1}, |
| 773 | {4 * 1024, 2}, |
| 774 | }, |
| 775 | .block_erase = spi_block_erase_d8, |
| 776 | }, { |
| 777 | .eraseblocks = { {512 * 1024, 1} }, |
| 778 | .block_erase = spi_block_erase_c7, |
| 779 | } |
| 780 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 781 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 782 | .unlock = spi_disable_blockprotect, |
| 783 | .write = spi_chip_write_256, |
| 784 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 785 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 786 | }, |
| 787 | |
| 788 | { |
| 789 | .vendor = "AMIC", |
| 790 | .name = "A25L40PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 791 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 792 | .manufacture_id = AMIC_ID, |
| 793 | .model_id = AMIC_A25L40PU, |
| 794 | .total_size = 512, |
| 795 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 796 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 797 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 798 | .probe = probe_spi_rdid4, |
| 799 | .probe_timing = TIMING_ZERO, |
| 800 | .block_erasers = |
| 801 | { |
| 802 | { |
| 803 | .eraseblocks = { |
| 804 | {4 * 1024, 2}, |
| 805 | {8 * 1024, 1}, |
| 806 | {16 * 1024, 1}, |
| 807 | {32 * 1024, 1}, |
| 808 | {64 * 1024, 7}, |
| 809 | }, |
| 810 | .block_erase = spi_block_erase_d8, |
| 811 | }, { |
| 812 | .eraseblocks = { {512 * 1024, 1} }, |
| 813 | .block_erase = spi_block_erase_c7, |
| 814 | } |
| 815 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 816 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 817 | .unlock = spi_disable_blockprotect, |
| 818 | .write = spi_chip_write_256, |
| 819 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 820 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 821 | }, |
| 822 | |
| 823 | { |
| 824 | .vendor = "AMIC", |
| 825 | .name = "A25L80P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 826 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 827 | .manufacture_id = AMIC_ID, |
| 828 | .model_id = AMIC_A25L80P, |
| 829 | .total_size = 1024, |
| 830 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 831 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 832 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 833 | .probe = probe_spi_rdid4, |
| 834 | .probe_timing = TIMING_ZERO, |
| 835 | .block_erasers = |
| 836 | { |
| 837 | { |
| 838 | .eraseblocks = { |
| 839 | {4 * 1024, 2}, |
| 840 | {8 * 1024, 1}, |
| 841 | {16 * 1024, 1}, |
| 842 | {32 * 1024, 1}, |
| 843 | {64 * 1024, 15}, |
| 844 | }, |
| 845 | .block_erase = spi_block_erase_d8, |
| 846 | }, { |
| 847 | .eraseblocks = { {1024 * 1024, 1} }, |
| 848 | .block_erase = spi_block_erase_c7, |
| 849 | } |
| 850 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 851 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 852 | .unlock = spi_disable_blockprotect, |
| 853 | .write = spi_chip_write_256, |
| 854 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 855 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 856 | }, |
| 857 | |
| 858 | { |
| 859 | .vendor = "AMIC", |
| 860 | .name = "A25L16PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 861 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 862 | .manufacture_id = AMIC_ID, |
| 863 | .model_id = AMIC_A25L16PT, |
| 864 | .total_size = 2048, |
| 865 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 866 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 867 | .tested = TEST_UNTESTED, |
| 868 | .probe = probe_spi_rdid4, |
| 869 | .probe_timing = TIMING_ZERO, |
| 870 | .block_erasers = |
| 871 | { |
| 872 | { |
| 873 | .eraseblocks = { |
| 874 | {64 * 1024, 31}, |
| 875 | {32 * 1024, 1}, |
| 876 | {16 * 1024, 1}, |
| 877 | {8 * 1024, 1}, |
| 878 | {4 * 1024, 2}, |
| 879 | }, |
| 880 | .block_erase = spi_block_erase_d8, |
| 881 | }, { |
| 882 | .eraseblocks = { {2048 * 1024, 1} }, |
| 883 | .block_erase = spi_block_erase_60, |
| 884 | }, { |
| 885 | .eraseblocks = { {2048 * 1024, 1} }, |
| 886 | .block_erase = spi_block_erase_c7, |
| 887 | } |
| 888 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 889 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 890 | .unlock = spi_disable_blockprotect, |
| 891 | .write = spi_chip_write_256, |
| 892 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 893 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 894 | }, |
| 895 | |
| 896 | { |
| 897 | .vendor = "AMIC", |
| 898 | .name = "A25L16PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 899 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 900 | .manufacture_id = AMIC_ID, |
| 901 | .model_id = AMIC_A25L16PU, |
| 902 | .total_size = 2048, |
| 903 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 904 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 905 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 906 | .probe = probe_spi_rdid4, |
| 907 | .probe_timing = TIMING_ZERO, |
| 908 | .block_erasers = |
| 909 | { |
| 910 | { |
| 911 | .eraseblocks = { |
| 912 | {4 * 1024, 2}, |
| 913 | {8 * 1024, 1}, |
| 914 | {16 * 1024, 1}, |
| 915 | {32 * 1024, 1}, |
| 916 | {64 * 1024, 31}, |
| 917 | }, |
| 918 | .block_erase = spi_block_erase_d8, |
| 919 | }, { |
| 920 | .eraseblocks = { {2048 * 1024, 1} }, |
| 921 | .block_erase = spi_block_erase_60, |
| 922 | }, { |
| 923 | .eraseblocks = { {2048 * 1024, 1} }, |
| 924 | .block_erase = spi_block_erase_c7, |
| 925 | } |
| 926 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 927 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 928 | .unlock = spi_disable_blockprotect, |
| 929 | .write = spi_chip_write_256, |
| 930 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 931 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 932 | }, |
| 933 | |
| 934 | { |
| 935 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 936 | .name = "A25L512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 937 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 938 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 939 | .model_id = AMIC_A25L512, |
| 940 | .total_size = 64, |
| 941 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 942 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 943 | .tested = TEST_UNTESTED, |
| 944 | .probe = probe_spi_rdid, |
| 945 | .probe_timing = TIMING_ZERO, |
| 946 | .block_erasers = |
| 947 | { |
| 948 | { |
| 949 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 950 | .block_erase = spi_block_erase_20, |
| 951 | }, { |
| 952 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 953 | .block_erase = spi_block_erase_d8, |
| 954 | }, { |
| 955 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 956 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 957 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 958 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 959 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 960 | .unlock = spi_disable_blockprotect, |
| 961 | .write = spi_chip_write_256, |
| 962 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 963 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 964 | }, |
| 965 | |
| 966 | { |
| 967 | .vendor = "AMIC", |
| 968 | .name = "A25L010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 969 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 970 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 971 | .model_id = AMIC_A25L010, |
| 972 | .total_size = 128, |
| 973 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 974 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 975 | .tested = TEST_UNTESTED, |
| 976 | .probe = probe_spi_rdid, |
| 977 | .probe_timing = TIMING_ZERO, |
| 978 | .block_erasers = |
| 979 | { |
| 980 | { |
| 981 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 982 | .block_erase = spi_block_erase_20, |
| 983 | }, { |
| 984 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 985 | .block_erase = spi_block_erase_d8, |
| 986 | }, { |
| 987 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 988 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 989 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 990 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 991 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 992 | .unlock = spi_disable_blockprotect, |
| 993 | .write = spi_chip_write_256, |
| 994 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 995 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 996 | }, |
| 997 | |
| 998 | { |
| 999 | .vendor = "AMIC", |
| 1000 | .name = "A25L020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1001 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1002 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1003 | .model_id = AMIC_A25L020, |
| 1004 | .total_size = 256, |
| 1005 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1006 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1007 | .tested = TEST_UNTESTED, |
| 1008 | .probe = probe_spi_rdid, |
| 1009 | .probe_timing = TIMING_ZERO, |
| 1010 | .block_erasers = |
| 1011 | { |
| 1012 | { |
| 1013 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 1014 | .block_erase = spi_block_erase_20, |
| 1015 | }, { |
| 1016 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 1017 | .block_erase = spi_block_erase_d8, |
| 1018 | }, { |
| 1019 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 1020 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 1021 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1022 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1023 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1024 | .unlock = spi_disable_blockprotect, |
| 1025 | .write = spi_chip_write_256, |
| 1026 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1027 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1028 | }, |
| 1029 | |
| 1030 | { |
| 1031 | .vendor = "AMIC", |
| 1032 | .name = "A25L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1033 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1034 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1035 | .model_id = AMIC_A25L040, |
| 1036 | .total_size = 512, |
| 1037 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1038 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1039 | .tested = TEST_UNTESTED, |
| 1040 | .probe = probe_spi_rdid, |
| 1041 | .probe_timing = TIMING_ZERO, |
| 1042 | .block_erasers = |
| 1043 | { |
| 1044 | { |
| 1045 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 1046 | .block_erase = spi_block_erase_20, |
| 1047 | }, { |
| 1048 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 1049 | .block_erase = spi_block_erase_d8, |
| 1050 | }, { |
| 1051 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 1052 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 1053 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1054 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1055 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1056 | .unlock = spi_disable_blockprotect, |
| 1057 | .write = spi_chip_write_256, |
| 1058 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1059 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1060 | }, |
| 1061 | |
| 1062 | { |
| 1063 | .vendor = "AMIC", |
| 1064 | .name = "A25L080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1065 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1066 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1067 | .model_id = AMIC_A25L080, |
| 1068 | .total_size = 1024, |
| 1069 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1070 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1071 | .tested = TEST_UNTESTED, |
| 1072 | .probe = probe_spi_rdid, |
| 1073 | .probe_timing = TIMING_ZERO, |
| 1074 | .block_erasers = |
| 1075 | { |
| 1076 | { |
| 1077 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 1078 | .block_erase = spi_block_erase_20, |
| 1079 | }, { |
| 1080 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 1081 | .block_erase = spi_block_erase_d8, |
| 1082 | }, { |
| 1083 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 1084 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 1085 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1086 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1087 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1088 | .unlock = spi_disable_blockprotect, |
| 1089 | .write = spi_chip_write_256, |
| 1090 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1091 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1092 | }, |
| 1093 | |
| 1094 | { |
| 1095 | .vendor = "AMIC", |
| 1096 | .name = "A25L016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1097 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1098 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1099 | .model_id = AMIC_A25L016, |
| 1100 | .total_size = 2048, |
| 1101 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1102 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1103 | .tested = TEST_UNTESTED, |
| 1104 | .probe = probe_spi_rdid, |
| 1105 | .probe_timing = TIMING_ZERO, |
| 1106 | .block_erasers = |
| 1107 | { |
| 1108 | { |
| 1109 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 1110 | .block_erase = spi_block_erase_20, |
| 1111 | }, { |
| 1112 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 1113 | .block_erase = spi_block_erase_d8, |
| 1114 | }, { |
| 1115 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 1116 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 1117 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1118 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1119 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1120 | .unlock = spi_disable_blockprotect, |
| 1121 | .write = spi_chip_write_256, |
| 1122 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1123 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1124 | }, |
| 1125 | |
| 1126 | { |
| 1127 | .vendor = "AMIC", |
| 1128 | .name = "A25L032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1129 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1130 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1131 | .model_id = AMIC_A25L032, |
| 1132 | .total_size = 4096, |
| 1133 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1134 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1135 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 1136 | .tested = TEST_OK_PREW, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1137 | .probe = probe_spi_rdid, |
| 1138 | .probe_timing = TIMING_ZERO, |
| 1139 | .block_erasers = |
| 1140 | { |
| 1141 | { |
| 1142 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1143 | .block_erase = spi_block_erase_20, |
| 1144 | }, { |
| 1145 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1146 | .block_erase = spi_block_erase_52, |
| 1147 | }, { |
| 1148 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1149 | .block_erase = spi_block_erase_d8, |
| 1150 | }, { |
| 1151 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1152 | .block_erase = spi_block_erase_60, |
| 1153 | }, { |
| 1154 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1155 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 1156 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1157 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1158 | .printlock = spi_prettyprint_status_register_amic_a25l032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1159 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1160 | .write = spi_chip_write_256, |
| 1161 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1162 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1163 | }, |
| 1164 | |
| 1165 | { |
| 1166 | .vendor = "AMIC", |
| 1167 | .name = "A25LQ032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1168 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1169 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1170 | .model_id = AMIC_A25LQ032, |
| 1171 | .total_size = 4096, |
| 1172 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1173 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1174 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1175 | .tested = TEST_UNTESTED, |
| 1176 | .probe = probe_spi_rdid, |
| 1177 | .probe_timing = TIMING_ZERO, |
| 1178 | .block_erasers = |
| 1179 | { |
| 1180 | { |
| 1181 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1182 | .block_erase = spi_block_erase_20, |
| 1183 | }, { |
| 1184 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1185 | .block_erase = spi_block_erase_52, |
| 1186 | }, { |
| 1187 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1188 | .block_erase = spi_block_erase_d8, |
| 1189 | }, { |
| 1190 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1191 | .block_erase = spi_block_erase_60, |
| 1192 | }, { |
| 1193 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1194 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 1195 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1196 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1197 | .printlock = spi_prettyprint_status_register_amic_a25lq032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1198 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1199 | .write = spi_chip_write_256, |
| 1200 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1201 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1202 | }, |
| 1203 | |
| 1204 | { |
| 1205 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1206 | .name = "A29002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1207 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1208 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1209 | .model_id = AMIC_A29002B, |
| 1210 | .total_size = 256, |
| 1211 | .page_size = 64 * 1024, |
| 1212 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1213 | .tested = TEST_UNTESTED, |
| 1214 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1215 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1216 | .block_erasers = |
| 1217 | { |
| 1218 | { |
| 1219 | .eraseblocks = { |
| 1220 | {16 * 1024, 1}, |
| 1221 | {8 * 1024, 2}, |
| 1222 | {32 * 1024, 1}, |
| 1223 | {64 * 1024, 3}, |
| 1224 | }, |
| 1225 | .block_erase = erase_sector_jedec, |
| 1226 | }, { |
| 1227 | .eraseblocks = { {256 * 1024, 1} }, |
| 1228 | .block_erase = erase_chip_block_jedec, |
| 1229 | }, |
| 1230 | }, |
| 1231 | .write = write_jedec_1, |
| 1232 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1233 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1234 | }, |
| 1235 | |
| 1236 | { |
| 1237 | .vendor = "AMIC", |
| 1238 | .name = "A29002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1239 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1240 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1241 | .model_id = AMIC_A29002T, |
| 1242 | .total_size = 256, |
| 1243 | .page_size = 64 * 1024, |
| 1244 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 1245 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1246 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1247 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1248 | .block_erasers = |
| 1249 | { |
| 1250 | { |
| 1251 | .eraseblocks = { |
| 1252 | {64 * 1024, 3}, |
| 1253 | {32 * 1024, 1}, |
| 1254 | {8 * 1024, 2}, |
| 1255 | {16 * 1024, 1}, |
| 1256 | }, |
| 1257 | .block_erase = erase_sector_jedec, |
| 1258 | }, { |
| 1259 | .eraseblocks = { {256 * 1024, 1} }, |
| 1260 | .block_erase = erase_chip_block_jedec, |
| 1261 | }, |
| 1262 | }, |
| 1263 | .write = write_jedec_1, |
| 1264 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1265 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1266 | }, |
| 1267 | |
| 1268 | { |
| 1269 | .vendor = "AMIC", |
| 1270 | .name = "A29040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1271 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1272 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1273 | .model_id = AMIC_A29040B, |
| 1274 | .total_size = 512, |
| 1275 | .page_size = 64 * 1024, |
| 1276 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1277 | .tested = TEST_UNTESTED, |
| 1278 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1279 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1280 | .block_erasers = |
| 1281 | { |
| 1282 | { |
| 1283 | .eraseblocks = { {64 * 1024, 8} }, |
| 1284 | .block_erase = erase_sector_jedec, |
| 1285 | }, { |
| 1286 | .eraseblocks = { {512 * 1024, 1} }, |
| 1287 | .block_erase = erase_chip_block_jedec, |
| 1288 | }, |
| 1289 | }, |
| 1290 | .write = write_jedec_1, |
| 1291 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1292 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1293 | }, |
| 1294 | |
| 1295 | { |
| 1296 | .vendor = "AMIC", |
| 1297 | .name = "A49LF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1298 | .bustype = BUS_LPC, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1299 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1300 | .model_id = AMIC_A49LF040A, |
| 1301 | .total_size = 512, |
| 1302 | .page_size = 64 * 1024, |
| 1303 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 1304 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1305 | .probe = probe_jedec, |
| 1306 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 1307 | .block_erasers = |
| 1308 | { |
| 1309 | { |
| 1310 | .eraseblocks = { {64 * 1024, 8} }, |
| 1311 | .block_erase = erase_block_jedec, |
| 1312 | }, { |
| 1313 | .eraseblocks = { {512 * 1024, 1} }, |
| 1314 | .block_erase = erase_chip_block_jedec, |
| 1315 | } |
| 1316 | }, |
| 1317 | .unlock = unlock_49fl00x, |
| 1318 | .write = write_jedec_1, |
| 1319 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1320 | .voltage = {3000, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1321 | }, |
| 1322 | |
| 1323 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1324 | .vendor = "Atmel", |
| 1325 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1326 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1327 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1328 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1329 | .total_size = 256, |
| 1330 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1331 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1332 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1333 | .tested = TEST_UNTESTED, |
| 1334 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1335 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1336 | .block_erasers = |
| 1337 | { |
| 1338 | { |
| 1339 | .eraseblocks = { {4 * 1024, 64} }, |
| 1340 | .block_erase = spi_block_erase_20, |
| 1341 | }, { |
| 1342 | .eraseblocks = { {32 * 1024, 8} }, |
| 1343 | .block_erase = spi_block_erase_52, |
| 1344 | }, { |
| 1345 | .eraseblocks = { {64 * 1024, 4} }, |
| 1346 | .block_erase = spi_block_erase_d8, |
| 1347 | }, { |
| 1348 | .eraseblocks = { {256 * 1024, 1} }, |
| 1349 | .block_erase = spi_block_erase_60, |
| 1350 | }, { |
| 1351 | .eraseblocks = { {256 * 1024, 1} }, |
| 1352 | .block_erase = spi_block_erase_c7, |
| 1353 | } |
| 1354 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1355 | .printlock = spi_prettyprint_status_register_at25df, |
| 1356 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1358 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1359 | .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] | 1360 | }, |
| 1361 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1362 | { |
| 1363 | .vendor = "Atmel", |
| 1364 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1365 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1366 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1367 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1368 | .total_size = 512, |
| 1369 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1370 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1371 | .tested = TEST_UNTESTED, |
| 1372 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1373 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1374 | .block_erasers = |
| 1375 | { |
| 1376 | { |
| 1377 | .eraseblocks = { {4 * 1024, 128} }, |
| 1378 | .block_erase = spi_block_erase_20, |
| 1379 | }, { |
| 1380 | .eraseblocks = { {32 * 1024, 16} }, |
| 1381 | .block_erase = spi_block_erase_52, |
| 1382 | }, { |
| 1383 | .eraseblocks = { {64 * 1024, 8} }, |
| 1384 | .block_erase = spi_block_erase_d8, |
| 1385 | }, { |
| 1386 | .eraseblocks = { {512 * 1024, 1} }, |
| 1387 | .block_erase = spi_block_erase_60, |
| 1388 | }, { |
| 1389 | .eraseblocks = { {512 * 1024, 1} }, |
| 1390 | .block_erase = spi_block_erase_c7, |
| 1391 | } |
| 1392 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1393 | .printlock = spi_prettyprint_status_register_at25df, |
| 1394 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1395 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1396 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1397 | .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] | 1398 | }, |
| 1399 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1400 | { |
| 1401 | .vendor = "Atmel", |
| 1402 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1403 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1404 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1405 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1406 | .total_size = 1024, |
| 1407 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1408 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1409 | .tested = TEST_UNTESTED, |
| 1410 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1411 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1412 | .block_erasers = |
| 1413 | { |
| 1414 | { |
| 1415 | .eraseblocks = { {4 * 1024, 256} }, |
| 1416 | .block_erase = spi_block_erase_20, |
| 1417 | }, { |
| 1418 | .eraseblocks = { {32 * 1024, 32} }, |
| 1419 | .block_erase = spi_block_erase_52, |
| 1420 | }, { |
| 1421 | .eraseblocks = { {64 * 1024, 16} }, |
| 1422 | .block_erase = spi_block_erase_d8, |
| 1423 | }, { |
| 1424 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1425 | .block_erase = spi_block_erase_60, |
| 1426 | }, { |
| 1427 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1428 | .block_erase = spi_block_erase_c7, |
| 1429 | } |
| 1430 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1431 | .printlock = spi_prettyprint_status_register_at25df, |
| 1432 | .unlock = spi_disable_blockprotect_at25df, |
| 1433 | .write = spi_chip_write_256, |
| 1434 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1435 | .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] | 1436 | }, |
| 1437 | |
| 1438 | { |
| 1439 | .vendor = "Atmel", |
| 1440 | .name = "AT25DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1441 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1442 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1443 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1444 | .total_size = 1024, |
| 1445 | .page_size = 256, |
| 1446 | .feature_bits = FEATURE_WRSR_WREN, |
| 1447 | .tested = TEST_UNTESTED, |
| 1448 | .probe = probe_spi_rdid, |
| 1449 | .probe_timing = TIMING_ZERO, |
| 1450 | .block_erasers = |
| 1451 | { |
| 1452 | { |
| 1453 | .eraseblocks = { {4 * 1024, 256} }, |
| 1454 | .block_erase = spi_block_erase_20, |
| 1455 | }, { |
| 1456 | .eraseblocks = { {32 * 1024, 32} }, |
| 1457 | .block_erase = spi_block_erase_52, |
| 1458 | }, { |
| 1459 | .eraseblocks = { {64 * 1024, 16} }, |
| 1460 | .block_erase = spi_block_erase_d8, |
| 1461 | }, { |
| 1462 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1463 | .block_erase = spi_block_erase_60, |
| 1464 | }, { |
| 1465 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1466 | .block_erase = spi_block_erase_c7, |
| 1467 | } |
| 1468 | }, |
| 1469 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1470 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1471 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1472 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1473 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1474 | }, |
| 1475 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1476 | { |
| 1477 | .vendor = "Atmel", |
| 1478 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1479 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1480 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1481 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1482 | .total_size = 2048, |
| 1483 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1484 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 1485 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1486 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1487 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1488 | .block_erasers = |
| 1489 | { |
| 1490 | { |
| 1491 | .eraseblocks = { {4 * 1024, 512} }, |
| 1492 | .block_erase = spi_block_erase_20, |
| 1493 | }, { |
| 1494 | .eraseblocks = { {32 * 1024, 64} }, |
| 1495 | .block_erase = spi_block_erase_52, |
| 1496 | }, { |
| 1497 | .eraseblocks = { {64 * 1024, 32} }, |
| 1498 | .block_erase = spi_block_erase_d8, |
| 1499 | }, { |
| 1500 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1501 | .block_erase = spi_block_erase_60, |
| 1502 | }, { |
| 1503 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1504 | .block_erase = spi_block_erase_c7, |
| 1505 | } |
| 1506 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1507 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1508 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1509 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1510 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1511 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1512 | }, |
| 1513 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1514 | { |
| 1515 | .vendor = "Atmel", |
| 1516 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1517 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1518 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1519 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1520 | .total_size = 4096, |
| 1521 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1522 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 1523 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1524 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1525 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1526 | .block_erasers = |
| 1527 | { |
| 1528 | { |
| 1529 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1530 | .block_erase = spi_block_erase_20, |
| 1531 | }, { |
| 1532 | .eraseblocks = { {32 * 1024, 128} }, |
| 1533 | .block_erase = spi_block_erase_52, |
| 1534 | }, { |
| 1535 | .eraseblocks = { {64 * 1024, 64} }, |
| 1536 | .block_erase = spi_block_erase_d8, |
| 1537 | }, { |
| 1538 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1539 | .block_erase = spi_block_erase_60, |
| 1540 | }, { |
| 1541 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1542 | .block_erase = spi_block_erase_c7, |
| 1543 | } |
| 1544 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1545 | .printlock = spi_prettyprint_status_register_at25df, |
| 1546 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1547 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1548 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1549 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1550 | }, |
| 1551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1552 | { |
| 1553 | .vendor = "Atmel", |
| 1554 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1555 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1556 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1557 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1558 | .total_size = 4096, |
| 1559 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1560 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1561 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 1562 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1563 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1564 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1565 | .block_erasers = |
| 1566 | { |
| 1567 | { |
| 1568 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1569 | .block_erase = spi_block_erase_20, |
| 1570 | }, { |
| 1571 | .eraseblocks = { {32 * 1024, 128} }, |
| 1572 | .block_erase = spi_block_erase_52, |
| 1573 | }, { |
| 1574 | .eraseblocks = { {64 * 1024, 64} }, |
| 1575 | .block_erase = spi_block_erase_d8, |
| 1576 | }, { |
| 1577 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1578 | .block_erase = spi_block_erase_60, |
| 1579 | }, { |
| 1580 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1581 | .block_erase = spi_block_erase_c7, |
| 1582 | } |
| 1583 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1584 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1585 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1586 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1587 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1588 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1589 | }, |
| 1590 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1591 | { |
| 1592 | .vendor = "Atmel", |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 1593 | .name = "AT25DF641(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1594 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1596 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1597 | .total_size = 8192, |
| 1598 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1599 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1600 | .tested = TEST_UNTESTED, |
| 1601 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1602 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1603 | .block_erasers = |
| 1604 | { |
| 1605 | { |
| 1606 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1607 | .block_erase = spi_block_erase_20, |
| 1608 | }, { |
| 1609 | .eraseblocks = { {32 * 1024, 256} }, |
| 1610 | .block_erase = spi_block_erase_52, |
| 1611 | }, { |
| 1612 | .eraseblocks = { {64 * 1024, 128} }, |
| 1613 | .block_erase = spi_block_erase_d8, |
| 1614 | }, { |
| 1615 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1616 | .block_erase = spi_block_erase_60, |
| 1617 | }, { |
| 1618 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1619 | .block_erase = spi_block_erase_c7, |
| 1620 | } |
| 1621 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1622 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1623 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1624 | .write = spi_chip_write_256, |
| 1625 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1626 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1627 | }, |
| 1628 | |
| 1629 | { |
| 1630 | .vendor = "Atmel", |
| 1631 | .name = "AT25DQ161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1632 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1633 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1634 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1635 | .total_size = 2048, |
| 1636 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1637 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1638 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1639 | .tested = TEST_UNTESTED, |
| 1640 | .probe = probe_spi_rdid, |
| 1641 | .probe_timing = TIMING_ZERO, |
| 1642 | .block_erasers = |
| 1643 | { |
| 1644 | { |
| 1645 | .eraseblocks = { {4 * 1024, 512} }, |
| 1646 | .block_erase = spi_block_erase_20, |
| 1647 | }, { |
| 1648 | .eraseblocks = { {32 * 1024, 64} }, |
| 1649 | .block_erase = spi_block_erase_52, |
| 1650 | }, { |
| 1651 | .eraseblocks = { {64 * 1024, 32} }, |
| 1652 | .block_erase = spi_block_erase_d8, |
| 1653 | }, { |
| 1654 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1655 | .block_erase = spi_block_erase_60, |
| 1656 | }, { |
| 1657 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1658 | .block_erase = spi_block_erase_c7, |
| 1659 | } |
| 1660 | }, |
| 1661 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1662 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1663 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1664 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1665 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1666 | }, |
| 1667 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1668 | { |
| 1669 | .vendor = "Atmel", |
| 1670 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1671 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1672 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1673 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1674 | .total_size = 64, |
| 1675 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1676 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1677 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1678 | .tested = TEST_UNTESTED, |
| 1679 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1680 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1681 | .block_erasers = |
| 1682 | { |
| 1683 | { |
| 1684 | .eraseblocks = { {4 * 1024, 16} }, |
| 1685 | .block_erase = spi_block_erase_20, |
| 1686 | }, { |
| 1687 | .eraseblocks = { {32 * 1024, 2} }, |
| 1688 | .block_erase = spi_block_erase_52, |
| 1689 | }, { |
| 1690 | .eraseblocks = { {32 * 1024, 2} }, |
| 1691 | .block_erase = spi_block_erase_d8, |
| 1692 | }, { |
| 1693 | .eraseblocks = { {64 * 1024, 1} }, |
| 1694 | .block_erase = spi_block_erase_60, |
| 1695 | }, { |
| 1696 | .eraseblocks = { {64 * 1024, 1} }, |
| 1697 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | 3c0fcd0 | 2012-09-21 12:46:56 +0000 | [diff] [blame] | 1698 | }, { |
| 1699 | .eraseblocks = { {64 * 1024, 1} }, |
| 1700 | .block_erase = spi_block_erase_62, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1701 | } |
| 1702 | }, |
Stefan Tauner | 7bf4ed9 | 2012-08-26 21:04:27 +0000 | [diff] [blame] | 1703 | .printlock = spi_prettyprint_status_register_at25f512b, |
| 1704 | .unlock = spi_disable_blockprotect_at25f512b, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1705 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1706 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1707 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1708 | }, |
| 1709 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1710 | { |
| 1711 | .vendor = "Atmel", |
| 1712 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1713 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1714 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1715 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1716 | .total_size = 128, |
| 1717 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1718 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1719 | .tested = TEST_UNTESTED, |
| 1720 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1721 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1722 | .block_erasers = |
| 1723 | { |
| 1724 | { |
| 1725 | .eraseblocks = { {4 * 1024, 32} }, |
| 1726 | .block_erase = spi_block_erase_20, |
| 1727 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1728 | .eraseblocks = { {4 * 1024, 32} }, |
| 1729 | .block_erase = spi_block_erase_d7, |
| 1730 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1731 | .eraseblocks = { {32 * 1024, 4} }, |
| 1732 | .block_erase = spi_block_erase_52, |
| 1733 | }, { |
| 1734 | .eraseblocks = { {32 * 1024, 4} }, |
| 1735 | .block_erase = spi_block_erase_d8, |
| 1736 | }, { |
| 1737 | .eraseblocks = { {128 * 1024, 1} }, |
| 1738 | .block_erase = spi_block_erase_60, |
| 1739 | }, { |
| 1740 | .eraseblocks = { {128 * 1024, 1} }, |
| 1741 | .block_erase = spi_block_erase_c7, |
| 1742 | } |
| 1743 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1744 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1745 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1746 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1747 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1748 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1749 | }, |
| 1750 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1751 | { |
| 1752 | .vendor = "Atmel", |
| 1753 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1754 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1755 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1756 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1757 | .total_size = 512, |
| 1758 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1759 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1760 | .tested = TEST_UNTESTED, |
| 1761 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1762 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1763 | .block_erasers = |
| 1764 | { |
| 1765 | { |
| 1766 | .eraseblocks = { {4 * 1024, 128} }, |
| 1767 | .block_erase = spi_block_erase_20, |
| 1768 | }, { |
| 1769 | .eraseblocks = { {64 * 1024, 8} }, |
| 1770 | .block_erase = spi_block_erase_52, |
| 1771 | }, { |
| 1772 | .eraseblocks = { {64 * 1024, 8} }, |
| 1773 | .block_erase = spi_block_erase_d8, |
| 1774 | }, { |
| 1775 | .eraseblocks = { {512 * 1024, 1} }, |
| 1776 | .block_erase = spi_block_erase_60, |
| 1777 | }, { |
| 1778 | .eraseblocks = { {512 * 1024, 1} }, |
| 1779 | .block_erase = spi_block_erase_c7, |
| 1780 | } |
| 1781 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1782 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1783 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1784 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1785 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1786 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1787 | }, |
| 1788 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1789 | { |
| 1790 | .vendor = "Atmel", |
| 1791 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1792 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1793 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1794 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1795 | .total_size = 512, |
| 1796 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1797 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1798 | .tested = TEST_UNTESTED, |
| 1799 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1800 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1801 | .block_erasers = |
| 1802 | { |
| 1803 | { |
| 1804 | .eraseblocks = { {4 * 1024, 128} }, |
| 1805 | .block_erase = spi_block_erase_20, |
| 1806 | } |
| 1807 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1808 | .write = NULL /* Incompatible Page write */, |
| 1809 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1810 | .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] | 1811 | }, |
| 1812 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1813 | { |
| 1814 | .vendor = "Atmel", |
| 1815 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1816 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1817 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1818 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1819 | .total_size = 1024, |
| 1820 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1821 | .feature_bits = FEATURE_WRSR_WREN, |
| 1822 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1823 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1824 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1825 | .block_erasers = |
| 1826 | { |
| 1827 | { |
| 1828 | .eraseblocks = { {4 * 1024, 256} }, |
| 1829 | .block_erase = spi_block_erase_20, |
| 1830 | }, { |
| 1831 | .eraseblocks = { {32 * 1024, 32} }, |
| 1832 | .block_erase = spi_block_erase_52, |
| 1833 | }, { |
| 1834 | .eraseblocks = { {64 * 1024, 16} }, |
| 1835 | .block_erase = spi_block_erase_d8, |
| 1836 | }, { |
| 1837 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1838 | .block_erase = spi_block_erase_60, |
| 1839 | }, { |
| 1840 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1841 | .block_erase = spi_block_erase_c7, |
| 1842 | } |
| 1843 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1844 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1845 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1846 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1847 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1848 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1849 | }, |
| 1850 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1851 | { |
| 1852 | .vendor = "Atmel", |
| 1853 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1854 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1855 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1856 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1857 | .total_size = 2048, |
| 1858 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1859 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 1860 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1861 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1862 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1863 | .block_erasers = |
| 1864 | { |
| 1865 | { |
| 1866 | .eraseblocks = { {4 * 1024, 512} }, |
| 1867 | .block_erase = spi_block_erase_20, |
| 1868 | }, { |
| 1869 | .eraseblocks = { {32 * 1024, 64} }, |
| 1870 | .block_erase = spi_block_erase_52, |
| 1871 | }, { |
| 1872 | .eraseblocks = { {64 * 1024, 32} }, |
| 1873 | .block_erase = spi_block_erase_d8, |
| 1874 | }, { |
| 1875 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1876 | .block_erase = spi_block_erase_60, |
| 1877 | }, { |
| 1878 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1879 | .block_erase = spi_block_erase_c7, |
| 1880 | } |
| 1881 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1882 | .printlock = spi_prettyprint_status_register_at25df, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1883 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1884 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1885 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1886 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1887 | }, |
| 1888 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1889 | { |
| 1890 | .vendor = "Atmel", |
| 1891 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1892 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1893 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1894 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1895 | .total_size = 2048, |
| 1896 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1897 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1898 | .tested = TEST_UNTESTED, |
| 1899 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1900 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1901 | .block_erasers = |
| 1902 | { |
| 1903 | { |
| 1904 | .eraseblocks = { {4 * 1024, 512} }, |
| 1905 | .block_erase = spi_block_erase_20, |
| 1906 | }, { |
| 1907 | .eraseblocks = { {32 * 1024, 64} }, |
| 1908 | .block_erase = spi_block_erase_52, |
| 1909 | }, { |
| 1910 | .eraseblocks = { {64 * 1024, 32} }, |
| 1911 | .block_erase = spi_block_erase_d8, |
| 1912 | }, { |
| 1913 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1914 | .block_erase = spi_block_erase_60, |
| 1915 | }, { |
| 1916 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1917 | .block_erase = spi_block_erase_c7, |
| 1918 | } |
| 1919 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1920 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1921 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1922 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1923 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1924 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1925 | }, |
| 1926 | |
| 1927 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1928 | /*{ |
| 1929 | .vendor = "Atmel", |
| 1930 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1931 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1932 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1933 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1934 | .total_size = 4096, |
| 1935 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1936 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1937 | .tested = TEST_UNTESTED, |
| 1938 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1939 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1940 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1941 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1942 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1943 | .read = spi_chip_read, |
| 1944 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1945 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1946 | { |
| 1947 | .vendor = "Atmel", |
| 1948 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1949 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1950 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1951 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1952 | .total_size = 512, |
| 1953 | .page_size = 256, |
| 1954 | .tested = TEST_UNTESTED, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1955 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1956 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1957 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1958 | .block_erasers = |
| 1959 | { |
| 1960 | { |
| 1961 | .eraseblocks = { {4 * 1024, 128} }, |
| 1962 | .block_erase = spi_block_erase_20, |
| 1963 | }, { |
| 1964 | .eraseblocks = { {32 * 1024, 16} }, |
| 1965 | .block_erase = spi_block_erase_52, |
| 1966 | }, { |
| 1967 | .eraseblocks = { {64 * 1024, 8} }, |
| 1968 | .block_erase = spi_block_erase_d8, |
| 1969 | }, { |
| 1970 | .eraseblocks = { {512 * 1024, 1} }, |
| 1971 | .block_erase = spi_block_erase_60, |
| 1972 | }, { |
| 1973 | .eraseblocks = { {512 * 1024, 1} }, |
| 1974 | .block_erase = spi_block_erase_c7, |
| 1975 | } |
| 1976 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1977 | .write = NULL /* Incompatible Page write */, |
| 1978 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1979 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1980 | }, |
| 1981 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1982 | { |
| 1983 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1984 | .name = "AT29C512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1985 | .bustype = BUS_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1986 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1987 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1988 | .total_size = 64, |
| 1989 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1990 | .feature_bits = FEATURE_LONG_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 1991 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1992 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1993 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1994 | .block_erasers = |
| 1995 | { |
| 1996 | { |
| 1997 | .eraseblocks = { {64 * 1024, 1} }, |
| 1998 | .block_erase = erase_chip_block_jedec, |
| 1999 | } |
| 2000 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2001 | .write = write_jedec, |
| 2002 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2003 | .voltage = {4500, 5500}, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2004 | }, |
| 2005 | |
| 2006 | { |
| 2007 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2008 | .name = "AT29C010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2009 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2010 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2011 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2012 | .total_size = 128, |
| 2013 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2014 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2015 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2016 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2017 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2018 | .block_erasers = |
| 2019 | { |
| 2020 | { |
| 2021 | .eraseblocks = { {128 * 1024, 1} }, |
| 2022 | .block_erase = erase_chip_block_jedec, |
| 2023 | } |
| 2024 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2025 | .write = write_jedec, /* FIXME */ |
| 2026 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2027 | .voltage = {4500, 5500}, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2028 | }, |
| 2029 | |
| 2030 | { |
| 2031 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2032 | .name = "AT29C020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2033 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2034 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2035 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2036 | .total_size = 256, |
| 2037 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2038 | .feature_bits = FEATURE_LONG_RESET, |
| 2039 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2040 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2041 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2042 | .block_erasers = |
| 2043 | { |
| 2044 | { |
| 2045 | .eraseblocks = { {256 * 1024, 1} }, |
| 2046 | .block_erase = erase_chip_block_jedec, |
| 2047 | } |
| 2048 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2049 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2050 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2051 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2052 | }, |
| 2053 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2054 | { |
| 2055 | .vendor = "Atmel", |
| 2056 | .name = "AT29C040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2057 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2058 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2059 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2060 | .total_size = 512, |
| 2061 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2062 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2063 | .tested = TEST_UNTESTED, |
| 2064 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 2065 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2066 | .block_erasers = |
| 2067 | { |
| 2068 | { |
| 2069 | .eraseblocks = { {512 * 1024, 1} }, |
| 2070 | .block_erase = erase_chip_block_jedec, |
| 2071 | } |
| 2072 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2073 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2074 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2075 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2076 | }, |
| 2077 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2078 | { |
| 2079 | .vendor = "Atmel", |
| 2080 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2081 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2082 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2083 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2084 | .total_size = 16896 /* No power of two sizes */, |
| 2085 | .page_size = 1056 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2086 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2087 | .tested = TEST_BAD_READ, |
| 2088 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2089 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2090 | .write = NULL /* Incompatible Page write */, |
| 2091 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2092 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2093 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2094 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2095 | { |
| 2096 | .vendor = "Atmel", |
| 2097 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2098 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2100 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2101 | .total_size = 128 /* Size can only be determined from status register */, |
| 2102 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2103 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2104 | .tested = TEST_BAD_READ, |
| 2105 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2106 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2107 | .write = NULL, |
| 2108 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2109 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2110 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2111 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2112 | { |
| 2113 | .vendor = "Atmel", |
| 2114 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2115 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2116 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2117 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2118 | .total_size = 256 /* Size can only be determined from status register */, |
| 2119 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2120 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2121 | .tested = TEST_BAD_READ, |
| 2122 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2123 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2124 | .write = NULL, |
| 2125 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2126 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2127 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2128 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2129 | { |
| 2130 | .vendor = "Atmel", |
| 2131 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2132 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2133 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2134 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2135 | .total_size = 512 /* Size can only be determined from status register */, |
| 2136 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2137 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2138 | .tested = TEST_BAD_READ, |
| 2139 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2140 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2141 | .write = NULL, |
| 2142 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2143 | .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] | 2144 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2145 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2146 | { |
| 2147 | .vendor = "Atmel", |
| 2148 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2149 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2150 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2151 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2152 | .total_size = 1024 /* Size can only be determined from status register */, |
| 2153 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2154 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
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, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2160 | .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] | 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 = "AT45DB161D", |
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_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2169 | .total_size = 2048 /* Size can only be determined from status register */, |
| 2170 | .page_size = 512 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2171 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2172 | .tested = TEST_BAD_READ, |
| 2173 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2174 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2175 | .write = NULL, |
| 2176 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2177 | .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] | 2178 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2179 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2180 | { |
| 2181 | .vendor = "Atmel", |
| 2182 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2183 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2184 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2185 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2186 | .total_size = 4224 /* No power of two sizes */, |
| 2187 | .page_size = 528 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2188 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2189 | .tested = TEST_BAD_READ, |
| 2190 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2191 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2192 | .write = NULL, |
| 2193 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2194 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2195 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2196 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2197 | { |
| 2198 | .vendor = "Atmel", |
| 2199 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2200 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2201 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2202 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2203 | .total_size = 4096 /* Size can only be determined from status register */, |
| 2204 | .page_size = 512 /* Size can only be determined from status register */, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 2205 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2206 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 2207 | .feature_bits = FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2208 | .tested = TEST_BAD_READ, |
| 2209 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2210 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2211 | .write = NULL, |
| 2212 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2213 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2214 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2215 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2216 | { |
| 2217 | .vendor = "Atmel", |
| 2218 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2219 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2220 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2221 | .model_id = ATMEL_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2222 | .total_size = 8192 /* Size can only be determined from status register */, |
| 2223 | .page_size = 1024 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2224 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2225 | .tested = TEST_BAD_READ, |
| 2226 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2227 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2228 | .write = NULL, |
| 2229 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2230 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2231 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2232 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2233 | { |
| 2234 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2235 | .name = "AT49BV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2236 | .bustype = BUS_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2237 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2238 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2239 | .total_size = 64, |
| 2240 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2241 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 2242 | .tested = TEST_OK_PREW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2243 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2244 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2245 | .block_erasers = |
| 2246 | { |
| 2247 | { |
| 2248 | .eraseblocks = { {64 * 1024, 1} }, |
| 2249 | .block_erase = erase_chip_block_jedec, |
| 2250 | } |
| 2251 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2252 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2253 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2254 | .voltage = {2700, 3600}, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2255 | }, |
| 2256 | |
| 2257 | { |
| 2258 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2259 | .name = "AT49F002(N)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2260 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2261 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2262 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2263 | .total_size = 256, |
| 2264 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2265 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2266 | .tested = TEST_UNTESTED, |
| 2267 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2268 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2269 | .block_erasers = |
| 2270 | { |
| 2271 | { |
| 2272 | .eraseblocks = { |
| 2273 | {16 * 1024, 1}, |
| 2274 | {8 * 1024, 2}, |
| 2275 | {96 * 1024, 1}, |
| 2276 | {128 * 1024, 1}, |
| 2277 | }, |
| 2278 | .block_erase = erase_sector_jedec, |
| 2279 | }, { |
| 2280 | .eraseblocks = { {256 * 1024, 1} }, |
| 2281 | .block_erase = erase_chip_block_jedec, |
| 2282 | } |
| 2283 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2284 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2285 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2286 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2287 | }, |
| 2288 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2289 | { |
| 2290 | .vendor = "Atmel", |
| 2291 | .name = "AT49F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2292 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2293 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2294 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2295 | .total_size = 256, |
| 2296 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2297 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2298 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2299 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2300 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2301 | .block_erasers = |
| 2302 | { |
| 2303 | { |
| 2304 | .eraseblocks = { |
| 2305 | {128 * 1024, 1}, |
| 2306 | {96 * 1024, 1}, |
| 2307 | {8 * 1024, 2}, |
| 2308 | {16 * 1024, 1}, |
| 2309 | }, |
| 2310 | .block_erase = erase_sector_jedec, |
| 2311 | }, { |
| 2312 | .eraseblocks = { {256 * 1024, 1} }, |
| 2313 | .block_erase = erase_chip_block_jedec, |
| 2314 | } |
| 2315 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2316 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2317 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2318 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2319 | }, |
| 2320 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2321 | { |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2322 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2323 | .name = "AT49(H)F010", |
| 2324 | .bustype = BUS_PARALLEL, |
| 2325 | .manufacture_id = ATMEL_ID, |
| 2326 | .model_id = ATMEL_AT49F010, |
| 2327 | .total_size = 128, |
| 2328 | .page_size = 0, /* unused */ |
| 2329 | .feature_bits = FEATURE_EITHER_RESET, |
| 2330 | .tested = TEST_OK_PREW, |
| 2331 | .probe = probe_jedec, |
| 2332 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2333 | .block_erasers = |
| 2334 | { |
| 2335 | { |
| 2336 | .eraseblocks = { {128 * 1024, 1} }, |
| 2337 | .block_erase = erase_chip_block_jedec, |
| 2338 | } |
| 2339 | }, |
| 2340 | .printlock = printlock_at49f, |
| 2341 | .write = write_jedec_1, |
| 2342 | .read = read_memmapped, |
| 2343 | .voltage = {4500, 5500}, |
| 2344 | }, |
| 2345 | |
| 2346 | { |
| 2347 | .vendor = "Atmel", |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2348 | .name = "AT49F020", |
| 2349 | .bustype = BUS_PARALLEL, |
| 2350 | .manufacture_id = ATMEL_ID, |
| 2351 | .model_id = ATMEL_AT49F020, |
| 2352 | .total_size = 256, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2353 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2354 | .feature_bits = FEATURE_EITHER_RESET, |
| 2355 | .tested = TEST_OK_PRE, |
| 2356 | .probe = probe_jedec, |
| 2357 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2358 | .block_erasers = |
| 2359 | { |
| 2360 | { |
| 2361 | .eraseblocks = { {256 * 1024, 1} }, |
| 2362 | .block_erase = erase_chip_block_jedec, |
| 2363 | } |
| 2364 | /* Chip features an optional permanent write protection |
| 2365 | * of the first 8 kB. The erase function is the same as |
| 2366 | * above, but 00000H to 01FFFH will not be erased. |
| 2367 | * FIXME: add another eraser when partial erasers are |
| 2368 | * supported. |
| 2369 | */ |
| 2370 | }, |
| 2371 | .printlock = printlock_at49f, |
| 2372 | .write = write_jedec_1, |
| 2373 | .read = read_memmapped, |
| 2374 | .voltage = {4500, 5500}, |
| 2375 | }, |
| 2376 | |
| 2377 | { |
| 2378 | .vendor = "Atmel", |
| 2379 | .name = "AT49F040", |
| 2380 | .bustype = BUS_PARALLEL, |
| 2381 | .manufacture_id = ATMEL_ID, |
| 2382 | .model_id = ATMEL_AT49F040, |
| 2383 | .total_size = 512, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2384 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2385 | .feature_bits = FEATURE_EITHER_RESET, |
| 2386 | .tested = TEST_UNTESTED, |
| 2387 | .probe = probe_jedec, |
| 2388 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2389 | .block_erasers = |
| 2390 | { |
| 2391 | { |
| 2392 | .eraseblocks = { {512 * 1024, 1} }, |
| 2393 | .block_erase = erase_chip_block_jedec, |
| 2394 | } |
| 2395 | /* Chip features an optional permanent write protection |
| 2396 | * of the first 16 kB. The erase function is the same as |
| 2397 | * above, but 00000H to 03FFFH will not be erased. |
| 2398 | * FIXME: add another eraser when partial erasers are |
| 2399 | * supported. |
| 2400 | */ |
| 2401 | }, |
| 2402 | .printlock = printlock_at49f, |
| 2403 | .write = write_jedec_1, |
| 2404 | .read = read_memmapped, |
| 2405 | .voltage = {4500, 5500}, |
| 2406 | }, |
| 2407 | |
| 2408 | { |
| 2409 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2410 | .name = "AT49F080", |
| 2411 | .bustype = BUS_PARALLEL, |
| 2412 | .manufacture_id = ATMEL_ID, |
| 2413 | .model_id = ATMEL_AT49F080, |
| 2414 | .total_size = 1024, |
| 2415 | .page_size = 0, /* unused */ |
| 2416 | .feature_bits = FEATURE_EITHER_RESET, |
| 2417 | .tested = TEST_UNTESTED, |
| 2418 | .probe = probe_jedec, |
| 2419 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2420 | .block_erasers = |
| 2421 | { |
| 2422 | { |
| 2423 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2424 | .block_erase = erase_chip_block_jedec, |
| 2425 | } |
| 2426 | /* Chip features an optional permanent write protection |
| 2427 | * of the first 16 kB. The erase function is the same as |
| 2428 | * above, but 00000H to 03FFFH will not be erased. |
| 2429 | * FIXME: add another eraser when partial erasers are |
| 2430 | * supported. |
| 2431 | */ |
| 2432 | }, |
| 2433 | .printlock = printlock_at49f, |
| 2434 | .write = write_jedec_1, |
| 2435 | .read = read_memmapped, |
| 2436 | .voltage = {4500, 5500}, |
| 2437 | }, |
| 2438 | |
| 2439 | { |
| 2440 | /* 'top' version of AT49F080. equal in all aspects but the boot block address */ |
| 2441 | .vendor = "Atmel", |
| 2442 | .name = "AT49F080T", |
| 2443 | .bustype = BUS_PARALLEL, |
| 2444 | .manufacture_id = ATMEL_ID, |
| 2445 | .model_id = ATMEL_AT49F080T, |
| 2446 | .total_size = 1024, |
| 2447 | .page_size = 0, /* unused */ |
| 2448 | .feature_bits = FEATURE_EITHER_RESET, |
| 2449 | .tested = TEST_UNTESTED, |
| 2450 | .probe = probe_jedec, |
| 2451 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2452 | .block_erasers = |
| 2453 | { |
| 2454 | { |
| 2455 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2456 | .block_erase = erase_chip_block_jedec, |
| 2457 | } |
| 2458 | /* Chip features an optional permanent write protection |
| 2459 | * of the first 16 kB. The erase function is the same as |
| 2460 | * above, but FC000H to FFFFFH will not be erased. |
| 2461 | * FIXME: add another eraser when partial erasers are |
| 2462 | * supported. |
| 2463 | */ |
| 2464 | }, |
| 2465 | .printlock = printlock_at49f, |
| 2466 | .write = write_jedec_1, |
| 2467 | .read = read_memmapped, |
| 2468 | .voltage = {4500, 5500}, |
| 2469 | }, |
| 2470 | |
| 2471 | { |
| 2472 | .vendor = "Atmel", |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2473 | .name = "AT49LH002", |
| 2474 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
| 2475 | .manufacture_id = ATMEL_ID, |
| 2476 | .model_id = ATMEL_AT49LH002, |
| 2477 | .total_size = 256, |
| 2478 | .page_size = 0, /* unused */ |
| 2479 | .feature_bits = FEATURE_REGISTERMAP, /* TODO: LPC OK too? */ |
| 2480 | .tested = TEST_UNTESTED, |
| 2481 | .probe = probe_82802ab, /* TODO: 0xff cmd not documented? */ |
| 2482 | .probe_timing = TIMING_FIXME, |
| 2483 | .block_erasers = |
| 2484 | { |
| 2485 | { |
| 2486 | .eraseblocks = { |
| 2487 | {64 * 1024, 3}, |
| 2488 | {32 * 1024, 1}, |
| 2489 | {8 * 1024, 2}, |
| 2490 | {16 * 1024, 1}, |
| 2491 | }, |
| 2492 | .block_erase = erase_block_82802ab, |
| 2493 | }, { |
| 2494 | .eraseblocks = { |
| 2495 | {64 * 1024, 4}, |
| 2496 | }, |
| 2497 | .block_erase = NULL, /* TODO: Implement. */ |
| 2498 | }, |
| 2499 | }, |
| 2500 | .printlock = NULL, /* TODO */ |
| 2501 | .unlock = NULL, /* unlock_82802ab() not correct(?) */ |
| 2502 | .write = write_82802ab, |
| 2503 | .read = read_memmapped, |
| 2504 | .voltage = {3000, 3600}, |
| 2505 | }, |
| 2506 | |
| 2507 | { |
Andrew Morgan | ca08146 | 2011-09-13 22:05:44 +0000 | [diff] [blame] | 2508 | .vendor = "Catalyst", |
| 2509 | .name = "CAT28F512", |
| 2510 | .bustype = BUS_PARALLEL, |
| 2511 | .manufacture_id = CATALYST_ID, |
| 2512 | .model_id = CATALYST_CAT28F512, |
| 2513 | .total_size = 64, |
| 2514 | .page_size = 0, /* unused */ |
| 2515 | .feature_bits = 0, |
| 2516 | .tested = TEST_OK_PR, |
| 2517 | .probe = probe_jedec, /* FIXME! */ |
| 2518 | .probe_timing = TIMING_ZERO, |
| 2519 | .block_erasers = |
| 2520 | { |
| 2521 | { |
| 2522 | .eraseblocks = { {64 * 1024, 1} }, |
| 2523 | .block_erase = NULL, /* TODO */ |
| 2524 | }, |
| 2525 | }, |
| 2526 | .write = NULL, /* TODO */ |
| 2527 | .read = read_memmapped, |
| 2528 | .voltage = {4500, 5500}, |
| 2529 | }, |
| 2530 | |
| 2531 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2532 | .vendor = "Bright", |
| 2533 | .name = "BM29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2534 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2535 | .manufacture_id = BRIGHT_ID, |
| 2536 | .model_id = BRIGHT_BM29F040, |
| 2537 | .total_size = 512, |
| 2538 | .page_size = 64 * 1024, |
| 2539 | .feature_bits = FEATURE_EITHER_RESET, |
| 2540 | .tested = TEST_OK_PR, |
| 2541 | .probe = probe_jedec, |
| 2542 | .probe_timing = TIMING_ZERO, |
| 2543 | .block_erasers = |
| 2544 | { |
| 2545 | { |
| 2546 | .eraseblocks = { {64 * 1024, 8} }, |
| 2547 | .block_erase = erase_sector_jedec, |
| 2548 | }, { |
| 2549 | .eraseblocks = { {512 * 1024, 1} }, |
| 2550 | .block_erase = erase_chip_block_jedec, |
| 2551 | }, |
| 2552 | }, |
| 2553 | .write = write_jedec_1, |
| 2554 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2555 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2556 | }, |
| 2557 | |
| 2558 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2559 | .vendor = "EMST", |
| 2560 | .name = "F49B002UA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2561 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2562 | .manufacture_id = EMST_ID, |
| 2563 | .model_id = EMST_F49B002UA, |
| 2564 | .total_size = 256, |
| 2565 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2566 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2567 | .tested = TEST_UNTESTED, |
| 2568 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2569 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2570 | .block_erasers = |
| 2571 | { |
| 2572 | { |
| 2573 | .eraseblocks = { |
| 2574 | {128 * 1024, 1}, |
| 2575 | {96 * 1024, 1}, |
| 2576 | {8 * 1024, 2}, |
| 2577 | {16 * 1024, 1}, |
| 2578 | }, |
| 2579 | .block_erase = erase_sector_jedec, |
| 2580 | }, { |
| 2581 | .eraseblocks = { {256 * 1024, 1} }, |
| 2582 | .block_erase = erase_chip_block_jedec, |
| 2583 | } |
| 2584 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2585 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2586 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2587 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2588 | }, |
| 2589 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2590 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2591 | .vendor = "EMST", |
| 2592 | .name = "F25L008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2593 | .bustype = BUS_SPI, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2594 | .manufacture_id = EMST_ID, |
| 2595 | .model_id = EMST_F25L008A, |
| 2596 | .total_size = 1024, |
| 2597 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2598 | .feature_bits = FEATURE_WRSR_EITHER, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 2599 | .tested = TEST_OK_PREW, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2600 | .probe = probe_spi_rdid, |
| 2601 | .probe_timing = TIMING_ZERO, |
| 2602 | .block_erasers = |
| 2603 | { |
| 2604 | { |
| 2605 | .eraseblocks = { {4 * 1024, 256} }, |
| 2606 | .block_erase = spi_block_erase_20, |
| 2607 | }, { |
| 2608 | .eraseblocks = { {64 * 1024, 16} }, |
| 2609 | .block_erase = spi_block_erase_d8, |
| 2610 | }, { |
| 2611 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2612 | .block_erase = spi_block_erase_60, |
| 2613 | }, { |
| 2614 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2615 | .block_erase = spi_block_erase_c7, |
| 2616 | } |
| 2617 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2618 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2619 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2620 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2621 | .voltage = {2700, 3600}, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2622 | }, |
| 2623 | |
| 2624 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2625 | .vendor = "Eon", |
| 2626 | .name = "EN25B05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2627 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2628 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2629 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2630 | .total_size = 64, |
| 2631 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2632 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2633 | .tested = TEST_UNTESTED, |
| 2634 | .probe = probe_spi_rdid, |
| 2635 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2636 | .block_erasers = |
| 2637 | { |
| 2638 | { |
| 2639 | .eraseblocks = { |
| 2640 | {4 * 1024, 2}, |
| 2641 | {8 * 1024, 1}, |
| 2642 | {16 * 1024, 1}, |
| 2643 | {32 * 1024, 1}, |
| 2644 | }, |
| 2645 | .block_erase = spi_block_erase_d8, |
| 2646 | }, { |
| 2647 | .eraseblocks = { {64 * 1024, 1} }, |
| 2648 | .block_erase = spi_block_erase_c7, |
| 2649 | } |
| 2650 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2651 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2652 | .write = spi_chip_write_256, |
| 2653 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2654 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2655 | }, |
| 2656 | |
| 2657 | { |
| 2658 | .vendor = "Eon", |
| 2659 | .name = "EN25B05T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2660 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2661 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2662 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2663 | .total_size = 64, |
| 2664 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2665 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2666 | .tested = TEST_UNTESTED, |
| 2667 | .probe = probe_spi_rdid, |
| 2668 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2669 | .block_erasers = |
| 2670 | { |
| 2671 | { |
| 2672 | .eraseblocks = { |
| 2673 | {32 * 1024, 1}, |
| 2674 | {16 * 1024, 1}, |
| 2675 | {8 * 1024, 1}, |
| 2676 | {4 * 1024, 2}, |
| 2677 | }, |
| 2678 | .block_erase = spi_block_erase_d8, |
| 2679 | }, { |
| 2680 | .eraseblocks = { {64 * 1024, 1} }, |
| 2681 | .block_erase = spi_block_erase_c7, |
| 2682 | } |
| 2683 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2684 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2685 | .write = spi_chip_write_256, |
| 2686 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2687 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2688 | }, |
| 2689 | |
| 2690 | { |
| 2691 | .vendor = "Eon", |
| 2692 | .name = "EN25B10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2693 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2694 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2695 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2696 | .total_size = 128, |
| 2697 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2698 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2699 | .tested = TEST_UNTESTED, |
| 2700 | .probe = probe_spi_rdid, |
| 2701 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2702 | .block_erasers = |
| 2703 | { |
| 2704 | { |
| 2705 | .eraseblocks = { |
| 2706 | {4 * 1024, 2}, |
| 2707 | {8 * 1024, 1}, |
| 2708 | {16 * 1024, 1}, |
| 2709 | {32 * 1024, 3}, |
| 2710 | }, |
| 2711 | .block_erase = spi_block_erase_d8, |
| 2712 | }, { |
| 2713 | .eraseblocks = { {128 * 1024, 1} }, |
| 2714 | .block_erase = spi_block_erase_c7, |
| 2715 | } |
| 2716 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2717 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2718 | .write = spi_chip_write_256, |
| 2719 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2720 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2721 | }, |
| 2722 | |
| 2723 | { |
| 2724 | .vendor = "Eon", |
| 2725 | .name = "EN25B10T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2726 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2727 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2728 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2729 | .total_size = 128, |
| 2730 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2731 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2732 | .tested = TEST_UNTESTED, |
| 2733 | .probe = probe_spi_rdid, |
| 2734 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2735 | .block_erasers = |
| 2736 | { |
| 2737 | { |
| 2738 | .eraseblocks = { |
| 2739 | {32 * 1024, 3}, |
| 2740 | {16 * 1024, 1}, |
| 2741 | {8 * 1024, 1}, |
| 2742 | {4 * 1024, 2}, |
| 2743 | }, |
| 2744 | .block_erase = spi_block_erase_d8, |
| 2745 | }, { |
| 2746 | .eraseblocks = { {128 * 1024, 1} }, |
| 2747 | .block_erase = spi_block_erase_c7, |
| 2748 | } |
| 2749 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2750 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2751 | .write = spi_chip_write_256, |
| 2752 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2753 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2754 | }, |
| 2755 | |
| 2756 | { |
| 2757 | .vendor = "Eon", |
| 2758 | .name = "EN25B20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2759 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2760 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2761 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2762 | .total_size = 256, |
| 2763 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2764 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2765 | .tested = TEST_UNTESTED, |
| 2766 | .probe = probe_spi_rdid, |
| 2767 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2768 | .block_erasers = |
| 2769 | { |
| 2770 | { |
| 2771 | .eraseblocks = { |
| 2772 | {4 * 1024, 2}, |
| 2773 | {8 * 1024, 1}, |
| 2774 | {16 * 1024, 1}, |
| 2775 | {32 * 1024, 1}, |
| 2776 | {64 * 1024, 3} |
| 2777 | }, |
| 2778 | .block_erase = spi_block_erase_d8, |
| 2779 | }, { |
| 2780 | .eraseblocks = { {256 * 1024, 1} }, |
| 2781 | .block_erase = spi_block_erase_c7, |
| 2782 | } |
| 2783 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2784 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2785 | .write = spi_chip_write_256, |
| 2786 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2787 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2788 | }, |
| 2789 | |
| 2790 | { |
| 2791 | .vendor = "Eon", |
| 2792 | .name = "EN25B20T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2793 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2794 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2795 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2796 | .total_size = 256, |
| 2797 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2798 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 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 | {64 * 1024, 3}, |
| 2807 | {32 * 1024, 1}, |
| 2808 | {16 * 1024, 1}, |
| 2809 | {8 * 1024, 1}, |
| 2810 | {4 * 1024, 2}, |
| 2811 | }, |
| 2812 | .block_erase = spi_block_erase_d8, |
| 2813 | }, { |
| 2814 | .eraseblocks = { {256 * 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, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +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}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2822 | }, |
| 2823 | |
| 2824 | { |
| 2825 | .vendor = "Eon", |
| 2826 | .name = "EN25B40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2827 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +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_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2830 | .total_size = 512, |
| 2831 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2832 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2833 | .tested = TEST_UNTESTED, |
| 2834 | .probe = probe_spi_rdid, |
| 2835 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2836 | .block_erasers = |
| 2837 | { |
| 2838 | { |
| 2839 | .eraseblocks = { |
| 2840 | {4 * 1024, 2}, |
| 2841 | {8 * 1024, 1}, |
| 2842 | {16 * 1024, 1}, |
| 2843 | {32 * 1024, 1}, |
| 2844 | {64 * 1024, 7} |
| 2845 | }, |
| 2846 | .block_erase = spi_block_erase_d8, |
| 2847 | }, { |
| 2848 | .eraseblocks = { {512 * 1024, 1} }, |
| 2849 | .block_erase = spi_block_erase_c7, |
| 2850 | } |
| 2851 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2852 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2853 | .write = spi_chip_write_256, |
| 2854 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2855 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2856 | }, |
| 2857 | |
| 2858 | { |
| 2859 | .vendor = "Eon", |
| 2860 | .name = "EN25B40T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2861 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2862 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2863 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2864 | .total_size = 512, |
| 2865 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2866 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2867 | .tested = TEST_UNTESTED, |
| 2868 | .probe = probe_spi_rdid, |
| 2869 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2870 | .block_erasers = |
| 2871 | { |
| 2872 | { |
| 2873 | .eraseblocks = { |
| 2874 | {64 * 1024, 7}, |
| 2875 | {32 * 1024, 1}, |
| 2876 | {16 * 1024, 1}, |
| 2877 | {8 * 1024, 1}, |
| 2878 | {4 * 1024, 2}, |
| 2879 | }, |
| 2880 | .block_erase = spi_block_erase_d8, |
| 2881 | }, { |
| 2882 | .eraseblocks = { {512 * 1024, 1} }, |
| 2883 | .block_erase = spi_block_erase_c7, |
| 2884 | } |
| 2885 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2886 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2887 | .write = spi_chip_write_256, |
| 2888 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2889 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2890 | }, |
| 2891 | |
| 2892 | { |
| 2893 | .vendor = "Eon", |
| 2894 | .name = "EN25B80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2895 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2896 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2897 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2898 | .total_size = 1024, |
| 2899 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2900 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2901 | .tested = TEST_UNTESTED, |
| 2902 | .probe = probe_spi_rdid, |
| 2903 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2904 | .block_erasers = |
| 2905 | { |
| 2906 | { |
| 2907 | .eraseblocks = { |
| 2908 | {4 * 1024, 2}, |
| 2909 | {8 * 1024, 1}, |
| 2910 | {16 * 1024, 1}, |
| 2911 | {32 * 1024, 1}, |
| 2912 | {64 * 1024, 15} |
| 2913 | }, |
| 2914 | .block_erase = spi_block_erase_d8, |
| 2915 | }, { |
| 2916 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2917 | .block_erase = spi_block_erase_c7, |
| 2918 | } |
| 2919 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2920 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2921 | .write = spi_chip_write_256, |
| 2922 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2923 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2924 | }, |
| 2925 | |
| 2926 | { |
| 2927 | .vendor = "Eon", |
| 2928 | .name = "EN25B80T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2929 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2930 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2931 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2932 | .total_size = 1024, |
| 2933 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2934 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2935 | .tested = TEST_UNTESTED, |
| 2936 | .probe = probe_spi_rdid, |
| 2937 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2938 | .block_erasers = |
| 2939 | { |
| 2940 | { |
| 2941 | .eraseblocks = { |
| 2942 | {64 * 1024, 15}, |
| 2943 | {32 * 1024, 1}, |
| 2944 | {16 * 1024, 1}, |
| 2945 | {8 * 1024, 1}, |
| 2946 | {4 * 1024, 2}, |
| 2947 | }, |
| 2948 | .block_erase = spi_block_erase_d8, |
| 2949 | }, { |
| 2950 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2951 | .block_erase = spi_block_erase_c7, |
| 2952 | } |
| 2953 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2954 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2955 | .write = spi_chip_write_256, |
| 2956 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2957 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2958 | }, |
| 2959 | |
| 2960 | { |
| 2961 | .vendor = "Eon", |
| 2962 | .name = "EN25B16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2963 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2964 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2965 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2966 | .total_size = 2048, |
| 2967 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2968 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2969 | .tested = TEST_UNTESTED, |
| 2970 | .probe = probe_spi_rdid, |
| 2971 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2972 | .block_erasers = |
| 2973 | { |
| 2974 | { |
| 2975 | .eraseblocks = { |
| 2976 | {4 * 1024, 2}, |
| 2977 | {8 * 1024, 1}, |
| 2978 | {16 * 1024, 1}, |
| 2979 | {32 * 1024, 1}, |
| 2980 | {64 * 1024, 31}, |
| 2981 | }, |
| 2982 | .block_erase = spi_block_erase_d8, |
| 2983 | }, { |
| 2984 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2985 | .block_erase = spi_block_erase_c7, |
| 2986 | } |
| 2987 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2988 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2989 | .write = spi_chip_write_256, |
| 2990 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2991 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2992 | }, |
| 2993 | |
| 2994 | { |
| 2995 | .vendor = "Eon", |
| 2996 | .name = "EN25B16T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2997 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2998 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2999 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3000 | .total_size = 2048, |
| 3001 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3002 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3003 | .tested = TEST_UNTESTED, |
| 3004 | .probe = probe_spi_rdid, |
| 3005 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3006 | .block_erasers = |
| 3007 | { |
| 3008 | { |
| 3009 | .eraseblocks = { |
| 3010 | {64 * 1024, 31}, |
| 3011 | {32 * 1024, 1}, |
| 3012 | {16 * 1024, 1}, |
| 3013 | {8 * 1024, 1}, |
| 3014 | {4 * 1024, 2}, |
| 3015 | }, |
| 3016 | .block_erase = spi_block_erase_d8, |
| 3017 | }, { |
| 3018 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3019 | .block_erase = spi_block_erase_c7, |
| 3020 | } |
| 3021 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3022 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3023 | .write = spi_chip_write_256, |
| 3024 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3025 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3026 | }, |
| 3027 | |
| 3028 | { |
| 3029 | .vendor = "Eon", |
| 3030 | .name = "EN25B32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3031 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3032 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3033 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3034 | .total_size = 4096, |
| 3035 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3036 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3037 | .tested = TEST_UNTESTED, |
| 3038 | .probe = probe_spi_rdid, |
| 3039 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3040 | .block_erasers = |
| 3041 | { |
| 3042 | { |
| 3043 | .eraseblocks = { |
| 3044 | {4 * 1024, 2}, |
| 3045 | {8 * 1024, 1}, |
| 3046 | {16 * 1024, 1}, |
| 3047 | {32 * 1024, 1}, |
| 3048 | {64 * 1024, 63}, |
| 3049 | }, |
| 3050 | .block_erase = spi_block_erase_d8, |
| 3051 | }, { |
| 3052 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3053 | .block_erase = spi_block_erase_c7, |
| 3054 | } |
| 3055 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3056 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3057 | .write = spi_chip_write_256, |
| 3058 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3059 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3060 | }, |
| 3061 | |
| 3062 | { |
| 3063 | .vendor = "Eon", |
| 3064 | .name = "EN25B32T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3065 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3066 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3067 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3068 | .total_size = 4096, |
| 3069 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3070 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3071 | .tested = TEST_UNTESTED, |
| 3072 | .probe = probe_spi_rdid, |
| 3073 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3074 | .block_erasers = |
| 3075 | { |
| 3076 | { |
| 3077 | .eraseblocks = { |
| 3078 | {64 * 1024, 63}, |
| 3079 | {32 * 1024, 1}, |
| 3080 | {16 * 1024, 1}, |
| 3081 | {8 * 1024, 1}, |
| 3082 | {4 * 1024, 2}, |
| 3083 | }, |
| 3084 | .block_erase = spi_block_erase_d8, |
| 3085 | }, { |
| 3086 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3087 | .block_erase = spi_block_erase_c7, |
| 3088 | } |
| 3089 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3090 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3091 | .write = spi_chip_write_256, |
| 3092 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3093 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3094 | }, |
| 3095 | |
| 3096 | { |
| 3097 | .vendor = "Eon", |
| 3098 | .name = "EN25B64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3099 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3100 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3101 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3102 | .total_size = 8192, |
| 3103 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3104 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3105 | .tested = TEST_UNTESTED, |
| 3106 | .probe = probe_spi_rdid, |
| 3107 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3108 | .block_erasers = |
| 3109 | { |
| 3110 | { |
| 3111 | .eraseblocks = { |
| 3112 | {4 * 1024, 2}, |
| 3113 | {8 * 1024, 1}, |
| 3114 | {16 * 1024, 1}, |
| 3115 | {32 * 1024, 1}, |
| 3116 | {64 * 1024, 127}, |
| 3117 | }, |
| 3118 | .block_erase = spi_block_erase_d8, |
| 3119 | }, { |
| 3120 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3121 | .block_erase = spi_block_erase_c7, |
| 3122 | } |
| 3123 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3124 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3125 | .write = spi_chip_write_256, |
| 3126 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3127 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3128 | }, |
| 3129 | |
| 3130 | { |
| 3131 | .vendor = "Eon", |
| 3132 | .name = "EN25B64T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3133 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3134 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3135 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3136 | .total_size = 8192, |
| 3137 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3138 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3139 | .tested = TEST_UNTESTED, |
| 3140 | .probe = probe_spi_rdid, |
| 3141 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3142 | .block_erasers = |
| 3143 | { |
| 3144 | { |
| 3145 | .eraseblocks = { |
| 3146 | {64 * 1024, 127}, |
| 3147 | {32 * 1024, 1}, |
| 3148 | {16 * 1024, 1}, |
| 3149 | {8 * 1024, 1}, |
| 3150 | {4 * 1024, 2}, |
| 3151 | }, |
| 3152 | .block_erase = spi_block_erase_d8, |
| 3153 | }, { |
| 3154 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3155 | .block_erase = spi_block_erase_c7, |
| 3156 | } |
| 3157 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3158 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3159 | .write = spi_chip_write_256, |
| 3160 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3161 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3162 | }, |
| 3163 | |
| 3164 | { |
| 3165 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3166 | .name = "EN25F05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3167 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3168 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3169 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3170 | .total_size = 64, |
| 3171 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3172 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3173 | .tested = TEST_UNTESTED, |
| 3174 | .probe = probe_spi_rdid, |
| 3175 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3176 | .block_erasers = |
| 3177 | { |
| 3178 | { |
| 3179 | .eraseblocks = { {4 * 1024, 16} }, |
| 3180 | .block_erase = spi_block_erase_20, |
| 3181 | }, { |
| 3182 | .eraseblocks = { {32 * 1024, 2} }, |
| 3183 | .block_erase = spi_block_erase_d8, |
| 3184 | }, { |
| 3185 | .eraseblocks = { {32 * 1024, 2} }, |
| 3186 | .block_erase = spi_block_erase_52, |
| 3187 | }, { |
| 3188 | .eraseblocks = { {64 * 1024, 1} }, |
| 3189 | .block_erase = spi_block_erase_60, |
| 3190 | }, { |
| 3191 | .eraseblocks = { {64 * 1024, 1} }, |
| 3192 | .block_erase = spi_block_erase_c7, |
| 3193 | } |
| 3194 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3195 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3196 | .write = spi_chip_write_256, |
| 3197 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3198 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3199 | }, |
| 3200 | |
| 3201 | { |
| 3202 | .vendor = "Eon", |
| 3203 | .name = "EN25F10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3204 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3205 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3206 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3207 | .total_size = 128, |
| 3208 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3209 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3210 | .tested = TEST_UNTESTED, |
| 3211 | .probe = probe_spi_rdid, |
| 3212 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3213 | .block_erasers = |
| 3214 | { |
| 3215 | { |
| 3216 | .eraseblocks = { {4 * 1024, 32} }, |
| 3217 | .block_erase = spi_block_erase_20, |
| 3218 | }, { |
| 3219 | .eraseblocks = { {32 * 1024, 4} }, |
| 3220 | .block_erase = spi_block_erase_d8, |
| 3221 | }, { |
| 3222 | .eraseblocks = { {32 * 1024, 4} }, |
| 3223 | .block_erase = spi_block_erase_52, |
| 3224 | }, { |
| 3225 | .eraseblocks = { {128 * 1024, 1} }, |
| 3226 | .block_erase = spi_block_erase_60, |
| 3227 | }, { |
| 3228 | .eraseblocks = { {128 * 1024, 1} }, |
| 3229 | .block_erase = spi_block_erase_c7, |
| 3230 | } |
| 3231 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3232 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3233 | .write = spi_chip_write_256, |
| 3234 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3235 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3236 | }, |
| 3237 | |
| 3238 | { |
| 3239 | .vendor = "Eon", |
| 3240 | .name = "EN25F20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3241 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3242 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3243 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3244 | .total_size = 256, |
| 3245 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3246 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3247 | .tested = TEST_UNTESTED, |
| 3248 | .probe = probe_spi_rdid, |
| 3249 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3250 | .block_erasers = |
| 3251 | { |
| 3252 | { |
| 3253 | .eraseblocks = { {4 * 1024, 64} }, |
| 3254 | .block_erase = spi_block_erase_20, |
| 3255 | }, { |
| 3256 | .eraseblocks = { {64 * 1024, 4} }, |
| 3257 | .block_erase = spi_block_erase_d8, |
| 3258 | }, { |
| 3259 | .eraseblocks = { {64 * 1024, 4} }, |
| 3260 | .block_erase = spi_block_erase_52, |
| 3261 | }, { |
| 3262 | .eraseblocks = { {256 * 1024, 1} }, |
| 3263 | .block_erase = spi_block_erase_60, |
| 3264 | }, { |
| 3265 | .eraseblocks = { {256 * 1024, 1} }, |
| 3266 | .block_erase = spi_block_erase_c7, |
| 3267 | } |
| 3268 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3269 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3270 | .write = spi_chip_write_256, |
| 3271 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3272 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3273 | }, |
| 3274 | |
| 3275 | { |
| 3276 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3277 | .name = "EN25F40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3278 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3279 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3280 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3281 | .total_size = 512, |
| 3282 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3283 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 3284 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3285 | .probe = probe_spi_rdid, |
| 3286 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3287 | .block_erasers = |
| 3288 | { |
| 3289 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3290 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3291 | .block_erase = spi_block_erase_20, |
| 3292 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3293 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3294 | .block_erase = spi_block_erase_d8, |
| 3295 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3296 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3297 | .block_erase = spi_block_erase_60, |
| 3298 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3299 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3300 | .block_erase = spi_block_erase_c7, |
| 3301 | }, |
| 3302 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3303 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3304 | .write = spi_chip_write_256, |
| 3305 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3306 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3307 | }, |
| 3308 | |
| 3309 | { |
| 3310 | .vendor = "Eon", |
| 3311 | .name = "EN25F80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3312 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3313 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3314 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3315 | .total_size = 1024, |
| 3316 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3317 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 3318 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3319 | .probe = probe_spi_rdid, |
| 3320 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3321 | .block_erasers = |
| 3322 | { |
| 3323 | { |
| 3324 | .eraseblocks = { {4 * 1024, 256} }, |
| 3325 | .block_erase = spi_block_erase_20, |
| 3326 | }, { |
| 3327 | .eraseblocks = { {64 * 1024, 16} }, |
| 3328 | .block_erase = spi_block_erase_d8, |
| 3329 | }, { |
| 3330 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3331 | .block_erase = spi_block_erase_60, |
| 3332 | }, { |
| 3333 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3334 | .block_erase = spi_block_erase_c7, |
| 3335 | } |
| 3336 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3337 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3338 | .write = spi_chip_write_256, |
| 3339 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3340 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3341 | }, |
| 3342 | |
| 3343 | { |
| 3344 | .vendor = "Eon", |
| 3345 | .name = "EN25F16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3346 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3347 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3348 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3349 | .total_size = 2048, |
| 3350 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3351 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3352 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3353 | .probe = probe_spi_rdid, |
| 3354 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3355 | .block_erasers = |
| 3356 | { |
| 3357 | { |
| 3358 | .eraseblocks = { {4 * 1024, 512} }, |
| 3359 | .block_erase = spi_block_erase_20, |
| 3360 | }, { |
| 3361 | .eraseblocks = { {64 * 1024, 32} }, |
| 3362 | .block_erase = spi_block_erase_d8, |
| 3363 | }, { |
| 3364 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3365 | .block_erase = spi_block_erase_60, |
| 3366 | }, { |
| 3367 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3368 | .block_erase = spi_block_erase_c7, |
| 3369 | } |
| 3370 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3371 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3372 | .write = spi_chip_write_256, |
| 3373 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3374 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3375 | }, |
| 3376 | |
| 3377 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3378 | .vendor = "Eon", |
| 3379 | .name = "EN25F32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3380 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3381 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3382 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3383 | .total_size = 4096, |
| 3384 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3385 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3386 | .tested = TEST_UNTESTED, |
| 3387 | .probe = probe_spi_rdid, |
| 3388 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3389 | .block_erasers = |
| 3390 | { |
| 3391 | { |
| 3392 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3393 | .block_erase = spi_block_erase_20, |
| 3394 | }, { |
| 3395 | .eraseblocks = { {64 * 1024, 64} }, |
| 3396 | .block_erase = spi_block_erase_d8, |
| 3397 | }, { |
| 3398 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3399 | .block_erase = spi_block_erase_60, |
| 3400 | }, { |
| 3401 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3402 | .block_erase = spi_block_erase_c7, |
| 3403 | } |
| 3404 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3405 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3406 | .write = spi_chip_write_256, |
| 3407 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3408 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3409 | }, |
| 3410 | |
| 3411 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3412 | .vendor = "Eon", |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3413 | .name = "EN25F64", |
| 3414 | .bustype = BUS_SPI, |
| 3415 | .manufacture_id = EON_ID_NOPREFIX, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 3416 | .model_id = EON_EN25F64, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3417 | .total_size = 8192, |
| 3418 | .page_size = 256, |
| 3419 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 3420 | .tested = TEST_OK_PR, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3421 | .probe = probe_spi_rdid, |
| 3422 | .probe_timing = TIMING_ZERO, |
| 3423 | .block_erasers = |
| 3424 | { |
| 3425 | { |
| 3426 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3427 | .block_erase = spi_block_erase_20, |
| 3428 | }, { |
| 3429 | .eraseblocks = { {64 * 1024, 128} }, |
| 3430 | .block_erase = spi_block_erase_d8, |
| 3431 | }, { |
| 3432 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3433 | .block_erase = spi_block_erase_60, |
| 3434 | }, { |
| 3435 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3436 | .block_erase = spi_block_erase_c7, |
| 3437 | } |
| 3438 | }, |
| 3439 | .unlock = spi_disable_blockprotect, |
| 3440 | .write = spi_chip_write_256, |
| 3441 | .read = spi_chip_read, |
| 3442 | .voltage = {2700, 3600}, |
| 3443 | }, |
| 3444 | |
| 3445 | { |
| 3446 | .vendor = "Eon", |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3447 | .name = "EN25Q40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3448 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3449 | .manufacture_id = EON_ID_NOPREFIX, |
| 3450 | .model_id = EON_EN25Q40, |
| 3451 | .total_size = 512, |
| 3452 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3453 | /* OTP: 256B total; enter 0x3A */ |
| 3454 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3455 | .tested = TEST_UNTESTED, |
| 3456 | .probe = probe_spi_rdid, |
| 3457 | .probe_timing = TIMING_ZERO, |
| 3458 | .block_erasers = |
| 3459 | { |
| 3460 | { |
| 3461 | .eraseblocks = { {4 * 1024, 128} }, |
| 3462 | .block_erase = spi_block_erase_20, |
| 3463 | }, { |
| 3464 | .eraseblocks = { {64 * 1024, 8} }, |
| 3465 | .block_erase = spi_block_erase_d8, |
| 3466 | }, { |
| 3467 | .eraseblocks = { {512 * 1024, 1} }, |
| 3468 | .block_erase = spi_block_erase_60, |
| 3469 | }, { |
| 3470 | .eraseblocks = { {512 * 1024, 1} }, |
| 3471 | .block_erase = spi_block_erase_c7, |
| 3472 | } |
| 3473 | }, |
| 3474 | .unlock = spi_disable_blockprotect, |
| 3475 | .write = spi_chip_write_256, |
| 3476 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3477 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3478 | }, |
| 3479 | |
| 3480 | { |
| 3481 | .vendor = "Eon", |
| 3482 | .name = "EN25Q80(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3483 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3484 | .manufacture_id = EON_ID_NOPREFIX, |
| 3485 | .model_id = EON_EN25Q80, |
| 3486 | .total_size = 1024, |
| 3487 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3488 | /* OTP: 256B total; enter 0x3A */ |
| 3489 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3490 | .tested = TEST_UNTESTED, |
| 3491 | .probe = probe_spi_rdid, |
| 3492 | .probe_timing = TIMING_ZERO, |
| 3493 | .block_erasers = |
| 3494 | { |
| 3495 | { |
| 3496 | .eraseblocks = { {4 * 1024, 256} }, |
| 3497 | .block_erase = spi_block_erase_20, |
| 3498 | }, { |
| 3499 | .eraseblocks = { {64 * 1024, 16} }, |
| 3500 | .block_erase = spi_block_erase_d8, |
| 3501 | }, { |
| 3502 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3503 | .block_erase = spi_block_erase_60, |
| 3504 | }, { |
| 3505 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3506 | .block_erase = spi_block_erase_c7, |
| 3507 | } |
| 3508 | }, |
| 3509 | .unlock = spi_disable_blockprotect, |
| 3510 | .write = spi_chip_write_256, |
| 3511 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3512 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3513 | }, |
| 3514 | |
| 3515 | { |
| 3516 | /* Note: EN25D16 is an evil twin which shares the model ID |
| 3517 | but has different write protection capabilities */ |
| 3518 | .vendor = "Eon", |
| 3519 | .name = "EN25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3520 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3521 | .manufacture_id = EON_ID_NOPREFIX, |
| 3522 | .model_id = EON_EN25Q16, |
| 3523 | .total_size = 2048, |
| 3524 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3525 | /* OTP: D16 512B/Q16 128B total; enter 0x3A */ |
| 3526 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3527 | .tested = TEST_UNTESTED, |
| 3528 | .probe = probe_spi_rdid, |
| 3529 | .probe_timing = TIMING_ZERO, |
| 3530 | .block_erasers = |
| 3531 | { |
| 3532 | { |
| 3533 | .eraseblocks = { {4 * 1024, 512} }, |
| 3534 | .block_erase = spi_block_erase_20, |
| 3535 | }, { |
| 3536 | .eraseblocks = { {64 * 1024, 32} }, |
| 3537 | .block_erase = spi_block_erase_d8, |
| 3538 | }, { |
| 3539 | /* not supported by Q16 version */ |
| 3540 | .eraseblocks = { {64 * 1024, 32} }, |
| 3541 | .block_erase = spi_block_erase_52, |
| 3542 | }, { |
| 3543 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3544 | .block_erase = spi_block_erase_60, |
| 3545 | }, { |
| 3546 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3547 | .block_erase = spi_block_erase_c7, |
| 3548 | } |
| 3549 | }, |
| 3550 | .unlock = spi_disable_blockprotect, |
| 3551 | .write = spi_chip_write_256, |
| 3552 | .read = spi_chip_read, |
| 3553 | .voltage = {2700, 3600}, |
| 3554 | }, |
| 3555 | |
| 3556 | { |
| 3557 | .vendor = "Eon", |
| 3558 | .name = "EN25Q32(A/B)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3559 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3560 | .manufacture_id = EON_ID_NOPREFIX, |
| 3561 | .model_id = EON_EN25Q32, |
| 3562 | .total_size = 4096, |
| 3563 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3564 | /* OTP: 512B total; enter 0x3A */ |
| 3565 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 3566 | .tested = TEST_OK_PROBE, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3567 | .probe = probe_spi_rdid, |
| 3568 | .probe_timing = TIMING_ZERO, |
| 3569 | .block_erasers = |
| 3570 | { |
| 3571 | { |
| 3572 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3573 | .block_erase = spi_block_erase_20, |
| 3574 | }, { |
| 3575 | .eraseblocks = { {64 * 1024, 64} }, |
| 3576 | .block_erase = spi_block_erase_d8, |
| 3577 | }, { |
| 3578 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3579 | .block_erase = spi_block_erase_60, |
| 3580 | }, { |
| 3581 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3582 | .block_erase = spi_block_erase_c7, |
| 3583 | } |
| 3584 | }, |
| 3585 | .unlock = spi_disable_blockprotect, |
| 3586 | .write = spi_chip_write_256, |
| 3587 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3588 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3589 | }, |
| 3590 | |
| 3591 | { |
| 3592 | .vendor = "Eon", |
| 3593 | .name = "EN25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3594 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3595 | .manufacture_id = EON_ID_NOPREFIX, |
| 3596 | .model_id = EON_EN25Q64, |
| 3597 | .total_size = 8192, |
| 3598 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3599 | /* OTP: 512B total; enter 0x3A */ |
| 3600 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3601 | .tested = TEST_UNTESTED, |
| 3602 | .probe = probe_spi_rdid, |
| 3603 | .probe_timing = TIMING_ZERO, |
| 3604 | .block_erasers = |
| 3605 | { |
| 3606 | { |
| 3607 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3608 | .block_erase = spi_block_erase_20, |
| 3609 | }, { |
| 3610 | .eraseblocks = { {64 * 1024, 128} }, |
| 3611 | .block_erase = spi_block_erase_d8, |
| 3612 | }, { |
| 3613 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3614 | .block_erase = spi_block_erase_60, |
| 3615 | }, { |
| 3616 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3617 | .block_erase = spi_block_erase_c7, |
| 3618 | } |
| 3619 | }, |
| 3620 | .unlock = spi_disable_blockprotect, |
| 3621 | .write = spi_chip_write_256, |
| 3622 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3623 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3624 | }, |
| 3625 | |
| 3626 | { |
| 3627 | .vendor = "Eon", |
| 3628 | .name = "EN25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3629 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3630 | .manufacture_id = EON_ID_NOPREFIX, |
| 3631 | .model_id = EON_EN25Q128, |
| 3632 | .total_size = 16384, |
| 3633 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3634 | /* OTP: 512B total; enter 0x3A */ |
| 3635 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3636 | .tested = TEST_UNTESTED, |
| 3637 | .probe = probe_spi_rdid, |
| 3638 | .probe_timing = TIMING_ZERO, |
| 3639 | .block_erasers = |
| 3640 | { |
| 3641 | { |
| 3642 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3643 | .block_erase = spi_block_erase_20, |
| 3644 | }, { |
| 3645 | .eraseblocks = { {64 * 1024, 256} }, |
| 3646 | .block_erase = spi_block_erase_d8, |
| 3647 | }, { |
| 3648 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3649 | .block_erase = spi_block_erase_60, |
| 3650 | }, { |
| 3651 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3652 | .block_erase = spi_block_erase_c7, |
| 3653 | } |
| 3654 | }, |
| 3655 | .unlock = spi_disable_blockprotect, |
| 3656 | .write = spi_chip_write_256, |
| 3657 | .read = spi_chip_read, |
| 3658 | }, |
| 3659 | |
| 3660 | { |
| 3661 | .vendor = "Eon", |
| 3662 | .name = "EN25QH16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3663 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3664 | .manufacture_id = EON_ID_NOPREFIX, |
| 3665 | .model_id = EON_EN25QH16, |
| 3666 | .total_size = 2048, |
| 3667 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3668 | /* supports SFDP */ |
| 3669 | /* OTP: 512B total; enter 0x3A */ |
| 3670 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 3671 | .tested = TEST_OK_PR, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3672 | .probe = probe_spi_rdid, |
| 3673 | .probe_timing = TIMING_ZERO, |
| 3674 | .block_erasers = |
| 3675 | { |
| 3676 | { |
| 3677 | .eraseblocks = { {4 * 1024, 512} }, |
| 3678 | .block_erase = spi_block_erase_20, |
| 3679 | }, { |
| 3680 | .eraseblocks = { {64 * 1024, 32} }, |
| 3681 | .block_erase = spi_block_erase_d8, |
| 3682 | }, { |
| 3683 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3684 | .block_erase = spi_block_erase_60, |
| 3685 | }, { |
| 3686 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3687 | .block_erase = spi_block_erase_c7, |
| 3688 | } |
| 3689 | }, |
| 3690 | .unlock = spi_disable_blockprotect, |
| 3691 | .write = spi_chip_write_256, |
| 3692 | .read = spi_chip_read, |
Stefan Tauner | 2cef916 | 2012-05-14 01:51:46 +0000 | [diff] [blame] | 3693 | .voltage = {2700, 3600}, |
| 3694 | }, |
| 3695 | |
| 3696 | { |
| 3697 | .vendor = "Eon", |
| 3698 | .name = "EN25QH32", |
| 3699 | .bustype = BUS_SPI, |
| 3700 | .manufacture_id = EON_ID_NOPREFIX, |
| 3701 | .model_id = EON_EN25QH32, |
| 3702 | .total_size = 4096, |
| 3703 | .page_size = 256, |
| 3704 | /* supports SFDP */ |
| 3705 | /* OTP: 512B total; enter 0x3A */ |
| 3706 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3707 | .tested = TEST_UNTESTED, |
| 3708 | .probe = probe_spi_rdid, |
| 3709 | .probe_timing = TIMING_ZERO, |
| 3710 | .block_erasers = |
| 3711 | { |
| 3712 | { |
| 3713 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3714 | .block_erase = spi_block_erase_20, |
| 3715 | }, { |
| 3716 | .eraseblocks = { {64 * 1024, 64} }, |
| 3717 | .block_erase = spi_block_erase_d8, |
| 3718 | }, { |
| 3719 | .eraseblocks = { {1024 * 4096, 1} }, |
| 3720 | .block_erase = spi_block_erase_60, |
| 3721 | }, { |
| 3722 | .eraseblocks = { {1024 * 4096, 1} }, |
| 3723 | .block_erase = spi_block_erase_c7, |
| 3724 | } |
| 3725 | }, |
| 3726 | .unlock = spi_disable_blockprotect, |
| 3727 | .write = spi_chip_write_256, |
| 3728 | .read = spi_chip_read, |
| 3729 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3730 | }, |
| 3731 | |
| 3732 | { |
| 3733 | .vendor = "Eon", |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3734 | .name = "EN29F010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3735 | .bustype = BUS_PARALLEL, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3736 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3737 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3738 | .total_size = 128, |
| 3739 | .page_size = 128, |
| 3740 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3741 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3742 | .probe = probe_jedec, |
| 3743 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3744 | .block_erasers = |
| 3745 | { |
| 3746 | { |
| 3747 | .eraseblocks = { {16 * 1024, 8} }, |
| 3748 | .block_erase = erase_sector_jedec, |
| 3749 | }, |
| 3750 | { |
| 3751 | .eraseblocks = { {128 * 1024, 1} }, |
| 3752 | .block_erase = erase_chip_block_jedec, |
| 3753 | }, |
| 3754 | }, |
| 3755 | .write = write_jedec_1, |
| 3756 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3757 | .voltage = {4500, 5500}, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3758 | }, |
| 3759 | |
| 3760 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3761 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3762 | .name = "EN29F002(A)(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3763 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3764 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3765 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3766 | .total_size = 256, |
| 3767 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3768 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3769 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3770 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3771 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3772 | .block_erasers = |
| 3773 | { |
| 3774 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 3775 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3776 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3777 | {8 * 1024, 2}, |
| 3778 | {32 * 1024, 1}, |
| 3779 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3780 | }, |
| 3781 | .block_erase = erase_sector_jedec, |
| 3782 | }, { |
| 3783 | .eraseblocks = { {256 * 1024, 1} }, |
| 3784 | .block_erase = erase_chip_block_jedec, |
| 3785 | }, |
| 3786 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3787 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3788 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3789 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3790 | }, |
| 3791 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3792 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3793 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3794 | .name = "EN29F002(A)(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3795 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3796 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3797 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3798 | .total_size = 256, |
| 3799 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3800 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3801 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3802 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3803 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3804 | .block_erasers = |
| 3805 | { |
| 3806 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 3807 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3808 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3809 | {32 * 1024, 1}, |
| 3810 | {8 * 1024, 2}, |
| 3811 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3812 | }, |
| 3813 | .block_erase = erase_sector_jedec, |
| 3814 | }, { |
| 3815 | .eraseblocks = { {256 * 1024, 1} }, |
| 3816 | .block_erase = erase_chip_block_jedec, |
| 3817 | }, |
| 3818 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3819 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3820 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3821 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3822 | }, |
| 3823 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3824 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 3825 | .vendor = "Eon", |
| 3826 | .name = "EN29LV640B", |
| 3827 | .bustype = BUS_PARALLEL, |
| 3828 | .manufacture_id = EON_ID, |
| 3829 | .model_id = EON_EN29LV640B, |
| 3830 | .total_size = 8192, |
| 3831 | .page_size = 8192, |
| 3832 | .feature_bits = 0, |
| 3833 | .tested = TEST_OK_PREW, |
| 3834 | .probe = probe_en29lv640b, |
| 3835 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3836 | .block_erasers = |
| 3837 | { |
| 3838 | { |
| 3839 | .eraseblocks = { |
| 3840 | {8 * 1024, 8}, |
| 3841 | {64 * 1024, 127}, |
| 3842 | }, |
| 3843 | .block_erase = block_erase_en29lv640b, |
| 3844 | }, { |
| 3845 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3846 | .block_erase = block_erase_chip_en29lv640b, |
| 3847 | }, |
| 3848 | }, |
| 3849 | .write = write_en29lv640b, |
| 3850 | .read = read_memmapped, |
| 3851 | .voltage = {2700, 3600}, |
| 3852 | }, |
| 3853 | |
| 3854 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3855 | .vendor = "Fujitsu", |
| 3856 | .name = "MBM29F004BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3857 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3858 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3859 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3860 | .total_size = 512, |
| 3861 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3862 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3863 | .tested = TEST_UNTESTED, |
| 3864 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3865 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3866 | .block_erasers = |
| 3867 | { |
| 3868 | { |
| 3869 | .eraseblocks = { |
| 3870 | {16 * 1024, 1}, |
| 3871 | {8 * 1024, 2}, |
| 3872 | {32 * 1024, 1}, |
| 3873 | {64 * 1024, 7}, |
| 3874 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3875 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3876 | }, { |
| 3877 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3878 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3879 | }, |
| 3880 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3881 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3882 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3883 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3884 | }, |
| 3885 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3886 | { |
| 3887 | .vendor = "Fujitsu", |
| 3888 | .name = "MBM29F004TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3889 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3890 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3891 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3892 | .total_size = 512, |
| 3893 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3894 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3895 | .tested = TEST_UNTESTED, |
| 3896 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3897 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3898 | .block_erasers = |
| 3899 | { |
| 3900 | { |
| 3901 | .eraseblocks = { |
| 3902 | {64 * 1024, 7}, |
| 3903 | {32 * 1024, 1}, |
| 3904 | {8 * 1024, 2}, |
| 3905 | {16 * 1024, 1}, |
| 3906 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3907 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3908 | }, { |
| 3909 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3910 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3911 | }, |
| 3912 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3913 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3914 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3915 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3916 | }, |
| 3917 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3918 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3919 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3920 | .vendor = "Fujitsu", |
| 3921 | .name = "MBM29F400BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3922 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3923 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3924 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3925 | .total_size = 512, |
| 3926 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3927 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3928 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3929 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3930 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3931 | .block_erasers = |
| 3932 | { |
| 3933 | { |
| 3934 | .eraseblocks = { |
| 3935 | {16 * 1024, 1}, |
| 3936 | {8 * 1024, 2}, |
| 3937 | {32 * 1024, 1}, |
| 3938 | {64 * 1024, 7}, |
| 3939 | }, |
| 3940 | .block_erase = block_erase_m29f400bt, |
| 3941 | }, { |
| 3942 | .eraseblocks = { {512 * 1024, 1} }, |
| 3943 | .block_erase = block_erase_chip_m29f400bt, |
| 3944 | }, |
| 3945 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3946 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3947 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3948 | .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] | 3949 | }, |
| 3950 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3951 | { |
| 3952 | .vendor = "Fujitsu", |
| 3953 | .name = "MBM29F400TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3954 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3955 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3956 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3957 | .total_size = 512, |
| 3958 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3959 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3960 | .tested = TEST_UNTESTED, |
| 3961 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3962 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3963 | .block_erasers = |
| 3964 | { |
| 3965 | { |
| 3966 | .eraseblocks = { |
| 3967 | {64 * 1024, 7}, |
| 3968 | {32 * 1024, 1}, |
| 3969 | {8 * 1024, 2}, |
| 3970 | {16 * 1024, 1}, |
| 3971 | }, |
| 3972 | .block_erase = block_erase_m29f400bt, |
| 3973 | }, { |
| 3974 | .eraseblocks = { {512 * 1024, 1} }, |
| 3975 | .block_erase = block_erase_chip_m29f400bt, |
| 3976 | }, |
| 3977 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3978 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3979 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3980 | .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] | 3981 | }, |
| 3982 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3983 | { |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 3984 | .vendor = "GigaDevice", |
| 3985 | .name = "GD25Q20", |
| 3986 | .bustype = BUS_SPI, |
| 3987 | .manufacture_id = GIGADEVICE_ID, |
| 3988 | .model_id = GIGADEVICE_GD25Q20, |
| 3989 | .total_size = 256, |
| 3990 | .page_size = 256, |
| 3991 | .feature_bits = FEATURE_WRSR_WREN, |
| 3992 | .tested = TEST_UNTESTED, |
| 3993 | .probe = probe_spi_rdid, |
| 3994 | .probe_timing = TIMING_ZERO, |
| 3995 | .block_erasers = |
| 3996 | { |
| 3997 | { |
| 3998 | .eraseblocks = { {4 * 1024, 64} }, |
| 3999 | .block_erase = spi_block_erase_20, |
| 4000 | }, { |
| 4001 | .eraseblocks = { {32 * 1024, 8} }, |
| 4002 | .block_erase = spi_block_erase_52, |
| 4003 | }, { |
| 4004 | .eraseblocks = { {64 * 1024, 4} }, |
| 4005 | .block_erase = spi_block_erase_d8, |
| 4006 | }, { |
| 4007 | .eraseblocks = { {256 * 1024, 1} }, |
| 4008 | .block_erase = spi_block_erase_60, |
| 4009 | }, { |
| 4010 | .eraseblocks = { {256 * 1024, 1} }, |
| 4011 | .block_erase = spi_block_erase_c7, |
| 4012 | } |
| 4013 | }, |
| 4014 | .unlock = spi_disable_blockprotect, |
| 4015 | .write = spi_chip_write_256, |
| 4016 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4017 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4018 | }, |
| 4019 | |
| 4020 | { |
| 4021 | .vendor = "GigaDevice", |
| 4022 | .name = "GD25Q40", |
| 4023 | .bustype = BUS_SPI, |
| 4024 | .manufacture_id = GIGADEVICE_ID, |
| 4025 | .model_id = GIGADEVICE_GD25Q40, |
| 4026 | .total_size = 512, |
| 4027 | .page_size = 256, |
| 4028 | .feature_bits = FEATURE_WRSR_WREN, |
| 4029 | .tested = TEST_UNTESTED, |
| 4030 | .probe = probe_spi_rdid, |
| 4031 | .probe_timing = TIMING_ZERO, |
| 4032 | .block_erasers = |
| 4033 | { |
| 4034 | { |
| 4035 | .eraseblocks = { {4 * 1024, 128} }, |
| 4036 | .block_erase = spi_block_erase_20, |
| 4037 | }, { |
| 4038 | .eraseblocks = { {32 * 1024, 16} }, |
| 4039 | .block_erase = spi_block_erase_52, |
| 4040 | }, { |
| 4041 | .eraseblocks = { {64 * 1024, 8} }, |
| 4042 | .block_erase = spi_block_erase_d8, |
| 4043 | }, { |
| 4044 | .eraseblocks = { {512 * 1024, 1} }, |
| 4045 | .block_erase = spi_block_erase_60, |
| 4046 | }, { |
| 4047 | .eraseblocks = { {512 * 1024, 1} }, |
| 4048 | .block_erase = spi_block_erase_c7, |
| 4049 | } |
| 4050 | }, |
| 4051 | .unlock = spi_disable_blockprotect, |
| 4052 | .write = spi_chip_write_256, |
| 4053 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4054 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4055 | }, |
| 4056 | |
| 4057 | { |
| 4058 | .vendor = "GigaDevice", |
| 4059 | .name = "GD25Q80", |
| 4060 | .bustype = BUS_SPI, |
| 4061 | .manufacture_id = GIGADEVICE_ID, |
| 4062 | .model_id = GIGADEVICE_GD25Q80, |
| 4063 | .total_size = 1024, |
| 4064 | .page_size = 256, |
| 4065 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 4066 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4067 | .tested = TEST_OK_PREW, |
| 4068 | .probe = probe_spi_rdid, |
| 4069 | .probe_timing = TIMING_ZERO, |
| 4070 | .block_erasers = |
| 4071 | { |
| 4072 | { |
| 4073 | .eraseblocks = { {4 * 1024, 256} }, |
| 4074 | .block_erase = spi_block_erase_20, |
| 4075 | }, { |
| 4076 | .eraseblocks = { {32 * 1024, 32} }, |
| 4077 | .block_erase = spi_block_erase_52, |
| 4078 | }, { |
| 4079 | .eraseblocks = { {64 * 1024, 16} }, |
| 4080 | .block_erase = spi_block_erase_d8, |
| 4081 | }, { |
| 4082 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4083 | .block_erase = spi_block_erase_60, |
| 4084 | }, { |
| 4085 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4086 | .block_erase = spi_block_erase_c7, |
| 4087 | } |
| 4088 | }, |
| 4089 | .unlock = spi_disable_blockprotect, |
| 4090 | .write = spi_chip_write_256, |
| 4091 | .read = spi_chip_read, |
| 4092 | .voltage = {2700, 3600}, |
| 4093 | }, |
| 4094 | |
| 4095 | { |
| 4096 | .vendor = "GigaDevice", |
| 4097 | .name = "GD25Q16", |
| 4098 | .bustype = BUS_SPI, |
| 4099 | .manufacture_id = GIGADEVICE_ID, |
| 4100 | .model_id = GIGADEVICE_GD25Q16, |
| 4101 | .total_size = 2048, |
| 4102 | .page_size = 256, |
| 4103 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 4104 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4105 | .tested = TEST_UNTESTED, |
| 4106 | .probe = probe_spi_rdid, |
| 4107 | .probe_timing = TIMING_ZERO, |
| 4108 | .block_erasers = |
| 4109 | { |
| 4110 | { |
| 4111 | .eraseblocks = { {4 * 1024, 512} }, |
| 4112 | .block_erase = spi_block_erase_20, |
| 4113 | }, { |
| 4114 | .eraseblocks = { {32 * 1024, 64} }, |
| 4115 | .block_erase = spi_block_erase_52, |
| 4116 | }, { |
| 4117 | .eraseblocks = { {64 * 1024, 32} }, |
| 4118 | .block_erase = spi_block_erase_d8, |
| 4119 | }, { |
| 4120 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4121 | .block_erase = spi_block_erase_60, |
| 4122 | }, { |
| 4123 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4124 | .block_erase = spi_block_erase_c7, |
| 4125 | } |
| 4126 | }, |
| 4127 | .unlock = spi_disable_blockprotect, |
| 4128 | .write = spi_chip_write_256, |
| 4129 | .read = spi_chip_read, |
| 4130 | .voltage = {2700, 3600}, |
| 4131 | }, |
| 4132 | |
| 4133 | { |
| 4134 | .vendor = "GigaDevice", |
| 4135 | .name = "GD25Q32", |
| 4136 | .bustype = BUS_SPI, |
| 4137 | .manufacture_id = GIGADEVICE_ID, |
| 4138 | .model_id = GIGADEVICE_GD25Q32, |
| 4139 | .total_size = 4096, |
| 4140 | .page_size = 256, |
| 4141 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 4142 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4143 | .tested = TEST_UNTESTED, |
| 4144 | .probe = probe_spi_rdid, |
| 4145 | .probe_timing = TIMING_ZERO, |
| 4146 | .block_erasers = |
| 4147 | { |
| 4148 | { |
| 4149 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4150 | .block_erase = spi_block_erase_20, |
| 4151 | }, { |
| 4152 | .eraseblocks = { {32 * 1024, 128} }, |
| 4153 | .block_erase = spi_block_erase_52, |
| 4154 | }, { |
| 4155 | .eraseblocks = { {64 * 1024, 64} }, |
| 4156 | .block_erase = spi_block_erase_d8, |
| 4157 | }, { |
| 4158 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4159 | .block_erase = spi_block_erase_60, |
| 4160 | }, { |
| 4161 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4162 | .block_erase = spi_block_erase_c7, |
| 4163 | } |
| 4164 | }, |
| 4165 | .unlock = spi_disable_blockprotect, |
| 4166 | .write = spi_chip_write_256, |
| 4167 | .read = spi_chip_read, |
| 4168 | .voltage = {2700, 3600}, |
| 4169 | }, |
| 4170 | |
| 4171 | { |
| 4172 | .vendor = "GigaDevice", |
| 4173 | .name = "GD25Q64", |
| 4174 | .bustype = BUS_SPI, |
| 4175 | .manufacture_id = GIGADEVICE_ID, |
| 4176 | .model_id = GIGADEVICE_GD25Q64, |
| 4177 | .total_size = 8192, |
| 4178 | .page_size = 256, |
| 4179 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 4180 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4181 | .tested = TEST_OK_PREW, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4182 | .probe = probe_spi_rdid, |
| 4183 | .probe_timing = TIMING_ZERO, |
| 4184 | .block_erasers = |
| 4185 | { |
| 4186 | { |
| 4187 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4188 | .block_erase = spi_block_erase_20, |
| 4189 | }, { |
| 4190 | .eraseblocks = { {32 * 1024, 256} }, |
| 4191 | .block_erase = spi_block_erase_52, |
| 4192 | }, { |
| 4193 | .eraseblocks = { {64 * 1024, 128} }, |
| 4194 | .block_erase = spi_block_erase_d8, |
| 4195 | }, { |
| 4196 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4197 | .block_erase = spi_block_erase_60, |
| 4198 | }, { |
| 4199 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4200 | .block_erase = spi_block_erase_c7, |
| 4201 | } |
| 4202 | }, |
| 4203 | .unlock = spi_disable_blockprotect, |
| 4204 | .write = spi_chip_write_256, |
| 4205 | .read = spi_chip_read, |
| 4206 | }, |
| 4207 | |
| 4208 | { |
| 4209 | .vendor = "GigaDevice", |
| 4210 | .name = "GD25Q128", |
| 4211 | .bustype = BUS_SPI, |
| 4212 | .manufacture_id = GIGADEVICE_ID, |
| 4213 | .model_id = GIGADEVICE_GD25Q128, |
| 4214 | .total_size = 16384, |
| 4215 | .page_size = 256, |
| 4216 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 4217 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4218 | .tested = TEST_UNTESTED, |
| 4219 | .probe = probe_spi_rdid, |
| 4220 | .probe_timing = TIMING_ZERO, |
| 4221 | .block_erasers = |
| 4222 | { |
| 4223 | { |
| 4224 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4225 | .block_erase = spi_block_erase_20, |
| 4226 | }, { |
| 4227 | .eraseblocks = { {32 * 1024, 512} }, |
| 4228 | .block_erase = spi_block_erase_52, |
| 4229 | }, { |
| 4230 | .eraseblocks = { {64 * 1024, 256} }, |
| 4231 | .block_erase = spi_block_erase_d8, |
| 4232 | }, { |
| 4233 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4234 | .block_erase = spi_block_erase_60, |
| 4235 | }, { |
| 4236 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4237 | .block_erase = spi_block_erase_c7, |
| 4238 | } |
| 4239 | }, |
| 4240 | .unlock = spi_disable_blockprotect, |
| 4241 | .write = spi_chip_write_256, |
| 4242 | .read = spi_chip_read, |
| 4243 | }, |
| 4244 | |
| 4245 | { |
Bryan Freed | 5bfef9d | 2012-09-17 00:05:44 +0000 | [diff] [blame] | 4246 | .vendor = "GigaDevice", |
| 4247 | .name = "GD25LQ32", |
| 4248 | .bustype = BUS_SPI, |
| 4249 | .manufacture_id = GIGADEVICE_ID, |
| 4250 | .model_id = GIGADEVICE_GD25LQ32, |
| 4251 | .total_size = 4096, |
| 4252 | .page_size = 256, |
| 4253 | .feature_bits = FEATURE_WRSR_WREN, |
| 4254 | .tested = TEST_OK_PREW, |
| 4255 | .probe = probe_spi_rdid, |
| 4256 | .probe_timing = TIMING_ZERO, |
| 4257 | .block_erasers = |
| 4258 | { |
| 4259 | { |
| 4260 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4261 | .block_erase = spi_block_erase_20, |
| 4262 | }, { |
| 4263 | .eraseblocks = { {32 * 1024, 128} }, |
| 4264 | .block_erase = spi_block_erase_52, |
| 4265 | }, { |
| 4266 | .eraseblocks = { {64 * 1024, 64} }, |
| 4267 | .block_erase = spi_block_erase_d8, |
| 4268 | }, { |
| 4269 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4270 | .block_erase = spi_block_erase_60, |
| 4271 | }, { |
| 4272 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4273 | .block_erase = spi_block_erase_c7, |
| 4274 | } |
| 4275 | }, |
| 4276 | .unlock = spi_disable_blockprotect, |
| 4277 | .write = spi_chip_write_256, |
| 4278 | .read = spi_chip_read, |
| 4279 | .voltage = {1700, 1950}, |
| 4280 | }, |
| 4281 | |
| 4282 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4283 | .vendor = "Hyundai", |
| 4284 | .name = "HY29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4285 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4286 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4287 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4288 | .total_size = 256, |
| 4289 | .page_size = 256 * 1024, |
| 4290 | .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] | 4291 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4292 | .probe = probe_jedec, |
| 4293 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4294 | .block_erasers = |
| 4295 | { |
| 4296 | { |
| 4297 | .eraseblocks = { |
| 4298 | {64 * 1024, 3}, |
| 4299 | {32 * 1024, 1}, |
| 4300 | {8 * 1024, 2}, |
| 4301 | {16 * 1024, 1}, |
| 4302 | }, |
| 4303 | .block_erase = erase_sector_jedec, |
| 4304 | }, { |
| 4305 | .eraseblocks = { {256 * 1024, 1} }, |
| 4306 | .block_erase = erase_chip_block_jedec, |
| 4307 | }, |
| 4308 | }, |
| 4309 | .write = write_jedec_1, |
| 4310 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4311 | .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] | 4312 | }, |
| 4313 | |
| 4314 | { |
| 4315 | .vendor = "Hyundai", |
| 4316 | .name = "HY29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4317 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4318 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4319 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4320 | .total_size = 256, |
| 4321 | .page_size = 256 * 1024, |
| 4322 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 4323 | .tested = TEST_UNTESTED, |
| 4324 | .probe = probe_jedec, |
| 4325 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4326 | .block_erasers = |
| 4327 | { |
| 4328 | { |
| 4329 | .eraseblocks = { |
| 4330 | {16 * 1024, 1}, |
| 4331 | {8 * 1024, 2}, |
| 4332 | {32 * 1024, 1}, |
| 4333 | {64 * 1024, 3}, |
| 4334 | }, |
| 4335 | .block_erase = erase_sector_jedec, |
| 4336 | }, { |
| 4337 | .eraseblocks = { {256 * 1024, 1} }, |
| 4338 | .block_erase = erase_chip_block_jedec, |
| 4339 | }, |
| 4340 | }, |
| 4341 | .write = write_jedec_1, |
| 4342 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4343 | .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] | 4344 | }, |
| 4345 | |
| 4346 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4347 | .vendor = "Hyundai", |
| 4348 | .name = "HY29F040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4349 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4350 | .manufacture_id = HYUNDAI_ID, |
| 4351 | .model_id = HYUNDAI_HY29F040A, |
| 4352 | .total_size = 512, |
| 4353 | .page_size = 64 * 1024, |
| 4354 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4355 | .tested = TEST_UNTESTED, |
| 4356 | .probe = probe_jedec, |
| 4357 | .probe_timing = TIMING_ZERO, |
| 4358 | .block_erasers = |
| 4359 | { |
| 4360 | { |
| 4361 | .eraseblocks = { {64 * 1024, 8} }, |
| 4362 | .block_erase = erase_sector_jedec, |
| 4363 | }, { |
| 4364 | .eraseblocks = { {512 * 1024, 1} }, |
| 4365 | .block_erase = erase_chip_block_jedec, |
| 4366 | }, |
| 4367 | }, |
| 4368 | .write = write_jedec_1, |
| 4369 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4370 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4371 | }, |
| 4372 | |
| 4373 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4374 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4375 | .name = "28F001BN/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4376 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4377 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4378 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4379 | .total_size = 128, |
| 4380 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4381 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4382 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4383 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4384 | .block_erasers = |
| 4385 | { |
| 4386 | { |
| 4387 | .eraseblocks = { |
| 4388 | {8 * 1024, 1}, |
| 4389 | {4 * 1024, 2}, |
| 4390 | {112 * 1024, 1}, |
| 4391 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4392 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4393 | }, |
| 4394 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4395 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4396 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4397 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4398 | }, |
| 4399 | |
| 4400 | { |
| 4401 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4402 | .name = "28F001BN/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4403 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4404 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4405 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4406 | .total_size = 128, |
| 4407 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4408 | .tested = TEST_OK_PR, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4409 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4410 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4411 | .block_erasers = |
| 4412 | { |
| 4413 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4414 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4415 | {112 * 1024, 1}, |
| 4416 | {4 * 1024, 2}, |
| 4417 | {8 * 1024, 1}, |
| 4418 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4419 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4420 | }, |
| 4421 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4422 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4423 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4424 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4425 | }, |
| 4426 | |
| 4427 | { |
| 4428 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4429 | .name = "28F002BC/BL/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4430 | .bustype = BUS_PARALLEL, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4431 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4432 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4433 | .total_size = 256, |
| 4434 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4435 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4436 | .probe = probe_82802ab, |
| 4437 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4438 | .block_erasers = |
| 4439 | { |
| 4440 | { |
| 4441 | .eraseblocks = { |
| 4442 | {128 * 1024, 1}, |
| 4443 | {96 * 1024, 1}, |
| 4444 | {8 * 1024, 2}, |
| 4445 | {16 * 1024, 1}, |
| 4446 | }, |
| 4447 | .block_erase = erase_block_82802ab, |
| 4448 | }, |
| 4449 | }, |
| 4450 | .write = write_82802ab, |
| 4451 | .read = read_memmapped, |
| 4452 | }, |
| 4453 | |
| 4454 | { |
| 4455 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4456 | .name = "28F008S3/S5/SC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4457 | .bustype = BUS_PARALLEL, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4458 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4459 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4460 | .total_size = 512, |
| 4461 | .page_size = 256, |
| 4462 | .tested = TEST_UNTESTED, |
| 4463 | .probe = probe_82802ab, |
| 4464 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4465 | .block_erasers = |
| 4466 | { |
| 4467 | { |
| 4468 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4469 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4470 | }, |
| 4471 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4472 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4473 | .write = write_82802ab, |
| 4474 | .read = read_memmapped, |
| 4475 | }, |
| 4476 | |
| 4477 | { |
| 4478 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4479 | .name = "28F004B5/BE/BV/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4480 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4481 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4482 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4483 | .total_size = 512, |
| 4484 | .page_size = 128 * 1024, /* maximal block size */ |
| 4485 | .tested = TEST_UNTESTED, |
| 4486 | .probe = probe_82802ab, |
| 4487 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4488 | .block_erasers = |
| 4489 | { |
| 4490 | { |
| 4491 | .eraseblocks = { |
| 4492 | {16 * 1024, 1}, |
| 4493 | {8 * 1024, 2}, |
| 4494 | {96 * 1024, 1}, |
| 4495 | {128 * 1024, 3}, |
| 4496 | }, |
| 4497 | .block_erase = erase_block_82802ab, |
| 4498 | }, |
| 4499 | }, |
| 4500 | .write = write_82802ab, |
| 4501 | .read = read_memmapped, |
| 4502 | }, |
| 4503 | |
| 4504 | { |
| 4505 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4506 | .name = "28F004B5/BE/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4507 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4508 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4509 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4510 | .total_size = 512, |
| 4511 | .page_size = 128 * 1024, /* maximal block size */ |
| 4512 | .tested = TEST_UNTESTED, |
| 4513 | .probe = probe_82802ab, |
| 4514 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4515 | .block_erasers = |
| 4516 | { |
| 4517 | { |
| 4518 | .eraseblocks = { |
| 4519 | {128 * 1024, 3}, |
| 4520 | {96 * 1024, 1}, |
| 4521 | {8 * 1024, 2}, |
| 4522 | {16 * 1024, 1}, |
| 4523 | }, |
| 4524 | .block_erase = erase_block_82802ab, |
| 4525 | }, |
| 4526 | }, |
| 4527 | .write = write_82802ab, |
| 4528 | .read = read_memmapped, |
| 4529 | }, |
| 4530 | |
| 4531 | { |
| 4532 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4533 | .name = "28F400BV/BX/CE/CV-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4534 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4535 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4536 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4537 | .total_size = 512, |
| 4538 | .page_size = 128 * 1024, /* maximal block size */ |
| 4539 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 4540 | .tested = TEST_UNTESTED, |
| 4541 | .probe = probe_82802ab, |
| 4542 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4543 | .block_erasers = |
| 4544 | { |
| 4545 | { |
| 4546 | .eraseblocks = { |
| 4547 | {16 * 1024, 1}, |
| 4548 | {8 * 1024, 2}, |
| 4549 | {96 * 1024, 1}, |
| 4550 | {128 * 1024, 3}, |
| 4551 | }, |
| 4552 | .block_erase = erase_block_82802ab, |
| 4553 | }, |
| 4554 | }, |
| 4555 | .write = write_82802ab, |
| 4556 | .read = read_memmapped, |
| 4557 | }, |
| 4558 | |
| 4559 | { |
| 4560 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4561 | .name = "28F400BV/BX/CE/CV-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4562 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4563 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4564 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4565 | .total_size = 512, |
| 4566 | .page_size = 128 * 1024, /* maximal block size */ |
| 4567 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 4568 | .tested = TEST_UNTESTED, |
| 4569 | .probe = probe_82802ab, |
| 4570 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4571 | .block_erasers = |
| 4572 | { |
| 4573 | { |
| 4574 | .eraseblocks = { |
| 4575 | {128 * 1024, 3}, |
| 4576 | {96 * 1024, 1}, |
| 4577 | {8 * 1024, 2}, |
| 4578 | {16 * 1024, 1}, |
| 4579 | }, |
| 4580 | .block_erase = erase_block_82802ab, |
| 4581 | }, |
| 4582 | }, |
| 4583 | .write = write_82802ab, |
| 4584 | .read = read_memmapped, |
| 4585 | }, |
| 4586 | |
| 4587 | { |
| 4588 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4589 | .name = "82802AB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4590 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4591 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4592 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4593 | .total_size = 512, |
| 4594 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4595 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 4596 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4597 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4598 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4599 | .block_erasers = |
| 4600 | { |
| 4601 | { |
| 4602 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4603 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4604 | }, |
| 4605 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4606 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4607 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4608 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4609 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4610 | }, |
| 4611 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4612 | { |
| 4613 | .vendor = "Intel", |
| 4614 | .name = "82802AC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4615 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4616 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4617 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4618 | .total_size = 1024, |
| 4619 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4620 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4621 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4622 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4623 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4624 | .block_erasers = |
| 4625 | { |
| 4626 | { |
| 4627 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4628 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4629 | }, |
| 4630 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4631 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4632 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4633 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4634 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4635 | }, |
| 4636 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4637 | { |
| 4638 | .vendor = "Macronix", |
| 4639 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4640 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4641 | .manufacture_id = MACRONIX_ID, |
| 4642 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4643 | .total_size = 64, |
| 4644 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4645 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4646 | .tested = TEST_UNTESTED, |
| 4647 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4648 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4649 | .block_erasers = |
| 4650 | { |
| 4651 | { |
| 4652 | .eraseblocks = { {4 * 1024, 16} }, |
| 4653 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4654 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4655 | .eraseblocks = { {64 * 1024, 1} }, |
| 4656 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4657 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4658 | .eraseblocks = { {64 * 1024, 1} }, |
| 4659 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4660 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4661 | .eraseblocks = { {64 * 1024, 1} }, |
| 4662 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4663 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4664 | .eraseblocks = { {64 * 1024, 1} }, |
| 4665 | .block_erase = spi_block_erase_c7, |
| 4666 | }, |
| 4667 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4668 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4669 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4670 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4671 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4672 | }, |
| 4673 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4674 | { |
| 4675 | .vendor = "Macronix", |
| 4676 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4677 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4678 | .manufacture_id = MACRONIX_ID, |
| 4679 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4680 | .total_size = 128, |
| 4681 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4682 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 4683 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4684 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4685 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4686 | .block_erasers = |
| 4687 | { |
| 4688 | { |
| 4689 | .eraseblocks = { {4 * 1024, 32} }, |
| 4690 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4691 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4692 | .eraseblocks = { {64 * 1024, 2} }, |
| 4693 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4694 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4695 | .eraseblocks = { {128 * 1024, 1} }, |
| 4696 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4697 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4698 | .eraseblocks = { {128 * 1024, 1} }, |
| 4699 | .block_erase = spi_block_erase_c7, |
| 4700 | }, |
| 4701 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4702 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4703 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4704 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4705 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4706 | }, |
| 4707 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4708 | { |
| 4709 | .vendor = "Macronix", |
| 4710 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4711 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4712 | .manufacture_id = MACRONIX_ID, |
| 4713 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4714 | .total_size = 256, |
| 4715 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4716 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4717 | .tested = TEST_UNTESTED, |
| 4718 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4719 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4720 | .block_erasers = |
| 4721 | { |
| 4722 | { |
| 4723 | .eraseblocks = { {4 * 1024, 64} }, |
| 4724 | .block_erase = spi_block_erase_20, |
| 4725 | }, { |
| 4726 | .eraseblocks = { {64 * 1024, 4} }, |
| 4727 | .block_erase = spi_block_erase_52, |
| 4728 | }, { |
| 4729 | .eraseblocks = { {64 * 1024, 4} }, |
| 4730 | .block_erase = spi_block_erase_d8, |
| 4731 | }, { |
| 4732 | .eraseblocks = { {256 * 1024, 1} }, |
| 4733 | .block_erase = spi_block_erase_60, |
| 4734 | }, { |
| 4735 | .eraseblocks = { {256 * 1024, 1} }, |
| 4736 | .block_erase = spi_block_erase_c7, |
| 4737 | }, |
| 4738 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4739 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4740 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4741 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4742 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4743 | }, |
| 4744 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4745 | { |
| 4746 | .vendor = "Macronix", |
| 4747 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4748 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4749 | .manufacture_id = MACRONIX_ID, |
| 4750 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4751 | .total_size = 512, |
| 4752 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4753 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 4754 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4755 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4756 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4757 | .block_erasers = |
| 4758 | { |
| 4759 | { |
| 4760 | .eraseblocks = { {4 * 1024, 128} }, |
| 4761 | .block_erase = spi_block_erase_20, |
| 4762 | }, { |
| 4763 | .eraseblocks = { {64 * 1024, 8} }, |
| 4764 | .block_erase = spi_block_erase_52, |
| 4765 | }, { |
| 4766 | .eraseblocks = { {64 * 1024, 8} }, |
| 4767 | .block_erase = spi_block_erase_d8, |
| 4768 | }, { |
| 4769 | .eraseblocks = { {512 * 1024, 1} }, |
| 4770 | .block_erase = spi_block_erase_60, |
| 4771 | }, { |
| 4772 | .eraseblocks = { {512 * 1024, 1} }, |
| 4773 | .block_erase = spi_block_erase_c7, |
| 4774 | }, |
| 4775 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4776 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4777 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4778 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4779 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4780 | }, |
| 4781 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4782 | { |
| 4783 | .vendor = "Macronix", |
| 4784 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4785 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4786 | .manufacture_id = MACRONIX_ID, |
| 4787 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4788 | .total_size = 1024, |
| 4789 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4790 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 4791 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4792 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4793 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4794 | .block_erasers = |
| 4795 | { |
| 4796 | { |
| 4797 | .eraseblocks = { {4 * 1024, 256} }, |
| 4798 | .block_erase = spi_block_erase_20, |
| 4799 | }, { |
| 4800 | .eraseblocks = { {64 * 1024, 16} }, |
| 4801 | .block_erase = spi_block_erase_52, |
| 4802 | }, { |
| 4803 | .eraseblocks = { {64 * 1024, 16} }, |
| 4804 | .block_erase = spi_block_erase_d8, |
| 4805 | }, { |
| 4806 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4807 | .block_erase = spi_block_erase_60, |
| 4808 | }, { |
| 4809 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4810 | .block_erase = spi_block_erase_c7, |
| 4811 | }, |
| 4812 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4813 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4814 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4815 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4816 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4817 | }, |
| 4818 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4819 | { |
| 4820 | .vendor = "Macronix", |
| 4821 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4822 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4823 | .manufacture_id = MACRONIX_ID, |
| 4824 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4825 | .total_size = 2048, |
| 4826 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4827 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 4828 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4829 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4830 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4831 | .block_erasers = |
| 4832 | { |
| 4833 | { |
| 4834 | .eraseblocks = { {4 * 1024, 512} }, |
| 4835 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 4836 | }, { |
| 4837 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 4838 | .block_erase = spi_block_erase_52, |
| 4839 | }, { |
| 4840 | .eraseblocks = { {64 * 1024, 32} }, |
| 4841 | .block_erase = spi_block_erase_d8, |
| 4842 | }, { |
| 4843 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4844 | .block_erase = spi_block_erase_60, |
| 4845 | }, { |
| 4846 | .eraseblocks = { {2 * 1024 * 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 = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4858 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4859 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4860 | .manufacture_id = MACRONIX_ID, |
| 4861 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4862 | .total_size = 2048, |
| 4863 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4864 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4865 | .tested = TEST_UNTESTED, |
| 4866 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4867 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4868 | .block_erasers = |
| 4869 | { |
| 4870 | { |
| 4871 | .eraseblocks = { {4 * 1024, 512} }, |
| 4872 | .block_erase = spi_block_erase_20, |
| 4873 | }, { |
| 4874 | .eraseblocks = { {64 * 1024, 32} }, |
| 4875 | .block_erase = spi_block_erase_d8, |
| 4876 | }, { |
| 4877 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4878 | .block_erase = spi_block_erase_60, |
| 4879 | }, { |
| 4880 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4881 | .block_erase = spi_block_erase_c7, |
| 4882 | } |
| 4883 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4884 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4885 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4886 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4887 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4888 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 4889 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4890 | { |
| 4891 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4892 | .name = "MX25L1635E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4893 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4894 | .manufacture_id = MACRONIX_ID, |
| 4895 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4896 | .total_size = 2048, |
| 4897 | .page_size = 256, |
| 4898 | .feature_bits = FEATURE_WRSR_WREN, |
| 4899 | .tested = TEST_UNTESTED, |
| 4900 | .probe = probe_spi_rdid, |
| 4901 | .probe_timing = TIMING_ZERO, |
| 4902 | .block_erasers = |
| 4903 | { |
| 4904 | { |
| 4905 | .eraseblocks = { {4 * 1024, 512} }, |
| 4906 | .block_erase = spi_block_erase_20, |
| 4907 | }, { |
| 4908 | .eraseblocks = { {64 * 1024, 32} }, |
| 4909 | .block_erase = spi_block_erase_d8, |
| 4910 | }, { |
| 4911 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4912 | .block_erase = spi_block_erase_60, |
| 4913 | }, { |
| 4914 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4915 | .block_erase = spi_block_erase_c7, |
| 4916 | } |
| 4917 | }, |
| 4918 | .unlock = spi_disable_blockprotect, |
| 4919 | .write = spi_chip_write_256, |
| 4920 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4921 | .voltage = {2700, 3600}, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4922 | }, |
| 4923 | |
| 4924 | { |
| 4925 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4926 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4927 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4928 | .manufacture_id = MACRONIX_ID, |
| 4929 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4930 | .total_size = 4096, |
| 4931 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4932 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 4933 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4934 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4935 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4936 | .block_erasers = |
| 4937 | { |
| 4938 | { |
| 4939 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4940 | .block_erase = spi_block_erase_20, |
| 4941 | }, { |
| 4942 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4943 | .block_erase = spi_block_erase_d8, |
| 4944 | }, { |
| 4945 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4946 | .block_erase = spi_block_erase_60, |
| 4947 | }, { |
| 4948 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4949 | .block_erase = spi_block_erase_c7, |
| 4950 | }, |
| 4951 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4952 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4953 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4954 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4955 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4956 | }, |
| 4957 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4958 | { |
| 4959 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4960 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4961 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4962 | .manufacture_id = MACRONIX_ID, |
| 4963 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4964 | .total_size = 4096, |
| 4965 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4966 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4967 | .tested = TEST_UNTESTED, |
| 4968 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4969 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4970 | .block_erasers = |
| 4971 | { |
| 4972 | { |
| 4973 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4974 | .block_erase = spi_block_erase_20, |
| 4975 | }, { |
| 4976 | .eraseblocks = { {64 * 1024, 64} }, |
| 4977 | .block_erase = spi_block_erase_d8, |
| 4978 | }, { |
| 4979 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4980 | .block_erase = spi_block_erase_60, |
| 4981 | }, { |
| 4982 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4983 | .block_erase = spi_block_erase_c7, |
| 4984 | } |
| 4985 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4986 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4987 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4988 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4989 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4990 | }, |
| 4991 | |
| 4992 | { |
| 4993 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4994 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4995 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4996 | .manufacture_id = MACRONIX_ID, |
| 4997 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4998 | .total_size = 8192, |
| 4999 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5000 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 5001 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5002 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5003 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5004 | .block_erasers = |
| 5005 | { |
| 5006 | { |
| 5007 | .eraseblocks = { {64 * 1024, 128} }, |
| 5008 | .block_erase = spi_block_erase_20, |
| 5009 | }, { |
| 5010 | .eraseblocks = { {64 * 1024, 128} }, |
| 5011 | .block_erase = spi_block_erase_d8, |
| 5012 | }, { |
| 5013 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5014 | .block_erase = spi_block_erase_60, |
| 5015 | }, { |
| 5016 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5017 | .block_erase = spi_block_erase_c7, |
| 5018 | } |
| 5019 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5020 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5021 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5022 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5023 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5024 | }, |
| 5025 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5026 | { |
| 5027 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5028 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5029 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5030 | .manufacture_id = MACRONIX_ID, |
| 5031 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5032 | .total_size = 16384, |
| 5033 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5034 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 5035 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5036 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5037 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5038 | .block_erasers = |
| 5039 | { |
| 5040 | { |
| 5041 | .eraseblocks = { {4 * 1024, 4096} }, |
| 5042 | .block_erase = spi_block_erase_20, |
| 5043 | }, { |
| 5044 | .eraseblocks = { {64 * 1024, 256} }, |
| 5045 | .block_erase = spi_block_erase_d8, |
| 5046 | }, { |
| 5047 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5048 | .block_erase = spi_block_erase_60, |
| 5049 | }, { |
| 5050 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5051 | .block_erase = spi_block_erase_c7, |
| 5052 | } |
| 5053 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5054 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5055 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5056 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5057 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5058 | }, |
| 5059 | |
| 5060 | { |
| 5061 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5062 | .name = "MX29F001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5063 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5064 | .manufacture_id = MACRONIX_ID, |
| 5065 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5066 | .total_size = 128, |
| 5067 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5068 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 5069 | .tested = TEST_UNTESTED, |
| 5070 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5071 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5072 | .block_erasers = |
| 5073 | { |
| 5074 | { |
| 5075 | .eraseblocks = { |
| 5076 | {8 * 1024, 1}, |
| 5077 | {4 * 1024, 2}, |
| 5078 | {8 * 1024, 2}, |
| 5079 | {32 * 1024, 1}, |
| 5080 | {64 * 1024, 1}, |
| 5081 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5082 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5083 | }, { |
| 5084 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5085 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5086 | } |
| 5087 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5088 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5089 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5090 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5091 | }, |
| 5092 | |
| 5093 | { |
| 5094 | .vendor = "Macronix", |
| 5095 | .name = "MX29F001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5096 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5097 | .manufacture_id = MACRONIX_ID, |
| 5098 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5099 | .total_size = 128, |
| 5100 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5101 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 5102 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5103 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5104 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5105 | .block_erasers = |
| 5106 | { |
| 5107 | { |
| 5108 | .eraseblocks = { |
| 5109 | {64 * 1024, 1}, |
| 5110 | {32 * 1024, 1}, |
| 5111 | {8 * 1024, 2}, |
| 5112 | {4 * 1024, 2}, |
| 5113 | {8 * 1024, 1}, |
| 5114 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5115 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5116 | }, { |
| 5117 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5118 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5119 | } |
| 5120 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5121 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5122 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5123 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5124 | }, |
| 5125 | |
| 5126 | { |
| 5127 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 5128 | .name = "MX29F002(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5129 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5130 | .manufacture_id = MACRONIX_ID, |
| 5131 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5132 | .total_size = 256, |
| 5133 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5134 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5135 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5136 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5137 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5138 | .block_erasers = |
| 5139 | { |
| 5140 | { |
| 5141 | .eraseblocks = { |
| 5142 | {16 * 1024, 1}, |
| 5143 | {8 * 1024, 2}, |
| 5144 | {32 * 1024, 1}, |
| 5145 | {64 * 1024, 3}, |
| 5146 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5147 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5148 | }, { |
| 5149 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5150 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5151 | }, |
| 5152 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5153 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5154 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5155 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5156 | }, |
| 5157 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5158 | { |
| 5159 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 5160 | .name = "MX29F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5161 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5162 | .manufacture_id = MACRONIX_ID, |
| 5163 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5164 | .total_size = 256, |
| 5165 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5166 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5167 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5168 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5169 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5170 | .block_erasers = |
| 5171 | { |
| 5172 | { |
| 5173 | .eraseblocks = { |
| 5174 | {64 * 1024, 3}, |
| 5175 | {32 * 1024, 1}, |
| 5176 | {8 * 1024, 2}, |
| 5177 | {16 * 1024, 1}, |
| 5178 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5179 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5180 | }, { |
| 5181 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5182 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5183 | }, |
| 5184 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5185 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5186 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5187 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5188 | }, |
| 5189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5190 | { |
| 5191 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5192 | .name = "MX29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5193 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5194 | .manufacture_id = MACRONIX_ID, |
| 5195 | .model_id = MACRONIX_MX29F040, |
| 5196 | .total_size = 512, |
| 5197 | .page_size = 64 * 1024, |
| 5198 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 5199 | .tested = TEST_UNTESTED, |
| 5200 | .probe = probe_jedec, |
| 5201 | .probe_timing = TIMING_ZERO, |
| 5202 | .block_erasers = |
| 5203 | { |
| 5204 | { |
| 5205 | .eraseblocks = { {64 * 1024, 8} }, |
| 5206 | .block_erase = erase_sector_jedec, |
| 5207 | }, { |
| 5208 | .eraseblocks = { {512 * 1024, 1} }, |
| 5209 | .block_erase = erase_chip_block_jedec, |
| 5210 | }, |
| 5211 | }, |
| 5212 | .write = write_jedec_1, |
| 5213 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5214 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5215 | }, |
| 5216 | |
| 5217 | { |
| 5218 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 5219 | .name = "MX29LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5220 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5221 | .manufacture_id = MACRONIX_ID, |
| 5222 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5223 | .total_size = 512, |
| 5224 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5225 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 5226 | .tested = TEST_UNTESTED, |
| 5227 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5228 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5229 | .block_erasers = |
| 5230 | { |
| 5231 | { |
| 5232 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5233 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5234 | }, { |
| 5235 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5236 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5237 | }, |
| 5238 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5239 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5240 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5241 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 5242 | }, |
| 5243 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5244 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5245 | .vendor = "MoselVitelic", |
| 5246 | .name = "V29C51000B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5247 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5248 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5249 | .model_id = MVC_V29C51000B, |
| 5250 | .total_size = 64, |
| 5251 | .page_size = 512, |
| 5252 | .feature_bits = FEATURE_EITHER_RESET, |
| 5253 | .tested = TEST_UNTESTED, |
| 5254 | .probe = probe_jedec, |
| 5255 | .probe_timing = TIMING_ZERO, |
| 5256 | .block_erasers = |
| 5257 | { |
| 5258 | { |
| 5259 | .eraseblocks = { {512, 128} }, |
| 5260 | .block_erase = erase_sector_jedec, |
| 5261 | }, { |
| 5262 | .eraseblocks = { {64 * 1024, 1} }, |
| 5263 | .block_erase = erase_chip_block_jedec, |
| 5264 | }, |
| 5265 | }, |
| 5266 | .write = write_jedec_1, |
| 5267 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5268 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5269 | }, |
| 5270 | |
| 5271 | { |
| 5272 | .vendor = "MoselVitelic", |
| 5273 | .name = "V29C51000T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5274 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5275 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5276 | .model_id = MVC_V29C51000T, |
| 5277 | .total_size = 64, |
| 5278 | .page_size = 512, |
| 5279 | .feature_bits = FEATURE_EITHER_RESET, |
| 5280 | .tested = TEST_UNTESTED, |
| 5281 | .probe = probe_jedec, |
| 5282 | .probe_timing = TIMING_ZERO, |
| 5283 | .block_erasers = |
| 5284 | { |
| 5285 | { |
| 5286 | .eraseblocks = { {512, 128} }, |
| 5287 | .block_erase = erase_sector_jedec, |
| 5288 | }, { |
| 5289 | .eraseblocks = { {64 * 1024, 1} }, |
| 5290 | .block_erase = erase_chip_block_jedec, |
| 5291 | }, |
| 5292 | }, |
| 5293 | .write = write_jedec_1, |
| 5294 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5295 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5296 | }, |
| 5297 | |
| 5298 | { |
| 5299 | .vendor = "MoselVitelic", |
| 5300 | .name = "V29C51400B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5301 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5302 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5303 | .model_id = MVC_V29C51400B, |
| 5304 | .total_size = 512, |
| 5305 | .page_size = 1024, |
| 5306 | .feature_bits = FEATURE_EITHER_RESET, |
| 5307 | .tested = TEST_UNTESTED, |
| 5308 | .probe = probe_jedec, |
| 5309 | .probe_timing = TIMING_ZERO, |
| 5310 | .block_erasers = |
| 5311 | { |
| 5312 | { |
| 5313 | .eraseblocks = { {1024, 512} }, |
| 5314 | .block_erase = erase_sector_jedec, |
| 5315 | }, { |
| 5316 | .eraseblocks = { {512 * 1024, 1} }, |
| 5317 | .block_erase = erase_chip_block_jedec, |
| 5318 | }, |
| 5319 | }, |
| 5320 | .write = write_jedec_1, |
| 5321 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5322 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5323 | }, |
| 5324 | |
| 5325 | { |
| 5326 | .vendor = "MoselVitelic", |
| 5327 | .name = "V29C51400T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5328 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5329 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5330 | .model_id = MVC_V29C51400T, |
| 5331 | .total_size = 512, |
| 5332 | .page_size = 1024, |
| 5333 | .feature_bits = FEATURE_EITHER_RESET, |
| 5334 | .tested = TEST_UNTESTED, |
| 5335 | .probe = probe_jedec, |
| 5336 | .probe_timing = TIMING_ZERO, |
| 5337 | .block_erasers = |
| 5338 | { |
| 5339 | { |
| 5340 | .eraseblocks = { {1024, 512} }, |
| 5341 | .block_erase = erase_sector_jedec, |
| 5342 | }, { |
| 5343 | .eraseblocks = { {512 * 1024, 1} }, |
| 5344 | .block_erase = erase_chip_block_jedec, |
| 5345 | }, |
| 5346 | }, |
| 5347 | .write = write_jedec_1, |
| 5348 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5349 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5350 | }, |
| 5351 | |
| 5352 | { |
| 5353 | .vendor = "MoselVitelic", |
| 5354 | .name = "V29LC51000", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5355 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5356 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5357 | .model_id = MVC_V29LC51000, |
| 5358 | .total_size = 64, |
| 5359 | .page_size = 512, |
| 5360 | .feature_bits = FEATURE_EITHER_RESET, |
| 5361 | .tested = TEST_UNTESTED, |
| 5362 | .probe = probe_jedec, |
| 5363 | .probe_timing = TIMING_ZERO, |
| 5364 | .block_erasers = |
| 5365 | { |
| 5366 | { |
| 5367 | .eraseblocks = { {512, 128} }, |
| 5368 | .block_erase = erase_sector_jedec, |
| 5369 | }, { |
| 5370 | .eraseblocks = { {64 * 1024, 1} }, |
| 5371 | .block_erase = erase_chip_block_jedec, |
| 5372 | }, |
| 5373 | }, |
| 5374 | .write = write_jedec_1, |
| 5375 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5376 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5377 | }, |
| 5378 | |
| 5379 | { |
| 5380 | .vendor = "MoselVitelic", |
| 5381 | .name = "V29LC51001", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5382 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5383 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5384 | .model_id = MVC_V29LC51001, |
| 5385 | .total_size = 128, |
| 5386 | .page_size = 512, |
| 5387 | .feature_bits = FEATURE_EITHER_RESET, |
| 5388 | .tested = TEST_UNTESTED, |
| 5389 | .probe = probe_jedec, |
| 5390 | .probe_timing = TIMING_ZERO, |
| 5391 | .block_erasers = |
| 5392 | { |
| 5393 | { |
| 5394 | .eraseblocks = { {512, 256} }, |
| 5395 | .block_erase = erase_sector_jedec, |
| 5396 | }, { |
| 5397 | .eraseblocks = { {128 * 1024, 1} }, |
| 5398 | .block_erase = erase_chip_block_jedec, |
| 5399 | }, |
| 5400 | }, |
| 5401 | .write = write_jedec_1, |
| 5402 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5403 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5404 | }, |
| 5405 | |
| 5406 | { |
| 5407 | .vendor = "MoselVitelic", |
| 5408 | .name = "V29LC51002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5409 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5410 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5411 | .model_id = MVC_V29LC51002, |
| 5412 | .total_size = 256, |
| 5413 | .page_size = 512, |
| 5414 | .feature_bits = FEATURE_EITHER_RESET, |
| 5415 | .tested = TEST_UNTESTED, |
| 5416 | .probe = probe_jedec, |
| 5417 | .probe_timing = TIMING_ZERO, |
| 5418 | .block_erasers = |
| 5419 | { |
| 5420 | { |
| 5421 | .eraseblocks = { {512, 512} }, |
| 5422 | .block_erase = erase_sector_jedec, |
| 5423 | }, { |
| 5424 | .eraseblocks = { {256 * 1024, 1} }, |
| 5425 | .block_erase = erase_chip_block_jedec, |
| 5426 | }, |
| 5427 | }, |
| 5428 | .write = write_jedec_1, |
| 5429 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5430 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5431 | }, |
| 5432 | |
| 5433 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5434 | .vendor = "Numonyx", |
| 5435 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5436 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5437 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5438 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5439 | .total_size = 128, |
| 5440 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5441 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5442 | .tested = TEST_UNTESTED, |
| 5443 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5444 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5445 | .block_erasers = |
| 5446 | { |
| 5447 | { |
| 5448 | .eraseblocks = { {4 * 1024, 32} }, |
| 5449 | .block_erase = spi_block_erase_20, |
| 5450 | }, { |
| 5451 | .eraseblocks = { {64 * 1024, 2} }, |
| 5452 | .block_erase = spi_block_erase_d8, |
| 5453 | }, { |
| 5454 | .eraseblocks = { {128 * 1024, 1} }, |
| 5455 | .block_erase = spi_block_erase_c7, |
| 5456 | } |
| 5457 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5458 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5459 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5460 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5461 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5462 | }, |
| 5463 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5464 | { |
| 5465 | .vendor = "Numonyx", |
| 5466 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5467 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5468 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5469 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5470 | .total_size = 256, |
| 5471 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5472 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5473 | .tested = TEST_UNTESTED, |
| 5474 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5475 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5476 | .block_erasers = |
| 5477 | { |
| 5478 | { |
| 5479 | .eraseblocks = { {4 * 1024, 64} }, |
| 5480 | .block_erase = spi_block_erase_20, |
| 5481 | }, { |
| 5482 | .eraseblocks = { {64 * 1024, 4} }, |
| 5483 | .block_erase = spi_block_erase_d8, |
| 5484 | }, { |
| 5485 | .eraseblocks = { {256 * 1024, 1} }, |
| 5486 | .block_erase = spi_block_erase_c7, |
| 5487 | } |
| 5488 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5489 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5490 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5491 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5492 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5493 | }, |
| 5494 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5495 | { |
| 5496 | .vendor = "Numonyx", |
| 5497 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5498 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5499 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5500 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5501 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5502 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5503 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5504 | .tested = TEST_UNTESTED, |
| 5505 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5506 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5507 | .block_erasers = |
| 5508 | { |
| 5509 | { |
| 5510 | .eraseblocks = { {4 * 1024, 128} }, |
| 5511 | .block_erase = spi_block_erase_20, |
| 5512 | }, { |
| 5513 | .eraseblocks = { {64 * 1024, 8} }, |
| 5514 | .block_erase = spi_block_erase_d8, |
| 5515 | }, { |
| 5516 | .eraseblocks = { {512 * 1024, 1} }, |
| 5517 | .block_erase = spi_block_erase_c7, |
| 5518 | } |
| 5519 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5520 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5521 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5522 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5523 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5524 | }, |
| 5525 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5526 | { |
| 5527 | .vendor = "Numonyx", |
| 5528 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5529 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5530 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5531 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5532 | .total_size = 1024, |
| 5533 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5534 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 5535 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5536 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5537 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5538 | .block_erasers = |
| 5539 | { |
| 5540 | { |
| 5541 | .eraseblocks = { {4 * 1024, 256} }, |
| 5542 | .block_erase = spi_block_erase_20, |
| 5543 | }, { |
| 5544 | .eraseblocks = { {64 * 1024, 16} }, |
| 5545 | .block_erase = spi_block_erase_d8, |
| 5546 | }, { |
| 5547 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5548 | .block_erase = spi_block_erase_c7, |
| 5549 | } |
| 5550 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5551 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5552 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5553 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5554 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5555 | }, |
| 5556 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5557 | { |
| 5558 | .vendor = "Numonyx", |
| 5559 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5560 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5561 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5562 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5563 | .total_size = 2048, |
| 5564 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5565 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5566 | .tested = TEST_UNTESTED, |
| 5567 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5568 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5569 | .block_erasers = |
| 5570 | { |
| 5571 | { |
| 5572 | .eraseblocks = { {4 * 1024, 512} }, |
| 5573 | .block_erase = spi_block_erase_20, |
| 5574 | }, { |
| 5575 | .eraseblocks = { {64 * 1024, 32} }, |
| 5576 | .block_erase = spi_block_erase_d8, |
| 5577 | }, { |
| 5578 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5579 | .block_erase = spi_block_erase_c7, |
| 5580 | } |
| 5581 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5582 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5583 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5584 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5585 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5586 | }, |
| 5587 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5588 | { |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 5589 | .vendor = "Numonyx", |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 5590 | .name = "N25Q064..1E", /* ..1E = 1.8V, uniform 64KB/4KB blocks/sectors */ |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 5591 | .bustype = BUS_SPI, |
| 5592 | .manufacture_id = ST_ID, |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 5593 | .model_id = ST_N25Q064__1E, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 5594 | .total_size = 8192, |
| 5595 | .page_size = 256, |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 5596 | /* supports SFDP */ |
| 5597 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 5598 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5599 | .tested = TEST_UNTESTED, |
| 5600 | .probe = probe_spi_rdid, |
| 5601 | .probe_timing = TIMING_ZERO, |
| 5602 | .block_erasers = |
| 5603 | { |
| 5604 | { |
| 5605 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 5606 | .block_erase = spi_block_erase_20, |
| 5607 | }, { |
| 5608 | .eraseblocks = { {64 * 1024, 128} }, |
| 5609 | .block_erase = spi_block_erase_d8, |
| 5610 | }, { |
| 5611 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5612 | .block_erase = spi_block_erase_c7, |
| 5613 | } |
| 5614 | }, |
| 5615 | .unlock = spi_disable_blockprotect, |
| 5616 | .write = spi_chip_write_256, |
| 5617 | .read = spi_chip_read, |
| 5618 | .voltage = {1700, 2000}, |
| 5619 | }, |
| 5620 | |
| 5621 | { |
| 5622 | .vendor = "Numonyx", |
| 5623 | .name = "N25Q064..3E", /* ..3E = 3V, uniform 64KB/4KB blocks/sectors */ |
| 5624 | .bustype = BUS_SPI, |
| 5625 | .manufacture_id = ST_ID, |
| 5626 | .model_id = ST_N25Q064__3E, |
| 5627 | .total_size = 8192, |
| 5628 | .page_size = 256, |
| 5629 | /* supports SFDP */ |
| 5630 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 5631 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 5632 | .tested = TEST_OK_PREW, |
| 5633 | .probe = probe_spi_rdid, |
| 5634 | .probe_timing = TIMING_ZERO, |
| 5635 | .block_erasers = |
| 5636 | { |
| 5637 | { |
| 5638 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 5639 | .block_erase = spi_block_erase_20, |
| 5640 | }, { |
| 5641 | .eraseblocks = { {64 * 1024, 128} }, |
| 5642 | .block_erase = spi_block_erase_d8, |
| 5643 | }, { |
| 5644 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5645 | .block_erase = spi_block_erase_c7, |
| 5646 | } |
| 5647 | }, |
| 5648 | .unlock = spi_disable_blockprotect, |
| 5649 | .write = spi_chip_write_256, |
| 5650 | .read = spi_chip_read, |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 5651 | .voltage = {2700, 3600}, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 5652 | }, |
| 5653 | |
| 5654 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5655 | .vendor = "PMC", |
| 5656 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5657 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5658 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5659 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5660 | .total_size = 128, |
| 5661 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5662 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5663 | .tested = TEST_UNTESTED, |
| 5664 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5665 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5666 | .block_erasers = |
| 5667 | { |
| 5668 | { |
| 5669 | .eraseblocks = { {4 * 1024, 32} }, |
| 5670 | .block_erase = spi_block_erase_d7, |
| 5671 | }, { |
| 5672 | .eraseblocks = { {32 * 1024, 4} }, |
| 5673 | .block_erase = spi_block_erase_d8, |
| 5674 | }, { |
| 5675 | .eraseblocks = { {128 * 1024, 1} }, |
| 5676 | .block_erase = spi_block_erase_c7, |
| 5677 | } |
| 5678 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5679 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5680 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5681 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5682 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5683 | }, |
| 5684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5685 | { |
| 5686 | .vendor = "PMC", |
| 5687 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5688 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5689 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5690 | .model_id = PMC_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5691 | .total_size = 2048, |
| 5692 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5693 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5694 | .tested = TEST_UNTESTED, |
| 5695 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5696 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5697 | .block_erasers = |
| 5698 | { |
| 5699 | { |
| 5700 | .eraseblocks = { {4 * 1024, 512} }, |
| 5701 | .block_erase = spi_block_erase_d7, |
| 5702 | }, { |
| 5703 | .eraseblocks = { {4 * 1024, 512} }, |
| 5704 | .block_erase = spi_block_erase_20, |
| 5705 | }, { |
| 5706 | .eraseblocks = { {64 * 1024, 32} }, |
| 5707 | .block_erase = spi_block_erase_d8, |
| 5708 | }, { |
| 5709 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5710 | .block_erase = spi_block_erase_60, |
| 5711 | }, { |
| 5712 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5713 | .block_erase = spi_block_erase_c7, |
| 5714 | } |
| 5715 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5716 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5717 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5718 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5719 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5720 | }, |
| 5721 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5722 | { |
| 5723 | .vendor = "PMC", |
| 5724 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5725 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5726 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5727 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5728 | .total_size = 256, |
| 5729 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5730 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5731 | .tested = TEST_UNTESTED, |
| 5732 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5733 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5734 | .block_erasers = |
| 5735 | { |
| 5736 | { |
| 5737 | .eraseblocks = { {4 * 1024, 64} }, |
| 5738 | .block_erase = spi_block_erase_d7, |
| 5739 | }, { |
| 5740 | .eraseblocks = { {64 * 1024, 4} }, |
| 5741 | .block_erase = spi_block_erase_d8, |
| 5742 | }, { |
| 5743 | .eraseblocks = { {256 * 1024, 1} }, |
| 5744 | .block_erase = spi_block_erase_c7, |
| 5745 | } |
| 5746 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5747 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5748 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5749 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5750 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5751 | }, |
| 5752 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5753 | { |
| 5754 | .vendor = "PMC", |
| 5755 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5756 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5757 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5758 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5759 | .total_size = 512, |
| 5760 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5761 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 5762 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5763 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5764 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5765 | .block_erasers = |
| 5766 | { |
| 5767 | { |
| 5768 | .eraseblocks = { {4 * 1024, 128} }, |
| 5769 | .block_erase = spi_block_erase_d7, |
| 5770 | }, { |
| 5771 | .eraseblocks = { {64 * 1024, 8} }, |
| 5772 | .block_erase = spi_block_erase_d8, |
| 5773 | }, { |
| 5774 | .eraseblocks = { {512 * 1024, 1} }, |
| 5775 | .block_erase = spi_block_erase_c7, |
| 5776 | } |
| 5777 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5778 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5779 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5780 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5781 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5782 | }, |
| 5783 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5784 | { |
| 5785 | .vendor = "PMC", |
| 5786 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5787 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5788 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5789 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5790 | .total_size = 1024, |
| 5791 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5792 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5793 | .tested = TEST_UNTESTED, |
| 5794 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5795 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5796 | .block_erasers = |
| 5797 | { |
| 5798 | { |
| 5799 | .eraseblocks = { {4 * 1024, 256} }, |
| 5800 | .block_erase = spi_block_erase_d7, |
| 5801 | }, { |
| 5802 | .eraseblocks = { {4 * 1024, 256} }, |
| 5803 | .block_erase = spi_block_erase_20, |
| 5804 | }, { |
| 5805 | .eraseblocks = { {64 * 1024, 16} }, |
| 5806 | .block_erase = spi_block_erase_d8, |
| 5807 | }, { |
| 5808 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5809 | .block_erase = spi_block_erase_60, |
| 5810 | }, { |
| 5811 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5812 | .block_erase = spi_block_erase_c7, |
| 5813 | } |
| 5814 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5815 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5816 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5817 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5818 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5819 | }, |
| 5820 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5821 | { |
| 5822 | .vendor = "PMC", |
| 5823 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5824 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5825 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5826 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5827 | .total_size = 64, |
| 5828 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 5829 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5830 | .tested = TEST_UNTESTED, |
| 5831 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5832 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5833 | .block_erasers = |
| 5834 | { |
| 5835 | { |
| 5836 | .eraseblocks = { {4 * 1024, 16} }, |
| 5837 | .block_erase = spi_block_erase_d7, |
| 5838 | }, { |
| 5839 | .eraseblocks = { {32 * 1024, 2} }, |
| 5840 | .block_erase = spi_block_erase_d8, |
| 5841 | }, { |
| 5842 | .eraseblocks = { {64 * 1024, 1} }, |
| 5843 | .block_erase = spi_block_erase_c7, |
| 5844 | } |
| 5845 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5846 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5847 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5848 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5849 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5850 | }, |
| 5851 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5852 | { |
| 5853 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5854 | .name = "Pm29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5855 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5856 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5857 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5858 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5859 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5860 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 5861 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5862 | .probe = probe_jedec, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 5863 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5864 | .block_erasers = |
| 5865 | { |
| 5866 | { |
| 5867 | .eraseblocks = { |
| 5868 | {128 * 1024, 1}, |
| 5869 | {96 * 1024, 1}, |
| 5870 | {8 * 1024, 2}, |
| 5871 | {16 * 1024, 1}, |
| 5872 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5873 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5874 | }, { |
| 5875 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5876 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5877 | }, |
| 5878 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5879 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5880 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5881 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5882 | }, |
| 5883 | |
| 5884 | { |
| 5885 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5886 | .name = "Pm29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5887 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5888 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5889 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5890 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5891 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5892 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5893 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5894 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5895 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5896 | .block_erasers = |
| 5897 | { |
| 5898 | { |
| 5899 | .eraseblocks = { |
| 5900 | {16 * 1024, 1}, |
| 5901 | {8 * 1024, 2}, |
| 5902 | {96 * 1024, 1}, |
| 5903 | {128 * 1024, 1}, |
| 5904 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5905 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5906 | }, { |
| 5907 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5908 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5909 | }, |
| 5910 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5911 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5912 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5913 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5914 | }, |
| 5915 | |
| 5916 | { |
| 5917 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5918 | .name = "Pm39LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5919 | .bustype = BUS_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5920 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5921 | .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] | 5922 | .total_size = 128, |
| 5923 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5924 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5925 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5926 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5927 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5928 | .block_erasers = |
| 5929 | { |
| 5930 | { |
| 5931 | .eraseblocks = { {4 * 1024, 32} }, |
| 5932 | .block_erase = erase_sector_jedec, |
| 5933 | }, { |
| 5934 | .eraseblocks = { {64 * 1024, 2} }, |
| 5935 | .block_erase = erase_block_jedec, |
| 5936 | }, { |
| 5937 | .eraseblocks = { {128 * 1024, 1} }, |
| 5938 | .block_erase = erase_chip_block_jedec, |
| 5939 | } |
| 5940 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5941 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5942 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5943 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5944 | }, |
| 5945 | |
| 5946 | { |
| 5947 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5948 | .name = "Pm39LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5949 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5950 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5951 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5952 | .total_size = 256, |
| 5953 | .page_size = 4096, |
| 5954 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5955 | .tested = TEST_UNTESTED, |
| 5956 | .probe = probe_jedec, |
| 5957 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5958 | .block_erasers = |
| 5959 | { |
| 5960 | { |
| 5961 | .eraseblocks = { {4 * 1024, 64} }, |
| 5962 | .block_erase = erase_sector_jedec, |
| 5963 | }, { |
| 5964 | .eraseblocks = { {64 * 1024, 4} }, |
| 5965 | .block_erase = erase_block_jedec, |
| 5966 | }, { |
| 5967 | .eraseblocks = { {256 * 1024, 1} }, |
| 5968 | .block_erase = erase_chip_block_jedec, |
| 5969 | } |
| 5970 | }, |
| 5971 | .write = write_jedec_1, |
| 5972 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5973 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5974 | }, |
| 5975 | |
| 5976 | { |
| 5977 | .vendor = "PMC", |
| 5978 | .name = "Pm39LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5979 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5980 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5981 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5982 | .total_size = 512, |
| 5983 | .page_size = 4096, |
| 5984 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5985 | .tested = TEST_OK_PR, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5986 | .probe = probe_jedec, |
| 5987 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5988 | .block_erasers = |
| 5989 | { |
| 5990 | { |
| 5991 | .eraseblocks = { {4 * 1024, 128} }, |
| 5992 | .block_erase = erase_sector_jedec, |
| 5993 | }, { |
| 5994 | .eraseblocks = { {64 * 1024, 8} }, |
| 5995 | .block_erase = erase_block_jedec, |
| 5996 | }, { |
| 5997 | .eraseblocks = { {512 * 1024, 1} }, |
| 5998 | .block_erase = erase_chip_block_jedec, |
| 5999 | } |
| 6000 | }, |
| 6001 | .write = write_jedec_1, |
| 6002 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6003 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 6004 | }, |
Kyösti Mälkki | edab1d2 | 2012-05-20 23:32:33 +0000 | [diff] [blame] | 6005 | |
| 6006 | { |
| 6007 | .vendor = "PMC", |
| 6008 | .name = "Pm39LV512", |
| 6009 | .bustype = BUS_PARALLEL, |
| 6010 | .manufacture_id = PMC_ID_NOPREFIX, |
| 6011 | .model_id = PMC_PM39LV512, |
| 6012 | .total_size = 64, |
| 6013 | .page_size = 4096, |
| 6014 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6015 | .tested = TEST_OK_PREW, |
| 6016 | .probe = probe_jedec, |
| 6017 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6018 | .block_erasers = |
| 6019 | { |
| 6020 | { |
| 6021 | .eraseblocks = { {4 * 1024, 16} }, |
| 6022 | .block_erase = erase_sector_jedec, |
| 6023 | }, { |
| 6024 | .eraseblocks = { {64 * 1024, 1} }, |
| 6025 | .block_erase = erase_block_jedec, |
| 6026 | }, { |
| 6027 | .eraseblocks = { {64 * 1024, 1} }, |
| 6028 | .block_erase = erase_chip_block_jedec, |
| 6029 | } |
| 6030 | }, |
| 6031 | .write = write_jedec_1, |
| 6032 | .read = read_memmapped, |
| 6033 | .voltage = {2700, 3600}, |
| 6034 | }, |
| 6035 | |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 6036 | { |
| 6037 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6038 | .name = "Pm49FL002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6039 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6040 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6041 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6042 | .total_size = 256, |
| 6043 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6044 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 6045 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6046 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6047 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6048 | .block_erasers = |
| 6049 | { |
| 6050 | { |
| 6051 | .eraseblocks = { {4 * 1024, 64} }, |
| 6052 | .block_erase = erase_sector_jedec, |
| 6053 | }, { |
| 6054 | .eraseblocks = { {16 * 1024, 16} }, |
| 6055 | .block_erase = erase_block_jedec, |
| 6056 | }, { |
| 6057 | .eraseblocks = { {256 * 1024, 1} }, |
| 6058 | .block_erase = erase_chip_block_jedec, |
| 6059 | } |
| 6060 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6061 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 6062 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6063 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6064 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6065 | }, |
| 6066 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6067 | { |
| 6068 | .vendor = "PMC", |
| 6069 | .name = "Pm49FL004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6070 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6071 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6072 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6073 | .total_size = 512, |
| 6074 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6075 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6076 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6077 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6078 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6079 | .block_erasers = |
| 6080 | { |
| 6081 | { |
| 6082 | .eraseblocks = { {4 * 1024, 128} }, |
| 6083 | .block_erase = erase_sector_jedec, |
| 6084 | }, { |
| 6085 | .eraseblocks = { {64 * 1024, 8} }, |
| 6086 | .block_erase = erase_block_jedec, |
| 6087 | }, { |
| 6088 | .eraseblocks = { {512 * 1024, 1} }, |
| 6089 | .block_erase = erase_chip_block_jedec, |
| 6090 | } |
| 6091 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6092 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 6093 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6094 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6095 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6096 | }, |
| 6097 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6098 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 6099 | .vendor = "Sanyo", |
| 6100 | .name = "LF25FW203A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6101 | .bustype = BUS_SPI, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 6102 | .manufacture_id = SANYO_ID, |
| 6103 | .model_id = SANYO_LE25FW203A, |
| 6104 | .total_size = 2048, |
| 6105 | .page_size = 256, |
| 6106 | .tested = TEST_UNTESTED, |
| 6107 | .probe = probe_spi_rdid, |
| 6108 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6109 | .block_erasers = |
| 6110 | { |
| 6111 | { |
| 6112 | .eraseblocks = { {64 * 1024, 32} }, |
| 6113 | .block_erase = spi_block_erase_d8, |
| 6114 | }, { |
| 6115 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6116 | .block_erase = spi_block_erase_c7, |
| 6117 | } |
| 6118 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6119 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 6120 | .write = spi_chip_write_256, |
| 6121 | .read = spi_chip_read, |
| 6122 | }, |
| 6123 | |
| 6124 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6125 | .vendor = "Sharp", |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 6126 | .name = "LH28F008BJT-BTLZ1", |
| 6127 | .bustype = BUS_PARALLEL, |
| 6128 | .manufacture_id = SHARP_ID, |
| 6129 | .model_id = SHARP_LH28F008BJxxPB, |
| 6130 | .total_size = 1024, |
| 6131 | .page_size = 64 * 1024, |
| 6132 | .tested = TEST_OK_PREW, |
| 6133 | .probe = probe_82802ab, |
| 6134 | .probe_timing = TIMING_ZERO, |
| 6135 | .block_erasers = |
| 6136 | { |
| 6137 | { |
| 6138 | .eraseblocks = { |
| 6139 | {8 * 1024, 8}, |
| 6140 | {64 * 1024, 15} |
| 6141 | }, |
| 6142 | .block_erase = erase_block_82802ab, |
| 6143 | }, { |
| 6144 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6145 | .block_erase = erase_sector_49lfxxxc, |
| 6146 | } |
| 6147 | }, |
| 6148 | .unlock = unlock_lh28f008bjt, |
| 6149 | .write = write_82802ab, |
| 6150 | .read = read_memmapped, |
| 6151 | .voltage = {2700, 3600}, |
| 6152 | }, |
| 6153 | |
| 6154 | { |
| 6155 | .vendor = "Sharp", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6156 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6157 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6158 | .manufacture_id = SHARP_ID, |
| 6159 | .model_id = SHARP_LHF00L04, |
| 6160 | .total_size = 1024, |
| 6161 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6162 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6163 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6164 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 6165 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 6166 | .block_erasers = |
| 6167 | { |
| 6168 | { |
| 6169 | .eraseblocks = { |
| 6170 | {64 * 1024, 15}, |
| 6171 | {8 * 1024, 8} |
| 6172 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6173 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 6174 | }, { |
| 6175 | .eraseblocks = { |
| 6176 | {1024 * 1024, 1} |
| 6177 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6178 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 6179 | }, |
| 6180 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6181 | .unlock = unlock_82802ab, |
| 6182 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6183 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6184 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6185 | }, |
| 6186 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6187 | { |
| 6188 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6189 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6190 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6191 | .manufacture_id = SPANSION_ID, |
| 6192 | .model_id = SPANSION_S25FL004A, |
| 6193 | .total_size = 512, |
| 6194 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6195 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6196 | .tested = TEST_UNTESTED, |
| 6197 | .probe = probe_spi_rdid, |
| 6198 | .probe_timing = TIMING_ZERO, |
| 6199 | .block_erasers = |
| 6200 | { |
| 6201 | { |
| 6202 | .eraseblocks = { {64 * 1024, 8} }, |
| 6203 | .block_erase = spi_block_erase_d8, |
| 6204 | }, { |
| 6205 | .eraseblocks = { {512 * 1024, 1} }, |
| 6206 | .block_erase = spi_block_erase_c7, |
| 6207 | } |
| 6208 | }, |
| 6209 | .unlock = spi_disable_blockprotect, |
| 6210 | .write = spi_chip_write_256, |
| 6211 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6212 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6213 | }, |
| 6214 | |
| 6215 | { |
| 6216 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 6217 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6218 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 6219 | .manufacture_id = SPANSION_ID, |
| 6220 | .model_id = SPANSION_S25FL008A, |
| 6221 | .total_size = 1024, |
| 6222 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6223 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6224 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 6225 | .probe = probe_spi_rdid, |
| 6226 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 6227 | .block_erasers = |
| 6228 | { |
| 6229 | { |
| 6230 | .eraseblocks = { {64 * 1024, 16} }, |
| 6231 | .block_erase = spi_block_erase_d8, |
| 6232 | }, { |
| 6233 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6234 | .block_erase = spi_block_erase_c7, |
| 6235 | } |
| 6236 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6237 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 6238 | .write = spi_chip_write_256, |
| 6239 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6240 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 6241 | }, |
| 6242 | |
| 6243 | { |
| 6244 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6245 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6246 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6247 | .manufacture_id = SPANSION_ID, |
| 6248 | .model_id = SPANSION_S25FL016A, |
| 6249 | .total_size = 2048, |
| 6250 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6251 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6252 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6253 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6254 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6255 | .block_erasers = |
| 6256 | { |
| 6257 | { |
| 6258 | .eraseblocks = { {64 * 1024, 32} }, |
| 6259 | .block_erase = spi_block_erase_d8, |
| 6260 | }, { |
| 6261 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6262 | .block_erase = spi_block_erase_c7, |
| 6263 | } |
| 6264 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6265 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6266 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6267 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6268 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6269 | }, |
| 6270 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6271 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6272 | .vendor = "Spansion", |
| 6273 | .name = "S25FL032A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6274 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6275 | .manufacture_id = SPANSION_ID, |
| 6276 | .model_id = SPANSION_S25FL032A, |
| 6277 | .total_size = 4096, |
| 6278 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6279 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 6280 | .tested = TEST_OK_PR, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6281 | .probe = probe_spi_rdid, |
| 6282 | .probe_timing = TIMING_ZERO, |
| 6283 | .block_erasers = |
| 6284 | { |
| 6285 | { |
| 6286 | .eraseblocks = { {64 * 1024, 64} }, |
| 6287 | .block_erase = spi_block_erase_d8, |
| 6288 | }, { |
| 6289 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6290 | .block_erase = spi_block_erase_c7, |
| 6291 | } |
| 6292 | }, |
| 6293 | .unlock = spi_disable_blockprotect, |
| 6294 | .write = spi_chip_write_256, |
| 6295 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6296 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6297 | }, |
| 6298 | |
| 6299 | { |
| 6300 | .vendor = "Spansion", |
| 6301 | .name = "S25FL064A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6302 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6303 | .manufacture_id = SPANSION_ID, |
| 6304 | .model_id = SPANSION_S25FL064A, |
| 6305 | .total_size = 8192, |
| 6306 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6307 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6308 | .tested = TEST_OK_PREW, |
| 6309 | .probe = probe_spi_rdid, |
| 6310 | .probe_timing = TIMING_ZERO, |
| 6311 | .block_erasers = |
| 6312 | { |
| 6313 | { |
| 6314 | .eraseblocks = { {64 * 1024, 128} }, |
| 6315 | .block_erase = spi_block_erase_d8, |
| 6316 | }, { |
| 6317 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6318 | .block_erase = spi_block_erase_c7, |
| 6319 | } |
| 6320 | }, |
| 6321 | .unlock = spi_disable_blockprotect, |
| 6322 | .write = spi_chip_write_256, |
| 6323 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6324 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 6325 | }, |
| 6326 | |
| 6327 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6328 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 6329 | .name = "SST25LF040A", |
| 6330 | .bustype = BUS_SPI, |
| 6331 | .manufacture_id = SST_ID, |
| 6332 | .model_id = SST_SST25VF040_REMS, |
| 6333 | .total_size = 512, |
| 6334 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6335 | .feature_bits = FEATURE_WRSR_EWSR, |
Uwe Hermann | 4335ec8 | 2011-09-07 20:20:25 +0000 | [diff] [blame] | 6336 | .tested = TEST_OK_PREW, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 6337 | .probe = probe_spi_res2, |
| 6338 | .probe_timing = TIMING_ZERO, |
| 6339 | .block_erasers = |
| 6340 | { |
| 6341 | { |
| 6342 | .eraseblocks = { {4 * 1024, 128} }, |
| 6343 | .block_erase = spi_block_erase_20, |
| 6344 | }, { |
| 6345 | .eraseblocks = { {32 * 1024, 16} }, |
| 6346 | .block_erase = spi_block_erase_52, |
| 6347 | }, { |
| 6348 | .eraseblocks = { {512 * 1024, 1} }, |
| 6349 | .block_erase = spi_block_erase_60, |
| 6350 | }, |
| 6351 | }, |
| 6352 | .unlock = spi_disable_blockprotect, |
| 6353 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 6354 | .read = spi_chip_read, |
| 6355 | .voltage = {3000, 3600}, |
| 6356 | }, |
| 6357 | |
| 6358 | { |
| 6359 | .vendor = "SST", |
| 6360 | .name = "SST25LF080A", |
| 6361 | .bustype = BUS_SPI, |
| 6362 | .manufacture_id = SST_ID, |
| 6363 | .model_id = SST_SST25VF080_REMS, |
| 6364 | .total_size = 1024, |
| 6365 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6366 | .feature_bits = FEATURE_WRSR_EWSR, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 6367 | .tested = TEST_UNTESTED, |
| 6368 | .probe = probe_spi_res2, |
| 6369 | .probe_timing = TIMING_ZERO, |
| 6370 | .block_erasers = |
| 6371 | { |
| 6372 | { |
| 6373 | .eraseblocks = { {4 * 1024, 256} }, |
| 6374 | .block_erase = spi_block_erase_20, |
| 6375 | }, { |
| 6376 | .eraseblocks = { {32 * 1024, 32} }, |
| 6377 | .block_erase = spi_block_erase_52, |
| 6378 | }, { |
| 6379 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6380 | .block_erase = spi_block_erase_60, |
| 6381 | }, |
| 6382 | }, |
| 6383 | .unlock = spi_disable_blockprotect, |
| 6384 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 6385 | .read = spi_chip_read, |
| 6386 | .voltage = {3000, 3600}, |
| 6387 | }, |
| 6388 | |
| 6389 | { |
| 6390 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6391 | .name = "SST25VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6392 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6393 | .manufacture_id = SST_ID, |
| 6394 | .model_id = SST_SST25VF010_REMS, |
| 6395 | .total_size = 128, |
| 6396 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6397 | .feature_bits = FEATURE_WRSR_EWSR, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6398 | .tested = TEST_OK_PREW, |
| 6399 | .probe = probe_spi_rems, |
| 6400 | .probe_timing = TIMING_ZERO, |
| 6401 | .block_erasers = |
| 6402 | { |
| 6403 | { |
| 6404 | .eraseblocks = { {4 * 1024, 32} }, |
| 6405 | .block_erase = spi_block_erase_20, |
| 6406 | }, { |
| 6407 | .eraseblocks = { {32 * 1024, 4} }, |
| 6408 | .block_erase = spi_block_erase_52, |
| 6409 | }, { |
| 6410 | .eraseblocks = { {128 * 1024, 1} }, |
| 6411 | .block_erase = spi_block_erase_60, |
| 6412 | }, |
| 6413 | }, |
| 6414 | .unlock = spi_disable_blockprotect, |
| 6415 | .write = spi_chip_write_1, |
| 6416 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6417 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6418 | }, |
| 6419 | |
| 6420 | { |
| 6421 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6422 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6423 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6424 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6425 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6426 | .total_size = 2048, |
| 6427 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6428 | .feature_bits = FEATURE_WRSR_EWSR, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6429 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6430 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6431 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6432 | .block_erasers = |
| 6433 | { |
| 6434 | { |
| 6435 | .eraseblocks = { {4 * 1024, 512} }, |
| 6436 | .block_erase = spi_block_erase_20, |
| 6437 | }, { |
| 6438 | .eraseblocks = { {32 * 1024, 64} }, |
| 6439 | .block_erase = spi_block_erase_52, |
| 6440 | }, { |
| 6441 | .eraseblocks = { {64 * 1024, 32} }, |
| 6442 | .block_erase = spi_block_erase_d8, |
| 6443 | }, { |
| 6444 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6445 | .block_erase = spi_block_erase_60, |
| 6446 | }, { |
| 6447 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6448 | .block_erase = spi_block_erase_c7, |
| 6449 | }, |
| 6450 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6451 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6452 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6453 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6454 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6455 | }, |
| 6456 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6457 | { |
| 6458 | .vendor = "SST", |
| 6459 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6460 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6461 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6462 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6463 | .total_size = 4096, |
| 6464 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6465 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 6466 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6467 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6468 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6469 | .block_erasers = |
| 6470 | { |
| 6471 | { |
| 6472 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6473 | .block_erase = spi_block_erase_20, |
| 6474 | }, { |
| 6475 | .eraseblocks = { {32 * 1024, 128} }, |
| 6476 | .block_erase = spi_block_erase_52, |
| 6477 | }, { |
| 6478 | .eraseblocks = { {64 * 1024, 64} }, |
| 6479 | .block_erase = spi_block_erase_d8, |
| 6480 | }, { |
| 6481 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6482 | .block_erase = spi_block_erase_60, |
| 6483 | }, { |
| 6484 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6485 | .block_erase = spi_block_erase_c7, |
| 6486 | }, |
| 6487 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6488 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 6489 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6490 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6491 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6492 | }, |
| 6493 | |
| 6494 | { |
| 6495 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6496 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6497 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6498 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6499 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6500 | .total_size = 8192, |
| 6501 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6502 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6503 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6504 | .probe = probe_spi_rdid, |
| 6505 | .probe_timing = TIMING_ZERO, |
| 6506 | .block_erasers = |
| 6507 | { |
| 6508 | { |
| 6509 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6510 | .block_erase = spi_block_erase_20, |
| 6511 | }, { |
| 6512 | .eraseblocks = { {32 * 1024, 256} }, |
| 6513 | .block_erase = spi_block_erase_52, |
| 6514 | }, { |
| 6515 | .eraseblocks = { {64 * 1024, 128} }, |
| 6516 | .block_erase = spi_block_erase_d8, |
| 6517 | }, { |
| 6518 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6519 | .block_erase = spi_block_erase_60, |
| 6520 | }, { |
| 6521 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6522 | .block_erase = spi_block_erase_c7, |
| 6523 | }, |
| 6524 | }, |
| 6525 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 6526 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6527 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6528 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6529 | }, |
| 6530 | |
| 6531 | { |
| 6532 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6533 | .name = "SST25VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6534 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6535 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6536 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6537 | .total_size = 512, |
| 6538 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6539 | .feature_bits = FEATURE_WRSR_EWSR, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6540 | .tested = TEST_OK_PR, |
| 6541 | .probe = probe_spi_rems, |
| 6542 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6543 | .block_erasers = |
| 6544 | { |
| 6545 | { |
| 6546 | .eraseblocks = { {4 * 1024, 128} }, |
| 6547 | .block_erase = spi_block_erase_20, |
| 6548 | }, { |
| 6549 | .eraseblocks = { {32 * 1024, 16} }, |
| 6550 | .block_erase = spi_block_erase_52, |
| 6551 | }, { |
| 6552 | .eraseblocks = { {512 * 1024, 1} }, |
| 6553 | .block_erase = spi_block_erase_60, |
| 6554 | }, |
| 6555 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6556 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6557 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6558 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6559 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6560 | }, |
| 6561 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6562 | { |
| 6563 | .vendor = "SST", |
| 6564 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6565 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6566 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6567 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6568 | .total_size = 512, |
| 6569 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6570 | .feature_bits = FEATURE_WRSR_EWSR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6571 | .tested = TEST_UNTESTED, |
| 6572 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6573 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6574 | .block_erasers = |
| 6575 | { |
| 6576 | { |
| 6577 | .eraseblocks = { {4 * 1024, 128} }, |
| 6578 | .block_erase = spi_block_erase_20, |
| 6579 | }, { |
| 6580 | .eraseblocks = { {32 * 1024, 16} }, |
| 6581 | .block_erase = spi_block_erase_52, |
| 6582 | }, { |
| 6583 | .eraseblocks = { {64 * 1024, 8} }, |
| 6584 | .block_erase = spi_block_erase_d8, |
| 6585 | }, { |
| 6586 | .eraseblocks = { {512 * 1024, 1} }, |
| 6587 | .block_erase = spi_block_erase_60, |
| 6588 | }, { |
| 6589 | .eraseblocks = { {512 * 1024, 1} }, |
| 6590 | .block_erase = spi_block_erase_c7, |
| 6591 | }, |
| 6592 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6593 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6594 | .write = spi_aai_write, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 6595 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6596 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 6597 | }, |
| 6598 | |
| 6599 | { |
| 6600 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6601 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6602 | .bustype = BUS_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6603 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6604 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6605 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6606 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6607 | .feature_bits = FEATURE_WRSR_EWSR, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6608 | .tested = TEST_OK_PR, |
| 6609 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6610 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6611 | .block_erasers = |
| 6612 | { |
| 6613 | { |
| 6614 | .eraseblocks = { {4 * 1024, 128} }, |
| 6615 | .block_erase = spi_block_erase_20, |
| 6616 | }, { |
| 6617 | .eraseblocks = { {32 * 1024, 16} }, |
| 6618 | .block_erase = spi_block_erase_52, |
| 6619 | }, { |
| 6620 | .eraseblocks = { {64 * 1024, 8} }, |
| 6621 | .block_erase = spi_block_erase_d8, |
| 6622 | }, { |
| 6623 | .eraseblocks = { {512 * 1024, 1} }, |
| 6624 | .block_erase = spi_block_erase_60, |
| 6625 | }, { |
| 6626 | .eraseblocks = { {512 * 1024, 1} }, |
| 6627 | .block_erase = spi_block_erase_c7, |
| 6628 | }, |
| 6629 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6630 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6631 | .write = spi_aai_write, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6632 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6633 | .voltage = {2700, 3600}, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6634 | }, |
| 6635 | |
| 6636 | { |
| 6637 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6638 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6639 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6640 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6641 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6642 | .total_size = 1024, |
| 6643 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6644 | .feature_bits = FEATURE_WRSR_EWSR, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 6645 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6646 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6647 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6648 | .block_erasers = |
| 6649 | { |
| 6650 | { |
| 6651 | .eraseblocks = { {4 * 1024, 256} }, |
| 6652 | .block_erase = spi_block_erase_20, |
| 6653 | }, { |
| 6654 | .eraseblocks = { {32 * 1024, 32} }, |
| 6655 | .block_erase = spi_block_erase_52, |
| 6656 | }, { |
| 6657 | .eraseblocks = { {64 * 1024, 16} }, |
| 6658 | .block_erase = spi_block_erase_d8, |
| 6659 | }, { |
| 6660 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6661 | .block_erase = spi_block_erase_60, |
| 6662 | }, { |
| 6663 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6664 | .block_erase = spi_block_erase_c7, |
| 6665 | }, |
| 6666 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6667 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6668 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6669 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6670 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6671 | }, |
| 6672 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6673 | { |
| 6674 | .vendor = "SST", |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 6675 | .name = "SST25WF512", |
| 6676 | .bustype = BUS_SPI, |
| 6677 | .manufacture_id = SST_ID, |
| 6678 | .model_id = SST_SST25WF512, |
| 6679 | .total_size = 64, |
| 6680 | .page_size = 256, |
| 6681 | .feature_bits = FEATURE_WRSR_EITHER, |
| 6682 | .tested = TEST_UNTESTED, |
| 6683 | .probe = probe_spi_rdid, |
| 6684 | .probe_timing = TIMING_ZERO, |
| 6685 | .block_erasers = |
| 6686 | { |
| 6687 | { |
| 6688 | .eraseblocks = { {4 * 1024, 16} }, |
| 6689 | .block_erase = spi_block_erase_20, |
| 6690 | }, { |
| 6691 | .eraseblocks = { {32 * 1024, 2} }, |
| 6692 | .block_erase = spi_block_erase_52, |
| 6693 | }, { |
| 6694 | .eraseblocks = { {1024 * 64, 1} }, |
| 6695 | .block_erase = spi_block_erase_60, |
| 6696 | }, { |
| 6697 | .eraseblocks = { {1024 * 64, 1} }, |
| 6698 | .block_erase = spi_block_erase_c7, |
| 6699 | }, |
| 6700 | }, |
| 6701 | .unlock = spi_disable_blockprotect, |
| 6702 | .write = spi_aai_write, |
| 6703 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6704 | .voltage = {1650, 1950}, |
| 6705 | }, |
| 6706 | |
| 6707 | { |
| 6708 | .vendor = "SST", |
| 6709 | .name = "SST25WF010", |
| 6710 | .bustype = BUS_SPI, |
| 6711 | .manufacture_id = SST_ID, |
| 6712 | .model_id = SST_SST25WF010, |
| 6713 | .total_size = 128, |
| 6714 | .page_size = 256, |
| 6715 | .feature_bits = FEATURE_WRSR_EITHER, |
| 6716 | .tested = TEST_UNTESTED, |
| 6717 | .probe = probe_spi_rdid, |
| 6718 | .probe_timing = TIMING_ZERO, |
| 6719 | .block_erasers = |
| 6720 | { |
| 6721 | { |
| 6722 | .eraseblocks = { {4 * 1024, 32} }, |
| 6723 | .block_erase = spi_block_erase_20, |
| 6724 | }, { |
| 6725 | .eraseblocks = { {32 * 1024, 4} }, |
| 6726 | .block_erase = spi_block_erase_52, |
| 6727 | }, { |
| 6728 | .eraseblocks = { {1024 * 128, 1} }, |
| 6729 | .block_erase = spi_block_erase_60, |
| 6730 | }, { |
| 6731 | .eraseblocks = { {1024 * 128, 1} }, |
| 6732 | .block_erase = spi_block_erase_c7, |
| 6733 | }, |
| 6734 | }, |
| 6735 | .unlock = spi_disable_blockprotect, |
| 6736 | .write = spi_aai_write, |
| 6737 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6738 | .voltage = {1650, 1950}, |
| 6739 | }, |
| 6740 | |
| 6741 | { |
| 6742 | .vendor = "SST", |
| 6743 | .name = "SST25WF020", |
| 6744 | .bustype = BUS_SPI, |
| 6745 | .manufacture_id = SST_ID, |
| 6746 | .model_id = SST_SST25WF020, |
| 6747 | .total_size = 256, |
| 6748 | .page_size = 256, |
| 6749 | .feature_bits = FEATURE_WRSR_EITHER, |
| 6750 | .tested = TEST_UNTESTED, |
| 6751 | .probe = probe_spi_rdid, |
| 6752 | .probe_timing = TIMING_ZERO, |
| 6753 | .block_erasers = |
| 6754 | { |
| 6755 | { |
| 6756 | .eraseblocks = { {4 * 1024, 64} }, |
| 6757 | .block_erase = spi_block_erase_20, |
| 6758 | }, { |
| 6759 | .eraseblocks = { {32 * 1024, 8} }, |
| 6760 | .block_erase = spi_block_erase_52, |
| 6761 | }, { |
| 6762 | .eraseblocks = { {64 * 1024, 4} }, |
| 6763 | .block_erase = spi_block_erase_d8, |
| 6764 | }, { |
| 6765 | .eraseblocks = { {1024 * 256, 1} }, |
| 6766 | .block_erase = spi_block_erase_60, |
| 6767 | }, { |
| 6768 | .eraseblocks = { {1024 * 256, 1} }, |
| 6769 | .block_erase = spi_block_erase_c7, |
| 6770 | }, |
| 6771 | }, |
| 6772 | .unlock = spi_disable_blockprotect, |
| 6773 | .write = spi_aai_write, |
| 6774 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6775 | .voltage = {1650, 1950}, |
| 6776 | }, |
| 6777 | |
| 6778 | { |
| 6779 | .vendor = "SST", |
| 6780 | .name = "SST25WF040", |
| 6781 | .bustype = BUS_SPI, |
| 6782 | .manufacture_id = SST_ID, |
| 6783 | .model_id = SST_SST25WF040, |
| 6784 | .total_size = 512, |
| 6785 | .page_size = 256, |
| 6786 | .feature_bits = FEATURE_WRSR_EITHER, |
| 6787 | .tested = TEST_UNTESTED, |
| 6788 | .probe = probe_spi_rdid, |
| 6789 | .probe_timing = TIMING_ZERO, |
| 6790 | .block_erasers = |
| 6791 | { |
| 6792 | { |
| 6793 | .eraseblocks = { {4 * 1024, 128} }, |
| 6794 | .block_erase = spi_block_erase_20, |
| 6795 | }, { |
| 6796 | .eraseblocks = { {32 * 1024, 16} }, |
| 6797 | .block_erase = spi_block_erase_52, |
| 6798 | }, { |
| 6799 | .eraseblocks = { {64 * 1024, 8} }, |
| 6800 | .block_erase = spi_block_erase_d8, |
| 6801 | }, { |
| 6802 | .eraseblocks = { {1024 * 512, 1} }, |
| 6803 | .block_erase = spi_block_erase_60, |
| 6804 | }, { |
| 6805 | .eraseblocks = { {1024 * 512, 1} }, |
| 6806 | .block_erase = spi_block_erase_c7, |
| 6807 | }, |
| 6808 | }, |
| 6809 | .unlock = spi_disable_blockprotect, |
| 6810 | .write = spi_aai_write, |
| 6811 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6812 | .voltage = {1650, 1950}, |
| 6813 | }, |
| 6814 | |
| 6815 | { |
| 6816 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6817 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6818 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6819 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6820 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6821 | .total_size = 512, |
| 6822 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6823 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6824 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6825 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6826 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6827 | .block_erasers = |
| 6828 | { |
| 6829 | { |
| 6830 | .eraseblocks = { {128, 4096} }, |
| 6831 | .block_erase = erase_sector_28sf040, |
| 6832 | }, { |
| 6833 | .eraseblocks = { {512 * 1024, 1} }, |
| 6834 | .block_erase = erase_chip_28sf040, |
| 6835 | } |
| 6836 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6837 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6838 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6839 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6840 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6841 | }, |
| 6842 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6843 | { |
| 6844 | .vendor = "SST", |
| 6845 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6846 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6847 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6848 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6849 | .total_size = 128, |
| 6850 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6851 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6852 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6853 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6854 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6855 | .block_erasers = |
| 6856 | { |
| 6857 | { |
| 6858 | .eraseblocks = { {128 * 1024, 1} }, |
| 6859 | .block_erase = erase_chip_block_jedec, |
| 6860 | } |
| 6861 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6862 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6863 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6864 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6865 | }, |
| 6866 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6867 | { |
| 6868 | .vendor = "SST", |
| 6869 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6870 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6871 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6872 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6873 | .total_size = 128, |
| 6874 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6875 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6876 | .tested = TEST_UNTESTED, |
| 6877 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6878 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6879 | .block_erasers = |
| 6880 | { |
| 6881 | { |
| 6882 | .eraseblocks = { {128 * 1024, 1} }, |
| 6883 | .block_erase = erase_chip_block_jedec, |
| 6884 | } |
| 6885 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6886 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6887 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6888 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6889 | }, |
| 6890 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6891 | { |
| 6892 | .vendor = "SST", |
| 6893 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6894 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6895 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6896 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6897 | .total_size = 256, |
| 6898 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6899 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6900 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6901 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6902 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6903 | .block_erasers = |
| 6904 | { |
| 6905 | { |
| 6906 | .eraseblocks = { {256 * 1024, 1} }, |
| 6907 | .block_erase = erase_chip_block_jedec, |
| 6908 | } |
| 6909 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6910 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6911 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6912 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6913 | }, |
| 6914 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6915 | { |
| 6916 | .vendor = "SST", |
| 6917 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6918 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6919 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6920 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6921 | .total_size = 256, |
| 6922 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6923 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6924 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6925 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6926 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6927 | .block_erasers = |
| 6928 | { |
| 6929 | { |
| 6930 | .eraseblocks = { {256 * 1024, 1} }, |
| 6931 | .block_erase = erase_chip_block_jedec, |
| 6932 | } |
| 6933 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6934 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6935 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6936 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6937 | }, |
| 6938 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6939 | { |
| 6940 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6941 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6942 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6943 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6944 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6945 | .total_size = 64, |
| 6946 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6947 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 6948 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6949 | .probe = probe_jedec, |
| 6950 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6951 | .block_erasers = |
| 6952 | { |
| 6953 | { |
| 6954 | .eraseblocks = { {4 * 1024, 16} }, |
| 6955 | .block_erase = erase_sector_jedec, |
| 6956 | }, { |
| 6957 | .eraseblocks = { {64 * 1024, 1} }, |
| 6958 | .block_erase = erase_chip_block_jedec, |
| 6959 | } |
| 6960 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6961 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6962 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6963 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6964 | }, |
| 6965 | |
| 6966 | { |
| 6967 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6968 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6969 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6970 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6971 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6972 | .total_size = 128, |
| 6973 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6974 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 6975 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6976 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6977 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6978 | .block_erasers = |
| 6979 | { |
| 6980 | { |
| 6981 | .eraseblocks = { {4 * 1024, 32} }, |
| 6982 | .block_erase = erase_sector_jedec, |
| 6983 | }, { |
| 6984 | .eraseblocks = { {128 * 1024, 1} }, |
| 6985 | .block_erase = erase_chip_block_jedec, |
| 6986 | } |
| 6987 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6988 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6989 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6990 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6991 | }, |
| 6992 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6993 | { |
| 6994 | .vendor = "SST", |
| 6995 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6996 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6997 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6998 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6999 | .total_size = 256, |
| 7000 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7001 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 7002 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7003 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7004 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7005 | .block_erasers = |
| 7006 | { |
| 7007 | { |
| 7008 | .eraseblocks = { {4 * 1024, 64} }, |
| 7009 | .block_erase = erase_sector_jedec, |
| 7010 | }, { |
| 7011 | .eraseblocks = { {256 * 1024, 1} }, |
| 7012 | .block_erase = erase_chip_block_jedec, |
| 7013 | } |
| 7014 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7015 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7016 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7017 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7018 | }, |
| 7019 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7020 | { |
| 7021 | .vendor = "SST", |
| 7022 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7023 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7024 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7025 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7026 | .total_size = 512, |
| 7027 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7028 | .feature_bits = FEATURE_EITHER_RESET, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7029 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7030 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7031 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7032 | .block_erasers = |
| 7033 | { |
| 7034 | { |
| 7035 | .eraseblocks = { {4 * 1024, 128} }, |
| 7036 | .block_erase = erase_sector_jedec, |
| 7037 | }, { |
| 7038 | .eraseblocks = { {512 * 1024, 1} }, |
| 7039 | .block_erase = erase_chip_block_jedec, |
| 7040 | } |
| 7041 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7042 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7043 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7044 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7045 | }, |
| 7046 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7047 | { |
| 7048 | .vendor = "SST", |
| 7049 | .name = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7050 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7051 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7052 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7053 | .total_size = 64, |
| 7054 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7055 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame^] | 7056 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7057 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7058 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7059 | .block_erasers = |
| 7060 | { |
| 7061 | { |
| 7062 | .eraseblocks = { {4 * 1024, 16} }, |
| 7063 | .block_erase = erase_sector_jedec, |
| 7064 | }, { |
| 7065 | .eraseblocks = { {64 * 1024, 1} }, |
| 7066 | .block_erase = erase_chip_block_jedec, |
| 7067 | } |
| 7068 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7069 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7070 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7071 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7072 | }, |
| 7073 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7074 | { |
| 7075 | .vendor = "SST", |
| 7076 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7077 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7078 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7079 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7080 | .total_size = 128, |
| 7081 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7082 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 7083 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7084 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7085 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7086 | .block_erasers = |
| 7087 | { |
| 7088 | { |
| 7089 | .eraseblocks = { {4 * 1024, 32} }, |
| 7090 | .block_erase = erase_sector_jedec, |
| 7091 | }, { |
| 7092 | .eraseblocks = { {128 * 1024, 1} }, |
| 7093 | .block_erase = erase_chip_block_jedec, |
| 7094 | } |
| 7095 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7096 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7097 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7098 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7099 | }, |
| 7100 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7101 | { |
| 7102 | .vendor = "SST", |
| 7103 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7104 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7105 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7106 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7107 | .total_size = 256, |
| 7108 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7109 | .feature_bits = FEATURE_EITHER_RESET, |
| 7110 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7111 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7112 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7113 | .block_erasers = |
| 7114 | { |
| 7115 | { |
| 7116 | .eraseblocks = { {4 * 1024, 64} }, |
| 7117 | .block_erase = erase_sector_jedec, |
| 7118 | }, { |
| 7119 | .eraseblocks = { {256 * 1024, 1} }, |
| 7120 | .block_erase = erase_chip_block_jedec, |
| 7121 | } |
| 7122 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7123 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7124 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7125 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7126 | }, |
| 7127 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7128 | { |
| 7129 | .vendor = "SST", |
| 7130 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7131 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7132 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7133 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7134 | .total_size = 512, |
| 7135 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7136 | .feature_bits = FEATURE_EITHER_RESET, |
| 7137 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7138 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7139 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7140 | .block_erasers = |
| 7141 | { |
| 7142 | { |
| 7143 | .eraseblocks = { {4 * 1024, 128} }, |
| 7144 | .block_erase = erase_sector_jedec, |
| 7145 | }, { |
| 7146 | .eraseblocks = { {512 * 1024, 1} }, |
| 7147 | .block_erase = erase_chip_block_jedec, |
| 7148 | } |
| 7149 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7150 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7151 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7152 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 7153 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7154 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7155 | { |
| 7156 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 7157 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7158 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 7159 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7160 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 7161 | .total_size = 1024, |
| 7162 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7163 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 7164 | .tested = TEST_UNTESTED, |
| 7165 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7166 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7167 | .block_erasers = |
| 7168 | { |
| 7169 | { |
| 7170 | .eraseblocks = { {4 * 1024, 256} }, |
| 7171 | .block_erase = erase_sector_jedec, |
| 7172 | }, { |
| 7173 | .eraseblocks = { {64 * 1024, 16} }, |
| 7174 | .block_erase = erase_block_jedec, |
| 7175 | }, { |
| 7176 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7177 | .block_erase = erase_chip_block_jedec, |
| 7178 | } |
| 7179 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7180 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7181 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7182 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 7183 | }, |
| 7184 | |
| 7185 | { |
| 7186 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7187 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7188 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7189 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7190 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7191 | .total_size = 256, |
| 7192 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7193 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 7194 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7195 | .probe = probe_jedec, |
| 7196 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7197 | .block_erasers = |
| 7198 | { |
| 7199 | { |
| 7200 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7201 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7202 | }, { |
| 7203 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7204 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7205 | }, { |
| 7206 | .eraseblocks = { {256 * 1024, 1} }, |
| 7207 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 7208 | } |
| 7209 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7210 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7211 | .unlock = unlock_sst_fwhub, |
| 7212 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7213 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7214 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7215 | }, |
| 7216 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7217 | { |
| 7218 | .vendor = "SST", |
| 7219 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7220 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7221 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7222 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7223 | .total_size = 384, |
| 7224 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7225 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 7226 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7227 | .probe = probe_jedec, |
| 7228 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7229 | .block_erasers = |
| 7230 | { |
| 7231 | { |
| 7232 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7233 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7234 | }, { |
| 7235 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7236 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7237 | }, { |
| 7238 | .eraseblocks = { {384 * 1024, 1} }, |
| 7239 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 7240 | } |
| 7241 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7242 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7243 | .unlock = unlock_sst_fwhub, |
| 7244 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7245 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7246 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7247 | }, |
| 7248 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7249 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 7250 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 7251 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 7252 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7253 | .vendor = "SST", |
| 7254 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7255 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7256 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7257 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7258 | .total_size = 512, |
| 7259 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7260 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 7261 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7262 | .probe = probe_jedec, |
| 7263 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 7264 | .block_erasers = |
| 7265 | { |
| 7266 | { |
| 7267 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7268 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 7269 | }, { |
| 7270 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7271 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 7272 | }, { |
| 7273 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7274 | .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] | 7275 | }, |
| 7276 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7277 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7278 | .unlock = unlock_sst_fwhub, |
| 7279 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7280 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7281 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7282 | }, |
| 7283 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7284 | { |
| 7285 | .vendor = "SST", |
| 7286 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7287 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7288 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7289 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7290 | .total_size = 512, |
| 7291 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7292 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7293 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7294 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7295 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7296 | .block_erasers = |
| 7297 | { |
| 7298 | { |
| 7299 | .eraseblocks = { {4 * 1024, 128} }, |
| 7300 | .block_erase = erase_sector_49lfxxxc, |
| 7301 | }, { |
| 7302 | .eraseblocks = { |
| 7303 | {64 * 1024, 7}, |
| 7304 | {32 * 1024, 1}, |
| 7305 | {8 * 1024, 2}, |
| 7306 | {16 * 1024, 1}, |
| 7307 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7308 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7309 | } |
| 7310 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7311 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7312 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7313 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7314 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7315 | }, |
| 7316 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7317 | { |
| 7318 | .vendor = "SST", |
| 7319 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7320 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7321 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7322 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7323 | .total_size = 1024, |
| 7324 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7325 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 7326 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7327 | .probe = probe_jedec, |
| 7328 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7329 | .block_erasers = |
| 7330 | { |
| 7331 | { |
| 7332 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7333 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7334 | }, { |
| 7335 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7336 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7337 | }, { |
| 7338 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7339 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 7340 | } |
| 7341 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7342 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 7343 | .unlock = unlock_sst_fwhub, |
| 7344 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7345 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7346 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7347 | }, |
| 7348 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7349 | { |
| 7350 | .vendor = "SST", |
| 7351 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7352 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7353 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7354 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7355 | .total_size = 1024, |
| 7356 | .page_size = 4 * 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, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7359 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7360 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7361 | .block_erasers = |
| 7362 | { |
| 7363 | { |
| 7364 | .eraseblocks = { {4 * 1024, 256} }, |
| 7365 | .block_erase = erase_sector_49lfxxxc, |
| 7366 | }, { |
| 7367 | .eraseblocks = { |
| 7368 | {64 * 1024, 15}, |
| 7369 | {32 * 1024, 1}, |
| 7370 | {8 * 1024, 2}, |
| 7371 | {16 * 1024, 1}, |
| 7372 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7373 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7374 | } |
| 7375 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7376 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 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}, |
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 = "SST", |
| 7384 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7385 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7386 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7387 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7388 | .total_size = 2048, |
| 7389 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7390 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 7391 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7392 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7393 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7394 | .block_erasers = |
| 7395 | { |
| 7396 | { |
| 7397 | .eraseblocks = { {4 * 1024, 512} }, |
| 7398 | .block_erase = erase_sector_49lfxxxc, |
| 7399 | }, { |
| 7400 | .eraseblocks = { |
| 7401 | {64 * 1024, 31}, |
| 7402 | {32 * 1024, 1}, |
| 7403 | {8 * 1024, 2}, |
| 7404 | {16 * 1024, 1}, |
| 7405 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7406 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7407 | } |
| 7408 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7409 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 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}, |
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 = "SST", |
| 7417 | .name = "SST49LF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7418 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7419 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7420 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7421 | .total_size = 256, |
| 7422 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7423 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 7424 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7425 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7426 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7427 | .block_erasers = |
| 7428 | { |
| 7429 | { |
| 7430 | .eraseblocks = { {4 * 1024, 64} }, |
| 7431 | .block_erase = erase_sector_jedec, |
| 7432 | }, { |
| 7433 | .eraseblocks = { {16 * 1024, 16} }, |
| 7434 | .block_erase = erase_block_jedec, |
| 7435 | }, { |
| 7436 | .eraseblocks = { {256 * 1024, 1} }, |
| 7437 | .block_erase = NULL, |
| 7438 | } |
| 7439 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7440 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7441 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7442 | .voltage = {3000, 3600}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 7443 | }, |
| 7444 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7445 | { |
| 7446 | .vendor = "SST", |
| 7447 | .name = "SST49LF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7448 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7449 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7450 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7451 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 7452 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7453 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7454 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7455 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7456 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7457 | .block_erasers = |
| 7458 | { |
| 7459 | { |
| 7460 | .eraseblocks = { {4 * 1024, 64} }, |
| 7461 | .block_erase = erase_sector_jedec, |
| 7462 | }, { |
| 7463 | .eraseblocks = { {16 * 1024, 16} }, |
| 7464 | .block_erase = erase_block_jedec, |
| 7465 | }, { |
| 7466 | .eraseblocks = { {256 * 1024, 1} }, |
| 7467 | .block_erase = NULL, |
| 7468 | } |
| 7469 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7470 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7471 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7472 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7473 | }, |
| 7474 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7475 | { |
| 7476 | .vendor = "SST", |
| 7477 | .name = "SST49LF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7478 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7479 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7480 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7481 | .total_size = 512, |
| 7482 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7483 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7484 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7485 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7486 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7487 | .block_erasers = |
| 7488 | { |
| 7489 | { |
| 7490 | .eraseblocks = { {4 * 1024, 128} }, |
| 7491 | .block_erase = erase_sector_jedec, |
| 7492 | }, { |
| 7493 | .eraseblocks = { {64 * 1024, 8} }, |
| 7494 | .block_erase = erase_block_jedec, |
| 7495 | }, { |
| 7496 | .eraseblocks = { {512 * 1024, 1} }, |
| 7497 | .block_erase = NULL, |
| 7498 | } |
| 7499 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7500 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7501 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7502 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7503 | }, |
| 7504 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7505 | { |
| 7506 | .vendor = "SST", |
| 7507 | .name = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7508 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7509 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7510 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7511 | .total_size = 512, |
| 7512 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 7513 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7514 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7515 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7516 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7517 | .block_erasers = |
| 7518 | { |
| 7519 | { |
| 7520 | .eraseblocks = { {4 * 1024, 128} }, |
| 7521 | .block_erase = erase_sector_jedec, |
| 7522 | }, { |
| 7523 | .eraseblocks = { {64 * 1024, 8} }, |
| 7524 | .block_erase = erase_block_jedec, |
| 7525 | }, { |
| 7526 | .eraseblocks = { {512 * 1024, 1} }, |
| 7527 | .block_erase = NULL, |
| 7528 | } |
| 7529 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 7530 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7531 | .write = write_jedec_1, |
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}, |
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 = "SST", |
| 7538 | .name = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7539 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7540 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7541 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7542 | .total_size = 1024, |
| 7543 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7544 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 7545 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7546 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7547 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7548 | .block_erasers = |
| 7549 | { |
| 7550 | { |
| 7551 | .eraseblocks = { {4 * 1024, 256} }, |
| 7552 | .block_erase = erase_sector_jedec, |
| 7553 | }, { |
| 7554 | .eraseblocks = { {64 * 1024, 16} }, |
| 7555 | .block_erase = erase_block_jedec, |
| 7556 | }, { |
| 7557 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7558 | .block_erase = NULL, |
| 7559 | } |
| 7560 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7561 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7562 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7563 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7564 | }, |
| 7565 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7566 | { |
| 7567 | .vendor = "SST", |
| 7568 | .name = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7569 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7570 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7571 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7572 | .total_size = 2048, |
| 7573 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7574 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7575 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7576 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7577 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7578 | .block_erasers = |
| 7579 | { |
| 7580 | { |
| 7581 | .eraseblocks = { {4 * 1024, 512} }, |
| 7582 | .block_erase = erase_sector_49lfxxxc, |
| 7583 | }, { |
| 7584 | .eraseblocks = { |
| 7585 | {64 * 1024, 31}, |
| 7586 | {32 * 1024, 1}, |
| 7587 | {8 * 1024, 2}, |
| 7588 | {16 * 1024, 1}, |
| 7589 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7590 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7591 | } |
| 7592 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7593 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7594 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7595 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7596 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7597 | }, |
| 7598 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7599 | { |
| 7600 | .vendor = "ST", |
| 7601 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7602 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7603 | .manufacture_id = ST_ID, |
| 7604 | .model_id = ST_M25P05A, |
| 7605 | .total_size = 64, |
| 7606 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7607 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7608 | .tested = TEST_UNTESTED, |
| 7609 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7610 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7611 | .block_erasers = |
| 7612 | { |
| 7613 | { |
| 7614 | .eraseblocks = { {32 * 1024, 2} }, |
| 7615 | .block_erase = spi_block_erase_d8, |
| 7616 | }, { |
| 7617 | .eraseblocks = { {64 * 1024, 1} }, |
| 7618 | .block_erase = spi_block_erase_c7, |
| 7619 | } |
| 7620 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7621 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7622 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7623 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7624 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7625 | }, |
| 7626 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7627 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 7628 | * 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] | 7629 | * 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] | 7630 | * only is successful if RDID does not work. |
| 7631 | */ |
| 7632 | { |
| 7633 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7634 | .name = "M25P05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7635 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7636 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7637 | .model_id = ST_M25P05_RES, |
| 7638 | .total_size = 64, |
| 7639 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7640 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7641 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7642 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7643 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7644 | .block_erasers = |
| 7645 | { |
| 7646 | { |
| 7647 | .eraseblocks = { {32 * 1024, 2} }, |
| 7648 | .block_erase = spi_block_erase_d8, |
| 7649 | }, { |
| 7650 | .eraseblocks = { {64 * 1024, 1} }, |
| 7651 | .block_erase = spi_block_erase_c7, |
| 7652 | } |
| 7653 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7654 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7655 | .write = spi_chip_write_1, /* 128 */ |
| 7656 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7657 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7658 | }, |
| 7659 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7660 | { |
| 7661 | .vendor = "ST", |
| 7662 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7663 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7664 | .manufacture_id = ST_ID, |
| 7665 | .model_id = ST_M25P10A, |
| 7666 | .total_size = 128, |
| 7667 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7668 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7669 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7670 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7671 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7672 | .block_erasers = |
| 7673 | { |
| 7674 | { |
| 7675 | .eraseblocks = { {32 * 1024, 4} }, |
| 7676 | .block_erase = spi_block_erase_d8, |
| 7677 | }, { |
| 7678 | .eraseblocks = { {128 * 1024, 1} }, |
| 7679 | .block_erase = spi_block_erase_c7, |
| 7680 | } |
| 7681 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7682 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7683 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7684 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7685 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7686 | }, |
| 7687 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7688 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 7689 | { |
| 7690 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7691 | .name = "M25P10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7692 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7693 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7694 | .model_id = ST_M25P10_RES, |
| 7695 | .total_size = 128, |
| 7696 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7697 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7698 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7699 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7700 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7701 | .block_erasers = |
| 7702 | { |
| 7703 | { |
| 7704 | .eraseblocks = { {32 * 1024, 4} }, |
| 7705 | .block_erase = spi_block_erase_d8, |
| 7706 | }, { |
| 7707 | .eraseblocks = { {128 * 1024, 1} }, |
| 7708 | .block_erase = spi_block_erase_c7, |
| 7709 | } |
| 7710 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7711 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7712 | .write = spi_chip_write_1, /* 128 */ |
| 7713 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7714 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7715 | }, |
| 7716 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7717 | { |
| 7718 | .vendor = "ST", |
| 7719 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7720 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7721 | .manufacture_id = ST_ID, |
| 7722 | .model_id = ST_M25P20, |
| 7723 | .total_size = 256, |
| 7724 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7725 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7726 | .tested = TEST_UNTESTED, |
| 7727 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7728 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7729 | .block_erasers = |
| 7730 | { |
| 7731 | { |
| 7732 | .eraseblocks = { {64 * 1024, 4} }, |
| 7733 | .block_erase = spi_block_erase_d8, |
| 7734 | }, { |
| 7735 | .eraseblocks = { {256 * 1024, 1} }, |
| 7736 | .block_erase = spi_block_erase_c7, |
| 7737 | } |
| 7738 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7739 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7740 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7741 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7742 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7743 | }, |
| 7744 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7745 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7746 | .vendor = "ST", /* Numonyx */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7747 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7748 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7749 | .manufacture_id = ST_ID, |
| 7750 | .model_id = ST_M25P40, |
| 7751 | .total_size = 512, |
| 7752 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7753 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 7754 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7755 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7756 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7757 | .block_erasers = |
| 7758 | { |
| 7759 | { |
| 7760 | .eraseblocks = { {64 * 1024, 8} }, |
| 7761 | .block_erase = spi_block_erase_d8, |
| 7762 | }, { |
| 7763 | .eraseblocks = { {512 * 1024, 1} }, |
| 7764 | .block_erase = spi_block_erase_c7, |
| 7765 | } |
| 7766 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7767 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7768 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7769 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7770 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7771 | }, |
| 7772 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7773 | { |
| 7774 | .vendor = "ST", |
| 7775 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7776 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7777 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7778 | .model_id = ST_M25P40_RES, |
| 7779 | .total_size = 512, |
| 7780 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7781 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7782 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7783 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7784 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7785 | .block_erasers = |
| 7786 | { |
| 7787 | { |
| 7788 | .eraseblocks = { {64 * 1024, 8} }, |
| 7789 | .block_erase = spi_block_erase_d8, |
| 7790 | }, { |
| 7791 | .eraseblocks = { {512 * 1024, 1} }, |
| 7792 | .block_erase = spi_block_erase_c7, |
| 7793 | } |
| 7794 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7795 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7796 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7797 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7798 | }, |
| 7799 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7800 | { |
| 7801 | .vendor = "ST", |
| 7802 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7803 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7804 | .manufacture_id = ST_ID, |
| 7805 | .model_id = ST_M25P80, |
| 7806 | .total_size = 1024, |
| 7807 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7808 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 7809 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7810 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7811 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7812 | .block_erasers = |
| 7813 | { |
| 7814 | { |
| 7815 | .eraseblocks = { {64 * 1024, 16} }, |
| 7816 | .block_erase = spi_block_erase_d8, |
| 7817 | }, { |
| 7818 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7819 | .block_erase = spi_block_erase_c7, |
| 7820 | } |
| 7821 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7822 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7823 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7824 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7825 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7826 | }, |
| 7827 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7828 | { |
| 7829 | .vendor = "ST", |
| 7830 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7831 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7832 | .manufacture_id = ST_ID, |
| 7833 | .model_id = ST_M25P16, |
| 7834 | .total_size = 2048, |
| 7835 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7836 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7837 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7838 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7839 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7840 | .block_erasers = |
| 7841 | { |
| 7842 | { |
| 7843 | .eraseblocks = { {64 * 1024, 32} }, |
| 7844 | .block_erase = spi_block_erase_d8, |
| 7845 | }, { |
| 7846 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7847 | .block_erase = spi_block_erase_c7, |
| 7848 | } |
| 7849 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7850 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7851 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7852 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7853 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7854 | }, |
| 7855 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7856 | { |
| 7857 | .vendor = "ST", |
| 7858 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7859 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7860 | .manufacture_id = ST_ID, |
| 7861 | .model_id = ST_M25P32, |
| 7862 | .total_size = 4096, |
| 7863 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7864 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7865 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7866 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7867 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7868 | .block_erasers = |
| 7869 | { |
| 7870 | { |
| 7871 | .eraseblocks = { {64 * 1024, 64} }, |
| 7872 | .block_erase = spi_block_erase_d8, |
| 7873 | }, { |
| 7874 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7875 | .block_erase = spi_block_erase_c7, |
| 7876 | } |
| 7877 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7878 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7879 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7880 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7881 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7882 | }, |
| 7883 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7884 | { |
| 7885 | .vendor = "ST", |
| 7886 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7887 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7888 | .manufacture_id = ST_ID, |
| 7889 | .model_id = ST_M25P64, |
| 7890 | .total_size = 8192, |
| 7891 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7892 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 7893 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7894 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7895 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7896 | .block_erasers = |
| 7897 | { |
| 7898 | { |
| 7899 | .eraseblocks = { {64 * 1024, 128} }, |
| 7900 | .block_erase = spi_block_erase_d8, |
| 7901 | }, { |
| 7902 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7903 | .block_erase = spi_block_erase_c7, |
| 7904 | } |
| 7905 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7906 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7907 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7908 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7909 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7910 | }, |
| 7911 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7912 | { |
| 7913 | .vendor = "ST", |
| 7914 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7915 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7916 | .manufacture_id = ST_ID, |
| 7917 | .model_id = ST_M25P128, |
| 7918 | .total_size = 16384, |
| 7919 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7920 | .feature_bits = FEATURE_WRSR_WREN, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 7921 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7922 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7923 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7924 | .block_erasers = |
| 7925 | { |
| 7926 | { |
| 7927 | .eraseblocks = { {256 * 1024, 64} }, |
| 7928 | .block_erase = spi_block_erase_d8, |
| 7929 | }, { |
| 7930 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7931 | .block_erase = spi_block_erase_c7, |
| 7932 | } |
| 7933 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7934 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7935 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7936 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7937 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7938 | }, |
| 7939 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7940 | { |
| 7941 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7942 | .name = "M25PX16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7943 | .bustype = BUS_SPI, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7944 | .manufacture_id = ST_ID, |
| 7945 | .model_id = ST_M25PX16, |
| 7946 | .total_size = 2048, |
| 7947 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 7948 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7949 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7950 | .tested = TEST_OK_PREW, |
| 7951 | .probe = probe_spi_rdid, |
| 7952 | .probe_timing = TIMING_ZERO, |
| 7953 | .block_erasers = |
| 7954 | { |
| 7955 | { |
| 7956 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 7957 | .block_erase = spi_block_erase_20, |
| 7958 | }, { |
| 7959 | .eraseblocks = { {64 * 1024, 32} }, |
| 7960 | .block_erase = spi_block_erase_d8, |
| 7961 | }, { |
| 7962 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7963 | .block_erase = spi_block_erase_c7, |
| 7964 | } |
| 7965 | }, |
| 7966 | .unlock = spi_disable_blockprotect, |
| 7967 | .write = spi_chip_write_256, |
| 7968 | .read = spi_chip_read, |
| 7969 | }, |
| 7970 | |
| 7971 | { |
| 7972 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7973 | .name = "M25PX32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7974 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7975 | .manufacture_id = ST_ID, |
| 7976 | .model_id = ST_M25PX32, |
| 7977 | .total_size = 4096, |
| 7978 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7979 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7980 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7981 | .probe = probe_spi_rdid, |
| 7982 | .probe_timing = TIMING_ZERO, |
| 7983 | .block_erasers = |
| 7984 | { |
| 7985 | { |
| 7986 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 7987 | .block_erase = spi_block_erase_20, |
| 7988 | }, { |
| 7989 | .eraseblocks = { {64 * 1024, 64} }, |
| 7990 | .block_erase = spi_block_erase_d8, |
| 7991 | }, { |
| 7992 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7993 | .block_erase = spi_block_erase_c7, |
| 7994 | } |
| 7995 | }, |
| 7996 | .unlock = spi_disable_blockprotect, |
| 7997 | .write = spi_chip_write_256, |
| 7998 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7999 | .voltage = {2700, 3600}, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 8000 | }, |
| 8001 | |
| 8002 | { |
| 8003 | .vendor = "ST", |
| 8004 | .name = "M25PX64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8005 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 8006 | .manufacture_id = ST_ID, |
| 8007 | .model_id = ST_M25PX64, |
| 8008 | .total_size = 8192, |
| 8009 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8010 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8011 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 8012 | .probe = probe_spi_rdid, |
| 8013 | .probe_timing = TIMING_ZERO, |
| 8014 | .block_erasers = |
| 8015 | { |
| 8016 | { |
| 8017 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 8018 | .block_erase = spi_block_erase_20, |
| 8019 | }, { |
| 8020 | .eraseblocks = { {64 * 1024, 128} }, |
| 8021 | .block_erase = spi_block_erase_d8, |
| 8022 | }, { |
| 8023 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8024 | .block_erase = spi_block_erase_c7, |
| 8025 | } |
| 8026 | }, |
| 8027 | .unlock = spi_disable_blockprotect, |
| 8028 | .write = spi_chip_write_256, |
| 8029 | .read = spi_chip_read, |
| 8030 | }, |
| 8031 | |
| 8032 | { |
| 8033 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8034 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8035 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8036 | .manufacture_id = ST_ID, |
| 8037 | .model_id = ST_M29F002B, |
| 8038 | .total_size = 256, |
| 8039 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8040 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8041 | .tested = TEST_UNTESTED, |
| 8042 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8043 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8044 | .block_erasers = |
| 8045 | { |
| 8046 | { |
| 8047 | .eraseblocks = { |
| 8048 | {16 * 1024, 1}, |
| 8049 | {8 * 1024, 2}, |
| 8050 | {32 * 1024, 1}, |
| 8051 | {64 * 1024, 3}, |
| 8052 | }, |
| 8053 | .block_erase = erase_sector_jedec, |
| 8054 | }, { |
| 8055 | .eraseblocks = { {256 * 1024, 1} }, |
| 8056 | .block_erase = erase_chip_block_jedec, |
| 8057 | } |
| 8058 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8059 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8060 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8061 | .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] | 8062 | }, |
| 8063 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8064 | { |
| 8065 | .vendor = "ST", |
| 8066 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8067 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8068 | .manufacture_id = ST_ID, |
| 8069 | .model_id = ST_M29F002T, |
| 8070 | .total_size = 256, |
| 8071 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8072 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 8073 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8074 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8075 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8076 | .block_erasers = |
| 8077 | { |
| 8078 | { |
| 8079 | .eraseblocks = { |
| 8080 | {64 * 1024, 3}, |
| 8081 | {32 * 1024, 1}, |
| 8082 | {8 * 1024, 2}, |
| 8083 | {16 * 1024, 1}, |
| 8084 | }, |
| 8085 | .block_erase = erase_sector_jedec, |
| 8086 | }, { |
| 8087 | .eraseblocks = { {256 * 1024, 1} }, |
| 8088 | .block_erase = erase_chip_block_jedec, |
| 8089 | } |
| 8090 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8091 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8092 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8093 | .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] | 8094 | }, |
| 8095 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8096 | { |
| 8097 | .vendor = "ST", |
| 8098 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8099 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8100 | .manufacture_id = ST_ID, |
| 8101 | .model_id = ST_M29F040B, |
| 8102 | .total_size = 512, |
| 8103 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8104 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 8105 | .tested = TEST_UNTESTED, |
| 8106 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 8107 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8108 | .block_erasers = |
| 8109 | { |
| 8110 | { |
| 8111 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8112 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8113 | }, { |
| 8114 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8115 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8116 | } |
| 8117 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8118 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8119 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8120 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8121 | }, |
| 8122 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8123 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8124 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8125 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 8126 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8127 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 8128 | .manufacture_id = ST_ID, |
| 8129 | .model_id = ST_M29F400BB, |
| 8130 | .total_size = 512, |
| 8131 | .page_size = 64 * 1024, |
| 8132 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8133 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 8134 | .probe = probe_m29f400bt, |
| 8135 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 8136 | .block_erasers = |
| 8137 | { |
| 8138 | { |
| 8139 | .eraseblocks = { |
| 8140 | {16 * 1024, 1}, |
| 8141 | {8 * 1024, 2}, |
| 8142 | {32 * 1024, 1}, |
| 8143 | {64 * 1024, 7}, |
| 8144 | }, |
| 8145 | .block_erase = block_erase_m29f400bt, |
| 8146 | }, { |
| 8147 | .eraseblocks = { {512 * 1024, 1} }, |
| 8148 | .block_erase = block_erase_chip_m29f400bt, |
| 8149 | } |
| 8150 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8151 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 8152 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8153 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 8154 | }, |
| 8155 | { |
| 8156 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 8157 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8158 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8159 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8160 | .manufacture_id = ST_ID, |
| 8161 | .model_id = ST_M29F400BT, |
| 8162 | .total_size = 512, |
| 8163 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8164 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8165 | .tested = TEST_UNTESTED, |
| 8166 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8167 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8168 | .block_erasers = |
| 8169 | { |
| 8170 | { |
| 8171 | .eraseblocks = { |
| 8172 | {64 * 1024, 7}, |
| 8173 | {32 * 1024, 1}, |
| 8174 | {8 * 1024, 2}, |
| 8175 | {16 * 1024, 1}, |
| 8176 | }, |
| 8177 | .block_erase = block_erase_m29f400bt, |
| 8178 | }, { |
| 8179 | .eraseblocks = { {512 * 1024, 1} }, |
| 8180 | .block_erase = block_erase_chip_m29f400bt, |
| 8181 | } |
| 8182 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 8183 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8184 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8185 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8186 | }, |
| 8187 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8188 | { |
| 8189 | .vendor = "ST", |
| 8190 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8191 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8192 | .manufacture_id = ST_ID, |
| 8193 | .model_id = ST_M29W010B, |
| 8194 | .total_size = 128, |
| 8195 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8196 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8197 | .tested = TEST_UNTESTED, |
| 8198 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8199 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8200 | .block_erasers = |
| 8201 | { |
| 8202 | { |
| 8203 | .eraseblocks = { {16 * 1024, 8}, }, |
| 8204 | .block_erase = erase_sector_jedec, |
| 8205 | }, { |
| 8206 | .eraseblocks = { {128 * 1024, 1} }, |
| 8207 | .block_erase = erase_chip_block_jedec, |
| 8208 | } |
| 8209 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8210 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8211 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8212 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8213 | }, |
| 8214 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8215 | { |
| 8216 | .vendor = "ST", |
| 8217 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8218 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8219 | .manufacture_id = ST_ID, |
| 8220 | .model_id = ST_M29W040B, |
| 8221 | .total_size = 512, |
| 8222 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8223 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8224 | .tested = TEST_UNTESTED, |
| 8225 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8226 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8227 | .block_erasers = |
| 8228 | { |
| 8229 | { |
| 8230 | .eraseblocks = { {64 * 1024, 8}, }, |
| 8231 | .block_erase = erase_sector_jedec, |
| 8232 | }, { |
| 8233 | .eraseblocks = { {512 * 1024, 1} }, |
| 8234 | .block_erase = erase_chip_block_jedec, |
| 8235 | } |
| 8236 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8237 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8238 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8239 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8240 | }, |
| 8241 | |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 8242 | { |
| 8243 | .vendor = "ST", |
| 8244 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8245 | .bustype = BUS_PARALLEL, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 8246 | .manufacture_id = ST_ID, |
| 8247 | .model_id = ST_M29W512B, |
| 8248 | .total_size = 64, |
| 8249 | .page_size = 64 * 1024, |
| 8250 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8251 | .tested = TEST_OK_PRE, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 8252 | .probe = probe_jedec, |
| 8253 | .probe_timing = TIMING_ZERO, |
| 8254 | .block_erasers = |
| 8255 | { |
| 8256 | { |
| 8257 | .eraseblocks = { {64 * 1024, 1} }, |
| 8258 | .block_erase = erase_chip_block_jedec, |
| 8259 | } |
| 8260 | }, |
| 8261 | .write = write_jedec_1, |
| 8262 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8263 | .voltage = {2700, 3600}, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 8264 | }, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 8265 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8266 | { |
| 8267 | .vendor = "ST", |
| 8268 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8269 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8270 | .manufacture_id = ST_ID, |
| 8271 | .model_id = ST_M50FLW040A, |
| 8272 | .total_size = 512, |
| 8273 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8274 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8275 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8276 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 8277 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8278 | .block_erasers = |
| 8279 | { |
| 8280 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8281 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8282 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8283 | {64 * 1024, 5}, /* block */ |
| 8284 | {4 * 1024, 16}, /* sector */ |
| 8285 | {4 * 1024, 16}, /* sector */ |
| 8286 | }, |
| 8287 | .block_erase = NULL, |
| 8288 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8289 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8290 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8291 | } |
| 8292 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8293 | .unlock = unlock_stm50flw0x0x, |
| 8294 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8295 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8296 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8297 | }, |
| 8298 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8299 | { |
| 8300 | .vendor = "ST", |
| 8301 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8302 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8303 | .manufacture_id = ST_ID, |
| 8304 | .model_id = ST_M50FLW040B, |
| 8305 | .total_size = 512, |
| 8306 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8307 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8308 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8309 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 8310 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8311 | .block_erasers = |
| 8312 | { |
| 8313 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8314 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8315 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8316 | {4 * 1024, 16}, /* sector */ |
| 8317 | {64 * 1024, 5}, /* block */ |
| 8318 | {4 * 1024, 16}, /* sector */ |
| 8319 | }, |
| 8320 | .block_erase = NULL, |
| 8321 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8322 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8323 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8324 | } |
| 8325 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8326 | .unlock = unlock_stm50flw0x0x, |
| 8327 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8328 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8329 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8330 | }, |
| 8331 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8332 | { |
| 8333 | .vendor = "ST", |
| 8334 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8335 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8336 | .manufacture_id = ST_ID, |
| 8337 | .model_id = ST_M50FLW080A, |
| 8338 | .total_size = 1024, |
| 8339 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8340 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8341 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8342 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 8343 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8344 | .block_erasers = |
| 8345 | { |
| 8346 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8347 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8348 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8349 | {64 * 1024, 13}, /* block */ |
| 8350 | {4 * 1024, 16}, /* sector */ |
| 8351 | {4 * 1024, 16}, /* sector */ |
| 8352 | }, |
| 8353 | .block_erase = NULL, |
| 8354 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8355 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8356 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8357 | } |
| 8358 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8359 | .unlock = unlock_stm50flw0x0x, |
| 8360 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8361 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8362 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8363 | }, |
| 8364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8365 | { |
| 8366 | .vendor = "ST", |
| 8367 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8368 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8369 | .manufacture_id = ST_ID, |
| 8370 | .model_id = ST_M50FLW080B, |
| 8371 | .total_size = 1024, |
| 8372 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8373 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8374 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8375 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 8376 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8377 | .block_erasers = |
| 8378 | { |
| 8379 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8380 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8381 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 8382 | {4 * 1024, 16}, /* sector */ |
| 8383 | {64 * 1024, 13}, /* block */ |
| 8384 | {4 * 1024, 16}, /* sector */ |
| 8385 | }, |
| 8386 | .block_erase = NULL, |
| 8387 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8388 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8389 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8390 | } |
| 8391 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8392 | .unlock = unlock_stm50flw0x0x, |
| 8393 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8394 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8395 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8396 | }, |
| 8397 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8398 | { |
| 8399 | .vendor = "ST", |
| 8400 | .name = "M50FW002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8401 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8402 | .manufacture_id = ST_ID, |
| 8403 | .model_id = ST_M50FW002, |
| 8404 | .total_size = 256, |
| 8405 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8406 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8407 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8408 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8409 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8410 | .block_erasers = |
| 8411 | { |
| 8412 | { |
| 8413 | .eraseblocks = { |
| 8414 | {64 * 1024, 3}, |
| 8415 | {32 * 1024, 1}, |
| 8416 | {8 * 1024, 2}, |
| 8417 | {16 * 1024, 1}, |
| 8418 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8419 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8420 | } |
| 8421 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8422 | .unlock = unlock_stm50flw0x0x, |
| 8423 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8424 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8425 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8426 | }, |
| 8427 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8428 | { |
| 8429 | .vendor = "ST", |
| 8430 | .name = "M50FW016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8431 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8432 | .manufacture_id = ST_ID, |
| 8433 | .model_id = ST_M50FW016, |
| 8434 | .total_size = 2048, |
| 8435 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8436 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8437 | .tested = TEST_UNTESTED, |
| 8438 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8439 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8440 | .block_erasers = |
| 8441 | { |
| 8442 | { |
| 8443 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8444 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8445 | } |
| 8446 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8447 | .unlock = unlock_stm50flw0x0x, |
| 8448 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8449 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8450 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8451 | }, |
| 8452 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8453 | { |
| 8454 | .vendor = "ST", |
| 8455 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8456 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8457 | .manufacture_id = ST_ID, |
| 8458 | .model_id = ST_M50FW040, |
| 8459 | .total_size = 512, |
| 8460 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8461 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8462 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8463 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8464 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8465 | .block_erasers = |
| 8466 | { |
| 8467 | { |
| 8468 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8469 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8470 | } |
| 8471 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8472 | .unlock = unlock_stm50flw0x0x, |
| 8473 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8474 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8475 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8476 | }, |
| 8477 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8478 | { |
| 8479 | .vendor = "ST", |
| 8480 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8481 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8482 | .manufacture_id = ST_ID, |
| 8483 | .model_id = ST_M50FW080, |
| 8484 | .total_size = 1024, |
| 8485 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8486 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8487 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8488 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8489 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8490 | .block_erasers = |
| 8491 | { |
| 8492 | { |
| 8493 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8494 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8495 | } |
| 8496 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8497 | .unlock = unlock_stm50flw0x0x, |
| 8498 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8499 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8500 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8501 | }, |
| 8502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8503 | { |
| 8504 | .vendor = "ST", |
| 8505 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8506 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8507 | .manufacture_id = ST_ID, |
| 8508 | .model_id = ST_M50LPW116, |
| 8509 | .total_size = 2048, |
| 8510 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8511 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8512 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8513 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8514 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8515 | .block_erasers = |
| 8516 | { |
| 8517 | { |
| 8518 | .eraseblocks = { |
| 8519 | {4 * 1024, 16}, |
| 8520 | {64 * 1024, 30}, |
| 8521 | {32 * 1024, 1}, |
| 8522 | {8 * 1024, 2}, |
| 8523 | {16 * 1024, 1}, |
| 8524 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8525 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8526 | } |
| 8527 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8528 | .unlock = unlock_stm50flw0x0x, |
| 8529 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8530 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8531 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8532 | }, |
| 8533 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8534 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8535 | .vendor = "SyncMOS/MoselVitelic", |
| 8536 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8537 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8538 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8539 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8540 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8541 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8542 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8543 | .tested = TEST_UNTESTED, |
| 8544 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8545 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8546 | .block_erasers = |
| 8547 | { |
| 8548 | { |
| 8549 | .eraseblocks = { {512, 256} }, |
| 8550 | .block_erase = erase_sector_jedec, |
| 8551 | }, { |
| 8552 | .eraseblocks = { {128 * 1024, 1} }, |
| 8553 | .block_erase = erase_chip_block_jedec, |
| 8554 | }, |
| 8555 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8556 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8557 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8558 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8559 | }, |
| 8560 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8561 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8562 | .vendor = "SyncMOS/MoselVitelic", |
| 8563 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8564 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8565 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8566 | .model_id = SM_MVC_29C51001T, |
| 8567 | .total_size = 128, |
| 8568 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8569 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8570 | .tested = TEST_UNTESTED, |
| 8571 | .probe = probe_jedec, |
| 8572 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8573 | .block_erasers = |
| 8574 | { |
| 8575 | { |
| 8576 | .eraseblocks = { {512, 256} }, |
| 8577 | .block_erase = erase_sector_jedec, |
| 8578 | }, { |
| 8579 | .eraseblocks = { {128 * 1024, 1} }, |
| 8580 | .block_erase = erase_chip_block_jedec, |
| 8581 | }, |
| 8582 | }, |
| 8583 | .write = write_jedec_1, |
| 8584 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8585 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8586 | }, |
| 8587 | |
| 8588 | { |
| 8589 | .vendor = "SyncMOS/MoselVitelic", |
| 8590 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8591 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8592 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8593 | .model_id = SM_MVC_29C51002B, |
| 8594 | .total_size = 256, |
| 8595 | .page_size = 512, |
| 8596 | .feature_bits = FEATURE_EITHER_RESET, |
| 8597 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8598 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8599 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8600 | .block_erasers = |
| 8601 | { |
| 8602 | { |
| 8603 | .eraseblocks = { {512, 512} }, |
| 8604 | .block_erase = erase_sector_jedec, |
| 8605 | }, { |
| 8606 | .eraseblocks = { {256 * 1024, 1} }, |
| 8607 | .block_erase = erase_chip_block_jedec, |
| 8608 | }, |
| 8609 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8610 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8611 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8612 | }, |
| 8613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8614 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8615 | .vendor = "SyncMOS/MoselVitelic", |
| 8616 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8617 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8618 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8619 | .model_id = SM_MVC_29C51002T, |
| 8620 | .total_size = 256, |
| 8621 | .page_size = 512, |
| 8622 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8623 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8624 | .probe = probe_jedec, |
| 8625 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8626 | .block_erasers = |
| 8627 | { |
| 8628 | { |
| 8629 | .eraseblocks = { {512, 512} }, |
| 8630 | .block_erase = erase_sector_jedec, |
| 8631 | }, { |
| 8632 | .eraseblocks = { {256 * 1024, 1} }, |
| 8633 | .block_erase = erase_chip_block_jedec, |
| 8634 | }, |
| 8635 | }, |
| 8636 | .write = write_jedec_1, |
| 8637 | .read = read_memmapped, |
| 8638 | }, |
| 8639 | |
| 8640 | { |
| 8641 | .vendor = "SyncMOS/MoselVitelic", |
| 8642 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8643 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8644 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8645 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8646 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8647 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8648 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8649 | .tested = TEST_UNTESTED, |
| 8650 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8651 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8652 | .block_erasers = |
| 8653 | { |
| 8654 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8655 | .eraseblocks = { {1024, 512} }, |
| 8656 | .block_erase = erase_sector_jedec, |
| 8657 | }, { |
| 8658 | .eraseblocks = { {512 * 1024, 1} }, |
| 8659 | .block_erase = erase_chip_block_jedec, |
| 8660 | }, |
| 8661 | }, |
| 8662 | .write = write_jedec_1, |
| 8663 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8664 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8665 | }, |
| 8666 | |
| 8667 | { |
| 8668 | .vendor = "SyncMOS/MoselVitelic", |
| 8669 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8670 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8671 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8672 | .model_id = SM_MVC_29C51004T, |
| 8673 | .total_size = 512, |
| 8674 | .page_size = 1024, |
| 8675 | .feature_bits = FEATURE_EITHER_RESET, |
| 8676 | .tested = TEST_UNTESTED, |
| 8677 | .probe = probe_jedec, |
| 8678 | .probe_timing = TIMING_ZERO, |
| 8679 | .block_erasers = |
| 8680 | { |
| 8681 | { |
| 8682 | .eraseblocks = { {1024, 512} }, |
| 8683 | .block_erase = erase_sector_jedec, |
| 8684 | }, { |
| 8685 | .eraseblocks = { {512 * 1024, 1} }, |
| 8686 | .block_erase = erase_chip_block_jedec, |
| 8687 | }, |
| 8688 | }, |
| 8689 | .write = write_jedec_1, |
| 8690 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8691 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8692 | }, |
| 8693 | |
| 8694 | { |
| 8695 | .vendor = "SyncMOS/MoselVitelic", |
| 8696 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8697 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8698 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8699 | .model_id = SM_MVC_29C31004B, |
| 8700 | .total_size = 512, |
| 8701 | .page_size = 1024, |
| 8702 | .feature_bits = FEATURE_EITHER_RESET, |
| 8703 | .tested = TEST_UNTESTED, |
| 8704 | .probe = probe_jedec, |
| 8705 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8706 | .block_erasers = |
| 8707 | { |
| 8708 | { |
| 8709 | .eraseblocks = { {1024, 512} }, |
| 8710 | .block_erase = erase_sector_jedec, |
| 8711 | }, { |
| 8712 | .eraseblocks = { {512 * 1024, 1} }, |
| 8713 | .block_erase = erase_chip_block_jedec, |
| 8714 | }, |
| 8715 | }, |
| 8716 | .write = write_jedec_1, |
| 8717 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8718 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8719 | }, |
| 8720 | |
| 8721 | { |
| 8722 | .vendor = "SyncMOS/MoselVitelic", |
| 8723 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8724 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8725 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8726 | .model_id = SM_MVC_29C31004T, |
| 8727 | .total_size = 512, |
| 8728 | .page_size = 1024, |
| 8729 | .feature_bits = FEATURE_EITHER_RESET, |
| 8730 | .tested = TEST_UNTESTED, |
| 8731 | .probe = probe_jedec, |
| 8732 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8733 | .block_erasers = |
| 8734 | { |
| 8735 | { |
| 8736 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8737 | .block_erase = erase_sector_jedec, |
| 8738 | }, { |
| 8739 | .eraseblocks = { {512 * 1024, 1} }, |
| 8740 | .block_erase = erase_chip_block_jedec, |
| 8741 | }, |
| 8742 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8743 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8744 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8745 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8746 | }, |
| 8747 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8748 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 8749 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8750 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8751 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8752 | .manufacture_id = TI_OLD_ID, |
| 8753 | .model_id = TI_TMS29F002RB, |
| 8754 | .total_size = 256, |
| 8755 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8756 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8757 | .tested = TEST_UNTESTED, |
| 8758 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8759 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8760 | .block_erasers = |
| 8761 | { |
| 8762 | { |
| 8763 | .eraseblocks = { |
| 8764 | {16 * 1024, 1}, |
| 8765 | {8 * 1024, 2}, |
| 8766 | {32 * 1024, 1}, |
| 8767 | {64 * 1024, 3}, |
| 8768 | }, |
| 8769 | .block_erase = erase_sector_jedec, |
| 8770 | }, { |
| 8771 | .eraseblocks = { {256 * 1024, 1} }, |
| 8772 | .block_erase = erase_chip_block_jedec, |
| 8773 | }, |
| 8774 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8775 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8776 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8777 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8778 | }, |
| 8779 | |
| 8780 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 8781 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8782 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8783 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8784 | .manufacture_id = TI_OLD_ID, |
| 8785 | .model_id = TI_TMS29F002RT, |
| 8786 | .total_size = 256, |
| 8787 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8788 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8789 | .tested = TEST_UNTESTED, |
| 8790 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8791 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8792 | .block_erasers = |
| 8793 | { |
| 8794 | { |
| 8795 | .eraseblocks = { |
| 8796 | {64 * 1024, 3}, |
| 8797 | {32 * 1024, 1}, |
| 8798 | {8 * 1024, 2}, |
| 8799 | {16 * 1024, 1}, |
| 8800 | }, |
| 8801 | .block_erase = erase_sector_jedec, |
| 8802 | }, { |
| 8803 | .eraseblocks = { {256 * 1024, 1} }, |
| 8804 | .block_erase = erase_chip_block_jedec, |
| 8805 | }, |
| 8806 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8807 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8808 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8809 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8810 | }, |
| 8811 | |
| 8812 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8813 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8814 | .name = "W25Q80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8815 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8816 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8817 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8818 | .total_size = 1024, |
| 8819 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8820 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8821 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8822 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8823 | .probe = probe_spi_rdid, |
| 8824 | .probe_timing = TIMING_ZERO, |
| 8825 | .block_erasers = |
| 8826 | { |
| 8827 | { |
| 8828 | .eraseblocks = { {4 * 1024, 256} }, |
| 8829 | .block_erase = spi_block_erase_20, |
| 8830 | }, { |
| 8831 | .eraseblocks = { {32 * 1024, 32} }, |
| 8832 | .block_erase = spi_block_erase_52, |
| 8833 | }, { |
| 8834 | .eraseblocks = { {64 * 1024, 16} }, |
| 8835 | .block_erase = spi_block_erase_d8, |
| 8836 | }, { |
| 8837 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8838 | .block_erase = spi_block_erase_60, |
| 8839 | }, { |
| 8840 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8841 | .block_erase = spi_block_erase_c7, |
| 8842 | } |
| 8843 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8844 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8845 | .write = spi_chip_write_256, |
| 8846 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8847 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8848 | }, |
| 8849 | |
| 8850 | { |
| 8851 | .vendor = "Winbond", |
| 8852 | .name = "W25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8853 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8854 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8855 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8856 | .total_size = 2048, |
| 8857 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8858 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8859 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8860 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8861 | .probe = probe_spi_rdid, |
| 8862 | .probe_timing = TIMING_ZERO, |
| 8863 | .block_erasers = |
| 8864 | { |
| 8865 | { |
| 8866 | .eraseblocks = { {4 * 1024, 512} }, |
| 8867 | .block_erase = spi_block_erase_20, |
| 8868 | }, { |
| 8869 | .eraseblocks = { {32 * 1024, 64} }, |
| 8870 | .block_erase = spi_block_erase_52, |
| 8871 | }, { |
| 8872 | .eraseblocks = { {64 * 1024, 32} }, |
| 8873 | .block_erase = spi_block_erase_d8, |
| 8874 | }, { |
| 8875 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8876 | .block_erase = spi_block_erase_60, |
| 8877 | }, { |
| 8878 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8879 | .block_erase = spi_block_erase_c7, |
| 8880 | } |
| 8881 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8882 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8883 | .write = spi_chip_write_256, |
| 8884 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8885 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8886 | }, |
| 8887 | |
| 8888 | { |
| 8889 | .vendor = "Winbond", |
| 8890 | .name = "W25Q32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8891 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8892 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8893 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8894 | .total_size = 4096, |
| 8895 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8896 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8897 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8898 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8899 | .probe = probe_spi_rdid, |
| 8900 | .probe_timing = TIMING_ZERO, |
| 8901 | .block_erasers = |
| 8902 | { |
| 8903 | { |
| 8904 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8905 | .block_erase = spi_block_erase_20, |
| 8906 | }, { |
| 8907 | .eraseblocks = { {32 * 1024, 128} }, |
| 8908 | .block_erase = spi_block_erase_52, |
| 8909 | }, { |
| 8910 | .eraseblocks = { {64 * 1024, 64} }, |
| 8911 | .block_erase = spi_block_erase_d8, |
| 8912 | }, { |
| 8913 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8914 | .block_erase = spi_block_erase_60, |
| 8915 | }, { |
| 8916 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8917 | .block_erase = spi_block_erase_c7, |
| 8918 | } |
| 8919 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8920 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8921 | .write = spi_chip_write_256, |
| 8922 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8923 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8924 | }, |
| 8925 | |
| 8926 | { |
| 8927 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8928 | .name = "W25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8929 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8930 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8931 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8932 | .total_size = 8192, |
| 8933 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8934 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8935 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8936 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8937 | .probe = probe_spi_rdid, |
| 8938 | .probe_timing = TIMING_ZERO, |
| 8939 | .block_erasers = |
| 8940 | { |
| 8941 | { |
| 8942 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8943 | .block_erase = spi_block_erase_20, |
| 8944 | }, { |
| 8945 | .eraseblocks = { {32 * 1024, 256} }, |
| 8946 | .block_erase = spi_block_erase_52, |
| 8947 | }, { |
| 8948 | .eraseblocks = { {64 * 1024, 128} }, |
| 8949 | .block_erase = spi_block_erase_d8, |
| 8950 | }, { |
| 8951 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8952 | .block_erase = spi_block_erase_60, |
| 8953 | }, { |
| 8954 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8955 | .block_erase = spi_block_erase_c7, |
| 8956 | } |
| 8957 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8958 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8959 | .write = spi_chip_write_256, |
| 8960 | .read = spi_chip_read, |
| 8961 | }, |
| 8962 | |
| 8963 | { |
| 8964 | .vendor = "Winbond", |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8965 | .name = "W25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8966 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8967 | .manufacture_id = WINBOND_NEX_ID, |
| 8968 | .model_id = WINBOND_NEX_W25Q128, |
| 8969 | .total_size = 16384, |
| 8970 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8971 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8972 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8973 | .tested = TEST_OK_PROBE, |
| 8974 | .probe = probe_spi_rdid, |
| 8975 | .probe_timing = TIMING_ZERO, |
| 8976 | .block_erasers = |
| 8977 | { |
| 8978 | { |
| 8979 | .eraseblocks = { {4 * 1024, 4096} }, |
| 8980 | .block_erase = spi_block_erase_20, |
| 8981 | }, { |
| 8982 | .eraseblocks = { {32 * 1024, 512} }, |
| 8983 | .block_erase = spi_block_erase_52, |
| 8984 | }, { |
| 8985 | .eraseblocks = { {64 * 1024, 256} }, |
| 8986 | .block_erase = spi_block_erase_d8, |
| 8987 | }, { |
| 8988 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8989 | .block_erase = spi_block_erase_60, |
| 8990 | }, { |
| 8991 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8992 | .block_erase = spi_block_erase_c7, |
| 8993 | } |
| 8994 | }, |
| 8995 | .unlock = spi_disable_blockprotect, |
| 8996 | .write = spi_chip_write_256, |
| 8997 | .read = spi_chip_read, |
| 8998 | }, |
| 8999 | |
| 9000 | { |
| 9001 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9002 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9003 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9004 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9005 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9006 | .total_size = 128, |
| 9007 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 9008 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9009 | .tested = TEST_UNTESTED, |
| 9010 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9011 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9012 | .block_erasers = |
| 9013 | { |
| 9014 | { |
| 9015 | .eraseblocks = { {4 * 1024, 32} }, |
| 9016 | .block_erase = spi_block_erase_20, |
| 9017 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9018 | .eraseblocks = { {64 * 1024, 2} }, |
| 9019 | .block_erase = spi_block_erase_d8, |
| 9020 | }, { |
| 9021 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9022 | .block_erase = spi_block_erase_c7, |
| 9023 | } |
| 9024 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9025 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9026 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9027 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9028 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9029 | }, |
| 9030 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9031 | { |
| 9032 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9033 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9034 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9035 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9036 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9037 | .total_size = 256, |
| 9038 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 9039 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9040 | .tested = TEST_UNTESTED, |
| 9041 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9042 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9043 | .block_erasers = |
| 9044 | { |
| 9045 | { |
| 9046 | .eraseblocks = { {4 * 1024, 64} }, |
| 9047 | .block_erase = spi_block_erase_20, |
| 9048 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9049 | .eraseblocks = { {64 * 1024, 4} }, |
| 9050 | .block_erase = spi_block_erase_d8, |
| 9051 | }, { |
| 9052 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9053 | .block_erase = spi_block_erase_c7, |
| 9054 | } |
| 9055 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9056 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9057 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9058 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9059 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9060 | }, |
| 9061 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9062 | { |
| 9063 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9064 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9065 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9066 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9067 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9068 | .total_size = 512, |
| 9069 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 9070 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 9071 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9072 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9073 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9074 | .block_erasers = |
| 9075 | { |
| 9076 | { |
| 9077 | .eraseblocks = { {4 * 1024, 128} }, |
| 9078 | .block_erase = spi_block_erase_20, |
| 9079 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9080 | .eraseblocks = { {64 * 1024, 8} }, |
| 9081 | .block_erase = spi_block_erase_d8, |
| 9082 | }, { |
| 9083 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9084 | .block_erase = spi_block_erase_c7, |
| 9085 | } |
| 9086 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9087 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9088 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9089 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9090 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9091 | }, |
| 9092 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9093 | { |
| 9094 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9095 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9096 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9097 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9098 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9099 | .total_size = 1024, |
| 9100 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 9101 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 9102 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9103 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9104 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9105 | .block_erasers = |
| 9106 | { |
| 9107 | { |
| 9108 | .eraseblocks = { {4 * 1024, 256} }, |
| 9109 | .block_erase = spi_block_erase_20, |
| 9110 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9111 | .eraseblocks = { {64 * 1024, 16} }, |
| 9112 | .block_erase = spi_block_erase_d8, |
| 9113 | }, { |
| 9114 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9115 | .block_erase = spi_block_erase_c7, |
| 9116 | } |
| 9117 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9118 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9119 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9120 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9121 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9122 | }, |
| 9123 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9124 | { |
| 9125 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9126 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9127 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 9128 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9129 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 9130 | .total_size = 2048, |
| 9131 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 9132 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 9133 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 9134 | .probe = probe_spi_rdid, |
| 9135 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9136 | .block_erasers = |
| 9137 | { |
| 9138 | { |
| 9139 | .eraseblocks = { {4 * 1024, 512} }, |
| 9140 | .block_erase = spi_block_erase_20, |
| 9141 | }, { |
| 9142 | .eraseblocks = { {32 * 1024, 64} }, |
| 9143 | .block_erase = spi_block_erase_52, |
| 9144 | }, { |
| 9145 | .eraseblocks = { {64 * 1024, 32} }, |
| 9146 | .block_erase = spi_block_erase_d8, |
| 9147 | }, { |
| 9148 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 9149 | .block_erase = spi_block_erase_60, |
| 9150 | }, { |
| 9151 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 9152 | .block_erase = spi_block_erase_c7, |
| 9153 | } |
| 9154 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9155 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 9156 | .write = spi_chip_write_256, |
| 9157 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9158 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 9159 | }, |
| 9160 | |
| 9161 | { |
| 9162 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9163 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9164 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9165 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9166 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9167 | .total_size = 4096, |
| 9168 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 9169 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9170 | .tested = TEST_OK_PROBE, |
| 9171 | .probe = probe_spi_rdid, |
| 9172 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9173 | .block_erasers = |
| 9174 | { |
| 9175 | { |
| 9176 | .eraseblocks = { {4 * 1024, 1024} }, |
| 9177 | .block_erase = spi_block_erase_20, |
| 9178 | }, { |
| 9179 | .eraseblocks = { {32 * 1024, 128} }, |
| 9180 | .block_erase = spi_block_erase_52, |
| 9181 | }, { |
| 9182 | .eraseblocks = { {64 * 1024, 64} }, |
| 9183 | .block_erase = spi_block_erase_d8, |
| 9184 | }, { |
| 9185 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 9186 | .block_erase = spi_block_erase_60, |
| 9187 | }, { |
| 9188 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 9189 | .block_erase = spi_block_erase_c7, |
| 9190 | } |
| 9191 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9192 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9193 | .write = spi_chip_write_256, |
| 9194 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9195 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9196 | }, |
| 9197 | |
| 9198 | { |
| 9199 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9200 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9201 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9202 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9203 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9204 | .total_size = 8192, |
| 9205 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 9206 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 9207 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9208 | .probe = probe_spi_rdid, |
| 9209 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9210 | .block_erasers = |
| 9211 | { |
| 9212 | { |
| 9213 | .eraseblocks = { {4 * 1024, 2048} }, |
| 9214 | .block_erase = spi_block_erase_20, |
| 9215 | }, { |
| 9216 | .eraseblocks = { {32 * 1024, 256} }, |
| 9217 | .block_erase = spi_block_erase_52, |
| 9218 | }, { |
| 9219 | .eraseblocks = { {64 * 1024, 128} }, |
| 9220 | .block_erase = spi_block_erase_d8, |
| 9221 | }, { |
| 9222 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 9223 | .block_erase = spi_block_erase_60, |
| 9224 | }, { |
| 9225 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 9226 | .block_erase = spi_block_erase_c7, |
| 9227 | } |
| 9228 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9229 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9230 | .write = spi_chip_write_256, |
| 9231 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9232 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 9233 | }, |
| 9234 | |
| 9235 | { |
| 9236 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 9237 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9238 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 9239 | .manufacture_id = WINBOND_ID, |
| 9240 | .model_id = WINBOND_W29C010, |
| 9241 | .total_size = 128, |
| 9242 | .page_size = 128, |
| 9243 | .feature_bits = FEATURE_LONG_RESET, |
| 9244 | .tested = TEST_OK_PRE, |
| 9245 | .probe = probe_w29ee011, |
| 9246 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 9247 | .block_erasers = |
| 9248 | { |
| 9249 | { |
| 9250 | .eraseblocks = { {128 * 1024, 1} }, |
| 9251 | .block_erase = erase_chip_block_jedec, |
| 9252 | } |
| 9253 | }, |
| 9254 | .write = write_jedec, |
| 9255 | .read = read_memmapped, |
| 9256 | }, |
| 9257 | |
| 9258 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 9259 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9260 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9261 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9262 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9263 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9264 | .total_size = 128, |
| 9265 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9266 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 9267 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9268 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9269 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9270 | .block_erasers = |
| 9271 | { |
| 9272 | { |
| 9273 | .eraseblocks = { {128 * 1024, 1} }, |
| 9274 | .block_erase = erase_chip_block_jedec, |
| 9275 | } |
| 9276 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9277 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9278 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9279 | }, |
| 9280 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9281 | { |
| 9282 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9283 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9284 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9285 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9286 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9287 | .total_size = 256, |
| 9288 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9289 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9290 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9291 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9292 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9293 | .block_erasers = |
| 9294 | { |
| 9295 | { |
| 9296 | .eraseblocks = { {256 * 1024, 1} }, |
| 9297 | .block_erase = erase_chip_block_jedec, |
| 9298 | } |
| 9299 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9300 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9301 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9302 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9303 | }, |
| 9304 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9305 | { |
| 9306 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9307 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9308 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9309 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9310 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9311 | .total_size = 512, |
| 9312 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9313 | .feature_bits = FEATURE_LONG_RESET, |
| 9314 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9315 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 9316 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9317 | .block_erasers = |
| 9318 | { |
| 9319 | { |
| 9320 | .eraseblocks = { {512 * 1024, 1} }, |
| 9321 | .block_erase = erase_chip_block_jedec, |
| 9322 | } |
| 9323 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9324 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9325 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9326 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9327 | }, |
| 9328 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9329 | { |
| 9330 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 9331 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9332 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 9333 | .manufacture_id = WINBOND_ID, |
| 9334 | .model_id = WINBOND_W39L040, |
| 9335 | .total_size = 512, |
| 9336 | .page_size = 64 * 1024, |
| 9337 | .feature_bits = FEATURE_EITHER_RESET, |
| 9338 | .tested = TEST_OK_PR, |
| 9339 | .probe = probe_jedec, |
| 9340 | .probe_timing = 10, |
| 9341 | .block_erasers = |
| 9342 | { |
| 9343 | { |
| 9344 | .eraseblocks = { {4 * 1024, 128} }, |
| 9345 | .block_erase = erase_block_jedec, |
| 9346 | }, { |
| 9347 | .eraseblocks = { {64 * 1024, 8} }, |
| 9348 | .block_erase = erase_sector_jedec, |
| 9349 | }, { |
| 9350 | .eraseblocks = { {512 * 1024, 1} }, |
| 9351 | .block_erase = erase_chip_block_jedec, |
| 9352 | } |
| 9353 | }, |
| 9354 | .printlock = printlock_w39l040, |
| 9355 | .write = write_jedec_1, |
| 9356 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9357 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 9358 | }, |
| 9359 | |
| 9360 | { |
| 9361 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9362 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9363 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9364 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9365 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9366 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9367 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9368 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9369 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9370 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9371 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9372 | .block_erasers = |
| 9373 | { |
| 9374 | { |
| 9375 | .eraseblocks = { {64 * 1024, 8} }, |
| 9376 | .block_erase = erase_sector_jedec, |
| 9377 | }, { |
| 9378 | .eraseblocks = { {512 * 1024, 1} }, |
| 9379 | .block_erase = erase_chip_block_jedec, |
| 9380 | } |
| 9381 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9382 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9383 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9384 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9385 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9386 | }, |
| 9387 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9388 | { |
| 9389 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9390 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9391 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9392 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9393 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9394 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9395 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9396 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 9397 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9398 | .probe = probe_jedec, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 9399 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9400 | .block_erasers = |
| 9401 | { |
| 9402 | { |
| 9403 | .eraseblocks = { {64 * 1024, 8} }, |
| 9404 | .block_erase = erase_sector_jedec, |
| 9405 | }, { |
| 9406 | .eraseblocks = { {512 * 1024, 1} }, |
| 9407 | .block_erase = erase_chip_block_jedec, |
| 9408 | } |
| 9409 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9410 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9411 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9412 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9413 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9414 | }, |
| 9415 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9416 | { |
| 9417 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9418 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9419 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9420 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9421 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9422 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9423 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9424 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 9425 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9426 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9427 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9428 | .block_erasers = |
| 9429 | { |
| 9430 | { |
| 9431 | .eraseblocks = { {64 * 1024, 8} }, |
| 9432 | .block_erase = erase_sector_jedec, |
| 9433 | }, { |
| 9434 | .eraseblocks = { {512 * 1024, 1} }, |
| 9435 | .block_erase = erase_chip_block_jedec, |
| 9436 | } |
| 9437 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 9438 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9439 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9440 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9441 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9442 | }, |
| 9443 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9444 | { |
| 9445 | .vendor = "Winbond", |
| 9446 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9447 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9448 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9449 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9450 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9451 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 9452 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 9453 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9454 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 9455 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9456 | .block_erasers = |
| 9457 | { |
| 9458 | { |
| 9459 | .eraseblocks = { {4 * 1024, 128} }, |
| 9460 | .block_erase = erase_block_jedec, |
| 9461 | }, { |
| 9462 | .eraseblocks = { {64 * 1024, 8} }, |
| 9463 | .block_erase = erase_sector_jedec, |
| 9464 | }, { |
| 9465 | .eraseblocks = { {512 * 1024, 1} }, |
| 9466 | .block_erase = erase_chip_block_jedec, |
| 9467 | } |
| 9468 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9469 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 9470 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9471 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9472 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9473 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9474 | }, |
| 9475 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9476 | { |
| 9477 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9478 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9479 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9480 | .manufacture_id = WINBOND_ID, |
| 9481 | .model_id = WINBOND_W39V040B, |
| 9482 | .total_size = 512, |
| 9483 | .page_size = 64 * 1024, |
| 9484 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 9485 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9486 | .probe = probe_jedec, |
| 9487 | .probe_timing = 10, |
| 9488 | .block_erasers = |
| 9489 | { |
| 9490 | { |
| 9491 | .eraseblocks = { {64 * 1024, 8} }, |
| 9492 | .block_erase = erase_sector_jedec, |
| 9493 | }, { |
| 9494 | .eraseblocks = { {512 * 1024, 1} }, |
| 9495 | .block_erase = erase_chip_block_jedec, |
| 9496 | } |
| 9497 | }, |
| 9498 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 9499 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9500 | .write = write_jedec_1, |
| 9501 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9502 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9503 | }, |
| 9504 | |
| 9505 | { |
| 9506 | .vendor = "Winbond", |
| 9507 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9508 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9509 | .manufacture_id = WINBOND_ID, |
| 9510 | .model_id = WINBOND_W39V040C, |
| 9511 | .total_size = 512, |
| 9512 | .page_size = 64 * 1024, |
| 9513 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 9514 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9515 | .probe = probe_jedec, |
| 9516 | .probe_timing = 10, |
| 9517 | .block_erasers = |
| 9518 | { |
| 9519 | { |
| 9520 | .eraseblocks = { {64 * 1024, 8} }, |
| 9521 | .block_erase = erase_sector_jedec, |
| 9522 | }, { |
| 9523 | .eraseblocks = { {512 * 1024, 1} }, |
| 9524 | .block_erase = erase_chip_block_jedec, |
| 9525 | } |
| 9526 | }, |
| 9527 | .printlock = printlock_w39v040fc, |
| 9528 | .write = write_jedec_1, |
| 9529 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9530 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9531 | }, |
| 9532 | |
| 9533 | { |
| 9534 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9535 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9536 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9537 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9538 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9539 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9540 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9541 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 9542 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9543 | .probe = probe_jedec, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 9544 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9545 | .block_erasers = |
| 9546 | { |
| 9547 | { |
| 9548 | .eraseblocks = { {64 * 1024, 16} }, |
| 9549 | .block_erase = erase_sector_jedec, |
| 9550 | }, { |
| 9551 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9552 | .block_erase = erase_chip_block_jedec, |
| 9553 | } |
| 9554 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9555 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9556 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9557 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9558 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9559 | }, |
| 9560 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9561 | { |
| 9562 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9563 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9564 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9565 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9566 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9567 | .total_size = 256, |
| 9568 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9569 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9570 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9571 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9572 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9573 | .block_erasers = |
| 9574 | { |
| 9575 | { |
| 9576 | .eraseblocks = { |
| 9577 | {128 * 1024, 1}, |
| 9578 | {96 * 1024, 1}, |
| 9579 | {8 * 1024, 2}, |
| 9580 | {16 * 1024, 1}, |
| 9581 | }, |
| 9582 | .block_erase = erase_sector_jedec, |
| 9583 | }, { |
| 9584 | .eraseblocks = { {256 * 1024, 1} }, |
| 9585 | .block_erase = erase_chip_block_jedec, |
| 9586 | } |
| 9587 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9588 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9589 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9590 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9591 | }, |
| 9592 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9593 | { |
| 9594 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9595 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9596 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9597 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9598 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9599 | .total_size = 256, |
| 9600 | .page_size = 128, |
| 9601 | .feature_bits = FEATURE_EITHER_RESET, |
| 9602 | .tested = TEST_OK_PROBE, |
| 9603 | .probe = probe_jedec, |
| 9604 | .probe_timing = 10, |
| 9605 | .block_erasers = |
| 9606 | { |
| 9607 | { |
| 9608 | .eraseblocks = { {256 * 1024, 1} }, |
| 9609 | .block_erase = erase_chip_block_jedec, |
| 9610 | } |
| 9611 | }, |
| 9612 | .write = write_jedec_1, |
| 9613 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9614 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9615 | }, |
| 9616 | |
| 9617 | { |
| 9618 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9619 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9620 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9621 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9622 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9623 | .total_size = 256, |
| 9624 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9625 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9626 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9627 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9628 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9629 | .block_erasers = |
| 9630 | { |
| 9631 | { |
| 9632 | .eraseblocks = { |
| 9633 | {64 * 1024, 3}, |
| 9634 | {32 * 1024, 1}, |
| 9635 | {8 * 1024, 2}, |
| 9636 | {16 * 1024, 1}, |
| 9637 | }, |
| 9638 | .block_erase = erase_sector_jedec, |
| 9639 | }, { |
| 9640 | .eraseblocks = { {256 * 1024, 1} }, |
| 9641 | .block_erase = erase_chip_block_jedec, |
| 9642 | } |
| 9643 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9644 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9645 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9646 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9647 | }, |
| 9648 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9649 | { |
| 9650 | .vendor = "Winbond", |
| 9651 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9652 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9653 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9654 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9655 | .total_size = 256, |
| 9656 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9657 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9658 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9659 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9660 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9661 | .block_erasers = |
| 9662 | { |
| 9663 | { |
| 9664 | .eraseblocks = { |
| 9665 | {64 * 1024, 3}, |
| 9666 | {32 * 1024, 1}, |
| 9667 | {8 * 1024, 2}, |
| 9668 | {16 * 1024, 1}, |
| 9669 | }, |
| 9670 | .block_erase = erase_sector_jedec, |
| 9671 | }, { |
| 9672 | .eraseblocks = { {256 * 1024, 1} }, |
| 9673 | .block_erase = erase_chip_block_jedec, |
| 9674 | } |
| 9675 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9676 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9677 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9678 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9679 | }, |
| 9680 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9681 | { |
| 9682 | .vendor = "Winbond", |
| 9683 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9684 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9685 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9686 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9687 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9688 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9689 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9690 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9691 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9692 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9693 | .block_erasers = |
| 9694 | { |
| 9695 | { |
| 9696 | .eraseblocks = { {64 * 1024, 16}, }, |
| 9697 | .block_erase = erase_sector_jedec, |
| 9698 | }, { |
| 9699 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9700 | .block_erase = erase_chip_block_jedec, |
| 9701 | } |
| 9702 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9703 | .printlock = printlock_w39v080fa, |
| 9704 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9705 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9706 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9707 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9708 | }, |
| 9709 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9710 | { |
| 9711 | .vendor = "Winbond", |
| 9712 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9713 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9714 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9715 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9716 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9717 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9718 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9719 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9720 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9721 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9722 | .block_erasers = |
| 9723 | { |
| 9724 | { |
| 9725 | .eraseblocks = { {64 * 1024, 8}, }, |
| 9726 | .block_erase = erase_sector_jedec, |
| 9727 | }, { |
| 9728 | .eraseblocks = { {512 * 1024, 1} }, |
| 9729 | .block_erase = erase_chip_block_jedec, |
| 9730 | } |
| 9731 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9732 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9733 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9734 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9735 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9736 | }, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 9737 | |
| 9738 | { |
| 9739 | .vendor = "Unknown", |
| 9740 | .name = "SFDP-capable chip", |
| 9741 | .bustype = BUS_SPI, |
| 9742 | .manufacture_id = GENERIC_MANUF_ID, |
| 9743 | .model_id = SFDP_DEVICE_ID, |
| 9744 | /* We present our own "report this" text hence we do not |
| 9745 | * want the default "This flash part has status UNTESTED..." |
| 9746 | * text to be printed. */ |
| 9747 | .tested = TEST_OK_PREW, |
| 9748 | .probe = probe_spi_sfdp, |
| 9749 | .unlock = spi_disable_blockprotect, /* is this safe? */ |
| 9750 | .read = spi_chip_read, |
| 9751 | /* FIXME: some vendor extensions define this */ |
Carl-Daniel Hailfinger | 1c6d2ff | 2012-08-27 00:44:42 +0000 | [diff] [blame] | 9752 | .voltage = {0}, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 9753 | /* Everything below will be set by the probing function. */ |
| 9754 | .write = NULL, |
| 9755 | .total_size = 0, |
| 9756 | .page_size = 0, |
| 9757 | .feature_bits = 0, |
| 9758 | .block_erasers = {}, |
| 9759 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9760 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9761 | { |
Carl-Daniel Hailfinger | 532c717 | 2011-11-04 21:35:26 +0000 | [diff] [blame] | 9762 | .vendor = "Programmer", |
| 9763 | .name = "Opaque flash chip", |
| 9764 | .bustype = BUS_PROG, |
| 9765 | .manufacture_id = PROGMANUF_ID, |
| 9766 | .model_id = PROGDEV_ID, |
| 9767 | .total_size = 0, |
| 9768 | .page_size = 256, |
| 9769 | /* probe is assumed to work, rest will be filled in by probe */ |
| 9770 | .tested = TEST_OK_PROBE, |
| 9771 | .probe = probe_opaque, |
| 9772 | /* eraseblock sizes will be set by the probing function */ |
| 9773 | .block_erasers = |
| 9774 | { |
| 9775 | { |
| 9776 | .block_erase = erase_opaque, |
| 9777 | } |
| 9778 | }, |
| 9779 | .write = write_opaque, |
| 9780 | .read = read_opaque, |
| 9781 | }, |
| 9782 | |
| 9783 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 9784 | .vendor = "AMIC", |
| 9785 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9786 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 9787 | .manufacture_id = AMIC_ID, |
| 9788 | .model_id = GENERIC_DEVICE_ID, |
| 9789 | .total_size = 0, |
| 9790 | .page_size = 256, |
| 9791 | .tested = TEST_BAD_PREW, |
| 9792 | .probe = probe_spi_rdid4, |
| 9793 | .probe_timing = TIMING_ZERO, |
| 9794 | .write = NULL, |
| 9795 | .read = NULL, |
| 9796 | }, |
| 9797 | |
| 9798 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9799 | .vendor = "Atmel", |
| 9800 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9801 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9802 | .manufacture_id = ATMEL_ID, |
| 9803 | .model_id = GENERIC_DEVICE_ID, |
| 9804 | .total_size = 0, |
| 9805 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9806 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9807 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9808 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9809 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9810 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9811 | }, |
| 9812 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9813 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 9814 | .vendor = "Eon", |
| 9815 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9816 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9817 | .manufacture_id = EON_ID_NOPREFIX, |
| 9818 | .model_id = GENERIC_DEVICE_ID, |
| 9819 | .total_size = 0, |
| 9820 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9821 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9822 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9823 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9824 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9825 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9826 | }, |
| 9827 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9828 | { |
| 9829 | .vendor = "Macronix", |
| 9830 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9831 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9832 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9833 | .model_id = GENERIC_DEVICE_ID, |
| 9834 | .total_size = 0, |
| 9835 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9836 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9837 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9838 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9839 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9840 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9841 | }, |
| 9842 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9843 | { |
| 9844 | .vendor = "PMC", |
| 9845 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9846 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9847 | .manufacture_id = PMC_ID, |
| 9848 | .model_id = GENERIC_DEVICE_ID, |
| 9849 | .total_size = 0, |
| 9850 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9851 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9852 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9853 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9854 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9855 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9856 | }, |
| 9857 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9858 | { |
| 9859 | .vendor = "SST", |
| 9860 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9861 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9862 | .manufacture_id = SST_ID, |
| 9863 | .model_id = GENERIC_DEVICE_ID, |
| 9864 | .total_size = 0, |
| 9865 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9866 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9867 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9868 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9869 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9870 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9871 | }, |
| 9872 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9873 | { |
| 9874 | .vendor = "ST", |
| 9875 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9876 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9877 | .manufacture_id = ST_ID, |
| 9878 | .model_id = GENERIC_DEVICE_ID, |
| 9879 | .total_size = 0, |
| 9880 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9881 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9882 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9883 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9884 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9885 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9886 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 9887 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9888 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9889 | .vendor = "Sanyo", |
| 9890 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9891 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9892 | .manufacture_id = SANYO_ID, |
| 9893 | .model_id = GENERIC_DEVICE_ID, |
| 9894 | .total_size = 0, |
| 9895 | .page_size = 256, |
| 9896 | .tested = TEST_BAD_PREW, |
| 9897 | .probe = probe_spi_rdid, |
| 9898 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9899 | .write = NULL, |
| 9900 | .read = NULL, |
| 9901 | }, |
| 9902 | |
| 9903 | { |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9904 | .vendor = "Winbond", |
| 9905 | .name = "unknown Winbond (ex Nexcom) SPI chip", |
| 9906 | .bustype = BUS_SPI, |
| 9907 | .manufacture_id = WINBOND_NEX_ID, |
| 9908 | .model_id = GENERIC_DEVICE_ID, |
| 9909 | .total_size = 0, |
| 9910 | .page_size = 256, |
| 9911 | .tested = TEST_BAD_PREW, |
| 9912 | .probe = probe_spi_rdid, |
| 9913 | .probe_timing = TIMING_ZERO, |
| 9914 | .write = NULL, |
| 9915 | .read = NULL, |
| 9916 | }, |
| 9917 | |
| 9918 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9919 | .vendor = "Generic", |
| 9920 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9921 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9922 | .manufacture_id = GENERIC_MANUF_ID, |
| 9923 | .model_id = GENERIC_DEVICE_ID, |
| 9924 | .total_size = 0, |
| 9925 | .page_size = 256, |
| 9926 | .tested = TEST_BAD_PREW, |
| 9927 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9928 | .write = NULL, |
| 9929 | }, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 9930 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9931 | { |
| 9932 | .vendor = "Generic", |
| 9933 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9934 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9935 | .manufacture_id = GENERIC_MANUF_ID, |
| 9936 | .model_id = GENERIC_DEVICE_ID, |
| 9937 | .total_size = 0, |
| 9938 | .page_size = 256, |
| 9939 | .tested = TEST_BAD_PREW, |
| 9940 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9941 | .write = NULL, |
| 9942 | }, |
| 9943 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9944 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 9945 | }; |