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 | * |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 32 | * Please keep the list sorted by vendor name and chip family, so that the output of 'flashrom -L' is roughly |
| 33 | * alphabetically sorted. Within families keep them in order of density. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 567 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 601 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 636 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 671 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 706 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 741 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 781 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 816 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 851 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 889 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 927 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 959 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 991 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 1023 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 1055 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 1087 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 1119 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
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 | }, |
Nikolay Nikolaev | d07fde6 | 2013-06-28 21:29:21 +0000 | [diff] [blame] | 1158 | .printlock = spi_prettyprint_status_register_amic_a25l032, /* bit5: T/B, bit6: prot size */ |
| 1159 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 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", |
Nikolay Nikolaev | d07fde6 | 2013-06-28 21:29:21 +0000 | [diff] [blame] | 1167 | .name = "A25LQ16", |
| 1168 | .bustype = BUS_SPI, |
| 1169 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1170 | .model_id = AMIC_A25LQ16, |
| 1171 | .total_size = 2048, |
| 1172 | .page_size = 256, |
| 1173 | /* supports SFDP */ |
| 1174 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1175 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 1176 | .tested = TEST_UNTESTED, |
| 1177 | .probe = probe_spi_rdid, |
| 1178 | .probe_timing = TIMING_ZERO, |
| 1179 | .block_erasers = { |
| 1180 | { |
| 1181 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 1182 | .block_erase = spi_block_erase_20, |
| 1183 | }, { |
| 1184 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 1185 | .block_erase = spi_block_erase_52, |
| 1186 | }, { |
| 1187 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 1188 | .block_erase = spi_block_erase_d8, |
| 1189 | }, { |
| 1190 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 1191 | .block_erase = spi_block_erase_60, |
| 1192 | }, { |
| 1193 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 1194 | .block_erase = spi_block_erase_c7, |
| 1195 | } |
| 1196 | }, |
| 1197 | .printlock = spi_prettyprint_status_register_amic_a25l032, /* bit5: T/B, bit6: prot size */ |
| 1198 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 1199 | .write = spi_chip_write_256, |
| 1200 | .read = spi_chip_read, |
| 1201 | .voltage = {2700, 3600}, |
| 1202 | }, |
| 1203 | |
| 1204 | { |
| 1205 | .vendor = "AMIC", |
| 1206 | .name = "A25LQ032/A25LQ32A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1207 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1208 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1209 | .model_id = AMIC_A25LQ032, |
| 1210 | .total_size = 4096, |
| 1211 | .page_size = 256, |
Nikolay Nikolaev | d07fde6 | 2013-06-28 21:29:21 +0000 | [diff] [blame] | 1212 | /* A25LQ32A supports SFDP */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1213 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1214 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1215 | .tested = TEST_UNTESTED, |
| 1216 | .probe = probe_spi_rdid, |
| 1217 | .probe_timing = TIMING_ZERO, |
| 1218 | .block_erasers = |
| 1219 | { |
| 1220 | { |
| 1221 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1222 | .block_erase = spi_block_erase_20, |
| 1223 | }, { |
| 1224 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1225 | .block_erase = spi_block_erase_52, |
| 1226 | }, { |
| 1227 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1228 | .block_erase = spi_block_erase_d8, |
| 1229 | }, { |
| 1230 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1231 | .block_erase = spi_block_erase_60, |
| 1232 | }, { |
| 1233 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1234 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 1235 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1236 | }, |
Nikolay Nikolaev | d07fde6 | 2013-06-28 21:29:21 +0000 | [diff] [blame] | 1237 | .printlock = spi_prettyprint_status_register_amic_a25l032, /* bit5: T/B, bit6: prot size */ |
| 1238 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 1239 | .write = spi_chip_write_256, |
| 1240 | .read = spi_chip_read, |
| 1241 | .voltage = {2700, 3600}, |
| 1242 | }, |
| 1243 | |
| 1244 | { |
| 1245 | .vendor = "AMIC", |
| 1246 | .name = "A25LQ64", |
| 1247 | .bustype = BUS_SPI, |
| 1248 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1249 | .model_id = AMIC_A25LQ032, |
| 1250 | .total_size = 8192, |
| 1251 | .page_size = 256, |
| 1252 | /* supports SFDP */ |
| 1253 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 1254 | /* QPI enable 0x35, disable 0xF5 */ |
| 1255 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 1256 | .tested = TEST_UNTESTED, |
| 1257 | .probe = probe_spi_rdid, |
| 1258 | .probe_timing = TIMING_ZERO, |
| 1259 | .block_erasers = |
| 1260 | { |
| 1261 | { |
| 1262 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 1263 | .block_erase = spi_block_erase_20, |
| 1264 | }, { |
| 1265 | .eraseblocks = { { 32 * 1024, 256 } }, |
| 1266 | .block_erase = spi_block_erase_52, |
| 1267 | }, { |
| 1268 | .eraseblocks = { { 64 * 1024, 128 } }, |
| 1269 | .block_erase = spi_block_erase_d8, |
| 1270 | }, { |
| 1271 | .eraseblocks = { { 8192 * 1024, 1 } }, |
| 1272 | .block_erase = spi_block_erase_60, |
| 1273 | }, { |
| 1274 | .eraseblocks = { { 8192 * 1024, 1 } }, |
| 1275 | .block_erase = spi_block_erase_c7, |
| 1276 | } |
| 1277 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 1278 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enhance (sic!) */ |
Nikolay Nikolaev | d07fde6 | 2013-06-28 21:29:21 +0000 | [diff] [blame] | 1279 | .unlock = spi_disable_blockprotect, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1280 | .write = spi_chip_write_256, |
| 1281 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1282 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1283 | }, |
| 1284 | |
| 1285 | { |
| 1286 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1287 | .name = "A29002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1288 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1289 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1290 | .model_id = AMIC_A29002B, |
| 1291 | .total_size = 256, |
| 1292 | .page_size = 64 * 1024, |
| 1293 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1294 | .tested = TEST_UNTESTED, |
| 1295 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1296 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1297 | .block_erasers = |
| 1298 | { |
| 1299 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 1300 | .eraseblocks = { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1301 | {16 * 1024, 1}, |
| 1302 | {8 * 1024, 2}, |
| 1303 | {32 * 1024, 1}, |
| 1304 | {64 * 1024, 3}, |
| 1305 | }, |
| 1306 | .block_erase = erase_sector_jedec, |
| 1307 | }, { |
| 1308 | .eraseblocks = { {256 * 1024, 1} }, |
| 1309 | .block_erase = erase_chip_block_jedec, |
| 1310 | }, |
| 1311 | }, |
| 1312 | .write = write_jedec_1, |
| 1313 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1314 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1315 | }, |
| 1316 | |
| 1317 | { |
| 1318 | .vendor = "AMIC", |
| 1319 | .name = "A29002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1320 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1321 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1322 | .model_id = AMIC_A29002T, |
| 1323 | .total_size = 256, |
| 1324 | .page_size = 64 * 1024, |
| 1325 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 1326 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1327 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1328 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1329 | .block_erasers = |
| 1330 | { |
| 1331 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 1332 | .eraseblocks = { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1333 | {64 * 1024, 3}, |
| 1334 | {32 * 1024, 1}, |
| 1335 | {8 * 1024, 2}, |
| 1336 | {16 * 1024, 1}, |
| 1337 | }, |
| 1338 | .block_erase = erase_sector_jedec, |
| 1339 | }, { |
| 1340 | .eraseblocks = { {256 * 1024, 1} }, |
| 1341 | .block_erase = erase_chip_block_jedec, |
| 1342 | }, |
| 1343 | }, |
| 1344 | .write = write_jedec_1, |
| 1345 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1346 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1347 | }, |
| 1348 | |
| 1349 | { |
| 1350 | .vendor = "AMIC", |
| 1351 | .name = "A29040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1352 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1353 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1354 | .model_id = AMIC_A29040B, |
| 1355 | .total_size = 512, |
| 1356 | .page_size = 64 * 1024, |
| 1357 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Corey Osgood | cbd5665 | 2013-09-10 10:42:48 +0000 | [diff] [blame] | 1358 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1359 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1360 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1361 | .block_erasers = |
| 1362 | { |
| 1363 | { |
| 1364 | .eraseblocks = { {64 * 1024, 8} }, |
| 1365 | .block_erase = erase_sector_jedec, |
| 1366 | }, { |
| 1367 | .eraseblocks = { {512 * 1024, 1} }, |
| 1368 | .block_erase = erase_chip_block_jedec, |
| 1369 | }, |
| 1370 | }, |
| 1371 | .write = write_jedec_1, |
| 1372 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1373 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1374 | }, |
| 1375 | |
| 1376 | { |
| 1377 | .vendor = "AMIC", |
| 1378 | .name = "A49LF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1379 | .bustype = BUS_LPC, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1380 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1381 | .model_id = AMIC_A49LF040A, |
| 1382 | .total_size = 512, |
| 1383 | .page_size = 64 * 1024, |
| 1384 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 1385 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1386 | .probe = probe_jedec, |
| 1387 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 1388 | .block_erasers = |
| 1389 | { |
| 1390 | { |
| 1391 | .eraseblocks = { {64 * 1024, 8} }, |
| 1392 | .block_erase = erase_block_jedec, |
| 1393 | }, { |
| 1394 | .eraseblocks = { {512 * 1024, 1} }, |
| 1395 | .block_erase = erase_chip_block_jedec, |
| 1396 | } |
| 1397 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 1398 | .unlock = unlock_regspace2_uniform_64k, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1399 | .write = write_jedec_1, |
| 1400 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1401 | .voltage = {3000, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1402 | }, |
| 1403 | |
| 1404 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1405 | .vendor = "Atmel", |
| 1406 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1407 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1408 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1409 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1410 | .total_size = 256, |
| 1411 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1412 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1413 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1414 | .tested = TEST_UNTESTED, |
| 1415 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1416 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1417 | .block_erasers = |
| 1418 | { |
| 1419 | { |
| 1420 | .eraseblocks = { {4 * 1024, 64} }, |
| 1421 | .block_erase = spi_block_erase_20, |
| 1422 | }, { |
| 1423 | .eraseblocks = { {32 * 1024, 8} }, |
| 1424 | .block_erase = spi_block_erase_52, |
| 1425 | }, { |
| 1426 | .eraseblocks = { {64 * 1024, 4} }, |
| 1427 | .block_erase = spi_block_erase_d8, |
| 1428 | }, { |
| 1429 | .eraseblocks = { {256 * 1024, 1} }, |
| 1430 | .block_erase = spi_block_erase_60, |
| 1431 | }, { |
| 1432 | .eraseblocks = { {256 * 1024, 1} }, |
| 1433 | .block_erase = spi_block_erase_c7, |
| 1434 | } |
| 1435 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1436 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1437 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1438 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1439 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1440 | .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] | 1441 | }, |
| 1442 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1443 | { |
| 1444 | .vendor = "Atmel", |
| 1445 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1446 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1447 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1448 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1449 | .total_size = 512, |
| 1450 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1451 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1452 | .tested = TEST_UNTESTED, |
| 1453 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1454 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1455 | .block_erasers = |
| 1456 | { |
| 1457 | { |
| 1458 | .eraseblocks = { {4 * 1024, 128} }, |
| 1459 | .block_erase = spi_block_erase_20, |
| 1460 | }, { |
| 1461 | .eraseblocks = { {32 * 1024, 16} }, |
| 1462 | .block_erase = spi_block_erase_52, |
| 1463 | }, { |
| 1464 | .eraseblocks = { {64 * 1024, 8} }, |
| 1465 | .block_erase = spi_block_erase_d8, |
| 1466 | }, { |
| 1467 | .eraseblocks = { {512 * 1024, 1} }, |
| 1468 | .block_erase = spi_block_erase_60, |
| 1469 | }, { |
| 1470 | .eraseblocks = { {512 * 1024, 1} }, |
| 1471 | .block_erase = spi_block_erase_c7, |
| 1472 | } |
| 1473 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1474 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1475 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1476 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1477 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1478 | .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] | 1479 | }, |
| 1480 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1481 | { |
| 1482 | .vendor = "Atmel", |
| 1483 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1484 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1485 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1486 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1487 | .total_size = 1024, |
| 1488 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1489 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1490 | .tested = TEST_UNTESTED, |
| 1491 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1492 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1493 | .block_erasers = |
| 1494 | { |
| 1495 | { |
| 1496 | .eraseblocks = { {4 * 1024, 256} }, |
| 1497 | .block_erase = spi_block_erase_20, |
| 1498 | }, { |
| 1499 | .eraseblocks = { {32 * 1024, 32} }, |
| 1500 | .block_erase = spi_block_erase_52, |
| 1501 | }, { |
| 1502 | .eraseblocks = { {64 * 1024, 16} }, |
| 1503 | .block_erase = spi_block_erase_d8, |
| 1504 | }, { |
| 1505 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1506 | .block_erase = spi_block_erase_60, |
| 1507 | }, { |
| 1508 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1509 | .block_erase = spi_block_erase_c7, |
| 1510 | } |
| 1511 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1512 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1513 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1514 | .write = spi_chip_write_256, |
| 1515 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1516 | .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] | 1517 | }, |
| 1518 | |
| 1519 | { |
| 1520 | .vendor = "Atmel", |
| 1521 | .name = "AT25DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1522 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1523 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1524 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1525 | .total_size = 1024, |
| 1526 | .page_size = 256, |
| 1527 | .feature_bits = FEATURE_WRSR_WREN, |
| 1528 | .tested = TEST_UNTESTED, |
| 1529 | .probe = probe_spi_rdid, |
| 1530 | .probe_timing = TIMING_ZERO, |
| 1531 | .block_erasers = |
| 1532 | { |
| 1533 | { |
| 1534 | .eraseblocks = { {4 * 1024, 256} }, |
| 1535 | .block_erase = spi_block_erase_20, |
| 1536 | }, { |
| 1537 | .eraseblocks = { {32 * 1024, 32} }, |
| 1538 | .block_erase = spi_block_erase_52, |
| 1539 | }, { |
| 1540 | .eraseblocks = { {64 * 1024, 16} }, |
| 1541 | .block_erase = spi_block_erase_d8, |
| 1542 | }, { |
| 1543 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1544 | .block_erase = spi_block_erase_60, |
| 1545 | }, { |
| 1546 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1547 | .block_erase = spi_block_erase_c7, |
| 1548 | } |
| 1549 | }, |
| 1550 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1551 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1552 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1553 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1554 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1555 | }, |
| 1556 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1557 | { |
| 1558 | .vendor = "Atmel", |
| 1559 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1560 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1561 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1562 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1563 | .total_size = 2048, |
| 1564 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1565 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 1566 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1567 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1568 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1569 | .block_erasers = |
| 1570 | { |
| 1571 | { |
| 1572 | .eraseblocks = { {4 * 1024, 512} }, |
| 1573 | .block_erase = spi_block_erase_20, |
| 1574 | }, { |
| 1575 | .eraseblocks = { {32 * 1024, 64} }, |
| 1576 | .block_erase = spi_block_erase_52, |
| 1577 | }, { |
| 1578 | .eraseblocks = { {64 * 1024, 32} }, |
| 1579 | .block_erase = spi_block_erase_d8, |
| 1580 | }, { |
| 1581 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1582 | .block_erase = spi_block_erase_60, |
| 1583 | }, { |
| 1584 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1585 | .block_erase = spi_block_erase_c7, |
| 1586 | } |
| 1587 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1588 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1589 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1590 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1591 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1592 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1593 | }, |
| 1594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | { |
| 1596 | .vendor = "Atmel", |
| 1597 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1598 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1599 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1600 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1601 | .total_size = 4096, |
| 1602 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1603 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 1604 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1605 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1606 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1607 | .block_erasers = |
| 1608 | { |
| 1609 | { |
| 1610 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1611 | .block_erase = spi_block_erase_20, |
| 1612 | }, { |
| 1613 | .eraseblocks = { {32 * 1024, 128} }, |
| 1614 | .block_erase = spi_block_erase_52, |
| 1615 | }, { |
| 1616 | .eraseblocks = { {64 * 1024, 64} }, |
| 1617 | .block_erase = spi_block_erase_d8, |
| 1618 | }, { |
| 1619 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1620 | .block_erase = spi_block_erase_60, |
| 1621 | }, { |
| 1622 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1623 | .block_erase = spi_block_erase_c7, |
| 1624 | } |
| 1625 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1626 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1627 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1628 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1629 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1630 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1631 | }, |
| 1632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1633 | { |
| 1634 | .vendor = "Atmel", |
| 1635 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1636 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1637 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1638 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1639 | .total_size = 4096, |
| 1640 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1641 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1642 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 1643 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1644 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1645 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1646 | .block_erasers = |
| 1647 | { |
| 1648 | { |
| 1649 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1650 | .block_erase = spi_block_erase_20, |
| 1651 | }, { |
| 1652 | .eraseblocks = { {32 * 1024, 128} }, |
| 1653 | .block_erase = spi_block_erase_52, |
| 1654 | }, { |
| 1655 | .eraseblocks = { {64 * 1024, 64} }, |
| 1656 | .block_erase = spi_block_erase_d8, |
| 1657 | }, { |
| 1658 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1659 | .block_erase = spi_block_erase_60, |
| 1660 | }, { |
| 1661 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1662 | .block_erase = spi_block_erase_c7, |
| 1663 | } |
| 1664 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1665 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1666 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1667 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1668 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1669 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1670 | }, |
| 1671 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1672 | { |
| 1673 | .vendor = "Atmel", |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 1674 | .name = "AT25DF641(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1675 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1676 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1677 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1678 | .total_size = 8192, |
| 1679 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1680 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 1681 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1682 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1683 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1684 | .block_erasers = |
| 1685 | { |
| 1686 | { |
| 1687 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1688 | .block_erase = spi_block_erase_20, |
| 1689 | }, { |
| 1690 | .eraseblocks = { {32 * 1024, 256} }, |
| 1691 | .block_erase = spi_block_erase_52, |
| 1692 | }, { |
| 1693 | .eraseblocks = { {64 * 1024, 128} }, |
| 1694 | .block_erase = spi_block_erase_d8, |
| 1695 | }, { |
| 1696 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1697 | .block_erase = spi_block_erase_60, |
| 1698 | }, { |
| 1699 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1700 | .block_erase = spi_block_erase_c7, |
| 1701 | } |
| 1702 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1703 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1704 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1705 | .write = spi_chip_write_256, |
| 1706 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1707 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1708 | }, |
| 1709 | |
| 1710 | { |
| 1711 | .vendor = "Atmel", |
Stefan Tauner | c9d8b27 | 2014-06-01 13:22:35 +0000 | [diff] [blame] | 1712 | .name = "AT25DL081", |
| 1713 | .bustype = BUS_SPI, |
| 1714 | .manufacture_id = ATMEL_ID, |
| 1715 | .model_id = ATMEL_AT25DF081, |
| 1716 | .total_size = 1024, |
| 1717 | .page_size = 256, |
| 1718 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1719 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 1720 | .tested = TEST_UNTESTED, |
| 1721 | .probe = probe_spi_rdid, |
| 1722 | .probe_timing = TIMING_ZERO, |
| 1723 | .block_erasers = |
| 1724 | { |
| 1725 | { |
| 1726 | .eraseblocks = { {4 * 1024, 256} }, |
| 1727 | .block_erase = spi_block_erase_20, |
| 1728 | }, { |
| 1729 | .eraseblocks = { {32 * 1024, 32} }, |
| 1730 | .block_erase = spi_block_erase_52, |
| 1731 | }, { |
| 1732 | .eraseblocks = { {64 * 1024, 16} }, |
| 1733 | .block_erase = spi_block_erase_d8, |
| 1734 | }, { |
| 1735 | .eraseblocks = { {1 * 1024 * 1024, 1} }, |
| 1736 | .block_erase = spi_block_erase_60, |
| 1737 | }, { |
| 1738 | .eraseblocks = { {1 * 1024 * 1024, 1} }, |
| 1739 | .block_erase = spi_block_erase_c7, |
| 1740 | } |
| 1741 | }, |
| 1742 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1743 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
| 1744 | .write = spi_chip_write_256, /* Dual I/O (0xA2) supported */ |
| 1745 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O (0x3B) supported */ |
| 1746 | .voltage = {1650, 1950}, |
| 1747 | }, |
| 1748 | |
| 1749 | { |
| 1750 | .vendor = "Atmel", |
| 1751 | .name = "AT25DL161", |
| 1752 | .bustype = BUS_SPI, |
| 1753 | .manufacture_id = ATMEL_ID, |
| 1754 | .model_id = ATMEL_AT25DL161, |
| 1755 | .total_size = 2048, |
| 1756 | .page_size = 256, |
| 1757 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1758 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 1759 | .tested = TEST_UNTESTED, |
| 1760 | .probe = probe_spi_rdid, |
| 1761 | .probe_timing = TIMING_ZERO, |
| 1762 | .block_erasers = |
| 1763 | { |
| 1764 | { |
| 1765 | .eraseblocks = { {4 * 1024, 512} }, |
| 1766 | .block_erase = spi_block_erase_20, |
| 1767 | }, { |
| 1768 | .eraseblocks = { {32 * 1024, 64} }, |
| 1769 | .block_erase = spi_block_erase_52, |
| 1770 | }, { |
| 1771 | .eraseblocks = { {64 * 1024, 32} }, |
| 1772 | .block_erase = spi_block_erase_d8, |
| 1773 | }, { |
| 1774 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1775 | .block_erase = spi_block_erase_60, |
| 1776 | }, { |
| 1777 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1778 | .block_erase = spi_block_erase_c7, |
| 1779 | } |
| 1780 | }, |
| 1781 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1782 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
| 1783 | .write = spi_chip_write_256, /* Dual I/O (0xA2) supported */ |
| 1784 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O (0x3B) supported */ |
| 1785 | .voltage = {1650, 1950}, |
| 1786 | }, |
| 1787 | |
| 1788 | { |
| 1789 | .vendor = "Atmel", |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1790 | .name = "AT25DQ161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1791 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1792 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1793 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1794 | .total_size = 2048, |
| 1795 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1796 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1797 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1798 | .tested = TEST_UNTESTED, |
| 1799 | .probe = probe_spi_rdid, |
| 1800 | .probe_timing = TIMING_ZERO, |
| 1801 | .block_erasers = |
| 1802 | { |
| 1803 | { |
| 1804 | .eraseblocks = { {4 * 1024, 512} }, |
| 1805 | .block_erase = spi_block_erase_20, |
| 1806 | }, { |
| 1807 | .eraseblocks = { {32 * 1024, 64} }, |
| 1808 | .block_erase = spi_block_erase_52, |
| 1809 | }, { |
| 1810 | .eraseblocks = { {64 * 1024, 32} }, |
| 1811 | .block_erase = spi_block_erase_d8, |
| 1812 | }, { |
| 1813 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1814 | .block_erase = spi_block_erase_60, |
| 1815 | }, { |
| 1816 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1817 | .block_erase = spi_block_erase_c7, |
| 1818 | } |
| 1819 | }, |
| 1820 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1821 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1822 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1823 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1824 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1825 | }, |
| 1826 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1827 | { |
| 1828 | .vendor = "Atmel", |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1829 | .name = "AT25F512", |
| 1830 | .bustype = BUS_SPI, |
| 1831 | .manufacture_id = ATMEL_ID, |
| 1832 | .model_id = ATMEL_AT25F512, |
| 1833 | .total_size = 64, |
| 1834 | .page_size = 256, |
| 1835 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 1836 | .tested = TEST_OK_PREW, |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1837 | .probe = probe_spi_at25f, |
| 1838 | .probe_timing = TIMING_ZERO, |
| 1839 | .block_erasers = |
| 1840 | { |
| 1841 | { |
| 1842 | .eraseblocks = { {32 * 1024, 2} }, |
| 1843 | .block_erase = spi_block_erase_52, |
| 1844 | }, { |
| 1845 | .eraseblocks = { {64 * 1024, 1} }, |
| 1846 | .block_erase = spi_block_erase_62, |
| 1847 | } |
| 1848 | }, |
| 1849 | .printlock = spi_prettyprint_status_register_at25f, |
| 1850 | .unlock = spi_disable_blockprotect_at25f, |
| 1851 | .write = spi_chip_write_256, |
| 1852 | .read = spi_chip_read, |
| 1853 | .voltage = {2700, 3600}, |
| 1854 | }, |
| 1855 | |
| 1856 | { |
| 1857 | .vendor = "Atmel", |
| 1858 | .name = "AT25F512A", |
| 1859 | .bustype = BUS_SPI, |
| 1860 | .manufacture_id = ATMEL_ID, |
| 1861 | .model_id = ATMEL_AT25F512A, |
| 1862 | .total_size = 64, |
| 1863 | .page_size = 128, |
| 1864 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 1865 | .tested = TEST_OK_PREW, |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1866 | .probe = probe_spi_at25f, |
| 1867 | .probe_timing = TIMING_ZERO, |
| 1868 | .block_erasers = |
| 1869 | { |
| 1870 | { |
| 1871 | .eraseblocks = { {32 * 1024, 2} }, |
| 1872 | .block_erase = spi_block_erase_52, |
| 1873 | }, { |
| 1874 | .eraseblocks = { {64 * 1024, 1} }, |
| 1875 | .block_erase = spi_block_erase_62, |
| 1876 | } |
| 1877 | }, |
| 1878 | .printlock = spi_prettyprint_status_register_at25f512a, |
| 1879 | /* FIXME: It is not correct to use this one, because the BP1 bit is N/A. */ |
| 1880 | .unlock = spi_disable_blockprotect_at25f512a, |
| 1881 | .write = spi_chip_write_256, |
| 1882 | .read = spi_chip_read, |
| 1883 | .voltage = {2700, 3600}, |
| 1884 | }, |
| 1885 | |
| 1886 | { |
| 1887 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1888 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1889 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1890 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1891 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1892 | .total_size = 64, |
| 1893 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1894 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1895 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1896 | .tested = TEST_UNTESTED, |
| 1897 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1898 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1899 | .block_erasers = |
| 1900 | { |
| 1901 | { |
| 1902 | .eraseblocks = { {4 * 1024, 16} }, |
| 1903 | .block_erase = spi_block_erase_20, |
| 1904 | }, { |
| 1905 | .eraseblocks = { {32 * 1024, 2} }, |
| 1906 | .block_erase = spi_block_erase_52, |
| 1907 | }, { |
| 1908 | .eraseblocks = { {32 * 1024, 2} }, |
| 1909 | .block_erase = spi_block_erase_d8, |
| 1910 | }, { |
| 1911 | .eraseblocks = { {64 * 1024, 1} }, |
| 1912 | .block_erase = spi_block_erase_60, |
| 1913 | }, { |
| 1914 | .eraseblocks = { {64 * 1024, 1} }, |
| 1915 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | 3c0fcd0 | 2012-09-21 12:46:56 +0000 | [diff] [blame] | 1916 | }, { |
| 1917 | .eraseblocks = { {64 * 1024, 1} }, |
| 1918 | .block_erase = spi_block_erase_62, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1919 | } |
| 1920 | }, |
Stefan Tauner | 7bf4ed9 | 2012-08-26 21:04:27 +0000 | [diff] [blame] | 1921 | .printlock = spi_prettyprint_status_register_at25f512b, |
| 1922 | .unlock = spi_disable_blockprotect_at25f512b, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1923 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1924 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1925 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1926 | }, |
| 1927 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1928 | { |
| 1929 | .vendor = "Atmel", |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1930 | /* The A suffix indicates 33MHz instead of 20MHz clock rate. |
| 1931 | * All other properties seem to be the same.*/ |
| 1932 | .name = "AT25F1024(A)", |
| 1933 | .bustype = BUS_SPI, |
| 1934 | .manufacture_id = ATMEL_ID, |
| 1935 | .model_id = ATMEL_AT25F1024, |
| 1936 | .total_size = 128, |
| 1937 | .page_size = 256, |
| 1938 | .feature_bits = FEATURE_WRSR_WREN, |
| 1939 | .tested = TEST_OK_PREW, |
| 1940 | .probe = probe_spi_at25f, |
| 1941 | .probe_timing = TIMING_ZERO, |
| 1942 | .block_erasers = |
| 1943 | { |
| 1944 | { |
| 1945 | .eraseblocks = { {32 * 1024, 4} }, |
| 1946 | .block_erase = spi_block_erase_52, |
| 1947 | }, { |
| 1948 | .eraseblocks = { {128 * 1024, 1} }, |
| 1949 | .block_erase = spi_block_erase_62, |
| 1950 | } |
| 1951 | }, |
| 1952 | .printlock = spi_prettyprint_status_register_at25f, |
| 1953 | .unlock = spi_disable_blockprotect_at25f, |
| 1954 | .write = spi_chip_write_256, |
| 1955 | .read = spi_chip_read, |
| 1956 | .voltage = {2700, 3600}, |
| 1957 | }, |
| 1958 | |
| 1959 | { |
| 1960 | .vendor = "Atmel", |
| 1961 | .name = "AT25F2048", |
| 1962 | .bustype = BUS_SPI, |
| 1963 | .manufacture_id = ATMEL_ID, |
| 1964 | .model_id = ATMEL_AT25F2048, |
| 1965 | .total_size = 256, |
| 1966 | .page_size = 256, |
| 1967 | .feature_bits = FEATURE_WRSR_WREN, |
| 1968 | .tested = TEST_UNTESTED, |
| 1969 | .probe = probe_spi_at25f, |
| 1970 | .probe_timing = TIMING_ZERO, |
| 1971 | .block_erasers = |
| 1972 | { |
| 1973 | { |
| 1974 | .eraseblocks = { {64 * 1024, 4} }, |
| 1975 | .block_erase = spi_block_erase_52, |
| 1976 | }, { |
| 1977 | .eraseblocks = { {256 * 1024, 1} }, |
| 1978 | .block_erase = spi_block_erase_62, |
| 1979 | } |
| 1980 | }, |
| 1981 | .printlock = spi_prettyprint_status_register_at25f, |
| 1982 | .unlock = spi_disable_blockprotect_at25f, |
| 1983 | .write = spi_chip_write_256, |
| 1984 | .read = spi_chip_read, |
| 1985 | .voltage = {2700, 3600}, |
| 1986 | }, |
| 1987 | |
| 1988 | { |
| 1989 | .vendor = "Atmel", |
| 1990 | .name = "AT25F4096", |
| 1991 | .bustype = BUS_SPI, |
| 1992 | .manufacture_id = ATMEL_ID, |
| 1993 | .model_id = ATMEL_AT25F4096, |
| 1994 | .total_size = 512, |
| 1995 | .page_size = 256, |
| 1996 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 1997 | .tested = TEST_OK_PREW, |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1998 | .probe = probe_spi_at25f, |
| 1999 | .probe_timing = TIMING_ZERO, |
| 2000 | .block_erasers = |
| 2001 | { |
| 2002 | { |
| 2003 | .eraseblocks = { {64 * 1024, 8} }, |
| 2004 | .block_erase = spi_block_erase_52, |
| 2005 | }, { |
| 2006 | .eraseblocks = { {512 * 1024, 1} }, |
| 2007 | .block_erase = spi_block_erase_62, |
| 2008 | } |
| 2009 | }, |
| 2010 | .printlock = spi_prettyprint_status_register_at25f4096, |
Stefan Tauner | 278ba6e | 2013-06-28 21:28:27 +0000 | [diff] [blame] | 2011 | /* "Bits 5-6 are 0s when device is not in an internal write cycle." Better leave them alone: */ |
| 2012 | .unlock = spi_disable_blockprotect_bp2_srwd, |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 2013 | .write = spi_chip_write_256, |
| 2014 | .read = spi_chip_read, |
| 2015 | .voltage = {2700, 3600}, |
| 2016 | }, |
| 2017 | |
| 2018 | { |
| 2019 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2020 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2021 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2022 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2023 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2024 | .total_size = 128, |
| 2025 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2026 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 2027 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2028 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2029 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2030 | .block_erasers = |
| 2031 | { |
| 2032 | { |
| 2033 | .eraseblocks = { {4 * 1024, 32} }, |
| 2034 | .block_erase = spi_block_erase_20, |
| 2035 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 2036 | .eraseblocks = { {4 * 1024, 32} }, |
| 2037 | .block_erase = spi_block_erase_d7, |
| 2038 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2039 | .eraseblocks = { {32 * 1024, 4} }, |
| 2040 | .block_erase = spi_block_erase_52, |
| 2041 | }, { |
| 2042 | .eraseblocks = { {32 * 1024, 4} }, |
| 2043 | .block_erase = spi_block_erase_d8, |
| 2044 | }, { |
| 2045 | .eraseblocks = { {128 * 1024, 1} }, |
| 2046 | .block_erase = spi_block_erase_60, |
| 2047 | }, { |
| 2048 | .eraseblocks = { {128 * 1024, 1} }, |
| 2049 | .block_erase = spi_block_erase_c7, |
| 2050 | } |
| 2051 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 2052 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 2053 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2054 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2055 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2056 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2057 | }, |
| 2058 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2059 | { |
| 2060 | .vendor = "Atmel", |
| 2061 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2062 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2063 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2064 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2065 | .total_size = 512, |
| 2066 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2067 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2068 | .tested = TEST_UNTESTED, |
| 2069 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2070 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2071 | .block_erasers = |
| 2072 | { |
| 2073 | { |
| 2074 | .eraseblocks = { {4 * 1024, 128} }, |
| 2075 | .block_erase = spi_block_erase_20, |
| 2076 | }, { |
| 2077 | .eraseblocks = { {64 * 1024, 8} }, |
| 2078 | .block_erase = spi_block_erase_52, |
| 2079 | }, { |
| 2080 | .eraseblocks = { {64 * 1024, 8} }, |
| 2081 | .block_erase = spi_block_erase_d8, |
| 2082 | }, { |
| 2083 | .eraseblocks = { {512 * 1024, 1} }, |
| 2084 | .block_erase = spi_block_erase_60, |
| 2085 | }, { |
| 2086 | .eraseblocks = { {512 * 1024, 1} }, |
| 2087 | .block_erase = spi_block_erase_c7, |
| 2088 | } |
| 2089 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 2090 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 2091 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2092 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2093 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2094 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2095 | }, |
| 2096 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2097 | { |
| 2098 | .vendor = "Atmel", |
| 2099 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2100 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2101 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2102 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2103 | .total_size = 512, |
| 2104 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2105 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 94b39b4 | 2012-10-27 00:06:02 +0000 | [diff] [blame] | 2106 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2107 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2108 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2109 | .block_erasers = |
| 2110 | { |
| 2111 | { |
Stefan Tauner | 94b39b4 | 2012-10-27 00:06:02 +0000 | [diff] [blame] | 2112 | .eraseblocks = { {256, 2048} }, |
| 2113 | .block_erase = spi_block_erase_81, |
| 2114 | }, { |
| 2115 | .eraseblocks = { {2 * 1024, 256} }, |
| 2116 | .block_erase = spi_block_erase_50, |
| 2117 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2118 | .eraseblocks = { {4 * 1024, 128} }, |
| 2119 | .block_erase = spi_block_erase_20, |
| 2120 | } |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2121 | }, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2122 | .printlock = spi_prettyprint_status_register_plain, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2123 | /* Supports also an incompatible page write (of exactly 256 B) and an auto-erasing write. */ |
Stefan Tauner | 94b39b4 | 2012-10-27 00:06:02 +0000 | [diff] [blame] | 2124 | .write = spi_chip_write_1, |
| 2125 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2126 | .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] | 2127 | }, |
| 2128 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2129 | { |
| 2130 | .vendor = "Atmel", |
| 2131 | .name = "AT26DF081A", |
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_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2135 | .total_size = 1024, |
| 2136 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 2137 | .feature_bits = FEATURE_WRSR_WREN, |
| 2138 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2139 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2140 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2141 | .block_erasers = |
| 2142 | { |
| 2143 | { |
| 2144 | .eraseblocks = { {4 * 1024, 256} }, |
| 2145 | .block_erase = spi_block_erase_20, |
| 2146 | }, { |
| 2147 | .eraseblocks = { {32 * 1024, 32} }, |
| 2148 | .block_erase = spi_block_erase_52, |
| 2149 | }, { |
| 2150 | .eraseblocks = { {64 * 1024, 16} }, |
| 2151 | .block_erase = spi_block_erase_d8, |
| 2152 | }, { |
| 2153 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2154 | .block_erase = spi_block_erase_60, |
| 2155 | }, { |
| 2156 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2157 | .block_erase = spi_block_erase_c7, |
| 2158 | } |
| 2159 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2160 | .printlock = spi_prettyprint_status_register_at26df081a, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2161 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2162 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2163 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2164 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2165 | }, |
| 2166 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2167 | { |
| 2168 | .vendor = "Atmel", |
| 2169 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2170 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2171 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2172 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2173 | .total_size = 2048, |
| 2174 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2175 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 2176 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2177 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2178 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2179 | .block_erasers = |
| 2180 | { |
| 2181 | { |
| 2182 | .eraseblocks = { {4 * 1024, 512} }, |
| 2183 | .block_erase = spi_block_erase_20, |
| 2184 | }, { |
| 2185 | .eraseblocks = { {32 * 1024, 64} }, |
| 2186 | .block_erase = spi_block_erase_52, |
| 2187 | }, { |
| 2188 | .eraseblocks = { {64 * 1024, 32} }, |
| 2189 | .block_erase = spi_block_erase_d8, |
| 2190 | }, { |
| 2191 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2192 | .block_erase = spi_block_erase_60, |
| 2193 | }, { |
| 2194 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2195 | .block_erase = spi_block_erase_c7, |
| 2196 | } |
| 2197 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 2198 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2199 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2200 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2201 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2202 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2203 | }, |
| 2204 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2205 | { |
| 2206 | .vendor = "Atmel", |
| 2207 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2208 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2209 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2210 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2211 | .total_size = 2048, |
| 2212 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2213 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2214 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2215 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2216 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2217 | .block_erasers = |
| 2218 | { |
| 2219 | { |
| 2220 | .eraseblocks = { {4 * 1024, 512} }, |
| 2221 | .block_erase = spi_block_erase_20, |
| 2222 | }, { |
| 2223 | .eraseblocks = { {32 * 1024, 64} }, |
| 2224 | .block_erase = spi_block_erase_52, |
| 2225 | }, { |
| 2226 | .eraseblocks = { {64 * 1024, 32} }, |
| 2227 | .block_erase = spi_block_erase_d8, |
| 2228 | }, { |
| 2229 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2230 | .block_erase = spi_block_erase_60, |
| 2231 | }, { |
| 2232 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2233 | .block_erase = spi_block_erase_c7, |
| 2234 | } |
| 2235 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2236 | .printlock = spi_prettyprint_status_register_at26df081a, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2237 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2238 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2239 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2240 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2241 | }, |
| 2242 | |
| 2243 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2244 | /*{ |
| 2245 | .vendor = "Atmel", |
| 2246 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2247 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2248 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2249 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2250 | .total_size = 4096, |
| 2251 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2252 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2253 | .tested = TEST_UNTESTED, |
| 2254 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2255 | .probe_timing = TIMING_ZERO, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2256 | .printlock = spi_prettyprint_status_register_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2257 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2258 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2259 | .read = spi_chip_read, |
| 2260 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2261 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2262 | { |
| 2263 | .vendor = "Atmel", |
| 2264 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2265 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2266 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2267 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2268 | .total_size = 512, |
| 2269 | .page_size = 256, |
Stefan Tauner | 6455dff | 2014-05-26 00:36:24 +0000 | [diff] [blame] | 2270 | .tested = {.probe = NT, .read = NT, .erase = NT, .write = BAD }, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2271 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2272 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2273 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2274 | .block_erasers = |
| 2275 | { |
| 2276 | { |
| 2277 | .eraseblocks = { {4 * 1024, 128} }, |
| 2278 | .block_erase = spi_block_erase_20, |
| 2279 | }, { |
| 2280 | .eraseblocks = { {32 * 1024, 16} }, |
| 2281 | .block_erase = spi_block_erase_52, |
| 2282 | }, { |
| 2283 | .eraseblocks = { {64 * 1024, 8} }, |
| 2284 | .block_erase = spi_block_erase_d8, |
| 2285 | }, { |
| 2286 | .eraseblocks = { {512 * 1024, 1} }, |
| 2287 | .block_erase = spi_block_erase_60, |
| 2288 | }, { |
| 2289 | .eraseblocks = { {512 * 1024, 1} }, |
| 2290 | .block_erase = spi_block_erase_c7, |
| 2291 | } |
| 2292 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2293 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2294 | .write = NULL /* Incompatible Page write */, |
| 2295 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2296 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2297 | }, |
| 2298 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2299 | { |
| 2300 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2301 | .name = "AT29C512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2302 | .bustype = BUS_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2303 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2304 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2305 | .total_size = 64, |
| 2306 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2307 | .feature_bits = FEATURE_LONG_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 2308 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 2309 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2310 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2311 | .block_erasers = |
| 2312 | { |
| 2313 | { |
| 2314 | .eraseblocks = { {64 * 1024, 1} }, |
| 2315 | .block_erase = erase_chip_block_jedec, |
| 2316 | } |
| 2317 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2318 | .write = write_jedec, |
| 2319 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2320 | .voltage = {4500, 5500}, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2321 | }, |
| 2322 | |
| 2323 | { |
| 2324 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2325 | .name = "AT29C010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2326 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2327 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2328 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2329 | .total_size = 128, |
| 2330 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2331 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2332 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2333 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2334 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2335 | .block_erasers = |
| 2336 | { |
| 2337 | { |
| 2338 | .eraseblocks = { {128 * 1024, 1} }, |
| 2339 | .block_erase = erase_chip_block_jedec, |
| 2340 | } |
| 2341 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2342 | .write = write_jedec, /* FIXME */ |
| 2343 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2344 | .voltage = {4500, 5500}, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2345 | }, |
| 2346 | |
| 2347 | { |
| 2348 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2349 | .name = "AT29C020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2350 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2351 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2352 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2353 | .total_size = 256, |
| 2354 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2355 | .feature_bits = FEATURE_LONG_RESET, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 2356 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2357 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2358 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2359 | .block_erasers = |
| 2360 | { |
| 2361 | { |
| 2362 | .eraseblocks = { {256 * 1024, 1} }, |
| 2363 | .block_erase = erase_chip_block_jedec, |
| 2364 | } |
| 2365 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2366 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2367 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2368 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2369 | }, |
| 2370 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2371 | { |
| 2372 | .vendor = "Atmel", |
| 2373 | .name = "AT29C040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2374 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2375 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2376 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2377 | .total_size = 512, |
| 2378 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2379 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2380 | .tested = TEST_UNTESTED, |
| 2381 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 2382 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2383 | .block_erasers = |
| 2384 | { |
| 2385 | { |
| 2386 | .eraseblocks = { {512 * 1024, 1} }, |
| 2387 | .block_erase = erase_chip_block_jedec, |
| 2388 | } |
| 2389 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2390 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2391 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2392 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2393 | }, |
| 2394 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2395 | { |
| 2396 | .vendor = "Atmel", |
| 2397 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2398 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2399 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2400 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2401 | .total_size = 16896 /* No power of two sizes */, |
| 2402 | .page_size = 1056 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2403 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 1dd5d3a | 2013-08-27 18:02:19 +0000 | [diff] [blame] | 2404 | /* OTP: 128B total, 64B pre-programmed; read 0x77 (4 dummy bytes); write 0x9A (via buffer) */ |
| 2405 | .feature_bits = FEATURE_OTP, |
| 2406 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2407 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2408 | .probe_timing = TIMING_ZERO, |
Stefan Tauner | 1dd5d3a | 2013-08-27 18:02:19 +0000 | [diff] [blame] | 2409 | .block_erasers = |
| 2410 | { |
| 2411 | { |
| 2412 | .eraseblocks = { |
| 2413 | {8 * 1056, 1}, /* sector 0a: opcode 50h */ |
| 2414 | {248 * 1056, 1}, /* sector 0b: opcode 7Ch */ |
| 2415 | {256 * 1056, 63}, /* sectors 1 - 63: opcode 7Ch */ |
| 2416 | }, |
| 2417 | .block_erase = spi_erase_at45cs_sector, |
| 2418 | } |
| 2419 | }, |
| 2420 | .printlock = spi_prettyprint_status_register_plain, |
| 2421 | .gran = write_gran_1056bytes, |
| 2422 | .write = spi_write_at45db, |
| 2423 | .read = spi_read_at45db, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2424 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2425 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2426 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2427 | { |
| 2428 | .vendor = "Atmel", |
| 2429 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2430 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2431 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2432 | .model_id = ATMEL_AT45DB011D, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2433 | .total_size = 128 /* or 132, determined from status register */, |
| 2434 | .page_size = 256 /* or 264, determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2435 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2436 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2437 | .feature_bits = FEATURE_OTP, |
| 2438 | .tested = TEST_UNTESTED, |
| 2439 | .probe = probe_spi_at45db, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2440 | .probe_timing = TIMING_ZERO, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2441 | .block_erasers = |
| 2442 | { |
| 2443 | { |
| 2444 | .eraseblocks = { {256, 512} }, |
| 2445 | .block_erase = spi_erase_at45db_page, |
| 2446 | }, { |
| 2447 | .eraseblocks = { {8 * 256, 512/8} }, |
| 2448 | .block_erase = spi_erase_at45db_block, |
| 2449 | }, { |
| 2450 | .eraseblocks = { |
| 2451 | {8 * 256, 1}, |
| 2452 | {120 * 256, 1}, |
| 2453 | {128 * 256, 3}, |
| 2454 | }, |
| 2455 | .block_erase = spi_erase_at45db_sector |
| 2456 | }, { |
| 2457 | .eraseblocks = { {128 * 1024, 1} }, |
| 2458 | .block_erase = spi_erase_at45db_chip, |
| 2459 | } |
| 2460 | }, |
| 2461 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2462 | .printlock = spi_prettyprint_status_register_at45db, |
| 2463 | /* granularity will be set by the probing function. */ |
| 2464 | .write = spi_write_at45db, |
| 2465 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2466 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2467 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2468 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2469 | { |
| 2470 | .vendor = "Atmel", |
| 2471 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2472 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2473 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2474 | .model_id = ATMEL_AT45DB021D, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2475 | .total_size = 256 /* or 264, determined from status register */, |
| 2476 | .page_size = 256 /* or 264, determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2477 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2478 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2479 | .feature_bits = FEATURE_OTP, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 2480 | .tested = TEST_OK_PREW, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2481 | .probe = probe_spi_at45db, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2482 | .probe_timing = TIMING_ZERO, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2483 | .block_erasers = |
| 2484 | { |
| 2485 | { |
| 2486 | .eraseblocks = { {256, 1024} }, |
| 2487 | .block_erase = spi_erase_at45db_page, |
| 2488 | }, { |
| 2489 | .eraseblocks = { {8 * 256, 1024/8} }, |
| 2490 | .block_erase = spi_erase_at45db_block, |
| 2491 | }, { |
| 2492 | .eraseblocks = { |
| 2493 | {8 * 256, 1}, |
| 2494 | {120 * 256, 1}, |
| 2495 | {128 * 256, 7}, |
| 2496 | }, |
| 2497 | .block_erase = spi_erase_at45db_sector |
| 2498 | }, { |
| 2499 | .eraseblocks = { {256 * 1024, 1} }, |
| 2500 | .block_erase = spi_erase_at45db_chip, |
| 2501 | } |
| 2502 | }, |
| 2503 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2504 | .printlock = spi_prettyprint_status_register_at45db, |
| 2505 | /* granularity will be set by the probing function. */ |
| 2506 | .write = spi_write_at45db, |
| 2507 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2508 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2509 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2510 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2511 | { |
| 2512 | .vendor = "Atmel", |
| 2513 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2514 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2515 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2516 | .model_id = ATMEL_AT45DB041D, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2517 | .total_size = 512 /* or 528, determined from status register */, |
| 2518 | .page_size = 256 /* or 264, determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2519 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2520 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2521 | .feature_bits = FEATURE_OTP, |
| 2522 | .tested = TEST_OK_PREW, |
| 2523 | .probe = probe_spi_at45db, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2524 | .probe_timing = TIMING_ZERO, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2525 | .block_erasers = |
| 2526 | { |
| 2527 | { |
| 2528 | .eraseblocks = { {256, 2048} }, |
| 2529 | .block_erase = spi_erase_at45db_page, |
| 2530 | }, { |
| 2531 | .eraseblocks = { {8 * 256, 2048/8} }, |
| 2532 | .block_erase = spi_erase_at45db_block, |
| 2533 | }, { |
| 2534 | .eraseblocks = { |
| 2535 | {8 * 256, 1}, |
| 2536 | {248 * 256, 1}, |
| 2537 | {256 * 256, 7}, |
| 2538 | }, |
| 2539 | .block_erase = spi_erase_at45db_sector |
| 2540 | }, { |
| 2541 | .eraseblocks = { {512 * 1024, 1} }, |
| 2542 | .block_erase = spi_erase_at45db_chip, |
| 2543 | } |
| 2544 | }, |
| 2545 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2546 | .printlock = spi_prettyprint_status_register_at45db, |
| 2547 | /* granularity will be set by the probing function. */ |
| 2548 | .write = spi_write_at45db, |
| 2549 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
| 2550 | .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] | 2551 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2552 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2553 | { |
| 2554 | .vendor = "Atmel", |
| 2555 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2556 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2557 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2558 | .model_id = ATMEL_AT45DB081D, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2559 | .total_size = 1024 /* or 1056, determined from status register */, |
| 2560 | .page_size = 256 /* or 264, determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2561 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2562 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2563 | .feature_bits = FEATURE_OTP, |
| 2564 | .tested = TEST_UNTESTED, |
| 2565 | .probe = probe_spi_at45db, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2566 | .probe_timing = TIMING_ZERO, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2567 | .block_erasers = |
| 2568 | { |
| 2569 | { |
| 2570 | .eraseblocks = { {256, 4096} }, |
| 2571 | .block_erase = spi_erase_at45db_page, |
| 2572 | }, { |
| 2573 | .eraseblocks = { {8 * 256, 4096/8} }, |
| 2574 | .block_erase = spi_erase_at45db_block, |
| 2575 | }, { |
| 2576 | .eraseblocks = { |
| 2577 | {8 * 256, 1}, |
| 2578 | {248 * 256, 1}, |
| 2579 | {256 * 256, 15}, |
| 2580 | }, |
| 2581 | .block_erase = spi_erase_at45db_sector |
| 2582 | }, { |
| 2583 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2584 | .block_erase = spi_erase_at45db_chip, |
| 2585 | } |
| 2586 | }, |
| 2587 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2588 | .printlock = spi_prettyprint_status_register_at45db, |
| 2589 | /* granularity will be set by the probing function. */ |
| 2590 | .write = spi_write_at45db, |
| 2591 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2592 | .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] | 2593 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2595 | { |
| 2596 | .vendor = "Atmel", |
| 2597 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2598 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2599 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2600 | .model_id = ATMEL_AT45DB161D, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2601 | .total_size = 2048 /* or 2112, determined from status register */, |
| 2602 | .page_size = 512 /* or 528, determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2603 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2604 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2605 | .feature_bits = FEATURE_OTP, |
| 2606 | .tested = TEST_OK_PREW, |
| 2607 | .probe = probe_spi_at45db, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2608 | .probe_timing = TIMING_ZERO, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2609 | .block_erasers = |
| 2610 | { |
| 2611 | { |
| 2612 | .eraseblocks = { {512, 4096} }, |
| 2613 | .block_erase = spi_erase_at45db_page, |
| 2614 | }, { |
| 2615 | .eraseblocks = { {8 * 512, 4096/8} }, |
| 2616 | .block_erase = spi_erase_at45db_block, |
| 2617 | }, { |
| 2618 | .eraseblocks = { |
| 2619 | {8 * 512, 1}, |
| 2620 | {248 * 512, 1}, |
| 2621 | {256 * 512, 15}, |
| 2622 | }, |
| 2623 | .block_erase = spi_erase_at45db_sector |
| 2624 | }, { |
| 2625 | .eraseblocks = { {2048 * 1024, 1} }, |
| 2626 | .block_erase = spi_erase_at45db_chip, |
| 2627 | } |
| 2628 | }, |
| 2629 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2630 | .printlock = spi_prettyprint_status_register_at45db, |
| 2631 | /* granularity will be set by the probing function. */ |
| 2632 | .write = spi_write_at45db, |
| 2633 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2634 | .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] | 2635 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2636 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2637 | { |
| 2638 | .vendor = "Atmel", |
| 2639 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2640 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2641 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2642 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2643 | .total_size = 4224 /* No power of two sizes */, |
| 2644 | .page_size = 528 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2645 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | fdc4f7e | 2013-08-27 18:02:12 +0000 | [diff] [blame] | 2646 | /* OTP: 128B total, 64B pre-programmed; read 0x77 (4 dummy bytes); write 0x9A (via buffer) */ |
| 2647 | .feature_bits = FEATURE_OTP, |
| 2648 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2649 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2650 | .probe_timing = TIMING_ZERO, |
Stefan Tauner | fdc4f7e | 2013-08-27 18:02:12 +0000 | [diff] [blame] | 2651 | .block_erasers = |
| 2652 | { |
| 2653 | { |
| 2654 | .eraseblocks = { {528, 8192} }, |
| 2655 | .block_erase = spi_erase_at45db_page, |
| 2656 | }, { |
| 2657 | .eraseblocks = { {8 * 528, 8192/8} }, |
| 2658 | .block_erase = spi_erase_at45db_block, |
| 2659 | }, /* Although the datasheets describes sectors (which can be write protected) |
| 2660 | * there seems to be no erase functions for them. |
| 2661 | { |
| 2662 | .eraseblocks = { |
| 2663 | {8 * 528, 1}, |
| 2664 | {120 * 528, 1}, |
| 2665 | {128 * 528, 63}, |
| 2666 | }, |
| 2667 | .block_erase = spi_erase_at45db_sector |
| 2668 | }, */ { |
| 2669 | .eraseblocks = { {4224 * 1024, 1} }, |
| 2670 | .block_erase = spi_erase_at45db_chip, |
| 2671 | } |
| 2672 | }, |
| 2673 | .printlock = spi_prettyprint_status_register_at45db, /* Bit 0 is undefined, no lockdown */ |
| 2674 | .gran = write_gran_528bytes, |
| 2675 | .write = spi_write_at45db, |
| 2676 | .read = spi_read_at45db_e8, /* 3 address and 4 dummy bytes */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2677 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2678 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2679 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2680 | { |
| 2681 | .vendor = "Atmel", |
| 2682 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2683 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2684 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2685 | .model_id = ATMEL_AT45DB321D, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2686 | .total_size = 4096 /* or 4224, determined from status register */, |
| 2687 | .page_size = 512 /* or 528, determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2688 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2689 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 2690 | .feature_bits = FEATURE_OTP, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2691 | .tested = TEST_UNTESTED, |
| 2692 | .probe = probe_spi_at45db, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2693 | .probe_timing = TIMING_ZERO, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2694 | .block_erasers = |
| 2695 | { |
| 2696 | { |
| 2697 | .eraseblocks = { {512, 8192} }, |
| 2698 | .block_erase = spi_erase_at45db_page, |
| 2699 | }, { |
| 2700 | .eraseblocks = { {8 * 512, 8192/8} }, |
| 2701 | .block_erase = spi_erase_at45db_block, |
| 2702 | }, { |
| 2703 | .eraseblocks = { |
| 2704 | {8 * 512, 1}, |
| 2705 | {120 * 512, 1}, |
| 2706 | {128 * 512, 63}, |
| 2707 | }, |
| 2708 | .block_erase = spi_erase_at45db_sector |
| 2709 | }, { |
| 2710 | .eraseblocks = { {4096 * 1024, 1} }, |
| 2711 | .block_erase = spi_erase_at45db_chip, |
| 2712 | } |
| 2713 | }, |
| 2714 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2715 | .printlock = spi_prettyprint_status_register_at45db, |
| 2716 | /* granularity will be set by the probing function. */ |
| 2717 | .write = spi_write_at45db, |
| 2718 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
| 2719 | .voltage = {2700, 3600}, /* 2.5-3.6V & 2.7-3.6V models available */ |
| 2720 | }, |
| 2721 | |
| 2722 | { |
| 2723 | .vendor = "Atmel", |
| 2724 | .name = "AT45DB321E", |
| 2725 | .bustype = BUS_SPI, |
| 2726 | .manufacture_id = ATMEL_ID, |
| 2727 | .model_id = ATMEL_AT45DB321C, |
| 2728 | .total_size = 4096 /* or 4224, determined from status register */, |
| 2729 | .page_size = 512 /* or 528, determined from status register */, |
| 2730 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
| 2731 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2732 | .feature_bits = FEATURE_OTP, |
| 2733 | .tested = TEST_UNTESTED, |
| 2734 | .probe = probe_spi_at45db, |
| 2735 | .probe_timing = TIMING_ZERO, |
| 2736 | .block_erasers = |
| 2737 | { |
| 2738 | { |
| 2739 | .eraseblocks = { {512, 8192} }, |
| 2740 | .block_erase = spi_erase_at45db_page, |
| 2741 | }, { |
| 2742 | .eraseblocks = { {8 * 512, 8192/8} }, |
| 2743 | .block_erase = spi_erase_at45db_block, |
| 2744 | }, { |
| 2745 | .eraseblocks = { |
| 2746 | {8 * 512, 1}, |
| 2747 | {120 * 512, 1}, |
| 2748 | {128 * 512, 63}, |
| 2749 | }, |
| 2750 | .block_erase = spi_erase_at45db_sector |
| 2751 | }, { |
| 2752 | .eraseblocks = { {4096 * 1024, 1} }, |
| 2753 | .block_erase = spi_erase_at45db_chip, |
| 2754 | } |
| 2755 | }, |
| 2756 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2757 | .printlock = spi_prettyprint_status_register_at45db, /* has a 2nd status register */ |
| 2758 | /* granularity will be set by the probing function. */ |
| 2759 | .write = spi_write_at45db, |
| 2760 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
| 2761 | .voltage = {2500, 3600}, /* 2.3-3.6V & 2.5-3.6V models available */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2762 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2763 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2764 | { |
| 2765 | .vendor = "Atmel", |
| 2766 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2767 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2768 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2769 | .model_id = ATMEL_AT45DB642D, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2770 | .total_size = 8192 /* or 8448, determined from status register */, |
| 2771 | .page_size = 1024 /* or 1056, determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2772 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2773 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2774 | .feature_bits = FEATURE_OTP, |
| 2775 | .tested = TEST_UNTESTED, |
| 2776 | .probe = probe_spi_at45db, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2777 | .probe_timing = TIMING_ZERO, |
Aidan Thornton | db4e87d | 2013-08-27 18:01:53 +0000 | [diff] [blame] | 2778 | .block_erasers = |
| 2779 | { |
| 2780 | { |
| 2781 | .eraseblocks = { {1024, 8192} }, |
| 2782 | .block_erase = spi_erase_at45db_page, |
| 2783 | }, { |
| 2784 | .eraseblocks = { {8 * 1024, 8192/8} }, |
| 2785 | .block_erase = spi_erase_at45db_block, |
| 2786 | }, { |
| 2787 | .eraseblocks = { |
| 2788 | {8 * 1024, 1}, |
| 2789 | {248 * 1024, 1}, |
| 2790 | {256 * 1024, 31}, |
| 2791 | }, |
| 2792 | .block_erase = spi_erase_at45db_sector |
| 2793 | }, { |
| 2794 | .eraseblocks = { {8192 * 1024, 1} }, |
| 2795 | .block_erase = spi_erase_at45db_chip, |
| 2796 | } |
| 2797 | }, |
| 2798 | .unlock = spi_disable_blockprotect_at45db, /* Impossible if locked down or #WP is low */ |
| 2799 | .printlock = spi_prettyprint_status_register_at45db, |
| 2800 | /* granularity will be set by the probing function. */ |
| 2801 | .write = spi_write_at45db, |
| 2802 | .read = spi_read_at45db, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2803 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2804 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2805 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2806 | { |
| 2807 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2808 | .name = "AT49BV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2809 | .bustype = BUS_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2810 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2811 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2812 | .total_size = 64, |
| 2813 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2814 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 2815 | .tested = TEST_OK_PREW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2816 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2817 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2818 | .block_erasers = |
| 2819 | { |
| 2820 | { |
| 2821 | .eraseblocks = { {64 * 1024, 1} }, |
| 2822 | .block_erase = erase_chip_block_jedec, |
| 2823 | } |
| 2824 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2825 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2826 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2827 | .voltage = {2700, 3600}, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2828 | }, |
| 2829 | |
| 2830 | { |
| 2831 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2832 | .name = "AT49F002(N)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2833 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2834 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2835 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2836 | .total_size = 256, |
| 2837 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2838 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2839 | .tested = TEST_UNTESTED, |
| 2840 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2841 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2842 | .block_erasers = |
| 2843 | { |
| 2844 | { |
| 2845 | .eraseblocks = { |
| 2846 | {16 * 1024, 1}, |
| 2847 | {8 * 1024, 2}, |
| 2848 | {96 * 1024, 1}, |
| 2849 | {128 * 1024, 1}, |
| 2850 | }, |
| 2851 | .block_erase = erase_sector_jedec, |
| 2852 | }, { |
| 2853 | .eraseblocks = { {256 * 1024, 1} }, |
| 2854 | .block_erase = erase_chip_block_jedec, |
| 2855 | } |
| 2856 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2857 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2858 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2859 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2860 | }, |
| 2861 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2862 | { |
| 2863 | .vendor = "Atmel", |
| 2864 | .name = "AT49F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2865 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2866 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2867 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2868 | .total_size = 256, |
| 2869 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2870 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2871 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2872 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2873 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2874 | .block_erasers = |
| 2875 | { |
| 2876 | { |
| 2877 | .eraseblocks = { |
| 2878 | {128 * 1024, 1}, |
| 2879 | {96 * 1024, 1}, |
| 2880 | {8 * 1024, 2}, |
| 2881 | {16 * 1024, 1}, |
| 2882 | }, |
| 2883 | .block_erase = erase_sector_jedec, |
| 2884 | }, { |
| 2885 | .eraseblocks = { {256 * 1024, 1} }, |
| 2886 | .block_erase = erase_chip_block_jedec, |
| 2887 | } |
| 2888 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2889 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2890 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2891 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2892 | }, |
| 2893 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2894 | { |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2895 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2896 | .name = "AT49(H)F010", |
| 2897 | .bustype = BUS_PARALLEL, |
| 2898 | .manufacture_id = ATMEL_ID, |
| 2899 | .model_id = ATMEL_AT49F010, |
| 2900 | .total_size = 128, |
| 2901 | .page_size = 0, /* unused */ |
| 2902 | .feature_bits = FEATURE_EITHER_RESET, |
| 2903 | .tested = TEST_OK_PREW, |
| 2904 | .probe = probe_jedec, |
| 2905 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2906 | .block_erasers = |
| 2907 | { |
| 2908 | { |
| 2909 | .eraseblocks = { {128 * 1024, 1} }, |
| 2910 | .block_erase = erase_chip_block_jedec, |
| 2911 | } |
| 2912 | }, |
| 2913 | .printlock = printlock_at49f, |
| 2914 | .write = write_jedec_1, |
| 2915 | .read = read_memmapped, |
| 2916 | .voltage = {4500, 5500}, |
| 2917 | }, |
| 2918 | |
| 2919 | { |
| 2920 | .vendor = "Atmel", |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2921 | .name = "AT49F020", |
| 2922 | .bustype = BUS_PARALLEL, |
| 2923 | .manufacture_id = ATMEL_ID, |
| 2924 | .model_id = ATMEL_AT49F020, |
| 2925 | .total_size = 256, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2926 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2927 | .feature_bits = FEATURE_EITHER_RESET, |
| 2928 | .tested = TEST_OK_PRE, |
| 2929 | .probe = probe_jedec, |
| 2930 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2931 | .block_erasers = |
| 2932 | { |
| 2933 | { |
| 2934 | .eraseblocks = { {256 * 1024, 1} }, |
| 2935 | .block_erase = erase_chip_block_jedec, |
| 2936 | } |
| 2937 | /* Chip features an optional permanent write protection |
| 2938 | * of the first 8 kB. The erase function is the same as |
| 2939 | * above, but 00000H to 01FFFH will not be erased. |
| 2940 | * FIXME: add another eraser when partial erasers are |
| 2941 | * supported. |
| 2942 | */ |
| 2943 | }, |
| 2944 | .printlock = printlock_at49f, |
| 2945 | .write = write_jedec_1, |
| 2946 | .read = read_memmapped, |
| 2947 | .voltage = {4500, 5500}, |
| 2948 | }, |
| 2949 | |
| 2950 | { |
| 2951 | .vendor = "Atmel", |
| 2952 | .name = "AT49F040", |
| 2953 | .bustype = BUS_PARALLEL, |
| 2954 | .manufacture_id = ATMEL_ID, |
| 2955 | .model_id = ATMEL_AT49F040, |
| 2956 | .total_size = 512, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2957 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2958 | .feature_bits = FEATURE_EITHER_RESET, |
| 2959 | .tested = TEST_UNTESTED, |
| 2960 | .probe = probe_jedec, |
| 2961 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2962 | .block_erasers = |
| 2963 | { |
| 2964 | { |
| 2965 | .eraseblocks = { {512 * 1024, 1} }, |
| 2966 | .block_erase = erase_chip_block_jedec, |
| 2967 | } |
| 2968 | /* Chip features an optional permanent write protection |
| 2969 | * of the first 16 kB. The erase function is the same as |
| 2970 | * above, but 00000H to 03FFFH will not be erased. |
| 2971 | * FIXME: add another eraser when partial erasers are |
| 2972 | * supported. |
| 2973 | */ |
| 2974 | }, |
| 2975 | .printlock = printlock_at49f, |
| 2976 | .write = write_jedec_1, |
| 2977 | .read = read_memmapped, |
| 2978 | .voltage = {4500, 5500}, |
| 2979 | }, |
| 2980 | |
| 2981 | { |
| 2982 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2983 | .name = "AT49F080", |
| 2984 | .bustype = BUS_PARALLEL, |
| 2985 | .manufacture_id = ATMEL_ID, |
| 2986 | .model_id = ATMEL_AT49F080, |
| 2987 | .total_size = 1024, |
| 2988 | .page_size = 0, /* unused */ |
| 2989 | .feature_bits = FEATURE_EITHER_RESET, |
| 2990 | .tested = TEST_UNTESTED, |
| 2991 | .probe = probe_jedec, |
| 2992 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2993 | .block_erasers = |
| 2994 | { |
| 2995 | { |
| 2996 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2997 | .block_erase = erase_chip_block_jedec, |
| 2998 | } |
| 2999 | /* Chip features an optional permanent write protection |
| 3000 | * of the first 16 kB. The erase function is the same as |
| 3001 | * above, but 00000H to 03FFFH will not be erased. |
| 3002 | * FIXME: add another eraser when partial erasers are |
| 3003 | * supported. |
| 3004 | */ |
| 3005 | }, |
| 3006 | .printlock = printlock_at49f, |
| 3007 | .write = write_jedec_1, |
| 3008 | .read = read_memmapped, |
| 3009 | .voltage = {4500, 5500}, |
| 3010 | }, |
| 3011 | |
| 3012 | { |
| 3013 | /* 'top' version of AT49F080. equal in all aspects but the boot block address */ |
| 3014 | .vendor = "Atmel", |
| 3015 | .name = "AT49F080T", |
| 3016 | .bustype = BUS_PARALLEL, |
| 3017 | .manufacture_id = ATMEL_ID, |
| 3018 | .model_id = ATMEL_AT49F080T, |
| 3019 | .total_size = 1024, |
| 3020 | .page_size = 0, /* unused */ |
| 3021 | .feature_bits = FEATURE_EITHER_RESET, |
| 3022 | .tested = TEST_UNTESTED, |
| 3023 | .probe = probe_jedec, |
| 3024 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3025 | .block_erasers = |
| 3026 | { |
| 3027 | { |
| 3028 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3029 | .block_erase = erase_chip_block_jedec, |
| 3030 | } |
| 3031 | /* Chip features an optional permanent write protection |
| 3032 | * of the first 16 kB. The erase function is the same as |
| 3033 | * above, but FC000H to FFFFFH will not be erased. |
| 3034 | * FIXME: add another eraser when partial erasers are |
| 3035 | * supported. |
| 3036 | */ |
| 3037 | }, |
| 3038 | .printlock = printlock_at49f, |
| 3039 | .write = write_jedec_1, |
| 3040 | .read = read_memmapped, |
| 3041 | .voltage = {4500, 5500}, |
| 3042 | }, |
| 3043 | |
| 3044 | { |
| 3045 | .vendor = "Atmel", |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 3046 | .name = "AT49LH002", |
| 3047 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
| 3048 | .manufacture_id = ATMEL_ID, |
| 3049 | .model_id = ATMEL_AT49LH002, |
| 3050 | .total_size = 256, |
| 3051 | .page_size = 0, /* unused */ |
Stefan Tauner | 7de9393 | 2014-08-03 13:05:45 +0000 | [diff] [blame] | 3052 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 3053 | .tested = TEST_UNTESTED, |
Stefan Tauner | 7de9393 | 2014-08-03 13:05:45 +0000 | [diff] [blame] | 3054 | .probe = probe_82802ab, |
| 3055 | .probe_timing = TIMING_ZERO, |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 3056 | .block_erasers = |
| 3057 | { |
| 3058 | { |
| 3059 | .eraseblocks = { |
| 3060 | {64 * 1024, 3}, |
| 3061 | {32 * 1024, 1}, |
| 3062 | {8 * 1024, 2}, |
| 3063 | {16 * 1024, 1}, |
| 3064 | }, |
Stefan Tauner | 7de9393 | 2014-08-03 13:05:45 +0000 | [diff] [blame] | 3065 | .block_erase = NULL, /* TODO: Implement. */ |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 3066 | }, { |
| 3067 | .eraseblocks = { |
| 3068 | {64 * 1024, 4}, |
| 3069 | }, |
Stefan Tauner | 7de9393 | 2014-08-03 13:05:45 +0000 | [diff] [blame] | 3070 | .block_erase = erase_block_82802ab, |
| 3071 | }, |
| 3072 | }, |
| 3073 | .printlock = printlock_regspace2_block_eraser_0, |
| 3074 | .unlock = unlock_regspace2_block_eraser_0, |
| 3075 | .write = write_82802ab, |
| 3076 | .read = read_memmapped, |
| 3077 | .voltage = {3000, 3600}, |
| 3078 | }, |
| 3079 | |
| 3080 | { |
| 3081 | .vendor = "Atmel", |
| 3082 | .name = "AT49LH00B4", |
| 3083 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
| 3084 | .manufacture_id = ATMEL_ID, |
| 3085 | .model_id = ATMEL_AT49LH00B4, |
| 3086 | .total_size = 512, |
| 3087 | .page_size = 0, /* unused */ |
| 3088 | .feature_bits = FEATURE_REGISTERMAP, |
| 3089 | .tested = TEST_UNTESTED, |
| 3090 | .probe = probe_82802ab, |
| 3091 | .probe_timing = TIMING_ZERO, |
| 3092 | .block_erasers = |
| 3093 | { |
| 3094 | { |
| 3095 | .eraseblocks = { |
| 3096 | {8 * 1024, 2}, |
| 3097 | {16 * 1024, 1}, |
| 3098 | {32 * 1024, 1}, |
| 3099 | {64 * 1024, 7}, |
| 3100 | }, |
| 3101 | .block_erase = NULL, /* TODO: Implement. */ |
| 3102 | }, { |
| 3103 | .eraseblocks = { |
| 3104 | {64 * 1024, 8}, |
| 3105 | }, |
| 3106 | .block_erase = erase_block_82802ab, |
| 3107 | }, |
| 3108 | }, |
| 3109 | .printlock = printlock_regspace2_block_eraser_0, |
| 3110 | .unlock = unlock_regspace2_block_eraser_0, |
| 3111 | .write = write_82802ab, |
| 3112 | .read = read_memmapped, |
| 3113 | .voltage = {3000, 3600}, |
| 3114 | }, |
| 3115 | |
| 3116 | { |
| 3117 | .vendor = "Atmel", |
| 3118 | .name = "AT49LH004", |
| 3119 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
| 3120 | .manufacture_id = ATMEL_ID, |
| 3121 | .model_id = ATMEL_AT49LH004, |
| 3122 | .total_size = 512, |
| 3123 | .page_size = 0, /* unused */ |
| 3124 | .feature_bits = FEATURE_REGISTERMAP, |
| 3125 | .tested = TEST_UNTESTED, |
| 3126 | .probe = probe_82802ab, |
| 3127 | .probe_timing = TIMING_ZERO, |
| 3128 | .block_erasers = |
| 3129 | { |
| 3130 | { |
| 3131 | .eraseblocks = { |
| 3132 | {64 * 1024, 7}, |
| 3133 | {32 * 1024, 1}, |
| 3134 | {8 * 1024, 2}, |
| 3135 | {16 * 1024, 1}, |
| 3136 | }, |
| 3137 | .block_erase = erase_block_82802ab, |
| 3138 | }, { |
| 3139 | .eraseblocks = { |
| 3140 | {64 * 1024, 8}, |
| 3141 | }, |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 3142 | .block_erase = NULL, /* TODO: Implement. */ |
| 3143 | }, |
| 3144 | }, |
Stefan Tauner | 7de9393 | 2014-08-03 13:05:45 +0000 | [diff] [blame] | 3145 | .printlock = printlock_regspace2_block_eraser_0, |
| 3146 | .unlock = unlock_regspace2_block_eraser_0, |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 3147 | .write = write_82802ab, |
| 3148 | .read = read_memmapped, |
| 3149 | .voltage = {3000, 3600}, |
| 3150 | }, |
| 3151 | |
| 3152 | { |
Andrew Morgan | ca08146 | 2011-09-13 22:05:44 +0000 | [diff] [blame] | 3153 | .vendor = "Catalyst", |
| 3154 | .name = "CAT28F512", |
| 3155 | .bustype = BUS_PARALLEL, |
| 3156 | .manufacture_id = CATALYST_ID, |
| 3157 | .model_id = CATALYST_CAT28F512, |
| 3158 | .total_size = 64, |
| 3159 | .page_size = 0, /* unused */ |
| 3160 | .feature_bits = 0, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 3161 | .tested = {.probe = OK, .read = OK, .erase = BAD, .write = BAD }, |
Andrew Morgan | ca08146 | 2011-09-13 22:05:44 +0000 | [diff] [blame] | 3162 | .probe = probe_jedec, /* FIXME! */ |
| 3163 | .probe_timing = TIMING_ZERO, |
| 3164 | .block_erasers = |
| 3165 | { |
| 3166 | { |
| 3167 | .eraseblocks = { {64 * 1024, 1} }, |
| 3168 | .block_erase = NULL, /* TODO */ |
| 3169 | }, |
| 3170 | }, |
| 3171 | .write = NULL, /* TODO */ |
| 3172 | .read = read_memmapped, |
| 3173 | .voltage = {4500, 5500}, |
| 3174 | }, |
| 3175 | |
| 3176 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3177 | .vendor = "Bright", |
| 3178 | .name = "BM29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3179 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3180 | .manufacture_id = BRIGHT_ID, |
| 3181 | .model_id = BRIGHT_BM29F040, |
| 3182 | .total_size = 512, |
| 3183 | .page_size = 64 * 1024, |
| 3184 | .feature_bits = FEATURE_EITHER_RESET, |
| 3185 | .tested = TEST_OK_PR, |
| 3186 | .probe = probe_jedec, |
| 3187 | .probe_timing = TIMING_ZERO, |
| 3188 | .block_erasers = |
| 3189 | { |
| 3190 | { |
| 3191 | .eraseblocks = { {64 * 1024, 8} }, |
| 3192 | .block_erase = erase_sector_jedec, |
| 3193 | }, { |
| 3194 | .eraseblocks = { {512 * 1024, 1} }, |
| 3195 | .block_erase = erase_chip_block_jedec, |
| 3196 | }, |
| 3197 | }, |
| 3198 | .write = write_jedec_1, |
| 3199 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3200 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3201 | }, |
| 3202 | |
| 3203 | { |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3204 | .vendor = "ESMT", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3205 | .name = "F49B002UA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3206 | .bustype = BUS_PARALLEL, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3207 | .manufacture_id = ESMT_ID, |
| 3208 | .model_id = ESMT_F49B002UA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3209 | .total_size = 256, |
| 3210 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3211 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3212 | .tested = TEST_UNTESTED, |
| 3213 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3214 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3215 | .block_erasers = |
| 3216 | { |
| 3217 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 3218 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3219 | {128 * 1024, 1}, |
| 3220 | {96 * 1024, 1}, |
| 3221 | {8 * 1024, 2}, |
| 3222 | {16 * 1024, 1}, |
| 3223 | }, |
| 3224 | .block_erase = erase_sector_jedec, |
| 3225 | }, { |
| 3226 | .eraseblocks = { {256 * 1024, 1} }, |
| 3227 | .block_erase = erase_chip_block_jedec, |
| 3228 | } |
| 3229 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3230 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3231 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3232 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3233 | }, |
| 3234 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3235 | { |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3236 | .vendor = "ESMT", |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 3237 | .name = "F25L008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3238 | .bustype = BUS_SPI, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3239 | .manufacture_id = ESMT_ID, |
| 3240 | .model_id = ESMT_F25L008A, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 3241 | .total_size = 1024, |
| 3242 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3243 | .feature_bits = FEATURE_WRSR_EITHER, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3244 | .tested = TEST_OK_PREW, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 3245 | .probe = probe_spi_rdid, |
| 3246 | .probe_timing = TIMING_ZERO, |
| 3247 | .block_erasers = |
| 3248 | { |
| 3249 | { |
| 3250 | .eraseblocks = { {4 * 1024, 256} }, |
| 3251 | .block_erase = spi_block_erase_20, |
| 3252 | }, { |
| 3253 | .eraseblocks = { {64 * 1024, 16} }, |
| 3254 | .block_erase = spi_block_erase_d8, |
| 3255 | }, { |
| 3256 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3257 | .block_erase = spi_block_erase_60, |
| 3258 | }, { |
| 3259 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3260 | .block_erase = spi_block_erase_c7, |
| 3261 | } |
| 3262 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3263 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3264 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 3265 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 3266 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3267 | .voltage = {2700, 3600}, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 3268 | }, |
| 3269 | |
| 3270 | { |
Stefan Tauner | 85f09f7 | 2014-05-27 21:27:14 +0000 | [diff] [blame] | 3271 | .vendor = "ESMT", |
| 3272 | .name = "F25L32PA", |
| 3273 | .bustype = BUS_SPI, |
| 3274 | .manufacture_id = ESMT_ID, |
| 3275 | .model_id = ESMT_F25L32PA, |
| 3276 | .total_size = 4096, |
| 3277 | .page_size = 256, |
| 3278 | .feature_bits = FEATURE_WRSR_EITHER | FEATURE_OTP, |
| 3279 | .tested = TEST_UNTESTED, |
| 3280 | .probe = probe_spi_rdid, |
| 3281 | .probe_timing = TIMING_ZERO, |
| 3282 | .block_erasers = |
| 3283 | { |
| 3284 | { |
| 3285 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3286 | .block_erase = spi_block_erase_20, |
| 3287 | }, { |
| 3288 | .eraseblocks = { {64 * 1024, 64} }, |
| 3289 | .block_erase = spi_block_erase_d8, |
| 3290 | }, { |
| 3291 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3292 | .block_erase = spi_block_erase_60, |
| 3293 | }, { |
| 3294 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3295 | .block_erase = spi_block_erase_c7, |
| 3296 | } |
| 3297 | }, |
| 3298 | .printlock = spi_prettyprint_status_register_bp2_bpl, |
| 3299 | .unlock = spi_disable_blockprotect, |
| 3300 | .write = spi_chip_write_256, |
| 3301 | .read = spi_chip_read, |
| 3302 | .voltage = {2700, 3600}, |
| 3303 | }, |
| 3304 | |
| 3305 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3306 | .vendor = "Eon", |
| 3307 | .name = "EN25B05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3308 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3309 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3310 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3311 | .total_size = 64, |
| 3312 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3313 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3314 | .tested = TEST_UNTESTED, |
| 3315 | .probe = probe_spi_rdid, |
| 3316 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3317 | .block_erasers = |
| 3318 | { |
| 3319 | { |
| 3320 | .eraseblocks = { |
| 3321 | {4 * 1024, 2}, |
| 3322 | {8 * 1024, 1}, |
| 3323 | {16 * 1024, 1}, |
| 3324 | {32 * 1024, 1}, |
| 3325 | }, |
| 3326 | .block_erase = spi_block_erase_d8, |
| 3327 | }, { |
| 3328 | .eraseblocks = { {64 * 1024, 1} }, |
| 3329 | .block_erase = spi_block_erase_c7, |
| 3330 | } |
| 3331 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3332 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3333 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3334 | .write = spi_chip_write_256, |
| 3335 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3336 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3337 | }, |
| 3338 | |
| 3339 | { |
| 3340 | .vendor = "Eon", |
| 3341 | .name = "EN25B05T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3342 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3343 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3344 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3345 | .total_size = 64, |
| 3346 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3347 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3348 | .tested = TEST_UNTESTED, |
| 3349 | .probe = probe_spi_rdid, |
| 3350 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3351 | .block_erasers = |
| 3352 | { |
| 3353 | { |
| 3354 | .eraseblocks = { |
| 3355 | {32 * 1024, 1}, |
| 3356 | {16 * 1024, 1}, |
| 3357 | {8 * 1024, 1}, |
| 3358 | {4 * 1024, 2}, |
| 3359 | }, |
| 3360 | .block_erase = spi_block_erase_d8, |
| 3361 | }, { |
| 3362 | .eraseblocks = { {64 * 1024, 1} }, |
| 3363 | .block_erase = spi_block_erase_c7, |
| 3364 | } |
| 3365 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3366 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3367 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3368 | .write = spi_chip_write_256, |
| 3369 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3370 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3371 | }, |
| 3372 | |
| 3373 | { |
| 3374 | .vendor = "Eon", |
| 3375 | .name = "EN25B10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3376 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3377 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3378 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3379 | .total_size = 128, |
| 3380 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3381 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3382 | .tested = TEST_UNTESTED, |
| 3383 | .probe = probe_spi_rdid, |
| 3384 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3385 | .block_erasers = |
| 3386 | { |
| 3387 | { |
| 3388 | .eraseblocks = { |
| 3389 | {4 * 1024, 2}, |
| 3390 | {8 * 1024, 1}, |
| 3391 | {16 * 1024, 1}, |
| 3392 | {32 * 1024, 3}, |
| 3393 | }, |
| 3394 | .block_erase = spi_block_erase_d8, |
| 3395 | }, { |
| 3396 | .eraseblocks = { {128 * 1024, 1} }, |
| 3397 | .block_erase = spi_block_erase_c7, |
| 3398 | } |
| 3399 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3400 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3401 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3402 | .write = spi_chip_write_256, |
| 3403 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3404 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3405 | }, |
| 3406 | |
| 3407 | { |
| 3408 | .vendor = "Eon", |
| 3409 | .name = "EN25B10T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3410 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3411 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3412 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3413 | .total_size = 128, |
| 3414 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3415 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 3416 | .tested = TEST_OK_PREW, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3417 | .probe = probe_spi_rdid, |
| 3418 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3419 | .block_erasers = |
| 3420 | { |
| 3421 | { |
| 3422 | .eraseblocks = { |
| 3423 | {32 * 1024, 3}, |
| 3424 | {16 * 1024, 1}, |
| 3425 | {8 * 1024, 1}, |
| 3426 | {4 * 1024, 2}, |
| 3427 | }, |
| 3428 | .block_erase = spi_block_erase_d8, |
| 3429 | }, { |
| 3430 | .eraseblocks = { {128 * 1024, 1} }, |
| 3431 | .block_erase = spi_block_erase_c7, |
| 3432 | } |
| 3433 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3434 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3435 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3436 | .write = spi_chip_write_256, |
| 3437 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3438 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3439 | }, |
| 3440 | |
| 3441 | { |
| 3442 | .vendor = "Eon", |
| 3443 | .name = "EN25B20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3444 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3445 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3446 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3447 | .total_size = 256, |
| 3448 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3449 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3450 | .tested = TEST_UNTESTED, |
| 3451 | .probe = probe_spi_rdid, |
| 3452 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3453 | .block_erasers = |
| 3454 | { |
| 3455 | { |
| 3456 | .eraseblocks = { |
| 3457 | {4 * 1024, 2}, |
| 3458 | {8 * 1024, 1}, |
| 3459 | {16 * 1024, 1}, |
| 3460 | {32 * 1024, 1}, |
| 3461 | {64 * 1024, 3} |
| 3462 | }, |
| 3463 | .block_erase = spi_block_erase_d8, |
| 3464 | }, { |
| 3465 | .eraseblocks = { {256 * 1024, 1} }, |
| 3466 | .block_erase = spi_block_erase_c7, |
| 3467 | } |
| 3468 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3469 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3470 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3471 | .write = spi_chip_write_256, |
| 3472 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3473 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3474 | }, |
| 3475 | |
| 3476 | { |
| 3477 | .vendor = "Eon", |
| 3478 | .name = "EN25B20T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3479 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3480 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3481 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3482 | .total_size = 256, |
| 3483 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3484 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3485 | .tested = TEST_UNTESTED, |
| 3486 | .probe = probe_spi_rdid, |
| 3487 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3488 | .block_erasers = |
| 3489 | { |
| 3490 | { |
| 3491 | .eraseblocks = { |
| 3492 | {64 * 1024, 3}, |
| 3493 | {32 * 1024, 1}, |
| 3494 | {16 * 1024, 1}, |
| 3495 | {8 * 1024, 1}, |
| 3496 | {4 * 1024, 2}, |
| 3497 | }, |
| 3498 | .block_erase = spi_block_erase_d8, |
| 3499 | }, { |
| 3500 | .eraseblocks = { {256 * 1024, 1} }, |
| 3501 | .block_erase = spi_block_erase_c7, |
| 3502 | } |
| 3503 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3504 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3505 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3506 | .write = spi_chip_write_256, |
| 3507 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3508 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3509 | }, |
| 3510 | |
| 3511 | { |
| 3512 | .vendor = "Eon", |
| 3513 | .name = "EN25B40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3514 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3515 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3516 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3517 | .total_size = 512, |
| 3518 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3519 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3520 | .tested = TEST_UNTESTED, |
| 3521 | .probe = probe_spi_rdid, |
| 3522 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3523 | .block_erasers = |
| 3524 | { |
| 3525 | { |
| 3526 | .eraseblocks = { |
| 3527 | {4 * 1024, 2}, |
| 3528 | {8 * 1024, 1}, |
| 3529 | {16 * 1024, 1}, |
| 3530 | {32 * 1024, 1}, |
| 3531 | {64 * 1024, 7} |
| 3532 | }, |
| 3533 | .block_erase = spi_block_erase_d8, |
| 3534 | }, { |
| 3535 | .eraseblocks = { {512 * 1024, 1} }, |
| 3536 | .block_erase = spi_block_erase_c7, |
| 3537 | } |
| 3538 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3539 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3540 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3541 | .write = spi_chip_write_256, |
| 3542 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3543 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3544 | }, |
| 3545 | |
| 3546 | { |
| 3547 | .vendor = "Eon", |
| 3548 | .name = "EN25B40T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3549 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3550 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3551 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3552 | .total_size = 512, |
| 3553 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3554 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3555 | .tested = TEST_UNTESTED, |
| 3556 | .probe = probe_spi_rdid, |
| 3557 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3558 | .block_erasers = |
| 3559 | { |
| 3560 | { |
| 3561 | .eraseblocks = { |
| 3562 | {64 * 1024, 7}, |
| 3563 | {32 * 1024, 1}, |
| 3564 | {16 * 1024, 1}, |
| 3565 | {8 * 1024, 1}, |
| 3566 | {4 * 1024, 2}, |
| 3567 | }, |
| 3568 | .block_erase = spi_block_erase_d8, |
| 3569 | }, { |
| 3570 | .eraseblocks = { {512 * 1024, 1} }, |
| 3571 | .block_erase = spi_block_erase_c7, |
| 3572 | } |
| 3573 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3574 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3575 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3576 | .write = spi_chip_write_256, |
| 3577 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3578 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3579 | }, |
| 3580 | |
| 3581 | { |
| 3582 | .vendor = "Eon", |
| 3583 | .name = "EN25B80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3584 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3585 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3586 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3587 | .total_size = 1024, |
| 3588 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3589 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3590 | .tested = TEST_UNTESTED, |
| 3591 | .probe = probe_spi_rdid, |
| 3592 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3593 | .block_erasers = |
| 3594 | { |
| 3595 | { |
| 3596 | .eraseblocks = { |
| 3597 | {4 * 1024, 2}, |
| 3598 | {8 * 1024, 1}, |
| 3599 | {16 * 1024, 1}, |
| 3600 | {32 * 1024, 1}, |
| 3601 | {64 * 1024, 15} |
| 3602 | }, |
| 3603 | .block_erase = spi_block_erase_d8, |
| 3604 | }, { |
| 3605 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3606 | .block_erase = spi_block_erase_c7, |
| 3607 | } |
| 3608 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3609 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3610 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3611 | .write = spi_chip_write_256, |
| 3612 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3613 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3614 | }, |
| 3615 | |
| 3616 | { |
| 3617 | .vendor = "Eon", |
| 3618 | .name = "EN25B80T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3619 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3620 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3621 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3622 | .total_size = 1024, |
| 3623 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3624 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3625 | .tested = TEST_UNTESTED, |
| 3626 | .probe = probe_spi_rdid, |
| 3627 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3628 | .block_erasers = |
| 3629 | { |
| 3630 | { |
| 3631 | .eraseblocks = { |
| 3632 | {64 * 1024, 15}, |
| 3633 | {32 * 1024, 1}, |
| 3634 | {16 * 1024, 1}, |
| 3635 | {8 * 1024, 1}, |
| 3636 | {4 * 1024, 2}, |
| 3637 | }, |
| 3638 | .block_erase = spi_block_erase_d8, |
| 3639 | }, { |
| 3640 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3641 | .block_erase = spi_block_erase_c7, |
| 3642 | } |
| 3643 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3644 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3645 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3646 | .write = spi_chip_write_256, |
| 3647 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3648 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3649 | }, |
| 3650 | |
| 3651 | { |
| 3652 | .vendor = "Eon", |
| 3653 | .name = "EN25B16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3654 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3655 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3656 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3657 | .total_size = 2048, |
| 3658 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3659 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3660 | .tested = TEST_UNTESTED, |
| 3661 | .probe = probe_spi_rdid, |
| 3662 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3663 | .block_erasers = |
| 3664 | { |
| 3665 | { |
| 3666 | .eraseblocks = { |
| 3667 | {4 * 1024, 2}, |
| 3668 | {8 * 1024, 1}, |
| 3669 | {16 * 1024, 1}, |
| 3670 | {32 * 1024, 1}, |
| 3671 | {64 * 1024, 31}, |
| 3672 | }, |
| 3673 | .block_erase = spi_block_erase_d8, |
| 3674 | }, { |
| 3675 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3676 | .block_erase = spi_block_erase_c7, |
| 3677 | } |
| 3678 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3679 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3680 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3681 | .write = spi_chip_write_256, |
| 3682 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3683 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3684 | }, |
| 3685 | |
| 3686 | { |
| 3687 | .vendor = "Eon", |
| 3688 | .name = "EN25B16T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3689 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3690 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3691 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3692 | .total_size = 2048, |
| 3693 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3694 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3695 | .tested = TEST_UNTESTED, |
| 3696 | .probe = probe_spi_rdid, |
| 3697 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3698 | .block_erasers = |
| 3699 | { |
| 3700 | { |
| 3701 | .eraseblocks = { |
| 3702 | {64 * 1024, 31}, |
| 3703 | {32 * 1024, 1}, |
| 3704 | {16 * 1024, 1}, |
| 3705 | {8 * 1024, 1}, |
| 3706 | {4 * 1024, 2}, |
| 3707 | }, |
| 3708 | .block_erase = spi_block_erase_d8, |
| 3709 | }, { |
| 3710 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3711 | .block_erase = spi_block_erase_c7, |
| 3712 | } |
| 3713 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3714 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3715 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3716 | .write = spi_chip_write_256, |
| 3717 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3718 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3719 | }, |
| 3720 | |
| 3721 | { |
| 3722 | .vendor = "Eon", |
| 3723 | .name = "EN25B32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3724 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3725 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3726 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3727 | .total_size = 4096, |
| 3728 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3729 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3730 | .tested = TEST_UNTESTED, |
| 3731 | .probe = probe_spi_rdid, |
| 3732 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3733 | .block_erasers = |
| 3734 | { |
| 3735 | { |
| 3736 | .eraseblocks = { |
| 3737 | {4 * 1024, 2}, |
| 3738 | {8 * 1024, 1}, |
| 3739 | {16 * 1024, 1}, |
| 3740 | {32 * 1024, 1}, |
| 3741 | {64 * 1024, 63}, |
| 3742 | }, |
| 3743 | .block_erase = spi_block_erase_d8, |
| 3744 | }, { |
| 3745 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3746 | .block_erase = spi_block_erase_c7, |
| 3747 | } |
| 3748 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3749 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3750 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3751 | .write = spi_chip_write_256, |
| 3752 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3753 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3754 | }, |
| 3755 | |
| 3756 | { |
| 3757 | .vendor = "Eon", |
| 3758 | .name = "EN25B32T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3759 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3760 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3761 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3762 | .total_size = 4096, |
| 3763 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3764 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3765 | .tested = TEST_UNTESTED, |
| 3766 | .probe = probe_spi_rdid, |
| 3767 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3768 | .block_erasers = |
| 3769 | { |
| 3770 | { |
| 3771 | .eraseblocks = { |
| 3772 | {64 * 1024, 63}, |
| 3773 | {32 * 1024, 1}, |
| 3774 | {16 * 1024, 1}, |
| 3775 | {8 * 1024, 1}, |
| 3776 | {4 * 1024, 2}, |
| 3777 | }, |
| 3778 | .block_erase = spi_block_erase_d8, |
| 3779 | }, { |
| 3780 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3781 | .block_erase = spi_block_erase_c7, |
| 3782 | } |
| 3783 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3784 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3785 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3786 | .write = spi_chip_write_256, |
| 3787 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3788 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3789 | }, |
| 3790 | |
| 3791 | { |
| 3792 | .vendor = "Eon", |
| 3793 | .name = "EN25B64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3794 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3795 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3796 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3797 | .total_size = 8192, |
| 3798 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3799 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3800 | .tested = TEST_UNTESTED, |
| 3801 | .probe = probe_spi_rdid, |
| 3802 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3803 | .block_erasers = |
| 3804 | { |
| 3805 | { |
| 3806 | .eraseblocks = { |
| 3807 | {4 * 1024, 2}, |
| 3808 | {8 * 1024, 1}, |
| 3809 | {16 * 1024, 1}, |
| 3810 | {32 * 1024, 1}, |
| 3811 | {64 * 1024, 127}, |
| 3812 | }, |
| 3813 | .block_erase = spi_block_erase_d8, |
| 3814 | }, { |
| 3815 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3816 | .block_erase = spi_block_erase_c7, |
| 3817 | } |
| 3818 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3819 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3820 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3821 | .write = spi_chip_write_256, |
| 3822 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3823 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3824 | }, |
| 3825 | |
| 3826 | { |
| 3827 | .vendor = "Eon", |
| 3828 | .name = "EN25B64T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3829 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3830 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3831 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3832 | .total_size = 8192, |
| 3833 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3834 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3835 | .tested = TEST_UNTESTED, |
| 3836 | .probe = probe_spi_rdid, |
| 3837 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3838 | .block_erasers = |
| 3839 | { |
| 3840 | { |
| 3841 | .eraseblocks = { |
| 3842 | {64 * 1024, 127}, |
| 3843 | {32 * 1024, 1}, |
| 3844 | {16 * 1024, 1}, |
| 3845 | {8 * 1024, 1}, |
| 3846 | {4 * 1024, 2}, |
| 3847 | }, |
| 3848 | .block_erase = spi_block_erase_d8, |
| 3849 | }, { |
| 3850 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3851 | .block_erase = spi_block_erase_c7, |
| 3852 | } |
| 3853 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3854 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3855 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3856 | .write = spi_chip_write_256, |
| 3857 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3858 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3859 | }, |
| 3860 | |
| 3861 | { |
| 3862 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3863 | .name = "EN25F05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3864 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3865 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3866 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3867 | .total_size = 64, |
| 3868 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3869 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 3870 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3871 | .probe = probe_spi_rdid, |
| 3872 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3873 | .block_erasers = |
| 3874 | { |
| 3875 | { |
| 3876 | .eraseblocks = { {4 * 1024, 16} }, |
| 3877 | .block_erase = spi_block_erase_20, |
| 3878 | }, { |
| 3879 | .eraseblocks = { {32 * 1024, 2} }, |
| 3880 | .block_erase = spi_block_erase_d8, |
| 3881 | }, { |
| 3882 | .eraseblocks = { {32 * 1024, 2} }, |
| 3883 | .block_erase = spi_block_erase_52, |
| 3884 | }, { |
| 3885 | .eraseblocks = { {64 * 1024, 1} }, |
| 3886 | .block_erase = spi_block_erase_60, |
| 3887 | }, { |
| 3888 | .eraseblocks = { {64 * 1024, 1} }, |
| 3889 | .block_erase = spi_block_erase_c7, |
| 3890 | } |
| 3891 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3892 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3893 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3894 | .write = spi_chip_write_256, |
| 3895 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3896 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3897 | }, |
| 3898 | |
| 3899 | { |
| 3900 | .vendor = "Eon", |
| 3901 | .name = "EN25F10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3902 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3903 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3904 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3905 | .total_size = 128, |
| 3906 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3907 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3908 | .tested = TEST_UNTESTED, |
| 3909 | .probe = probe_spi_rdid, |
| 3910 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3911 | .block_erasers = |
| 3912 | { |
| 3913 | { |
| 3914 | .eraseblocks = { {4 * 1024, 32} }, |
| 3915 | .block_erase = spi_block_erase_20, |
| 3916 | }, { |
| 3917 | .eraseblocks = { {32 * 1024, 4} }, |
| 3918 | .block_erase = spi_block_erase_d8, |
| 3919 | }, { |
| 3920 | .eraseblocks = { {32 * 1024, 4} }, |
| 3921 | .block_erase = spi_block_erase_52, |
| 3922 | }, { |
| 3923 | .eraseblocks = { {128 * 1024, 1} }, |
| 3924 | .block_erase = spi_block_erase_60, |
| 3925 | }, { |
| 3926 | .eraseblocks = { {128 * 1024, 1} }, |
| 3927 | .block_erase = spi_block_erase_c7, |
| 3928 | } |
| 3929 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3930 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3931 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3932 | .write = spi_chip_write_256, |
| 3933 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3934 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3935 | }, |
| 3936 | |
| 3937 | { |
| 3938 | .vendor = "Eon", |
| 3939 | .name = "EN25F20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3940 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3941 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3942 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3943 | .total_size = 256, |
| 3944 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3945 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3946 | .tested = TEST_UNTESTED, |
| 3947 | .probe = probe_spi_rdid, |
| 3948 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3949 | .block_erasers = |
| 3950 | { |
| 3951 | { |
| 3952 | .eraseblocks = { {4 * 1024, 64} }, |
| 3953 | .block_erase = spi_block_erase_20, |
| 3954 | }, { |
| 3955 | .eraseblocks = { {64 * 1024, 4} }, |
| 3956 | .block_erase = spi_block_erase_d8, |
| 3957 | }, { |
| 3958 | .eraseblocks = { {64 * 1024, 4} }, |
| 3959 | .block_erase = spi_block_erase_52, |
| 3960 | }, { |
| 3961 | .eraseblocks = { {256 * 1024, 1} }, |
| 3962 | .block_erase = spi_block_erase_60, |
| 3963 | }, { |
| 3964 | .eraseblocks = { {256 * 1024, 1} }, |
| 3965 | .block_erase = spi_block_erase_c7, |
| 3966 | } |
| 3967 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3968 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3969 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3970 | .write = spi_chip_write_256, |
| 3971 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3972 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3973 | }, |
| 3974 | |
| 3975 | { |
| 3976 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3977 | .name = "EN25F40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3978 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3979 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3980 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3981 | .total_size = 512, |
| 3982 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3983 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 3984 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3985 | .probe = probe_spi_rdid, |
| 3986 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3987 | .block_erasers = |
| 3988 | { |
| 3989 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3990 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3991 | .block_erase = spi_block_erase_20, |
| 3992 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3993 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3994 | .block_erase = spi_block_erase_d8, |
| 3995 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3996 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3997 | .block_erase = spi_block_erase_60, |
| 3998 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3999 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4000 | .block_erase = spi_block_erase_c7, |
| 4001 | }, |
| 4002 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4003 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4004 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4005 | .write = spi_chip_write_256, |
| 4006 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4007 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4008 | }, |
| 4009 | |
| 4010 | { |
| 4011 | .vendor = "Eon", |
| 4012 | .name = "EN25F80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4013 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4014 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4015 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4016 | .total_size = 1024, |
| 4017 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 4018 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 4019 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4020 | .probe = probe_spi_rdid, |
| 4021 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4022 | .block_erasers = |
| 4023 | { |
| 4024 | { |
| 4025 | .eraseblocks = { {4 * 1024, 256} }, |
| 4026 | .block_erase = spi_block_erase_20, |
| 4027 | }, { |
| 4028 | .eraseblocks = { {64 * 1024, 16} }, |
| 4029 | .block_erase = spi_block_erase_d8, |
| 4030 | }, { |
| 4031 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4032 | .block_erase = spi_block_erase_60, |
| 4033 | }, { |
| 4034 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4035 | .block_erase = spi_block_erase_c7, |
| 4036 | } |
| 4037 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4038 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4039 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4040 | .write = spi_chip_write_256, |
| 4041 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4042 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4043 | }, |
| 4044 | |
| 4045 | { |
| 4046 | .vendor = "Eon", |
| 4047 | .name = "EN25F16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4048 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4049 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4050 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4051 | .total_size = 2048, |
| 4052 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 4053 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 4054 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4055 | .probe = probe_spi_rdid, |
| 4056 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4057 | .block_erasers = |
| 4058 | { |
| 4059 | { |
| 4060 | .eraseblocks = { {4 * 1024, 512} }, |
| 4061 | .block_erase = spi_block_erase_20, |
| 4062 | }, { |
| 4063 | .eraseblocks = { {64 * 1024, 32} }, |
| 4064 | .block_erase = spi_block_erase_d8, |
| 4065 | }, { |
| 4066 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4067 | .block_erase = spi_block_erase_60, |
| 4068 | }, { |
| 4069 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4070 | .block_erase = spi_block_erase_c7, |
| 4071 | } |
| 4072 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4073 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4074 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4075 | .write = spi_chip_write_256, |
| 4076 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4077 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 4078 | }, |
| 4079 | |
| 4080 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4081 | .vendor = "Eon", |
| 4082 | .name = "EN25F32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4083 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4084 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4085 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4086 | .total_size = 4096, |
| 4087 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 4088 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4089 | .tested = TEST_UNTESTED, |
| 4090 | .probe = probe_spi_rdid, |
| 4091 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4092 | .block_erasers = |
| 4093 | { |
| 4094 | { |
| 4095 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4096 | .block_erase = spi_block_erase_20, |
| 4097 | }, { |
| 4098 | .eraseblocks = { {64 * 1024, 64} }, |
| 4099 | .block_erase = spi_block_erase_d8, |
| 4100 | }, { |
| 4101 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4102 | .block_erase = spi_block_erase_60, |
| 4103 | }, { |
| 4104 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4105 | .block_erase = spi_block_erase_c7, |
| 4106 | } |
| 4107 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4108 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4109 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4110 | .write = spi_chip_write_256, |
| 4111 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4112 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 4113 | }, |
| 4114 | |
| 4115 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 4116 | .vendor = "Eon", |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 4117 | .name = "EN25F64", |
| 4118 | .bustype = BUS_SPI, |
| 4119 | .manufacture_id = EON_ID_NOPREFIX, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 4120 | .model_id = EON_EN25F64, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 4121 | .total_size = 8192, |
| 4122 | .page_size = 256, |
| 4123 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 4124 | .tested = TEST_OK_PREW, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 4125 | .probe = probe_spi_rdid, |
| 4126 | .probe_timing = TIMING_ZERO, |
| 4127 | .block_erasers = |
| 4128 | { |
| 4129 | { |
| 4130 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4131 | .block_erase = spi_block_erase_20, |
| 4132 | }, { |
| 4133 | .eraseblocks = { {64 * 1024, 128} }, |
| 4134 | .block_erase = spi_block_erase_d8, |
| 4135 | }, { |
| 4136 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4137 | .block_erase = spi_block_erase_60, |
| 4138 | }, { |
| 4139 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4140 | .block_erase = spi_block_erase_c7, |
| 4141 | } |
| 4142 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4143 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 4144 | .unlock = spi_disable_blockprotect, |
| 4145 | .write = spi_chip_write_256, |
| 4146 | .read = spi_chip_read, |
| 4147 | .voltage = {2700, 3600}, |
| 4148 | }, |
| 4149 | |
| 4150 | { |
| 4151 | .vendor = "Eon", |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4152 | .name = "EN25Q40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4153 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4154 | .manufacture_id = EON_ID_NOPREFIX, |
| 4155 | .model_id = EON_EN25Q40, |
| 4156 | .total_size = 512, |
| 4157 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 4158 | /* OTP: 256B total; enter 0x3A */ |
| 4159 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4160 | .tested = TEST_UNTESTED, |
| 4161 | .probe = probe_spi_rdid, |
| 4162 | .probe_timing = TIMING_ZERO, |
| 4163 | .block_erasers = |
| 4164 | { |
| 4165 | { |
| 4166 | .eraseblocks = { {4 * 1024, 128} }, |
| 4167 | .block_erase = spi_block_erase_20, |
| 4168 | }, { |
| 4169 | .eraseblocks = { {64 * 1024, 8} }, |
| 4170 | .block_erase = spi_block_erase_d8, |
| 4171 | }, { |
| 4172 | .eraseblocks = { {512 * 1024, 1} }, |
| 4173 | .block_erase = spi_block_erase_60, |
| 4174 | }, { |
| 4175 | .eraseblocks = { {512 * 1024, 1} }, |
| 4176 | .block_erase = spi_block_erase_c7, |
| 4177 | } |
| 4178 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4179 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4180 | .unlock = spi_disable_blockprotect, |
| 4181 | .write = spi_chip_write_256, |
| 4182 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4183 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4184 | }, |
| 4185 | |
| 4186 | { |
| 4187 | .vendor = "Eon", |
| 4188 | .name = "EN25Q80(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4189 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4190 | .manufacture_id = EON_ID_NOPREFIX, |
| 4191 | .model_id = EON_EN25Q80, |
| 4192 | .total_size = 1024, |
| 4193 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 4194 | /* OTP: 256B total; enter 0x3A */ |
| 4195 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4196 | .tested = TEST_UNTESTED, |
| 4197 | .probe = probe_spi_rdid, |
| 4198 | .probe_timing = TIMING_ZERO, |
| 4199 | .block_erasers = |
| 4200 | { |
| 4201 | { |
| 4202 | .eraseblocks = { {4 * 1024, 256} }, |
| 4203 | .block_erase = spi_block_erase_20, |
| 4204 | }, { |
| 4205 | .eraseblocks = { {64 * 1024, 16} }, |
| 4206 | .block_erase = spi_block_erase_d8, |
| 4207 | }, { |
| 4208 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4209 | .block_erase = spi_block_erase_60, |
| 4210 | }, { |
| 4211 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4212 | .block_erase = spi_block_erase_c7, |
| 4213 | } |
| 4214 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4215 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4216 | .unlock = spi_disable_blockprotect, |
| 4217 | .write = spi_chip_write_256, |
| 4218 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4219 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4220 | }, |
| 4221 | |
| 4222 | { |
| 4223 | /* Note: EN25D16 is an evil twin which shares the model ID |
| 4224 | but has different write protection capabilities */ |
| 4225 | .vendor = "Eon", |
| 4226 | .name = "EN25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4227 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4228 | .manufacture_id = EON_ID_NOPREFIX, |
| 4229 | .model_id = EON_EN25Q16, |
| 4230 | .total_size = 2048, |
| 4231 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 4232 | /* OTP: D16 512B/Q16 128B total; enter 0x3A */ |
| 4233 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4234 | .tested = TEST_UNTESTED, |
| 4235 | .probe = probe_spi_rdid, |
| 4236 | .probe_timing = TIMING_ZERO, |
| 4237 | .block_erasers = |
| 4238 | { |
| 4239 | { |
| 4240 | .eraseblocks = { {4 * 1024, 512} }, |
| 4241 | .block_erase = spi_block_erase_20, |
| 4242 | }, { |
| 4243 | .eraseblocks = { {64 * 1024, 32} }, |
| 4244 | .block_erase = spi_block_erase_d8, |
| 4245 | }, { |
| 4246 | /* not supported by Q16 version */ |
| 4247 | .eraseblocks = { {64 * 1024, 32} }, |
| 4248 | .block_erase = spi_block_erase_52, |
| 4249 | }, { |
| 4250 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4251 | .block_erase = spi_block_erase_60, |
| 4252 | }, { |
| 4253 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4254 | .block_erase = spi_block_erase_c7, |
| 4255 | } |
| 4256 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4257 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4258 | .unlock = spi_disable_blockprotect, |
| 4259 | .write = spi_chip_write_256, |
| 4260 | .read = spi_chip_read, |
| 4261 | .voltage = {2700, 3600}, |
| 4262 | }, |
| 4263 | |
| 4264 | { |
| 4265 | .vendor = "Eon", |
| 4266 | .name = "EN25Q32(A/B)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4267 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4268 | .manufacture_id = EON_ID_NOPREFIX, |
| 4269 | .model_id = EON_EN25Q32, |
| 4270 | .total_size = 4096, |
| 4271 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 4272 | /* OTP: 512B total; enter 0x3A */ |
| 4273 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4274 | .tested = TEST_OK_PREW, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4275 | .probe = probe_spi_rdid, |
| 4276 | .probe_timing = TIMING_ZERO, |
| 4277 | .block_erasers = |
| 4278 | { |
| 4279 | { |
| 4280 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4281 | .block_erase = spi_block_erase_20, |
| 4282 | }, { |
| 4283 | .eraseblocks = { {64 * 1024, 64} }, |
| 4284 | .block_erase = spi_block_erase_d8, |
| 4285 | }, { |
| 4286 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4287 | .block_erase = spi_block_erase_60, |
| 4288 | }, { |
| 4289 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4290 | .block_erase = spi_block_erase_c7, |
| 4291 | } |
| 4292 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4293 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4294 | .unlock = spi_disable_blockprotect, |
| 4295 | .write = spi_chip_write_256, |
| 4296 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4297 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4298 | }, |
| 4299 | |
| 4300 | { |
| 4301 | .vendor = "Eon", |
| 4302 | .name = "EN25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4303 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4304 | .manufacture_id = EON_ID_NOPREFIX, |
| 4305 | .model_id = EON_EN25Q64, |
| 4306 | .total_size = 8192, |
| 4307 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 4308 | /* OTP: 512B total; enter 0x3A */ |
| 4309 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4310 | .tested = TEST_OK_PREW, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4311 | .probe = probe_spi_rdid, |
| 4312 | .probe_timing = TIMING_ZERO, |
| 4313 | .block_erasers = |
| 4314 | { |
| 4315 | { |
| 4316 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4317 | .block_erase = spi_block_erase_20, |
| 4318 | }, { |
| 4319 | .eraseblocks = { {64 * 1024, 128} }, |
| 4320 | .block_erase = spi_block_erase_d8, |
| 4321 | }, { |
| 4322 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4323 | .block_erase = spi_block_erase_60, |
| 4324 | }, { |
| 4325 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4326 | .block_erase = spi_block_erase_c7, |
| 4327 | } |
| 4328 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4329 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4330 | .unlock = spi_disable_blockprotect, |
| 4331 | .write = spi_chip_write_256, |
| 4332 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4333 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4334 | }, |
| 4335 | |
| 4336 | { |
| 4337 | .vendor = "Eon", |
| 4338 | .name = "EN25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4339 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4340 | .manufacture_id = EON_ID_NOPREFIX, |
| 4341 | .model_id = EON_EN25Q128, |
| 4342 | .total_size = 16384, |
| 4343 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 4344 | /* OTP: 512B total; enter 0x3A */ |
| 4345 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4346 | .tested = TEST_UNTESTED, |
| 4347 | .probe = probe_spi_rdid, |
| 4348 | .probe_timing = TIMING_ZERO, |
| 4349 | .block_erasers = |
| 4350 | { |
| 4351 | { |
| 4352 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4353 | .block_erase = spi_block_erase_20, |
| 4354 | }, { |
| 4355 | .eraseblocks = { {64 * 1024, 256} }, |
| 4356 | .block_erase = spi_block_erase_d8, |
| 4357 | }, { |
| 4358 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4359 | .block_erase = spi_block_erase_60, |
| 4360 | }, { |
| 4361 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4362 | .block_erase = spi_block_erase_c7, |
| 4363 | } |
| 4364 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4365 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4366 | .unlock = spi_disable_blockprotect, |
| 4367 | .write = spi_chip_write_256, |
| 4368 | .read = spi_chip_read, |
| 4369 | }, |
| 4370 | |
| 4371 | { |
| 4372 | .vendor = "Eon", |
| 4373 | .name = "EN25QH16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4374 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4375 | .manufacture_id = EON_ID_NOPREFIX, |
| 4376 | .model_id = EON_EN25QH16, |
| 4377 | .total_size = 2048, |
| 4378 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 4379 | /* supports SFDP */ |
| 4380 | /* OTP: 512B total; enter 0x3A */ |
Nikolay Nikolaev | c08542b | 2013-06-28 21:29:14 +0000 | [diff] [blame] | 4381 | /* QPI enable 0x38, disable 0xFF */ |
| 4382 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 4383 | .tested = TEST_OK_PR, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4384 | .probe = probe_spi_rdid, |
| 4385 | .probe_timing = TIMING_ZERO, |
| 4386 | .block_erasers = |
| 4387 | { |
| 4388 | { |
| 4389 | .eraseblocks = { {4 * 1024, 512} }, |
| 4390 | .block_erase = spi_block_erase_20, |
| 4391 | }, { |
| 4392 | .eraseblocks = { {64 * 1024, 32} }, |
| 4393 | .block_erase = spi_block_erase_d8, |
| 4394 | }, { |
| 4395 | .eraseblocks = { {1024 * 2048, 1} }, |
| 4396 | .block_erase = spi_block_erase_60, |
| 4397 | }, { |
| 4398 | .eraseblocks = { {1024 * 2048, 1} }, |
| 4399 | .block_erase = spi_block_erase_c7, |
| 4400 | } |
| 4401 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4402 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Nikolay Nikolaev | c08542b | 2013-06-28 21:29:14 +0000 | [diff] [blame] | 4403 | .unlock = spi_disable_blockprotect_bp3_srwd, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 4404 | .write = spi_chip_write_256, |
| 4405 | .read = spi_chip_read, |
Stefan Tauner | 2cef916 | 2012-05-14 01:51:46 +0000 | [diff] [blame] | 4406 | .voltage = {2700, 3600}, |
| 4407 | }, |
| 4408 | |
| 4409 | { |
| 4410 | .vendor = "Eon", |
| 4411 | .name = "EN25QH32", |
| 4412 | .bustype = BUS_SPI, |
| 4413 | .manufacture_id = EON_ID_NOPREFIX, |
| 4414 | .model_id = EON_EN25QH32, |
| 4415 | .total_size = 4096, |
| 4416 | .page_size = 256, |
| 4417 | /* supports SFDP */ |
| 4418 | /* OTP: 512B total; enter 0x3A */ |
Nikolay Nikolaev | c08542b | 2013-06-28 21:29:14 +0000 | [diff] [blame] | 4419 | /* QPI enable 0x38, disable 0xFF */ |
| 4420 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
Stefan Tauner | 2cef916 | 2012-05-14 01:51:46 +0000 | [diff] [blame] | 4421 | .tested = TEST_UNTESTED, |
| 4422 | .probe = probe_spi_rdid, |
| 4423 | .probe_timing = TIMING_ZERO, |
| 4424 | .block_erasers = |
| 4425 | { |
| 4426 | { |
| 4427 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4428 | .block_erase = spi_block_erase_20, |
| 4429 | }, { |
| 4430 | .eraseblocks = { {64 * 1024, 64} }, |
| 4431 | .block_erase = spi_block_erase_d8, |
| 4432 | }, { |
| 4433 | .eraseblocks = { {1024 * 4096, 1} }, |
| 4434 | .block_erase = spi_block_erase_60, |
| 4435 | }, { |
| 4436 | .eraseblocks = { {1024 * 4096, 1} }, |
| 4437 | .block_erase = spi_block_erase_c7, |
| 4438 | } |
| 4439 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4440 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Nikolay Nikolaev | c08542b | 2013-06-28 21:29:14 +0000 | [diff] [blame] | 4441 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 4442 | .write = spi_chip_write_256, |
| 4443 | .read = spi_chip_read, |
| 4444 | .voltage = {2700, 3600}, |
| 4445 | }, |
| 4446 | |
| 4447 | { |
| 4448 | .vendor = "Eon", |
| 4449 | .name = "EN25QH64", |
| 4450 | .bustype = BUS_SPI, |
| 4451 | .manufacture_id = EON_ID_NOPREFIX, |
| 4452 | .model_id = EON_EN25QH64, |
| 4453 | .total_size = 8192, |
| 4454 | .page_size = 256, |
| 4455 | /* supports SFDP */ |
| 4456 | /* OTP: 512B total; enter 0x3A */ |
| 4457 | /* QPI enable 0x38, disable 0xFF */ |
| 4458 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 4459 | .tested = TEST_OK_PR, |
Nikolay Nikolaev | c08542b | 2013-06-28 21:29:14 +0000 | [diff] [blame] | 4460 | .probe = probe_spi_rdid, |
| 4461 | .probe_timing = TIMING_ZERO, |
| 4462 | .block_erasers = { |
| 4463 | { |
| 4464 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4465 | .block_erase = spi_block_erase_20, |
| 4466 | }, { |
| 4467 | .eraseblocks = { {64 * 1024, 128} }, |
| 4468 | .block_erase = spi_block_erase_d8, |
| 4469 | }, { |
| 4470 | .eraseblocks = { { 8192 * 1024, 1} }, |
| 4471 | .block_erase = spi_block_erase_60, |
| 4472 | }, { |
| 4473 | .eraseblocks = { { 8192 * 1024, 1} }, |
| 4474 | .block_erase = spi_block_erase_c7, |
| 4475 | } |
| 4476 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4477 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Nikolay Nikolaev | c08542b | 2013-06-28 21:29:14 +0000 | [diff] [blame] | 4478 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 4479 | .write = spi_chip_write_256, |
| 4480 | .read = spi_chip_read, |
| 4481 | .voltage = {2700, 3600}, |
| 4482 | }, |
| 4483 | |
| 4484 | { |
| 4485 | .vendor = "Eon", |
| 4486 | .name = "EN25QH128", |
| 4487 | .bustype = BUS_SPI, |
| 4488 | .manufacture_id = EON_ID_NOPREFIX, |
| 4489 | .model_id = EON_EN25QH128, |
| 4490 | .total_size = 16384, |
| 4491 | .page_size = 256, |
| 4492 | /* supports SFDP */ |
| 4493 | /* OTP: 512B total; enter 0x3A */ |
| 4494 | /* QPI enable 0x38, disable 0xFF */ |
| 4495 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 4496 | .tested = TEST_UNTESTED, |
| 4497 | .probe = probe_spi_rdid, |
| 4498 | .probe_timing = TIMING_ZERO, |
| 4499 | .block_erasers = { |
| 4500 | { |
| 4501 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4502 | .block_erase = spi_block_erase_20, |
| 4503 | }, { |
| 4504 | .eraseblocks = { {64 * 1024, 256} }, |
| 4505 | .block_erase = spi_block_erase_d8, |
| 4506 | }, { |
| 4507 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 4508 | .block_erase = spi_block_erase_60, |
| 4509 | }, { |
| 4510 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 4511 | .block_erase = spi_block_erase_c7, |
| 4512 | } |
| 4513 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4514 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Nikolay Nikolaev | c08542b | 2013-06-28 21:29:14 +0000 | [diff] [blame] | 4515 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 4516 | .write = spi_chip_write_256, |
| 4517 | .read = spi_chip_read, |
| 4518 | .voltage = {2700, 3600}, |
| 4519 | }, |
| 4520 | |
| 4521 | { |
| 4522 | .vendor = "Eon", |
Nikolay Nikolaev | d0e3ea1 | 2013-06-28 21:29:08 +0000 | [diff] [blame] | 4523 | .name = "EN25S10", |
| 4524 | .bustype = BUS_SPI, |
| 4525 | .manufacture_id = EON_ID_NOPREFIX, |
| 4526 | .model_id = EON_EN25S10, |
| 4527 | .total_size = 128, |
| 4528 | .page_size = 256, |
| 4529 | /* OTP: 256B total; enter 0x3A */ |
| 4530 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4531 | .tested = TEST_UNTESTED, |
| 4532 | .probe = probe_spi_rdid, |
| 4533 | .probe_timing = TIMING_ZERO, |
| 4534 | .block_erasers = { |
| 4535 | { |
| 4536 | .eraseblocks = { {4 * 1024, 32} }, |
| 4537 | .block_erase = spi_block_erase_20, |
| 4538 | }, { |
| 4539 | .eraseblocks = { {32 * 1024, 4} }, |
| 4540 | .block_erase = spi_block_erase_52, |
| 4541 | }, { |
| 4542 | .eraseblocks = { {128 * 1024, 1} }, |
| 4543 | .block_erase = spi_block_erase_60, |
| 4544 | }, { |
| 4545 | .eraseblocks = { {128 * 1024, 1} }, |
| 4546 | .block_erase = spi_block_erase_c7, |
| 4547 | } |
| 4548 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4549 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Nikolay Nikolaev | d0e3ea1 | 2013-06-28 21:29:08 +0000 | [diff] [blame] | 4550 | .unlock = spi_disable_blockprotect, |
| 4551 | .write = spi_chip_write_256, |
| 4552 | .read = spi_chip_read, |
| 4553 | .voltage = {1650, 1950}, |
| 4554 | }, |
| 4555 | |
| 4556 | { |
| 4557 | .vendor = "Eon", |
| 4558 | .name = "EN25S20", |
| 4559 | .bustype = BUS_SPI, |
| 4560 | .manufacture_id = EON_ID_NOPREFIX, |
| 4561 | .model_id = EON_EN25S20, |
| 4562 | .total_size = 256, |
| 4563 | .page_size = 256, |
| 4564 | /* OTP: 256B total; enter 0x3A */ |
| 4565 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4566 | .tested = TEST_UNTESTED, |
| 4567 | .probe = probe_spi_rdid, |
| 4568 | .probe_timing = TIMING_ZERO, |
| 4569 | .block_erasers = { |
| 4570 | { |
| 4571 | .eraseblocks = { {4 * 1024, 64} }, |
| 4572 | .block_erase = spi_block_erase_20, |
| 4573 | }, { |
| 4574 | .eraseblocks = { {64 * 1024, 4} }, |
| 4575 | .block_erase = spi_block_erase_d8, |
| 4576 | }, { |
| 4577 | .eraseblocks = { {256 * 1024, 1} }, |
| 4578 | .block_erase = spi_block_erase_60, |
| 4579 | }, { |
| 4580 | .eraseblocks = { {256 * 1024, 1} }, |
| 4581 | .block_erase = spi_block_erase_c7, |
| 4582 | } |
| 4583 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4584 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Nikolay Nikolaev | d0e3ea1 | 2013-06-28 21:29:08 +0000 | [diff] [blame] | 4585 | .unlock = spi_disable_blockprotect, |
| 4586 | .write = spi_chip_write_256, |
| 4587 | .read = spi_chip_read, |
| 4588 | .voltage = {1650, 1950}, |
| 4589 | }, |
| 4590 | |
| 4591 | { |
| 4592 | .vendor = "Eon", |
| 4593 | .name = "EN25S40", |
| 4594 | .bustype = BUS_SPI, |
| 4595 | .manufacture_id = EON_ID_NOPREFIX, |
| 4596 | .model_id = EON_EN25S40, |
| 4597 | .total_size = 512, |
| 4598 | .page_size = 256, |
| 4599 | /* OTP: 256B total; enter 0x3A */ |
| 4600 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4601 | .tested = TEST_UNTESTED, |
| 4602 | .probe = probe_spi_rdid, |
| 4603 | .probe_timing = TIMING_ZERO, |
| 4604 | .block_erasers = { |
| 4605 | { |
| 4606 | .eraseblocks = { {4 * 1024, 128} }, |
| 4607 | .block_erase = spi_block_erase_20, |
| 4608 | }, { |
| 4609 | .eraseblocks = { {64 * 1024, 8} }, |
| 4610 | .block_erase = spi_block_erase_d8, |
| 4611 | }, { |
| 4612 | .eraseblocks = { {512 * 1024, 1} }, |
| 4613 | .block_erase = spi_block_erase_60, |
| 4614 | }, { |
| 4615 | .eraseblocks = { {512 * 1024, 1} }, |
| 4616 | .block_erase = spi_block_erase_c7, |
| 4617 | } |
| 4618 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4619 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Nikolay Nikolaev | d0e3ea1 | 2013-06-28 21:29:08 +0000 | [diff] [blame] | 4620 | .unlock = spi_disable_blockprotect, |
| 4621 | .write = spi_chip_write_256, |
| 4622 | .read = spi_chip_read, |
| 4623 | .voltage = {1650, 1950}, |
| 4624 | }, |
| 4625 | |
| 4626 | { |
| 4627 | .vendor = "Eon", |
| 4628 | .name = "EN25S80", |
| 4629 | .bustype = BUS_SPI, |
| 4630 | .manufacture_id = EON_ID_NOPREFIX, |
| 4631 | .model_id = EON_EN25S80, |
| 4632 | .total_size = 1024, |
| 4633 | .page_size = 256, |
| 4634 | /* OTP: 256B total; enter 0x3A */ |
| 4635 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4636 | .tested = TEST_UNTESTED, |
| 4637 | .probe = probe_spi_rdid, |
| 4638 | .probe_timing = TIMING_ZERO, |
| 4639 | .block_erasers = { |
| 4640 | { |
| 4641 | .eraseblocks = { {4 * 1024, 256} }, |
| 4642 | .block_erase = spi_block_erase_20, |
| 4643 | }, { |
| 4644 | .eraseblocks = { {64 * 1024, 16} }, |
| 4645 | .block_erase = spi_block_erase_d8, |
| 4646 | }, { |
| 4647 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4648 | .block_erase = spi_block_erase_60, |
| 4649 | }, { |
| 4650 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4651 | .block_erase = spi_block_erase_c7, |
| 4652 | } |
| 4653 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 4654 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Nikolay Nikolaev | d0e3ea1 | 2013-06-28 21:29:08 +0000 | [diff] [blame] | 4655 | .unlock = spi_disable_blockprotect, |
| 4656 | .write = spi_chip_write_256, |
| 4657 | .read = spi_chip_read, |
| 4658 | .voltage = {1650, 1950}, |
| 4659 | }, |
| 4660 | |
| 4661 | { |
| 4662 | .vendor = "Eon", |
| 4663 | .name = "EN25S16", |
| 4664 | .bustype = BUS_SPI, |
| 4665 | .manufacture_id = EON_ID_NOPREFIX, |
| 4666 | .model_id = EON_EN25S16, |
| 4667 | .total_size = 2048, |
| 4668 | .page_size = 256, |
| 4669 | /* OTP: 512B total; enter 0x3A */ |
| 4670 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 4671 | .tested = TEST_UNTESTED, |
| 4672 | .probe = probe_spi_rdid, |
| 4673 | .probe_timing = TIMING_ZERO, |
| 4674 | .block_erasers = { |
| 4675 | { |
| 4676 | .eraseblocks = { {4 * 1024, 512} }, |
| 4677 | .block_erase = spi_block_erase_20, |
| 4678 | }, { |
| 4679 | .eraseblocks = { {64 * 1024, 32} }, |
| 4680 | .block_erase = spi_block_erase_52, |
| 4681 | }, { |
| 4682 | .eraseblocks = { {32 * 1024, 64} }, |
| 4683 | .block_erase = spi_block_erase_d8, |
| 4684 | }, { |
| 4685 | .eraseblocks = { {2048 * 1024, 1} }, |
| 4686 | .block_erase = spi_block_erase_60, |
| 4687 | }, { |
| 4688 | .eraseblocks = { {2048 * 1024, 1} }, |
| 4689 | .block_erase = spi_block_erase_c7, |
| 4690 | } |
| 4691 | }, |
| 4692 | .printlock = spi_prettyprint_status_register_en25s_wp, |
| 4693 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 4694 | .write = spi_chip_write_256, |
| 4695 | .read = spi_chip_read, |
| 4696 | .voltage = {1650, 1950}, |
| 4697 | }, |
| 4698 | |
| 4699 | { |
| 4700 | .vendor = "Eon", |
| 4701 | .name = "EN25S32", |
| 4702 | .bustype = BUS_SPI, |
| 4703 | .manufacture_id = EON_ID_NOPREFIX, |
| 4704 | .model_id = EON_EN25S32, |
| 4705 | .total_size = 4096, |
| 4706 | .page_size = 256, |
| 4707 | /* OTP: 512B total; enter 0x3A */ |
| 4708 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 4709 | .tested = TEST_UNTESTED, |
| 4710 | .probe = probe_spi_rdid, |
| 4711 | .probe_timing = TIMING_ZERO, |
| 4712 | .block_erasers = { |
| 4713 | { |
| 4714 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4715 | .block_erase = spi_block_erase_20, |
| 4716 | }, { |
| 4717 | .eraseblocks = { {32 * 1024, 128} }, |
| 4718 | .block_erase = spi_block_erase_52, |
| 4719 | }, { |
| 4720 | .eraseblocks = { {64 * 1024, 64} }, |
| 4721 | .block_erase = spi_block_erase_d8, |
| 4722 | }, { |
| 4723 | .eraseblocks = { {4096 * 1024, 1} }, |
| 4724 | .block_erase = spi_block_erase_60, |
| 4725 | }, { |
| 4726 | .eraseblocks = { {4096 * 1024, 1} }, |
| 4727 | .block_erase = spi_block_erase_c7, |
| 4728 | } |
| 4729 | }, |
| 4730 | .printlock = spi_prettyprint_status_register_en25s_wp, |
| 4731 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 4732 | .write = spi_chip_write_256, |
| 4733 | .read = spi_chip_read, |
| 4734 | .voltage = {1650, 1950}, |
| 4735 | }, |
| 4736 | |
| 4737 | { |
| 4738 | .vendor = "Eon", |
| 4739 | .name = "EN25S64", |
| 4740 | .bustype = BUS_SPI, |
| 4741 | .manufacture_id = EON_ID_NOPREFIX, |
| 4742 | .model_id = EON_EN25S64, |
| 4743 | .total_size = 8192, |
| 4744 | .page_size = 256, |
| 4745 | /* OTP: 512B total; enter 0x3A */ |
| 4746 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 4747 | .tested = TEST_UNTESTED, |
| 4748 | .probe = probe_spi_rdid, |
| 4749 | .probe_timing = TIMING_ZERO, |
| 4750 | .block_erasers = { |
| 4751 | { |
| 4752 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4753 | .block_erase = spi_block_erase_20, |
| 4754 | }, { |
| 4755 | .eraseblocks = { {64 * 1024, 128} }, |
| 4756 | .block_erase = spi_block_erase_d8, |
| 4757 | }, { |
| 4758 | .eraseblocks = { {8192 * 1024, 1} }, |
| 4759 | .block_erase = spi_block_erase_60, |
| 4760 | }, { |
| 4761 | .eraseblocks = { {8192 * 1024, 1} }, |
| 4762 | .block_erase = spi_block_erase_c7, |
| 4763 | } |
| 4764 | }, |
| 4765 | .printlock = spi_prettyprint_status_register_en25s_wp, |
| 4766 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 4767 | .write = spi_chip_write_256, |
| 4768 | .read = spi_chip_read, |
| 4769 | .voltage = {1650, 1950}, |
| 4770 | }, |
| 4771 | |
| 4772 | { |
| 4773 | .vendor = "Eon", |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 4774 | .name = "EN29F010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4775 | .bustype = BUS_PARALLEL, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 4776 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4777 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 4778 | .total_size = 128, |
| 4779 | .page_size = 128, |
| 4780 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4781 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 4782 | .probe = probe_jedec, |
| 4783 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4784 | .block_erasers = |
| 4785 | { |
| 4786 | { |
| 4787 | .eraseblocks = { {16 * 1024, 8} }, |
| 4788 | .block_erase = erase_sector_jedec, |
| 4789 | }, |
| 4790 | { |
| 4791 | .eraseblocks = { {128 * 1024, 1} }, |
| 4792 | .block_erase = erase_chip_block_jedec, |
| 4793 | }, |
| 4794 | }, |
| 4795 | .write = write_jedec_1, |
| 4796 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4797 | .voltage = {4500, 5500}, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 4798 | }, |
| 4799 | |
| 4800 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 4801 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4802 | .name = "EN29F002(A)(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4803 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4804 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4805 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4806 | .total_size = 256, |
| 4807 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4808 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4809 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4810 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4811 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4812 | .block_erasers = |
| 4813 | { |
| 4814 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4815 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4816 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 4817 | {8 * 1024, 2}, |
| 4818 | {32 * 1024, 1}, |
| 4819 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4820 | }, |
| 4821 | .block_erase = erase_sector_jedec, |
| 4822 | }, { |
| 4823 | .eraseblocks = { {256 * 1024, 1} }, |
| 4824 | .block_erase = erase_chip_block_jedec, |
| 4825 | }, |
| 4826 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4827 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4828 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4829 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4830 | }, |
| 4831 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4832 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 4833 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4834 | .name = "EN29F002(A)(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4835 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4836 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4837 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4838 | .total_size = 256, |
| 4839 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4840 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 4841 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4842 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4843 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4844 | .block_erasers = |
| 4845 | { |
| 4846 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4847 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4848 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 4849 | {32 * 1024, 1}, |
| 4850 | {8 * 1024, 2}, |
| 4851 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4852 | }, |
| 4853 | .block_erase = erase_sector_jedec, |
| 4854 | }, { |
| 4855 | .eraseblocks = { {256 * 1024, 1} }, |
| 4856 | .block_erase = erase_chip_block_jedec, |
| 4857 | }, |
| 4858 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4859 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4860 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4861 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4862 | }, |
| 4863 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4864 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4865 | .vendor = "Eon", |
| 4866 | .name = "EN29LV640B", |
| 4867 | .bustype = BUS_PARALLEL, |
| 4868 | .manufacture_id = EON_ID, |
| 4869 | .model_id = EON_EN29LV640B, |
| 4870 | .total_size = 8192, |
| 4871 | .page_size = 8192, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 4872 | .feature_bits = FEATURE_ADDR_SHIFTED, |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4873 | .tested = TEST_OK_PREW, |
| 4874 | .probe = probe_en29lv640b, |
| 4875 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4876 | .block_erasers = |
| 4877 | { |
| 4878 | { |
| 4879 | .eraseblocks = { |
| 4880 | {8 * 1024, 8}, |
| 4881 | {64 * 1024, 127}, |
| 4882 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 4883 | .block_erase = erase_block_jedec, |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4884 | }, { |
| 4885 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 4886 | .block_erase = erase_chip_block_jedec, |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4887 | }, |
| 4888 | }, |
| 4889 | .write = write_en29lv640b, |
| 4890 | .read = read_memmapped, |
| 4891 | .voltage = {2700, 3600}, |
| 4892 | }, |
| 4893 | |
| 4894 | { |
Stefan Tauner | 03a9c3c | 2014-08-03 14:15:14 +0000 | [diff] [blame] | 4895 | .vendor = "Eon", |
| 4896 | .name = "EN29GL064(A)B", |
| 4897 | .bustype = BUS_PARALLEL, |
| 4898 | .manufacture_id = EON_ID, |
| 4899 | .model_id = EON_EN29GL064B, |
| 4900 | .total_size = 8192, |
| 4901 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 4902 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4903 | .tested = TEST_UNTESTED, |
| 4904 | .probe = probe_jedec_29gl, |
| 4905 | .probe_timing = TIMING_ZERO, |
| 4906 | .block_erasers = |
| 4907 | { |
| 4908 | { |
| 4909 | .eraseblocks = { |
| 4910 | {8 * 1024, 8}, |
| 4911 | {64 * 1024, 127}, |
| 4912 | }, |
| 4913 | .block_erase = erase_sector_jedec, |
| 4914 | }, { |
| 4915 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4916 | .block_erase = erase_chip_block_jedec, |
| 4917 | }, |
| 4918 | }, |
| 4919 | .write = write_jedec_1, |
| 4920 | .read = read_memmapped, |
| 4921 | .voltage = {2700, 3600}, |
| 4922 | }, |
| 4923 | |
| 4924 | { |
| 4925 | .vendor = "Eon", |
| 4926 | .name = "EN29GL064(A)T", |
| 4927 | .bustype = BUS_PARALLEL, |
| 4928 | .manufacture_id = EON_ID, |
| 4929 | .model_id = EON_EN29GL064T, |
| 4930 | .total_size = 8192, |
| 4931 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 4932 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4933 | .tested = TEST_UNTESTED, |
| 4934 | .probe = probe_jedec_29gl, |
| 4935 | .probe_timing = TIMING_ZERO, |
| 4936 | .block_erasers = |
| 4937 | { |
| 4938 | { |
| 4939 | .eraseblocks = { |
| 4940 | {64 * 1024, 127}, |
| 4941 | {8 * 1024, 8}, |
| 4942 | }, |
| 4943 | .block_erase = erase_sector_jedec, |
| 4944 | }, { |
| 4945 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4946 | .block_erase = erase_chip_block_jedec, |
| 4947 | }, |
| 4948 | }, |
| 4949 | .write = write_jedec_1, |
| 4950 | .read = read_memmapped, |
| 4951 | .voltage = {2700, 3600}, |
| 4952 | }, |
| 4953 | |
| 4954 | { |
| 4955 | .vendor = "Eon", |
| 4956 | .name = "EN29GL064H/L", |
| 4957 | .bustype = BUS_PARALLEL, |
| 4958 | .manufacture_id = EON_ID, |
| 4959 | .model_id = EON_EN29GL064HL, |
| 4960 | .total_size = 8192, |
| 4961 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 4962 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4963 | .tested = TEST_UNTESTED, |
| 4964 | .probe = probe_jedec_29gl, |
| 4965 | .probe_timing = TIMING_ZERO, |
| 4966 | .block_erasers = |
| 4967 | { |
| 4968 | { |
| 4969 | .eraseblocks = { {64 * 1024, 128} }, |
| 4970 | .block_erase = erase_sector_jedec, |
| 4971 | }, { |
| 4972 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4973 | .block_erase = erase_chip_block_jedec, |
| 4974 | }, |
| 4975 | }, |
| 4976 | .write = write_jedec_1, |
| 4977 | .read = read_memmapped, |
| 4978 | .voltage = {2700, 3600}, |
| 4979 | }, |
| 4980 | |
| 4981 | { |
| 4982 | .vendor = "Eon", |
| 4983 | .name = "EN29GL128", |
| 4984 | .bustype = BUS_PARALLEL, |
| 4985 | .manufacture_id = EON_ID, |
| 4986 | .model_id = EON_EN29GL128HL, |
| 4987 | .total_size = 16384, |
| 4988 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 4989 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4990 | .tested = TEST_UNTESTED, |
| 4991 | .probe = probe_jedec_29gl, |
| 4992 | .probe_timing = TIMING_ZERO, |
| 4993 | .block_erasers = |
| 4994 | { |
| 4995 | { |
| 4996 | .eraseblocks = { {128 * 1024, 128} }, |
| 4997 | .block_erase = erase_sector_jedec, |
| 4998 | }, { |
| 4999 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5000 | .block_erase = erase_chip_block_jedec, |
| 5001 | }, |
| 5002 | }, |
| 5003 | .write = write_jedec_1, |
| 5004 | .read = read_memmapped, |
| 5005 | .voltage = {2700, 3600}, |
| 5006 | }, |
| 5007 | |
| 5008 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5009 | .vendor = "Fujitsu", |
| 5010 | .name = "MBM29F004BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5011 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5012 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5013 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5014 | .total_size = 512, |
| 5015 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5016 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5017 | .tested = TEST_UNTESTED, |
| 5018 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5019 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5020 | .block_erasers = |
| 5021 | { |
| 5022 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 5023 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5024 | {16 * 1024, 1}, |
| 5025 | {8 * 1024, 2}, |
| 5026 | {32 * 1024, 1}, |
| 5027 | {64 * 1024, 7}, |
| 5028 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5029 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5030 | }, { |
| 5031 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5032 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5033 | }, |
| 5034 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5035 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5036 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5037 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5038 | }, |
| 5039 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5040 | { |
| 5041 | .vendor = "Fujitsu", |
| 5042 | .name = "MBM29F004TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5043 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5044 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5045 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5046 | .total_size = 512, |
| 5047 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5048 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5049 | .tested = TEST_UNTESTED, |
| 5050 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5051 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5052 | .block_erasers = |
| 5053 | { |
| 5054 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 5055 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5056 | {64 * 1024, 7}, |
| 5057 | {32 * 1024, 1}, |
| 5058 | {8 * 1024, 2}, |
| 5059 | {16 * 1024, 1}, |
| 5060 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5061 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5062 | }, { |
| 5063 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5064 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5065 | }, |
| 5066 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5067 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5068 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5069 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5070 | }, |
| 5071 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5072 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5073 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5074 | .vendor = "Fujitsu", |
| 5075 | .name = "MBM29F400BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5076 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5077 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5078 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5079 | .total_size = 512, |
| 5080 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5081 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5082 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5083 | .probe = probe_jedec, |
| 5084 | .probe_timing = 10, // FIXME: check datasheet. Using the 10 us from probe_m29f400bt |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5085 | .block_erasers = |
| 5086 | { |
| 5087 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 5088 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5089 | {16 * 1024, 1}, |
| 5090 | {8 * 1024, 2}, |
| 5091 | {32 * 1024, 1}, |
| 5092 | {64 * 1024, 7}, |
| 5093 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5094 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5095 | }, { |
| 5096 | .eraseblocks = { {512 * 1024, 1} }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5097 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5098 | }, |
| 5099 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5100 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5101 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5102 | .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] | 5103 | }, |
| 5104 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5105 | { |
| 5106 | .vendor = "Fujitsu", |
| 5107 | .name = "MBM29F400TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5108 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5109 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5110 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5111 | .total_size = 512, |
| 5112 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5113 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5114 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5115 | .probe = probe_jedec, |
| 5116 | .probe_timing = 10, // FIXME: check datasheet. Using the 10 us from probe_m29f400bt |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5117 | .block_erasers = |
| 5118 | { |
| 5119 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 5120 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5121 | {64 * 1024, 7}, |
| 5122 | {32 * 1024, 1}, |
| 5123 | {8 * 1024, 2}, |
| 5124 | {16 * 1024, 1}, |
| 5125 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5126 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5127 | }, { |
| 5128 | .eraseblocks = { {512 * 1024, 1} }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5129 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5130 | }, |
| 5131 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5132 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5133 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5134 | .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] | 5135 | }, |
| 5136 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5137 | { |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5138 | .vendor = "Fujitsu", |
| 5139 | .name = "MBM29LV160BE", |
| 5140 | .bustype = BUS_PARALLEL, |
| 5141 | .manufacture_id = FUJITSU_ID, |
| 5142 | .model_id = FUJITSU_MBM29LV160BE, |
| 5143 | .total_size = 2 * 1024, |
| 5144 | .page_size = 0, |
| 5145 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_SHORT_RESET, |
| 5146 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5147 | .probe = probe_jedec, |
| 5148 | .probe_timing = 10, // FIXME: check datasheet. Using the 10 us from probe_m29f400bt |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5149 | .block_erasers = |
| 5150 | { |
| 5151 | { |
| 5152 | .eraseblocks = { |
| 5153 | {16 * 1024, 1}, |
| 5154 | {8 * 1024, 2}, |
| 5155 | {32 * 1024, 1}, |
| 5156 | {64 * 1024, 31}, |
| 5157 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5158 | .block_erase = erase_block_jedec, |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5159 | }, { |
| 5160 | .eraseblocks = { {2048 * 1024, 1} }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5161 | .block_erase = erase_chip_block_jedec, |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5162 | }, |
| 5163 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5164 | .write = write_jedec_1, /* Supports a fast mode too */ |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5165 | .read = read_memmapped, |
| 5166 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -70, others 2.7-3.6V */ |
| 5167 | }, |
| 5168 | |
| 5169 | { |
| 5170 | .vendor = "Fujitsu", |
| 5171 | .name = "MBM29LV160TE", |
| 5172 | .bustype = BUS_PARALLEL, |
| 5173 | .manufacture_id = FUJITSU_ID, |
| 5174 | .model_id = FUJITSU_MBM29LV160TE, |
| 5175 | .total_size = 2 * 1024, |
| 5176 | .page_size = 0, |
| 5177 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_SHORT_RESET, |
| 5178 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5179 | .probe = probe_jedec, |
| 5180 | .probe_timing = 10, // FIXME: check datasheet. Using the 10 us from probe_m29f400bt |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5181 | .block_erasers = |
| 5182 | { |
| 5183 | { |
| 5184 | .eraseblocks = { |
| 5185 | {64 * 1024, 31}, |
| 5186 | {32 * 1024, 1}, |
| 5187 | {8 * 1024, 2}, |
| 5188 | {16 * 1024, 1}, |
| 5189 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5190 | .block_erase = erase_block_jedec, |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5191 | }, { |
| 5192 | .eraseblocks = { {2048 * 1024, 1} }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5193 | .block_erase = erase_chip_block_jedec, |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5194 | }, |
| 5195 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 5196 | .write = write_jedec_1, /* Supports a fast mode too */ |
Stefan Tauner | 6db8bad | 2013-08-25 13:31:43 +0000 | [diff] [blame] | 5197 | .read = read_memmapped, |
| 5198 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -70, others 2.7-3.6V */ |
| 5199 | }, |
| 5200 | |
| 5201 | { |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5202 | .vendor = "GigaDevice", |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5203 | .name = "GD25LQ32", |
| 5204 | .bustype = BUS_SPI, |
| 5205 | .manufacture_id = GIGADEVICE_ID, |
| 5206 | .model_id = GIGADEVICE_GD25LQ32, |
| 5207 | .total_size = 4096, |
| 5208 | .page_size = 256, |
| 5209 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
| 5210 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5211 | .tested = TEST_OK_PREW, |
| 5212 | .probe = probe_spi_rdid, |
| 5213 | .probe_timing = TIMING_ZERO, |
| 5214 | .block_erasers = |
| 5215 | { |
| 5216 | { |
| 5217 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5218 | .block_erase = spi_block_erase_20, |
| 5219 | }, { |
| 5220 | .eraseblocks = { {32 * 1024, 128} }, |
| 5221 | .block_erase = spi_block_erase_52, |
| 5222 | }, { |
| 5223 | .eraseblocks = { {64 * 1024, 64} }, |
| 5224 | .block_erase = spi_block_erase_d8, |
| 5225 | }, { |
| 5226 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5227 | .block_erase = spi_block_erase_60, |
| 5228 | }, { |
| 5229 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5230 | .block_erase = spi_block_erase_c7, |
| 5231 | } |
| 5232 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5233 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5234 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 5235 | .write = spi_chip_write_256, |
| 5236 | .read = spi_chip_read, |
| 5237 | .voltage = {1700, 1950}, |
| 5238 | }, |
| 5239 | |
| 5240 | { |
| 5241 | .vendor = "GigaDevice", |
| 5242 | .name = "GD25Q512", |
| 5243 | .bustype = BUS_SPI, |
| 5244 | .manufacture_id = GIGADEVICE_ID, |
| 5245 | .model_id = GIGADEVICE_GD25Q512, |
| 5246 | .total_size = 64, |
| 5247 | .page_size = 256, |
| 5248 | .feature_bits = FEATURE_WRSR_WREN, |
| 5249 | .tested = TEST_UNTESTED, |
| 5250 | .probe = probe_spi_rdid, |
| 5251 | .probe_timing = TIMING_ZERO, |
| 5252 | .block_erasers = { |
| 5253 | { |
| 5254 | .eraseblocks = { {4 * 1024, 16} }, |
| 5255 | .block_erase = spi_block_erase_20, |
| 5256 | }, { |
| 5257 | .eraseblocks = { {32 * 1024, 2} }, |
| 5258 | .block_erase = spi_block_erase_52, |
| 5259 | }, { |
| 5260 | .eraseblocks = { {64 * 1024, 1} }, |
| 5261 | .block_erase = spi_block_erase_60, |
| 5262 | }, { |
| 5263 | .eraseblocks = { {64 * 1024, 1} }, |
| 5264 | .block_erase = spi_block_erase_c7, |
| 5265 | } |
| 5266 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5267 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5268 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 5269 | .write = spi_chip_write_256, |
| 5270 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5271 | .voltage = {2700, 3600}, |
| 5272 | }, |
| 5273 | |
| 5274 | { |
| 5275 | .vendor = "GigaDevice", |
| 5276 | .name = "GD25Q10", |
| 5277 | .bustype = BUS_SPI, |
| 5278 | .manufacture_id = GIGADEVICE_ID, |
| 5279 | .model_id = GIGADEVICE_GD25Q10, |
| 5280 | .total_size = 128, |
| 5281 | .page_size = 256, |
| 5282 | .feature_bits = FEATURE_WRSR_WREN, |
| 5283 | .tested = TEST_UNTESTED, |
| 5284 | .probe = probe_spi_rdid, |
| 5285 | .probe_timing = TIMING_ZERO, |
| 5286 | .block_erasers = { |
| 5287 | { |
| 5288 | .eraseblocks = { {4 * 1024, 32} }, |
| 5289 | .block_erase = spi_block_erase_20, |
| 5290 | }, { |
| 5291 | .eraseblocks = { {32 * 1024, 4} }, |
| 5292 | .block_erase = spi_block_erase_52, |
| 5293 | }, { |
| 5294 | .eraseblocks = { {64 * 1024, 2} }, |
| 5295 | .block_erase = spi_block_erase_d8, |
| 5296 | }, { |
| 5297 | .eraseblocks = { {128 * 1024, 1} }, |
| 5298 | .block_erase = spi_block_erase_60, |
| 5299 | }, { |
| 5300 | .eraseblocks = { {128 * 1024, 1} }, |
| 5301 | .block_erase = spi_block_erase_c7, |
| 5302 | } |
| 5303 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5304 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5305 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 5306 | .write = spi_chip_write_256, |
| 5307 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5308 | .voltage = {2700, 3600}, |
| 5309 | }, |
| 5310 | |
| 5311 | { |
| 5312 | .vendor = "GigaDevice", |
| 5313 | .name = "GD25Q20(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5314 | .bustype = BUS_SPI, |
| 5315 | .manufacture_id = GIGADEVICE_ID, |
| 5316 | .model_id = GIGADEVICE_GD25Q20, |
| 5317 | .total_size = 256, |
| 5318 | .page_size = 256, |
| 5319 | .feature_bits = FEATURE_WRSR_WREN, |
| 5320 | .tested = TEST_UNTESTED, |
| 5321 | .probe = probe_spi_rdid, |
| 5322 | .probe_timing = TIMING_ZERO, |
| 5323 | .block_erasers = |
| 5324 | { |
| 5325 | { |
| 5326 | .eraseblocks = { {4 * 1024, 64} }, |
| 5327 | .block_erase = spi_block_erase_20, |
| 5328 | }, { |
| 5329 | .eraseblocks = { {32 * 1024, 8} }, |
| 5330 | .block_erase = spi_block_erase_52, |
| 5331 | }, { |
| 5332 | .eraseblocks = { {64 * 1024, 4} }, |
| 5333 | .block_erase = spi_block_erase_d8, |
| 5334 | }, { |
| 5335 | .eraseblocks = { {256 * 1024, 1} }, |
| 5336 | .block_erase = spi_block_erase_60, |
| 5337 | }, { |
| 5338 | .eraseblocks = { {256 * 1024, 1} }, |
| 5339 | .block_erase = spi_block_erase_c7, |
| 5340 | } |
| 5341 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5342 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5343 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5344 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5345 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 5346 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5347 | }, |
| 5348 | |
| 5349 | { |
| 5350 | .vendor = "GigaDevice", |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5351 | .name = "GD25Q40(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5352 | .bustype = BUS_SPI, |
| 5353 | .manufacture_id = GIGADEVICE_ID, |
| 5354 | .model_id = GIGADEVICE_GD25Q40, |
| 5355 | .total_size = 512, |
| 5356 | .page_size = 256, |
| 5357 | .feature_bits = FEATURE_WRSR_WREN, |
| 5358 | .tested = TEST_UNTESTED, |
| 5359 | .probe = probe_spi_rdid, |
| 5360 | .probe_timing = TIMING_ZERO, |
| 5361 | .block_erasers = |
| 5362 | { |
| 5363 | { |
| 5364 | .eraseblocks = { {4 * 1024, 128} }, |
| 5365 | .block_erase = spi_block_erase_20, |
| 5366 | }, { |
| 5367 | .eraseblocks = { {32 * 1024, 16} }, |
| 5368 | .block_erase = spi_block_erase_52, |
| 5369 | }, { |
| 5370 | .eraseblocks = { {64 * 1024, 8} }, |
| 5371 | .block_erase = spi_block_erase_d8, |
| 5372 | }, { |
| 5373 | .eraseblocks = { {512 * 1024, 1} }, |
| 5374 | .block_erase = spi_block_erase_60, |
| 5375 | }, { |
| 5376 | .eraseblocks = { {512 * 1024, 1} }, |
| 5377 | .block_erase = spi_block_erase_c7, |
| 5378 | } |
| 5379 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5380 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5381 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5382 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5383 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 5384 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5385 | }, |
| 5386 | |
| 5387 | { |
| 5388 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5389 | .name = "GD25Q80(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5390 | .bustype = BUS_SPI, |
| 5391 | .manufacture_id = GIGADEVICE_ID, |
| 5392 | .model_id = GIGADEVICE_GD25Q80, |
| 5393 | .total_size = 1024, |
| 5394 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5395 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 (B version only) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5396 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5397 | .tested = TEST_OK_PREW, |
| 5398 | .probe = probe_spi_rdid, |
| 5399 | .probe_timing = TIMING_ZERO, |
| 5400 | .block_erasers = |
| 5401 | { |
| 5402 | { |
| 5403 | .eraseblocks = { {4 * 1024, 256} }, |
| 5404 | .block_erase = spi_block_erase_20, |
| 5405 | }, { |
| 5406 | .eraseblocks = { {32 * 1024, 32} }, |
| 5407 | .block_erase = spi_block_erase_52, |
| 5408 | }, { |
| 5409 | .eraseblocks = { {64 * 1024, 16} }, |
| 5410 | .block_erase = spi_block_erase_d8, |
| 5411 | }, { |
| 5412 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5413 | .block_erase = spi_block_erase_60, |
| 5414 | }, { |
| 5415 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5416 | .block_erase = spi_block_erase_c7, |
| 5417 | } |
| 5418 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5419 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5420 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5421 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5422 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5423 | .voltage = {2700, 3600}, |
| 5424 | }, |
| 5425 | |
| 5426 | { |
| 5427 | .vendor = "GigaDevice", |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5428 | .name = "GD25Q16(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5429 | .bustype = BUS_SPI, |
| 5430 | .manufacture_id = GIGADEVICE_ID, |
| 5431 | .model_id = GIGADEVICE_GD25Q16, |
| 5432 | .total_size = 2048, |
| 5433 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5434 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 (B version only) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5435 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 5436 | .tested = TEST_OK_PREW, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5437 | .probe = probe_spi_rdid, |
| 5438 | .probe_timing = TIMING_ZERO, |
| 5439 | .block_erasers = |
| 5440 | { |
| 5441 | { |
| 5442 | .eraseblocks = { {4 * 1024, 512} }, |
| 5443 | .block_erase = spi_block_erase_20, |
| 5444 | }, { |
| 5445 | .eraseblocks = { {32 * 1024, 64} }, |
| 5446 | .block_erase = spi_block_erase_52, |
| 5447 | }, { |
| 5448 | .eraseblocks = { {64 * 1024, 32} }, |
| 5449 | .block_erase = spi_block_erase_d8, |
| 5450 | }, { |
| 5451 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5452 | .block_erase = spi_block_erase_60, |
| 5453 | }, { |
| 5454 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5455 | .block_erase = spi_block_erase_c7, |
| 5456 | } |
| 5457 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5458 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5459 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5460 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5461 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5462 | .voltage = {2700, 3600}, |
| 5463 | }, |
| 5464 | |
| 5465 | { |
| 5466 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5467 | .name = "GD25Q32(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5468 | .bustype = BUS_SPI, |
| 5469 | .manufacture_id = GIGADEVICE_ID, |
| 5470 | .model_id = GIGADEVICE_GD25Q32, |
| 5471 | .total_size = 4096, |
| 5472 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5473 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5474 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 5475 | .tested = TEST_OK_PREW, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5476 | .probe = probe_spi_rdid, |
| 5477 | .probe_timing = TIMING_ZERO, |
| 5478 | .block_erasers = |
| 5479 | { |
| 5480 | { |
| 5481 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5482 | .block_erase = spi_block_erase_20, |
| 5483 | }, { |
| 5484 | .eraseblocks = { {32 * 1024, 128} }, |
| 5485 | .block_erase = spi_block_erase_52, |
| 5486 | }, { |
| 5487 | .eraseblocks = { {64 * 1024, 64} }, |
| 5488 | .block_erase = spi_block_erase_d8, |
| 5489 | }, { |
| 5490 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5491 | .block_erase = spi_block_erase_60, |
| 5492 | }, { |
| 5493 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5494 | .block_erase = spi_block_erase_c7, |
| 5495 | } |
| 5496 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5497 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5498 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5499 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5500 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5501 | .voltage = {2700, 3600}, |
| 5502 | }, |
| 5503 | |
| 5504 | { |
| 5505 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5506 | .name = "GD25Q64(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5507 | .bustype = BUS_SPI, |
| 5508 | .manufacture_id = GIGADEVICE_ID, |
| 5509 | .model_id = GIGADEVICE_GD25Q64, |
| 5510 | .total_size = 8192, |
| 5511 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5512 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5513 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 5514 | .tested = TEST_OK_PREW, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5515 | .probe = probe_spi_rdid, |
| 5516 | .probe_timing = TIMING_ZERO, |
| 5517 | .block_erasers = |
| 5518 | { |
| 5519 | { |
| 5520 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5521 | .block_erase = spi_block_erase_20, |
| 5522 | }, { |
| 5523 | .eraseblocks = { {32 * 1024, 256} }, |
| 5524 | .block_erase = spi_block_erase_52, |
| 5525 | }, { |
| 5526 | .eraseblocks = { {64 * 1024, 128} }, |
| 5527 | .block_erase = spi_block_erase_d8, |
| 5528 | }, { |
| 5529 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5530 | .block_erase = spi_block_erase_60, |
| 5531 | }, { |
| 5532 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5533 | .block_erase = spi_block_erase_c7, |
| 5534 | } |
| 5535 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5536 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5537 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5538 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5539 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5540 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5541 | }, |
| 5542 | |
| 5543 | { |
| 5544 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5545 | .name = "GD25Q128B", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5546 | .bustype = BUS_SPI, |
| 5547 | .manufacture_id = GIGADEVICE_ID, |
| 5548 | .model_id = GIGADEVICE_GD25Q128, |
| 5549 | .total_size = 16384, |
| 5550 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5551 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5552 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5553 | .tested = TEST_UNTESTED, |
| 5554 | .probe = probe_spi_rdid, |
| 5555 | .probe_timing = TIMING_ZERO, |
| 5556 | .block_erasers = |
| 5557 | { |
| 5558 | { |
| 5559 | .eraseblocks = { {4 * 1024, 4096} }, |
| 5560 | .block_erase = spi_block_erase_20, |
| 5561 | }, { |
| 5562 | .eraseblocks = { {32 * 1024, 512} }, |
| 5563 | .block_erase = spi_block_erase_52, |
| 5564 | }, { |
| 5565 | .eraseblocks = { {64 * 1024, 256} }, |
| 5566 | .block_erase = spi_block_erase_d8, |
| 5567 | }, { |
| 5568 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5569 | .block_erase = spi_block_erase_60, |
| 5570 | }, { |
| 5571 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5572 | .block_erase = spi_block_erase_c7, |
| 5573 | } |
| 5574 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 5575 | .printlock = spi_prettyprint_status_register_bp4_srwd, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame] | 5576 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 5577 | .write = spi_chip_write_256, |
| 5578 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5579 | .voltage = {2700, 3600}, |
| 5580 | }, |
| 5581 | |
| 5582 | { |
| 5583 | .vendor = "GigaDevice", |
| 5584 | .name = "GD25T80", |
| 5585 | .bustype = BUS_SPI, |
| 5586 | .manufacture_id = GIGADEVICE_ID, |
| 5587 | .model_id = GIGADEVICE_GD25T80, |
| 5588 | .total_size = 1024, |
| 5589 | .page_size = 256, |
| 5590 | /* OTP: 256B total; enter 0x3A */ |
| 5591 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5592 | .tested = TEST_UNTESTED, |
| 5593 | .probe = probe_spi_rdid, |
| 5594 | .probe_timing = TIMING_ZERO, |
| 5595 | .block_erasers = { |
| 5596 | { |
| 5597 | .eraseblocks = { {4 * 1024, 256} }, |
| 5598 | .block_erase = spi_block_erase_20, |
| 5599 | }, { |
| 5600 | .eraseblocks = { {64 * 1024, 16} }, |
| 5601 | .block_erase = spi_block_erase_52, |
| 5602 | }, { |
| 5603 | .eraseblocks = { {64 * 1024, 16} }, |
| 5604 | .block_erase = spi_block_erase_d8, |
| 5605 | }, { |
| 5606 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5607 | .block_erase = spi_block_erase_60, |
| 5608 | }, { |
| 5609 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5610 | .block_erase = spi_block_erase_c7, |
| 5611 | } |
| 5612 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 5613 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5614 | .unlock = spi_disable_blockprotect, |
| 5615 | .write = spi_chip_write_256, |
| 5616 | .read = spi_chip_read, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 5617 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 5618 | }, |
| 5619 | |
| 5620 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 5621 | .vendor = "Hyundai", |
| 5622 | .name = "HY29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5623 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 5624 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5625 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 5626 | .total_size = 256, |
| 5627 | .page_size = 256 * 1024, |
| 5628 | .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] | 5629 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 5630 | .probe = probe_jedec, |
| 5631 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5632 | .block_erasers = |
| 5633 | { |
| 5634 | { |
| 5635 | .eraseblocks = { |
| 5636 | {64 * 1024, 3}, |
| 5637 | {32 * 1024, 1}, |
| 5638 | {8 * 1024, 2}, |
| 5639 | {16 * 1024, 1}, |
| 5640 | }, |
| 5641 | .block_erase = erase_sector_jedec, |
| 5642 | }, { |
| 5643 | .eraseblocks = { {256 * 1024, 1} }, |
| 5644 | .block_erase = erase_chip_block_jedec, |
| 5645 | }, |
| 5646 | }, |
| 5647 | .write = write_jedec_1, |
| 5648 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5649 | .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] | 5650 | }, |
| 5651 | |
| 5652 | { |
| 5653 | .vendor = "Hyundai", |
| 5654 | .name = "HY29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5655 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 5656 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5657 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 5658 | .total_size = 256, |
| 5659 | .page_size = 256 * 1024, |
| 5660 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 5661 | .tested = TEST_UNTESTED, |
| 5662 | .probe = probe_jedec, |
| 5663 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5664 | .block_erasers = |
| 5665 | { |
| 5666 | { |
| 5667 | .eraseblocks = { |
| 5668 | {16 * 1024, 1}, |
| 5669 | {8 * 1024, 2}, |
| 5670 | {32 * 1024, 1}, |
| 5671 | {64 * 1024, 3}, |
| 5672 | }, |
| 5673 | .block_erase = erase_sector_jedec, |
| 5674 | }, { |
| 5675 | .eraseblocks = { {256 * 1024, 1} }, |
| 5676 | .block_erase = erase_chip_block_jedec, |
| 5677 | }, |
| 5678 | }, |
| 5679 | .write = write_jedec_1, |
| 5680 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5681 | .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] | 5682 | }, |
| 5683 | |
| 5684 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5685 | .vendor = "Hyundai", |
| 5686 | .name = "HY29F040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5687 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5688 | .manufacture_id = HYUNDAI_ID, |
| 5689 | .model_id = HYUNDAI_HY29F040A, |
| 5690 | .total_size = 512, |
| 5691 | .page_size = 64 * 1024, |
| 5692 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5693 | .tested = TEST_UNTESTED, |
| 5694 | .probe = probe_jedec, |
| 5695 | .probe_timing = TIMING_ZERO, |
| 5696 | .block_erasers = |
| 5697 | { |
| 5698 | { |
| 5699 | .eraseblocks = { {64 * 1024, 8} }, |
| 5700 | .block_erase = erase_sector_jedec, |
| 5701 | }, { |
| 5702 | .eraseblocks = { {512 * 1024, 1} }, |
| 5703 | .block_erase = erase_chip_block_jedec, |
| 5704 | }, |
| 5705 | }, |
| 5706 | .write = write_jedec_1, |
| 5707 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5708 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5709 | }, |
| 5710 | |
| 5711 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5712 | .vendor = "Intel", |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 5713 | .name = "25F160S33B8", |
| 5714 | .bustype = BUS_SPI, |
| 5715 | .manufacture_id = INTEL_ID, |
| 5716 | .model_id = INTEL_25F160S33B8, |
| 5717 | .total_size = 2048, |
| 5718 | .page_size = 256, |
| 5719 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 5720 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5721 | .tested = TEST_UNTESTED, |
| 5722 | .probe = probe_spi_rdid, |
| 5723 | .probe_timing = TIMING_ZERO, |
| 5724 | .block_erasers = |
| 5725 | { |
| 5726 | { |
| 5727 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 5728 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 5729 | * have no effect on the memory contents, but sets a flag in the SR. |
| 5730 | .eraseblocks = { |
| 5731 | {8 * 1024, 8}, |
| 5732 | {64 * 1024, 31} // inaccessible |
| 5733 | }, |
| 5734 | .block_erase = spi_block_erase_40, |
| 5735 | }, { */ |
| 5736 | .eraseblocks = { {64 * 1024, 32} }, |
| 5737 | .block_erase = spi_block_erase_d8, |
| 5738 | }, { |
| 5739 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5740 | .block_erase = spi_block_erase_c7, |
| 5741 | } |
| 5742 | }, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 5743 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, |
| 5744 | .unlock = spi_disable_blockprotect_bp2_ep_srwd, |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 5745 | .write = spi_chip_write_256, |
| 5746 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 5747 | .voltage = {2700, 3600}, |
| 5748 | }, |
| 5749 | |
| 5750 | { |
| 5751 | .vendor = "Intel", |
| 5752 | .name = "25F160S33T8", |
| 5753 | .bustype = BUS_SPI, |
| 5754 | .manufacture_id = INTEL_ID, |
| 5755 | .model_id = INTEL_25F160S33T8, |
| 5756 | .total_size = 2048, |
| 5757 | .page_size = 256, |
| 5758 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 5759 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5760 | .tested = TEST_UNTESTED, |
| 5761 | .probe = probe_spi_rdid, |
| 5762 | .probe_timing = TIMING_ZERO, |
| 5763 | .block_erasers = |
| 5764 | { |
| 5765 | { |
| 5766 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 5767 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 5768 | * have no effect on the memory contents, but sets a flag in the SR. |
| 5769 | .eraseblocks = { |
| 5770 | {64 * 1024, 31}, // inaccessible |
| 5771 | {8 * 1024, 8} |
| 5772 | }, |
| 5773 | .block_erase = spi_block_erase_40, |
| 5774 | }, { */ |
| 5775 | .eraseblocks = { {64 * 1024, 32} }, |
| 5776 | .block_erase = spi_block_erase_d8, |
| 5777 | }, { |
| 5778 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5779 | .block_erase = spi_block_erase_c7, |
| 5780 | } |
| 5781 | }, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 5782 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, |
| 5783 | .unlock = spi_disable_blockprotect_bp2_ep_srwd, |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 5784 | .write = spi_chip_write_256, |
| 5785 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 5786 | .voltage = {2700, 3600}, |
| 5787 | }, |
| 5788 | |
| 5789 | { |
| 5790 | .vendor = "Intel", |
| 5791 | .name = "25F320S33B8", |
| 5792 | .bustype = BUS_SPI, |
| 5793 | .manufacture_id = INTEL_ID, |
| 5794 | .model_id = INTEL_25F320S33B8, |
| 5795 | .total_size = 4096, |
| 5796 | .page_size = 256, |
| 5797 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 5798 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5799 | .tested = TEST_UNTESTED, |
| 5800 | .probe = probe_spi_rdid, |
| 5801 | .probe_timing = TIMING_ZERO, |
| 5802 | .block_erasers = |
| 5803 | { |
| 5804 | { |
| 5805 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 5806 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 5807 | * have no effect on the memory contents, but sets a flag in the SR. |
| 5808 | .eraseblocks = { |
| 5809 | {8 * 1024, 8}, |
| 5810 | {64 * 1024, 63} // inaccessible |
| 5811 | }, |
| 5812 | .block_erase = spi_block_erase_40, |
| 5813 | }, { */ |
| 5814 | .eraseblocks = { {64 * 1024, 64} }, |
| 5815 | .block_erase = spi_block_erase_d8, |
| 5816 | }, { |
| 5817 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5818 | .block_erase = spi_block_erase_c7, |
| 5819 | } |
| 5820 | }, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 5821 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, |
| 5822 | .unlock = spi_disable_blockprotect_bp2_ep_srwd, |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 5823 | .write = spi_chip_write_256, |
| 5824 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 5825 | .voltage = {2700, 3600}, |
| 5826 | }, |
| 5827 | |
| 5828 | { |
| 5829 | .vendor = "Intel", |
| 5830 | .name = "25F320S33T8", |
| 5831 | .bustype = BUS_SPI, |
| 5832 | .manufacture_id = INTEL_ID, |
| 5833 | .model_id = INTEL_25F320S33T8, |
| 5834 | .total_size = 4096, |
| 5835 | .page_size = 256, |
| 5836 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 5837 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5838 | .tested = TEST_UNTESTED, |
| 5839 | .probe = probe_spi_rdid, |
| 5840 | .probe_timing = TIMING_ZERO, |
| 5841 | .block_erasers = |
| 5842 | { |
| 5843 | { |
| 5844 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 5845 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 5846 | * have no effect on the memory contents, but sets a flag in the SR. |
| 5847 | .eraseblocks = { |
| 5848 | {64 * 1024, 63}, // inaccessible |
| 5849 | {8 * 1024, 8} |
| 5850 | }, |
| 5851 | .block_erase = spi_block_erase_40, |
| 5852 | }, { */ |
| 5853 | .eraseblocks = { {64 * 1024, 64} }, |
| 5854 | .block_erase = spi_block_erase_d8, |
| 5855 | }, { |
| 5856 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5857 | .block_erase = spi_block_erase_c7, |
| 5858 | } |
| 5859 | }, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 5860 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, |
| 5861 | .unlock = spi_disable_blockprotect_bp2_ep_srwd, |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 5862 | .write = spi_chip_write_256, |
| 5863 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 5864 | .voltage = {2700, 3600}, |
| 5865 | }, |
| 5866 | |
| 5867 | { |
| 5868 | .vendor = "Intel", |
| 5869 | .name = "25F640S33B8", |
| 5870 | .bustype = BUS_SPI, |
| 5871 | .manufacture_id = INTEL_ID, |
| 5872 | .model_id = INTEL_25F640S33B8, |
| 5873 | .total_size = 8192, |
| 5874 | .page_size = 256, |
| 5875 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 5876 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5877 | .tested = TEST_UNTESTED, |
| 5878 | .probe = probe_spi_rdid, |
| 5879 | .probe_timing = TIMING_ZERO, |
| 5880 | .block_erasers = |
| 5881 | { |
| 5882 | { |
| 5883 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 5884 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 5885 | * have no effect on the memory contents, but sets a flag in the SR. |
| 5886 | .eraseblocks = { |
| 5887 | {8 * 1024, 8}, |
| 5888 | {64 * 1024, 127} // inaccessible |
| 5889 | }, |
| 5890 | .block_erase = spi_block_erase_40, |
| 5891 | }, { */ |
| 5892 | .eraseblocks = { {64 * 1024, 128} }, |
| 5893 | .block_erase = spi_block_erase_d8, |
| 5894 | }, { |
| 5895 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5896 | .block_erase = spi_block_erase_c7, |
| 5897 | } |
| 5898 | }, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 5899 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, |
| 5900 | .unlock = spi_disable_blockprotect_bp2_ep_srwd, |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 5901 | .write = spi_chip_write_256, |
| 5902 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 5903 | .voltage = {2700, 3600}, |
| 5904 | }, |
| 5905 | |
| 5906 | { |
| 5907 | .vendor = "Intel", |
| 5908 | .name = "25F640S33T8", |
| 5909 | .bustype = BUS_SPI, |
| 5910 | .manufacture_id = INTEL_ID, |
| 5911 | .model_id = INTEL_25F640S33T8, |
| 5912 | .total_size = 8192, |
| 5913 | .page_size = 256, |
| 5914 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 5915 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5916 | .tested = TEST_UNTESTED, |
| 5917 | .probe = probe_spi_rdid, |
| 5918 | .probe_timing = TIMING_ZERO, |
| 5919 | .block_erasers = |
| 5920 | { |
| 5921 | { |
| 5922 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 5923 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 5924 | * have no effect on the memory contents, but sets a flag in the SR. |
| 5925 | .eraseblocks = { |
| 5926 | {64 * 1024, 127}, // inaccessible |
| 5927 | {8 * 1024, 8} |
| 5928 | }, |
| 5929 | .block_erase = spi_block_erase_40, |
| 5930 | }, { */ |
| 5931 | .eraseblocks = { {64 * 1024, 128} }, |
| 5932 | .block_erase = spi_block_erase_d8, |
| 5933 | }, { |
| 5934 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5935 | .block_erase = spi_block_erase_c7, |
| 5936 | } |
| 5937 | }, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 5938 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, |
| 5939 | .unlock = spi_disable_blockprotect_bp2_ep_srwd, |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 5940 | .write = spi_chip_write_256, |
| 5941 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 5942 | .voltage = {2700, 3600}, |
| 5943 | }, |
| 5944 | |
| 5945 | { |
| 5946 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5947 | .name = "28F001BN/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5948 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5949 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5950 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5951 | .total_size = 128, |
| 5952 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 5953 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5954 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5955 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5956 | .block_erasers = |
| 5957 | { |
| 5958 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 5959 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5960 | {8 * 1024, 1}, |
| 5961 | {4 * 1024, 2}, |
| 5962 | {112 * 1024, 1}, |
| 5963 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5964 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5965 | }, |
| 5966 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 5967 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5968 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5969 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5970 | }, |
| 5971 | |
| 5972 | { |
| 5973 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5974 | .name = "28F001BN/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5975 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5976 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5977 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5978 | .total_size = 128, |
| 5979 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 5980 | .tested = TEST_OK_PR, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5981 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5982 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5983 | .block_erasers = |
| 5984 | { |
| 5985 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 5986 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5987 | {112 * 1024, 1}, |
| 5988 | {4 * 1024, 2}, |
| 5989 | {8 * 1024, 1}, |
| 5990 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5991 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5992 | }, |
| 5993 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 5994 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5995 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5996 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 5997 | }, |
| 5998 | |
| 5999 | { |
| 6000 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6001 | .name = "28F002BC/BL/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6002 | .bustype = BUS_PARALLEL, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 6003 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6004 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 6005 | .total_size = 256, |
| 6006 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6007 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 6008 | .probe = probe_82802ab, |
| 6009 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6010 | .block_erasers = |
| 6011 | { |
| 6012 | { |
| 6013 | .eraseblocks = { |
| 6014 | {128 * 1024, 1}, |
| 6015 | {96 * 1024, 1}, |
| 6016 | {8 * 1024, 2}, |
| 6017 | {16 * 1024, 1}, |
| 6018 | }, |
| 6019 | .block_erase = erase_block_82802ab, |
| 6020 | }, |
| 6021 | }, |
| 6022 | .write = write_82802ab, |
| 6023 | .read = read_memmapped, |
| 6024 | }, |
| 6025 | |
| 6026 | { |
| 6027 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6028 | .name = "28F008S3/S5/SC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6029 | .bustype = BUS_PARALLEL, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 6030 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6031 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 6032 | .total_size = 512, |
| 6033 | .page_size = 256, |
| 6034 | .tested = TEST_UNTESTED, |
| 6035 | .probe = probe_82802ab, |
| 6036 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 6037 | .block_erasers = |
| 6038 | { |
| 6039 | { |
| 6040 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6041 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 6042 | }, |
| 6043 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 6044 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 6045 | .write = write_82802ab, |
| 6046 | .read = read_memmapped, |
| 6047 | }, |
| 6048 | |
| 6049 | { |
| 6050 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6051 | .name = "28F004B5/BE/BV/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6052 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6053 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6054 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6055 | .total_size = 512, |
| 6056 | .page_size = 128 * 1024, /* maximal block size */ |
| 6057 | .tested = TEST_UNTESTED, |
| 6058 | .probe = probe_82802ab, |
| 6059 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6060 | .block_erasers = |
| 6061 | { |
| 6062 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 6063 | .eraseblocks = { |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6064 | {16 * 1024, 1}, |
| 6065 | {8 * 1024, 2}, |
| 6066 | {96 * 1024, 1}, |
| 6067 | {128 * 1024, 3}, |
| 6068 | }, |
| 6069 | .block_erase = erase_block_82802ab, |
| 6070 | }, |
| 6071 | }, |
| 6072 | .write = write_82802ab, |
| 6073 | .read = read_memmapped, |
| 6074 | }, |
| 6075 | |
| 6076 | { |
| 6077 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6078 | .name = "28F004B5/BE/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6079 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6080 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6081 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6082 | .total_size = 512, |
| 6083 | .page_size = 128 * 1024, /* maximal block size */ |
| 6084 | .tested = TEST_UNTESTED, |
| 6085 | .probe = probe_82802ab, |
| 6086 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6087 | .block_erasers = |
| 6088 | { |
| 6089 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 6090 | .eraseblocks = { |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6091 | {128 * 1024, 3}, |
| 6092 | {96 * 1024, 1}, |
| 6093 | {8 * 1024, 2}, |
| 6094 | {16 * 1024, 1}, |
| 6095 | }, |
| 6096 | .block_erase = erase_block_82802ab, |
| 6097 | }, |
| 6098 | }, |
| 6099 | .write = write_82802ab, |
| 6100 | .read = read_memmapped, |
| 6101 | }, |
| 6102 | |
| 6103 | { |
| 6104 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6105 | .name = "28F400BV/BX/CE/CV-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6106 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6107 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6108 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6109 | .total_size = 512, |
| 6110 | .page_size = 128 * 1024, /* maximal block size */ |
| 6111 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 6112 | .tested = TEST_UNTESTED, |
| 6113 | .probe = probe_82802ab, |
| 6114 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6115 | .block_erasers = |
| 6116 | { |
| 6117 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 6118 | .eraseblocks = { |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6119 | {16 * 1024, 1}, |
| 6120 | {8 * 1024, 2}, |
| 6121 | {96 * 1024, 1}, |
| 6122 | {128 * 1024, 3}, |
| 6123 | }, |
| 6124 | .block_erase = erase_block_82802ab, |
| 6125 | }, |
| 6126 | }, |
| 6127 | .write = write_82802ab, |
| 6128 | .read = read_memmapped, |
| 6129 | }, |
| 6130 | |
| 6131 | { |
| 6132 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6133 | .name = "28F400BV/BX/CE/CV-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6134 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6135 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6136 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6137 | .total_size = 512, |
| 6138 | .page_size = 128 * 1024, /* maximal block size */ |
| 6139 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 6140 | .tested = TEST_UNTESTED, |
| 6141 | .probe = probe_82802ab, |
| 6142 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6143 | .block_erasers = |
| 6144 | { |
| 6145 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 6146 | .eraseblocks = { |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 6147 | {128 * 1024, 3}, |
| 6148 | {96 * 1024, 1}, |
| 6149 | {8 * 1024, 2}, |
| 6150 | {16 * 1024, 1}, |
| 6151 | }, |
| 6152 | .block_erase = erase_block_82802ab, |
| 6153 | }, |
| 6154 | }, |
| 6155 | .write = write_82802ab, |
| 6156 | .read = read_memmapped, |
| 6157 | }, |
| 6158 | |
| 6159 | { |
| 6160 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6161 | .name = "82802AB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6162 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6163 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6164 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6165 | .total_size = 512, |
| 6166 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6167 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 6168 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6169 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6170 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6171 | .block_erasers = |
| 6172 | { |
| 6173 | { |
| 6174 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6175 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6176 | }, |
| 6177 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 6178 | .unlock = unlock_regspace2_uniform_64k, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6179 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6180 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6181 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6182 | }, |
| 6183 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6184 | { |
| 6185 | .vendor = "Intel", |
| 6186 | .name = "82802AC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6187 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6188 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 6189 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6190 | .total_size = 1024, |
| 6191 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6192 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6193 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6194 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6195 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6196 | .block_erasers = |
| 6197 | { |
| 6198 | { |
| 6199 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6200 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6201 | }, |
| 6202 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 6203 | .unlock = unlock_regspace2_uniform_64k, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6204 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6205 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6206 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6207 | }, |
| 6208 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6209 | { |
Stefan Tauner | 03a9c3c | 2014-08-03 14:15:14 +0000 | [diff] [blame] | 6210 | .vendor = "ISSI", |
| 6211 | .name = "IS29GL064B", |
| 6212 | .bustype = BUS_PARALLEL, |
| 6213 | .manufacture_id = ISSI_ID, |
| 6214 | .model_id = ISSI_PMC_IS29GL064B, |
| 6215 | .total_size = 8192, |
| 6216 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 6217 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6218 | .tested = TEST_UNTESTED, |
| 6219 | .probe = probe_jedec_29gl, |
| 6220 | .probe_timing = TIMING_ZERO, |
| 6221 | .block_erasers = |
| 6222 | { |
| 6223 | { |
| 6224 | .eraseblocks = { |
| 6225 | {8 * 1024, 8}, |
| 6226 | {64 * 1024, 127}, |
| 6227 | }, |
| 6228 | .block_erase = erase_sector_jedec, |
| 6229 | }, { |
| 6230 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6231 | .block_erase = erase_chip_block_jedec, |
| 6232 | }, |
| 6233 | }, |
| 6234 | .write = write_jedec_1, |
| 6235 | .read = read_memmapped, |
| 6236 | .voltage = {2700, 3600}, |
| 6237 | }, |
| 6238 | |
| 6239 | { |
| 6240 | .vendor = "ISSI", |
| 6241 | .name = "IS29GL064T", |
| 6242 | .bustype = BUS_PARALLEL, |
| 6243 | .manufacture_id = ISSI_ID, |
| 6244 | .model_id = ISSI_PMC_IS29GL064T, |
| 6245 | .total_size = 8192, |
| 6246 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 6247 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6248 | .tested = TEST_UNTESTED, |
| 6249 | .probe = probe_jedec_29gl, |
| 6250 | .probe_timing = TIMING_ZERO, |
| 6251 | .block_erasers = |
| 6252 | { |
| 6253 | { |
| 6254 | .eraseblocks = { |
| 6255 | {64 * 1024, 127}, |
| 6256 | {8 * 1024, 8}, |
| 6257 | }, |
| 6258 | .block_erase = erase_sector_jedec, |
| 6259 | }, { |
| 6260 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6261 | .block_erase = erase_chip_block_jedec, |
| 6262 | }, |
| 6263 | }, |
| 6264 | .write = write_jedec_1, |
| 6265 | .read = read_memmapped, |
| 6266 | .voltage = {2700, 3600}, |
| 6267 | }, |
| 6268 | |
| 6269 | { |
| 6270 | .vendor = "ISSI", |
| 6271 | .name = "IS29GL064H/L", |
| 6272 | .bustype = BUS_PARALLEL, |
| 6273 | .manufacture_id = ISSI_ID, |
| 6274 | .model_id = ISSI_PMC_IS29GL064HL, |
| 6275 | .total_size = 8192, |
| 6276 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 6277 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6278 | .tested = TEST_UNTESTED, |
| 6279 | .probe = probe_jedec_29gl, |
| 6280 | .probe_timing = TIMING_ZERO, |
| 6281 | .block_erasers = |
| 6282 | { |
| 6283 | { |
| 6284 | .eraseblocks = { {64 * 1024, 128} }, |
| 6285 | .block_erase = erase_sector_jedec, |
| 6286 | }, { |
| 6287 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6288 | .block_erase = erase_chip_block_jedec, |
| 6289 | }, |
| 6290 | }, |
| 6291 | .write = write_jedec_1, |
| 6292 | .read = read_memmapped, |
| 6293 | .voltage = {2700, 3600}, |
| 6294 | }, |
| 6295 | |
| 6296 | { |
| 6297 | .vendor = "ISSI", |
| 6298 | .name = "IS29GL128H/L", |
| 6299 | .bustype = BUS_PARALLEL, |
| 6300 | .manufacture_id = ISSI_ID, |
| 6301 | .model_id = ISSI_PMC_IS29GL128HL, |
| 6302 | .total_size = 16384, |
| 6303 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 6304 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6305 | .tested = TEST_UNTESTED, |
| 6306 | .probe = probe_jedec_29gl, |
| 6307 | .probe_timing = TIMING_ZERO, |
| 6308 | .block_erasers = |
| 6309 | { |
| 6310 | { |
| 6311 | .eraseblocks = { {128 * 1024, 128} }, |
| 6312 | .block_erase = erase_sector_jedec, |
| 6313 | }, { |
| 6314 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6315 | .block_erase = erase_chip_block_jedec, |
| 6316 | }, |
| 6317 | }, |
| 6318 | .write = write_jedec_1, |
| 6319 | .read = read_memmapped, |
| 6320 | .voltage = {2700, 3600}, |
| 6321 | }, |
| 6322 | |
| 6323 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6324 | .vendor = "Macronix", |
Michael Coppola | 4e7f36e | 2014-05-03 23:01:18 +0000 | [diff] [blame] | 6325 | .name = "MX23L3254", |
| 6326 | .bustype = BUS_SPI, |
| 6327 | .manufacture_id = MACRONIX_ID, |
| 6328 | .model_id = MACRONIX_MX23L3254, |
| 6329 | .total_size = 4096, |
| 6330 | .page_size = 256, |
Stefan Tauner | 6455dff | 2014-05-26 00:36:24 +0000 | [diff] [blame] | 6331 | .tested = {.probe = OK, .read = OK, .erase = NA, .write = NA}, |
Michael Coppola | 4e7f36e | 2014-05-03 23:01:18 +0000 | [diff] [blame] | 6332 | .probe = probe_spi_rdid, |
| 6333 | .probe_timing = TIMING_ZERO, |
| 6334 | .write = NULL, /* MX23L3254 is a mask ROM, so it is read-only */ |
| 6335 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6336 | .voltage = {3000, 3600}, |
| 6337 | }, |
| 6338 | |
| 6339 | { |
| 6340 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6341 | .name = "MX25L512(E)/MX25V512(C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6342 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6343 | .manufacture_id = MACRONIX_ID, |
| 6344 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6345 | .total_size = 64, |
| 6346 | .page_size = 256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6347 | /* MX25L512E supports SFDP */ |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 6348 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 6349 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6350 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6351 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6352 | .block_erasers = |
| 6353 | { |
| 6354 | { |
| 6355 | .eraseblocks = { {4 * 1024, 16} }, |
| 6356 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6357 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6358 | .eraseblocks = { {64 * 1024, 1} }, |
| 6359 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6360 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6361 | .eraseblocks = { {64 * 1024, 1} }, |
| 6362 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6363 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6364 | .eraseblocks = { {64 * 1024, 1} }, |
| 6365 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6366 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6367 | .eraseblocks = { {64 * 1024, 1} }, |
| 6368 | .block_erase = spi_block_erase_c7, |
| 6369 | }, |
| 6370 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6371 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6372 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6373 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6374 | .read = spi_chip_read, /* Fast read (0x0B) supported, MX25L512E supports dual I/O */ |
| 6375 | .voltage = {2700, 3600}, /* 2.35-3.6V for MX25V512(C) */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6376 | }, |
| 6377 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6378 | { |
| 6379 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6380 | .name = "MX25L1005(C)/MX25L1006E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6381 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6382 | .manufacture_id = MACRONIX_ID, |
| 6383 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6384 | .total_size = 128, |
| 6385 | .page_size = 256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6386 | /* MX25L1006E supports SFDP */ |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 6387 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 6388 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6389 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6390 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6391 | .block_erasers = |
| 6392 | { |
| 6393 | { |
| 6394 | .eraseblocks = { {4 * 1024, 32} }, |
| 6395 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6396 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6397 | .eraseblocks = { {64 * 1024, 2} }, |
| 6398 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6399 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6400 | .eraseblocks = { {128 * 1024, 1} }, |
| 6401 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6402 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 6403 | .eraseblocks = { {128 * 1024, 1} }, |
| 6404 | .block_erase = spi_block_erase_c7, |
| 6405 | }, |
| 6406 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6407 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6408 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6409 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6410 | .read = spi_chip_read, /* Fast read (0x0B) supported, MX25L1006E supports dual I/O */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6411 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6412 | }, |
| 6413 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6414 | { |
| 6415 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6416 | .name = "MX25L2005(C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6417 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6418 | .manufacture_id = MACRONIX_ID, |
| 6419 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6420 | .total_size = 256, |
| 6421 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 6422 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 6423 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6424 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6425 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6426 | .block_erasers = |
| 6427 | { |
| 6428 | { |
| 6429 | .eraseblocks = { {4 * 1024, 64} }, |
| 6430 | .block_erase = spi_block_erase_20, |
| 6431 | }, { |
| 6432 | .eraseblocks = { {64 * 1024, 4} }, |
| 6433 | .block_erase = spi_block_erase_52, |
| 6434 | }, { |
| 6435 | .eraseblocks = { {64 * 1024, 4} }, |
| 6436 | .block_erase = spi_block_erase_d8, |
| 6437 | }, { |
| 6438 | .eraseblocks = { {256 * 1024, 1} }, |
| 6439 | .block_erase = spi_block_erase_60, |
| 6440 | }, { |
| 6441 | .eraseblocks = { {256 * 1024, 1} }, |
| 6442 | .block_erase = spi_block_erase_c7, |
| 6443 | }, |
| 6444 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6445 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6446 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6447 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6448 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6449 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6450 | }, |
| 6451 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6452 | { |
| 6453 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6454 | .name = "MX25L4005(A/C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6455 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6456 | .manufacture_id = MACRONIX_ID, |
| 6457 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6458 | .total_size = 512, |
| 6459 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 6460 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6461 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6462 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6463 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6464 | .block_erasers = |
| 6465 | { |
| 6466 | { |
| 6467 | .eraseblocks = { {4 * 1024, 128} }, |
| 6468 | .block_erase = spi_block_erase_20, |
| 6469 | }, { |
| 6470 | .eraseblocks = { {64 * 1024, 8} }, |
| 6471 | .block_erase = spi_block_erase_52, |
| 6472 | }, { |
| 6473 | .eraseblocks = { {64 * 1024, 8} }, |
| 6474 | .block_erase = spi_block_erase_d8, |
| 6475 | }, { |
| 6476 | .eraseblocks = { {512 * 1024, 1} }, |
| 6477 | .block_erase = spi_block_erase_60, |
| 6478 | }, { |
| 6479 | .eraseblocks = { {512 * 1024, 1} }, |
| 6480 | .block_erase = spi_block_erase_c7, |
| 6481 | }, |
| 6482 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6483 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6484 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6485 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6486 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6487 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6488 | }, |
| 6489 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6490 | { |
| 6491 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6492 | .name = "MX25L8005/MX25V8005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6493 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6494 | .manufacture_id = MACRONIX_ID, |
| 6495 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6496 | .total_size = 1024, |
| 6497 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 6498 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 6499 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6500 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6501 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6502 | .block_erasers = |
| 6503 | { |
| 6504 | { |
| 6505 | .eraseblocks = { {4 * 1024, 256} }, |
| 6506 | .block_erase = spi_block_erase_20, |
| 6507 | }, { |
| 6508 | .eraseblocks = { {64 * 1024, 16} }, |
| 6509 | .block_erase = spi_block_erase_52, |
| 6510 | }, { |
| 6511 | .eraseblocks = { {64 * 1024, 16} }, |
| 6512 | .block_erase = spi_block_erase_d8, |
| 6513 | }, { |
| 6514 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6515 | .block_erase = spi_block_erase_60, |
| 6516 | }, { |
| 6517 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6518 | .block_erase = spi_block_erase_c7, |
| 6519 | }, |
| 6520 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6521 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6522 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6523 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 6524 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6525 | .voltage = {2700, 3600}, /* 2.35-3.6V for MX25V8005 */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6526 | }, |
| 6527 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6528 | { |
| 6529 | .vendor = "Macronix", |
| 6530 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6531 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6532 | .manufacture_id = MACRONIX_ID, |
| 6533 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6534 | .total_size = 2048, |
| 6535 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 6536 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 6537 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6538 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6539 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6540 | .block_erasers = |
| 6541 | { |
| 6542 | { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6543 | .eraseblocks = { {64 * 1024, 32} }, |
| 6544 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6545 | }, { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6546 | .eraseblocks = { {64 * 1024, 32} }, |
| 6547 | .block_erase = spi_block_erase_d8, |
| 6548 | }, { |
| 6549 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6550 | .block_erase = spi_block_erase_60, |
| 6551 | }, { |
| 6552 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6553 | .block_erase = spi_block_erase_c7, |
| 6554 | }, |
| 6555 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6556 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit6: error flag */ |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6557 | .unlock = spi_disable_blockprotect, |
| 6558 | .write = spi_chip_write_256, |
| 6559 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6560 | .voltage = {2700, 3600}, |
| 6561 | }, |
| 6562 | |
| 6563 | { |
| 6564 | .vendor = "Macronix", |
| 6565 | .name = "MX25L1605A/MX25L1606E", |
| 6566 | .bustype = BUS_SPI, |
| 6567 | .manufacture_id = MACRONIX_ID, |
| 6568 | .model_id = MACRONIX_MX25L1605, |
| 6569 | .total_size = 2048, |
| 6570 | .page_size = 256, |
| 6571 | /* OTP: 64B total; enter 0xB1, exit 0xC1 (MX25L1606E only) */ |
| 6572 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6573 | .tested = TEST_OK_PREW, |
| 6574 | .probe = probe_spi_rdid, |
| 6575 | .probe_timing = TIMING_ZERO, |
| 6576 | .block_erasers = |
| 6577 | { |
| 6578 | { |
| 6579 | .eraseblocks = { {4 * 1024, 512} }, |
| 6580 | .block_erase = spi_block_erase_20, |
| 6581 | }, { |
| 6582 | .eraseblocks = { {64 * 1024, 32} }, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 6583 | .block_erase = spi_block_erase_52, |
| 6584 | }, { |
| 6585 | .eraseblocks = { {64 * 1024, 32} }, |
| 6586 | .block_erase = spi_block_erase_d8, |
| 6587 | }, { |
| 6588 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6589 | .block_erase = spi_block_erase_60, |
| 6590 | }, { |
| 6591 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6592 | .block_erase = spi_block_erase_c7, |
| 6593 | }, |
| 6594 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6595 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* MX25L1605A bp2 only */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6596 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6597 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6598 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6599 | .voltage = {2700, 3600}, |
| 6600 | }, |
| 6601 | |
| 6602 | { |
| 6603 | .vendor = "Macronix", |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 6604 | .name = "MX25L1605D/MX25L1608D/MX25L1673E", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6605 | .bustype = BUS_SPI, |
| 6606 | .manufacture_id = MACRONIX_ID, |
| 6607 | .model_id = MACRONIX_MX25L1605, |
| 6608 | .total_size = 2048, |
| 6609 | .page_size = 256, |
| 6610 | .feature_bits = FEATURE_WRSR_WREN, |
| 6611 | .tested = TEST_OK_PREW, |
| 6612 | .probe = probe_spi_rdid, |
| 6613 | .probe_timing = TIMING_ZERO, |
| 6614 | .block_erasers = |
| 6615 | { |
| 6616 | { |
| 6617 | .eraseblocks = { {4 * 1024, 512} }, |
| 6618 | .block_erase = spi_block_erase_20, |
| 6619 | }, { |
| 6620 | .eraseblocks = { {64 * 1024, 32} }, |
| 6621 | .block_erase = spi_block_erase_d8, |
| 6622 | }, { |
| 6623 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6624 | .block_erase = spi_block_erase_60, |
| 6625 | }, { |
| 6626 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6627 | .block_erase = spi_block_erase_c7, |
| 6628 | }, |
| 6629 | }, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 6630 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6: Continuously Program (CP) mode */ |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6631 | .unlock = spi_disable_blockprotect, |
| 6632 | .write = spi_chip_write_256, |
| 6633 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6634 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6635 | }, |
| 6636 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6637 | { |
| 6638 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 6639 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6640 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6641 | .manufacture_id = MACRONIX_ID, |
| 6642 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 6643 | .total_size = 2048, |
| 6644 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6645 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 6646 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 6647 | .tested = TEST_UNTESTED, |
| 6648 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6649 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6650 | .block_erasers = |
| 6651 | { |
| 6652 | { |
| 6653 | .eraseblocks = { {4 * 1024, 512} }, |
| 6654 | .block_erase = spi_block_erase_20, |
| 6655 | }, { |
| 6656 | .eraseblocks = { {64 * 1024, 32} }, |
| 6657 | .block_erase = spi_block_erase_d8, |
| 6658 | }, { |
| 6659 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6660 | .block_erase = spi_block_erase_60, |
| 6661 | }, { |
| 6662 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6663 | .block_erase = spi_block_erase_c7, |
| 6664 | } |
| 6665 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6666 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6667 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6668 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6669 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6670 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 6671 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 6672 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 6673 | { |
| 6674 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 6675 | .name = "MX25L1635E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6676 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6677 | .manufacture_id = MACRONIX_ID, |
| 6678 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 6679 | .total_size = 2048, |
| 6680 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6681 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 6682 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 6683 | .tested = TEST_UNTESTED, |
| 6684 | .probe = probe_spi_rdid, |
| 6685 | .probe_timing = TIMING_ZERO, |
| 6686 | .block_erasers = |
| 6687 | { |
| 6688 | { |
| 6689 | .eraseblocks = { {4 * 1024, 512} }, |
| 6690 | .block_erase = spi_block_erase_20, |
| 6691 | }, { |
| 6692 | .eraseblocks = { {64 * 1024, 32} }, |
| 6693 | .block_erase = spi_block_erase_d8, |
| 6694 | }, { |
| 6695 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6696 | .block_erase = spi_block_erase_60, |
| 6697 | }, { |
| 6698 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6699 | .block_erase = spi_block_erase_c7, |
| 6700 | } |
| 6701 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6702 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 6703 | .unlock = spi_disable_blockprotect, |
| 6704 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6705 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6706 | .voltage = {2700, 3600}, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 6707 | }, |
| 6708 | |
| 6709 | { |
| 6710 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6711 | .name = "MX25L3205(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6712 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6713 | .manufacture_id = MACRONIX_ID, |
| 6714 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6715 | .total_size = 4096, |
| 6716 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 6717 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 6718 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6719 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6720 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6721 | .block_erasers = |
| 6722 | { |
| 6723 | { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6724 | .eraseblocks = { {64 * 1024, 64} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6725 | .block_erase = spi_block_erase_20, |
| 6726 | }, { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6727 | .eraseblocks = { {64 * 1024, 64} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6728 | .block_erase = spi_block_erase_d8, |
| 6729 | }, { |
| 6730 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6731 | .block_erase = spi_block_erase_60, |
| 6732 | }, { |
| 6733 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6734 | .block_erase = spi_block_erase_c7, |
| 6735 | }, |
| 6736 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6737 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit6: error flag */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6738 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6739 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6740 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6741 | .voltage = {2700, 3600}, |
| 6742 | }, |
| 6743 | |
| 6744 | { |
| 6745 | .vendor = "Macronix", |
| 6746 | .name = "MX25L3205D/MX25L3208D", |
| 6747 | .bustype = BUS_SPI, |
| 6748 | .manufacture_id = MACRONIX_ID, |
| 6749 | .model_id = MACRONIX_MX25L3205, |
| 6750 | .total_size = 4096, |
| 6751 | .page_size = 256, |
| 6752 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 6753 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6754 | .tested = TEST_OK_PREW, |
| 6755 | .probe = probe_spi_rdid, |
| 6756 | .probe_timing = TIMING_ZERO, |
| 6757 | .block_erasers = |
| 6758 | { |
| 6759 | { |
| 6760 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6761 | .block_erase = spi_block_erase_20, |
| 6762 | }, { |
| 6763 | .eraseblocks = { {64 * 1024, 64} }, |
| 6764 | .block_erase = spi_block_erase_d8, |
| 6765 | }, { |
| 6766 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6767 | .block_erase = spi_block_erase_60, |
| 6768 | }, { |
| 6769 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6770 | .block_erase = spi_block_erase_c7, |
| 6771 | }, |
| 6772 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6773 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6: CP mode */ |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6774 | .unlock = spi_disable_blockprotect, |
| 6775 | .write = spi_chip_write_256, |
| 6776 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */ |
| 6777 | .voltage = {2700, 3600}, |
| 6778 | }, |
| 6779 | |
| 6780 | { |
| 6781 | .vendor = "Macronix", |
| 6782 | .name = "MX25L3206E", |
| 6783 | .bustype = BUS_SPI, |
| 6784 | .manufacture_id = MACRONIX_ID, |
| 6785 | .model_id = MACRONIX_MX25L3205, |
| 6786 | .total_size = 4096, |
| 6787 | .page_size = 256, |
| 6788 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 6789 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6790 | .tested = TEST_OK_PREW, |
| 6791 | .probe = probe_spi_rdid, |
| 6792 | .probe_timing = TIMING_ZERO, |
| 6793 | .block_erasers = |
| 6794 | { |
| 6795 | { |
| 6796 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6797 | .block_erase = spi_block_erase_20, |
| 6798 | }, { |
| 6799 | .eraseblocks = { {64 * 1024, 64} }, |
| 6800 | .block_erase = spi_block_erase_d8, |
| 6801 | }, { |
| 6802 | .eraseblocks = { {64 * 1024, 64} }, |
| 6803 | .block_erase = spi_block_erase_52, |
| 6804 | }, { |
| 6805 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6806 | .block_erase = spi_block_erase_60, |
| 6807 | }, { |
| 6808 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6809 | .block_erase = spi_block_erase_c7, |
| 6810 | }, |
| 6811 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6812 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6813 | .unlock = spi_disable_blockprotect, |
| 6814 | .write = spi_chip_write_256, |
| 6815 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6816 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6817 | }, |
| 6818 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6819 | { |
| 6820 | .vendor = "Macronix", |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 6821 | .name = "MX25L3273E", |
| 6822 | .bustype = BUS_SPI, |
| 6823 | .manufacture_id = MACRONIX_ID, |
| 6824 | .model_id = MACRONIX_MX25L3205, |
| 6825 | .total_size = 4096, |
| 6826 | .page_size = 256, |
| 6827 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 6828 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6829 | .tested = TEST_UNTESTED, |
| 6830 | .probe = probe_spi_rdid, |
| 6831 | .probe_timing = TIMING_ZERO, |
| 6832 | .block_erasers = |
| 6833 | { |
| 6834 | { |
| 6835 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6836 | .block_erase = spi_block_erase_20, |
| 6837 | }, { |
| 6838 | .eraseblocks = { {32 * 1024, 128} }, |
| 6839 | .block_erase = spi_block_erase_52, |
| 6840 | }, { |
| 6841 | .eraseblocks = { {64 * 1024, 64} }, |
| 6842 | .block_erase = spi_block_erase_d8, |
| 6843 | }, { |
| 6844 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6845 | .block_erase = spi_block_erase_60, |
| 6846 | }, { |
| 6847 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6848 | .block_erase = spi_block_erase_c7, |
| 6849 | }, |
| 6850 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6851 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 6852 | .unlock = spi_disable_blockprotect, |
| 6853 | .write = spi_chip_write_256, |
| 6854 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */ |
| 6855 | .voltage = {2700, 3600}, |
| 6856 | }, |
| 6857 | |
| 6858 | { |
| 6859 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 6860 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6861 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6862 | .manufacture_id = MACRONIX_ID, |
| 6863 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 6864 | .total_size = 4096, |
| 6865 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6866 | /* OTP: 256B total; enter 0xB1, exit 0xC1 */ |
| 6867 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 6868 | .tested = TEST_UNTESTED, |
| 6869 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6870 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6871 | .block_erasers = |
| 6872 | { |
| 6873 | { |
| 6874 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6875 | .block_erase = spi_block_erase_20, |
| 6876 | }, { |
| 6877 | .eraseblocks = { {64 * 1024, 64} }, |
| 6878 | .block_erase = spi_block_erase_d8, |
| 6879 | }, { |
| 6880 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6881 | .block_erase = spi_block_erase_60, |
| 6882 | }, { |
| 6883 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6884 | .block_erase = spi_block_erase_c7, |
| 6885 | } |
| 6886 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6887 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6888 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6889 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 6890 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6891 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 6892 | }, |
| 6893 | |
| 6894 | { |
| 6895 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6896 | .name = "MX25L6405(D)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6897 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6898 | .manufacture_id = MACRONIX_ID, |
| 6899 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6900 | .total_size = 8192, |
| 6901 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6902 | /* MX25L6405D has 64B of OTP; enter 0xB1, exit 0xC1 */ |
| 6903 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 6904 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6905 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6906 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6907 | .block_erasers = |
| 6908 | { |
| 6909 | { |
| 6910 | .eraseblocks = { {64 * 1024, 128} }, |
| 6911 | .block_erase = spi_block_erase_20, |
| 6912 | }, { |
| 6913 | .eraseblocks = { {64 * 1024, 128} }, |
| 6914 | .block_erase = spi_block_erase_d8, |
| 6915 | }, { |
| 6916 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6917 | .block_erase = spi_block_erase_60, |
| 6918 | }, { |
| 6919 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6920 | .block_erase = spi_block_erase_c7, |
| 6921 | } |
| 6922 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6923 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 has different meanings */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6924 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6925 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6926 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6927 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6928 | }, |
| 6929 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6930 | { |
| 6931 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6932 | .name = "MX25L6406E/MX25L6436E", |
| 6933 | .bustype = BUS_SPI, |
| 6934 | .manufacture_id = MACRONIX_ID, |
| 6935 | .model_id = MACRONIX_MX25L6405, |
| 6936 | .total_size = 8192, |
| 6937 | .page_size = 256, |
| 6938 | /* OTP: 06E 64B/36E 512B total; enter 0xB1, exit 0xC1 */ |
| 6939 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6940 | .tested = TEST_OK_PREW, |
| 6941 | .probe = probe_spi_rdid, |
| 6942 | .probe_timing = TIMING_ZERO, |
| 6943 | .block_erasers = |
| 6944 | { |
| 6945 | { |
| 6946 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6947 | .block_erase = spi_block_erase_20, |
| 6948 | }, { |
| 6949 | .eraseblocks = { {64 * 1024, 128} }, |
| 6950 | .block_erase = spi_block_erase_d8, |
| 6951 | }, { |
| 6952 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6953 | .block_erase = spi_block_erase_60, |
| 6954 | }, { |
| 6955 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6956 | .block_erase = spi_block_erase_c7, |
| 6957 | } |
| 6958 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6959 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 for 36E is quad enable */ |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6960 | .unlock = spi_disable_blockprotect, |
| 6961 | .write = spi_chip_write_256, |
| 6962 | .read = spi_chip_read, |
| 6963 | .voltage = {2700, 3600}, |
| 6964 | }, |
| 6965 | |
| 6966 | { |
| 6967 | .vendor = "Macronix", |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 6968 | .name = "MX25L6445E/MX25L6473E", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 6969 | .bustype = BUS_SPI, |
| 6970 | .manufacture_id = MACRONIX_ID, |
| 6971 | .model_id = MACRONIX_MX25L6405, |
| 6972 | .total_size = 8192, |
| 6973 | .page_size = 256, |
| 6974 | /* supports SFDP */ |
| 6975 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 6976 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6977 | .tested = TEST_OK_PREW, |
| 6978 | .probe = probe_spi_rdid, |
| 6979 | .probe_timing = TIMING_ZERO, |
| 6980 | .block_erasers = |
| 6981 | { |
| 6982 | { |
| 6983 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6984 | .block_erase = spi_block_erase_20, |
| 6985 | }, { |
| 6986 | .eraseblocks = { {32 * 1024, 256} }, |
| 6987 | .block_erase = spi_block_erase_52, |
| 6988 | }, { |
| 6989 | .eraseblocks = { {64 * 1024, 128} }, |
| 6990 | .block_erase = spi_block_erase_d8, |
| 6991 | }, { |
| 6992 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6993 | .block_erase = spi_block_erase_60, |
| 6994 | }, { |
| 6995 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6996 | .block_erase = spi_block_erase_c7, |
| 6997 | } |
| 6998 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 6999 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 7000 | .unlock = spi_disable_blockprotect, |
| 7001 | .write = spi_chip_write_256, |
| 7002 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 7003 | .voltage = {2700, 3600}, |
| 7004 | }, |
| 7005 | |
| 7006 | { |
| 7007 | .vendor = "Macronix", |
| 7008 | .name = "MX25L12805(D)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7009 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7010 | .manufacture_id = MACRONIX_ID, |
| 7011 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 7012 | .total_size = 16384, |
| 7013 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 7014 | /* MX25L12805D has 64B of OTP; enter 0xB1, exit 0xC1 */ |
| 7015 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 7016 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 7017 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7018 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7019 | .block_erasers = |
| 7020 | { |
| 7021 | { |
| 7022 | .eraseblocks = { {4 * 1024, 4096} }, |
| 7023 | .block_erase = spi_block_erase_20, |
| 7024 | }, { |
| 7025 | .eraseblocks = { {64 * 1024, 256} }, |
| 7026 | .block_erase = spi_block_erase_d8, |
| 7027 | }, { |
| 7028 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7029 | .block_erase = spi_block_erase_60, |
| 7030 | }, { |
| 7031 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7032 | .block_erase = spi_block_erase_c7, |
| 7033 | } |
| 7034 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7035 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7036 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7037 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 7038 | .read = spi_chip_read, /* MX25L12805D: Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7039 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 7040 | }, |
| 7041 | |
| 7042 | { |
| 7043 | .vendor = "Macronix", |
Vincent Palatin | f800f55 | 2013-03-15 02:03:16 +0000 | [diff] [blame] | 7044 | .name = "MX25U1635E", |
| 7045 | .bustype = BUS_SPI, |
| 7046 | .manufacture_id = MACRONIX_ID, |
| 7047 | .model_id = MACRONIX_MX25U1635E, |
| 7048 | .total_size = 2048, |
| 7049 | .page_size = 256, |
| 7050 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 7051 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 7052 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 7053 | .tested = TEST_UNTESTED, |
| 7054 | .probe = probe_spi_rdid, |
| 7055 | .probe_timing = TIMING_ZERO, |
| 7056 | .block_erasers = |
| 7057 | { |
| 7058 | { |
| 7059 | .eraseblocks = { {4 * 1024, 512} }, |
| 7060 | .block_erase = spi_block_erase_20, |
| 7061 | }, { |
| 7062 | .eraseblocks = { {32 * 1024, 64} }, |
| 7063 | .block_erase = spi_block_erase_52, |
| 7064 | }, { |
| 7065 | .eraseblocks = { {64 * 1024, 32} }, |
| 7066 | .block_erase = spi_block_erase_d8, |
| 7067 | }, { |
| 7068 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7069 | .block_erase = spi_block_erase_60, |
| 7070 | }, { |
| 7071 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7072 | .block_erase = spi_block_erase_c7, |
| 7073 | } |
| 7074 | }, |
| 7075 | /* TODO: security register */ |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7076 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Vincent Palatin | f800f55 | 2013-03-15 02:03:16 +0000 | [diff] [blame] | 7077 | .unlock = spi_disable_blockprotect, |
| 7078 | .write = spi_chip_write_256, |
| 7079 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 7080 | .voltage = {1650, 2000}, |
| 7081 | }, |
| 7082 | |
| 7083 | { |
| 7084 | .vendor = "Macronix", |
| 7085 | .name = "MX25U3235E/F", |
| 7086 | .bustype = BUS_SPI, |
| 7087 | .manufacture_id = MACRONIX_ID, |
| 7088 | .model_id = MACRONIX_MX25U3235E, |
| 7089 | .total_size = 4096, |
| 7090 | .page_size = 256, |
| 7091 | /* F model supports SFDP */ |
| 7092 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 7093 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 7094 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 7095 | .tested = TEST_OK_PREW, |
| 7096 | .probe = probe_spi_rdid, |
| 7097 | .probe_timing = TIMING_ZERO, |
| 7098 | .block_erasers = |
| 7099 | { |
| 7100 | { |
| 7101 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7102 | .block_erase = spi_block_erase_20, |
| 7103 | }, { |
| 7104 | .eraseblocks = { {32 * 1024, 128} }, |
| 7105 | .block_erase = spi_block_erase_52, |
| 7106 | }, { |
| 7107 | .eraseblocks = { {64 * 1024, 64} }, |
| 7108 | .block_erase = spi_block_erase_d8, |
| 7109 | }, { |
| 7110 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7111 | .block_erase = spi_block_erase_60, |
| 7112 | }, { |
| 7113 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7114 | .block_erase = spi_block_erase_c7, |
| 7115 | } |
| 7116 | }, |
| 7117 | /* TODO: security register */ |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7118 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Vincent Palatin | f800f55 | 2013-03-15 02:03:16 +0000 | [diff] [blame] | 7119 | .unlock = spi_disable_blockprotect, |
| 7120 | .write = spi_chip_write_256, |
| 7121 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 7122 | .voltage = {1650, 2000}, |
| 7123 | }, |
| 7124 | |
| 7125 | { |
| 7126 | .vendor = "Macronix", |
| 7127 | .name = "MX25U6435E/F", |
| 7128 | .bustype = BUS_SPI, |
| 7129 | .manufacture_id = MACRONIX_ID, |
| 7130 | .model_id = MACRONIX_MX25U6435E, |
| 7131 | .total_size = 8192, |
| 7132 | .page_size = 256, |
| 7133 | /* F model supports SFDP */ |
| 7134 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 7135 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 7136 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 7137 | .tested = TEST_UNTESTED, |
| 7138 | .probe = probe_spi_rdid, |
| 7139 | .probe_timing = TIMING_ZERO, |
| 7140 | .block_erasers = |
| 7141 | { |
| 7142 | { |
| 7143 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7144 | .block_erase = spi_block_erase_20, |
| 7145 | }, { |
| 7146 | .eraseblocks = { {32 * 1024, 256} }, |
| 7147 | .block_erase = spi_block_erase_52, |
| 7148 | }, { |
| 7149 | .eraseblocks = { {64 * 1024, 128} }, |
| 7150 | .block_erase = spi_block_erase_d8, |
| 7151 | }, { |
| 7152 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7153 | .block_erase = spi_block_erase_60, |
| 7154 | }, { |
| 7155 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7156 | .block_erase = spi_block_erase_c7, |
| 7157 | } |
| 7158 | }, |
| 7159 | /* TODO: security register */ |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7160 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
Vincent Palatin | f800f55 | 2013-03-15 02:03:16 +0000 | [diff] [blame] | 7161 | .unlock = spi_disable_blockprotect, |
| 7162 | .write = spi_chip_write_256, |
| 7163 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 7164 | .voltage = {1650, 2000}, |
| 7165 | }, |
| 7166 | |
| 7167 | { |
| 7168 | .vendor = "Macronix", |
Martin Roth | 440057a | 2014-07-13 00:05:07 +0000 | [diff] [blame] | 7169 | .name = "MX25U12835F", |
| 7170 | .bustype = BUS_SPI, |
| 7171 | .manufacture_id = MACRONIX_ID, |
| 7172 | .model_id = MACRONIX_MX25U12835E, |
| 7173 | .total_size = 16384, |
| 7174 | .page_size = 256, |
| 7175 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 7176 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 7177 | .tested = TEST_UNTESTED, |
| 7178 | .probe = probe_spi_rdid, |
| 7179 | .probe_timing = TIMING_ZERO, |
| 7180 | .block_erasers = |
| 7181 | { |
| 7182 | { |
| 7183 | .eraseblocks = { {4 * 1024, 4096} }, |
| 7184 | .block_erase = spi_block_erase_20, |
| 7185 | }, { |
| 7186 | .eraseblocks = { {32 * 1024, 512} }, |
| 7187 | .block_erase = spi_block_erase_52, |
| 7188 | }, { |
| 7189 | .eraseblocks = { {64 * 1024, 256} }, |
| 7190 | .block_erase = spi_block_erase_d8, |
| 7191 | }, { |
| 7192 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7193 | .block_erase = spi_block_erase_60, |
| 7194 | }, { |
| 7195 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7196 | .block_erase = spi_block_erase_c7, |
| 7197 | } |
| 7198 | }, |
| 7199 | /* TODO: security register */ |
| 7200 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ |
| 7201 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 7202 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 7203 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 7204 | .voltage = {1650, 2000}, |
| 7205 | }, |
| 7206 | |
| 7207 | { |
| 7208 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 7209 | .name = "MX29F001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7210 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7211 | .manufacture_id = MACRONIX_ID, |
| 7212 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 7213 | .total_size = 128, |
| 7214 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7215 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7216 | .tested = TEST_UNTESTED, |
| 7217 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7218 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7219 | .block_erasers = |
| 7220 | { |
| 7221 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 7222 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7223 | {8 * 1024, 1}, |
| 7224 | {4 * 1024, 2}, |
| 7225 | {8 * 1024, 2}, |
| 7226 | {32 * 1024, 1}, |
| 7227 | {64 * 1024, 1}, |
| 7228 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7229 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7230 | }, { |
| 7231 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7232 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7233 | } |
| 7234 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 7235 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 7236 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7237 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 7238 | }, |
| 7239 | |
| 7240 | { |
| 7241 | .vendor = "Macronix", |
| 7242 | .name = "MX29F001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7243 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7244 | .manufacture_id = MACRONIX_ID, |
| 7245 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 7246 | .total_size = 128, |
| 7247 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7248 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 7249 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7250 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7251 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7252 | .block_erasers = |
| 7253 | { |
| 7254 | { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 7255 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7256 | {64 * 1024, 1}, |
| 7257 | {32 * 1024, 1}, |
| 7258 | {8 * 1024, 2}, |
| 7259 | {4 * 1024, 2}, |
| 7260 | {8 * 1024, 1}, |
| 7261 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7262 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7263 | }, { |
| 7264 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7265 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7266 | } |
| 7267 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 7268 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 7269 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7270 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 7271 | }, |
| 7272 | |
| 7273 | { |
| 7274 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7275 | .name = "MX29F002(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7276 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7277 | .manufacture_id = MACRONIX_ID, |
| 7278 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7279 | .total_size = 256, |
| 7280 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7281 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7282 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7283 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7284 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 7285 | .block_erasers = |
| 7286 | { |
| 7287 | { |
| 7288 | .eraseblocks = { |
| 7289 | {16 * 1024, 1}, |
| 7290 | {8 * 1024, 2}, |
| 7291 | {32 * 1024, 1}, |
| 7292 | {64 * 1024, 3}, |
| 7293 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7294 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 7295 | }, { |
| 7296 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7297 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 7298 | }, |
| 7299 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 7300 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7301 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7302 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7303 | }, |
| 7304 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7305 | { |
| 7306 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7307 | .name = "MX29F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7308 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7309 | .manufacture_id = MACRONIX_ID, |
| 7310 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7311 | .total_size = 256, |
| 7312 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7313 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 7314 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7315 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7316 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 7317 | .block_erasers = |
| 7318 | { |
| 7319 | { |
| 7320 | .eraseblocks = { |
| 7321 | {64 * 1024, 3}, |
| 7322 | {32 * 1024, 1}, |
| 7323 | {8 * 1024, 2}, |
| 7324 | {16 * 1024, 1}, |
| 7325 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7326 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 7327 | }, { |
| 7328 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7329 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 7330 | }, |
| 7331 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 7332 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7333 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7334 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7335 | }, |
| 7336 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7337 | { |
| 7338 | .vendor = "Macronix", |
Daniele Forsi | 6a18a93 | 2014-07-13 14:53:45 +0000 | [diff] [blame] | 7339 | .name = "MX29F022(N)B", |
| 7340 | .bustype = BUS_PARALLEL, |
| 7341 | .manufacture_id = MACRONIX_ID, |
| 7342 | .model_id = MACRONIX_MX29F022B, |
| 7343 | .total_size = 256, |
| 7344 | .page_size = 0, /* unused */ |
| 7345 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7346 | .tested = TEST_UNTESTED, |
| 7347 | .probe = probe_jedec, |
| 7348 | .probe_timing = TIMING_ZERO, |
| 7349 | .block_erasers = |
| 7350 | { |
| 7351 | { |
| 7352 | .eraseblocks = { |
| 7353 | {16 * 1024, 1}, |
| 7354 | {8 * 1024, 2}, |
| 7355 | {32 * 1024, 1}, |
| 7356 | {64 * 1024, 3}, |
| 7357 | }, |
| 7358 | .block_erase = erase_sector_jedec, |
| 7359 | }, { |
| 7360 | .eraseblocks = { {256 * 1024, 1} }, |
| 7361 | .block_erase = erase_chip_block_jedec, |
| 7362 | } |
| 7363 | }, |
| 7364 | .write = write_jedec_1, |
| 7365 | .read = read_memmapped, |
| 7366 | .voltage = {4500, 5500}, |
| 7367 | }, |
| 7368 | |
| 7369 | { |
| 7370 | .vendor = "Macronix", |
| 7371 | .name = "MX29F022(N)T", |
| 7372 | .bustype = BUS_PARALLEL, |
| 7373 | .manufacture_id = MACRONIX_ID, |
| 7374 | .model_id = MACRONIX_MX29F022T, |
| 7375 | .total_size = 256, |
| 7376 | .page_size = 0, /* unused */ |
| 7377 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7378 | .tested = TEST_OK_PREW, |
| 7379 | .probe = probe_jedec, |
| 7380 | .probe_timing = TIMING_ZERO, |
| 7381 | .block_erasers = |
| 7382 | { |
| 7383 | { |
| 7384 | .eraseblocks = { |
| 7385 | {64 * 1024, 3}, |
| 7386 | {32 * 1024, 1}, |
| 7387 | {8 * 1024, 2}, |
| 7388 | {16 * 1024, 1}, |
| 7389 | }, |
| 7390 | .block_erase = erase_sector_jedec, |
| 7391 | }, { |
| 7392 | .eraseblocks = { {256 * 1024, 1} }, |
| 7393 | .block_erase = erase_chip_block_jedec, |
| 7394 | } |
| 7395 | }, |
| 7396 | .write = write_jedec_1, |
| 7397 | .read = read_memmapped, |
| 7398 | .voltage = {4500, 5500}, |
| 7399 | }, |
| 7400 | |
| 7401 | { |
| 7402 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 7403 | .name = "MX29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7404 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 7405 | .manufacture_id = MACRONIX_ID, |
| 7406 | .model_id = MACRONIX_MX29F040, |
| 7407 | .total_size = 512, |
| 7408 | .page_size = 64 * 1024, |
| 7409 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7410 | .tested = TEST_UNTESTED, |
| 7411 | .probe = probe_jedec, |
| 7412 | .probe_timing = TIMING_ZERO, |
| 7413 | .block_erasers = |
| 7414 | { |
| 7415 | { |
| 7416 | .eraseblocks = { {64 * 1024, 8} }, |
| 7417 | .block_erase = erase_sector_jedec, |
| 7418 | }, { |
| 7419 | .eraseblocks = { {512 * 1024, 1} }, |
| 7420 | .block_erase = erase_chip_block_jedec, |
| 7421 | }, |
| 7422 | }, |
| 7423 | .write = write_jedec_1, |
| 7424 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7425 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 7426 | }, |
| 7427 | |
| 7428 | { |
| 7429 | .vendor = "Macronix", |
Stefan Tauner | 03a9c3c | 2014-08-03 14:15:14 +0000 | [diff] [blame] | 7430 | .name = "MX29GL320EB", |
| 7431 | .bustype = BUS_PARALLEL, |
| 7432 | .manufacture_id = MACRONIX_ID, |
| 7433 | .model_id = MACRONIX_MX29GL320EB, |
| 7434 | .total_size = 4096, |
| 7435 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 7436 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7437 | .tested = TEST_UNTESTED, |
| 7438 | .probe = probe_jedec_29gl, |
| 7439 | .probe_timing = TIMING_ZERO, |
| 7440 | .block_erasers = |
| 7441 | { |
| 7442 | { |
| 7443 | .eraseblocks = { |
| 7444 | {8 * 1024, 8}, |
| 7445 | {64 * 1024, 63}, |
| 7446 | }, |
| 7447 | .block_erase = erase_sector_jedec, |
| 7448 | }, { |
| 7449 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7450 | .block_erase = erase_chip_block_jedec, |
| 7451 | }, |
| 7452 | }, |
| 7453 | .write = write_jedec_1, |
| 7454 | .read = read_memmapped, |
| 7455 | .voltage = {2700, 3600}, |
| 7456 | }, |
| 7457 | |
| 7458 | { |
| 7459 | .vendor = "Macronix", |
| 7460 | .name = "MX29GL320ET", |
| 7461 | .bustype = BUS_PARALLEL, |
| 7462 | .manufacture_id = MACRONIX_ID, |
| 7463 | .model_id = MACRONIX_MX29GL320ET, |
| 7464 | .total_size = 4096, |
| 7465 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 7466 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7467 | .tested = TEST_UNTESTED, |
| 7468 | .probe = probe_jedec_29gl, |
| 7469 | .probe_timing = TIMING_ZERO, |
| 7470 | .block_erasers = |
| 7471 | { |
| 7472 | { |
| 7473 | .eraseblocks = { |
| 7474 | {64 * 1024, 63}, |
| 7475 | {8 * 1024, 8}, |
| 7476 | }, |
| 7477 | .block_erase = erase_sector_jedec, |
| 7478 | }, { |
| 7479 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7480 | .block_erase = erase_chip_block_jedec, |
| 7481 | }, |
| 7482 | }, |
| 7483 | .write = write_jedec_1, |
| 7484 | .read = read_memmapped, |
| 7485 | .voltage = {2700, 3600}, |
| 7486 | }, |
| 7487 | |
| 7488 | { |
| 7489 | .vendor = "Macronix", |
| 7490 | .name = "MX29GL320EH/L", |
| 7491 | .bustype = BUS_PARALLEL, |
| 7492 | .manufacture_id = MACRONIX_ID, |
| 7493 | .model_id = MACRONIX_MX29GL320EHL, |
| 7494 | .total_size = 4096, |
| 7495 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 7496 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7497 | .tested = TEST_UNTESTED, |
| 7498 | .probe = probe_jedec_29gl, |
| 7499 | .probe_timing = TIMING_ZERO, |
| 7500 | .block_erasers = |
| 7501 | { |
| 7502 | { |
| 7503 | .eraseblocks = { {64 * 1024, 64} }, |
| 7504 | .block_erase = erase_sector_jedec, |
| 7505 | }, { |
| 7506 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7507 | .block_erase = erase_chip_block_jedec, |
| 7508 | }, |
| 7509 | }, |
| 7510 | .write = write_jedec_1, |
| 7511 | .read = read_memmapped, |
| 7512 | .voltage = {2700, 3600}, |
| 7513 | }, |
| 7514 | |
| 7515 | { |
| 7516 | .vendor = "Macronix", |
| 7517 | .name = "MX29GL640EB", |
| 7518 | .bustype = BUS_PARALLEL, |
| 7519 | .manufacture_id = MACRONIX_ID, |
| 7520 | .model_id = MACRONIX_MX29GL640EB, |
| 7521 | .total_size = 8192, |
| 7522 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 7523 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7524 | .tested = TEST_UNTESTED, |
| 7525 | .probe = probe_jedec_29gl, |
| 7526 | .probe_timing = TIMING_ZERO, |
| 7527 | .block_erasers = |
| 7528 | { |
| 7529 | { |
| 7530 | .eraseblocks = { |
| 7531 | {8 * 1024, 8}, |
| 7532 | {64 * 1024, 127}, |
| 7533 | }, |
| 7534 | .block_erase = erase_sector_jedec, |
| 7535 | }, { |
| 7536 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7537 | .block_erase = erase_chip_block_jedec, |
| 7538 | }, |
| 7539 | }, |
| 7540 | .write = write_jedec_1, |
| 7541 | .read = read_memmapped, |
| 7542 | .voltage = {2700, 3600}, |
| 7543 | }, |
| 7544 | |
| 7545 | { |
| 7546 | .vendor = "Macronix", |
| 7547 | .name = "MX29GL640ET", |
| 7548 | .bustype = BUS_PARALLEL, |
| 7549 | .manufacture_id = MACRONIX_ID, |
| 7550 | .model_id = MACRONIX_MX29GL640ET, |
| 7551 | .total_size = 8192, |
| 7552 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 7553 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7554 | .tested = TEST_UNTESTED, |
| 7555 | .probe = probe_jedec_29gl, |
| 7556 | .probe_timing = TIMING_ZERO, |
| 7557 | .block_erasers = |
| 7558 | { |
| 7559 | { |
| 7560 | .eraseblocks = { |
| 7561 | {64 * 1024, 127}, |
| 7562 | {8 * 1024, 8}, |
| 7563 | }, |
| 7564 | .block_erase = erase_sector_jedec, |
| 7565 | }, { |
| 7566 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7567 | .block_erase = erase_chip_block_jedec, |
| 7568 | }, |
| 7569 | }, |
| 7570 | .write = write_jedec_1, |
| 7571 | .read = read_memmapped, |
| 7572 | .voltage = {2700, 3600}, |
| 7573 | }, |
| 7574 | |
| 7575 | { |
| 7576 | .vendor = "Macronix", |
| 7577 | .name = "MX29GL640EH/L", |
| 7578 | .bustype = BUS_PARALLEL, |
| 7579 | .manufacture_id = MACRONIX_ID, |
| 7580 | .model_id = MACRONIX_MX29GL640EHL, |
| 7581 | .total_size = 8192, |
| 7582 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 7583 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7584 | .tested = TEST_UNTESTED, |
| 7585 | .probe = probe_jedec_29gl, |
| 7586 | .probe_timing = TIMING_ZERO, |
| 7587 | .block_erasers = |
| 7588 | { |
| 7589 | { |
| 7590 | .eraseblocks = { {64 * 1024, 128} }, |
| 7591 | .block_erase = erase_sector_jedec, |
| 7592 | }, { |
| 7593 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7594 | .block_erase = erase_chip_block_jedec, |
| 7595 | }, |
| 7596 | }, |
| 7597 | .write = write_jedec_1, |
| 7598 | .read = read_memmapped, |
| 7599 | .voltage = {2700, 3600}, |
| 7600 | }, |
| 7601 | |
| 7602 | { |
| 7603 | .vendor = "Macronix", |
| 7604 | .name = "MX29GL128F", |
| 7605 | .bustype = BUS_PARALLEL, |
| 7606 | .manufacture_id = MACRONIX_ID, |
| 7607 | .model_id = MACRONIX_MX29GL128F, |
| 7608 | .total_size = 16384, |
| 7609 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 7610 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7611 | .tested = TEST_UNTESTED, |
| 7612 | .probe = probe_jedec_29gl, |
| 7613 | .probe_timing = TIMING_ZERO, |
| 7614 | .block_erasers = |
| 7615 | { |
| 7616 | { |
| 7617 | .eraseblocks = { {128 * 1024, 128} }, |
| 7618 | .block_erase = erase_sector_jedec, |
| 7619 | }, { |
| 7620 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7621 | .block_erase = erase_chip_block_jedec, |
| 7622 | }, |
| 7623 | }, |
| 7624 | .write = write_jedec_1, |
| 7625 | .read = read_memmapped, |
| 7626 | .voltage = {2700, 3600}, |
| 7627 | }, |
| 7628 | |
| 7629 | { |
| 7630 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 7631 | .name = "MX29LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7632 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7633 | .manufacture_id = MACRONIX_ID, |
| 7634 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7635 | .total_size = 512, |
| 7636 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7637 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 7638 | .tested = TEST_UNTESTED, |
| 7639 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7640 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7641 | .block_erasers = |
| 7642 | { |
| 7643 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 7644 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7645 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7646 | }, { |
| 7647 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7648 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 7649 | }, |
| 7650 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 7651 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7652 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7653 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 7654 | }, |
| 7655 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7656 | { |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7657 | .vendor = "Micron/Numonyx/ST", |
| 7658 | .name = "M25P05-A", |
| 7659 | .bustype = BUS_SPI, |
| 7660 | .manufacture_id = ST_ID, |
| 7661 | .model_id = ST_M25P05A, |
| 7662 | .total_size = 64, |
| 7663 | .page_size = 256, |
| 7664 | .feature_bits = FEATURE_WRSR_WREN, |
| 7665 | .tested = TEST_OK_PREW, |
| 7666 | .probe = probe_spi_rdid, |
| 7667 | .probe_timing = TIMING_ZERO, |
| 7668 | .block_erasers = |
| 7669 | { |
| 7670 | { |
| 7671 | .eraseblocks = { {32 * 1024, 2} }, |
| 7672 | .block_erase = spi_block_erase_d8, |
| 7673 | }, { |
| 7674 | .eraseblocks = { {64 * 1024, 1} }, |
| 7675 | .block_erase = spi_block_erase_c7, |
| 7676 | } |
| 7677 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7678 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7679 | .unlock = spi_disable_blockprotect, |
| 7680 | .write = spi_chip_write_256, |
| 7681 | .read = spi_chip_read, |
| 7682 | .voltage = {2700, 3600}, |
| 7683 | }, |
| 7684 | |
| 7685 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 7686 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
| 7687 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res1 |
| 7688 | * only is successful if RDID does not work. |
| 7689 | */ |
| 7690 | { |
| 7691 | .vendor = "Micron/Numonyx/ST", |
| 7692 | .name = "M25P05", |
| 7693 | .bustype = BUS_SPI, |
| 7694 | .manufacture_id = 0, /* Not used. */ |
| 7695 | .model_id = ST_M25P05_RES, |
| 7696 | .total_size = 64, |
| 7697 | .page_size = 256, |
| 7698 | .feature_bits = FEATURE_WRSR_WREN, |
| 7699 | .tested = TEST_UNTESTED, |
| 7700 | .probe = probe_spi_res1, |
| 7701 | .probe_timing = TIMING_ZERO, |
| 7702 | .block_erasers = |
| 7703 | { |
| 7704 | { |
| 7705 | .eraseblocks = { {32 * 1024, 2} }, |
| 7706 | .block_erase = spi_block_erase_d8, |
| 7707 | }, { |
| 7708 | .eraseblocks = { {64 * 1024, 1} }, |
| 7709 | .block_erase = spi_block_erase_c7, |
| 7710 | } |
| 7711 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7712 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7713 | .unlock = spi_disable_blockprotect, |
| 7714 | .write = spi_chip_write_1, /* 128 */ |
| 7715 | .read = spi_chip_read, |
| 7716 | .voltage = {2700, 3600}, |
| 7717 | }, |
| 7718 | |
| 7719 | { |
| 7720 | .vendor = "Micron/Numonyx/ST", |
| 7721 | .name = "M25P10-A", |
| 7722 | .bustype = BUS_SPI, |
| 7723 | .manufacture_id = ST_ID, |
| 7724 | .model_id = ST_M25P10A, |
| 7725 | .total_size = 128, |
| 7726 | .page_size = 256, |
| 7727 | .feature_bits = FEATURE_WRSR_WREN, |
| 7728 | .tested = TEST_OK_PRE, |
| 7729 | .probe = probe_spi_rdid, |
| 7730 | .probe_timing = TIMING_ZERO, |
| 7731 | .block_erasers = |
| 7732 | { |
| 7733 | { |
| 7734 | .eraseblocks = { {32 * 1024, 4} }, |
| 7735 | .block_erase = spi_block_erase_d8, |
| 7736 | }, { |
| 7737 | .eraseblocks = { {128 * 1024, 1} }, |
| 7738 | .block_erase = spi_block_erase_c7, |
| 7739 | } |
| 7740 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7741 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7742 | .unlock = spi_disable_blockprotect, |
| 7743 | .write = spi_chip_write_256, |
| 7744 | .read = spi_chip_read, |
| 7745 | .voltage = {2700, 3600}, |
| 7746 | }, |
| 7747 | |
| 7748 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 7749 | { |
| 7750 | .vendor = "Micron/Numonyx/ST", |
| 7751 | .name = "M25P10", |
| 7752 | .bustype = BUS_SPI, |
| 7753 | .manufacture_id = 0, /* Not used. */ |
| 7754 | .model_id = ST_M25P10_RES, |
| 7755 | .total_size = 128, |
| 7756 | .page_size = 256, |
| 7757 | .feature_bits = FEATURE_WRSR_WREN, |
| 7758 | .tested = TEST_UNTESTED, |
| 7759 | .probe = probe_spi_res1, |
| 7760 | .probe_timing = TIMING_ZERO, |
| 7761 | .block_erasers = |
| 7762 | { |
| 7763 | { |
| 7764 | .eraseblocks = { {32 * 1024, 4} }, |
| 7765 | .block_erase = spi_block_erase_d8, |
| 7766 | }, { |
| 7767 | .eraseblocks = { {128 * 1024, 1} }, |
| 7768 | .block_erase = spi_block_erase_c7, |
| 7769 | } |
| 7770 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7771 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7772 | .unlock = spi_disable_blockprotect, |
| 7773 | .write = spi_chip_write_1, /* 128 */ |
| 7774 | .read = spi_chip_read, |
| 7775 | .voltage = {2700, 3600}, |
| 7776 | }, |
| 7777 | |
| 7778 | { |
| 7779 | .vendor = "Micron/Numonyx/ST", /* Numonyx */ |
| 7780 | .name = "M25P20", |
| 7781 | .bustype = BUS_SPI, |
| 7782 | .manufacture_id = ST_ID, |
| 7783 | .model_id = ST_M25P20, |
| 7784 | .total_size = 256, |
| 7785 | .page_size = 256, |
| 7786 | .feature_bits = FEATURE_WRSR_WREN, |
| 7787 | .tested = TEST_UNTESTED, |
| 7788 | .probe = probe_spi_rdid, |
| 7789 | .probe_timing = TIMING_ZERO, |
| 7790 | .block_erasers = |
| 7791 | { |
| 7792 | { |
| 7793 | .eraseblocks = { {64 * 1024, 4} }, |
| 7794 | .block_erase = spi_block_erase_d8, |
| 7795 | }, { |
| 7796 | .eraseblocks = { {256 * 1024, 1} }, |
| 7797 | .block_erase = spi_block_erase_c7, |
| 7798 | } |
| 7799 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7800 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7801 | .unlock = spi_disable_blockprotect, |
| 7802 | .write = spi_chip_write_256, |
| 7803 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7804 | .voltage = {2700, 3600}, |
| 7805 | }, |
| 7806 | |
| 7807 | { |
| 7808 | .vendor = "Micron/Numonyx/ST", |
| 7809 | .name = "M25P20-old", |
| 7810 | .bustype = BUS_SPI, |
| 7811 | .manufacture_id = 0, /* Not used. */ |
| 7812 | .model_id = ST_M25P20_RES, |
| 7813 | .total_size = 256, |
| 7814 | .page_size = 256, |
| 7815 | .feature_bits = FEATURE_WRSR_WREN, |
| 7816 | .tested = TEST_OK_PREW, |
| 7817 | .probe = probe_spi_res1, |
| 7818 | .probe_timing = TIMING_ZERO, |
| 7819 | .block_erasers = |
| 7820 | { |
| 7821 | { |
| 7822 | .eraseblocks = { {64 * 1024, 4} }, |
| 7823 | .block_erase = spi_block_erase_d8, |
| 7824 | }, { |
| 7825 | .eraseblocks = { {256 * 1024, 1} }, |
| 7826 | .block_erase = spi_block_erase_c7, |
| 7827 | } |
| 7828 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7829 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7830 | .unlock = spi_disable_blockprotect, |
| 7831 | .write = spi_chip_write_256, |
| 7832 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7833 | .voltage = {2700, 3600}, |
| 7834 | }, |
| 7835 | |
| 7836 | { |
| 7837 | .vendor = "Micron/Numonyx/ST", /* Numonyx */ |
| 7838 | .name = "M25P40", |
| 7839 | .bustype = BUS_SPI, |
| 7840 | .manufacture_id = ST_ID, |
| 7841 | .model_id = ST_M25P40, |
| 7842 | .total_size = 512, |
| 7843 | .page_size = 256, |
| 7844 | .feature_bits = FEATURE_WRSR_WREN, |
| 7845 | .tested = TEST_OK_PREW, |
| 7846 | .probe = probe_spi_rdid, |
| 7847 | .probe_timing = TIMING_ZERO, |
| 7848 | .block_erasers = |
| 7849 | { |
| 7850 | { |
| 7851 | .eraseblocks = { {64 * 1024, 8} }, |
| 7852 | .block_erase = spi_block_erase_d8, |
| 7853 | }, { |
| 7854 | .eraseblocks = { {512 * 1024, 1} }, |
| 7855 | .block_erase = spi_block_erase_c7, |
| 7856 | } |
| 7857 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7858 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7859 | .unlock = spi_disable_blockprotect, |
| 7860 | .write = spi_chip_write_256, |
| 7861 | .read = spi_chip_read, |
| 7862 | .voltage = {2700, 3600}, |
| 7863 | }, |
| 7864 | |
| 7865 | { |
| 7866 | .vendor = "Micron/Numonyx/ST", |
| 7867 | .name = "M25P40-old", |
| 7868 | .bustype = BUS_SPI, |
| 7869 | .manufacture_id = 0, /* Not used. */ |
| 7870 | .model_id = ST_M25P40_RES, |
| 7871 | .total_size = 512, |
| 7872 | .page_size = 256, |
| 7873 | .feature_bits = FEATURE_WRSR_WREN, |
| 7874 | .tested = TEST_UNTESTED, |
| 7875 | .probe = probe_spi_res1, |
| 7876 | .probe_timing = TIMING_ZERO, |
| 7877 | .block_erasers = |
| 7878 | { |
| 7879 | { |
| 7880 | .eraseblocks = { {64 * 1024, 8} }, |
| 7881 | .block_erase = spi_block_erase_d8, |
| 7882 | }, { |
| 7883 | .eraseblocks = { {512 * 1024, 1} }, |
| 7884 | .block_erase = spi_block_erase_c7, |
| 7885 | } |
| 7886 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7887 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7888 | .unlock = spi_disable_blockprotect, |
| 7889 | .write = spi_chip_write_256, |
| 7890 | .read = spi_chip_read, |
| 7891 | }, |
| 7892 | |
| 7893 | { |
| 7894 | .vendor = "Micron/Numonyx/ST", |
| 7895 | .name = "M25P80", |
| 7896 | .bustype = BUS_SPI, |
| 7897 | .manufacture_id = ST_ID, |
| 7898 | .model_id = ST_M25P80, |
| 7899 | .total_size = 1024, |
| 7900 | .page_size = 256, |
| 7901 | .feature_bits = FEATURE_WRSR_WREN, |
| 7902 | .tested = TEST_OK_PREW, |
| 7903 | .probe = probe_spi_rdid, |
| 7904 | .probe_timing = TIMING_ZERO, |
| 7905 | .block_erasers = |
| 7906 | { |
| 7907 | { |
| 7908 | .eraseblocks = { {64 * 1024, 16} }, |
| 7909 | .block_erase = spi_block_erase_d8, |
| 7910 | }, { |
| 7911 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7912 | .block_erase = spi_block_erase_c7, |
| 7913 | } |
| 7914 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7915 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7916 | .unlock = spi_disable_blockprotect, |
| 7917 | .write = spi_chip_write_256, |
| 7918 | .read = spi_chip_read, |
| 7919 | .voltage = {2700, 3600}, |
| 7920 | }, |
| 7921 | |
| 7922 | { |
| 7923 | .vendor = "Micron/Numonyx/ST", |
| 7924 | .name = "M25P16", |
| 7925 | .bustype = BUS_SPI, |
| 7926 | .manufacture_id = ST_ID, |
| 7927 | .model_id = ST_M25P16, |
| 7928 | .total_size = 2048, |
| 7929 | .page_size = 256, |
| 7930 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 7931 | .tested = TEST_OK_PREW, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7932 | .probe = probe_spi_rdid, |
| 7933 | .probe_timing = TIMING_ZERO, |
| 7934 | .block_erasers = |
| 7935 | { |
| 7936 | { |
| 7937 | .eraseblocks = { {64 * 1024, 32} }, |
| 7938 | .block_erase = spi_block_erase_d8, |
| 7939 | }, { |
| 7940 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7941 | .block_erase = spi_block_erase_c7, |
| 7942 | } |
| 7943 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7944 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7945 | .unlock = spi_disable_blockprotect, |
| 7946 | .write = spi_chip_write_256, |
| 7947 | .read = spi_chip_read, |
| 7948 | .voltage = {2700, 3600}, |
| 7949 | }, |
| 7950 | |
| 7951 | { |
| 7952 | .vendor = "Micron/Numonyx/ST", |
| 7953 | .name = "M25P32", |
| 7954 | .bustype = BUS_SPI, |
| 7955 | .manufacture_id = ST_ID, |
| 7956 | .model_id = ST_M25P32, |
| 7957 | .total_size = 4096, |
| 7958 | .page_size = 256, |
| 7959 | .feature_bits = FEATURE_WRSR_WREN, |
| 7960 | .tested = TEST_OK_PREW, |
| 7961 | .probe = probe_spi_rdid, |
| 7962 | .probe_timing = TIMING_ZERO, |
| 7963 | .block_erasers = |
| 7964 | { |
| 7965 | { |
| 7966 | .eraseblocks = { {64 * 1024, 64} }, |
| 7967 | .block_erase = spi_block_erase_d8, |
| 7968 | }, { |
| 7969 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7970 | .block_erase = spi_block_erase_c7, |
| 7971 | } |
| 7972 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 7973 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 7974 | .unlock = spi_disable_blockprotect, |
| 7975 | .write = spi_chip_write_256, |
| 7976 | .read = spi_chip_read, |
| 7977 | .voltage = {2700, 3600}, |
| 7978 | }, |
| 7979 | |
| 7980 | { |
| 7981 | .vendor = "Micron/Numonyx/ST", |
| 7982 | .name = "M25P64", |
| 7983 | .bustype = BUS_SPI, |
| 7984 | .manufacture_id = ST_ID, |
| 7985 | .model_id = ST_M25P64, |
| 7986 | .total_size = 8192, |
| 7987 | .page_size = 256, |
| 7988 | .feature_bits = FEATURE_WRSR_WREN, |
| 7989 | .tested = TEST_OK_PREW, |
| 7990 | .probe = probe_spi_rdid, |
| 7991 | .probe_timing = TIMING_ZERO, |
| 7992 | .block_erasers = |
| 7993 | { |
| 7994 | { |
| 7995 | .eraseblocks = { {64 * 1024, 128} }, |
| 7996 | .block_erase = spi_block_erase_d8, |
| 7997 | }, { |
| 7998 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7999 | .block_erase = spi_block_erase_c7, |
| 8000 | } |
| 8001 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8002 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8003 | .unlock = spi_disable_blockprotect, |
| 8004 | .write = spi_chip_write_256, |
| 8005 | .read = spi_chip_read, |
| 8006 | .voltage = {2700, 3600}, |
| 8007 | }, |
| 8008 | |
| 8009 | { |
| 8010 | .vendor = "Micron/Numonyx/ST", |
| 8011 | .name = "M25P128", |
| 8012 | .bustype = BUS_SPI, |
| 8013 | .manufacture_id = ST_ID, |
| 8014 | .model_id = ST_M25P128, |
| 8015 | .total_size = 16384, |
| 8016 | .page_size = 256, |
| 8017 | .feature_bits = FEATURE_WRSR_WREN, |
| 8018 | .tested = TEST_OK_PREW, |
| 8019 | .probe = probe_spi_rdid, |
| 8020 | .probe_timing = TIMING_ZERO, |
| 8021 | .block_erasers = |
| 8022 | { |
| 8023 | { |
| 8024 | .eraseblocks = { {256 * 1024, 64} }, |
| 8025 | .block_erase = spi_block_erase_d8, |
| 8026 | }, { |
| 8027 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8028 | .block_erase = spi_block_erase_c7, |
| 8029 | } |
| 8030 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8031 | .printlock = spi_prettyprint_status_register_bp3_srwd, /* TODO: check */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8032 | .unlock = spi_disable_blockprotect, |
| 8033 | .write = spi_chip_write_256, |
| 8034 | .read = spi_chip_read, |
| 8035 | .voltage = {2700, 3600}, |
| 8036 | }, |
| 8037 | |
| 8038 | { |
| 8039 | .vendor = "Micron/Numonyx/ST", |
| 8040 | .name = "M25PE10", |
| 8041 | .bustype = BUS_SPI, |
| 8042 | .manufacture_id = ST_ID, |
| 8043 | .model_id = ST_M25PE10, |
| 8044 | .total_size = 128, |
| 8045 | .page_size = 256, |
| 8046 | .feature_bits = FEATURE_WRSR_WREN, |
| 8047 | .tested = TEST_UNTESTED, |
| 8048 | .probe = probe_spi_rdid, |
| 8049 | .probe_timing = TIMING_ZERO, |
| 8050 | .block_erasers = |
| 8051 | { |
| 8052 | { |
| 8053 | .eraseblocks = { {4 * 1024, 32} }, |
| 8054 | .block_erase = spi_block_erase_20, |
| 8055 | }, { |
| 8056 | .eraseblocks = { {64 * 1024, 2} }, |
| 8057 | .block_erase = spi_block_erase_d8, |
| 8058 | }, { |
| 8059 | .eraseblocks = { {128 * 1024, 1} }, |
| 8060 | .block_erase = spi_block_erase_c7, |
| 8061 | } |
| 8062 | }, |
| 8063 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 8064 | .unlock = spi_disable_blockprotect, |
| 8065 | .write = spi_chip_write_256, |
| 8066 | .read = spi_chip_read, |
| 8067 | .voltage = {2700, 3600}, |
| 8068 | }, |
| 8069 | |
| 8070 | { |
| 8071 | .vendor = "Micron/Numonyx/ST", |
| 8072 | .name = "M25PE20", |
| 8073 | .bustype = BUS_SPI, |
| 8074 | .manufacture_id = ST_ID, |
| 8075 | .model_id = ST_M25PE20, |
| 8076 | .total_size = 256, |
| 8077 | .page_size = 256, |
| 8078 | .feature_bits = FEATURE_WRSR_WREN, |
| 8079 | .tested = TEST_UNTESTED, |
| 8080 | .probe = probe_spi_rdid, |
| 8081 | .probe_timing = TIMING_ZERO, |
| 8082 | .block_erasers = |
| 8083 | { |
| 8084 | { |
| 8085 | .eraseblocks = { {4 * 1024, 64} }, |
| 8086 | .block_erase = spi_block_erase_20, |
| 8087 | }, { |
| 8088 | .eraseblocks = { {64 * 1024, 4} }, |
| 8089 | .block_erase = spi_block_erase_d8, |
| 8090 | }, { |
| 8091 | .eraseblocks = { {256 * 1024, 1} }, |
| 8092 | .block_erase = spi_block_erase_c7, |
| 8093 | } |
| 8094 | }, |
| 8095 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 8096 | .unlock = spi_disable_blockprotect, |
| 8097 | .write = spi_chip_write_256, |
| 8098 | .read = spi_chip_read, |
| 8099 | .voltage = {2700, 3600}, |
| 8100 | }, |
| 8101 | |
| 8102 | { |
| 8103 | .vendor = "Micron/Numonyx/ST", |
| 8104 | .name = "M25PE40", |
| 8105 | .bustype = BUS_SPI, |
| 8106 | .manufacture_id = ST_ID, |
| 8107 | .model_id = ST_M25PE40, |
| 8108 | .total_size = 512, |
| 8109 | .page_size = 256, |
| 8110 | .feature_bits = FEATURE_WRSR_WREN, |
| 8111 | .tested = TEST_UNTESTED, |
| 8112 | .probe = probe_spi_rdid, |
| 8113 | .probe_timing = TIMING_ZERO, |
| 8114 | .block_erasers = |
| 8115 | { |
| 8116 | { |
| 8117 | .eraseblocks = { {4 * 1024, 128} }, |
| 8118 | .block_erase = spi_block_erase_20, |
| 8119 | }, { |
| 8120 | .eraseblocks = { {64 * 1024, 8} }, |
| 8121 | .block_erase = spi_block_erase_d8, |
| 8122 | }, { |
| 8123 | .eraseblocks = { {512 * 1024, 1} }, |
| 8124 | .block_erase = spi_block_erase_c7, |
| 8125 | } |
| 8126 | }, |
| 8127 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 8128 | .unlock = spi_disable_blockprotect, |
| 8129 | .write = spi_chip_write_256, |
| 8130 | .read = spi_chip_read, |
| 8131 | .voltage = {2700, 3600}, |
| 8132 | }, |
| 8133 | |
| 8134 | { |
| 8135 | .vendor = "Micron/Numonyx/ST", |
| 8136 | .name = "M25PE80", |
| 8137 | .bustype = BUS_SPI, |
| 8138 | .manufacture_id = ST_ID, |
| 8139 | .model_id = ST_M25PE80, |
| 8140 | .total_size = 1024, |
| 8141 | .page_size = 256, |
| 8142 | .feature_bits = FEATURE_WRSR_WREN, |
| 8143 | .tested = TEST_OK_PREW, |
| 8144 | .probe = probe_spi_rdid, |
| 8145 | .probe_timing = TIMING_ZERO, |
| 8146 | .block_erasers = |
| 8147 | { |
| 8148 | { |
| 8149 | .eraseblocks = { {4 * 1024, 256} }, |
| 8150 | .block_erase = spi_block_erase_20, |
| 8151 | }, { |
| 8152 | .eraseblocks = { {64 * 1024, 16} }, |
| 8153 | .block_erase = spi_block_erase_d8, |
| 8154 | }, { |
| 8155 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8156 | .block_erase = spi_block_erase_c7, |
| 8157 | } |
| 8158 | }, |
| 8159 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 8160 | .unlock = spi_disable_blockprotect, |
| 8161 | .write = spi_chip_write_256, |
| 8162 | .read = spi_chip_read, |
| 8163 | .voltage = {2700, 3600}, |
| 8164 | }, |
| 8165 | |
| 8166 | { |
| 8167 | .vendor = "Micron/Numonyx/ST", |
| 8168 | .name = "M25PE16", |
| 8169 | .bustype = BUS_SPI, |
| 8170 | .manufacture_id = ST_ID, |
| 8171 | .model_id = ST_M25PE16, |
| 8172 | .total_size = 2048, |
| 8173 | .page_size = 256, |
| 8174 | .feature_bits = FEATURE_WRSR_WREN, |
| 8175 | .tested = TEST_UNTESTED, |
| 8176 | .probe = probe_spi_rdid, |
| 8177 | .probe_timing = TIMING_ZERO, |
| 8178 | .block_erasers = |
| 8179 | { |
| 8180 | { |
| 8181 | .eraseblocks = { {4 * 1024, 512} }, |
| 8182 | .block_erase = spi_block_erase_20, |
| 8183 | }, { |
| 8184 | .eraseblocks = { {64 * 1024, 32} }, |
| 8185 | .block_erase = spi_block_erase_d8, |
| 8186 | }, { |
| 8187 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8188 | .block_erase = spi_block_erase_c7, |
| 8189 | } |
| 8190 | }, |
| 8191 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 8192 | .unlock = spi_disable_blockprotect, |
| 8193 | .write = spi_chip_write_256, |
| 8194 | .read = spi_chip_read, |
| 8195 | .voltage = {2700, 3600}, |
| 8196 | }, |
| 8197 | |
| 8198 | { |
| 8199 | .vendor = "Micron/Numonyx/ST", |
| 8200 | .name = "M25PX80", |
| 8201 | .bustype = BUS_SPI, |
| 8202 | .manufacture_id = ST_ID, |
| 8203 | .model_id = ST_M25PX80, |
| 8204 | .total_size = 1024, |
| 8205 | .page_size = 256, |
| 8206 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8207 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8208 | .tested = TEST_OK_PREW, |
| 8209 | .probe = probe_spi_rdid, |
| 8210 | .probe_timing = TIMING_ZERO, |
| 8211 | .block_erasers = { |
| 8212 | { |
| 8213 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 8214 | .block_erase = spi_block_erase_20, |
| 8215 | }, { |
| 8216 | .eraseblocks = { {64 * 1024, 16} }, |
| 8217 | .block_erase = spi_block_erase_d8, |
| 8218 | }, { |
| 8219 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8220 | .block_erase = spi_block_erase_c7, |
| 8221 | } |
| 8222 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8223 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit5: T/B */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8224 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: per 64kB sector lock registers */ |
| 8225 | .write = spi_chip_write_256, |
| 8226 | .read = spi_chip_read, |
| 8227 | .voltage = {2700, 3600}, |
| 8228 | }, |
| 8229 | |
| 8230 | { |
| 8231 | .vendor = "Micron/Numonyx/ST", |
| 8232 | .name = "M25PX16", |
| 8233 | .bustype = BUS_SPI, |
| 8234 | .manufacture_id = ST_ID, |
| 8235 | .model_id = ST_M25PX16, |
| 8236 | .total_size = 2048, |
| 8237 | .page_size = 256, |
| 8238 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
| 8239 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8240 | .tested = TEST_OK_PREW, |
| 8241 | .probe = probe_spi_rdid, |
| 8242 | .probe_timing = TIMING_ZERO, |
| 8243 | .block_erasers = |
| 8244 | { |
| 8245 | { |
| 8246 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 8247 | .block_erase = spi_block_erase_20, |
| 8248 | }, { |
| 8249 | .eraseblocks = { {64 * 1024, 32} }, |
| 8250 | .block_erase = spi_block_erase_d8, |
| 8251 | }, { |
| 8252 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8253 | .block_erase = spi_block_erase_c7, |
| 8254 | } |
| 8255 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8256 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit5: T/B */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8257 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: per 64kB sector lock registers */ |
| 8258 | .write = spi_chip_write_256, |
| 8259 | .read = spi_chip_read, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 8260 | .voltage = {2300, 3600}, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8261 | }, |
| 8262 | |
| 8263 | { |
| 8264 | .vendor = "Micron/Numonyx/ST", |
| 8265 | .name = "M25PX32", |
| 8266 | .bustype = BUS_SPI, |
| 8267 | .manufacture_id = ST_ID, |
| 8268 | .model_id = ST_M25PX32, |
| 8269 | .total_size = 4096, |
| 8270 | .page_size = 256, |
| 8271 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
| 8272 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8273 | .tested = TEST_OK_PRE, |
| 8274 | .probe = probe_spi_rdid, |
| 8275 | .probe_timing = TIMING_ZERO, |
| 8276 | .block_erasers = |
| 8277 | { |
| 8278 | { |
| 8279 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 8280 | .block_erase = spi_block_erase_20, |
| 8281 | }, { |
| 8282 | .eraseblocks = { {64 * 1024, 64} }, |
| 8283 | .block_erase = spi_block_erase_d8, |
| 8284 | }, { |
| 8285 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8286 | .block_erase = spi_block_erase_c7, |
| 8287 | } |
| 8288 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8289 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit5: T/B */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8290 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: per 64kB sector lock registers */ |
| 8291 | .write = spi_chip_write_256, |
| 8292 | .read = spi_chip_read, |
| 8293 | .voltage = {2700, 3600}, |
| 8294 | }, |
| 8295 | |
| 8296 | { |
| 8297 | .vendor = "Micron/Numonyx/ST", |
| 8298 | .name = "M25PX64", |
| 8299 | .bustype = BUS_SPI, |
| 8300 | .manufacture_id = ST_ID, |
| 8301 | .model_id = ST_M25PX64, |
| 8302 | .total_size = 8192, |
| 8303 | .page_size = 256, |
| 8304 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
| 8305 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 8306 | .tested = TEST_OK_PREW, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8307 | .probe = probe_spi_rdid, |
| 8308 | .probe_timing = TIMING_ZERO, |
| 8309 | .block_erasers = |
| 8310 | { |
| 8311 | { |
| 8312 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 8313 | .block_erase = spi_block_erase_20, |
| 8314 | }, { |
| 8315 | .eraseblocks = { {64 * 1024, 128} }, |
| 8316 | .block_erase = spi_block_erase_d8, |
| 8317 | }, { |
| 8318 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8319 | .block_erase = spi_block_erase_c7, |
| 8320 | } |
| 8321 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8322 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit5: T/B */ |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8323 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: per 64kB sector lock registers */ |
| 8324 | .write = spi_chip_write_256, |
| 8325 | .read = spi_chip_read, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 8326 | .voltage = {2700, 3600}, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8327 | }, |
| 8328 | |
| 8329 | { |
| 8330 | .vendor = "Micron/Numonyx/ST", |
| 8331 | .name = "M45PE10", |
| 8332 | .bustype = BUS_SPI, |
| 8333 | .manufacture_id = ST_ID, |
| 8334 | .model_id = ST_M45PE10, |
| 8335 | .total_size = 128, |
| 8336 | .page_size = 256, |
| 8337 | .tested = TEST_UNTESTED, |
| 8338 | .probe = probe_spi_rdid, |
| 8339 | .probe_timing = TIMING_ZERO, |
| 8340 | .block_erasers = { |
| 8341 | { |
| 8342 | .eraseblocks = { {256, 512} }, |
| 8343 | .block_erase = spi_block_erase_db, |
| 8344 | }, { |
| 8345 | .eraseblocks = { {64 * 1024, 2} }, |
| 8346 | .block_erase = spi_block_erase_d8, |
| 8347 | } |
| 8348 | }, |
| 8349 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 8350 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
| 8351 | .write = spi_chip_write_256, /* Page write (similar to PP but allows 0->1 changes) */ |
| 8352 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8353 | .voltage = {2700, 3600}, |
| 8354 | }, |
| 8355 | |
| 8356 | { |
| 8357 | .vendor = "Micron/Numonyx/ST", |
| 8358 | .name = "M45PE20", |
| 8359 | .bustype = BUS_SPI, |
| 8360 | .manufacture_id = ST_ID, |
| 8361 | .model_id = ST_M45PE20, |
| 8362 | .total_size = 256, |
| 8363 | .page_size = 256, |
| 8364 | .tested = TEST_UNTESTED, |
| 8365 | .probe = probe_spi_rdid, |
| 8366 | .probe_timing = TIMING_ZERO, |
| 8367 | .block_erasers = { |
| 8368 | { |
| 8369 | .eraseblocks = { {256, 1024} }, |
| 8370 | .block_erase = spi_block_erase_db, |
| 8371 | }, { |
| 8372 | .eraseblocks = { {64 * 1024, 4} }, |
| 8373 | .block_erase = spi_block_erase_d8, |
| 8374 | } |
| 8375 | }, |
| 8376 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 8377 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
| 8378 | .write = spi_chip_write_256, /* Page write (similar to PP but allows 0->1 changes) */ |
| 8379 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8380 | .voltage = {2700, 3600}, |
| 8381 | }, |
| 8382 | |
| 8383 | { |
| 8384 | .vendor = "Micron/Numonyx/ST", |
| 8385 | .name = "M45PE40", |
| 8386 | .bustype = BUS_SPI, |
| 8387 | .manufacture_id = ST_ID, |
| 8388 | .model_id = ST_M45PE40, |
| 8389 | .total_size = 512, |
| 8390 | .page_size = 256, |
| 8391 | .tested = TEST_UNTESTED, |
| 8392 | .probe = probe_spi_rdid, |
| 8393 | .probe_timing = TIMING_ZERO, |
| 8394 | .block_erasers = { |
| 8395 | { |
| 8396 | .eraseblocks = { {256, 2048} }, |
| 8397 | .block_erase = spi_block_erase_db, |
| 8398 | }, { |
| 8399 | .eraseblocks = { {64 * 1024, 8} }, |
| 8400 | .block_erase = spi_block_erase_d8, |
| 8401 | } |
| 8402 | }, |
| 8403 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 8404 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
| 8405 | .write = spi_chip_write_256, /* Page write (similar to PP but allows 0->1 changes) */ |
| 8406 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8407 | .voltage = {2700, 3600}, |
| 8408 | }, |
| 8409 | |
| 8410 | { |
| 8411 | .vendor = "Micron/Numonyx/ST", |
| 8412 | .name = "M45PE80", |
| 8413 | .bustype = BUS_SPI, |
| 8414 | .manufacture_id = ST_ID, |
| 8415 | .model_id = ST_M45PE80, |
| 8416 | .total_size = 1024, |
| 8417 | .page_size = 256, |
| 8418 | .tested = TEST_UNTESTED, |
| 8419 | .probe = probe_spi_rdid, |
| 8420 | .probe_timing = TIMING_ZERO, |
| 8421 | .block_erasers = { |
| 8422 | { |
| 8423 | .eraseblocks = { {256, 4096} }, |
| 8424 | .block_erase = spi_block_erase_db, |
| 8425 | }, { |
| 8426 | .eraseblocks = { {64 * 1024, 16} }, |
| 8427 | .block_erase = spi_block_erase_d8, |
| 8428 | } |
| 8429 | }, |
| 8430 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 8431 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
| 8432 | .write = spi_chip_write_256, /* Page write (similar to PP but allows 0->1 changes) */ |
| 8433 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8434 | .voltage = {2700, 3600}, |
| 8435 | }, |
| 8436 | |
| 8437 | { |
| 8438 | .vendor = "Micron/Numonyx/ST", |
| 8439 | .name = "M45PE16", |
| 8440 | .bustype = BUS_SPI, |
| 8441 | .manufacture_id = ST_ID, |
| 8442 | .model_id = ST_M45PE16, |
| 8443 | .total_size = 2048, |
| 8444 | .page_size = 256, |
| 8445 | .tested = TEST_UNTESTED, |
| 8446 | .probe = probe_spi_rdid, |
| 8447 | .probe_timing = TIMING_ZERO, |
| 8448 | .block_erasers = { |
| 8449 | { |
| 8450 | .eraseblocks = { {256, 8192} }, |
| 8451 | .block_erase = spi_block_erase_db, |
| 8452 | }, { |
| 8453 | .eraseblocks = { {64 * 1024, 32} }, |
| 8454 | .block_erase = spi_block_erase_d8, |
| 8455 | } |
| 8456 | }, |
| 8457 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 8458 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
| 8459 | .write = spi_chip_write_256, /* Page write (similar to PP but allows 0->1 changes) */ |
| 8460 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8461 | .voltage = {2700, 3600}, |
| 8462 | }, |
| 8463 | |
| 8464 | { |
| 8465 | .vendor = "Micron/Numonyx/ST", |
| 8466 | .name = "N25Q016", |
| 8467 | .bustype = BUS_SPI, |
| 8468 | .manufacture_id = ST_ID, |
| 8469 | .model_id = ST_N25Q016__1E, |
| 8470 | .total_size = 2048, |
| 8471 | .page_size = 256, |
| 8472 | /* supports SFDP */ |
| 8473 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8474 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8475 | .tested = TEST_UNTESTED, |
| 8476 | .probe = probe_spi_rdid, |
| 8477 | .probe_timing = TIMING_ZERO, |
| 8478 | .block_erasers = |
| 8479 | { |
| 8480 | { |
| 8481 | .eraseblocks = { {4 * 1024, 512} }, |
| 8482 | .block_erase = spi_block_erase_20, |
| 8483 | }, { |
| 8484 | .eraseblocks = { {32 * 1024, 64} }, |
| 8485 | .block_erase = spi_block_erase_52, |
| 8486 | }, { |
| 8487 | .eraseblocks = { {64 * 1024, 32} }, |
| 8488 | .block_erase = spi_block_erase_d8, |
| 8489 | }, { |
| 8490 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8491 | .block_erase = spi_block_erase_c7, |
| 8492 | } |
| 8493 | }, |
| 8494 | .printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */ |
| 8495 | .unlock = spi_disable_blockprotect_n25q, /* TODO: per 64kB sector lock registers */ |
| 8496 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 8497 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 8498 | .voltage = {1700, 2000}, |
| 8499 | }, |
| 8500 | |
| 8501 | { |
| 8502 | .vendor = "Micron/Numonyx/ST", |
| 8503 | .name = "N25Q032..1E", |
| 8504 | .bustype = BUS_SPI, |
| 8505 | .manufacture_id = ST_ID, |
| 8506 | .model_id = ST_N25Q032__1E, |
| 8507 | .total_size = 4096, |
| 8508 | .page_size = 256, |
| 8509 | /* supports SFDP */ |
| 8510 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8511 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8512 | .tested = TEST_UNTESTED, |
| 8513 | .probe = probe_spi_rdid, |
| 8514 | .probe_timing = TIMING_ZERO, |
| 8515 | .block_erasers = |
| 8516 | { |
| 8517 | { |
| 8518 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8519 | .block_erase = spi_block_erase_20, |
| 8520 | }, { |
| 8521 | .eraseblocks = { {64 * 1024, 64} }, |
| 8522 | .block_erase = spi_block_erase_d8, |
| 8523 | }, { |
| 8524 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8525 | .block_erase = spi_block_erase_c7, |
| 8526 | } |
| 8527 | }, |
| 8528 | .printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */ |
| 8529 | .unlock = spi_disable_blockprotect_n25q, /* TODO: per 64kB sector lock registers */ |
| 8530 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 8531 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 8532 | .voltage = {1700, 2000}, |
| 8533 | }, |
| 8534 | |
| 8535 | { |
| 8536 | .vendor = "Micron/Numonyx/ST", |
| 8537 | .name = "N25Q032..3E", |
| 8538 | .bustype = BUS_SPI, |
| 8539 | .manufacture_id = ST_ID, |
| 8540 | .model_id = ST_N25Q032__3E, |
| 8541 | .total_size = 4096, |
| 8542 | .page_size = 256, |
| 8543 | /* supports SFDP */ |
| 8544 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8545 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8546 | .tested = TEST_OK_PREW, |
| 8547 | .probe = probe_spi_rdid, |
| 8548 | .probe_timing = TIMING_ZERO, |
| 8549 | .block_erasers = |
| 8550 | { |
| 8551 | { |
| 8552 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8553 | .block_erase = spi_block_erase_20, |
| 8554 | }, { |
| 8555 | .eraseblocks = { {64 * 1024, 64} }, |
| 8556 | .block_erase = spi_block_erase_d8, |
| 8557 | }, { |
| 8558 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8559 | .block_erase = spi_block_erase_c7, |
| 8560 | } |
| 8561 | }, |
| 8562 | .printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */ |
| 8563 | .unlock = spi_disable_blockprotect_n25q, /* TODO: per 64kB sector lock registers */ |
| 8564 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 8565 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 8566 | .voltage = {2700, 3600}, |
| 8567 | }, |
| 8568 | |
| 8569 | { |
| 8570 | .vendor = "Micron/Numonyx/ST", |
| 8571 | .name = "N25Q064..1E", /* ..1E = 1.8V, uniform 64KB/4KB blocks/sectors */ |
| 8572 | .bustype = BUS_SPI, |
| 8573 | .manufacture_id = ST_ID, |
| 8574 | .model_id = ST_N25Q064__1E, |
| 8575 | .total_size = 8192, |
| 8576 | .page_size = 256, |
| 8577 | /* supports SFDP */ |
| 8578 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8579 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 8580 | .tested = TEST_OK_PREW, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 8581 | .probe = probe_spi_rdid, |
| 8582 | .probe_timing = TIMING_ZERO, |
| 8583 | .block_erasers = |
| 8584 | { |
| 8585 | { |
| 8586 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 8587 | .block_erase = spi_block_erase_20, |
| 8588 | }, { |
| 8589 | .eraseblocks = { {64 * 1024, 128} }, |
| 8590 | .block_erase = spi_block_erase_d8, |
| 8591 | }, { |
| 8592 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8593 | .block_erase = spi_block_erase_c7, |
| 8594 | } |
| 8595 | }, |
| 8596 | .printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */ |
| 8597 | .unlock = spi_disable_blockprotect_n25q, /* TODO: per 64kB sector lock registers */ |
| 8598 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 8599 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 8600 | .voltage = {1700, 2000}, |
| 8601 | }, |
| 8602 | |
| 8603 | { |
| 8604 | .vendor = "Micron/Numonyx/ST", |
| 8605 | .name = "N25Q064..3E", /* ..3E = 3V, uniform 64KB/4KB blocks/sectors */ |
| 8606 | .bustype = BUS_SPI, |
| 8607 | .manufacture_id = ST_ID, |
| 8608 | .model_id = ST_N25Q064__3E, |
| 8609 | .total_size = 8192, |
| 8610 | .page_size = 256, |
| 8611 | /* supports SFDP */ |
| 8612 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8613 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8614 | .tested = TEST_OK_PREW, |
| 8615 | .probe = probe_spi_rdid, |
| 8616 | .probe_timing = TIMING_ZERO, |
| 8617 | .block_erasers = |
| 8618 | { |
| 8619 | { |
| 8620 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 8621 | .block_erase = spi_block_erase_20, |
| 8622 | }, { |
| 8623 | .eraseblocks = { {64 * 1024, 128} }, |
| 8624 | .block_erase = spi_block_erase_d8, |
| 8625 | }, { |
| 8626 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8627 | .block_erase = spi_block_erase_c7, |
| 8628 | } |
| 8629 | }, |
| 8630 | .printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */ |
| 8631 | .unlock = spi_disable_blockprotect_n25q, /* TODO: per 64kB sector lock registers */ |
| 8632 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 8633 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 8634 | .voltage = {2700, 3600}, |
| 8635 | }, |
| 8636 | |
| 8637 | { |
| 8638 | .vendor = "Micron/Numonyx/ST", |
| 8639 | .name = "N25Q128..1E", /* ..1E = 1.8V, uniform 64KB/4KB blocks/sectors */ |
| 8640 | .bustype = BUS_SPI, |
| 8641 | .manufacture_id = ST_ID, |
| 8642 | .model_id = ST_N25Q128__1E, |
| 8643 | .total_size = 16384, |
| 8644 | .page_size = 256, |
| 8645 | /* supports SFDP */ |
| 8646 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8647 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8648 | .tested = TEST_UNTESTED, |
| 8649 | .probe = probe_spi_rdid, |
| 8650 | .probe_timing = TIMING_ZERO, |
| 8651 | .block_erasers = { |
| 8652 | { |
| 8653 | .eraseblocks = { {4 * 1024, 4096 } }, |
| 8654 | .block_erase = spi_block_erase_20, |
| 8655 | }, { |
| 8656 | .eraseblocks = { {64 * 1024, 256} }, |
| 8657 | .block_erase = spi_block_erase_d8, |
| 8658 | }, { |
| 8659 | .eraseblocks = { {16384 * 1024, 1} }, |
| 8660 | .block_erase = spi_block_erase_c7, |
| 8661 | } |
| 8662 | }, |
| 8663 | .printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */ |
| 8664 | .unlock = spi_disable_blockprotect_n25q, /* TODO: per 64kB sector lock registers */ |
| 8665 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 8666 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 8667 | .voltage = {1700, 2000}, |
| 8668 | }, |
| 8669 | |
| 8670 | { |
| 8671 | .vendor = "Micron/Numonyx/ST", |
| 8672 | .name = "N25Q128..3E", /* ..3E = 3V, uniform 64KB/4KB blocks/sectors */ |
| 8673 | .bustype = BUS_SPI, |
| 8674 | .manufacture_id = ST_ID, |
| 8675 | .model_id = ST_N25Q128__3E, |
| 8676 | .total_size = 16384, |
| 8677 | .page_size = 256, |
| 8678 | /* supports SFDP */ |
| 8679 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 8680 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 8681 | .tested = TEST_OK_PREW, |
| 8682 | .probe = probe_spi_rdid, |
| 8683 | .probe_timing = TIMING_ZERO, |
| 8684 | .block_erasers = { |
| 8685 | { |
| 8686 | .eraseblocks = { {4 * 1024, 4096 } }, |
| 8687 | .block_erase = spi_block_erase_20, |
| 8688 | }, { |
| 8689 | .eraseblocks = { {64 * 1024, 256} }, |
| 8690 | .block_erase = spi_block_erase_d8, |
| 8691 | }, { |
| 8692 | .eraseblocks = { {16384 * 1024, 1} }, |
| 8693 | .block_erase = spi_block_erase_c7, |
| 8694 | } |
| 8695 | }, |
| 8696 | .printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */ |
| 8697 | .unlock = spi_disable_blockprotect_n25q, /* TODO: per 64kB sector lock registers */ |
| 8698 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 8699 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 8700 | .voltage = {2700, 3600}, |
| 8701 | }, |
| 8702 | |
| 8703 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8704 | .vendor = "MoselVitelic", |
| 8705 | .name = "V29C51000B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8706 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8707 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8708 | .model_id = MVC_V29C51000B, |
| 8709 | .total_size = 64, |
| 8710 | .page_size = 512, |
| 8711 | .feature_bits = FEATURE_EITHER_RESET, |
| 8712 | .tested = TEST_UNTESTED, |
| 8713 | .probe = probe_jedec, |
| 8714 | .probe_timing = TIMING_ZERO, |
| 8715 | .block_erasers = |
| 8716 | { |
| 8717 | { |
| 8718 | .eraseblocks = { {512, 128} }, |
| 8719 | .block_erase = erase_sector_jedec, |
| 8720 | }, { |
| 8721 | .eraseblocks = { {64 * 1024, 1} }, |
| 8722 | .block_erase = erase_chip_block_jedec, |
| 8723 | }, |
| 8724 | }, |
| 8725 | .write = write_jedec_1, |
| 8726 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8727 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8728 | }, |
| 8729 | |
| 8730 | { |
| 8731 | .vendor = "MoselVitelic", |
| 8732 | .name = "V29C51000T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8733 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8734 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8735 | .model_id = MVC_V29C51000T, |
| 8736 | .total_size = 64, |
| 8737 | .page_size = 512, |
| 8738 | .feature_bits = FEATURE_EITHER_RESET, |
| 8739 | .tested = TEST_UNTESTED, |
| 8740 | .probe = probe_jedec, |
| 8741 | .probe_timing = TIMING_ZERO, |
| 8742 | .block_erasers = |
| 8743 | { |
| 8744 | { |
| 8745 | .eraseblocks = { {512, 128} }, |
| 8746 | .block_erase = erase_sector_jedec, |
| 8747 | }, { |
| 8748 | .eraseblocks = { {64 * 1024, 1} }, |
| 8749 | .block_erase = erase_chip_block_jedec, |
| 8750 | }, |
| 8751 | }, |
| 8752 | .write = write_jedec_1, |
| 8753 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8754 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8755 | }, |
| 8756 | |
| 8757 | { |
| 8758 | .vendor = "MoselVitelic", |
| 8759 | .name = "V29C51400B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8760 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8761 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8762 | .model_id = MVC_V29C51400B, |
| 8763 | .total_size = 512, |
| 8764 | .page_size = 1024, |
| 8765 | .feature_bits = FEATURE_EITHER_RESET, |
| 8766 | .tested = TEST_UNTESTED, |
| 8767 | .probe = probe_jedec, |
| 8768 | .probe_timing = TIMING_ZERO, |
| 8769 | .block_erasers = |
| 8770 | { |
| 8771 | { |
| 8772 | .eraseblocks = { {1024, 512} }, |
| 8773 | .block_erase = erase_sector_jedec, |
| 8774 | }, { |
| 8775 | .eraseblocks = { {512 * 1024, 1} }, |
| 8776 | .block_erase = erase_chip_block_jedec, |
| 8777 | }, |
| 8778 | }, |
| 8779 | .write = write_jedec_1, |
| 8780 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8781 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8782 | }, |
| 8783 | |
| 8784 | { |
| 8785 | .vendor = "MoselVitelic", |
| 8786 | .name = "V29C51400T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8787 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8788 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8789 | .model_id = MVC_V29C51400T, |
| 8790 | .total_size = 512, |
| 8791 | .page_size = 1024, |
| 8792 | .feature_bits = FEATURE_EITHER_RESET, |
| 8793 | .tested = TEST_UNTESTED, |
| 8794 | .probe = probe_jedec, |
| 8795 | .probe_timing = TIMING_ZERO, |
| 8796 | .block_erasers = |
| 8797 | { |
| 8798 | { |
| 8799 | .eraseblocks = { {1024, 512} }, |
| 8800 | .block_erase = erase_sector_jedec, |
| 8801 | }, { |
| 8802 | .eraseblocks = { {512 * 1024, 1} }, |
| 8803 | .block_erase = erase_chip_block_jedec, |
| 8804 | }, |
| 8805 | }, |
| 8806 | .write = write_jedec_1, |
| 8807 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8808 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8809 | }, |
| 8810 | |
| 8811 | { |
| 8812 | .vendor = "MoselVitelic", |
| 8813 | .name = "V29LC51000", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8814 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8815 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8816 | .model_id = MVC_V29LC51000, |
| 8817 | .total_size = 64, |
| 8818 | .page_size = 512, |
| 8819 | .feature_bits = FEATURE_EITHER_RESET, |
| 8820 | .tested = TEST_UNTESTED, |
| 8821 | .probe = probe_jedec, |
| 8822 | .probe_timing = TIMING_ZERO, |
| 8823 | .block_erasers = |
| 8824 | { |
| 8825 | { |
| 8826 | .eraseblocks = { {512, 128} }, |
| 8827 | .block_erase = erase_sector_jedec, |
| 8828 | }, { |
| 8829 | .eraseblocks = { {64 * 1024, 1} }, |
| 8830 | .block_erase = erase_chip_block_jedec, |
| 8831 | }, |
| 8832 | }, |
| 8833 | .write = write_jedec_1, |
| 8834 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8835 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8836 | }, |
| 8837 | |
| 8838 | { |
| 8839 | .vendor = "MoselVitelic", |
| 8840 | .name = "V29LC51001", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8841 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8842 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8843 | .model_id = MVC_V29LC51001, |
| 8844 | .total_size = 128, |
| 8845 | .page_size = 512, |
| 8846 | .feature_bits = FEATURE_EITHER_RESET, |
| 8847 | .tested = TEST_UNTESTED, |
| 8848 | .probe = probe_jedec, |
| 8849 | .probe_timing = TIMING_ZERO, |
| 8850 | .block_erasers = |
| 8851 | { |
| 8852 | { |
| 8853 | .eraseblocks = { {512, 256} }, |
| 8854 | .block_erase = erase_sector_jedec, |
| 8855 | }, { |
| 8856 | .eraseblocks = { {128 * 1024, 1} }, |
| 8857 | .block_erase = erase_chip_block_jedec, |
| 8858 | }, |
| 8859 | }, |
| 8860 | .write = write_jedec_1, |
| 8861 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8862 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8863 | }, |
| 8864 | |
| 8865 | { |
| 8866 | .vendor = "MoselVitelic", |
| 8867 | .name = "V29LC51002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8868 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8869 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8870 | .model_id = MVC_V29LC51002, |
| 8871 | .total_size = 256, |
| 8872 | .page_size = 512, |
| 8873 | .feature_bits = FEATURE_EITHER_RESET, |
| 8874 | .tested = TEST_UNTESTED, |
| 8875 | .probe = probe_jedec, |
| 8876 | .probe_timing = TIMING_ZERO, |
| 8877 | .block_erasers = |
| 8878 | { |
| 8879 | { |
| 8880 | .eraseblocks = { {512, 512} }, |
| 8881 | .block_erase = erase_sector_jedec, |
| 8882 | }, { |
| 8883 | .eraseblocks = { {256 * 1024, 1} }, |
| 8884 | .block_erase = erase_chip_block_jedec, |
| 8885 | }, |
| 8886 | }, |
| 8887 | .write = write_jedec_1, |
| 8888 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8889 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8890 | }, |
| 8891 | |
| 8892 | { |
Stefan Tauner | b6b00e9 | 2013-06-28 21:28:43 +0000 | [diff] [blame] | 8893 | .vendor = "Nantronics", |
| 8894 | .name = "N25S10", |
| 8895 | .bustype = BUS_SPI, |
| 8896 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 8897 | .model_id = NANTRONICS_N25S10, |
| 8898 | .total_size = 128, |
| 8899 | .page_size = 256, |
| 8900 | .feature_bits = FEATURE_WRSR_WREN, |
| 8901 | .tested = TEST_UNTESTED, |
| 8902 | .probe = probe_spi_rdid, |
| 8903 | .probe_timing = TIMING_ZERO, |
| 8904 | .block_erasers = |
| 8905 | { |
| 8906 | { |
| 8907 | .eraseblocks = { {4 * 1024, 32} }, |
| 8908 | .block_erase = spi_block_erase_20, |
| 8909 | }, { |
| 8910 | .eraseblocks = { {4 * 1024, 32} }, |
| 8911 | .block_erase = spi_block_erase_d7, |
| 8912 | }, { |
| 8913 | .eraseblocks = { {32 * 1024, 4} }, |
| 8914 | .block_erase = spi_block_erase_52, |
| 8915 | }, { |
| 8916 | .eraseblocks = { {64 * 1024, 2} }, |
| 8917 | .block_erase = spi_block_erase_d8, |
| 8918 | }, { |
| 8919 | .eraseblocks = { {128 * 1024, 1} }, |
| 8920 | .block_erase = spi_block_erase_60, |
| 8921 | }, { |
| 8922 | .eraseblocks = { {128 * 1024, 1} }, |
| 8923 | .block_erase = spi_block_erase_c7, |
| 8924 | } |
| 8925 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8926 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | b6b00e9 | 2013-06-28 21:28:43 +0000 | [diff] [blame] | 8927 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 8928 | .write = spi_chip_write_256, |
| 8929 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 8930 | .voltage = {2700, 3600}, |
| 8931 | }, |
| 8932 | |
| 8933 | { |
| 8934 | .vendor = "Nantronics", |
| 8935 | .name = "N25S20", |
| 8936 | .bustype = BUS_SPI, |
| 8937 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 8938 | .model_id = NANTRONICS_N25S20, |
| 8939 | .total_size = 256, |
| 8940 | .page_size = 256, |
| 8941 | .feature_bits = FEATURE_WRSR_WREN, |
| 8942 | .tested = TEST_UNTESTED, |
| 8943 | .probe = probe_spi_rdid, |
| 8944 | .probe_timing = TIMING_ZERO, |
| 8945 | .block_erasers = |
| 8946 | { |
| 8947 | { |
| 8948 | .eraseblocks = { {4 * 1024, 64} }, |
| 8949 | .block_erase = spi_block_erase_20, |
| 8950 | }, { |
| 8951 | .eraseblocks = { {4 * 1024, 64} }, |
| 8952 | .block_erase = spi_block_erase_d7, |
| 8953 | }, { |
| 8954 | .eraseblocks = { {32 * 1024, 8} }, |
| 8955 | .block_erase = spi_block_erase_52, |
| 8956 | }, { |
| 8957 | .eraseblocks = { {64 * 1024, 4} }, |
| 8958 | .block_erase = spi_block_erase_d8, |
| 8959 | }, { |
| 8960 | .eraseblocks = { {256 * 1024, 1} }, |
| 8961 | .block_erase = spi_block_erase_60, |
| 8962 | }, { |
| 8963 | .eraseblocks = { {256 * 1024, 1} }, |
| 8964 | .block_erase = spi_block_erase_c7, |
| 8965 | } |
| 8966 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 8967 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | b6b00e9 | 2013-06-28 21:28:43 +0000 | [diff] [blame] | 8968 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 8969 | .write = spi_chip_write_256, |
| 8970 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 8971 | .voltage = {2700, 3600}, |
| 8972 | }, |
| 8973 | |
| 8974 | { |
| 8975 | .vendor = "Nantronics", |
| 8976 | .name = "N25S40", |
| 8977 | .bustype = BUS_SPI, |
| 8978 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 8979 | .model_id = NANTRONICS_N25S40, |
| 8980 | .total_size = 512, |
| 8981 | .page_size = 256, |
| 8982 | .feature_bits = FEATURE_WRSR_WREN, |
| 8983 | .tested = TEST_UNTESTED, |
| 8984 | .probe = probe_spi_rdid, |
| 8985 | .probe_timing = TIMING_ZERO, |
| 8986 | .block_erasers = |
| 8987 | { |
| 8988 | { |
| 8989 | .eraseblocks = { {4 * 1024, 128} }, |
| 8990 | .block_erase = spi_block_erase_20, |
| 8991 | }, { |
| 8992 | .eraseblocks = { {4 * 1024, 128} }, |
| 8993 | .block_erase = spi_block_erase_d7, |
| 8994 | }, { |
| 8995 | .eraseblocks = { {32 * 1024, 16} }, |
| 8996 | .block_erase = spi_block_erase_52, |
| 8997 | }, { |
| 8998 | .eraseblocks = { {64 * 1024, 8} }, |
| 8999 | .block_erase = spi_block_erase_d8, |
| 9000 | }, { |
| 9001 | .eraseblocks = { {512 * 1024, 1} }, |
| 9002 | .block_erase = spi_block_erase_60, |
| 9003 | }, { |
| 9004 | .eraseblocks = { {512 * 1024, 1} }, |
| 9005 | .block_erase = spi_block_erase_c7, |
| 9006 | } |
| 9007 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9008 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | b6b00e9 | 2013-06-28 21:28:43 +0000 | [diff] [blame] | 9009 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 9010 | .write = spi_chip_write_256, |
| 9011 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 9012 | .voltage = {2700, 3600}, |
| 9013 | }, |
| 9014 | |
| 9015 | { |
| 9016 | .vendor = "Nantronics", |
| 9017 | .name = "N25S80", |
| 9018 | .bustype = BUS_SPI, |
| 9019 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 9020 | .model_id = NANTRONICS_N25S80, |
| 9021 | .total_size = 1024, |
| 9022 | .page_size = 256, |
| 9023 | .feature_bits = FEATURE_WRSR_WREN, |
| 9024 | .tested = TEST_UNTESTED, |
| 9025 | .probe = probe_spi_rdid, |
| 9026 | .probe_timing = TIMING_ZERO, |
| 9027 | .block_erasers = |
| 9028 | { |
| 9029 | { |
| 9030 | .eraseblocks = { {4 * 1024, 256} }, |
| 9031 | .block_erase = spi_block_erase_20, |
| 9032 | }, { |
| 9033 | .eraseblocks = { {32 * 1024, 32} }, |
| 9034 | .block_erase = spi_block_erase_52, |
| 9035 | }, { |
| 9036 | .eraseblocks = { {64 * 1024, 16} }, |
| 9037 | .block_erase = spi_block_erase_d8, |
| 9038 | }, { |
| 9039 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9040 | .block_erase = spi_block_erase_60, |
| 9041 | }, { |
| 9042 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9043 | .block_erase = spi_block_erase_c7, |
| 9044 | } |
| 9045 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9046 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | b6b00e9 | 2013-06-28 21:28:43 +0000 | [diff] [blame] | 9047 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 9048 | .write = spi_chip_write_256, |
| 9049 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 9050 | .voltage = {2700, 3600}, |
| 9051 | }, |
| 9052 | |
| 9053 | { |
| 9054 | .vendor = "Nantronics", |
| 9055 | .name = "N25S16", |
| 9056 | .bustype = BUS_SPI, |
| 9057 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 9058 | .model_id = NANTRONICS_N25S16, |
| 9059 | .total_size = 2048, |
| 9060 | .page_size = 256, |
| 9061 | .feature_bits = FEATURE_WRSR_WREN, |
| 9062 | .tested = TEST_UNTESTED, |
| 9063 | .probe = probe_spi_rdid, |
| 9064 | .probe_timing = TIMING_ZERO, |
| 9065 | .block_erasers = |
| 9066 | { |
| 9067 | { |
| 9068 | .eraseblocks = { {4 * 1024, 512} }, |
| 9069 | .block_erase = spi_block_erase_20, |
| 9070 | }, { |
| 9071 | .eraseblocks = { {64 * 1024, 32} }, |
| 9072 | .block_erase = spi_block_erase_d8, |
| 9073 | }, { |
| 9074 | .eraseblocks = { {2048 * 1024, 1} }, |
| 9075 | .block_erase = spi_block_erase_60, |
| 9076 | }, { |
| 9077 | .eraseblocks = { {2048 * 1024, 1} }, |
| 9078 | .block_erase = spi_block_erase_c7, |
| 9079 | } |
| 9080 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9081 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | b6b00e9 | 2013-06-28 21:28:43 +0000 | [diff] [blame] | 9082 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 9083 | .write = spi_chip_write_256, |
| 9084 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 9085 | .voltage = {2700, 3600}, |
| 9086 | }, |
| 9087 | |
| 9088 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9089 | .vendor = "PMC", |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 9090 | .name = "Pm25LD256C", |
| 9091 | .bustype = BUS_SPI, |
| 9092 | .manufacture_id = PMC_ID, |
| 9093 | .model_id = PMC_PM25LD256C, |
| 9094 | .total_size = 32, |
| 9095 | .page_size = 256, |
| 9096 | .feature_bits = FEATURE_WRSR_WREN, |
| 9097 | .tested = TEST_UNTESTED, |
| 9098 | .probe = probe_spi_rdid, |
| 9099 | .probe_timing = TIMING_ZERO, |
| 9100 | .block_erasers = |
| 9101 | { |
| 9102 | { |
| 9103 | .eraseblocks = { {4 * 1024, 8} }, |
| 9104 | .block_erase = spi_block_erase_20, |
| 9105 | }, { |
| 9106 | .eraseblocks = { {4 * 1024, 8} }, |
| 9107 | .block_erase = spi_block_erase_d7, |
| 9108 | }, { |
| 9109 | .eraseblocks = { {32 * 1024, 1} }, |
| 9110 | .block_erase = spi_block_erase_d8, |
| 9111 | }, { |
| 9112 | .eraseblocks = { {32 * 1024, 1} }, |
| 9113 | .block_erase = spi_block_erase_60, |
| 9114 | }, { |
| 9115 | .eraseblocks = { {32 * 1024, 1} }, |
| 9116 | .block_erase = spi_block_erase_c7, |
| 9117 | } |
| 9118 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9119 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 9120 | .unlock = spi_disable_blockprotect, |
| 9121 | .write = spi_chip_write_256, |
| 9122 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 9123 | .voltage = {2700, 3600}, |
| 9124 | }, |
| 9125 | { |
| 9126 | .vendor = "PMC", |
| 9127 | .name = "Pm25LD512(C)", |
| 9128 | .bustype = BUS_SPI, |
| 9129 | .manufacture_id = PMC_ID, |
| 9130 | .model_id = PMC_PM25LD512, |
| 9131 | .total_size = 64, |
| 9132 | .page_size = 256, |
| 9133 | .feature_bits = FEATURE_WRSR_WREN, |
| 9134 | .tested = TEST_OK_PREW, |
| 9135 | .probe = probe_spi_rdid, |
| 9136 | .probe_timing = TIMING_ZERO, |
| 9137 | .block_erasers = |
| 9138 | { |
| 9139 | { |
| 9140 | .eraseblocks = { {4 * 1024, 16} }, |
| 9141 | .block_erase = spi_block_erase_20, |
| 9142 | }, { |
| 9143 | .eraseblocks = { {4 * 1024, 16} }, |
| 9144 | .block_erase = spi_block_erase_d7, |
| 9145 | }, { |
| 9146 | .eraseblocks = { {32 * 1024, 2} }, |
| 9147 | .block_erase = spi_block_erase_d8, |
| 9148 | }, { |
| 9149 | .eraseblocks = { {64 * 1024, 1} }, |
| 9150 | .block_erase = spi_block_erase_60, |
| 9151 | }, { |
| 9152 | .eraseblocks = { {64 * 1024, 1} }, |
| 9153 | .block_erase = spi_block_erase_c7, |
| 9154 | } |
| 9155 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9156 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 9157 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 9158 | .write = spi_chip_write_256, |
| 9159 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 9160 | .voltage = {2300, 3600}, |
| 9161 | }, |
| 9162 | |
| 9163 | { |
| 9164 | .vendor = "PMC", |
| 9165 | .name = "Pm25LD010(C)", |
| 9166 | .bustype = BUS_SPI, |
| 9167 | .manufacture_id = PMC_ID, |
| 9168 | .model_id = PMC_PM25LD010, |
| 9169 | .total_size = 128, |
| 9170 | .page_size = 256, |
| 9171 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 9172 | .tested = TEST_OK_PREW, |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 9173 | .probe = probe_spi_rdid, |
| 9174 | .probe_timing = TIMING_ZERO, |
| 9175 | .block_erasers = |
| 9176 | { |
| 9177 | { |
| 9178 | .eraseblocks = { {4 * 1024, 32} }, |
| 9179 | .block_erase = spi_block_erase_20, |
| 9180 | }, { |
| 9181 | .eraseblocks = { {4 * 1024, 32} }, |
| 9182 | .block_erase = spi_block_erase_d7, |
| 9183 | }, { |
| 9184 | .eraseblocks = { {32 * 1024, 4} }, |
| 9185 | .block_erase = spi_block_erase_d8, |
| 9186 | }, { |
| 9187 | .eraseblocks = { {128 * 1024, 1} }, |
| 9188 | .block_erase = spi_block_erase_60, |
| 9189 | }, { |
| 9190 | .eraseblocks = { {128 * 1024, 1} }, |
| 9191 | .block_erase = spi_block_erase_c7, |
| 9192 | } |
| 9193 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9194 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 9195 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 9196 | .write = spi_chip_write_256, |
| 9197 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 9198 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD010 */ |
| 9199 | }, |
| 9200 | |
| 9201 | { |
| 9202 | .vendor = "PMC", |
| 9203 | .name = "Pm25LD020(C)", |
| 9204 | .bustype = BUS_SPI, |
| 9205 | .manufacture_id = PMC_ID, |
| 9206 | .model_id = PMC_PM25LD020, |
| 9207 | .total_size = 256, |
| 9208 | .page_size = 256, |
| 9209 | .feature_bits = FEATURE_WRSR_WREN, |
| 9210 | .tested = TEST_UNTESTED, |
| 9211 | .probe = probe_spi_rdid, |
| 9212 | .probe_timing = TIMING_ZERO, |
| 9213 | .block_erasers = |
| 9214 | { |
| 9215 | { |
| 9216 | .eraseblocks = { {4 * 1024, 64} }, |
| 9217 | .block_erase = spi_block_erase_20, |
| 9218 | }, { |
| 9219 | .eraseblocks = { {4 * 1024, 64} }, |
| 9220 | .block_erase = spi_block_erase_d7, |
| 9221 | }, { |
| 9222 | .eraseblocks = { {64 * 1024, 4} }, |
| 9223 | .block_erase = spi_block_erase_d8, |
| 9224 | }, { |
| 9225 | .eraseblocks = { {256 * 1024, 1} }, |
| 9226 | .block_erase = spi_block_erase_60, |
| 9227 | }, { |
| 9228 | .eraseblocks = { {256 * 1024, 1} }, |
| 9229 | .block_erase = spi_block_erase_c7, |
| 9230 | } |
| 9231 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9232 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 9233 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 9234 | .write = spi_chip_write_256, |
| 9235 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 9236 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD020 */ |
| 9237 | }, |
| 9238 | |
| 9239 | { |
| 9240 | .vendor = "PMC", |
| 9241 | .name = "Pm25LD040(C)", |
| 9242 | .bustype = BUS_SPI, |
| 9243 | .manufacture_id = PMC_ID, |
| 9244 | .model_id = PMC_PM25LV040, |
| 9245 | .total_size = 512, |
| 9246 | .page_size = 256, |
| 9247 | .feature_bits = FEATURE_WRSR_WREN, |
| 9248 | .tested = TEST_UNTESTED, |
| 9249 | .probe = probe_spi_rdid, |
| 9250 | .probe_timing = TIMING_ZERO, |
| 9251 | .block_erasers = |
| 9252 | { |
| 9253 | { |
| 9254 | .eraseblocks = { {4 * 1024, 128} }, |
| 9255 | .block_erase = spi_block_erase_20, |
| 9256 | }, { |
| 9257 | .eraseblocks = { {4 * 1024, 128} }, |
| 9258 | .block_erase = spi_block_erase_d7, |
| 9259 | }, { |
| 9260 | .eraseblocks = { {64 * 1024, 8} }, |
| 9261 | .block_erase = spi_block_erase_d8, |
| 9262 | }, { |
| 9263 | .eraseblocks = { {512 * 1024, 1} }, |
| 9264 | .block_erase = spi_block_erase_60, |
| 9265 | }, { |
| 9266 | .eraseblocks = { {512 * 1024, 1} }, |
| 9267 | .block_erase = spi_block_erase_c7, |
| 9268 | } |
| 9269 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9270 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 9271 | .unlock = spi_disable_blockprotect, |
| 9272 | .write = spi_chip_write_256, |
| 9273 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 9274 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD040 */ |
| 9275 | }, |
| 9276 | |
| 9277 | { |
| 9278 | .vendor = "PMC", |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9279 | .name = "Pm25LV512(A)", |
| 9280 | .bustype = BUS_SPI, |
Stefan Tauner | becda74 | 2014-05-30 19:34:00 +0000 | [diff] [blame] | 9281 | .manufacture_id = PMC_ID_NOPREFIX, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9282 | .model_id = PMC_PM25LV512, |
| 9283 | .total_size = 64, |
| 9284 | .page_size = 256, |
| 9285 | .feature_bits = FEATURE_WRSR_WREN, |
| 9286 | .tested = TEST_UNTESTED, |
Stefan Tauner | becda74 | 2014-05-30 19:34:00 +0000 | [diff] [blame] | 9287 | .probe = probe_spi_res2, /* The continuation code is transferred as the 3rd byte m( */ |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9288 | .probe_timing = TIMING_ZERO, |
| 9289 | .block_erasers = |
| 9290 | { |
| 9291 | { |
| 9292 | .eraseblocks = { {4 * 1024, 16} }, |
| 9293 | .block_erase = spi_block_erase_d7, |
| 9294 | }, { |
| 9295 | .eraseblocks = { {32 * 1024, 2} }, |
| 9296 | .block_erase = spi_block_erase_d8, |
| 9297 | }, { |
| 9298 | .eraseblocks = { {64 * 1024, 1} }, |
| 9299 | .block_erase = spi_block_erase_c7, |
| 9300 | } |
| 9301 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9302 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9303 | .unlock = spi_disable_blockprotect, |
| 9304 | .write = spi_chip_write_256, |
| 9305 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 9306 | .voltage = {2700, 3600}, |
| 9307 | }, |
| 9308 | |
| 9309 | { |
| 9310 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9311 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9312 | .bustype = BUS_SPI, |
Stefan Tauner | becda74 | 2014-05-30 19:34:00 +0000 | [diff] [blame] | 9313 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9314 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9315 | .total_size = 128, |
| 9316 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9317 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | becda74 | 2014-05-30 19:34:00 +0000 | [diff] [blame] | 9318 | .tested = TEST_OK_PREW, |
| 9319 | .probe = probe_spi_res2, /* The continuation code is transferred as the 3rd byte m( */ |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9320 | .probe_timing = TIMING_ZERO, |
| 9321 | .block_erasers = |
| 9322 | { |
| 9323 | { |
| 9324 | .eraseblocks = { {4 * 1024, 32} }, |
| 9325 | .block_erase = spi_block_erase_d7, |
| 9326 | }, { |
| 9327 | .eraseblocks = { {32 * 1024, 4} }, |
| 9328 | .block_erase = spi_block_erase_d8, |
| 9329 | }, { |
| 9330 | .eraseblocks = { {128 * 1024, 1} }, |
| 9331 | .block_erase = spi_block_erase_c7, |
| 9332 | } |
| 9333 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9334 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9335 | .unlock = spi_disable_blockprotect, |
| 9336 | .write = spi_chip_write_256, |
| 9337 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 9338 | .voltage = {2700, 3600}, |
| 9339 | }, |
| 9340 | |
| 9341 | { |
| 9342 | .vendor = "PMC", |
| 9343 | .name = "Pm25LV010A", |
| 9344 | .bustype = BUS_SPI, |
| 9345 | .manufacture_id = PMC_ID, |
| 9346 | .model_id = PMC_PM25LV010, |
| 9347 | .total_size = 128, |
| 9348 | .page_size = 256, |
| 9349 | .feature_bits = FEATURE_WRSR_WREN, |
| 9350 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9351 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9352 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9353 | .block_erasers = |
| 9354 | { |
| 9355 | { |
| 9356 | .eraseblocks = { {4 * 1024, 32} }, |
| 9357 | .block_erase = spi_block_erase_d7, |
| 9358 | }, { |
| 9359 | .eraseblocks = { {32 * 1024, 4} }, |
| 9360 | .block_erase = spi_block_erase_d8, |
| 9361 | }, { |
| 9362 | .eraseblocks = { {128 * 1024, 1} }, |
| 9363 | .block_erase = spi_block_erase_c7, |
| 9364 | } |
| 9365 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9366 | .printlock = spi_prettyprint_status_register_bp1_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9367 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9368 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9369 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9370 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9371 | }, |
| 9372 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9373 | { |
| 9374 | .vendor = "PMC", |
| 9375 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9376 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9377 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9378 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9379 | .total_size = 256, |
| 9380 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9381 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9382 | .tested = TEST_UNTESTED, |
| 9383 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9384 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9385 | .block_erasers = |
| 9386 | { |
| 9387 | { |
| 9388 | .eraseblocks = { {4 * 1024, 64} }, |
| 9389 | .block_erase = spi_block_erase_d7, |
| 9390 | }, { |
| 9391 | .eraseblocks = { {64 * 1024, 4} }, |
| 9392 | .block_erase = spi_block_erase_d8, |
| 9393 | }, { |
| 9394 | .eraseblocks = { {256 * 1024, 1} }, |
| 9395 | .block_erase = spi_block_erase_c7, |
| 9396 | } |
| 9397 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9398 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9399 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9400 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9401 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9402 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9403 | }, |
| 9404 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9405 | { |
| 9406 | .vendor = "PMC", |
| 9407 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9408 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9409 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9410 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9411 | .total_size = 512, |
| 9412 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9413 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9414 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9415 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9416 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9417 | .block_erasers = |
| 9418 | { |
| 9419 | { |
| 9420 | .eraseblocks = { {4 * 1024, 128} }, |
| 9421 | .block_erase = spi_block_erase_d7, |
| 9422 | }, { |
| 9423 | .eraseblocks = { {64 * 1024, 8} }, |
| 9424 | .block_erase = spi_block_erase_d8, |
| 9425 | }, { |
| 9426 | .eraseblocks = { {512 * 1024, 1} }, |
| 9427 | .block_erase = spi_block_erase_c7, |
| 9428 | } |
| 9429 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9430 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9431 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9432 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9433 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9434 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9435 | }, |
| 9436 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9437 | { |
| 9438 | .vendor = "PMC", |
| 9439 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9440 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9441 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9442 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9443 | .total_size = 1024, |
| 9444 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9445 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9446 | .tested = TEST_UNTESTED, |
| 9447 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9448 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9449 | .block_erasers = |
| 9450 | { |
| 9451 | { |
| 9452 | .eraseblocks = { {4 * 1024, 256} }, |
| 9453 | .block_erase = spi_block_erase_d7, |
| 9454 | }, { |
| 9455 | .eraseblocks = { {4 * 1024, 256} }, |
| 9456 | .block_erase = spi_block_erase_20, |
| 9457 | }, { |
| 9458 | .eraseblocks = { {64 * 1024, 16} }, |
| 9459 | .block_erase = spi_block_erase_d8, |
| 9460 | }, { |
| 9461 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9462 | .block_erase = spi_block_erase_60, |
| 9463 | }, { |
| 9464 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9465 | .block_erase = spi_block_erase_c7, |
| 9466 | } |
| 9467 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9468 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9469 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9470 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9471 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9472 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9473 | }, |
| 9474 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9475 | { |
| 9476 | .vendor = "PMC", |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9477 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9478 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9479 | .manufacture_id = PMC_ID, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9480 | .model_id = PMC_PM25LV016B, |
| 9481 | .total_size = 2048, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9482 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9483 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9484 | .tested = TEST_UNTESTED, |
| 9485 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9486 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9487 | .block_erasers = |
| 9488 | { |
| 9489 | { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9490 | .eraseblocks = { {4 * 1024, 512} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9491 | .block_erase = spi_block_erase_d7, |
| 9492 | }, { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9493 | .eraseblocks = { {4 * 1024, 512} }, |
| 9494 | .block_erase = spi_block_erase_20, |
| 9495 | }, { |
| 9496 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9497 | .block_erase = spi_block_erase_d8, |
| 9498 | }, { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9499 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 9500 | .block_erase = spi_block_erase_60, |
| 9501 | }, { |
| 9502 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9503 | .block_erase = spi_block_erase_c7, |
| 9504 | } |
| 9505 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9506 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9507 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9508 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 9509 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9510 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9511 | }, |
| 9512 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9513 | { |
| 9514 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9515 | .name = "Pm29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9516 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9517 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9518 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9519 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9520 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9521 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 9522 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9523 | .probe = probe_jedec, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 9524 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9525 | .block_erasers = |
| 9526 | { |
| 9527 | { |
| 9528 | .eraseblocks = { |
| 9529 | {128 * 1024, 1}, |
| 9530 | {96 * 1024, 1}, |
| 9531 | {8 * 1024, 2}, |
| 9532 | {16 * 1024, 1}, |
| 9533 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9534 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9535 | }, { |
| 9536 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9537 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9538 | }, |
| 9539 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9540 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9541 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9542 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9543 | }, |
| 9544 | |
| 9545 | { |
| 9546 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9547 | .name = "Pm29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9548 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9549 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9550 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9551 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9552 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9553 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9554 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9555 | .probe = probe_jedec, |
Stefan Tauner | 1aa80b0 | 2013-07-25 22:58:51 +0000 | [diff] [blame] | 9556 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9557 | .block_erasers = |
| 9558 | { |
| 9559 | { |
| 9560 | .eraseblocks = { |
| 9561 | {16 * 1024, 1}, |
| 9562 | {8 * 1024, 2}, |
| 9563 | {96 * 1024, 1}, |
| 9564 | {128 * 1024, 1}, |
| 9565 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9566 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9567 | }, { |
| 9568 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9569 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9570 | }, |
| 9571 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9572 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9573 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9574 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 9575 | }, |
| 9576 | |
| 9577 | { |
| 9578 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 9579 | .name = "Pm39LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9580 | .bustype = BUS_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 9581 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9582 | .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] | 9583 | .total_size = 128, |
| 9584 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9585 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 9586 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 9587 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9588 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9589 | .block_erasers = |
| 9590 | { |
| 9591 | { |
| 9592 | .eraseblocks = { {4 * 1024, 32} }, |
| 9593 | .block_erase = erase_sector_jedec, |
| 9594 | }, { |
| 9595 | .eraseblocks = { {64 * 1024, 2} }, |
| 9596 | .block_erase = erase_block_jedec, |
| 9597 | }, { |
| 9598 | .eraseblocks = { {128 * 1024, 1} }, |
| 9599 | .block_erase = erase_chip_block_jedec, |
| 9600 | } |
| 9601 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9602 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 9603 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9604 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 9605 | }, |
| 9606 | |
| 9607 | { |
| 9608 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9609 | .name = "Pm39LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9610 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9611 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9612 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9613 | .total_size = 256, |
| 9614 | .page_size = 4096, |
| 9615 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 9616 | .tested = TEST_UNTESTED, |
| 9617 | .probe = probe_jedec, |
| 9618 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 9619 | .block_erasers = |
| 9620 | { |
| 9621 | { |
| 9622 | .eraseblocks = { {4 * 1024, 64} }, |
| 9623 | .block_erase = erase_sector_jedec, |
| 9624 | }, { |
| 9625 | .eraseblocks = { {64 * 1024, 4} }, |
| 9626 | .block_erase = erase_block_jedec, |
| 9627 | }, { |
| 9628 | .eraseblocks = { {256 * 1024, 1} }, |
| 9629 | .block_erase = erase_chip_block_jedec, |
| 9630 | } |
| 9631 | }, |
| 9632 | .write = write_jedec_1, |
| 9633 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9634 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9635 | }, |
| 9636 | |
| 9637 | { |
| 9638 | .vendor = "PMC", |
| 9639 | .name = "Pm39LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9640 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9641 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9642 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9643 | .total_size = 512, |
| 9644 | .page_size = 4096, |
| 9645 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 9646 | .tested = TEST_OK_PR, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9647 | .probe = probe_jedec, |
| 9648 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 9649 | .block_erasers = |
| 9650 | { |
| 9651 | { |
| 9652 | .eraseblocks = { {4 * 1024, 128} }, |
| 9653 | .block_erase = erase_sector_jedec, |
| 9654 | }, { |
| 9655 | .eraseblocks = { {64 * 1024, 8} }, |
| 9656 | .block_erase = erase_block_jedec, |
| 9657 | }, { |
| 9658 | .eraseblocks = { {512 * 1024, 1} }, |
| 9659 | .block_erase = erase_chip_block_jedec, |
| 9660 | } |
| 9661 | }, |
| 9662 | .write = write_jedec_1, |
| 9663 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9664 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9665 | }, |
Kyösti Mälkki | edab1d2 | 2012-05-20 23:32:33 +0000 | [diff] [blame] | 9666 | |
| 9667 | { |
| 9668 | .vendor = "PMC", |
| 9669 | .name = "Pm39LV512", |
| 9670 | .bustype = BUS_PARALLEL, |
| 9671 | .manufacture_id = PMC_ID_NOPREFIX, |
| 9672 | .model_id = PMC_PM39LV512, |
| 9673 | .total_size = 64, |
| 9674 | .page_size = 4096, |
| 9675 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 9676 | .tested = TEST_OK_PREW, |
| 9677 | .probe = probe_jedec, |
| 9678 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 9679 | .block_erasers = |
| 9680 | { |
| 9681 | { |
| 9682 | .eraseblocks = { {4 * 1024, 16} }, |
| 9683 | .block_erase = erase_sector_jedec, |
| 9684 | }, { |
| 9685 | .eraseblocks = { {64 * 1024, 1} }, |
| 9686 | .block_erase = erase_block_jedec, |
| 9687 | }, { |
| 9688 | .eraseblocks = { {64 * 1024, 1} }, |
| 9689 | .block_erase = erase_chip_block_jedec, |
| 9690 | } |
| 9691 | }, |
| 9692 | .write = write_jedec_1, |
| 9693 | .read = read_memmapped, |
| 9694 | .voltage = {2700, 3600}, |
| 9695 | }, |
| 9696 | |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 9697 | { |
| 9698 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9699 | .name = "Pm49FL002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9700 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9701 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9702 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9703 | .total_size = 256, |
| 9704 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9705 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 9706 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9707 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9708 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9709 | .block_erasers = |
| 9710 | { |
| 9711 | { |
| 9712 | .eraseblocks = { {4 * 1024, 64} }, |
| 9713 | .block_erase = erase_sector_jedec, |
| 9714 | }, { |
| 9715 | .eraseblocks = { {16 * 1024, 16} }, |
| 9716 | .block_erase = erase_block_jedec, |
| 9717 | }, { |
| 9718 | .eraseblocks = { {256 * 1024, 1} }, |
| 9719 | .block_erase = erase_chip_block_jedec, |
| 9720 | } |
| 9721 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 9722 | .unlock = unlock_regspace2_uniform_32k, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 9723 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9724 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9725 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9726 | }, |
| 9727 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9728 | { |
| 9729 | .vendor = "PMC", |
| 9730 | .name = "Pm49FL004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9731 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9732 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9733 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9734 | .total_size = 512, |
| 9735 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9736 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 9737 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9738 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9739 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9740 | .block_erasers = |
| 9741 | { |
| 9742 | { |
| 9743 | .eraseblocks = { {4 * 1024, 128} }, |
| 9744 | .block_erase = erase_sector_jedec, |
| 9745 | }, { |
| 9746 | .eraseblocks = { {64 * 1024, 8} }, |
| 9747 | .block_erase = erase_block_jedec, |
| 9748 | }, { |
| 9749 | .eraseblocks = { {512 * 1024, 1} }, |
| 9750 | .block_erase = erase_chip_block_jedec, |
| 9751 | } |
| 9752 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 9753 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 9754 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9755 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9756 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9757 | }, |
| 9758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9759 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 9760 | .vendor = "Sanyo", |
Stefan Tauner | a60d408 | 2014-06-04 16:17:03 +0000 | [diff] [blame] | 9761 | .name = "LE25FW106", |
| 9762 | .bustype = BUS_SPI, |
| 9763 | .manufacture_id = SANYO_ID, |
| 9764 | .model_id = SANYO_LE25FW106, |
| 9765 | .total_size = 128, |
| 9766 | .page_size = 256, |
| 9767 | .feature_bits = FEATURE_WRSR_WREN, |
| 9768 | .tested = TEST_OK_PREW, |
| 9769 | .probe = probe_spi_res2, |
| 9770 | .probe_timing = TIMING_ZERO, |
| 9771 | .block_erasers = { |
| 9772 | { |
| 9773 | .eraseblocks = { {2 * 1024, 64} }, |
| 9774 | .block_erase = spi_block_erase_d7, |
| 9775 | }, { |
| 9776 | .eraseblocks = { {32 * 1024, 4} }, |
| 9777 | .block_erase = spi_block_erase_d8, |
| 9778 | }, { |
| 9779 | .eraseblocks = { {128 * 1024, 1} }, |
| 9780 | .block_erase = spi_block_erase_c7, |
| 9781 | } |
| 9782 | }, |
| 9783 | .printlock = spi_prettyprint_status_register_bp1_srwd, /* FIXME: Add ERSER error flag. */ |
| 9784 | .unlock = spi_disable_blockprotect_bp1_srwd, |
| 9785 | .write = spi_chip_write_256, |
| 9786 | .read = spi_chip_read, |
| 9787 | .voltage = {2700, 3600}, |
| 9788 | }, |
| 9789 | |
| 9790 | { |
| 9791 | .vendor = "Sanyo", |
Stefan Tauner | 33491b8 | 2014-05-18 21:36:04 +0000 | [diff] [blame] | 9792 | .name = "LE25FW406A", |
| 9793 | .bustype = BUS_SPI, |
| 9794 | .manufacture_id = SANYO_ID, |
| 9795 | .model_id = SANYO_LE25FW406A, |
| 9796 | .total_size = 512, |
| 9797 | .page_size = 256, |
| 9798 | .feature_bits = FEATURE_WRSR_WREN, |
| 9799 | .tested = TEST_OK_PREW, |
| 9800 | .probe = probe_spi_res2, |
| 9801 | .probe_timing = TIMING_ZERO, |
| 9802 | .block_erasers = { |
| 9803 | { |
| 9804 | .eraseblocks = { {4 * 1024, 128} }, |
| 9805 | .block_erase = spi_block_erase_d7, |
| 9806 | }, { |
| 9807 | .eraseblocks = { {64 * 1024, 8} }, |
| 9808 | .block_erase = spi_block_erase_d8, |
| 9809 | }, { |
| 9810 | .eraseblocks = { {512 * 1024, 1} }, |
| 9811 | .block_erase = spi_block_erase_c7, |
| 9812 | } |
| 9813 | }, |
| 9814 | .printlock = spi_prettyprint_status_register_plain, |
| 9815 | .unlock = spi_disable_blockprotect, |
| 9816 | .write = spi_chip_write_256, |
| 9817 | .read = spi_chip_read, |
| 9818 | .voltage = {2700, 3600}, |
| 9819 | }, |
| 9820 | |
| 9821 | { |
| 9822 | .vendor = "Sanyo", |
Jurij Munda | a1e5374 | 2014-05-14 13:19:50 +0000 | [diff] [blame] | 9823 | .name = "LE25FU406B", |
| 9824 | .bustype = BUS_SPI, |
| 9825 | .manufacture_id = SANYO_ID, |
| 9826 | .model_id = SANYO_LE25FU406B, |
| 9827 | .total_size = 512, |
| 9828 | .page_size = 256, |
| 9829 | .feature_bits = FEATURE_WRSR_WREN, |
| 9830 | .tested = TEST_OK_PREW, |
| 9831 | .probe = probe_spi_res2, |
| 9832 | .probe_timing = TIMING_ZERO, |
| 9833 | .block_erasers = { |
| 9834 | { |
| 9835 | .eraseblocks = { {4 * 1024, 128} }, |
| 9836 | .block_erase = spi_block_erase_d7, |
| 9837 | }, { |
| 9838 | .eraseblocks = { {64 * 1024, 8} }, |
| 9839 | .block_erase = spi_block_erase_d8, |
| 9840 | }, { |
| 9841 | .eraseblocks = { {512 * 1024, 1} }, |
| 9842 | .block_erase = spi_block_erase_c7, |
| 9843 | } |
| 9844 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9845 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Jurij Munda | a1e5374 | 2014-05-14 13:19:50 +0000 | [diff] [blame] | 9846 | .unlock = spi_disable_blockprotect, /* #WP pin write-protects SRWP bit. */ |
| 9847 | .write = spi_chip_write_256, |
| 9848 | .read = spi_chip_read, |
| 9849 | .voltage = {2300, 3600}, |
| 9850 | }, |
| 9851 | |
| 9852 | { |
| 9853 | .vendor = "Sanyo", |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9854 | .name = "LE25FW203A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9855 | .bustype = BUS_SPI, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 9856 | .manufacture_id = SANYO_ID, |
| 9857 | .model_id = SANYO_LE25FW203A, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9858 | .total_size = 256, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 9859 | .page_size = 256, |
| 9860 | .tested = TEST_UNTESTED, |
| 9861 | .probe = probe_spi_rdid, |
| 9862 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9863 | .block_erasers = |
| 9864 | { |
| 9865 | { |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9866 | .eraseblocks = { {256, 1024} }, |
| 9867 | .block_erase = spi_block_erase_db, |
| 9868 | }, { |
| 9869 | .eraseblocks = { {64 * 1024, 4} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9870 | .block_erase = spi_block_erase_d8, |
| 9871 | }, { |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9872 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 9873 | .block_erase = spi_block_erase_c7, |
| 9874 | } |
| 9875 | }, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9876 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 9877 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 9878 | .write = spi_chip_write_256, |
| 9879 | .read = spi_chip_read, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9880 | .voltage = {2700, 3600}, |
| 9881 | }, |
| 9882 | |
| 9883 | { |
| 9884 | .vendor = "Sanyo", |
| 9885 | .name = "LE25FW403A", |
| 9886 | .bustype = BUS_SPI, |
| 9887 | .manufacture_id = SANYO_ID, |
| 9888 | .model_id = SANYO_LE25FW403A, |
| 9889 | .total_size = 512, |
| 9890 | .page_size = 256, |
| 9891 | .tested = TEST_UNTESTED, |
| 9892 | .probe = probe_spi_rdid, |
| 9893 | .probe_timing = TIMING_ZERO, |
| 9894 | .block_erasers = { |
| 9895 | { |
| 9896 | .eraseblocks = { {256, 2 * 1024} }, |
| 9897 | .block_erase = spi_block_erase_db, |
| 9898 | }, { |
| 9899 | .eraseblocks = { {64 * 1024, 8} }, |
| 9900 | .block_erase = spi_block_erase_d8, |
| 9901 | }, { |
| 9902 | .eraseblocks = { {512 * 1024, 1} }, |
| 9903 | .block_erase = spi_block_erase_c7, |
| 9904 | } |
| 9905 | }, |
| 9906 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 9907 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
| 9908 | .write = spi_chip_write_256, |
| 9909 | .read = spi_chip_read, |
| 9910 | .voltage = {2700, 3600}, |
| 9911 | }, |
| 9912 | |
| 9913 | { |
| 9914 | .vendor = "Sanyo", |
| 9915 | .name = "LE25FW418A", |
| 9916 | .bustype = BUS_SPI, |
| 9917 | .manufacture_id = SANYO_ID, |
| 9918 | .model_id = SANYO_LE25FW418A, |
| 9919 | .total_size = 512, |
| 9920 | .page_size = 256, |
| 9921 | .feature_bits = FEATURE_WRSR_WREN, |
| 9922 | .tested = TEST_UNTESTED, |
| 9923 | .probe = probe_spi_res2, |
| 9924 | .probe_timing = TIMING_ZERO, |
| 9925 | .block_erasers = { |
| 9926 | { |
| 9927 | .eraseblocks = { {4 * 1024, 128} }, |
| 9928 | .block_erase = spi_block_erase_d7, |
| 9929 | }, { |
| 9930 | .eraseblocks = { {64 * 1024, 8} }, |
| 9931 | .block_erase = spi_block_erase_d8, |
| 9932 | }, { |
| 9933 | .eraseblocks = { {512 * 1024, 1} }, |
| 9934 | .block_erase = spi_block_erase_c7, |
| 9935 | } |
| 9936 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9937 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9938 | .unlock = spi_disable_blockprotect, /* #WP pin write-protects SRWP bit. */ |
| 9939 | .write = spi_chip_write_256, |
| 9940 | .read = spi_chip_read, /* some quad-read supported ("HD_READ mode") */ |
| 9941 | .voltage = {2700, 3600}, |
| 9942 | }, |
| 9943 | |
| 9944 | { |
| 9945 | .vendor = "Sanyo", |
| 9946 | .name = "LE25FW806", |
| 9947 | .bustype = BUS_SPI, |
| 9948 | .manufacture_id = SANYO_ID, |
| 9949 | .model_id = SANYO_LE25FW806, |
| 9950 | .total_size = 1024, |
| 9951 | .page_size = 256, |
| 9952 | .feature_bits = FEATURE_WRSR_WREN, |
| 9953 | .tested = TEST_UNTESTED, |
| 9954 | .probe = probe_spi_res2, |
| 9955 | .probe_timing = TIMING_ZERO, |
| 9956 | .block_erasers = { |
| 9957 | { |
| 9958 | .eraseblocks = { {4 * 1024, 256} }, |
| 9959 | .block_erase = spi_block_erase_20, |
| 9960 | }, { |
| 9961 | .eraseblocks = { {4 * 1024, 256} }, |
| 9962 | .block_erase = spi_block_erase_d7, |
| 9963 | }, { |
| 9964 | .eraseblocks = { {64 * 1024, 16} }, |
| 9965 | .block_erase = spi_block_erase_d8, |
| 9966 | }, { |
| 9967 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9968 | .block_erase = spi_block_erase_c7, |
| 9969 | } |
| 9970 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 9971 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 9972 | .unlock = spi_disable_blockprotect, /* #WP pin write-protects SRWP bit. */ |
| 9973 | .write = spi_chip_write_256, |
| 9974 | .read = spi_chip_read, |
| 9975 | .voltage = {2700, 3600}, |
| 9976 | }, |
| 9977 | |
| 9978 | { |
| 9979 | .vendor = "Sanyo", |
| 9980 | .name = "LE25FW808", |
| 9981 | .bustype = BUS_SPI, |
| 9982 | .manufacture_id = SANYO_ID, |
| 9983 | .model_id = SANYO_LE25FW808, |
| 9984 | .total_size = 1024, |
| 9985 | .page_size = 256, |
| 9986 | .feature_bits = FEATURE_WRSR_WREN, |
| 9987 | .tested = TEST_UNTESTED, |
| 9988 | .probe = probe_spi_res2, |
| 9989 | .probe_timing = TIMING_ZERO, |
| 9990 | .block_erasers = { |
| 9991 | { |
| 9992 | .eraseblocks = { {8 * 1024, 128} }, |
| 9993 | .block_erase = spi_block_erase_d7, |
| 9994 | }, { |
| 9995 | .eraseblocks = { {64 * 1024, 16} }, |
| 9996 | .block_erase = spi_block_erase_d8, |
| 9997 | }, { |
| 9998 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9999 | .block_erase = spi_block_erase_c7, |
| 10000 | } |
| 10001 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 10002 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 10003 | .unlock = spi_disable_blockprotect, /* #WP pin write-protects SRWP bit. */ |
| 10004 | .write = spi_chip_write_256, |
| 10005 | .read = spi_chip_read, /* some quad-read supported ("HD_READ mode") */ |
| 10006 | .voltage = {2700, 3600}, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 10007 | }, |
| 10008 | |
| 10009 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10010 | .vendor = "Sharp", |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 10011 | .name = "LH28F008BJT-BTLZ1", |
| 10012 | .bustype = BUS_PARALLEL, |
| 10013 | .manufacture_id = SHARP_ID, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 10014 | .model_id = SHARP_LH28F008BJ__PB, |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 10015 | .total_size = 1024, |
| 10016 | .page_size = 64 * 1024, |
| 10017 | .tested = TEST_OK_PREW, |
| 10018 | .probe = probe_82802ab, |
| 10019 | .probe_timing = TIMING_ZERO, |
| 10020 | .block_erasers = |
| 10021 | { |
| 10022 | { |
| 10023 | .eraseblocks = { |
| 10024 | {8 * 1024, 8}, |
| 10025 | {64 * 1024, 15} |
| 10026 | }, |
| 10027 | .block_erase = erase_block_82802ab, |
| 10028 | }, { |
| 10029 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10030 | .block_erase = erase_sector_49lfxxxc, |
| 10031 | } |
| 10032 | }, |
| 10033 | .unlock = unlock_lh28f008bjt, |
| 10034 | .write = write_82802ab, |
| 10035 | .read = read_memmapped, |
| 10036 | .voltage = {2700, 3600}, |
| 10037 | }, |
| 10038 | |
| 10039 | { |
| 10040 | .vendor = "Sharp", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10041 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10042 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10043 | .manufacture_id = SHARP_ID, |
| 10044 | .model_id = SHARP_LHF00L04, |
| 10045 | .total_size = 1024, |
| 10046 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10047 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10048 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10049 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 10050 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 10051 | .block_erasers = |
| 10052 | { |
| 10053 | { |
| 10054 | .eraseblocks = { |
| 10055 | {64 * 1024, 15}, |
| 10056 | {8 * 1024, 8} |
| 10057 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10058 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 10059 | }, { |
| 10060 | .eraseblocks = { |
| 10061 | {1024 * 1024, 1} |
| 10062 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 10063 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 10064 | }, |
| 10065 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 10066 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10067 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10068 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10069 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10070 | }, |
| 10071 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10072 | { |
| 10073 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10074 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10075 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10076 | .manufacture_id = SPANSION_ID, |
| 10077 | .model_id = SPANSION_S25FL004A, |
| 10078 | .total_size = 512, |
| 10079 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 10080 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10081 | .tested = TEST_UNTESTED, |
| 10082 | .probe = probe_spi_rdid, |
| 10083 | .probe_timing = TIMING_ZERO, |
| 10084 | .block_erasers = |
| 10085 | { |
| 10086 | { |
| 10087 | .eraseblocks = { {64 * 1024, 8} }, |
| 10088 | .block_erase = spi_block_erase_d8, |
| 10089 | }, { |
| 10090 | .eraseblocks = { {512 * 1024, 1} }, |
| 10091 | .block_erase = spi_block_erase_c7, |
| 10092 | } |
| 10093 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10094 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10095 | .unlock = spi_disable_blockprotect, |
| 10096 | .write = spi_chip_write_256, |
| 10097 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 10098 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10099 | }, |
| 10100 | |
| 10101 | { |
| 10102 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 10103 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10104 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 10105 | .manufacture_id = SPANSION_ID, |
| 10106 | .model_id = SPANSION_S25FL008A, |
| 10107 | .total_size = 1024, |
| 10108 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 10109 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 10110 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 10111 | .probe = probe_spi_rdid, |
| 10112 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 10113 | .block_erasers = |
| 10114 | { |
| 10115 | { |
| 10116 | .eraseblocks = { {64 * 1024, 16} }, |
| 10117 | .block_erase = spi_block_erase_d8, |
| 10118 | }, { |
| 10119 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10120 | .block_erase = spi_block_erase_c7, |
| 10121 | } |
| 10122 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10123 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10124 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 10125 | .write = spi_chip_write_256, |
| 10126 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10127 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 10128 | }, |
| 10129 | |
| 10130 | { |
| 10131 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10132 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10133 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10134 | .manufacture_id = SPANSION_ID, |
| 10135 | .model_id = SPANSION_S25FL016A, |
| 10136 | .total_size = 2048, |
| 10137 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 10138 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 10139 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10140 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10141 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 10142 | .block_erasers = |
| 10143 | { |
| 10144 | { |
| 10145 | .eraseblocks = { {64 * 1024, 32} }, |
| 10146 | .block_erase = spi_block_erase_d8, |
| 10147 | }, { |
| 10148 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10149 | .block_erase = spi_block_erase_c7, |
| 10150 | } |
| 10151 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10152 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10153 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10154 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10155 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10156 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10157 | }, |
| 10158 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10159 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10160 | .vendor = "Spansion", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 10161 | .name = "S25FL032A/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10162 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10163 | .manufacture_id = SPANSION_ID, |
| 10164 | .model_id = SPANSION_S25FL032A, |
| 10165 | .total_size = 4096, |
| 10166 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 10167 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 10168 | .tested = TEST_OK_PREW, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10169 | .probe = probe_spi_rdid, |
| 10170 | .probe_timing = TIMING_ZERO, |
| 10171 | .block_erasers = |
| 10172 | { |
| 10173 | { |
| 10174 | .eraseblocks = { {64 * 1024, 64} }, |
| 10175 | .block_erase = spi_block_erase_d8, |
| 10176 | }, { |
| 10177 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10178 | .block_erase = spi_block_erase_c7, |
| 10179 | } |
| 10180 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10181 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10182 | .unlock = spi_disable_blockprotect, |
| 10183 | .write = spi_chip_write_256, |
| 10184 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 10185 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10186 | }, |
| 10187 | |
| 10188 | { |
| 10189 | .vendor = "Spansion", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 10190 | .name = "S25FL064A/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10191 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10192 | .manufacture_id = SPANSION_ID, |
| 10193 | .model_id = SPANSION_S25FL064A, |
| 10194 | .total_size = 8192, |
| 10195 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 10196 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10197 | .tested = TEST_OK_PREW, |
| 10198 | .probe = probe_spi_rdid, |
| 10199 | .probe_timing = TIMING_ZERO, |
| 10200 | .block_erasers = |
| 10201 | { |
| 10202 | { |
| 10203 | .eraseblocks = { {64 * 1024, 128} }, |
| 10204 | .block_erase = spi_block_erase_d8, |
| 10205 | }, { |
| 10206 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10207 | .block_erase = spi_block_erase_c7, |
| 10208 | } |
| 10209 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10210 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10211 | .unlock = spi_disable_blockprotect, |
| 10212 | .write = spi_chip_write_256, |
| 10213 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 10214 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 10215 | }, |
| 10216 | |
| 10217 | { |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10218 | .vendor = "Spansion", |
| 10219 | .name = "S25FL204K", |
| 10220 | .bustype = BUS_SPI, |
| 10221 | .manufacture_id = SPANSION_ID, |
| 10222 | .model_id = SPANSION_S25FL204, |
| 10223 | .total_size = 512, |
| 10224 | .page_size = 256, |
| 10225 | .feature_bits = FEATURE_WRSR_WREN, |
| 10226 | .tested = TEST_UNTESTED, |
| 10227 | .probe = probe_spi_rdid, |
| 10228 | .probe_timing = TIMING_ZERO, |
| 10229 | .block_erasers = { |
| 10230 | { |
| 10231 | .eraseblocks = { {4 * 1024, 128} }, |
| 10232 | .block_erase = spi_block_erase_20, |
| 10233 | }, { |
| 10234 | .eraseblocks = { {64 * 1024, 8} }, |
| 10235 | .block_erase = spi_block_erase_d8, |
| 10236 | }, { |
| 10237 | .eraseblocks = { { 512 * 1024, 1} }, |
| 10238 | .block_erase = spi_block_erase_60, |
| 10239 | }, { |
| 10240 | .eraseblocks = { { 512 * 1024, 1} }, |
| 10241 | .block_erase = spi_block_erase_c7, |
| 10242 | } |
| 10243 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 10244 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10245 | .unlock = spi_disable_blockprotect_bp3_srwd, /* #WP pin write-protects SRWP bit. */ |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10246 | .write = spi_chip_write_256, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10247 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O (0x3B) supported */ |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10248 | .voltage = {2700, 3600}, |
| 10249 | }, |
| 10250 | |
| 10251 | { |
| 10252 | .vendor = "Spansion", |
| 10253 | .name = "S25FL208K", |
| 10254 | .bustype = BUS_SPI, |
| 10255 | .manufacture_id = SPANSION_ID, |
| 10256 | .model_id = SPANSION_S25FL208, |
| 10257 | .total_size = 1024, |
| 10258 | .page_size = 256, |
| 10259 | .feature_bits = FEATURE_WRSR_WREN, |
| 10260 | .tested = TEST_UNTESTED, |
| 10261 | .probe = probe_spi_rdid, |
| 10262 | .probe_timing = TIMING_ZERO, |
| 10263 | .block_erasers = { |
| 10264 | { |
| 10265 | .eraseblocks = { {4 * 1024, 256} }, |
| 10266 | .block_erase = spi_block_erase_20, |
| 10267 | }, { |
| 10268 | .eraseblocks = { {64 * 1024, 16} }, |
| 10269 | .block_erase = spi_block_erase_d8, |
| 10270 | }, { |
| 10271 | .eraseblocks = { { 1024 * 1024, 1} }, |
| 10272 | .block_erase = spi_block_erase_60, |
| 10273 | }, { |
| 10274 | .eraseblocks = { { 1024 * 1024, 1} }, |
| 10275 | .block_erase = spi_block_erase_c7, |
| 10276 | } |
| 10277 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 10278 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10279 | .unlock = spi_disable_blockprotect_bp3_srwd, /* #WP pin write-protects SRWP bit. */ |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10280 | .write = spi_chip_write_256, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10281 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O (0x3B) supported */ |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10282 | .voltage = {2700, 3600}, |
| 10283 | }, |
| 10284 | |
| 10285 | { |
| 10286 | .vendor = "Spansion", |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10287 | .name = "S25FL116K/S25FL216K", /* FIXME: separate them */ |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10288 | .bustype = BUS_SPI, |
| 10289 | .manufacture_id = SPANSION_ID, |
| 10290 | .model_id = SPANSION_S25FL216, |
| 10291 | .total_size = 2048, |
| 10292 | .page_size = 256, |
| 10293 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 (S25FL116K only) */ |
| 10294 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10295 | .tested = TEST_UNTESTED, |
| 10296 | .probe = probe_spi_rdid, |
| 10297 | .probe_timing = TIMING_ZERO, |
| 10298 | .block_erasers = { |
| 10299 | { |
| 10300 | .eraseblocks = { {4 * 1024, 512} }, |
| 10301 | .block_erase = spi_block_erase_20, |
| 10302 | }, { |
| 10303 | .eraseblocks = { {64 * 1024, 32} }, |
| 10304 | .block_erase = spi_block_erase_d8, |
| 10305 | }, { |
| 10306 | .eraseblocks = { { 2048 * 1024, 1} }, |
| 10307 | .block_erase = spi_block_erase_60, |
| 10308 | }, { |
| 10309 | .eraseblocks = { { 2048 * 1024, 1} }, |
| 10310 | .block_erase = spi_block_erase_c7, |
| 10311 | } |
| 10312 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 10313 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10314 | .unlock = spi_disable_blockprotect_bp3_srwd, /* #WP pin write-protects SRWP bit. */ |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10315 | .write = spi_chip_write_256, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10316 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O (0x3B) supported */ |
Nikolay Nikolaev | 0ec2f7e | 2013-06-28 21:29:36 +0000 | [diff] [blame] | 10317 | .voltage = {2700, 3600}, |
| 10318 | }, |
| 10319 | |
| 10320 | { |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 10321 | .vendor = "Spansion", |
Nikolay Martynov | 598968a | 2014-05-04 21:44:13 +0000 | [diff] [blame] | 10322 | .name = "S25FL132K", |
| 10323 | .bustype = BUS_SPI, |
| 10324 | .manufacture_id = SPANSION_ID, |
| 10325 | .model_id = SPANSION_S25FL132K, |
| 10326 | .total_size = 4096, |
| 10327 | .page_size = 256, |
| 10328 | /* OTP: 768B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
| 10329 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10330 | .tested = TEST_UNTESTED, |
| 10331 | .probe = probe_spi_rdid, |
| 10332 | .probe_timing = TIMING_ZERO, |
| 10333 | .block_erasers = { |
| 10334 | { |
| 10335 | .eraseblocks = { {4 * 1024, 1024} }, |
| 10336 | .block_erase = spi_block_erase_20, |
| 10337 | }, { |
| 10338 | .eraseblocks = { {64 * 1024, 64} }, |
| 10339 | .block_erase = spi_block_erase_d8, |
| 10340 | }, { |
| 10341 | .eraseblocks = { { 4096 * 1024, 1} }, |
| 10342 | .block_erase = spi_block_erase_60, |
| 10343 | }, { |
| 10344 | .eraseblocks = { { 4096 * 1024, 1} }, |
| 10345 | .block_erase = spi_block_erase_c7, |
| 10346 | } |
| 10347 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 10348 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* TODO: improve */ |
Nikolay Martynov | 598968a | 2014-05-04 21:44:13 +0000 | [diff] [blame] | 10349 | .unlock = spi_disable_blockprotect_bp2_srwd, /* #WP pin write-protects SRWP bit. */ |
| 10350 | .write = spi_chip_write_256, |
| 10351 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 10352 | .voltage = {2700, 3600}, |
| 10353 | }, |
| 10354 | |
| 10355 | { |
| 10356 | .vendor = "Spansion", |
| 10357 | .name = "S25FL164K", |
| 10358 | .bustype = BUS_SPI, |
| 10359 | .manufacture_id = SPANSION_ID, |
| 10360 | .model_id = SPANSION_S25FL164K, |
| 10361 | .total_size = 8192, |
| 10362 | .page_size = 256, |
| 10363 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
| 10364 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10365 | .tested = TEST_OK_PREW, |
| 10366 | .probe = probe_spi_rdid, |
| 10367 | .probe_timing = TIMING_ZERO, |
| 10368 | .block_erasers = { |
| 10369 | { |
| 10370 | .eraseblocks = { {4 * 1024, 2048} }, |
| 10371 | .block_erase = spi_block_erase_20, |
| 10372 | }, { |
| 10373 | .eraseblocks = { {64 * 1024, 128} }, |
| 10374 | .block_erase = spi_block_erase_d8, |
| 10375 | }, { |
| 10376 | .eraseblocks = { { 8192 * 1024, 1} }, |
| 10377 | .block_erase = spi_block_erase_60, |
| 10378 | }, { |
| 10379 | .eraseblocks = { { 8192 * 1024, 1} }, |
| 10380 | .block_erase = spi_block_erase_c7, |
| 10381 | } |
| 10382 | }, |
Stefan Tauner | 12f3d51 | 2014-05-27 21:27:27 +0000 | [diff] [blame] | 10383 | .printlock = spi_prettyprint_status_register_bp2_srwd, /* TODO: improve */ |
Nikolay Martynov | 598968a | 2014-05-04 21:44:13 +0000 | [diff] [blame] | 10384 | .unlock = spi_disable_blockprotect_bp2_srwd, /* #WP pin write-protects SRWP bit. */ |
| 10385 | .write = spi_chip_write_256, |
| 10386 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 10387 | .voltage = {2700, 3600}, |
| 10388 | }, |
| 10389 | |
| 10390 | { |
| 10391 | .vendor = "Spansion", |
Stefan Tauner | 88b1925 | 2014-08-06 14:36:27 +0000 | [diff] [blame] | 10392 | .name = "S25FL128P......0", /* uniform 64 kB sectors */ |
| 10393 | .bustype = BUS_SPI, |
| 10394 | .manufacture_id = SPANSION_ID, |
| 10395 | .model_id = SPANSION_S25FL128, |
| 10396 | .total_size = 16384, |
| 10397 | .page_size = 256, |
| 10398 | .feature_bits = FEATURE_WRSR_WREN, |
| 10399 | .tested = TEST_UNTESTED, |
| 10400 | .probe = probe_spi_rdid, |
| 10401 | .probe_timing = TIMING_ZERO, |
| 10402 | .block_erasers = { |
| 10403 | { |
| 10404 | .eraseblocks = { {64 * 1024, 256} }, |
| 10405 | .block_erase = spi_block_erase_20, |
| 10406 | }, { |
| 10407 | .eraseblocks = { {64 * 1024, 256} }, |
| 10408 | .block_erase = spi_block_erase_d8, |
| 10409 | }, { |
| 10410 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10411 | .block_erase = spi_block_erase_60, |
| 10412 | }, { |
| 10413 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10414 | .block_erase = spi_block_erase_c7, |
| 10415 | } |
| 10416 | }, |
| 10417 | .printlock = spi_prettyprint_status_register_bp3_srwd, |
| 10418 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 10419 | .write = spi_chip_write_256, |
| 10420 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 10421 | .voltage = {2700, 3600}, |
| 10422 | }, |
| 10423 | |
| 10424 | { |
| 10425 | .vendor = "Spansion", |
| 10426 | .name = "S25FL128P......1", /* uniform 256kB sectors */ |
| 10427 | .bustype = BUS_SPI, |
| 10428 | .manufacture_id = SPANSION_ID, |
| 10429 | .model_id = SPANSION_S25FL128, |
| 10430 | .total_size = 16384, |
| 10431 | .page_size = 256, |
| 10432 | .feature_bits = FEATURE_WRSR_WREN, |
| 10433 | .tested = TEST_UNTESTED, |
| 10434 | .probe = probe_spi_rdid, |
| 10435 | .probe_timing = TIMING_ZERO, |
| 10436 | .block_erasers = { |
| 10437 | { |
| 10438 | .eraseblocks = { {256 * 1024, 64} }, |
| 10439 | .block_erase = spi_block_erase_d8, |
| 10440 | }, { |
| 10441 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10442 | .block_erase = spi_block_erase_c7, |
| 10443 | } |
| 10444 | }, |
| 10445 | .printlock = spi_prettyprint_status_register_bp2_srwd, |
| 10446 | .unlock = spi_disable_blockprotect_bp2_srwd, |
| 10447 | .write = spi_chip_write_256, |
| 10448 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 10449 | .voltage = {2700, 3600}, |
| 10450 | }, |
| 10451 | |
| 10452 | { |
| 10453 | .vendor = "Spansion", |
| 10454 | .name = "S25FL128S......0", /* hybrid: 32 (top or bottom) 4 kB sub-sectors + 64 kB sectors */ |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 10455 | .bustype = BUS_SPI, |
| 10456 | .manufacture_id = SPANSION_ID, |
| 10457 | .model_id = SPANSION_S25FL128, |
| 10458 | .total_size = 16384, |
| 10459 | .page_size = 256, |
| 10460 | /* supports 4B addressing */ |
| 10461 | /* OTP: 1024B total, 32B reserved; read 0x4B; write 0x42 */ |
| 10462 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10463 | .tested = TEST_UNTESTED, |
| 10464 | .probe = probe_spi_rdid, |
| 10465 | .probe_timing = TIMING_ZERO, |
| 10466 | .block_erasers = { |
| 10467 | { |
Stefan Tauner | 88b1925 | 2014-08-06 14:36:27 +0000 | [diff] [blame] | 10468 | /* This chip supports erasing of the 32 so-called "parameter sectors" with |
| 10469 | * opcode 0x20. Trying to access an address outside these 4kB blocks does |
| 10470 | * have no effect on the memory contents, but sets a flag in the SR. |
| 10471 | .eraseblocks = { |
| 10472 | {4 * 1024, 32}, |
| 10473 | {64 * 1024, 254} // inaccessible |
| 10474 | }, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 10475 | .block_erase = spi_block_erase_20, |
Stefan Tauner | 88b1925 | 2014-08-06 14:36:27 +0000 | [diff] [blame] | 10476 | }, { */ |
| 10477 | .eraseblocks = { { 64 * 1024, 256} }, |
| 10478 | .block_erase = spi_block_erase_d8, |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 10479 | }, { |
Stefan Tauner | 88b1925 | 2014-08-06 14:36:27 +0000 | [diff] [blame] | 10480 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10481 | .block_erase = spi_block_erase_60, |
| 10482 | }, { |
| 10483 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10484 | .block_erase = spi_block_erase_c7, |
| 10485 | } |
| 10486 | }, |
| 10487 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, /* TODO: SR2 and many others */ |
| 10488 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: various other locks */ |
| 10489 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 10490 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 10491 | .voltage = {2700, 3600}, |
| 10492 | }, |
| 10493 | |
| 10494 | { |
| 10495 | .vendor = "Spansion", |
| 10496 | .name = "S25FL128S......1", /* uniform 256 kB sectors */ |
| 10497 | .bustype = BUS_SPI, |
| 10498 | .manufacture_id = SPANSION_ID, |
| 10499 | .model_id = SPANSION_S25FL128, |
| 10500 | .total_size = 16384, |
| 10501 | .page_size = 512, |
| 10502 | /* supports 4B addressing */ |
| 10503 | /* OTP: 1024B total, 32B reserved; read 0x4B; write 0x42 */ |
| 10504 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10505 | .tested = TEST_UNTESTED, |
| 10506 | .probe = probe_spi_rdid, |
| 10507 | .probe_timing = TIMING_ZERO, |
| 10508 | .block_erasers = { |
| 10509 | { |
Nikolay Nikolaev | c80c4a3 | 2013-06-28 21:29:44 +0000 | [diff] [blame] | 10510 | .eraseblocks = { {256 * 1024, 64} }, |
| 10511 | .block_erase = spi_block_erase_d8, |
| 10512 | }, { |
| 10513 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10514 | .block_erase = spi_block_erase_60, |
| 10515 | }, { |
| 10516 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10517 | .block_erase = spi_block_erase_c7, |
| 10518 | } |
| 10519 | }, |
| 10520 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, /* TODO: SR2 and many others */ |
| 10521 | .unlock = spi_disable_blockprotect_bp2_srwd, /* TODO: various other locks */ |
| 10522 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 10523 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 10524 | .voltage = {2700, 3600}, |
| 10525 | }, |
| 10526 | |
| 10527 | { |
Stefan Tauner | 88b1925 | 2014-08-06 14:36:27 +0000 | [diff] [blame] | 10528 | .vendor = "Spansion", |
| 10529 | .name = "S25FL129P......0", /* hybrid: 32 (top or bottom) 4 kB sub-sectors + 64 kB sectors */ |
| 10530 | .bustype = BUS_SPI, |
| 10531 | .manufacture_id = SPANSION_ID, |
| 10532 | .model_id = SPANSION_S25FL128, |
| 10533 | .total_size = 16384, |
| 10534 | .page_size = 256, |
| 10535 | /* OTP: 506B total, 16B reserved; read 0x4B; write 0x42 */ |
| 10536 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10537 | .tested = TEST_OK_PREW, |
| 10538 | .probe = probe_spi_rdid, |
| 10539 | .probe_timing = TIMING_ZERO, |
| 10540 | .block_erasers = { |
| 10541 | { |
| 10542 | /* FIXME: This chip supports erasing of the 32 so-called "parameter sectors" with |
| 10543 | * opcode 0x20. Trying to access an address outside these 4kB blocks does have no |
| 10544 | * effect on the memory contents, but sets a flag in the SR. |
| 10545 | .eraseblocks = { |
| 10546 | {4 * 1024, 32}, |
| 10547 | {64 * 1024, 254} // inaccessible |
| 10548 | }, |
| 10549 | .block_erase = spi_block_erase_20, |
| 10550 | }, { */ |
| 10551 | /* FIXME: Additionally it also supports erase opcode 40h for the respective 2*4 kB pairs |
| 10552 | .eraseblocks = { |
| 10553 | {8 * 1024, 16}, |
| 10554 | {64 * 1024, 254} // inaccessible |
| 10555 | }, |
| 10556 | .block_erase = spi_block_erase_40, |
| 10557 | }, { */ |
| 10558 | .eraseblocks = { { 64 * 1024, 256} }, |
| 10559 | .block_erase = spi_block_erase_d8, |
| 10560 | }, { |
| 10561 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10562 | .block_erase = spi_block_erase_60, |
| 10563 | }, { |
| 10564 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10565 | .block_erase = spi_block_erase_c7, |
| 10566 | } |
| 10567 | }, |
| 10568 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, /* TODO: Configuration register */ |
| 10569 | .unlock = spi_disable_blockprotect_bp2_srwd, |
| 10570 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 10571 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 10572 | .voltage = {2700, 3600}, |
| 10573 | }, |
| 10574 | |
| 10575 | { |
| 10576 | .vendor = "Spansion", |
| 10577 | .name = "S25FL129P......1", /* uniform 256 kB sectors */ |
| 10578 | .bustype = BUS_SPI, |
| 10579 | .manufacture_id = SPANSION_ID, |
| 10580 | .model_id = SPANSION_S25FL128, |
| 10581 | .total_size = 16384, |
| 10582 | .page_size = 512, |
| 10583 | /* OTP: 506B total, 16B reserved; read 0x4B; write 0x42 */ |
| 10584 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10585 | .tested = TEST_UNTESTED, |
| 10586 | .probe = probe_spi_rdid, |
| 10587 | .probe_timing = TIMING_ZERO, |
| 10588 | .block_erasers = { |
| 10589 | { |
| 10590 | .eraseblocks = { {256 * 1024, 64} }, |
| 10591 | .block_erase = spi_block_erase_d8, |
| 10592 | }, { |
| 10593 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10594 | .block_erase = spi_block_erase_60, |
| 10595 | }, { |
| 10596 | .eraseblocks = { { 16384 * 1024, 1} }, |
| 10597 | .block_erase = spi_block_erase_c7, |
| 10598 | } |
| 10599 | }, |
| 10600 | .printlock = spi_prettyprint_status_register_bp2_ep_srwd, /* TODO: Configuration register */ |
| 10601 | .unlock = spi_disable_blockprotect_bp2_srwd, |
| 10602 | .write = spi_chip_write_256, /* Multi I/O supported */ |
| 10603 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 10604 | .voltage = {2700, 3600}, |
| 10605 | }, |
| 10606 | |
| 10607 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10608 | .vendor = "SST", |
Idwer Vollering | f3607d1 | 2014-05-07 15:25:04 +0000 | [diff] [blame] | 10609 | .name = "SST25LF020A", |
| 10610 | .bustype = BUS_SPI, |
| 10611 | .manufacture_id = SST_ID, |
| 10612 | .model_id = SST_SST25VF020_REMS, |
| 10613 | .total_size = 256, |
| 10614 | .page_size = 256, |
| 10615 | .feature_bits = FEATURE_WRSR_EWSR, |
| 10616 | .tested = TEST_OK_PREW, |
| 10617 | .probe = probe_spi_rems, |
| 10618 | .probe_timing = TIMING_ZERO, |
| 10619 | .block_erasers = |
| 10620 | { |
| 10621 | { |
| 10622 | .eraseblocks = { {4 * 1024, 64} }, |
| 10623 | .block_erase = spi_block_erase_20, |
| 10624 | }, { |
| 10625 | .eraseblocks = { {32 * 1024, 8} }, |
| 10626 | .block_erase = spi_block_erase_52, |
| 10627 | }, { |
| 10628 | .eraseblocks = { {256 * 1024, 1} }, |
| 10629 | .block_erase = spi_block_erase_60, |
| 10630 | }, |
| 10631 | }, |
| 10632 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: No BP2 & 3 */ |
| 10633 | .unlock = spi_disable_blockprotect, |
| 10634 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 10635 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 10636 | .voltage = {2700, 3600}, |
| 10637 | }, |
| 10638 | |
| 10639 | { |
| 10640 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 10641 | .name = "SST25LF040A", |
| 10642 | .bustype = BUS_SPI, |
| 10643 | .manufacture_id = SST_ID, |
| 10644 | .model_id = SST_SST25VF040_REMS, |
| 10645 | .total_size = 512, |
| 10646 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 10647 | .feature_bits = FEATURE_WRSR_EWSR, |
Uwe Hermann | 4335ec8 | 2011-09-07 20:20:25 +0000 | [diff] [blame] | 10648 | .tested = TEST_OK_PREW, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 10649 | .probe = probe_spi_res2, |
| 10650 | .probe_timing = TIMING_ZERO, |
| 10651 | .block_erasers = |
| 10652 | { |
| 10653 | { |
| 10654 | .eraseblocks = { {4 * 1024, 128} }, |
| 10655 | .block_erase = spi_block_erase_20, |
| 10656 | }, { |
| 10657 | .eraseblocks = { {32 * 1024, 16} }, |
| 10658 | .block_erase = spi_block_erase_52, |
| 10659 | }, { |
| 10660 | .eraseblocks = { {512 * 1024, 1} }, |
| 10661 | .block_erase = spi_block_erase_60, |
| 10662 | }, |
| 10663 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10664 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 10665 | .unlock = spi_disable_blockprotect, |
| 10666 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 10667 | .read = spi_chip_read, |
| 10668 | .voltage = {3000, 3600}, |
| 10669 | }, |
| 10670 | |
| 10671 | { |
| 10672 | .vendor = "SST", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 10673 | .name = "SST25LF080(A)", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 10674 | .bustype = BUS_SPI, |
| 10675 | .manufacture_id = SST_ID, |
| 10676 | .model_id = SST_SST25VF080_REMS, |
| 10677 | .total_size = 1024, |
| 10678 | .page_size = 256, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 10679 | .feature_bits = FEATURE_WRSR_EITHER, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 10680 | .tested = TEST_UNTESTED, |
| 10681 | .probe = probe_spi_res2, |
| 10682 | .probe_timing = TIMING_ZERO, |
| 10683 | .block_erasers = |
| 10684 | { |
| 10685 | { |
| 10686 | .eraseblocks = { {4 * 1024, 256} }, |
| 10687 | .block_erase = spi_block_erase_20, |
| 10688 | }, { |
| 10689 | .eraseblocks = { {32 * 1024, 32} }, |
| 10690 | .block_erase = spi_block_erase_52, |
| 10691 | }, { |
| 10692 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10693 | .block_erase = spi_block_erase_60, |
| 10694 | }, |
| 10695 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10696 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 10697 | .unlock = spi_disable_blockprotect, |
| 10698 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 10699 | .read = spi_chip_read, |
| 10700 | .voltage = {3000, 3600}, |
| 10701 | }, |
| 10702 | |
| 10703 | { |
| 10704 | .vendor = "SST", |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10705 | .name = "SST25VF512(A)", |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10706 | .bustype = BUS_SPI, |
| 10707 | .manufacture_id = SST_ID, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10708 | .model_id = SST_SST25VF512_REMS, |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10709 | .total_size = 64, |
| 10710 | .page_size = 256, |
| 10711 | .feature_bits = FEATURE_WRSR_EWSR, |
| 10712 | .tested = TEST_OK_PREW, |
| 10713 | .probe = probe_spi_rems, |
| 10714 | .probe_timing = TIMING_ZERO, |
| 10715 | .block_erasers = |
| 10716 | { |
| 10717 | { |
| 10718 | .eraseblocks = { {4 * 1024, 16} }, |
| 10719 | .block_erase = spi_block_erase_20, |
| 10720 | }, { |
| 10721 | .eraseblocks = { {32 * 1024, 2} }, |
| 10722 | .block_erase = spi_block_erase_52, |
| 10723 | }, { |
| 10724 | .eraseblocks = { {32 * 1024, 2} }, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10725 | .block_erase = spi_block_erase_d8, /* Supported by SST25VF512A only */ |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10726 | }, { |
| 10727 | .eraseblocks = { {64 * 1024, 1} }, |
| 10728 | .block_erase = spi_block_erase_60, |
| 10729 | }, { |
| 10730 | .eraseblocks = { {64 * 1024, 1} }, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10731 | .block_erase = spi_block_erase_c7, /* Supported by SST25VF512A only */ |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10732 | }, |
| 10733 | }, |
| 10734 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: No BP2 & 3 */ |
| 10735 | .unlock = spi_disable_blockprotect, |
| 10736 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10737 | .read = spi_chip_read, /* Fast read (0x0B) supported by SST25VF512A only */ |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10738 | .voltage = {2700, 3600}, |
| 10739 | }, |
| 10740 | |
| 10741 | { |
| 10742 | .vendor = "SST", |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10743 | .name = "SST25VF010(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10744 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 10745 | .manufacture_id = SST_ID, |
| 10746 | .model_id = SST_SST25VF010_REMS, |
| 10747 | .total_size = 128, |
| 10748 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 10749 | .feature_bits = FEATURE_WRSR_EWSR, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 10750 | .tested = TEST_OK_PREW, |
| 10751 | .probe = probe_spi_rems, |
| 10752 | .probe_timing = TIMING_ZERO, |
| 10753 | .block_erasers = |
| 10754 | { |
| 10755 | { |
| 10756 | .eraseblocks = { {4 * 1024, 32} }, |
| 10757 | .block_erase = spi_block_erase_20, |
| 10758 | }, { |
| 10759 | .eraseblocks = { {32 * 1024, 4} }, |
| 10760 | .block_erase = spi_block_erase_52, |
| 10761 | }, { |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10762 | .eraseblocks = { {32 * 1024, 4} }, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10763 | .block_erase = spi_block_erase_d8, /* Supported by SST25VF010A only */ |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10764 | }, { |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 10765 | .eraseblocks = { {128 * 1024, 1} }, |
| 10766 | .block_erase = spi_block_erase_60, |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10767 | }, { |
| 10768 | .eraseblocks = { {128 * 1024, 1} }, |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10769 | .block_erase = spi_block_erase_c7, /* Supported by SST25VF010A only */ |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10770 | }, |
| 10771 | }, |
| 10772 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: No BP2 & 3 */ |
| 10773 | .unlock = spi_disable_blockprotect, |
| 10774 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 10775 | .read = spi_chip_read, /* Fast read (0x0B) supported by SST25VF010A only */ |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10776 | .voltage = {2700, 3600}, |
| 10777 | }, |
| 10778 | |
| 10779 | { |
| 10780 | .vendor = "SST", |
| 10781 | .name = "SST25VF020", |
| 10782 | .bustype = BUS_SPI, |
| 10783 | .manufacture_id = SST_ID, |
| 10784 | .model_id = SST_SST25VF020_REMS, |
| 10785 | .total_size = 256, |
| 10786 | .page_size = 256, |
| 10787 | .feature_bits = FEATURE_WRSR_EWSR, |
| 10788 | .tested = TEST_UNTESTED, |
| 10789 | .probe = probe_spi_rems, |
| 10790 | .probe_timing = TIMING_ZERO, |
| 10791 | .block_erasers = |
| 10792 | { |
| 10793 | { |
| 10794 | .eraseblocks = { {4 * 1024, 64} }, |
| 10795 | .block_erase = spi_block_erase_20, |
| 10796 | }, { |
| 10797 | .eraseblocks = { {32 * 1024, 8} }, |
| 10798 | .block_erase = spi_block_erase_52, |
| 10799 | }, { |
| 10800 | .eraseblocks = { {256 * 1024, 1} }, |
| 10801 | .block_erase = spi_block_erase_60, |
| 10802 | }, |
| 10803 | }, |
| 10804 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: No BP2 & 3 */ |
| 10805 | .unlock = spi_disable_blockprotect, |
| 10806 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 10807 | .read = spi_chip_read, /* only */ |
| 10808 | .voltage = {2700, 3600}, |
| 10809 | }, |
| 10810 | |
| 10811 | { |
| 10812 | .vendor = "SST", |
| 10813 | .name = "SST25VF020B", |
| 10814 | .bustype = BUS_SPI, |
| 10815 | .manufacture_id = SST_ID, |
| 10816 | .model_id = SST_SST25VF020B, |
| 10817 | .total_size = 256, |
| 10818 | .page_size = 256, |
| 10819 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 10820 | .tested = TEST_OK_PREW, |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10821 | .probe = probe_spi_rdid, |
| 10822 | .probe_timing = TIMING_ZERO, |
| 10823 | .block_erasers = |
| 10824 | { |
| 10825 | { |
| 10826 | .eraseblocks = { {4 * 1024, 64} }, |
| 10827 | .block_erase = spi_block_erase_20, |
| 10828 | }, { |
| 10829 | .eraseblocks = { {32 * 1024, 8} }, |
| 10830 | .block_erase = spi_block_erase_52, |
| 10831 | }, { |
| 10832 | .eraseblocks = { {64 * 1024, 4} }, |
| 10833 | .block_erase = spi_block_erase_d8, |
| 10834 | }, { |
| 10835 | .eraseblocks = { {256 * 1024, 1} }, |
| 10836 | .block_erase = spi_block_erase_60, |
| 10837 | }, { |
| 10838 | .eraseblocks = { {256 * 1024, 1} }, |
| 10839 | .block_erase = spi_block_erase_c7, |
| 10840 | }, |
| 10841 | }, |
| 10842 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: No BP2 & 3 and 2nd SR */ |
| 10843 | .unlock = spi_disable_blockprotect, /* FIXME: 2nd SR */ |
| 10844 | .write = spi_aai_write, /* AAI supported (0xAD) */ |
| 10845 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 10846 | .voltage = {2700, 3600}, |
| 10847 | }, |
| 10848 | |
| 10849 | { |
| 10850 | .vendor = "SST", |
| 10851 | .name = "SST25VF040", |
| 10852 | .bustype = BUS_SPI, |
| 10853 | .manufacture_id = SST_ID, |
| 10854 | .model_id = SST_SST25VF040_REMS, |
| 10855 | .total_size = 512, |
| 10856 | .page_size = 256, |
| 10857 | .feature_bits = FEATURE_WRSR_EWSR, |
| 10858 | .tested = TEST_OK_PR, |
| 10859 | .probe = probe_spi_rems, |
| 10860 | .probe_timing = TIMING_ZERO, |
| 10861 | .block_erasers = |
| 10862 | { |
| 10863 | { |
| 10864 | .eraseblocks = { {4 * 1024, 128} }, |
| 10865 | .block_erase = spi_block_erase_20, |
| 10866 | }, { |
| 10867 | .eraseblocks = { {32 * 1024, 16} }, |
| 10868 | .block_erase = spi_block_erase_52, |
| 10869 | }, { |
| 10870 | .eraseblocks = { {512 * 1024, 1} }, |
| 10871 | .block_erase = spi_block_erase_60, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 10872 | }, |
| 10873 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10874 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 10875 | .unlock = spi_disable_blockprotect, |
Cory Henderson | 370f582 | 2013-10-19 23:09:16 +0000 | [diff] [blame] | 10876 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 10877 | .read = spi_chip_read, |
| 10878 | .voltage = {2700, 3600}, |
| 10879 | }, |
| 10880 | |
| 10881 | { |
| 10882 | .vendor = "SST", |
| 10883 | .name = "SST25VF040B", |
| 10884 | .bustype = BUS_SPI, |
| 10885 | .manufacture_id = SST_ID, |
| 10886 | .model_id = SST_SST25VF040B, |
| 10887 | .total_size = 512, |
| 10888 | .page_size = 256, |
| 10889 | .feature_bits = FEATURE_WRSR_EWSR, |
| 10890 | .tested = TEST_OK_PREW, |
| 10891 | .probe = probe_spi_rdid, |
| 10892 | .probe_timing = TIMING_ZERO, |
| 10893 | .block_erasers = |
| 10894 | { |
| 10895 | { |
| 10896 | .eraseblocks = { {4 * 1024, 128} }, |
| 10897 | .block_erase = spi_block_erase_20, |
| 10898 | }, { |
| 10899 | .eraseblocks = { {32 * 1024, 16} }, |
| 10900 | .block_erase = spi_block_erase_52, |
| 10901 | }, { |
| 10902 | .eraseblocks = { {64 * 1024, 8} }, |
| 10903 | .block_erase = spi_block_erase_d8, |
| 10904 | }, { |
| 10905 | .eraseblocks = { {512 * 1024, 1} }, |
| 10906 | .block_erase = spi_block_erase_60, |
| 10907 | }, { |
| 10908 | .eraseblocks = { {512 * 1024, 1} }, |
| 10909 | .block_erase = spi_block_erase_c7, |
| 10910 | }, |
| 10911 | }, |
| 10912 | .printlock = spi_prettyprint_status_register_sst25vf040b, |
| 10913 | .unlock = spi_disable_blockprotect, |
| 10914 | .write = spi_aai_write, /* AAI supported (0xAD) */ |
| 10915 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 10916 | .voltage = {2700, 3600}, |
| 10917 | }, |
| 10918 | |
| 10919 | { |
| 10920 | .vendor = "SST", |
| 10921 | .name = "SST25VF040B.REMS", |
| 10922 | .bustype = BUS_SPI, |
| 10923 | .manufacture_id = SST_ID, |
| 10924 | .model_id = SST_SST25VF040B_REMS, |
| 10925 | .total_size = 512, |
| 10926 | .page_size = 256, |
| 10927 | .feature_bits = FEATURE_WRSR_EWSR, |
| 10928 | .tested = TEST_OK_PREW, |
| 10929 | .probe = probe_spi_rems, |
| 10930 | .probe_timing = TIMING_ZERO, |
| 10931 | .block_erasers = |
| 10932 | { |
| 10933 | { |
| 10934 | .eraseblocks = { {4 * 1024, 128} }, |
| 10935 | .block_erase = spi_block_erase_20, |
| 10936 | }, { |
| 10937 | .eraseblocks = { {32 * 1024, 16} }, |
| 10938 | .block_erase = spi_block_erase_52, |
| 10939 | }, { |
| 10940 | .eraseblocks = { {64 * 1024, 8} }, |
| 10941 | .block_erase = spi_block_erase_d8, |
| 10942 | }, { |
| 10943 | .eraseblocks = { {512 * 1024, 1} }, |
| 10944 | .block_erase = spi_block_erase_60, |
| 10945 | }, { |
| 10946 | .eraseblocks = { {512 * 1024, 1} }, |
| 10947 | .block_erase = spi_block_erase_c7, |
| 10948 | }, |
| 10949 | }, |
| 10950 | .printlock = spi_prettyprint_status_register_sst25vf040b, |
| 10951 | .unlock = spi_disable_blockprotect, |
| 10952 | .write = spi_aai_write, |
| 10953 | .read = spi_chip_read, |
| 10954 | .voltage = {2700, 3600}, |
| 10955 | }, |
| 10956 | |
| 10957 | { |
| 10958 | .vendor = "SST", |
| 10959 | .name = "SST25VF080B", |
| 10960 | .bustype = BUS_SPI, |
| 10961 | .manufacture_id = SST_ID, |
| 10962 | .model_id = SST_SST25VF080B, |
| 10963 | .total_size = 1024, |
| 10964 | .page_size = 256, |
| 10965 | .feature_bits = FEATURE_WRSR_EWSR, |
| 10966 | .tested = TEST_OK_PREW, |
| 10967 | .probe = probe_spi_rdid, |
| 10968 | .probe_timing = TIMING_ZERO, |
| 10969 | .block_erasers = |
| 10970 | { |
| 10971 | { |
| 10972 | .eraseblocks = { {4 * 1024, 256} }, |
| 10973 | .block_erase = spi_block_erase_20, |
| 10974 | }, { |
| 10975 | .eraseblocks = { {32 * 1024, 32} }, |
| 10976 | .block_erase = spi_block_erase_52, |
| 10977 | }, { |
| 10978 | .eraseblocks = { {64 * 1024, 16} }, |
| 10979 | .block_erase = spi_block_erase_d8, |
| 10980 | }, { |
| 10981 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10982 | .block_erase = spi_block_erase_60, |
| 10983 | }, { |
| 10984 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10985 | .block_erase = spi_block_erase_c7, |
| 10986 | }, |
| 10987 | }, |
| 10988 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
| 10989 | .unlock = spi_disable_blockprotect, |
| 10990 | .write = spi_aai_write, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 10991 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 10992 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 10993 | }, |
| 10994 | |
| 10995 | { |
| 10996 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10997 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10998 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10999 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11000 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11001 | .total_size = 2048, |
| 11002 | .page_size = 256, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 11003 | .feature_bits = FEATURE_WRSR_EITHER, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 11004 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11005 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11006 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 11007 | .block_erasers = |
| 11008 | { |
| 11009 | { |
| 11010 | .eraseblocks = { {4 * 1024, 512} }, |
| 11011 | .block_erase = spi_block_erase_20, |
| 11012 | }, { |
| 11013 | .eraseblocks = { {32 * 1024, 64} }, |
| 11014 | .block_erase = spi_block_erase_52, |
| 11015 | }, { |
| 11016 | .eraseblocks = { {64 * 1024, 32} }, |
| 11017 | .block_erase = spi_block_erase_d8, |
| 11018 | }, { |
| 11019 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 11020 | .block_erase = spi_block_erase_60, |
| 11021 | }, { |
| 11022 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 11023 | .block_erase = spi_block_erase_c7, |
| 11024 | }, |
| 11025 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 11026 | .printlock = spi_prettyprint_status_register_sst25vf016, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 11027 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 11028 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11029 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11030 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11031 | }, |
| 11032 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11033 | { |
| 11034 | .vendor = "SST", |
| 11035 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11036 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11037 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11038 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11039 | .total_size = 4096, |
| 11040 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 11041 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 11042 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11043 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11044 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 11045 | .block_erasers = |
| 11046 | { |
| 11047 | { |
| 11048 | .eraseblocks = { {4 * 1024, 1024} }, |
| 11049 | .block_erase = spi_block_erase_20, |
| 11050 | }, { |
| 11051 | .eraseblocks = { {32 * 1024, 128} }, |
| 11052 | .block_erase = spi_block_erase_52, |
| 11053 | }, { |
| 11054 | .eraseblocks = { {64 * 1024, 64} }, |
| 11055 | .block_erase = spi_block_erase_d8, |
| 11056 | }, { |
| 11057 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 11058 | .block_erase = spi_block_erase_60, |
| 11059 | }, { |
| 11060 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 11061 | .block_erase = spi_block_erase_c7, |
| 11062 | }, |
| 11063 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 11064 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 11065 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 11066 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 11067 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11068 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 11069 | }, |
| 11070 | |
| 11071 | { |
| 11072 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 11073 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11074 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 11075 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11076 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 11077 | .total_size = 8192, |
| 11078 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 11079 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 11080 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 11081 | .probe = probe_spi_rdid, |
| 11082 | .probe_timing = TIMING_ZERO, |
| 11083 | .block_erasers = |
| 11084 | { |
| 11085 | { |
| 11086 | .eraseblocks = { {4 * 1024, 2048} }, |
| 11087 | .block_erase = spi_block_erase_20, |
| 11088 | }, { |
| 11089 | .eraseblocks = { {32 * 1024, 256} }, |
| 11090 | .block_erase = spi_block_erase_52, |
| 11091 | }, { |
| 11092 | .eraseblocks = { {64 * 1024, 128} }, |
| 11093 | .block_erase = spi_block_erase_d8, |
| 11094 | }, { |
| 11095 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 11096 | .block_erase = spi_block_erase_60, |
| 11097 | }, { |
| 11098 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 11099 | .block_erase = spi_block_erase_c7, |
| 11100 | }, |
| 11101 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 11102 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 11103 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 11104 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 11105 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11106 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 11107 | }, |
| 11108 | |
| 11109 | { |
| 11110 | .vendor = "SST", |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 11111 | .name = "SST25WF512", |
| 11112 | .bustype = BUS_SPI, |
| 11113 | .manufacture_id = SST_ID, |
| 11114 | .model_id = SST_SST25WF512, |
| 11115 | .total_size = 64, |
| 11116 | .page_size = 256, |
| 11117 | .feature_bits = FEATURE_WRSR_EITHER, |
| 11118 | .tested = TEST_UNTESTED, |
| 11119 | .probe = probe_spi_rdid, |
| 11120 | .probe_timing = TIMING_ZERO, |
| 11121 | .block_erasers = |
| 11122 | { |
| 11123 | { |
| 11124 | .eraseblocks = { {4 * 1024, 16} }, |
| 11125 | .block_erase = spi_block_erase_20, |
| 11126 | }, { |
| 11127 | .eraseblocks = { {32 * 1024, 2} }, |
| 11128 | .block_erase = spi_block_erase_52, |
| 11129 | }, { |
| 11130 | .eraseblocks = { {1024 * 64, 1} }, |
| 11131 | .block_erase = spi_block_erase_60, |
| 11132 | }, { |
| 11133 | .eraseblocks = { {1024 * 64, 1} }, |
| 11134 | .block_erase = spi_block_erase_c7, |
| 11135 | }, |
| 11136 | }, |
Jason Harper | 43ddef0 | 2014-05-04 00:55:24 +0000 | [diff] [blame] | 11137 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: does not have a BP3 */ |
| 11138 | .unlock = spi_disable_blockprotect_bp2_srwd, |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 11139 | .write = spi_aai_write, |
| 11140 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 11141 | .voltage = {1650, 1950}, |
| 11142 | }, |
| 11143 | |
| 11144 | { |
| 11145 | .vendor = "SST", |
| 11146 | .name = "SST25WF010", |
| 11147 | .bustype = BUS_SPI, |
| 11148 | .manufacture_id = SST_ID, |
| 11149 | .model_id = SST_SST25WF010, |
| 11150 | .total_size = 128, |
| 11151 | .page_size = 256, |
| 11152 | .feature_bits = FEATURE_WRSR_EITHER, |
| 11153 | .tested = TEST_UNTESTED, |
| 11154 | .probe = probe_spi_rdid, |
| 11155 | .probe_timing = TIMING_ZERO, |
| 11156 | .block_erasers = |
| 11157 | { |
| 11158 | { |
| 11159 | .eraseblocks = { {4 * 1024, 32} }, |
| 11160 | .block_erase = spi_block_erase_20, |
| 11161 | }, { |
| 11162 | .eraseblocks = { {32 * 1024, 4} }, |
| 11163 | .block_erase = spi_block_erase_52, |
| 11164 | }, { |
| 11165 | .eraseblocks = { {1024 * 128, 1} }, |
| 11166 | .block_erase = spi_block_erase_60, |
| 11167 | }, { |
| 11168 | .eraseblocks = { {1024 * 128, 1} }, |
| 11169 | .block_erase = spi_block_erase_c7, |
| 11170 | }, |
| 11171 | }, |
Jason Harper | 43ddef0 | 2014-05-04 00:55:24 +0000 | [diff] [blame] | 11172 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: does not have a BP3 */ |
| 11173 | .unlock = spi_disable_blockprotect_bp2_srwd, |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 11174 | .write = spi_aai_write, |
| 11175 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 11176 | .voltage = {1650, 1950}, |
| 11177 | }, |
| 11178 | |
| 11179 | { |
| 11180 | .vendor = "SST", |
| 11181 | .name = "SST25WF020", |
| 11182 | .bustype = BUS_SPI, |
| 11183 | .manufacture_id = SST_ID, |
| 11184 | .model_id = SST_SST25WF020, |
| 11185 | .total_size = 256, |
| 11186 | .page_size = 256, |
| 11187 | .feature_bits = FEATURE_WRSR_EITHER, |
| 11188 | .tested = TEST_UNTESTED, |
| 11189 | .probe = probe_spi_rdid, |
| 11190 | .probe_timing = TIMING_ZERO, |
| 11191 | .block_erasers = |
| 11192 | { |
| 11193 | { |
| 11194 | .eraseblocks = { {4 * 1024, 64} }, |
| 11195 | .block_erase = spi_block_erase_20, |
| 11196 | }, { |
| 11197 | .eraseblocks = { {32 * 1024, 8} }, |
| 11198 | .block_erase = spi_block_erase_52, |
| 11199 | }, { |
| 11200 | .eraseblocks = { {64 * 1024, 4} }, |
| 11201 | .block_erase = spi_block_erase_d8, |
| 11202 | }, { |
| 11203 | .eraseblocks = { {1024 * 256, 1} }, |
| 11204 | .block_erase = spi_block_erase_60, |
| 11205 | }, { |
| 11206 | .eraseblocks = { {1024 * 256, 1} }, |
| 11207 | .block_erase = spi_block_erase_c7, |
| 11208 | }, |
| 11209 | }, |
Jason Harper | 43ddef0 | 2014-05-04 00:55:24 +0000 | [diff] [blame] | 11210 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: does not have a BP3 */ |
| 11211 | .unlock = spi_disable_blockprotect_bp2_srwd, |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 11212 | .write = spi_aai_write, |
| 11213 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 11214 | .voltage = {1650, 1950}, |
| 11215 | }, |
| 11216 | |
| 11217 | { |
| 11218 | .vendor = "SST", |
| 11219 | .name = "SST25WF040", |
| 11220 | .bustype = BUS_SPI, |
| 11221 | .manufacture_id = SST_ID, |
| 11222 | .model_id = SST_SST25WF040, |
| 11223 | .total_size = 512, |
| 11224 | .page_size = 256, |
| 11225 | .feature_bits = FEATURE_WRSR_EITHER, |
| 11226 | .tested = TEST_UNTESTED, |
| 11227 | .probe = probe_spi_rdid, |
| 11228 | .probe_timing = TIMING_ZERO, |
| 11229 | .block_erasers = |
| 11230 | { |
| 11231 | { |
| 11232 | .eraseblocks = { {4 * 1024, 128} }, |
| 11233 | .block_erase = spi_block_erase_20, |
| 11234 | }, { |
| 11235 | .eraseblocks = { {32 * 1024, 16} }, |
| 11236 | .block_erase = spi_block_erase_52, |
| 11237 | }, { |
| 11238 | .eraseblocks = { {64 * 1024, 8} }, |
| 11239 | .block_erase = spi_block_erase_d8, |
| 11240 | }, { |
| 11241 | .eraseblocks = { {1024 * 512, 1} }, |
| 11242 | .block_erase = spi_block_erase_60, |
| 11243 | }, { |
| 11244 | .eraseblocks = { {1024 * 512, 1} }, |
| 11245 | .block_erase = spi_block_erase_c7, |
| 11246 | }, |
| 11247 | }, |
Jason Harper | 43ddef0 | 2014-05-04 00:55:24 +0000 | [diff] [blame] | 11248 | .printlock = spi_prettyprint_status_register_sst25, /* FIXME: does not have a BP3 */ |
| 11249 | .unlock = spi_disable_blockprotect_bp2_srwd, |
| 11250 | .write = spi_aai_write, |
| 11251 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 11252 | .voltage = {1650, 1950}, |
| 11253 | }, |
| 11254 | |
| 11255 | { |
| 11256 | .vendor = "SST", |
| 11257 | .name = "SST25WF080", |
| 11258 | .bustype = BUS_SPI, |
| 11259 | .manufacture_id = SST_ID, |
| 11260 | .model_id = SST_SST25WF080, |
| 11261 | .total_size = 1024, |
| 11262 | .page_size = 256, |
| 11263 | .feature_bits = FEATURE_WRSR_EITHER, |
| 11264 | .tested = TEST_OK_PREW, |
| 11265 | .probe = probe_spi_rdid, |
| 11266 | .probe_timing = TIMING_ZERO, |
| 11267 | .block_erasers = |
| 11268 | { |
| 11269 | { |
| 11270 | .eraseblocks = { {4 * 1024, 256} }, |
| 11271 | .block_erase = spi_block_erase_20, |
| 11272 | }, { |
| 11273 | .eraseblocks = { {32 * 1024, 32} }, |
| 11274 | .block_erase = spi_block_erase_52, |
| 11275 | }, { |
| 11276 | .eraseblocks = { {64 * 1024, 16} }, |
| 11277 | .block_erase = spi_block_erase_d8, |
| 11278 | }, { |
| 11279 | .eraseblocks = { {1024 * 1024, 1} }, |
| 11280 | .block_erase = spi_block_erase_60, |
| 11281 | }, { |
| 11282 | .eraseblocks = { {1024 * 1024, 1} }, |
| 11283 | .block_erase = spi_block_erase_c7, |
| 11284 | }, |
| 11285 | }, |
| 11286 | .printlock = spi_prettyprint_status_register_sst25, /* *does* have a BP3 but it is useless */ |
| 11287 | .unlock = spi_disable_blockprotect_bp3_srwd, |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 11288 | .write = spi_aai_write, |
| 11289 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 11290 | .voltage = {1650, 1950}, |
| 11291 | }, |
| 11292 | |
| 11293 | { |
| 11294 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11295 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11296 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11297 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11298 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11299 | .total_size = 512, |
| 11300 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11301 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11302 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11303 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 11304 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11305 | .block_erasers = |
| 11306 | { |
| 11307 | { |
| 11308 | .eraseblocks = { {128, 4096} }, |
| 11309 | .block_erase = erase_sector_28sf040, |
| 11310 | }, { |
| 11311 | .eraseblocks = { {512 * 1024, 1} }, |
| 11312 | .block_erase = erase_chip_28sf040, |
| 11313 | } |
| 11314 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 11315 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11316 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11317 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11318 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11319 | }, |
| 11320 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11321 | { |
| 11322 | .vendor = "SST", |
| 11323 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11324 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11325 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11326 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11327 | .total_size = 128, |
| 11328 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11329 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 11330 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11331 | .probe = probe_jedec, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 11332 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11333 | .block_erasers = |
| 11334 | { |
| 11335 | { |
| 11336 | .eraseblocks = { {128 * 1024, 1} }, |
| 11337 | .block_erase = erase_chip_block_jedec, |
| 11338 | } |
| 11339 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11340 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11341 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11342 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11343 | }, |
| 11344 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11345 | { |
| 11346 | .vendor = "SST", |
| 11347 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11348 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11349 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11350 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11351 | .total_size = 128, |
| 11352 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11353 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11354 | .tested = TEST_UNTESTED, |
| 11355 | .probe = probe_jedec, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 11356 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11357 | .block_erasers = |
| 11358 | { |
| 11359 | { |
| 11360 | .eraseblocks = { {128 * 1024, 1} }, |
| 11361 | .block_erase = erase_chip_block_jedec, |
| 11362 | } |
| 11363 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11364 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11365 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11366 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11367 | }, |
| 11368 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11369 | { |
| 11370 | .vendor = "SST", |
| 11371 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11372 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11373 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11374 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11375 | .total_size = 256, |
| 11376 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11377 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 11378 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11379 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 11380 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11381 | .block_erasers = |
| 11382 | { |
| 11383 | { |
| 11384 | .eraseblocks = { {256 * 1024, 1} }, |
| 11385 | .block_erase = erase_chip_block_jedec, |
| 11386 | } |
| 11387 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11388 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11389 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11390 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11391 | }, |
| 11392 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11393 | { |
| 11394 | .vendor = "SST", |
| 11395 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11396 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11397 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11398 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11399 | .total_size = 256, |
| 11400 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11401 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 11402 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11403 | .probe = probe_jedec, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 11404 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11405 | .block_erasers = |
| 11406 | { |
| 11407 | { |
| 11408 | .eraseblocks = { {256 * 1024, 1} }, |
| 11409 | .block_erase = erase_chip_block_jedec, |
| 11410 | } |
| 11411 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11412 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11413 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11414 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11415 | }, |
| 11416 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11417 | { |
| 11418 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 11419 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11420 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 11421 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11422 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 11423 | .total_size = 64, |
| 11424 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11425 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 11426 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 11427 | .probe = probe_jedec, |
| 11428 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 11429 | .block_erasers = |
| 11430 | { |
| 11431 | { |
| 11432 | .eraseblocks = { {4 * 1024, 16} }, |
| 11433 | .block_erase = erase_sector_jedec, |
| 11434 | }, { |
| 11435 | .eraseblocks = { {64 * 1024, 1} }, |
| 11436 | .block_erase = erase_chip_block_jedec, |
| 11437 | } |
| 11438 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11439 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 11440 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11441 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 11442 | }, |
| 11443 | |
| 11444 | { |
| 11445 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11446 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11447 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11448 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11449 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11450 | .total_size = 128, |
| 11451 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11452 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11453 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11454 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 11455 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11456 | .block_erasers = |
| 11457 | { |
| 11458 | { |
| 11459 | .eraseblocks = { {4 * 1024, 32} }, |
| 11460 | .block_erase = erase_sector_jedec, |
| 11461 | }, { |
| 11462 | .eraseblocks = { {128 * 1024, 1} }, |
| 11463 | .block_erase = erase_chip_block_jedec, |
| 11464 | } |
| 11465 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11466 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11467 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11468 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11469 | }, |
| 11470 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11471 | { |
| 11472 | .vendor = "SST", |
| 11473 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11474 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11475 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11476 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11477 | .total_size = 256, |
| 11478 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11479 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 11480 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11481 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11482 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11483 | .block_erasers = |
| 11484 | { |
| 11485 | { |
| 11486 | .eraseblocks = { {4 * 1024, 64} }, |
| 11487 | .block_erase = erase_sector_jedec, |
| 11488 | }, { |
| 11489 | .eraseblocks = { {256 * 1024, 1} }, |
| 11490 | .block_erase = erase_chip_block_jedec, |
| 11491 | } |
| 11492 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11493 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11494 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11495 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11496 | }, |
| 11497 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11498 | { |
| 11499 | .vendor = "SST", |
| 11500 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11501 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11502 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11503 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11504 | .total_size = 512, |
| 11505 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11506 | .feature_bits = FEATURE_EITHER_RESET, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 11507 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11508 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11509 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11510 | .block_erasers = |
| 11511 | { |
| 11512 | { |
| 11513 | .eraseblocks = { {4 * 1024, 128} }, |
| 11514 | .block_erase = erase_sector_jedec, |
| 11515 | }, { |
| 11516 | .eraseblocks = { {512 * 1024, 1} }, |
| 11517 | .block_erase = erase_chip_block_jedec, |
| 11518 | } |
| 11519 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11520 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11521 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11522 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11523 | }, |
| 11524 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11525 | { |
| 11526 | .vendor = "SST", |
| 11527 | .name = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11528 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11529 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11530 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11531 | .total_size = 64, |
| 11532 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11533 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 11534 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11535 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11536 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11537 | .block_erasers = |
| 11538 | { |
| 11539 | { |
| 11540 | .eraseblocks = { {4 * 1024, 16} }, |
| 11541 | .block_erase = erase_sector_jedec, |
| 11542 | }, { |
| 11543 | .eraseblocks = { {64 * 1024, 1} }, |
| 11544 | .block_erase = erase_chip_block_jedec, |
| 11545 | } |
| 11546 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11547 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11548 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11549 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11550 | }, |
| 11551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11552 | { |
| 11553 | .vendor = "SST", |
| 11554 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11555 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11556 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11557 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11558 | .total_size = 128, |
| 11559 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11560 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 11561 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11562 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11563 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11564 | .block_erasers = |
| 11565 | { |
| 11566 | { |
| 11567 | .eraseblocks = { {4 * 1024, 32} }, |
| 11568 | .block_erase = erase_sector_jedec, |
| 11569 | }, { |
| 11570 | .eraseblocks = { {128 * 1024, 1} }, |
| 11571 | .block_erase = erase_chip_block_jedec, |
| 11572 | } |
| 11573 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11574 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11575 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11576 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11577 | }, |
| 11578 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11579 | { |
| 11580 | .vendor = "SST", |
| 11581 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11582 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11583 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11584 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11585 | .total_size = 256, |
| 11586 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11587 | .feature_bits = FEATURE_EITHER_RESET, |
| 11588 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11589 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11590 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11591 | .block_erasers = |
| 11592 | { |
| 11593 | { |
| 11594 | .eraseblocks = { {4 * 1024, 64} }, |
| 11595 | .block_erase = erase_sector_jedec, |
| 11596 | }, { |
| 11597 | .eraseblocks = { {256 * 1024, 1} }, |
| 11598 | .block_erase = erase_chip_block_jedec, |
| 11599 | } |
| 11600 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11601 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11602 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11603 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11604 | }, |
| 11605 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11606 | { |
| 11607 | .vendor = "SST", |
| 11608 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11609 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11610 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11611 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11612 | .total_size = 512, |
| 11613 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11614 | .feature_bits = FEATURE_EITHER_RESET, |
| 11615 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11616 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11617 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11618 | .block_erasers = |
| 11619 | { |
| 11620 | { |
| 11621 | .eraseblocks = { {4 * 1024, 128} }, |
| 11622 | .block_erase = erase_sector_jedec, |
| 11623 | }, { |
| 11624 | .eraseblocks = { {512 * 1024, 1} }, |
| 11625 | .block_erase = erase_chip_block_jedec, |
| 11626 | } |
| 11627 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11628 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11629 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11630 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 11631 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11633 | { |
| 11634 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 11635 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11636 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 11637 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11638 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 11639 | .total_size = 1024, |
| 11640 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11641 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 11642 | .tested = TEST_UNTESTED, |
| 11643 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11644 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11645 | .block_erasers = |
| 11646 | { |
| 11647 | { |
| 11648 | .eraseblocks = { {4 * 1024, 256} }, |
| 11649 | .block_erase = erase_sector_jedec, |
| 11650 | }, { |
| 11651 | .eraseblocks = { {64 * 1024, 16} }, |
| 11652 | .block_erase = erase_block_jedec, |
| 11653 | }, { |
| 11654 | .eraseblocks = { {1024 * 1024, 1} }, |
| 11655 | .block_erase = erase_chip_block_jedec, |
| 11656 | } |
| 11657 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11658 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11659 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11660 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 11661 | }, |
| 11662 | |
| 11663 | { |
| 11664 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11665 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11666 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11667 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11668 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11669 | .total_size = 256, |
| 11670 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11671 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 11672 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11673 | .probe = probe_jedec, |
| 11674 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11675 | .block_erasers = |
| 11676 | { |
| 11677 | { |
| 11678 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11679 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11680 | }, { |
| 11681 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11682 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11683 | }, { |
| 11684 | .eraseblocks = { {256 * 1024, 1} }, |
| 11685 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 11686 | } |
| 11687 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11688 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11689 | .unlock = unlock_sst_fwhub, |
| 11690 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11691 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11692 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11693 | }, |
| 11694 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11695 | { |
| 11696 | .vendor = "SST", |
| 11697 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11698 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11699 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11700 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11701 | .total_size = 384, |
| 11702 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11703 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 11704 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11705 | .probe = probe_jedec, |
| 11706 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11707 | .block_erasers = |
| 11708 | { |
| 11709 | { |
| 11710 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11711 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11712 | }, { |
| 11713 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11714 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11715 | }, { |
| 11716 | .eraseblocks = { {384 * 1024, 1} }, |
| 11717 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 11718 | } |
| 11719 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11720 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11721 | .unlock = unlock_sst_fwhub, |
| 11722 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11723 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11724 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11725 | }, |
| 11726 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11727 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 11728 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 11729 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 11730 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11731 | .vendor = "SST", |
| 11732 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11733 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11734 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11735 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11736 | .total_size = 512, |
| 11737 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11738 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 11739 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11740 | .probe = probe_jedec, |
| 11741 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 11742 | .block_erasers = |
| 11743 | { |
| 11744 | { |
| 11745 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11746 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 11747 | }, { |
| 11748 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11749 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 11750 | }, { |
| 11751 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11752 | .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] | 11753 | }, |
| 11754 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11755 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11756 | .unlock = unlock_sst_fwhub, |
| 11757 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11758 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11759 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11760 | }, |
| 11761 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11762 | { |
| 11763 | .vendor = "SST", |
| 11764 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11765 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11766 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11767 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11768 | .total_size = 512, |
| 11769 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11770 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11771 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11772 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 11773 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11774 | .block_erasers = |
| 11775 | { |
| 11776 | { |
| 11777 | .eraseblocks = { {4 * 1024, 128} }, |
| 11778 | .block_erase = erase_sector_49lfxxxc, |
| 11779 | }, { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 11780 | .eraseblocks = { |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11781 | {64 * 1024, 7}, |
| 11782 | {32 * 1024, 1}, |
| 11783 | {8 * 1024, 2}, |
| 11784 | {16 * 1024, 1}, |
| 11785 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 11786 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11787 | } |
| 11788 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 11789 | .printlock = printlock_regspace2_block_eraser_1, |
| 11790 | .unlock = unlock_regspace2_block_eraser_1, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 11791 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11792 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11793 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11794 | }, |
| 11795 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11796 | { |
| 11797 | .vendor = "SST", |
| 11798 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11799 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11800 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11801 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11802 | .total_size = 1024, |
| 11803 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11804 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 11805 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11806 | .probe = probe_jedec, |
| 11807 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11808 | .block_erasers = |
| 11809 | { |
| 11810 | { |
| 11811 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11812 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11813 | }, { |
| 11814 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11815 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11816 | }, { |
| 11817 | .eraseblocks = { {1024 * 1024, 1} }, |
| 11818 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 11819 | } |
| 11820 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11821 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 11822 | .unlock = unlock_sst_fwhub, |
| 11823 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11824 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11825 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11826 | }, |
| 11827 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11828 | { |
| 11829 | .vendor = "SST", |
| 11830 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11831 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11832 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11833 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11834 | .total_size = 1024, |
| 11835 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11836 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11837 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11838 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 11839 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11840 | .block_erasers = |
| 11841 | { |
| 11842 | { |
| 11843 | .eraseblocks = { {4 * 1024, 256} }, |
| 11844 | .block_erase = erase_sector_49lfxxxc, |
| 11845 | }, { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 11846 | .eraseblocks = { |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11847 | {64 * 1024, 15}, |
| 11848 | {32 * 1024, 1}, |
| 11849 | {8 * 1024, 2}, |
| 11850 | {16 * 1024, 1}, |
| 11851 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 11852 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11853 | } |
| 11854 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 11855 | .printlock = printlock_regspace2_block_eraser_1, |
| 11856 | .unlock = unlock_regspace2_block_eraser_1, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 11857 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11858 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11859 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11860 | }, |
| 11861 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11862 | { |
| 11863 | .vendor = "SST", |
| 11864 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11865 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11866 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11867 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11868 | .total_size = 2048, |
| 11869 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11870 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 11871 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11872 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 11873 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11874 | .block_erasers = |
| 11875 | { |
| 11876 | { |
| 11877 | .eraseblocks = { {4 * 1024, 512} }, |
| 11878 | .block_erase = erase_sector_49lfxxxc, |
| 11879 | }, { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 11880 | .eraseblocks = { |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11881 | {64 * 1024, 31}, |
| 11882 | {32 * 1024, 1}, |
| 11883 | {8 * 1024, 2}, |
| 11884 | {16 * 1024, 1}, |
| 11885 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 11886 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11887 | } |
| 11888 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 11889 | .printlock = printlock_regspace2_block_eraser_1, |
| 11890 | .unlock = unlock_regspace2_block_eraser_1, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 11891 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11892 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11893 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11894 | }, |
| 11895 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11896 | { |
| 11897 | .vendor = "SST", |
| 11898 | .name = "SST49LF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11899 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11900 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11901 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11902 | .total_size = 256, |
| 11903 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11904 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 11905 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11906 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11907 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11908 | .block_erasers = |
| 11909 | { |
| 11910 | { |
| 11911 | .eraseblocks = { {4 * 1024, 64} }, |
| 11912 | .block_erase = erase_sector_jedec, |
| 11913 | }, { |
| 11914 | .eraseblocks = { {16 * 1024, 16} }, |
| 11915 | .block_erase = erase_block_jedec, |
| 11916 | }, { |
| 11917 | .eraseblocks = { {256 * 1024, 1} }, |
| 11918 | .block_erase = NULL, |
| 11919 | } |
| 11920 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11921 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11922 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11923 | .voltage = {3000, 3600}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 11924 | }, |
| 11925 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11926 | { |
| 11927 | .vendor = "SST", |
| 11928 | .name = "SST49LF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11929 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11930 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11931 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11932 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 11933 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11934 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 11935 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11936 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11937 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11938 | .block_erasers = |
| 11939 | { |
| 11940 | { |
| 11941 | .eraseblocks = { {4 * 1024, 64} }, |
| 11942 | .block_erase = erase_sector_jedec, |
| 11943 | }, { |
| 11944 | .eraseblocks = { {16 * 1024, 16} }, |
| 11945 | .block_erase = erase_block_jedec, |
| 11946 | }, { |
| 11947 | .eraseblocks = { {256 * 1024, 1} }, |
| 11948 | .block_erase = NULL, |
| 11949 | } |
| 11950 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11951 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11952 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11953 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11954 | }, |
| 11955 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11956 | { |
| 11957 | .vendor = "SST", |
| 11958 | .name = "SST49LF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11959 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11960 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11961 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11962 | .total_size = 512, |
| 11963 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11964 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 11965 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11966 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 11967 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11968 | .block_erasers = |
| 11969 | { |
| 11970 | { |
| 11971 | .eraseblocks = { {4 * 1024, 128} }, |
| 11972 | .block_erase = erase_sector_jedec, |
| 11973 | }, { |
| 11974 | .eraseblocks = { {64 * 1024, 8} }, |
| 11975 | .block_erase = erase_block_jedec, |
| 11976 | }, { |
| 11977 | .eraseblocks = { {512 * 1024, 1} }, |
| 11978 | .block_erase = NULL, |
| 11979 | } |
| 11980 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11981 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11982 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11983 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11984 | }, |
| 11985 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11986 | { |
| 11987 | .vendor = "SST", |
| 11988 | .name = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11989 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11990 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11991 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11992 | .total_size = 512, |
| 11993 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 11994 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 11995 | .tested = TEST_OK_PR, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11996 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 11997 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 11998 | .block_erasers = |
| 11999 | { |
| 12000 | { |
| 12001 | .eraseblocks = { {4 * 1024, 128} }, |
| 12002 | .block_erase = erase_sector_jedec, |
| 12003 | }, { |
| 12004 | .eraseblocks = { {64 * 1024, 8} }, |
| 12005 | .block_erase = erase_block_jedec, |
| 12006 | }, { |
| 12007 | .eraseblocks = { {512 * 1024, 1} }, |
| 12008 | .block_erase = NULL, |
| 12009 | } |
| 12010 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12011 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12012 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12013 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12014 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12015 | }, |
| 12016 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12017 | { |
| 12018 | .vendor = "SST", |
| 12019 | .name = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12020 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12021 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 12022 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12023 | .total_size = 1024, |
| 12024 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12025 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 12026 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12027 | .probe = probe_jedec, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 12028 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 12029 | .block_erasers = |
| 12030 | { |
| 12031 | { |
| 12032 | .eraseblocks = { {4 * 1024, 256} }, |
| 12033 | .block_erase = erase_sector_jedec, |
| 12034 | }, { |
| 12035 | .eraseblocks = { {64 * 1024, 16} }, |
| 12036 | .block_erase = erase_block_jedec, |
| 12037 | }, { |
| 12038 | .eraseblocks = { {1024 * 1024, 1} }, |
| 12039 | .block_erase = NULL, |
| 12040 | } |
| 12041 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12042 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12043 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12044 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12045 | }, |
| 12046 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12047 | { |
| 12048 | .vendor = "SST", |
| 12049 | .name = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12050 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12051 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 12052 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12053 | .total_size = 2048, |
| 12054 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12055 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12056 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12057 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 12058 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 12059 | .block_erasers = |
| 12060 | { |
| 12061 | { |
| 12062 | .eraseblocks = { {4 * 1024, 512} }, |
| 12063 | .block_erase = erase_sector_49lfxxxc, |
| 12064 | }, { |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 12065 | .eraseblocks = { |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 12066 | {64 * 1024, 31}, |
| 12067 | {32 * 1024, 1}, |
| 12068 | {8 * 1024, 2}, |
| 12069 | {16 * 1024, 1}, |
| 12070 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 12071 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 12072 | } |
| 12073 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12074 | .printlock = printlock_regspace2_block_eraser_1, |
| 12075 | .unlock = unlock_regspace2_block_eraser_1, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 12076 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12077 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12078 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12079 | }, |
| 12080 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12081 | { |
| 12082 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12083 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12084 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12085 | .manufacture_id = ST_ID, |
| 12086 | .model_id = ST_M29F002B, |
| 12087 | .total_size = 256, |
| 12088 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12089 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12090 | .tested = TEST_UNTESTED, |
| 12091 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12092 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12093 | .block_erasers = |
| 12094 | { |
| 12095 | { |
| 12096 | .eraseblocks = { |
| 12097 | {16 * 1024, 1}, |
| 12098 | {8 * 1024, 2}, |
| 12099 | {32 * 1024, 1}, |
| 12100 | {64 * 1024, 3}, |
| 12101 | }, |
| 12102 | .block_erase = erase_sector_jedec, |
| 12103 | }, { |
| 12104 | .eraseblocks = { {256 * 1024, 1} }, |
| 12105 | .block_erase = erase_chip_block_jedec, |
| 12106 | } |
| 12107 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12108 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12109 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 12110 | .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] | 12111 | }, |
| 12112 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12113 | { |
| 12114 | .vendor = "ST", |
| 12115 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12116 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12117 | .manufacture_id = ST_ID, |
| 12118 | .model_id = ST_M29F002T, |
| 12119 | .total_size = 256, |
| 12120 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12121 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 12122 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12123 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12124 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12125 | .block_erasers = |
| 12126 | { |
| 12127 | { |
| 12128 | .eraseblocks = { |
| 12129 | {64 * 1024, 3}, |
| 12130 | {32 * 1024, 1}, |
| 12131 | {8 * 1024, 2}, |
| 12132 | {16 * 1024, 1}, |
| 12133 | }, |
| 12134 | .block_erase = erase_sector_jedec, |
| 12135 | }, { |
| 12136 | .eraseblocks = { {256 * 1024, 1} }, |
| 12137 | .block_erase = erase_chip_block_jedec, |
| 12138 | } |
| 12139 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12140 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12141 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 12142 | .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] | 12143 | }, |
| 12144 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12145 | { |
| 12146 | .vendor = "ST", |
| 12147 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12148 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12149 | .manufacture_id = ST_ID, |
| 12150 | .model_id = ST_M29F040B, |
| 12151 | .total_size = 512, |
| 12152 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12153 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 12154 | .tested = TEST_UNTESTED, |
| 12155 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 12156 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12157 | .block_erasers = |
| 12158 | { |
| 12159 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12160 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12161 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12162 | }, { |
| 12163 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12164 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12165 | } |
| 12166 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12167 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12168 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12169 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12170 | }, |
| 12171 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12172 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12173 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12174 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 12175 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12176 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 12177 | .manufacture_id = ST_ID, |
| 12178 | .model_id = ST_M29F400BB, |
| 12179 | .total_size = 512, |
| 12180 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12181 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 12182 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12183 | .probe = probe_jedec, |
| 12184 | .probe_timing = 10, // FIXME: check datasheet. Using the 10 us from probe_m29f400bt |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 12185 | .block_erasers = |
| 12186 | { |
| 12187 | { |
| 12188 | .eraseblocks = { |
| 12189 | {16 * 1024, 1}, |
| 12190 | {8 * 1024, 2}, |
| 12191 | {32 * 1024, 1}, |
| 12192 | {64 * 1024, 7}, |
| 12193 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12194 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 12195 | }, { |
| 12196 | .eraseblocks = { {512 * 1024, 1} }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12197 | .block_erase = erase_chip_block_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 12198 | } |
| 12199 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12200 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 12201 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12202 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 12203 | }, |
| 12204 | { |
| 12205 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 12206 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12207 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12208 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12209 | .manufacture_id = ST_ID, |
| 12210 | .model_id = ST_M29F400BT, |
| 12211 | .total_size = 512, |
| 12212 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12213 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12214 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12215 | .probe = probe_jedec, |
| 12216 | .probe_timing = 10, // FIXME: check datasheet. Using the 10 us from probe_m29f400bt |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12217 | .block_erasers = |
| 12218 | { |
| 12219 | { |
| 12220 | .eraseblocks = { |
| 12221 | {64 * 1024, 7}, |
| 12222 | {32 * 1024, 1}, |
| 12223 | {8 * 1024, 2}, |
| 12224 | {16 * 1024, 1}, |
| 12225 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12226 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12227 | }, { |
| 12228 | .eraseblocks = { {512 * 1024, 1} }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12229 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12230 | } |
| 12231 | }, |
Carl-Daniel Hailfinger | a8cf362 | 2014-08-08 08:33:01 +0000 | [diff] [blame] | 12232 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12233 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12234 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12235 | }, |
| 12236 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12237 | { |
| 12238 | .vendor = "ST", |
| 12239 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12240 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12241 | .manufacture_id = ST_ID, |
| 12242 | .model_id = ST_M29W010B, |
| 12243 | .total_size = 128, |
| 12244 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12245 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12246 | .tested = TEST_UNTESTED, |
| 12247 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12248 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12249 | .block_erasers = |
| 12250 | { |
| 12251 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12252 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12253 | .block_erase = erase_sector_jedec, |
| 12254 | }, { |
| 12255 | .eraseblocks = { {128 * 1024, 1} }, |
| 12256 | .block_erase = erase_chip_block_jedec, |
| 12257 | } |
| 12258 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12259 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12260 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12261 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12262 | }, |
| 12263 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12264 | { |
| 12265 | .vendor = "ST", |
| 12266 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12267 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12268 | .manufacture_id = ST_ID, |
| 12269 | .model_id = ST_M29W040B, |
| 12270 | .total_size = 512, |
| 12271 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12272 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12273 | .tested = TEST_UNTESTED, |
| 12274 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12275 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12276 | .block_erasers = |
| 12277 | { |
| 12278 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12279 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12280 | .block_erase = erase_sector_jedec, |
| 12281 | }, { |
| 12282 | .eraseblocks = { {512 * 1024, 1} }, |
| 12283 | .block_erase = erase_chip_block_jedec, |
| 12284 | } |
| 12285 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12286 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12287 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12288 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12289 | }, |
| 12290 | |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 12291 | { |
| 12292 | .vendor = "ST", |
| 12293 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12294 | .bustype = BUS_PARALLEL, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 12295 | .manufacture_id = ST_ID, |
| 12296 | .model_id = ST_M29W512B, |
| 12297 | .total_size = 64, |
| 12298 | .page_size = 64 * 1024, |
| 12299 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 12300 | .tested = TEST_OK_PREW, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 12301 | .probe = probe_jedec, |
| 12302 | .probe_timing = TIMING_ZERO, |
| 12303 | .block_erasers = |
| 12304 | { |
| 12305 | { |
| 12306 | .eraseblocks = { {64 * 1024, 1} }, |
| 12307 | .block_erase = erase_chip_block_jedec, |
| 12308 | } |
| 12309 | }, |
| 12310 | .write = write_jedec_1, |
| 12311 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12312 | .voltage = {2700, 3600}, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 12313 | }, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 12314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12315 | { |
| 12316 | .vendor = "ST", |
| 12317 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12318 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12319 | .manufacture_id = ST_ID, |
| 12320 | .model_id = ST_M50FLW040A, |
| 12321 | .total_size = 512, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12322 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12323 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12324 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12325 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 12326 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12327 | .block_erasers = |
| 12328 | { |
| 12329 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12330 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 12331 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12332 | {64 * 1024, 5}, /* block */ |
| 12333 | {4 * 1024, 16}, /* sector */ |
| 12334 | {4 * 1024, 16}, /* sector */ |
| 12335 | }, |
Stefan Tauner | beaffd8 | 2013-09-12 08:29:06 +0000 | [diff] [blame] | 12336 | .block_erase = erase_sector_stm50, |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12337 | }, { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12338 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12339 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12340 | } |
| 12341 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12342 | .write = write_82802ab, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12343 | .unlock = unlock_regspace2_uniform_64k, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12344 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12345 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12346 | }, |
| 12347 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12348 | { |
| 12349 | .vendor = "ST", |
| 12350 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12351 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12352 | .manufacture_id = ST_ID, |
| 12353 | .model_id = ST_M50FLW040B, |
| 12354 | .total_size = 512, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12355 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12356 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12357 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12358 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 12359 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12360 | .block_erasers = |
| 12361 | { |
| 12362 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12363 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 12364 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12365 | {4 * 1024, 16}, /* sector */ |
| 12366 | {64 * 1024, 5}, /* block */ |
| 12367 | {4 * 1024, 16}, /* sector */ |
| 12368 | }, |
Stefan Tauner | beaffd8 | 2013-09-12 08:29:06 +0000 | [diff] [blame] | 12369 | .block_erase = erase_sector_stm50, |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12370 | }, { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12371 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12372 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12373 | } |
| 12374 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12375 | .write = write_82802ab, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12376 | .unlock = unlock_regspace2_uniform_64k, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12377 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12378 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12379 | }, |
| 12380 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12381 | { |
| 12382 | .vendor = "ST", |
| 12383 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12384 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12385 | .manufacture_id = ST_ID, |
| 12386 | .model_id = ST_M50FLW080A, |
| 12387 | .total_size = 1024, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12388 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12389 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12390 | .tested = TEST_OK_PR, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12391 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 12392 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12393 | .block_erasers = |
| 12394 | { |
| 12395 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12396 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 12397 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12398 | {64 * 1024, 13}, /* block */ |
| 12399 | {4 * 1024, 16}, /* sector */ |
| 12400 | {4 * 1024, 16}, /* sector */ |
| 12401 | }, |
Stefan Tauner | beaffd8 | 2013-09-12 08:29:06 +0000 | [diff] [blame] | 12402 | .block_erase = erase_sector_stm50, |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12403 | }, { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12404 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12405 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12406 | } |
| 12407 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12408 | .printlock = printlock_regspace2_block_eraser_0, |
| 12409 | .unlock = unlock_regspace2_block_eraser_0, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12410 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12411 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12412 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12413 | }, |
| 12414 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12415 | { |
| 12416 | .vendor = "ST", |
| 12417 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12418 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12419 | .manufacture_id = ST_ID, |
| 12420 | .model_id = ST_M50FLW080B, |
| 12421 | .total_size = 1024, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12422 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12423 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12424 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12425 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 12426 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12427 | .block_erasers = |
| 12428 | { |
| 12429 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12430 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 12431 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12432 | {4 * 1024, 16}, /* sector */ |
| 12433 | {64 * 1024, 13}, /* block */ |
| 12434 | {4 * 1024, 16}, /* sector */ |
| 12435 | }, |
Stefan Tauner | beaffd8 | 2013-09-12 08:29:06 +0000 | [diff] [blame] | 12436 | .block_erase = erase_sector_stm50, |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 12437 | }, { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12438 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12439 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12440 | } |
| 12441 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12442 | .printlock = printlock_regspace2_block_eraser_0, |
| 12443 | .unlock = unlock_regspace2_block_eraser_0, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12444 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12445 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12446 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12447 | }, |
| 12448 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12449 | { |
| 12450 | .vendor = "ST", |
| 12451 | .name = "M50FW002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12452 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12453 | .manufacture_id = ST_ID, |
| 12454 | .model_id = ST_M50FW002, |
| 12455 | .total_size = 256, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12456 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12457 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12458 | .tested = TEST_OK_PR, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12459 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12460 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12461 | .block_erasers = |
| 12462 | { |
| 12463 | { |
| 12464 | .eraseblocks = { |
| 12465 | {64 * 1024, 3}, |
| 12466 | {32 * 1024, 1}, |
| 12467 | {8 * 1024, 2}, |
| 12468 | {16 * 1024, 1}, |
| 12469 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12470 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12471 | }, { |
| 12472 | .eraseblocks = { {256 * 1024, 1}, }, |
| 12473 | .block_erase = NULL, /* Only in A/A mux mode */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12474 | } |
| 12475 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12476 | .printlock = printlock_regspace2_block_eraser_0, |
| 12477 | .unlock = unlock_regspace2_block_eraser_0, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12478 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12479 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12480 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12481 | }, |
| 12482 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12483 | { |
| 12484 | .vendor = "ST", |
| 12485 | .name = "M50FW016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12486 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12487 | .manufacture_id = ST_ID, |
| 12488 | .model_id = ST_M50FW016, |
| 12489 | .total_size = 2048, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12490 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12491 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12492 | .tested = TEST_UNTESTED, |
| 12493 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 12494 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12495 | .block_erasers = |
| 12496 | { |
| 12497 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12498 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12499 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12500 | } |
| 12501 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12502 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12503 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12504 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12505 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12506 | }, |
| 12507 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12508 | { |
| 12509 | .vendor = "ST", |
| 12510 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12511 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12512 | .manufacture_id = ST_ID, |
| 12513 | .model_id = ST_M50FW040, |
| 12514 | .total_size = 512, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12515 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12516 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12517 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12518 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 12519 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12520 | .block_erasers = |
| 12521 | { |
| 12522 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12523 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12524 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12525 | } |
| 12526 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12527 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12528 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12529 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12530 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12531 | }, |
| 12532 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12533 | { |
| 12534 | .vendor = "ST", |
| 12535 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12536 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12537 | .manufacture_id = ST_ID, |
| 12538 | .model_id = ST_M50FW080, |
| 12539 | .total_size = 1024, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12540 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12541 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12542 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12543 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 12544 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12545 | .block_erasers = |
| 12546 | { |
| 12547 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12548 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12549 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12550 | } |
| 12551 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12552 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12553 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12554 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12555 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12556 | }, |
| 12557 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12558 | { |
| 12559 | .vendor = "ST", |
Stefan Tauner | 8c4602b | 2013-09-12 08:29:00 +0000 | [diff] [blame] | 12560 | .name = "M50LPW080", |
| 12561 | .bustype = BUS_LPC, /* A/A Mux */ |
| 12562 | .manufacture_id = ST_ID, |
| 12563 | .model_id = ST_M50LPW080, |
| 12564 | .total_size = 1024, |
| 12565 | .page_size = 0, |
| 12566 | .feature_bits = FEATURE_REGISTERMAP, |
| 12567 | .tested = TEST_UNTESTED, |
| 12568 | .probe = probe_82802ab, |
| 12569 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 12570 | .block_erasers = |
| 12571 | { |
| 12572 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 12573 | .eraseblocks = { {64 * 1024, 16} }, |
Stefan Tauner | 8c4602b | 2013-09-12 08:29:00 +0000 | [diff] [blame] | 12574 | .block_erase = erase_block_82802ab, |
| 12575 | } |
| 12576 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12577 | .unlock = unlock_regspace2_uniform_64k, |
Stefan Tauner | 8c4602b | 2013-09-12 08:29:00 +0000 | [diff] [blame] | 12578 | .write = write_82802ab, |
| 12579 | .read = read_memmapped, |
| 12580 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
| 12581 | }, |
| 12582 | |
| 12583 | { |
| 12584 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12585 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12586 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12587 | .manufacture_id = ST_ID, |
| 12588 | .model_id = ST_M50LPW116, |
| 12589 | .total_size = 2048, |
Stefan Tauner | 4404f73 | 2013-09-12 08:28:56 +0000 | [diff] [blame] | 12590 | .page_size = 0, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 12591 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12592 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12593 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12594 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12595 | .block_erasers = |
| 12596 | { |
| 12597 | { |
| 12598 | .eraseblocks = { |
| 12599 | {4 * 1024, 16}, |
| 12600 | {64 * 1024, 30}, |
| 12601 | {32 * 1024, 1}, |
| 12602 | {8 * 1024, 2}, |
| 12603 | {16 * 1024, 1}, |
| 12604 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12605 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12606 | } |
| 12607 | }, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 12608 | .printlock = printlock_regspace2_block_eraser_0, |
| 12609 | .unlock = unlock_regspace2_block_eraser_0, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 12610 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12611 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12612 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12613 | }, |
| 12614 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12615 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12616 | .vendor = "SyncMOS/MoselVitelic", |
| 12617 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12618 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12619 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12620 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12621 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12622 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12623 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12624 | .tested = TEST_UNTESTED, |
| 12625 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12626 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12627 | .block_erasers = |
| 12628 | { |
| 12629 | { |
| 12630 | .eraseblocks = { {512, 256} }, |
| 12631 | .block_erase = erase_sector_jedec, |
| 12632 | }, { |
| 12633 | .eraseblocks = { {128 * 1024, 1} }, |
| 12634 | .block_erase = erase_chip_block_jedec, |
| 12635 | }, |
| 12636 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12637 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12638 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12639 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12640 | }, |
| 12641 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12642 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12643 | .vendor = "SyncMOS/MoselVitelic", |
| 12644 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12645 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12646 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12647 | .model_id = SM_MVC_29C51001T, |
| 12648 | .total_size = 128, |
| 12649 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12650 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12651 | .tested = TEST_UNTESTED, |
| 12652 | .probe = probe_jedec, |
| 12653 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 12654 | .block_erasers = |
| 12655 | { |
| 12656 | { |
| 12657 | .eraseblocks = { {512, 256} }, |
| 12658 | .block_erase = erase_sector_jedec, |
| 12659 | }, { |
| 12660 | .eraseblocks = { {128 * 1024, 1} }, |
| 12661 | .block_erase = erase_chip_block_jedec, |
| 12662 | }, |
| 12663 | }, |
| 12664 | .write = write_jedec_1, |
| 12665 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12666 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12667 | }, |
| 12668 | |
| 12669 | { |
| 12670 | .vendor = "SyncMOS/MoselVitelic", |
| 12671 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12672 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12673 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12674 | .model_id = SM_MVC_29C51002B, |
| 12675 | .total_size = 256, |
| 12676 | .page_size = 512, |
| 12677 | .feature_bits = FEATURE_EITHER_RESET, |
| 12678 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12679 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12680 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12681 | .block_erasers = |
| 12682 | { |
| 12683 | { |
| 12684 | .eraseblocks = { {512, 512} }, |
| 12685 | .block_erase = erase_sector_jedec, |
| 12686 | }, { |
| 12687 | .eraseblocks = { {256 * 1024, 1} }, |
| 12688 | .block_erase = erase_chip_block_jedec, |
| 12689 | }, |
| 12690 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12691 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12692 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12693 | }, |
| 12694 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12695 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12696 | .vendor = "SyncMOS/MoselVitelic", |
| 12697 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12698 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12699 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12700 | .model_id = SM_MVC_29C51002T, |
| 12701 | .total_size = 256, |
| 12702 | .page_size = 512, |
| 12703 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 12704 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12705 | .probe = probe_jedec, |
| 12706 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 12707 | .block_erasers = |
| 12708 | { |
| 12709 | { |
| 12710 | .eraseblocks = { {512, 512} }, |
| 12711 | .block_erase = erase_sector_jedec, |
| 12712 | }, { |
| 12713 | .eraseblocks = { {256 * 1024, 1} }, |
| 12714 | .block_erase = erase_chip_block_jedec, |
| 12715 | }, |
| 12716 | }, |
| 12717 | .write = write_jedec_1, |
| 12718 | .read = read_memmapped, |
| 12719 | }, |
| 12720 | |
| 12721 | { |
| 12722 | .vendor = "SyncMOS/MoselVitelic", |
| 12723 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12724 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12725 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12726 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12727 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12728 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12729 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12730 | .tested = TEST_UNTESTED, |
| 12731 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12732 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12733 | .block_erasers = |
| 12734 | { |
| 12735 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12736 | .eraseblocks = { {1024, 512} }, |
| 12737 | .block_erase = erase_sector_jedec, |
| 12738 | }, { |
| 12739 | .eraseblocks = { {512 * 1024, 1} }, |
| 12740 | .block_erase = erase_chip_block_jedec, |
| 12741 | }, |
| 12742 | }, |
| 12743 | .write = write_jedec_1, |
| 12744 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12745 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12746 | }, |
| 12747 | |
| 12748 | { |
| 12749 | .vendor = "SyncMOS/MoselVitelic", |
| 12750 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12751 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12752 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12753 | .model_id = SM_MVC_29C51004T, |
| 12754 | .total_size = 512, |
| 12755 | .page_size = 1024, |
| 12756 | .feature_bits = FEATURE_EITHER_RESET, |
| 12757 | .tested = TEST_UNTESTED, |
| 12758 | .probe = probe_jedec, |
| 12759 | .probe_timing = TIMING_ZERO, |
| 12760 | .block_erasers = |
| 12761 | { |
| 12762 | { |
| 12763 | .eraseblocks = { {1024, 512} }, |
| 12764 | .block_erase = erase_sector_jedec, |
| 12765 | }, { |
| 12766 | .eraseblocks = { {512 * 1024, 1} }, |
| 12767 | .block_erase = erase_chip_block_jedec, |
| 12768 | }, |
| 12769 | }, |
| 12770 | .write = write_jedec_1, |
| 12771 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12772 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12773 | }, |
| 12774 | |
| 12775 | { |
| 12776 | .vendor = "SyncMOS/MoselVitelic", |
| 12777 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12778 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12779 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12780 | .model_id = SM_MVC_29C31004B, |
| 12781 | .total_size = 512, |
| 12782 | .page_size = 1024, |
| 12783 | .feature_bits = FEATURE_EITHER_RESET, |
| 12784 | .tested = TEST_UNTESTED, |
| 12785 | .probe = probe_jedec, |
| 12786 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 12787 | .block_erasers = |
| 12788 | { |
| 12789 | { |
| 12790 | .eraseblocks = { {1024, 512} }, |
| 12791 | .block_erase = erase_sector_jedec, |
| 12792 | }, { |
| 12793 | .eraseblocks = { {512 * 1024, 1} }, |
| 12794 | .block_erase = erase_chip_block_jedec, |
| 12795 | }, |
| 12796 | }, |
| 12797 | .write = write_jedec_1, |
| 12798 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12799 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12800 | }, |
| 12801 | |
| 12802 | { |
| 12803 | .vendor = "SyncMOS/MoselVitelic", |
| 12804 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12805 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 12806 | .manufacture_id = SYNCMOS_MVC_ID, |
| 12807 | .model_id = SM_MVC_29C31004T, |
| 12808 | .total_size = 512, |
| 12809 | .page_size = 1024, |
| 12810 | .feature_bits = FEATURE_EITHER_RESET, |
| 12811 | .tested = TEST_UNTESTED, |
| 12812 | .probe = probe_jedec, |
| 12813 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 12814 | .block_erasers = |
| 12815 | { |
| 12816 | { |
| 12817 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12818 | .block_erase = erase_sector_jedec, |
| 12819 | }, { |
| 12820 | .eraseblocks = { {512 * 1024, 1} }, |
| 12821 | .block_erase = erase_chip_block_jedec, |
| 12822 | }, |
| 12823 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12824 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 12825 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12826 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 12827 | }, |
| 12828 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12829 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 12830 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12831 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12832 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12833 | .manufacture_id = TI_OLD_ID, |
| 12834 | .model_id = TI_TMS29F002RB, |
| 12835 | .total_size = 256, |
| 12836 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12837 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12838 | .tested = TEST_UNTESTED, |
| 12839 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12840 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12841 | .block_erasers = |
| 12842 | { |
| 12843 | { |
| 12844 | .eraseblocks = { |
| 12845 | {16 * 1024, 1}, |
| 12846 | {8 * 1024, 2}, |
| 12847 | {32 * 1024, 1}, |
| 12848 | {64 * 1024, 3}, |
| 12849 | }, |
| 12850 | .block_erase = erase_sector_jedec, |
| 12851 | }, { |
| 12852 | .eraseblocks = { {256 * 1024, 1} }, |
| 12853 | .block_erase = erase_chip_block_jedec, |
| 12854 | }, |
| 12855 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12856 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12857 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12858 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12859 | }, |
| 12860 | |
| 12861 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 12862 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12863 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12864 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12865 | .manufacture_id = TI_OLD_ID, |
| 12866 | .model_id = TI_TMS29F002RT, |
| 12867 | .total_size = 256, |
| 12868 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12869 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12870 | .tested = TEST_UNTESTED, |
| 12871 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 12872 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 12873 | .block_erasers = |
| 12874 | { |
| 12875 | { |
| 12876 | .eraseblocks = { |
| 12877 | {64 * 1024, 3}, |
| 12878 | {32 * 1024, 1}, |
| 12879 | {8 * 1024, 2}, |
| 12880 | {16 * 1024, 1}, |
| 12881 | }, |
| 12882 | .block_erase = erase_sector_jedec, |
| 12883 | }, { |
| 12884 | .eraseblocks = { {256 * 1024, 1} }, |
| 12885 | .block_erase = erase_chip_block_jedec, |
| 12886 | }, |
| 12887 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 12888 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12889 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12890 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 12891 | }, |
| 12892 | |
| 12893 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 12894 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12895 | .name = "W25Q80.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12896 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12897 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12898 | .model_id = WINBOND_NEX_W25Q80_V, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12899 | .total_size = 1024, |
| 12900 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12901 | /* supports SFDP */ |
| 12902 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 12903 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 12904 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12905 | .probe = probe_spi_rdid, |
| 12906 | .probe_timing = TIMING_ZERO, |
| 12907 | .block_erasers = |
| 12908 | { |
| 12909 | { |
| 12910 | .eraseblocks = { {4 * 1024, 256} }, |
| 12911 | .block_erase = spi_block_erase_20, |
| 12912 | }, { |
| 12913 | .eraseblocks = { {32 * 1024, 32} }, |
| 12914 | .block_erase = spi_block_erase_52, |
| 12915 | }, { |
| 12916 | .eraseblocks = { {64 * 1024, 16} }, |
| 12917 | .block_erase = spi_block_erase_d8, |
| 12918 | }, { |
| 12919 | .eraseblocks = { {1024 * 1024, 1} }, |
| 12920 | .block_erase = spi_block_erase_60, |
| 12921 | }, { |
| 12922 | .eraseblocks = { {1024 * 1024, 1} }, |
| 12923 | .block_erase = spi_block_erase_c7, |
| 12924 | } |
| 12925 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 12926 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 12927 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12928 | .write = spi_chip_write_256, |
| 12929 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12930 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12931 | }, |
| 12932 | |
| 12933 | { |
| 12934 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12935 | .name = "W25Q16.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12936 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12937 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12938 | .model_id = WINBOND_NEX_W25Q16_V, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12939 | .total_size = 2048, |
| 12940 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12941 | /* supports SFDP */ |
| 12942 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 12943 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 12944 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12945 | .probe = probe_spi_rdid, |
| 12946 | .probe_timing = TIMING_ZERO, |
| 12947 | .block_erasers = |
| 12948 | { |
| 12949 | { |
| 12950 | .eraseblocks = { {4 * 1024, 512} }, |
| 12951 | .block_erase = spi_block_erase_20, |
| 12952 | }, { |
| 12953 | .eraseblocks = { {32 * 1024, 64} }, |
| 12954 | .block_erase = spi_block_erase_52, |
| 12955 | }, { |
| 12956 | .eraseblocks = { {64 * 1024, 32} }, |
| 12957 | .block_erase = spi_block_erase_d8, |
| 12958 | }, { |
| 12959 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 12960 | .block_erase = spi_block_erase_60, |
| 12961 | }, { |
| 12962 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 12963 | .block_erase = spi_block_erase_c7, |
| 12964 | } |
| 12965 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 12966 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 12967 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12968 | .write = spi_chip_write_256, |
| 12969 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 12970 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12971 | }, |
| 12972 | |
| 12973 | { |
| 12974 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12975 | .name = "W25Q32.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 12976 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12977 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12978 | .model_id = WINBOND_NEX_W25Q32_V, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12979 | .total_size = 4096, |
| 12980 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 12981 | /* supports SFDP */ |
| 12982 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 12983 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 12984 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 12985 | .probe = probe_spi_rdid, |
| 12986 | .probe_timing = TIMING_ZERO, |
| 12987 | .block_erasers = |
| 12988 | { |
| 12989 | { |
| 12990 | .eraseblocks = { {4 * 1024, 1024} }, |
| 12991 | .block_erase = spi_block_erase_20, |
| 12992 | }, { |
| 12993 | .eraseblocks = { {32 * 1024, 128} }, |
| 12994 | .block_erase = spi_block_erase_52, |
| 12995 | }, { |
| 12996 | .eraseblocks = { {64 * 1024, 64} }, |
| 12997 | .block_erase = spi_block_erase_d8, |
| 12998 | }, { |
| 12999 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13000 | .block_erase = spi_block_erase_60, |
| 13001 | }, { |
| 13002 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13003 | .block_erase = spi_block_erase_c7, |
| 13004 | } |
| 13005 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13006 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13007 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 13008 | .write = spi_chip_write_256, |
| 13009 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13010 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 13011 | }, |
| 13012 | |
| 13013 | { |
| 13014 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13015 | .name = "W25Q64.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13016 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 13017 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13018 | .model_id = WINBOND_NEX_W25Q64_V, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 13019 | .total_size = 8192, |
| 13020 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13021 | /* supports SFDP */ |
| 13022 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 13023 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 13024 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 13025 | .probe = probe_spi_rdid, |
| 13026 | .probe_timing = TIMING_ZERO, |
| 13027 | .block_erasers = |
| 13028 | { |
| 13029 | { |
| 13030 | .eraseblocks = { {4 * 1024, 2048} }, |
| 13031 | .block_erase = spi_block_erase_20, |
| 13032 | }, { |
| 13033 | .eraseblocks = { {32 * 1024, 256} }, |
| 13034 | .block_erase = spi_block_erase_52, |
| 13035 | }, { |
| 13036 | .eraseblocks = { {64 * 1024, 128} }, |
| 13037 | .block_erase = spi_block_erase_d8, |
| 13038 | }, { |
| 13039 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13040 | .block_erase = spi_block_erase_60, |
| 13041 | }, { |
| 13042 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13043 | .block_erase = spi_block_erase_c7, |
| 13044 | } |
| 13045 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13046 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13047 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 13048 | .write = spi_chip_write_256, |
| 13049 | .read = spi_chip_read, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13050 | .voltage = {2700, 3600}, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 13051 | }, |
| 13052 | |
| 13053 | { |
| 13054 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13055 | .name = "W25Q128.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13056 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 13057 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13058 | .model_id = WINBOND_NEX_W25Q128_V, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 13059 | .total_size = 16384, |
| 13060 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13061 | /* supports SFDP */ |
| 13062 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 13063 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 13064 | .tested = TEST_OK_PREW, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 13065 | .probe = probe_spi_rdid, |
| 13066 | .probe_timing = TIMING_ZERO, |
| 13067 | .block_erasers = |
| 13068 | { |
| 13069 | { |
| 13070 | .eraseblocks = { {4 * 1024, 4096} }, |
| 13071 | .block_erase = spi_block_erase_20, |
| 13072 | }, { |
| 13073 | .eraseblocks = { {32 * 1024, 512} }, |
| 13074 | .block_erase = spi_block_erase_52, |
| 13075 | }, { |
| 13076 | .eraseblocks = { {64 * 1024, 256} }, |
| 13077 | .block_erase = spi_block_erase_d8, |
| 13078 | }, { |
| 13079 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 13080 | .block_erase = spi_block_erase_60, |
| 13081 | }, { |
| 13082 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 13083 | .block_erase = spi_block_erase_c7, |
| 13084 | } |
| 13085 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13086 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 13087 | .unlock = spi_disable_blockprotect, |
| 13088 | .write = spi_chip_write_256, |
| 13089 | .read = spi_chip_read, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13090 | .voltage = {2700, 3600}, |
| 13091 | }, |
| 13092 | |
| 13093 | { |
| 13094 | .vendor = "Winbond", |
| 13095 | .name = "W25Q20.W", |
| 13096 | .bustype = BUS_SPI, |
| 13097 | .manufacture_id = WINBOND_NEX_ID, |
| 13098 | .model_id = WINBOND_NEX_W25Q20_W, |
| 13099 | .total_size = 256, |
| 13100 | .page_size = 256, |
| 13101 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 13102 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 13103 | .tested = TEST_UNTESTED, |
| 13104 | .probe = probe_spi_rdid, |
| 13105 | .probe_timing = TIMING_ZERO, |
| 13106 | .block_erasers = |
| 13107 | { |
| 13108 | { |
| 13109 | .eraseblocks = { {4 * 1024, 64} }, |
| 13110 | .block_erase = spi_block_erase_20, |
| 13111 | }, { |
| 13112 | .eraseblocks = { {32 * 1024, 8} }, |
| 13113 | .block_erase = spi_block_erase_52, |
| 13114 | }, { |
| 13115 | .eraseblocks = { {64 * 1024, 4} }, |
| 13116 | .block_erase = spi_block_erase_d8, |
| 13117 | }, { |
| 13118 | .eraseblocks = { {256 * 1024, 1} }, |
| 13119 | .block_erase = spi_block_erase_60, |
| 13120 | }, { |
| 13121 | .eraseblocks = { {256 * 1024, 1} }, |
| 13122 | .block_erase = spi_block_erase_c7, |
| 13123 | } |
| 13124 | }, |
| 13125 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 13126 | .unlock = spi_disable_blockprotect, |
| 13127 | .write = spi_chip_write_256, |
| 13128 | .read = spi_chip_read, |
| 13129 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 13130 | }, |
| 13131 | |
| 13132 | { |
| 13133 | .vendor = "Winbond", |
| 13134 | .name = "W25Q40.W", |
| 13135 | .bustype = BUS_SPI, |
| 13136 | .manufacture_id = WINBOND_NEX_ID, |
| 13137 | .model_id = WINBOND_NEX_W25Q40_W, |
| 13138 | .total_size = 512, |
| 13139 | .page_size = 256, |
| 13140 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 13141 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 13142 | .tested = TEST_UNTESTED, |
| 13143 | .probe = probe_spi_rdid, |
| 13144 | .probe_timing = TIMING_ZERO, |
| 13145 | .block_erasers = |
| 13146 | { |
| 13147 | { |
| 13148 | .eraseblocks = { {4 * 1024, 128} }, |
| 13149 | .block_erase = spi_block_erase_20, |
| 13150 | }, { |
| 13151 | .eraseblocks = { {32 * 1024, 16} }, |
| 13152 | .block_erase = spi_block_erase_52, |
| 13153 | }, { |
| 13154 | .eraseblocks = { {64 * 1024, 8} }, |
| 13155 | .block_erase = spi_block_erase_d8, |
| 13156 | }, { |
| 13157 | .eraseblocks = { {512 * 1024, 1} }, |
| 13158 | .block_erase = spi_block_erase_60, |
| 13159 | }, { |
| 13160 | .eraseblocks = { {512 * 1024, 1} }, |
| 13161 | .block_erase = spi_block_erase_c7, |
| 13162 | } |
| 13163 | }, |
| 13164 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 13165 | .unlock = spi_disable_blockprotect, |
| 13166 | .write = spi_chip_write_256, |
| 13167 | .read = spi_chip_read, |
| 13168 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 13169 | }, |
| 13170 | |
| 13171 | { |
| 13172 | .vendor = "Winbond", |
| 13173 | .name = "W25Q80.W", |
| 13174 | .bustype = BUS_SPI, |
| 13175 | .manufacture_id = WINBOND_NEX_ID, |
| 13176 | .model_id = WINBOND_NEX_W25Q80_W, |
| 13177 | .total_size = 1024, |
| 13178 | .page_size = 256, |
| 13179 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 13180 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 13181 | .tested = TEST_UNTESTED, |
| 13182 | .probe = probe_spi_rdid, |
| 13183 | .probe_timing = TIMING_ZERO, |
| 13184 | .block_erasers = |
| 13185 | { |
| 13186 | { |
| 13187 | .eraseblocks = { {4 * 1024, 256} }, |
| 13188 | .block_erase = spi_block_erase_20, |
| 13189 | }, { |
| 13190 | .eraseblocks = { {32 * 1024, 32} }, |
| 13191 | .block_erase = spi_block_erase_52, |
| 13192 | }, { |
| 13193 | .eraseblocks = { {64 * 1024, 16} }, |
| 13194 | .block_erase = spi_block_erase_d8, |
| 13195 | }, { |
| 13196 | .eraseblocks = { {1 * 1024 * 1024, 1} }, |
| 13197 | .block_erase = spi_block_erase_60, |
| 13198 | }, { |
| 13199 | .eraseblocks = { {1 * 1024 * 1024, 1} }, |
| 13200 | .block_erase = spi_block_erase_c7, |
| 13201 | } |
| 13202 | }, |
| 13203 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 13204 | .unlock = spi_disable_blockprotect, |
| 13205 | .write = spi_chip_write_256, |
| 13206 | .read = spi_chip_read, |
| 13207 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 13208 | }, |
| 13209 | |
| 13210 | { |
| 13211 | .vendor = "Winbond", |
| 13212 | .name = "W25Q16.W", |
| 13213 | .bustype = BUS_SPI, |
| 13214 | .manufacture_id = WINBOND_NEX_ID, |
| 13215 | .model_id = WINBOND_NEX_W25Q16_W, |
| 13216 | .total_size = 2048, |
| 13217 | .page_size = 256, |
| 13218 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 13219 | /* QPI enable 0x38, disable 0xFF */ |
| 13220 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 13221 | .tested = TEST_UNTESTED, |
| 13222 | .probe = probe_spi_rdid, |
| 13223 | .probe_timing = TIMING_ZERO, |
| 13224 | .block_erasers = |
| 13225 | { |
| 13226 | { |
| 13227 | .eraseblocks = { {4 * 1024, 512} }, |
| 13228 | .block_erase = spi_block_erase_20, |
| 13229 | }, { |
| 13230 | .eraseblocks = { {32 * 1024, 64} }, |
| 13231 | .block_erase = spi_block_erase_52, |
| 13232 | }, { |
| 13233 | .eraseblocks = { {64 * 1024, 32} }, |
| 13234 | .block_erase = spi_block_erase_d8, |
| 13235 | }, { |
| 13236 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 13237 | .block_erase = spi_block_erase_60, |
| 13238 | }, { |
| 13239 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 13240 | .block_erase = spi_block_erase_c7, |
| 13241 | } |
| 13242 | }, |
| 13243 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 13244 | .unlock = spi_disable_blockprotect, |
| 13245 | .write = spi_chip_write_256, |
| 13246 | .read = spi_chip_read, |
| 13247 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 13248 | }, |
| 13249 | |
| 13250 | { |
| 13251 | .vendor = "Winbond", |
| 13252 | .name = "W25Q32.W", |
| 13253 | .bustype = BUS_SPI, |
| 13254 | .manufacture_id = WINBOND_NEX_ID, |
| 13255 | .model_id = WINBOND_NEX_W25Q32_W, |
| 13256 | .total_size = 4096, |
| 13257 | .page_size = 256, |
| 13258 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 13259 | /* QPI enable 0x38, disable 0xFF */ |
| 13260 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 13261 | .tested = TEST_OK_PREW, |
| 13262 | .probe = probe_spi_rdid, |
| 13263 | .probe_timing = TIMING_ZERO, |
| 13264 | .block_erasers = |
| 13265 | { |
| 13266 | { |
| 13267 | .eraseblocks = { {4 * 1024, 1024} }, |
| 13268 | .block_erase = spi_block_erase_20, |
| 13269 | }, { |
| 13270 | .eraseblocks = { {32 * 1024, 128} }, |
| 13271 | .block_erase = spi_block_erase_52, |
| 13272 | }, { |
| 13273 | .eraseblocks = { {64 * 1024, 64} }, |
| 13274 | .block_erase = spi_block_erase_d8, |
| 13275 | }, { |
| 13276 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13277 | .block_erase = spi_block_erase_60, |
| 13278 | }, { |
| 13279 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13280 | .block_erase = spi_block_erase_c7, |
| 13281 | } |
| 13282 | }, |
| 13283 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 13284 | .unlock = spi_disable_blockprotect, |
| 13285 | .write = spi_chip_write_256, |
| 13286 | .read = spi_chip_read, |
| 13287 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 13288 | }, |
| 13289 | |
| 13290 | { |
| 13291 | .vendor = "Winbond", |
| 13292 | .name = "W25Q64.W", |
| 13293 | .bustype = BUS_SPI, |
| 13294 | .manufacture_id = WINBOND_NEX_ID, |
| 13295 | .model_id = WINBOND_NEX_W25Q64_W, |
| 13296 | .total_size = 8192, |
| 13297 | .page_size = 256, |
| 13298 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 13299 | /* QPI enable 0x38, disable 0xFF */ |
| 13300 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 13301 | .tested = TEST_OK_PREW, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 13302 | .probe = probe_spi_rdid, |
| 13303 | .probe_timing = TIMING_ZERO, |
| 13304 | .block_erasers = |
| 13305 | { |
| 13306 | { |
| 13307 | .eraseblocks = { {4 * 1024, 2048} }, |
| 13308 | .block_erase = spi_block_erase_20, |
| 13309 | }, { |
| 13310 | .eraseblocks = { {32 * 1024, 256} }, |
| 13311 | .block_erase = spi_block_erase_52, |
| 13312 | }, { |
| 13313 | .eraseblocks = { {64 * 1024, 128} }, |
| 13314 | .block_erase = spi_block_erase_d8, |
| 13315 | }, { |
| 13316 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13317 | .block_erase = spi_block_erase_60, |
| 13318 | }, { |
| 13319 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13320 | .block_erase = spi_block_erase_c7, |
| 13321 | } |
| 13322 | }, |
| 13323 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 13324 | .unlock = spi_disable_blockprotect, |
| 13325 | .write = spi_chip_write_256, |
| 13326 | .read = spi_chip_read, |
| 13327 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 13328 | }, |
| 13329 | |
| 13330 | { |
| 13331 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13332 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13333 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13334 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13335 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13336 | .total_size = 128, |
| 13337 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 13338 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 13339 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13340 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 13341 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13342 | .block_erasers = |
| 13343 | { |
| 13344 | { |
| 13345 | .eraseblocks = { {4 * 1024, 32} }, |
| 13346 | .block_erase = spi_block_erase_20, |
| 13347 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13348 | .eraseblocks = { {64 * 1024, 2} }, |
| 13349 | .block_erase = spi_block_erase_d8, |
| 13350 | }, { |
| 13351 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13352 | .block_erase = spi_block_erase_c7, |
| 13353 | } |
| 13354 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13355 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13356 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 13357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13358 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13359 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 13360 | }, |
| 13361 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13362 | { |
| 13363 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13364 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13365 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13366 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13367 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13368 | .total_size = 256, |
| 13369 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 13370 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 13371 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13372 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 13373 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13374 | .block_erasers = |
| 13375 | { |
| 13376 | { |
| 13377 | .eraseblocks = { {4 * 1024, 64} }, |
| 13378 | .block_erase = spi_block_erase_20, |
| 13379 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13380 | .eraseblocks = { {64 * 1024, 4} }, |
| 13381 | .block_erase = spi_block_erase_d8, |
| 13382 | }, { |
| 13383 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13384 | .block_erase = spi_block_erase_c7, |
| 13385 | } |
| 13386 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13387 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13388 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 13389 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13390 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13391 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 13392 | }, |
| 13393 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13394 | { |
| 13395 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13396 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13397 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13398 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13399 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13400 | .total_size = 512, |
| 13401 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 13402 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 13403 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13404 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 13405 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13406 | .block_erasers = |
| 13407 | { |
| 13408 | { |
| 13409 | .eraseblocks = { {4 * 1024, 128} }, |
| 13410 | .block_erase = spi_block_erase_20, |
| 13411 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13412 | .eraseblocks = { {64 * 1024, 8} }, |
| 13413 | .block_erase = spi_block_erase_d8, |
| 13414 | }, { |
| 13415 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13416 | .block_erase = spi_block_erase_c7, |
| 13417 | } |
| 13418 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13419 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13420 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 13421 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13422 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13423 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 13424 | }, |
| 13425 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13426 | { |
| 13427 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13428 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13429 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13430 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13431 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13432 | .total_size = 1024, |
| 13433 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 13434 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 13435 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13436 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 13437 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13438 | .block_erasers = |
| 13439 | { |
| 13440 | { |
| 13441 | .eraseblocks = { {4 * 1024, 256} }, |
| 13442 | .block_erase = spi_block_erase_20, |
| 13443 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13444 | .eraseblocks = { {64 * 1024, 16} }, |
| 13445 | .block_erase = spi_block_erase_d8, |
| 13446 | }, { |
| 13447 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13448 | .block_erase = spi_block_erase_c7, |
| 13449 | } |
| 13450 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13451 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13452 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 13453 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13454 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13455 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 13456 | }, |
| 13457 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13458 | { |
| 13459 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13460 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13461 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 13462 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13463 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 13464 | .total_size = 2048, |
| 13465 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 13466 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 13467 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 13468 | .probe = probe_spi_rdid, |
| 13469 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13470 | .block_erasers = |
| 13471 | { |
| 13472 | { |
| 13473 | .eraseblocks = { {4 * 1024, 512} }, |
| 13474 | .block_erase = spi_block_erase_20, |
| 13475 | }, { |
| 13476 | .eraseblocks = { {32 * 1024, 64} }, |
| 13477 | .block_erase = spi_block_erase_52, |
| 13478 | }, { |
| 13479 | .eraseblocks = { {64 * 1024, 32} }, |
| 13480 | .block_erase = spi_block_erase_d8, |
| 13481 | }, { |
| 13482 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 13483 | .block_erase = spi_block_erase_60, |
| 13484 | }, { |
| 13485 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 13486 | .block_erase = spi_block_erase_c7, |
| 13487 | } |
| 13488 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13489 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13490 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 13491 | .write = spi_chip_write_256, |
| 13492 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13493 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 13494 | }, |
| 13495 | |
| 13496 | { |
| 13497 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13498 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13499 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13500 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13501 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13502 | .total_size = 4096, |
| 13503 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 13504 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 13505 | .tested = TEST_OK_PREW, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13506 | .probe = probe_spi_rdid, |
| 13507 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13508 | .block_erasers = |
| 13509 | { |
| 13510 | { |
| 13511 | .eraseblocks = { {4 * 1024, 1024} }, |
| 13512 | .block_erase = spi_block_erase_20, |
| 13513 | }, { |
| 13514 | .eraseblocks = { {32 * 1024, 128} }, |
| 13515 | .block_erase = spi_block_erase_52, |
| 13516 | }, { |
| 13517 | .eraseblocks = { {64 * 1024, 64} }, |
| 13518 | .block_erase = spi_block_erase_d8, |
| 13519 | }, { |
| 13520 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13521 | .block_erase = spi_block_erase_60, |
| 13522 | }, { |
| 13523 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13524 | .block_erase = spi_block_erase_c7, |
| 13525 | } |
| 13526 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13527 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13528 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13529 | .write = spi_chip_write_256, |
| 13530 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13531 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13532 | }, |
| 13533 | |
| 13534 | { |
| 13535 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13536 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13537 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13538 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13539 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13540 | .total_size = 8192, |
| 13541 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 13542 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 13543 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13544 | .probe = probe_spi_rdid, |
| 13545 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13546 | .block_erasers = |
| 13547 | { |
| 13548 | { |
| 13549 | .eraseblocks = { {4 * 1024, 2048} }, |
| 13550 | .block_erase = spi_block_erase_20, |
| 13551 | }, { |
| 13552 | .eraseblocks = { {32 * 1024, 256} }, |
| 13553 | .block_erase = spi_block_erase_52, |
| 13554 | }, { |
| 13555 | .eraseblocks = { {64 * 1024, 128} }, |
| 13556 | .block_erase = spi_block_erase_d8, |
| 13557 | }, { |
| 13558 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13559 | .block_erase = spi_block_erase_60, |
| 13560 | }, { |
| 13561 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13562 | .block_erase = spi_block_erase_c7, |
| 13563 | } |
| 13564 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 13565 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 13566 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13567 | .write = spi_chip_write_256, |
| 13568 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13569 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 13570 | }, |
| 13571 | |
| 13572 | { |
| 13573 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 13574 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13575 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 13576 | .manufacture_id = WINBOND_ID, |
| 13577 | .model_id = WINBOND_W29C010, |
| 13578 | .total_size = 128, |
| 13579 | .page_size = 128, |
| 13580 | .feature_bits = FEATURE_LONG_RESET, |
Stefan Tauner | c2eec2c | 2014-05-03 21:33:01 +0000 | [diff] [blame] | 13581 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 13582 | .probe = probe_w29ee011, |
| 13583 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 13584 | .block_erasers = |
| 13585 | { |
| 13586 | { |
| 13587 | .eraseblocks = { {128 * 1024, 1} }, |
| 13588 | .block_erase = erase_chip_block_jedec, |
| 13589 | } |
| 13590 | }, |
| 13591 | .write = write_jedec, |
| 13592 | .read = read_memmapped, |
| 13593 | }, |
| 13594 | |
| 13595 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 13596 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13597 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13598 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13599 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13600 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13601 | .total_size = 128, |
| 13602 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 13603 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 13604 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13605 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 13606 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13607 | .block_erasers = |
| 13608 | { |
| 13609 | { |
| 13610 | .eraseblocks = { {128 * 1024, 1} }, |
| 13611 | .block_erase = erase_chip_block_jedec, |
| 13612 | } |
| 13613 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13614 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 13615 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 13616 | }, |
| 13617 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13618 | { |
| 13619 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13620 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13621 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13622 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13623 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13624 | .total_size = 256, |
| 13625 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 13626 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13627 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13628 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 13629 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13630 | .block_erasers = |
| 13631 | { |
| 13632 | { |
| 13633 | .eraseblocks = { {256 * 1024, 1} }, |
| 13634 | .block_erase = erase_chip_block_jedec, |
| 13635 | } |
| 13636 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13637 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 13638 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13639 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 13640 | }, |
| 13641 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13642 | { |
| 13643 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13644 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13645 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13646 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13647 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13648 | .total_size = 512, |
| 13649 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 13650 | .feature_bits = FEATURE_LONG_RESET, |
| 13651 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13652 | .probe = probe_jedec, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 13653 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13654 | .block_erasers = |
| 13655 | { |
| 13656 | { |
| 13657 | .eraseblocks = { {512 * 1024, 1} }, |
| 13658 | .block_erase = erase_chip_block_jedec, |
| 13659 | } |
| 13660 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13661 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 13662 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 13663 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 13664 | }, |
| 13665 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13666 | { |
| 13667 | .vendor = "Winbond", |
Stefan Tauner | 03a9c3c | 2014-08-03 14:15:14 +0000 | [diff] [blame] | 13668 | .name = "W29GL032CB", |
| 13669 | .bustype = BUS_PARALLEL, |
| 13670 | .manufacture_id = AMD_ID, /* WTF: "Industry Standard compatible Manufacturer ID code of 01h" */ |
| 13671 | .model_id = WINBOND_W29GL032CB, |
| 13672 | .total_size = 4096, |
| 13673 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 13674 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 13675 | .tested = TEST_UNTESTED, |
| 13676 | .probe = probe_jedec_29gl, |
| 13677 | .probe_timing = TIMING_ZERO, |
| 13678 | .block_erasers = |
| 13679 | { |
| 13680 | { |
| 13681 | .eraseblocks = { |
| 13682 | {8 * 1024, 8}, |
| 13683 | {64 * 1024, 63}, |
| 13684 | }, |
| 13685 | .block_erase = erase_sector_jedec, |
| 13686 | }, { |
| 13687 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13688 | .block_erase = erase_chip_block_jedec, |
| 13689 | }, |
| 13690 | }, |
| 13691 | .write = write_jedec_1, |
| 13692 | .read = read_memmapped, |
| 13693 | .voltage = {2700, 3600}, |
| 13694 | }, |
| 13695 | |
| 13696 | { |
| 13697 | .vendor = "Winbond", |
| 13698 | .name = "W29GL032CT", |
| 13699 | .bustype = BUS_PARALLEL, |
| 13700 | .manufacture_id = AMD_ID, /* WTF: "Industry Standard compatible Manufacturer ID code of 01h" */ |
| 13701 | .model_id = WINBOND_W29GL032CT, |
| 13702 | .total_size = 4096, |
| 13703 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 13704 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 13705 | .tested = TEST_UNTESTED, |
| 13706 | .probe = probe_jedec_29gl, |
| 13707 | .probe_timing = TIMING_ZERO, |
| 13708 | .block_erasers = |
| 13709 | { |
| 13710 | { |
| 13711 | .eraseblocks = { |
| 13712 | {64 * 1024, 63}, |
| 13713 | {8 * 1024, 8}, |
| 13714 | }, |
| 13715 | .block_erase = erase_sector_jedec, |
| 13716 | }, { |
| 13717 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13718 | .block_erase = erase_chip_block_jedec, |
| 13719 | }, |
| 13720 | }, |
| 13721 | .write = write_jedec_1, |
| 13722 | .read = read_memmapped, |
| 13723 | .voltage = {2700, 3600}, |
| 13724 | }, |
| 13725 | |
| 13726 | { |
| 13727 | .vendor = "Winbond", |
| 13728 | .name = "W29GL032CH/L", |
| 13729 | .bustype = BUS_PARALLEL, |
| 13730 | .manufacture_id = AMD_ID, /* WTF: "Industry Standard compatible Manufacturer ID code of 01h" */ |
| 13731 | .model_id = WINBOND_W29GL032CHL, |
| 13732 | .total_size = 4096, |
| 13733 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 13734 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 13735 | .tested = TEST_UNTESTED, |
| 13736 | .probe = probe_jedec_29gl, |
| 13737 | .probe_timing = TIMING_ZERO, |
| 13738 | .block_erasers = |
| 13739 | { |
| 13740 | { |
| 13741 | .eraseblocks = { {64 * 1024, 64} }, |
| 13742 | .block_erase = erase_sector_jedec, |
| 13743 | }, { |
| 13744 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 13745 | .block_erase = erase_chip_block_jedec, |
| 13746 | }, |
| 13747 | }, |
| 13748 | .write = write_jedec_1, |
| 13749 | .read = read_memmapped, |
| 13750 | .voltage = {2700, 3600}, |
| 13751 | }, |
| 13752 | |
| 13753 | { |
| 13754 | .vendor = "Winbond", |
| 13755 | .name = "W29GL064CB", |
| 13756 | .bustype = BUS_PARALLEL, |
| 13757 | .manufacture_id = AMD_ID, /* WTF: "Industry Standard compatible Manufacturer ID code of 01h" */ |
| 13758 | .model_id = WINBOND_W29GL064CB, |
| 13759 | .total_size = 8192, |
| 13760 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 13761 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 13762 | .tested = TEST_UNTESTED, |
| 13763 | .probe = probe_jedec_29gl, |
| 13764 | .probe_timing = TIMING_ZERO, |
| 13765 | .block_erasers = |
| 13766 | { |
| 13767 | { |
| 13768 | .eraseblocks = { |
| 13769 | {8 * 1024, 8}, |
| 13770 | {64 * 1024, 127}, |
| 13771 | }, |
| 13772 | .block_erase = erase_sector_jedec, |
| 13773 | }, { |
| 13774 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13775 | .block_erase = erase_chip_block_jedec, |
| 13776 | }, |
| 13777 | }, |
| 13778 | .write = write_jedec_1, |
| 13779 | .read = read_memmapped, |
| 13780 | .voltage = {2700, 3600}, |
| 13781 | }, |
| 13782 | |
| 13783 | { |
| 13784 | .vendor = "Winbond", |
| 13785 | .name = "W29GL064CT", |
| 13786 | .bustype = BUS_PARALLEL, |
| 13787 | .manufacture_id = AMD_ID, /* WTF: "Industry Standard compatible Manufacturer ID code of 01h" */ |
| 13788 | .model_id = WINBOND_W29GL064CT, |
| 13789 | .total_size = 8192, |
| 13790 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 13791 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 13792 | .tested = TEST_UNTESTED, |
| 13793 | .probe = probe_jedec_29gl, |
| 13794 | .probe_timing = TIMING_ZERO, |
| 13795 | .block_erasers = |
| 13796 | { |
| 13797 | { |
| 13798 | .eraseblocks = { |
| 13799 | {64 * 1024, 127}, |
| 13800 | {8 * 1024, 8}, |
| 13801 | }, |
| 13802 | .block_erase = erase_sector_jedec, |
| 13803 | }, { |
| 13804 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13805 | .block_erase = erase_chip_block_jedec, |
| 13806 | }, |
| 13807 | }, |
| 13808 | .write = write_jedec_1, |
| 13809 | .read = read_memmapped, |
| 13810 | .voltage = {2700, 3600}, |
| 13811 | }, |
| 13812 | |
| 13813 | { |
| 13814 | .vendor = "Winbond", |
| 13815 | .name = "W29GL064CH/L", |
| 13816 | .bustype = BUS_PARALLEL, |
| 13817 | .manufacture_id = AMD_ID, /* WTF: "Industry Standard compatible Manufacturer ID code of 01h" */ |
| 13818 | .model_id = WINBOND_W29GL064CHL, |
| 13819 | .total_size = 8192, |
| 13820 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 13821 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 13822 | .tested = TEST_UNTESTED, |
| 13823 | .probe = probe_jedec_29gl, |
| 13824 | .probe_timing = TIMING_ZERO, |
| 13825 | .block_erasers = |
| 13826 | { |
| 13827 | { |
| 13828 | .eraseblocks = { {64 * 1024, 128} }, |
| 13829 | .block_erase = erase_sector_jedec, |
| 13830 | }, { |
| 13831 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 13832 | .block_erase = erase_chip_block_jedec, |
| 13833 | }, |
| 13834 | }, |
| 13835 | .write = write_jedec_1, |
| 13836 | .read = read_memmapped, |
| 13837 | .voltage = {2700, 3600}, |
| 13838 | }, |
| 13839 | |
| 13840 | { |
| 13841 | .vendor = "Winbond", |
| 13842 | .name = "W29GL128C", |
| 13843 | .bustype = BUS_PARALLEL, |
| 13844 | .manufacture_id = AMD_ID, /* WTF: "Industry Standard compatible Manufacturer ID code of 01h" */ |
| 13845 | .model_id = WINBOND_W29GL128CHL, |
| 13846 | .total_size = 16384, |
| 13847 | .page_size = 128 * 1024, /* actual page size is 16 */ |
| 13848 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 13849 | .tested = TEST_UNTESTED, |
| 13850 | .probe = probe_jedec_29gl, |
| 13851 | .probe_timing = TIMING_ZERO, |
| 13852 | .block_erasers = |
| 13853 | { |
| 13854 | { |
| 13855 | .eraseblocks = { {128 * 1024, 128} }, |
| 13856 | .block_erase = erase_sector_jedec, |
| 13857 | }, { |
| 13858 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 13859 | .block_erase = erase_chip_block_jedec, |
| 13860 | }, |
| 13861 | }, |
| 13862 | .write = write_jedec_1, |
| 13863 | .read = read_memmapped, |
| 13864 | .voltage = {2700, 3600}, |
| 13865 | }, |
| 13866 | |
| 13867 | { |
| 13868 | .vendor = "Winbond", |
Kyösti Mälkki | c31243e | 2012-10-28 01:50:08 +0000 | [diff] [blame] | 13869 | .name = "W39F010", |
| 13870 | .bustype = BUS_PARALLEL, |
| 13871 | .manufacture_id = WINBOND_ID, |
| 13872 | .model_id = WINBOND_W39F010, |
| 13873 | .total_size = 128, |
| 13874 | .page_size = 4 * 1024, |
| 13875 | .feature_bits = FEATURE_EITHER_RESET, |
| 13876 | .tested = TEST_OK_PREW, |
| 13877 | .probe = probe_jedec, |
| 13878 | .probe_timing = 10, |
| 13879 | .block_erasers = |
| 13880 | { |
| 13881 | { |
| 13882 | .eraseblocks = { {4 * 1024, 32} }, |
| 13883 | .block_erase = erase_block_jedec, |
| 13884 | }, { |
| 13885 | .eraseblocks = { {128 * 1024, 1} }, |
| 13886 | .block_erase = erase_chip_block_jedec, |
| 13887 | } |
| 13888 | }, |
| 13889 | .printlock = printlock_w39f010, |
| 13890 | .write = write_jedec_1, |
| 13891 | .read = read_memmapped, |
| 13892 | .voltage = {4500, 5500}, |
| 13893 | }, |
| 13894 | |
| 13895 | { |
| 13896 | .vendor = "Winbond", |
| 13897 | .name = "W39L010", |
| 13898 | .bustype = BUS_PARALLEL, |
| 13899 | .manufacture_id = WINBOND_ID, |
| 13900 | .model_id = WINBOND_W39L010, |
| 13901 | .total_size = 128, |
| 13902 | .page_size = 4 * 1024, |
| 13903 | .feature_bits = FEATURE_EITHER_RESET, |
| 13904 | .tested = TEST_UNTESTED, |
| 13905 | .probe = probe_jedec, |
| 13906 | .probe_timing = 10, |
| 13907 | .block_erasers = |
| 13908 | { |
| 13909 | { |
| 13910 | .eraseblocks = { {4 * 1024, 32} }, |
| 13911 | .block_erase = erase_block_jedec, |
| 13912 | }, { |
| 13913 | .eraseblocks = { {128 * 1024, 1} }, |
| 13914 | .block_erase = erase_chip_block_jedec, |
| 13915 | } |
| 13916 | }, |
| 13917 | .printlock = printlock_w39l010, |
| 13918 | .write = write_jedec_1, |
| 13919 | .read = read_memmapped, |
| 13920 | .voltage = {3000, 3600}, |
| 13921 | }, |
| 13922 | |
| 13923 | { |
| 13924 | .vendor = "Winbond", |
| 13925 | .name = "W39L020", |
| 13926 | .bustype = BUS_PARALLEL, |
| 13927 | .manufacture_id = WINBOND_ID, |
| 13928 | .model_id = WINBOND_W39L020, |
| 13929 | .total_size = 256, |
| 13930 | .page_size = 4 * 1024, |
| 13931 | .feature_bits = FEATURE_EITHER_RESET, |
| 13932 | .tested = TEST_UNTESTED, |
| 13933 | .probe = probe_jedec, |
| 13934 | .probe_timing = 10, |
| 13935 | .block_erasers = |
| 13936 | { |
| 13937 | { |
| 13938 | .eraseblocks = { {4 * 1024, 64} }, |
| 13939 | .block_erase = erase_block_jedec, |
| 13940 | }, { |
| 13941 | .eraseblocks = { {64 * 1024, 4} }, |
| 13942 | .block_erase = erase_sector_jedec, |
| 13943 | }, { |
| 13944 | .eraseblocks = { {256 * 1024, 1} }, |
| 13945 | .block_erase = erase_chip_block_jedec, |
| 13946 | } |
| 13947 | }, |
| 13948 | .printlock = printlock_w39l020, |
| 13949 | .write = write_jedec_1, |
| 13950 | .read = read_memmapped, |
| 13951 | .voltage = {3000, 3600}, |
| 13952 | }, |
| 13953 | |
| 13954 | { |
| 13955 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 13956 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13957 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 13958 | .manufacture_id = WINBOND_ID, |
| 13959 | .model_id = WINBOND_W39L040, |
| 13960 | .total_size = 512, |
| 13961 | .page_size = 64 * 1024, |
| 13962 | .feature_bits = FEATURE_EITHER_RESET, |
| 13963 | .tested = TEST_OK_PR, |
| 13964 | .probe = probe_jedec, |
| 13965 | .probe_timing = 10, |
| 13966 | .block_erasers = |
| 13967 | { |
| 13968 | { |
| 13969 | .eraseblocks = { {4 * 1024, 128} }, |
| 13970 | .block_erase = erase_block_jedec, |
| 13971 | }, { |
| 13972 | .eraseblocks = { {64 * 1024, 8} }, |
| 13973 | .block_erase = erase_sector_jedec, |
| 13974 | }, { |
| 13975 | .eraseblocks = { {512 * 1024, 1} }, |
| 13976 | .block_erase = erase_chip_block_jedec, |
| 13977 | } |
| 13978 | }, |
| 13979 | .printlock = printlock_w39l040, |
| 13980 | .write = write_jedec_1, |
| 13981 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 13982 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 13983 | }, |
| 13984 | |
| 13985 | { |
| 13986 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13987 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 13988 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13989 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 13990 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13991 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 13992 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 13993 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 13994 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 13995 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 13996 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 13997 | .block_erasers = |
| 13998 | { |
| 13999 | { |
| 14000 | .eraseblocks = { {64 * 1024, 8} }, |
| 14001 | .block_erase = erase_sector_jedec, |
| 14002 | }, { |
| 14003 | .eraseblocks = { {512 * 1024, 1} }, |
| 14004 | .block_erase = erase_chip_block_jedec, |
| 14005 | } |
| 14006 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14007 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14008 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14009 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14010 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14011 | }, |
| 14012 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14013 | { |
| 14014 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14015 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14016 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14017 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14018 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14019 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 14020 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14021 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 14022 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14023 | .probe = probe_jedec, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 14024 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14025 | .block_erasers = |
| 14026 | { |
| 14027 | { |
| 14028 | .eraseblocks = { {64 * 1024, 8} }, |
| 14029 | .block_erase = erase_sector_jedec, |
| 14030 | }, { |
| 14031 | .eraseblocks = { {512 * 1024, 1} }, |
| 14032 | .block_erase = erase_chip_block_jedec, |
| 14033 | } |
| 14034 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14035 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14036 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14037 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14038 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14039 | }, |
| 14040 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14041 | { |
| 14042 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14043 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14044 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14045 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14046 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14047 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 14048 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14049 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 14050 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14051 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14052 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14053 | .block_erasers = |
| 14054 | { |
| 14055 | { |
| 14056 | .eraseblocks = { {64 * 1024, 8} }, |
| 14057 | .block_erase = erase_sector_jedec, |
| 14058 | }, { |
| 14059 | .eraseblocks = { {512 * 1024, 1} }, |
| 14060 | .block_erase = erase_chip_block_jedec, |
| 14061 | } |
| 14062 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 14063 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14064 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14065 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14066 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14067 | }, |
| 14068 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14069 | { |
| 14070 | .vendor = "Winbond", |
| 14071 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14072 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14073 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14074 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14075 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 14076 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 14077 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 14078 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14079 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 14080 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14081 | .block_erasers = |
| 14082 | { |
| 14083 | { |
| 14084 | .eraseblocks = { {4 * 1024, 128} }, |
| 14085 | .block_erase = erase_block_jedec, |
| 14086 | }, { |
| 14087 | .eraseblocks = { {64 * 1024, 8} }, |
| 14088 | .block_erase = erase_sector_jedec, |
| 14089 | }, { |
| 14090 | .eraseblocks = { {512 * 1024, 1} }, |
| 14091 | .block_erase = erase_chip_block_jedec, |
| 14092 | } |
| 14093 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14094 | .printlock = printlock_w39v040fa, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 14095 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14096 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14097 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14098 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14099 | }, |
| 14100 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14101 | { |
| 14102 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14103 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14104 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14105 | .manufacture_id = WINBOND_ID, |
| 14106 | .model_id = WINBOND_W39V040B, |
| 14107 | .total_size = 512, |
| 14108 | .page_size = 64 * 1024, |
| 14109 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 14110 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14111 | .probe = probe_jedec, |
Stefan Tauner | 0554ca5 | 2013-07-25 22:54:25 +0000 | [diff] [blame] | 14112 | .probe_timing = 10, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14113 | .block_erasers = |
| 14114 | { |
| 14115 | { |
| 14116 | .eraseblocks = { {64 * 1024, 8} }, |
| 14117 | .block_erase = erase_sector_jedec, |
| 14118 | }, { |
| 14119 | .eraseblocks = { {512 * 1024, 1} }, |
| 14120 | .block_erase = erase_chip_block_jedec, |
| 14121 | } |
| 14122 | }, |
| 14123 | .printlock = printlock_w39v040fb, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 14124 | .unlock = unlock_regspace2_uniform_64k, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14125 | .write = write_jedec_1, |
| 14126 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 14127 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14128 | }, |
| 14129 | |
| 14130 | { |
| 14131 | .vendor = "Winbond", |
| 14132 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14133 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14134 | .manufacture_id = WINBOND_ID, |
| 14135 | .model_id = WINBOND_W39V040C, |
| 14136 | .total_size = 512, |
| 14137 | .page_size = 64 * 1024, |
| 14138 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 14139 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14140 | .probe = probe_jedec, |
| 14141 | .probe_timing = 10, |
| 14142 | .block_erasers = |
| 14143 | { |
| 14144 | { |
| 14145 | .eraseblocks = { {64 * 1024, 8} }, |
| 14146 | .block_erase = erase_sector_jedec, |
| 14147 | }, { |
| 14148 | .eraseblocks = { {512 * 1024, 1} }, |
| 14149 | .block_erase = erase_chip_block_jedec, |
| 14150 | } |
| 14151 | }, |
| 14152 | .printlock = printlock_w39v040fc, |
| 14153 | .write = write_jedec_1, |
| 14154 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 14155 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14156 | }, |
| 14157 | |
| 14158 | { |
| 14159 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14160 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14161 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14162 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14163 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14164 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 14165 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14166 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 14167 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14168 | .probe = probe_jedec, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 14169 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14170 | .block_erasers = |
| 14171 | { |
| 14172 | { |
| 14173 | .eraseblocks = { {64 * 1024, 16} }, |
| 14174 | .block_erase = erase_sector_jedec, |
| 14175 | }, { |
| 14176 | .eraseblocks = { {1024 * 1024, 1} }, |
| 14177 | .block_erase = erase_chip_block_jedec, |
| 14178 | } |
| 14179 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14180 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14181 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14182 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14183 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14184 | }, |
| 14185 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14186 | { |
| 14187 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14188 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14189 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14190 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14191 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14192 | .total_size = 256, |
| 14193 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14194 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 14195 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14196 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 14197 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14198 | .block_erasers = |
| 14199 | { |
| 14200 | { |
| 14201 | .eraseblocks = { |
| 14202 | {128 * 1024, 1}, |
| 14203 | {96 * 1024, 1}, |
| 14204 | {8 * 1024, 2}, |
| 14205 | {16 * 1024, 1}, |
| 14206 | }, |
| 14207 | .block_erase = erase_sector_jedec, |
| 14208 | }, { |
| 14209 | .eraseblocks = { {256 * 1024, 1} }, |
| 14210 | .block_erase = erase_chip_block_jedec, |
| 14211 | } |
| 14212 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14213 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14214 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14215 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14216 | }, |
| 14217 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14218 | { |
| 14219 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 14220 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14221 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 14222 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14223 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 14224 | .total_size = 256, |
| 14225 | .page_size = 128, |
| 14226 | .feature_bits = FEATURE_EITHER_RESET, |
| 14227 | .tested = TEST_OK_PROBE, |
| 14228 | .probe = probe_jedec, |
| 14229 | .probe_timing = 10, |
| 14230 | .block_erasers = |
| 14231 | { |
| 14232 | { |
| 14233 | .eraseblocks = { {256 * 1024, 1} }, |
| 14234 | .block_erase = erase_chip_block_jedec, |
| 14235 | } |
| 14236 | }, |
| 14237 | .write = write_jedec_1, |
| 14238 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14239 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 14240 | }, |
| 14241 | |
| 14242 | { |
| 14243 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14244 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14245 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14246 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14247 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14248 | .total_size = 256, |
| 14249 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14250 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 14251 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14252 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 14253 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14254 | .block_erasers = |
| 14255 | { |
| 14256 | { |
| 14257 | .eraseblocks = { |
| 14258 | {64 * 1024, 3}, |
| 14259 | {32 * 1024, 1}, |
| 14260 | {8 * 1024, 2}, |
| 14261 | {16 * 1024, 1}, |
| 14262 | }, |
| 14263 | .block_erase = erase_sector_jedec, |
| 14264 | }, { |
| 14265 | .eraseblocks = { {256 * 1024, 1} }, |
| 14266 | .block_erase = erase_chip_block_jedec, |
| 14267 | } |
| 14268 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14269 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14270 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14271 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14272 | }, |
| 14273 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14274 | { |
| 14275 | .vendor = "Winbond", |
| 14276 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14277 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14278 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14279 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14280 | .total_size = 256, |
| 14281 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14282 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 14283 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14284 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 14285 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14286 | .block_erasers = |
| 14287 | { |
| 14288 | { |
| 14289 | .eraseblocks = { |
| 14290 | {64 * 1024, 3}, |
| 14291 | {32 * 1024, 1}, |
| 14292 | {8 * 1024, 2}, |
| 14293 | {16 * 1024, 1}, |
| 14294 | }, |
| 14295 | .block_erase = erase_sector_jedec, |
| 14296 | }, { |
| 14297 | .eraseblocks = { {256 * 1024, 1} }, |
| 14298 | .block_erase = erase_chip_block_jedec, |
| 14299 | } |
| 14300 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14301 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14302 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 14303 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14304 | }, |
| 14305 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14306 | { |
| 14307 | .vendor = "Winbond", |
| 14308 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14309 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14310 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14311 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14312 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 14313 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14314 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 14315 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 14316 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14317 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14318 | .block_erasers = |
| 14319 | { |
| 14320 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 14321 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14322 | .block_erase = erase_sector_jedec, |
| 14323 | }, { |
| 14324 | .eraseblocks = { {1024 * 1024, 1} }, |
| 14325 | .block_erase = erase_chip_block_jedec, |
| 14326 | } |
| 14327 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14328 | .printlock = printlock_w39v080fa, |
Carl-Daniel Hailfinger | ef3ac8a | 2014-08-03 13:05:34 +0000 | [diff] [blame] | 14329 | .unlock = unlock_regspace2_uniform_64k, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14330 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14331 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 14332 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14333 | }, |
| 14334 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14335 | { |
| 14336 | .vendor = "Winbond", |
| 14337 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14338 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14339 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 14340 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14341 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 14342 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14343 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14344 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 14345 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14346 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14347 | .block_erasers = |
| 14348 | { |
| 14349 | { |
Stefan Tauner | 6697f71 | 2014-08-06 15:09:15 +0000 | [diff] [blame] | 14350 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 14351 | .block_erase = erase_sector_jedec, |
| 14352 | }, { |
| 14353 | .eraseblocks = { {512 * 1024, 1} }, |
| 14354 | .block_erase = erase_chip_block_jedec, |
| 14355 | } |
| 14356 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 14357 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 14358 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14359 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 14360 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14361 | }, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 14362 | |
| 14363 | { |
| 14364 | .vendor = "Unknown", |
| 14365 | .name = "SFDP-capable chip", |
| 14366 | .bustype = BUS_SPI, |
| 14367 | .manufacture_id = GENERIC_MANUF_ID, |
| 14368 | .model_id = SFDP_DEVICE_ID, |
| 14369 | /* We present our own "report this" text hence we do not |
| 14370 | * want the default "This flash part has status UNTESTED..." |
| 14371 | * text to be printed. */ |
| 14372 | .tested = TEST_OK_PREW, |
| 14373 | .probe = probe_spi_sfdp, |
| 14374 | .unlock = spi_disable_blockprotect, /* is this safe? */ |
| 14375 | .read = spi_chip_read, |
| 14376 | /* FIXME: some vendor extensions define this */ |
Carl-Daniel Hailfinger | 1c6d2ff | 2012-08-27 00:44:42 +0000 | [diff] [blame] | 14377 | .voltage = {0}, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 14378 | /* Everything below will be set by the probing function. */ |
| 14379 | .write = NULL, |
| 14380 | .total_size = 0, |
| 14381 | .page_size = 0, |
| 14382 | .feature_bits = 0, |
| 14383 | .block_erasers = {}, |
| 14384 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14385 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14386 | { |
Carl-Daniel Hailfinger | 532c717 | 2011-11-04 21:35:26 +0000 | [diff] [blame] | 14387 | .vendor = "Programmer", |
| 14388 | .name = "Opaque flash chip", |
| 14389 | .bustype = BUS_PROG, |
| 14390 | .manufacture_id = PROGMANUF_ID, |
| 14391 | .model_id = PROGDEV_ID, |
| 14392 | .total_size = 0, |
| 14393 | .page_size = 256, |
| 14394 | /* probe is assumed to work, rest will be filled in by probe */ |
| 14395 | .tested = TEST_OK_PROBE, |
| 14396 | .probe = probe_opaque, |
| 14397 | /* eraseblock sizes will be set by the probing function */ |
| 14398 | .block_erasers = |
| 14399 | { |
| 14400 | { |
| 14401 | .block_erase = erase_opaque, |
| 14402 | } |
| 14403 | }, |
| 14404 | .write = write_opaque, |
| 14405 | .read = read_opaque, |
| 14406 | }, |
| 14407 | |
| 14408 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 14409 | .vendor = "AMIC", |
| 14410 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14411 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 14412 | .manufacture_id = AMIC_ID, |
| 14413 | .model_id = GENERIC_DEVICE_ID, |
| 14414 | .total_size = 0, |
| 14415 | .page_size = 256, |
| 14416 | .tested = TEST_BAD_PREW, |
| 14417 | .probe = probe_spi_rdid4, |
| 14418 | .probe_timing = TIMING_ZERO, |
| 14419 | .write = NULL, |
| 14420 | .read = NULL, |
| 14421 | }, |
| 14422 | |
| 14423 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14424 | .vendor = "Atmel", |
| 14425 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14426 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14427 | .manufacture_id = ATMEL_ID, |
| 14428 | .model_id = GENERIC_DEVICE_ID, |
| 14429 | .total_size = 0, |
| 14430 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 14431 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14432 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 14433 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14434 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14435 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14436 | }, |
| 14437 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14438 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 14439 | .vendor = "Eon", |
| 14440 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14441 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14442 | .manufacture_id = EON_ID_NOPREFIX, |
| 14443 | .model_id = GENERIC_DEVICE_ID, |
| 14444 | .total_size = 0, |
| 14445 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 14446 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14447 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 14448 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14449 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14450 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14451 | }, |
| 14452 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14453 | { |
| 14454 | .vendor = "Macronix", |
| 14455 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14456 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 14457 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14458 | .model_id = GENERIC_DEVICE_ID, |
| 14459 | .total_size = 0, |
| 14460 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 14461 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14462 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 14463 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14464 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14465 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14466 | }, |
| 14467 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14468 | { |
| 14469 | .vendor = "PMC", |
| 14470 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14471 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14472 | .manufacture_id = PMC_ID, |
| 14473 | .model_id = GENERIC_DEVICE_ID, |
| 14474 | .total_size = 0, |
| 14475 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 14476 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14477 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 14478 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14479 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14480 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14481 | }, |
| 14482 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14483 | { |
| 14484 | .vendor = "SST", |
| 14485 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14486 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14487 | .manufacture_id = SST_ID, |
| 14488 | .model_id = GENERIC_DEVICE_ID, |
| 14489 | .total_size = 0, |
| 14490 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 14491 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14492 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 14493 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14494 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14495 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14496 | }, |
| 14497 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14498 | { |
| 14499 | .vendor = "ST", |
| 14500 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14501 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14502 | .manufacture_id = ST_ID, |
| 14503 | .model_id = GENERIC_DEVICE_ID, |
| 14504 | .total_size = 0, |
| 14505 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 14506 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14507 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 14508 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 14509 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 14510 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 14511 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 14512 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 14513 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 14514 | .vendor = "Sanyo", |
| 14515 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14516 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 14517 | .manufacture_id = SANYO_ID, |
| 14518 | .model_id = GENERIC_DEVICE_ID, |
| 14519 | .total_size = 0, |
| 14520 | .page_size = 256, |
| 14521 | .tested = TEST_BAD_PREW, |
| 14522 | .probe = probe_spi_rdid, |
| 14523 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 14524 | .write = NULL, |
| 14525 | .read = NULL, |
| 14526 | }, |
| 14527 | |
| 14528 | { |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 14529 | .vendor = "Winbond", |
| 14530 | .name = "unknown Winbond (ex Nexcom) SPI chip", |
| 14531 | .bustype = BUS_SPI, |
| 14532 | .manufacture_id = WINBOND_NEX_ID, |
| 14533 | .model_id = GENERIC_DEVICE_ID, |
| 14534 | .total_size = 0, |
| 14535 | .page_size = 256, |
| 14536 | .tested = TEST_BAD_PREW, |
| 14537 | .probe = probe_spi_rdid, |
| 14538 | .probe_timing = TIMING_ZERO, |
| 14539 | .write = NULL, |
| 14540 | .read = NULL, |
| 14541 | }, |
| 14542 | |
| 14543 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 14544 | .vendor = "Generic", |
| 14545 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14546 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 14547 | .manufacture_id = GENERIC_MANUF_ID, |
| 14548 | .model_id = GENERIC_DEVICE_ID, |
| 14549 | .total_size = 0, |
| 14550 | .page_size = 256, |
| 14551 | .tested = TEST_BAD_PREW, |
| 14552 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 14553 | .write = NULL, |
| 14554 | }, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 14555 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 14556 | { |
| 14557 | .vendor = "Generic", |
| 14558 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 14559 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 14560 | .manufacture_id = GENERIC_MANUF_ID, |
| 14561 | .model_id = GENERIC_DEVICE_ID, |
| 14562 | .total_size = 0, |
| 14563 | .page_size = 256, |
| 14564 | .tested = TEST_BAD_PREW, |
| 14565 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 14566 | .write = NULL, |
| 14567 | }, |
| 14568 | |
Stefan Tauner | 96658be | 2014-05-26 22:05:31 +0000 | [diff] [blame] | 14569 | {0} |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 14570 | }; |
Stefan Tauner | 96658be | 2014-05-26 22:05:31 +0000 | [diff] [blame] | 14571 | |
| 14572 | const unsigned int flashchips_size = ARRAY_SIZE(flashchips); |