Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Sean Nelson | c57a920 | 2010-01-04 17:15:23 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 9 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 14 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 19 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #include "flash.h" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 26 | #include "flashchips.h" |
Sean Nelson | 14ba668 | 2010-02-26 05:48:29 +0000 | [diff] [blame] | 27 | #include "chipdrivers.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 30 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 31 | * |
| 32 | * Please keep the list sorted by vendor name and chip name, so that |
| 33 | * the output of 'flashrom -L' is alphabetically sorted. |
| 34 | */ |
Carl-Daniel Hailfinger | 4c82318 | 2011-05-04 00:39:50 +0000 | [diff] [blame] | 35 | const struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 36 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 37 | /* |
| 38 | * .vendor = Vendor name |
| 39 | * .name = Chip name |
| 40 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 41 | * .manufacture_id = Manufacturer chip ID |
| 42 | * .model_id = Model chip ID |
| 43 | * .total_size = Total size in (binary) kbytes |
| 44 | * .page_size = Page or eraseblock(?) size in bytes |
| 45 | * .tested = Test status |
| 46 | * .probe = Probe function |
| 47 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 48 | * .block_erasers[] = Array of erase layouts and erase functions |
| 49 | * { |
| 50 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 51 | * .block_erase = Block erase function |
| 52 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 53 | * .printlock = Chip lock status function |
| 54 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 55 | * .write = Chip write function |
| 56 | * .read = Chip read function |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 57 | * .voltage = Voltage range in millivolt |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 58 | */ |
| 59 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 60 | { |
| 61 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 62 | .name = "Am29F010A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 63 | .bustype = BUS_PARALLEL, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 64 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 65 | .model_id = AMD_AM29F010B, /* Same as Am29F010A */ |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 66 | .total_size = 128, |
| 67 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 68 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 69 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 70 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 71 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 72 | .block_erasers = |
| 73 | { |
| 74 | { |
| 75 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 76 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 77 | }, { |
| 78 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 79 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 80 | }, |
| 81 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 82 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 83 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 84 | .voltage = {4500, 5500}, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 85 | }, |
| 86 | |
| 87 | { |
| 88 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .name = "Am29F002(N)BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 90 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 91 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 92 | .model_id = AMD_AM29F002BB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 93 | .total_size = 256, |
| 94 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 95 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 96 | .tested = TEST_UNTESTED, |
| 97 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 98 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 99 | .block_erasers = |
| 100 | { |
| 101 | { |
| 102 | .eraseblocks = { |
| 103 | {16 * 1024, 1}, |
| 104 | {8 * 1024, 2}, |
| 105 | {32 * 1024, 1}, |
| 106 | {64 * 1024, 3}, |
| 107 | }, |
| 108 | .block_erase = erase_sector_jedec, |
| 109 | }, { |
| 110 | .eraseblocks = { {256 * 1024, 1} }, |
| 111 | .block_erase = erase_chip_block_jedec, |
| 112 | }, |
| 113 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 114 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 115 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 116 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 117 | }, |
| 118 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 119 | { |
| 120 | .vendor = "AMD", |
| 121 | .name = "Am29F002(N)BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 122 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 123 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 124 | .model_id = AMD_AM29F002BT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 125 | .total_size = 256, |
| 126 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 127 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 128 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 129 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 130 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 131 | .block_erasers = |
| 132 | { |
| 133 | { |
| 134 | .eraseblocks = { |
| 135 | {64 * 1024, 3}, |
| 136 | {32 * 1024, 1}, |
| 137 | {8 * 1024, 2}, |
| 138 | {16 * 1024, 1}, |
| 139 | }, |
| 140 | .block_erase = erase_sector_jedec, |
| 141 | }, { |
| 142 | .eraseblocks = { {256 * 1024, 1} }, |
| 143 | .block_erase = erase_chip_block_jedec, |
| 144 | }, |
| 145 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 146 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 147 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 148 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 149 | }, |
| 150 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | { |
| 152 | .vendor = "AMD", |
| 153 | .name = "Am29F016D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 154 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 155 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 156 | .model_id = AMD_AM29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 157 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 158 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 159 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 160 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 161 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 162 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 163 | .block_erasers = |
| 164 | { |
| 165 | { |
| 166 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 167 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 168 | }, { |
| 169 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 170 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 171 | }, |
| 172 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 173 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 174 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 175 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 176 | }, |
| 177 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 178 | { |
| 179 | .vendor = "AMD", |
| 180 | .name = "Am29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 181 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 182 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 183 | .model_id = AMD_AM29F040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 184 | .total_size = 512, |
| 185 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 186 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 187 | .tested = TEST_UNTESTED, |
| 188 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 189 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | .block_erasers = |
| 191 | { |
| 192 | { |
| 193 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 194 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 195 | }, { |
| 196 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 197 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 198 | }, |
| 199 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 200 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 201 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 202 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 203 | }, |
| 204 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 205 | { |
| 206 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 207 | .name = "Am29F080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 208 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 209 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 210 | .model_id = AMD_AM29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 211 | .total_size = 1024, |
| 212 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 213 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 214 | .tested = TEST_UNTESTED, |
| 215 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 216 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 217 | .block_erasers = |
| 218 | { |
| 219 | { |
| 220 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 222 | }, { |
| 223 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 224 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 225 | }, |
| 226 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 227 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 228 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 229 | .voltage = {4500, 5500}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 230 | }, |
| 231 | |
| 232 | { |
| 233 | .vendor = "AMD", |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 234 | .name = "Am29LV001BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 235 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 236 | .manufacture_id = AMD_ID, |
| 237 | .model_id = AMD_AM29LV001BB, |
| 238 | .total_size = 128, |
| 239 | .page_size = 64 * 1024, /* unused */ |
| 240 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 241 | .tested = TEST_OK_PREW, |
| 242 | .probe = probe_jedec, |
| 243 | .probe_timing = TIMING_ZERO, |
| 244 | .block_erasers = |
| 245 | { |
| 246 | { |
| 247 | .eraseblocks = { |
| 248 | {8 * 1024, 1}, |
| 249 | {4 * 1024, 2}, |
| 250 | {16 * 1024, 7}, |
| 251 | }, |
| 252 | .block_erase = erase_sector_jedec, |
| 253 | }, { |
| 254 | .eraseblocks = { {128 * 1024, 1} }, |
| 255 | .block_erase = erase_chip_block_jedec, |
| 256 | }, |
| 257 | }, |
| 258 | .write = write_jedec_1, |
| 259 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 260 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -45R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 261 | }, |
| 262 | |
| 263 | { |
| 264 | .vendor = "AMD", |
| 265 | .name = "Am29LV001BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 266 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 267 | .manufacture_id = AMD_ID, |
| 268 | .model_id = AMD_AM29LV001BT, |
| 269 | .total_size = 128, |
| 270 | .page_size = 64 * 1024, /* unused */ |
| 271 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 272 | .tested = TEST_UNTESTED, |
| 273 | .probe = probe_jedec, |
| 274 | .probe_timing = TIMING_ZERO, |
| 275 | .block_erasers = |
| 276 | { |
| 277 | { |
| 278 | .eraseblocks = { |
| 279 | {16 * 1024, 7}, |
| 280 | {4 * 1024, 2}, |
| 281 | {8 * 1024, 1}, |
| 282 | }, |
| 283 | .block_erase = erase_sector_jedec, |
| 284 | }, { |
| 285 | .eraseblocks = { {128 * 1024, 1} }, |
| 286 | .block_erase = erase_chip_block_jedec, |
| 287 | }, |
| 288 | }, |
| 289 | .write = write_jedec_1, |
| 290 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 291 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -45R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 292 | }, |
| 293 | |
| 294 | { |
| 295 | .vendor = "AMD", |
| 296 | .name = "Am29LV002BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 297 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 298 | .manufacture_id = AMD_ID, |
| 299 | .model_id = AMD_AM29LV002BB, |
| 300 | .total_size = 256, |
| 301 | .page_size = 64 * 1024, /* unused */ |
| 302 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 303 | .tested = TEST_UNTESTED, |
| 304 | .probe = probe_jedec, |
| 305 | .probe_timing = TIMING_ZERO, |
| 306 | .block_erasers = |
| 307 | { |
| 308 | { |
| 309 | .eraseblocks = { |
| 310 | {16 * 1024, 1}, |
| 311 | {8 * 1024, 2}, |
| 312 | {32 * 1024, 1}, |
| 313 | {64 * 1024, 3}, |
| 314 | }, |
| 315 | .block_erase = erase_sector_jedec, |
| 316 | }, { |
| 317 | .eraseblocks = { {256 * 1024, 1} }, |
| 318 | .block_erase = erase_chip_block_jedec, |
| 319 | }, |
| 320 | }, |
| 321 | .write = write_jedec_1, |
| 322 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 323 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -55, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 324 | }, |
| 325 | |
| 326 | { |
| 327 | .vendor = "AMD", |
| 328 | .name = "Am29LV002BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 329 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 330 | .manufacture_id = AMD_ID, |
| 331 | .model_id = AMD_AM29LV002BT, |
| 332 | .total_size = 256, |
| 333 | .page_size = 64 * 1024, /* unused */ |
| 334 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 335 | .tested = TEST_UNTESTED, |
| 336 | .probe = probe_jedec, |
| 337 | .probe_timing = TIMING_ZERO, |
| 338 | .block_erasers = |
| 339 | { |
| 340 | { |
| 341 | .eraseblocks = { |
| 342 | {64 * 1024, 3}, |
| 343 | {32 * 1024, 1}, |
| 344 | {8 * 1024, 2}, |
| 345 | {16 * 1024, 1}, |
| 346 | }, |
| 347 | .block_erase = erase_sector_jedec, |
| 348 | }, { |
| 349 | .eraseblocks = { {256 * 1024, 1} }, |
| 350 | .block_erase = erase_chip_block_jedec, |
| 351 | }, |
| 352 | }, |
| 353 | .write = write_jedec_1, |
| 354 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 355 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -55, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 356 | }, |
| 357 | |
| 358 | { |
| 359 | .vendor = "AMD", |
| 360 | .name = "Am29LV004BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 361 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 362 | .manufacture_id = AMD_ID, |
| 363 | .model_id = AMD_AM29LV004BB, |
| 364 | .total_size = 512, |
| 365 | .page_size = 64 * 1024, /* unused */ |
| 366 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 367 | .tested = TEST_UNTESTED, |
| 368 | .probe = probe_jedec, |
| 369 | .probe_timing = TIMING_ZERO, |
| 370 | .block_erasers = |
| 371 | { |
| 372 | { |
| 373 | .eraseblocks = { |
| 374 | {16 * 1024, 1}, |
| 375 | {8 * 1024, 2}, |
| 376 | {32 * 1024, 1}, |
| 377 | {64 * 1024, 7}, |
| 378 | }, |
| 379 | .block_erase = erase_sector_jedec, |
| 380 | }, { |
| 381 | .eraseblocks = { {512 * 1024, 1} }, |
| 382 | .block_erase = erase_chip_block_jedec, |
| 383 | }, |
| 384 | }, |
| 385 | .write = write_jedec_1, |
| 386 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 387 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 388 | }, |
| 389 | |
| 390 | { |
| 391 | .vendor = "AMD", |
| 392 | .name = "Am29LV004BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 393 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 394 | .manufacture_id = AMD_ID, |
| 395 | .model_id = AMD_AM29LV004BT, |
| 396 | .total_size = 512, |
| 397 | .page_size = 64 * 1024, /* unused */ |
| 398 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 399 | .tested = TEST_UNTESTED, |
| 400 | .probe = probe_jedec, |
| 401 | .probe_timing = TIMING_ZERO, |
| 402 | .block_erasers = |
| 403 | { |
| 404 | { |
| 405 | .eraseblocks = { |
| 406 | {64 * 1024, 7}, |
| 407 | {32 * 1024, 1}, |
| 408 | {8 * 1024, 2}, |
| 409 | {16 * 1024, 1}, |
| 410 | }, |
| 411 | .block_erase = erase_sector_jedec, |
| 412 | }, { |
| 413 | .eraseblocks = { {512 * 1024, 1} }, |
| 414 | .block_erase = erase_chip_block_jedec, |
| 415 | }, |
| 416 | }, |
| 417 | .write = write_jedec_1, |
| 418 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 419 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 420 | }, |
| 421 | |
| 422 | { |
| 423 | .vendor = "AMD", |
| 424 | .name = "Am29LV008BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 425 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 426 | .manufacture_id = AMD_ID, |
| 427 | .model_id = AMD_AM29LV008BB, |
| 428 | .total_size = 1024, |
| 429 | .page_size = 64 * 1024, /* unused */ |
| 430 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 09ebd52 | 2011-08-25 22:54:23 +0000 | [diff] [blame] | 431 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 432 | .probe = probe_jedec, |
| 433 | .probe_timing = TIMING_ZERO, |
| 434 | .block_erasers = |
| 435 | { |
| 436 | { |
| 437 | .eraseblocks = { |
| 438 | {16 * 1024, 1}, |
| 439 | {8 * 1024, 2}, |
| 440 | {32 * 1024, 1}, |
| 441 | {64 * 1024, 15}, |
| 442 | }, |
| 443 | .block_erase = erase_sector_jedec, |
| 444 | }, { |
| 445 | .eraseblocks = { {1024 * 1024, 1} }, |
| 446 | .block_erase = erase_chip_block_jedec, |
| 447 | }, |
| 448 | }, |
| 449 | .write = write_jedec_1, |
| 450 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 451 | .voltage = {3000, 3600} /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 452 | }, |
| 453 | |
| 454 | { |
| 455 | .vendor = "AMD", |
| 456 | .name = "Am29LV008BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 457 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 458 | .manufacture_id = AMD_ID, |
| 459 | .model_id = AMD_AM29LV008BT, |
| 460 | .total_size = 1024, |
| 461 | .page_size = 64 * 1024, /* unused */ |
| 462 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 463 | .tested = TEST_UNTESTED, |
| 464 | .probe = probe_jedec, |
| 465 | .probe_timing = TIMING_ZERO, |
| 466 | .block_erasers = |
| 467 | { |
| 468 | { |
| 469 | .eraseblocks = { |
| 470 | {64 * 1024, 15}, |
| 471 | {32 * 1024, 1}, |
| 472 | {8 * 1024, 2}, |
| 473 | {16 * 1024, 1}, |
| 474 | }, |
| 475 | .block_erase = erase_sector_jedec, |
| 476 | }, { |
| 477 | .eraseblocks = { {1024 * 1024, 1} }, |
| 478 | .block_erase = erase_chip_block_jedec, |
| 479 | }, |
| 480 | }, |
| 481 | .write = write_jedec_1, |
| 482 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 483 | .voltage = {3000, 3600} /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 484 | }, |
| 485 | |
| 486 | { |
| 487 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 488 | .name = "Am29LV040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 489 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 490 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 491 | .model_id = AMD_AM29LV040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 492 | .total_size = 512, |
| 493 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 494 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 495 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 496 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 497 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 498 | .block_erasers = |
| 499 | { |
| 500 | { |
| 501 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 502 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 503 | }, { |
| 504 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 505 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 506 | }, |
| 507 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 508 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 509 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 510 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -60R, others 2.7-3.6V*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 511 | }, |
| 512 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 513 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 514 | .vendor = "AMD", |
| 515 | .name = "Am29LV081B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 516 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 517 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 518 | .model_id = AMD_AM29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 519 | .total_size = 1024, |
| 520 | .page_size = 64 * 1024, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 521 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, /* datasheet specifies address as don't care */ |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 522 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 523 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 524 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 525 | .block_erasers = |
| 526 | { |
| 527 | { |
| 528 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 529 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 530 | }, { |
| 531 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 532 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 533 | }, |
| 534 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 535 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 536 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 537 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 538 | }, |
| 539 | |
| 540 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 541 | .vendor = "AMIC", |
| 542 | .name = "A25L05PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 543 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 544 | .manufacture_id = AMIC_ID, |
| 545 | .model_id = AMIC_A25L05PT, |
| 546 | .total_size = 64, |
| 547 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 548 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 549 | .tested = TEST_UNTESTED, |
| 550 | .probe = probe_spi_rdid4, |
| 551 | .probe_timing = TIMING_ZERO, |
| 552 | .block_erasers = |
| 553 | { |
| 554 | { |
| 555 | .eraseblocks = { |
| 556 | {32 * 1024, 1}, |
| 557 | {16 * 1024, 1}, |
| 558 | {8 * 1024, 1}, |
| 559 | {4 * 1024, 2}, |
| 560 | }, |
| 561 | .block_erase = spi_block_erase_d8, |
| 562 | }, { |
| 563 | .eraseblocks = { {64 * 1024, 1} }, |
| 564 | .block_erase = spi_block_erase_c7, |
| 565 | } |
| 566 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 567 | .printlock = spi_prettyprint_status_register_default_bp1, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 601 | .printlock = spi_prettyprint_status_register_default_bp1, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 636 | .printlock = spi_prettyprint_status_register_default_bp1, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 671 | .printlock = spi_prettyprint_status_register_default_bp1, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 706 | .printlock = spi_prettyprint_status_register_default_bp1, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 741 | .printlock = spi_prettyprint_status_register_default_bp1, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 781 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 816 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 851 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 889 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 927 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 959 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 991 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1023 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1055 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1087 | .printlock = spi_prettyprint_status_register_default_bp2, |
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 | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1119 | .printlock = spi_prettyprint_status_register_default_bp2, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1120 | .unlock = spi_disable_blockprotect, |
| 1121 | .write = spi_chip_write_256, |
| 1122 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1123 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1124 | }, |
| 1125 | |
| 1126 | { |
| 1127 | .vendor = "AMIC", |
| 1128 | .name = "A25L032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1129 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1130 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1131 | .model_id = AMIC_A25L032, |
| 1132 | .total_size = 4096, |
| 1133 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1134 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1135 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 1136 | .tested = TEST_OK_PREW, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1137 | .probe = probe_spi_rdid, |
| 1138 | .probe_timing = TIMING_ZERO, |
| 1139 | .block_erasers = |
| 1140 | { |
| 1141 | { |
| 1142 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1143 | .block_erase = spi_block_erase_20, |
| 1144 | }, { |
| 1145 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1146 | .block_erase = spi_block_erase_52, |
| 1147 | }, { |
| 1148 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1149 | .block_erase = spi_block_erase_d8, |
| 1150 | }, { |
| 1151 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1152 | .block_erase = spi_block_erase_60, |
| 1153 | }, { |
| 1154 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1155 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 1156 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1157 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1158 | .printlock = spi_prettyprint_status_register_amic_a25l032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1159 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1160 | .write = spi_chip_write_256, |
| 1161 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1162 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1163 | }, |
| 1164 | |
| 1165 | { |
| 1166 | .vendor = "AMIC", |
| 1167 | .name = "A25LQ032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1168 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1169 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1170 | .model_id = AMIC_A25LQ032, |
| 1171 | .total_size = 4096, |
| 1172 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1173 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1174 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1175 | .tested = TEST_UNTESTED, |
| 1176 | .probe = probe_spi_rdid, |
| 1177 | .probe_timing = TIMING_ZERO, |
| 1178 | .block_erasers = |
| 1179 | { |
| 1180 | { |
| 1181 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1182 | .block_erase = spi_block_erase_20, |
| 1183 | }, { |
| 1184 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1185 | .block_erase = spi_block_erase_52, |
| 1186 | }, { |
| 1187 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1188 | .block_erase = spi_block_erase_d8, |
| 1189 | }, { |
| 1190 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1191 | .block_erase = spi_block_erase_60, |
| 1192 | }, { |
| 1193 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1194 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 1195 | } |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1196 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1197 | .printlock = spi_prettyprint_status_register_amic_a25l032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1198 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1199 | .write = spi_chip_write_256, |
| 1200 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1201 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1202 | }, |
| 1203 | |
| 1204 | { |
| 1205 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1206 | .name = "A29002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1207 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1208 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1209 | .model_id = AMIC_A29002B, |
| 1210 | .total_size = 256, |
| 1211 | .page_size = 64 * 1024, |
| 1212 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1213 | .tested = TEST_UNTESTED, |
| 1214 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1215 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1216 | .block_erasers = |
| 1217 | { |
| 1218 | { |
| 1219 | .eraseblocks = { |
| 1220 | {16 * 1024, 1}, |
| 1221 | {8 * 1024, 2}, |
| 1222 | {32 * 1024, 1}, |
| 1223 | {64 * 1024, 3}, |
| 1224 | }, |
| 1225 | .block_erase = erase_sector_jedec, |
| 1226 | }, { |
| 1227 | .eraseblocks = { {256 * 1024, 1} }, |
| 1228 | .block_erase = erase_chip_block_jedec, |
| 1229 | }, |
| 1230 | }, |
| 1231 | .write = write_jedec_1, |
| 1232 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1233 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1234 | }, |
| 1235 | |
| 1236 | { |
| 1237 | .vendor = "AMIC", |
| 1238 | .name = "A29002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1239 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1240 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1241 | .model_id = AMIC_A29002T, |
| 1242 | .total_size = 256, |
| 1243 | .page_size = 64 * 1024, |
| 1244 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 1245 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1246 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1247 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1248 | .block_erasers = |
| 1249 | { |
| 1250 | { |
| 1251 | .eraseblocks = { |
| 1252 | {64 * 1024, 3}, |
| 1253 | {32 * 1024, 1}, |
| 1254 | {8 * 1024, 2}, |
| 1255 | {16 * 1024, 1}, |
| 1256 | }, |
| 1257 | .block_erase = erase_sector_jedec, |
| 1258 | }, { |
| 1259 | .eraseblocks = { {256 * 1024, 1} }, |
| 1260 | .block_erase = erase_chip_block_jedec, |
| 1261 | }, |
| 1262 | }, |
| 1263 | .write = write_jedec_1, |
| 1264 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1265 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1266 | }, |
| 1267 | |
| 1268 | { |
| 1269 | .vendor = "AMIC", |
| 1270 | .name = "A29040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1271 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1272 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1273 | .model_id = AMIC_A29040B, |
| 1274 | .total_size = 512, |
| 1275 | .page_size = 64 * 1024, |
| 1276 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1277 | .tested = TEST_UNTESTED, |
| 1278 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1279 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1280 | .block_erasers = |
| 1281 | { |
| 1282 | { |
| 1283 | .eraseblocks = { {64 * 1024, 8} }, |
| 1284 | .block_erase = erase_sector_jedec, |
| 1285 | }, { |
| 1286 | .eraseblocks = { {512 * 1024, 1} }, |
| 1287 | .block_erase = erase_chip_block_jedec, |
| 1288 | }, |
| 1289 | }, |
| 1290 | .write = write_jedec_1, |
| 1291 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1292 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1293 | }, |
| 1294 | |
| 1295 | { |
| 1296 | .vendor = "AMIC", |
| 1297 | .name = "A49LF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1298 | .bustype = BUS_LPC, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1299 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1300 | .model_id = AMIC_A49LF040A, |
| 1301 | .total_size = 512, |
| 1302 | .page_size = 64 * 1024, |
| 1303 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 1304 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1305 | .probe = probe_jedec, |
| 1306 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 1307 | .block_erasers = |
| 1308 | { |
| 1309 | { |
| 1310 | .eraseblocks = { {64 * 1024, 8} }, |
| 1311 | .block_erase = erase_block_jedec, |
| 1312 | }, { |
| 1313 | .eraseblocks = { {512 * 1024, 1} }, |
| 1314 | .block_erase = erase_chip_block_jedec, |
| 1315 | } |
| 1316 | }, |
| 1317 | .unlock = unlock_49fl00x, |
| 1318 | .write = write_jedec_1, |
| 1319 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1320 | .voltage = {3000, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1321 | }, |
| 1322 | |
| 1323 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1324 | .vendor = "Atmel", |
| 1325 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1326 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1327 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1328 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1329 | .total_size = 256, |
| 1330 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1331 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1332 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1333 | .tested = TEST_UNTESTED, |
| 1334 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1335 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1336 | .block_erasers = |
| 1337 | { |
| 1338 | { |
| 1339 | .eraseblocks = { {4 * 1024, 64} }, |
| 1340 | .block_erase = spi_block_erase_20, |
| 1341 | }, { |
| 1342 | .eraseblocks = { {32 * 1024, 8} }, |
| 1343 | .block_erase = spi_block_erase_52, |
| 1344 | }, { |
| 1345 | .eraseblocks = { {64 * 1024, 4} }, |
| 1346 | .block_erase = spi_block_erase_d8, |
| 1347 | }, { |
| 1348 | .eraseblocks = { {256 * 1024, 1} }, |
| 1349 | .block_erase = spi_block_erase_60, |
| 1350 | }, { |
| 1351 | .eraseblocks = { {256 * 1024, 1} }, |
| 1352 | .block_erase = spi_block_erase_c7, |
| 1353 | } |
| 1354 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1355 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1356 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1358 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1359 | .voltage = {2700, 3600}, /* 2.3-3.6V & 2.7-3.6V models available */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1360 | }, |
| 1361 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1362 | { |
| 1363 | .vendor = "Atmel", |
| 1364 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1365 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1366 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1367 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1368 | .total_size = 512, |
| 1369 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1370 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1371 | .tested = TEST_UNTESTED, |
| 1372 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1373 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1374 | .block_erasers = |
| 1375 | { |
| 1376 | { |
| 1377 | .eraseblocks = { {4 * 1024, 128} }, |
| 1378 | .block_erase = spi_block_erase_20, |
| 1379 | }, { |
| 1380 | .eraseblocks = { {32 * 1024, 16} }, |
| 1381 | .block_erase = spi_block_erase_52, |
| 1382 | }, { |
| 1383 | .eraseblocks = { {64 * 1024, 8} }, |
| 1384 | .block_erase = spi_block_erase_d8, |
| 1385 | }, { |
| 1386 | .eraseblocks = { {512 * 1024, 1} }, |
| 1387 | .block_erase = spi_block_erase_60, |
| 1388 | }, { |
| 1389 | .eraseblocks = { {512 * 1024, 1} }, |
| 1390 | .block_erase = spi_block_erase_c7, |
| 1391 | } |
| 1392 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1393 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1394 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1395 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1396 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1397 | .voltage = {2700, 3600}, /* 2.3-3.6V & 2.7-3.6V models available */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1398 | }, |
| 1399 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1400 | { |
| 1401 | .vendor = "Atmel", |
| 1402 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1403 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1404 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1405 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1406 | .total_size = 1024, |
| 1407 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1408 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1409 | .tested = TEST_UNTESTED, |
| 1410 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1411 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1412 | .block_erasers = |
| 1413 | { |
| 1414 | { |
| 1415 | .eraseblocks = { {4 * 1024, 256} }, |
| 1416 | .block_erase = spi_block_erase_20, |
| 1417 | }, { |
| 1418 | .eraseblocks = { {32 * 1024, 32} }, |
| 1419 | .block_erase = spi_block_erase_52, |
| 1420 | }, { |
| 1421 | .eraseblocks = { {64 * 1024, 16} }, |
| 1422 | .block_erase = spi_block_erase_d8, |
| 1423 | }, { |
| 1424 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1425 | .block_erase = spi_block_erase_60, |
| 1426 | }, { |
| 1427 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1428 | .block_erase = spi_block_erase_c7, |
| 1429 | } |
| 1430 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1431 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1432 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1433 | .write = spi_chip_write_256, |
| 1434 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1435 | .voltage = {1600, 2000}, /* Datasheet says range is 1.65-1.95 V */ |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1436 | }, |
| 1437 | |
| 1438 | { |
| 1439 | .vendor = "Atmel", |
| 1440 | .name = "AT25DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1441 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1442 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1443 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1444 | .total_size = 1024, |
| 1445 | .page_size = 256, |
| 1446 | .feature_bits = FEATURE_WRSR_WREN, |
| 1447 | .tested = TEST_UNTESTED, |
| 1448 | .probe = probe_spi_rdid, |
| 1449 | .probe_timing = TIMING_ZERO, |
| 1450 | .block_erasers = |
| 1451 | { |
| 1452 | { |
| 1453 | .eraseblocks = { {4 * 1024, 256} }, |
| 1454 | .block_erase = spi_block_erase_20, |
| 1455 | }, { |
| 1456 | .eraseblocks = { {32 * 1024, 32} }, |
| 1457 | .block_erase = spi_block_erase_52, |
| 1458 | }, { |
| 1459 | .eraseblocks = { {64 * 1024, 16} }, |
| 1460 | .block_erase = spi_block_erase_d8, |
| 1461 | }, { |
| 1462 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1463 | .block_erase = spi_block_erase_60, |
| 1464 | }, { |
| 1465 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1466 | .block_erase = spi_block_erase_c7, |
| 1467 | } |
| 1468 | }, |
| 1469 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1470 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1471 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1472 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1473 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1474 | }, |
| 1475 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1476 | { |
| 1477 | .vendor = "Atmel", |
| 1478 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1479 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1480 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1481 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1482 | .total_size = 2048, |
| 1483 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1484 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 1485 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1486 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1487 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1488 | .block_erasers = |
| 1489 | { |
| 1490 | { |
| 1491 | .eraseblocks = { {4 * 1024, 512} }, |
| 1492 | .block_erase = spi_block_erase_20, |
| 1493 | }, { |
| 1494 | .eraseblocks = { {32 * 1024, 64} }, |
| 1495 | .block_erase = spi_block_erase_52, |
| 1496 | }, { |
| 1497 | .eraseblocks = { {64 * 1024, 32} }, |
| 1498 | .block_erase = spi_block_erase_d8, |
| 1499 | }, { |
| 1500 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1501 | .block_erase = spi_block_erase_60, |
| 1502 | }, { |
| 1503 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1504 | .block_erase = spi_block_erase_c7, |
| 1505 | } |
| 1506 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1507 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1508 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1509 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1510 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1511 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1512 | }, |
| 1513 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1514 | { |
| 1515 | .vendor = "Atmel", |
| 1516 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1517 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1518 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1519 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1520 | .total_size = 4096, |
| 1521 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1522 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 1523 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1524 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1525 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1526 | .block_erasers = |
| 1527 | { |
| 1528 | { |
| 1529 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1530 | .block_erase = spi_block_erase_20, |
| 1531 | }, { |
| 1532 | .eraseblocks = { {32 * 1024, 128} }, |
| 1533 | .block_erase = spi_block_erase_52, |
| 1534 | }, { |
| 1535 | .eraseblocks = { {64 * 1024, 64} }, |
| 1536 | .block_erase = spi_block_erase_d8, |
| 1537 | }, { |
| 1538 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1539 | .block_erase = spi_block_erase_60, |
| 1540 | }, { |
| 1541 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1542 | .block_erase = spi_block_erase_c7, |
| 1543 | } |
| 1544 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1545 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1546 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1547 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1548 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1549 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1550 | }, |
| 1551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1552 | { |
| 1553 | .vendor = "Atmel", |
| 1554 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1555 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1556 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1557 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1558 | .total_size = 4096, |
| 1559 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1560 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1561 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 1562 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1563 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1564 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1565 | .block_erasers = |
| 1566 | { |
| 1567 | { |
| 1568 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1569 | .block_erase = spi_block_erase_20, |
| 1570 | }, { |
| 1571 | .eraseblocks = { {32 * 1024, 128} }, |
| 1572 | .block_erase = spi_block_erase_52, |
| 1573 | }, { |
| 1574 | .eraseblocks = { {64 * 1024, 64} }, |
| 1575 | .block_erase = spi_block_erase_d8, |
| 1576 | }, { |
| 1577 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1578 | .block_erase = spi_block_erase_60, |
| 1579 | }, { |
| 1580 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1581 | .block_erase = spi_block_erase_c7, |
| 1582 | } |
| 1583 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1584 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1585 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1586 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1587 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1588 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1589 | }, |
| 1590 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1591 | { |
| 1592 | .vendor = "Atmel", |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 1593 | .name = "AT25DF641(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1594 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1596 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1597 | .total_size = 8192, |
| 1598 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1599 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1600 | .tested = TEST_UNTESTED, |
| 1601 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1602 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1603 | .block_erasers = |
| 1604 | { |
| 1605 | { |
| 1606 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1607 | .block_erase = spi_block_erase_20, |
| 1608 | }, { |
| 1609 | .eraseblocks = { {32 * 1024, 256} }, |
| 1610 | .block_erase = spi_block_erase_52, |
| 1611 | }, { |
| 1612 | .eraseblocks = { {64 * 1024, 128} }, |
| 1613 | .block_erase = spi_block_erase_d8, |
| 1614 | }, { |
| 1615 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1616 | .block_erase = spi_block_erase_60, |
| 1617 | }, { |
| 1618 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1619 | .block_erase = spi_block_erase_c7, |
| 1620 | } |
| 1621 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1622 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1623 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1624 | .write = spi_chip_write_256, |
| 1625 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1626 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1627 | }, |
| 1628 | |
| 1629 | { |
| 1630 | .vendor = "Atmel", |
| 1631 | .name = "AT25DQ161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1632 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1633 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1634 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1635 | .total_size = 2048, |
| 1636 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1637 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1638 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1639 | .tested = TEST_UNTESTED, |
| 1640 | .probe = probe_spi_rdid, |
| 1641 | .probe_timing = TIMING_ZERO, |
| 1642 | .block_erasers = |
| 1643 | { |
| 1644 | { |
| 1645 | .eraseblocks = { {4 * 1024, 512} }, |
| 1646 | .block_erase = spi_block_erase_20, |
| 1647 | }, { |
| 1648 | .eraseblocks = { {32 * 1024, 64} }, |
| 1649 | .block_erase = spi_block_erase_52, |
| 1650 | }, { |
| 1651 | .eraseblocks = { {64 * 1024, 32} }, |
| 1652 | .block_erase = spi_block_erase_d8, |
| 1653 | }, { |
| 1654 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1655 | .block_erase = spi_block_erase_60, |
| 1656 | }, { |
| 1657 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1658 | .block_erase = spi_block_erase_c7, |
| 1659 | } |
| 1660 | }, |
| 1661 | .printlock = spi_prettyprint_status_register_at25df_sec, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1662 | .unlock = spi_disable_blockprotect_at2x_global_unprotect_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1663 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1664 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1665 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1666 | }, |
| 1667 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1668 | { |
| 1669 | .vendor = "Atmel", |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1670 | .name = "AT25F512", |
| 1671 | .bustype = BUS_SPI, |
| 1672 | .manufacture_id = ATMEL_ID, |
| 1673 | .model_id = ATMEL_AT25F512, |
| 1674 | .total_size = 64, |
| 1675 | .page_size = 256, |
| 1676 | .feature_bits = FEATURE_WRSR_WREN, |
| 1677 | .tested = TEST_UNTESTED, |
| 1678 | .probe = probe_spi_at25f, |
| 1679 | .probe_timing = TIMING_ZERO, |
| 1680 | .block_erasers = |
| 1681 | { |
| 1682 | { |
| 1683 | .eraseblocks = { {32 * 1024, 2} }, |
| 1684 | .block_erase = spi_block_erase_52, |
| 1685 | }, { |
| 1686 | .eraseblocks = { {64 * 1024, 1} }, |
| 1687 | .block_erase = spi_block_erase_62, |
| 1688 | } |
| 1689 | }, |
| 1690 | .printlock = spi_prettyprint_status_register_at25f, |
| 1691 | .unlock = spi_disable_blockprotect_at25f, |
| 1692 | .write = spi_chip_write_256, |
| 1693 | .read = spi_chip_read, |
| 1694 | .voltage = {2700, 3600}, |
| 1695 | }, |
| 1696 | |
| 1697 | { |
| 1698 | .vendor = "Atmel", |
| 1699 | .name = "AT25F512A", |
| 1700 | .bustype = BUS_SPI, |
| 1701 | .manufacture_id = ATMEL_ID, |
| 1702 | .model_id = ATMEL_AT25F512A, |
| 1703 | .total_size = 64, |
| 1704 | .page_size = 128, |
| 1705 | .feature_bits = FEATURE_WRSR_WREN, |
| 1706 | .tested = TEST_UNTESTED, |
| 1707 | .probe = probe_spi_at25f, |
| 1708 | .probe_timing = TIMING_ZERO, |
| 1709 | .block_erasers = |
| 1710 | { |
| 1711 | { |
| 1712 | .eraseblocks = { {32 * 1024, 2} }, |
| 1713 | .block_erase = spi_block_erase_52, |
| 1714 | }, { |
| 1715 | .eraseblocks = { {64 * 1024, 1} }, |
| 1716 | .block_erase = spi_block_erase_62, |
| 1717 | } |
| 1718 | }, |
| 1719 | .printlock = spi_prettyprint_status_register_at25f512a, |
| 1720 | /* FIXME: It is not correct to use this one, because the BP1 bit is N/A. */ |
| 1721 | .unlock = spi_disable_blockprotect_at25f512a, |
| 1722 | .write = spi_chip_write_256, |
| 1723 | .read = spi_chip_read, |
| 1724 | .voltage = {2700, 3600}, |
| 1725 | }, |
| 1726 | |
| 1727 | { |
| 1728 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1729 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1730 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1731 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1732 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1733 | .total_size = 64, |
| 1734 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1735 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1736 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1737 | .tested = TEST_UNTESTED, |
| 1738 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1739 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1740 | .block_erasers = |
| 1741 | { |
| 1742 | { |
| 1743 | .eraseblocks = { {4 * 1024, 16} }, |
| 1744 | .block_erase = spi_block_erase_20, |
| 1745 | }, { |
| 1746 | .eraseblocks = { {32 * 1024, 2} }, |
| 1747 | .block_erase = spi_block_erase_52, |
| 1748 | }, { |
| 1749 | .eraseblocks = { {32 * 1024, 2} }, |
| 1750 | .block_erase = spi_block_erase_d8, |
| 1751 | }, { |
| 1752 | .eraseblocks = { {64 * 1024, 1} }, |
| 1753 | .block_erase = spi_block_erase_60, |
| 1754 | }, { |
| 1755 | .eraseblocks = { {64 * 1024, 1} }, |
| 1756 | .block_erase = spi_block_erase_c7, |
Stefan Tauner | 3c0fcd0 | 2012-09-21 12:46:56 +0000 | [diff] [blame] | 1757 | }, { |
| 1758 | .eraseblocks = { {64 * 1024, 1} }, |
| 1759 | .block_erase = spi_block_erase_62, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1760 | } |
| 1761 | }, |
Stefan Tauner | 7bf4ed9 | 2012-08-26 21:04:27 +0000 | [diff] [blame] | 1762 | .printlock = spi_prettyprint_status_register_at25f512b, |
| 1763 | .unlock = spi_disable_blockprotect_at25f512b, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1764 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1765 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1766 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1767 | }, |
| 1768 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1769 | { |
| 1770 | .vendor = "Atmel", |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1771 | /* The A suffix indicates 33MHz instead of 20MHz clock rate. |
| 1772 | * All other properties seem to be the same.*/ |
| 1773 | .name = "AT25F1024(A)", |
| 1774 | .bustype = BUS_SPI, |
| 1775 | .manufacture_id = ATMEL_ID, |
| 1776 | .model_id = ATMEL_AT25F1024, |
| 1777 | .total_size = 128, |
| 1778 | .page_size = 256, |
| 1779 | .feature_bits = FEATURE_WRSR_WREN, |
| 1780 | .tested = TEST_OK_PREW, |
| 1781 | .probe = probe_spi_at25f, |
| 1782 | .probe_timing = TIMING_ZERO, |
| 1783 | .block_erasers = |
| 1784 | { |
| 1785 | { |
| 1786 | .eraseblocks = { {32 * 1024, 4} }, |
| 1787 | .block_erase = spi_block_erase_52, |
| 1788 | }, { |
| 1789 | .eraseblocks = { {128 * 1024, 1} }, |
| 1790 | .block_erase = spi_block_erase_62, |
| 1791 | } |
| 1792 | }, |
| 1793 | .printlock = spi_prettyprint_status_register_at25f, |
| 1794 | .unlock = spi_disable_blockprotect_at25f, |
| 1795 | .write = spi_chip_write_256, |
| 1796 | .read = spi_chip_read, |
| 1797 | .voltage = {2700, 3600}, |
| 1798 | }, |
| 1799 | |
| 1800 | { |
| 1801 | .vendor = "Atmel", |
| 1802 | .name = "AT25F2048", |
| 1803 | .bustype = BUS_SPI, |
| 1804 | .manufacture_id = ATMEL_ID, |
| 1805 | .model_id = ATMEL_AT25F2048, |
| 1806 | .total_size = 256, |
| 1807 | .page_size = 256, |
| 1808 | .feature_bits = FEATURE_WRSR_WREN, |
| 1809 | .tested = TEST_UNTESTED, |
| 1810 | .probe = probe_spi_at25f, |
| 1811 | .probe_timing = TIMING_ZERO, |
| 1812 | .block_erasers = |
| 1813 | { |
| 1814 | { |
| 1815 | .eraseblocks = { {64 * 1024, 4} }, |
| 1816 | .block_erase = spi_block_erase_52, |
| 1817 | }, { |
| 1818 | .eraseblocks = { {256 * 1024, 1} }, |
| 1819 | .block_erase = spi_block_erase_62, |
| 1820 | } |
| 1821 | }, |
| 1822 | .printlock = spi_prettyprint_status_register_at25f, |
| 1823 | .unlock = spi_disable_blockprotect_at25f, |
| 1824 | .write = spi_chip_write_256, |
| 1825 | .read = spi_chip_read, |
| 1826 | .voltage = {2700, 3600}, |
| 1827 | }, |
| 1828 | |
| 1829 | { |
| 1830 | .vendor = "Atmel", |
| 1831 | .name = "AT25F4096", |
| 1832 | .bustype = BUS_SPI, |
| 1833 | .manufacture_id = ATMEL_ID, |
| 1834 | .model_id = ATMEL_AT25F4096, |
| 1835 | .total_size = 512, |
| 1836 | .page_size = 256, |
| 1837 | .feature_bits = FEATURE_WRSR_WREN, |
| 1838 | .tested = TEST_UNTESTED, |
| 1839 | .probe = probe_spi_at25f, |
| 1840 | .probe_timing = TIMING_ZERO, |
| 1841 | .block_erasers = |
| 1842 | { |
| 1843 | { |
| 1844 | .eraseblocks = { {64 * 1024, 8} }, |
| 1845 | .block_erase = spi_block_erase_52, |
| 1846 | }, { |
| 1847 | .eraseblocks = { {512 * 1024, 1} }, |
| 1848 | .block_erase = spi_block_erase_62, |
| 1849 | } |
| 1850 | }, |
| 1851 | .printlock = spi_prettyprint_status_register_at25f4096, |
Stefan Tauner | 278ba6e | 2013-06-28 21:28:27 +0000 | [diff] [blame] | 1852 | /* "Bits 5-6 are 0s when device is not in an internal write cycle." Better leave them alone: */ |
| 1853 | .unlock = spi_disable_blockprotect_bp2_srwd, |
Stefan Tauner | 57794ac | 2012-12-29 15:04:20 +0000 | [diff] [blame] | 1854 | .write = spi_chip_write_256, |
| 1855 | .read = spi_chip_read, |
| 1856 | .voltage = {2700, 3600}, |
| 1857 | }, |
| 1858 | |
| 1859 | { |
| 1860 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1861 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1862 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1863 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1864 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1865 | .total_size = 128, |
| 1866 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1867 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 1868 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1869 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1870 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1871 | .block_erasers = |
| 1872 | { |
| 1873 | { |
| 1874 | .eraseblocks = { {4 * 1024, 32} }, |
| 1875 | .block_erase = spi_block_erase_20, |
| 1876 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1877 | .eraseblocks = { {4 * 1024, 32} }, |
| 1878 | .block_erase = spi_block_erase_d7, |
| 1879 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1880 | .eraseblocks = { {32 * 1024, 4} }, |
| 1881 | .block_erase = spi_block_erase_52, |
| 1882 | }, { |
| 1883 | .eraseblocks = { {32 * 1024, 4} }, |
| 1884 | .block_erase = spi_block_erase_d8, |
| 1885 | }, { |
| 1886 | .eraseblocks = { {128 * 1024, 1} }, |
| 1887 | .block_erase = spi_block_erase_60, |
| 1888 | }, { |
| 1889 | .eraseblocks = { {128 * 1024, 1} }, |
| 1890 | .block_erase = spi_block_erase_c7, |
| 1891 | } |
| 1892 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1893 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1894 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1895 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1896 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1897 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1898 | }, |
| 1899 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1900 | { |
| 1901 | .vendor = "Atmel", |
| 1902 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1903 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1904 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1905 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1906 | .total_size = 512, |
| 1907 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1908 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1909 | .tested = TEST_UNTESTED, |
| 1910 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1911 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1912 | .block_erasers = |
| 1913 | { |
| 1914 | { |
| 1915 | .eraseblocks = { {4 * 1024, 128} }, |
| 1916 | .block_erase = spi_block_erase_20, |
| 1917 | }, { |
| 1918 | .eraseblocks = { {64 * 1024, 8} }, |
| 1919 | .block_erase = spi_block_erase_52, |
| 1920 | }, { |
| 1921 | .eraseblocks = { {64 * 1024, 8} }, |
| 1922 | .block_erase = spi_block_erase_d8, |
| 1923 | }, { |
| 1924 | .eraseblocks = { {512 * 1024, 1} }, |
| 1925 | .block_erase = spi_block_erase_60, |
| 1926 | }, { |
| 1927 | .eraseblocks = { {512 * 1024, 1} }, |
| 1928 | .block_erase = spi_block_erase_c7, |
| 1929 | } |
| 1930 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1931 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1932 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1933 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1934 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1935 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1936 | }, |
| 1937 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1938 | { |
| 1939 | .vendor = "Atmel", |
| 1940 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1941 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1942 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1943 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1944 | .total_size = 512, |
| 1945 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1946 | /* 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] | 1947 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1948 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1949 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1950 | .block_erasers = |
| 1951 | { |
| 1952 | { |
Stefan Tauner | 94b39b4 | 2012-10-27 00:06:02 +0000 | [diff] [blame] | 1953 | .eraseblocks = { {256, 2048} }, |
| 1954 | .block_erase = spi_block_erase_81, |
| 1955 | }, { |
| 1956 | .eraseblocks = { {2 * 1024, 256} }, |
| 1957 | .block_erase = spi_block_erase_50, |
| 1958 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1959 | .eraseblocks = { {4 * 1024, 128} }, |
| 1960 | .block_erase = spi_block_erase_20, |
| 1961 | } |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1962 | }, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 1963 | .printlock = spi_prettyprint_status_register_plain, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1964 | /* 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] | 1965 | .write = spi_chip_write_1, |
| 1966 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1967 | .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] | 1968 | }, |
| 1969 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1970 | { |
| 1971 | .vendor = "Atmel", |
| 1972 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1973 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1974 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1975 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1976 | .total_size = 1024, |
| 1977 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1978 | .feature_bits = FEATURE_WRSR_WREN, |
| 1979 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1980 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1981 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1982 | .block_erasers = |
| 1983 | { |
| 1984 | { |
| 1985 | .eraseblocks = { {4 * 1024, 256} }, |
| 1986 | .block_erase = spi_block_erase_20, |
| 1987 | }, { |
| 1988 | .eraseblocks = { {32 * 1024, 32} }, |
| 1989 | .block_erase = spi_block_erase_52, |
| 1990 | }, { |
| 1991 | .eraseblocks = { {64 * 1024, 16} }, |
| 1992 | .block_erase = spi_block_erase_d8, |
| 1993 | }, { |
| 1994 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1995 | .block_erase = spi_block_erase_60, |
| 1996 | }, { |
| 1997 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1998 | .block_erase = spi_block_erase_c7, |
| 1999 | } |
| 2000 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2001 | .printlock = spi_prettyprint_status_register_at26df081a, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2002 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2003 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2004 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2005 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2006 | }, |
| 2007 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2008 | { |
| 2009 | .vendor = "Atmel", |
| 2010 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2011 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2012 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2013 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2014 | .total_size = 2048, |
| 2015 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2016 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 2017 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2018 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2019 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2020 | .block_erasers = |
| 2021 | { |
| 2022 | { |
| 2023 | .eraseblocks = { {4 * 1024, 512} }, |
| 2024 | .block_erase = spi_block_erase_20, |
| 2025 | }, { |
| 2026 | .eraseblocks = { {32 * 1024, 64} }, |
| 2027 | .block_erase = spi_block_erase_52, |
| 2028 | }, { |
| 2029 | .eraseblocks = { {64 * 1024, 32} }, |
| 2030 | .block_erase = spi_block_erase_d8, |
| 2031 | }, { |
| 2032 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2033 | .block_erase = spi_block_erase_60, |
| 2034 | }, { |
| 2035 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2036 | .block_erase = spi_block_erase_c7, |
| 2037 | } |
| 2038 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 2039 | .printlock = spi_prettyprint_status_register_at25df, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2040 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2041 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2042 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2043 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2044 | }, |
| 2045 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2046 | { |
| 2047 | .vendor = "Atmel", |
| 2048 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2049 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2050 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2051 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2052 | .total_size = 2048, |
| 2053 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2054 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2055 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2056 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2057 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2058 | .block_erasers = |
| 2059 | { |
| 2060 | { |
| 2061 | .eraseblocks = { {4 * 1024, 512} }, |
| 2062 | .block_erase = spi_block_erase_20, |
| 2063 | }, { |
| 2064 | .eraseblocks = { {32 * 1024, 64} }, |
| 2065 | .block_erase = spi_block_erase_52, |
| 2066 | }, { |
| 2067 | .eraseblocks = { {64 * 1024, 32} }, |
| 2068 | .block_erase = spi_block_erase_d8, |
| 2069 | }, { |
| 2070 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2071 | .block_erase = spi_block_erase_60, |
| 2072 | }, { |
| 2073 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2074 | .block_erase = spi_block_erase_c7, |
| 2075 | } |
| 2076 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2077 | .printlock = spi_prettyprint_status_register_at26df081a, |
Stefan Tauner | cecb2c5 | 2013-06-20 22:55:41 +0000 | [diff] [blame] | 2078 | .unlock = spi_disable_blockprotect_at2x_global_unprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2079 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2080 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2081 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2082 | }, |
| 2083 | |
| 2084 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2085 | /*{ |
| 2086 | .vendor = "Atmel", |
| 2087 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2088 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2089 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2090 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2091 | .total_size = 4096, |
| 2092 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2093 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2094 | .tested = TEST_UNTESTED, |
| 2095 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2096 | .probe_timing = TIMING_ZERO, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2097 | .printlock = spi_prettyprint_status_register_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2098 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2099 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2100 | .read = spi_chip_read, |
| 2101 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2102 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2103 | { |
| 2104 | .vendor = "Atmel", |
| 2105 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2106 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2107 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2108 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2109 | .total_size = 512, |
| 2110 | .page_size = 256, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2111 | .tested = TEST_BAD_WRITE, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2112 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2113 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2114 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2115 | .block_erasers = |
| 2116 | { |
| 2117 | { |
| 2118 | .eraseblocks = { {4 * 1024, 128} }, |
| 2119 | .block_erase = spi_block_erase_20, |
| 2120 | }, { |
| 2121 | .eraseblocks = { {32 * 1024, 16} }, |
| 2122 | .block_erase = spi_block_erase_52, |
| 2123 | }, { |
| 2124 | .eraseblocks = { {64 * 1024, 8} }, |
| 2125 | .block_erase = spi_block_erase_d8, |
| 2126 | }, { |
| 2127 | .eraseblocks = { {512 * 1024, 1} }, |
| 2128 | .block_erase = spi_block_erase_60, |
| 2129 | }, { |
| 2130 | .eraseblocks = { {512 * 1024, 1} }, |
| 2131 | .block_erase = spi_block_erase_c7, |
| 2132 | } |
| 2133 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2134 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2135 | .write = NULL /* Incompatible Page write */, |
| 2136 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2137 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2138 | }, |
| 2139 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2140 | { |
| 2141 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2142 | .name = "AT29C512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2143 | .bustype = BUS_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2144 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2145 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2146 | .total_size = 64, |
| 2147 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2148 | .feature_bits = FEATURE_LONG_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 2149 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 2150 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2151 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2152 | .block_erasers = |
| 2153 | { |
| 2154 | { |
| 2155 | .eraseblocks = { {64 * 1024, 1} }, |
| 2156 | .block_erase = erase_chip_block_jedec, |
| 2157 | } |
| 2158 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2159 | .write = write_jedec, |
| 2160 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2161 | .voltage = {4500, 5500}, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2162 | }, |
| 2163 | |
| 2164 | { |
| 2165 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2166 | .name = "AT29C010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2167 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2168 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2169 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2170 | .total_size = 128, |
| 2171 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2172 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2173 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2174 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2175 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2176 | .block_erasers = |
| 2177 | { |
| 2178 | { |
| 2179 | .eraseblocks = { {128 * 1024, 1} }, |
| 2180 | .block_erase = erase_chip_block_jedec, |
| 2181 | } |
| 2182 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2183 | .write = write_jedec, /* FIXME */ |
| 2184 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2185 | .voltage = {4500, 5500}, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2186 | }, |
| 2187 | |
| 2188 | { |
| 2189 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2190 | .name = "AT29C020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2191 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2192 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2193 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2194 | .total_size = 256, |
| 2195 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2196 | .feature_bits = FEATURE_LONG_RESET, |
| 2197 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2198 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2199 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2200 | .block_erasers = |
| 2201 | { |
| 2202 | { |
| 2203 | .eraseblocks = { {256 * 1024, 1} }, |
| 2204 | .block_erase = erase_chip_block_jedec, |
| 2205 | } |
| 2206 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2207 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2208 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2209 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2210 | }, |
| 2211 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2212 | { |
| 2213 | .vendor = "Atmel", |
| 2214 | .name = "AT29C040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2215 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2216 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2217 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2218 | .total_size = 512, |
| 2219 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2220 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2221 | .tested = TEST_UNTESTED, |
| 2222 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 2223 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2224 | .block_erasers = |
| 2225 | { |
| 2226 | { |
| 2227 | .eraseblocks = { {512 * 1024, 1} }, |
| 2228 | .block_erase = erase_chip_block_jedec, |
| 2229 | } |
| 2230 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2231 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2232 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2233 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2234 | }, |
| 2235 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2236 | { |
| 2237 | .vendor = "Atmel", |
| 2238 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2239 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2240 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2241 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2242 | .total_size = 16896 /* No power of two sizes */, |
| 2243 | .page_size = 1056 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2244 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2245 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2246 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2247 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2248 | .write = NULL /* Incompatible Page write */, |
| 2249 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2250 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2251 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2252 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2253 | { |
| 2254 | .vendor = "Atmel", |
| 2255 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2256 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2257 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2258 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2259 | .total_size = 128 /* Size can only be determined from status register */, |
| 2260 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2261 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2262 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2263 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2264 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2265 | .write = NULL, |
| 2266 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2267 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2268 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2269 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2270 | { |
| 2271 | .vendor = "Atmel", |
| 2272 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2273 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2274 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2275 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2276 | .total_size = 256 /* Size can only be determined from status register */, |
| 2277 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2278 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2279 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2280 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2281 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2282 | .write = NULL, |
| 2283 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2284 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2285 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2286 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2287 | { |
| 2288 | .vendor = "Atmel", |
| 2289 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2290 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2291 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2292 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2293 | .total_size = 512 /* Size can only be determined from status register */, |
| 2294 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2295 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2296 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2297 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2298 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2299 | .write = NULL, |
| 2300 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2301 | .voltage = {2500, 3600}, /* 2.5-3.6V & 2.7-3.6V models available */ |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2302 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2303 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2304 | { |
| 2305 | .vendor = "Atmel", |
| 2306 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2307 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2308 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2309 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2310 | .total_size = 1024 /* Size can only be determined from status register */, |
| 2311 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2312 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2313 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2314 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2315 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2316 | .write = NULL, |
| 2317 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2318 | .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] | 2319 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2320 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2321 | { |
| 2322 | .vendor = "Atmel", |
| 2323 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2324 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2325 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2326 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2327 | .total_size = 2048 /* Size can only be determined from status register */, |
| 2328 | .page_size = 512 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2329 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2330 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2331 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2332 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2333 | .write = NULL, |
| 2334 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2335 | .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] | 2336 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2337 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2338 | { |
| 2339 | .vendor = "Atmel", |
| 2340 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2341 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2342 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2343 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2344 | .total_size = 4224 /* No power of two sizes */, |
| 2345 | .page_size = 528 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2346 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2347 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2348 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2349 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2350 | .write = NULL, |
| 2351 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2352 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2353 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2354 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2355 | { |
| 2356 | .vendor = "Atmel", |
| 2357 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2358 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2359 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2360 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2361 | .total_size = 4096 /* Size can only be determined from status register */, |
| 2362 | .page_size = 512 /* Size can only be determined from status register */, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 2363 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2364 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 2365 | .feature_bits = FEATURE_OTP, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2366 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2367 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2368 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2369 | .write = NULL, |
| 2370 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2371 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2372 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2373 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2374 | { |
| 2375 | .vendor = "Atmel", |
| 2376 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2377 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2378 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2379 | .model_id = ATMEL_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2380 | .total_size = 8192 /* Size can only be determined from status register */, |
| 2381 | .page_size = 1024 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2382 | /* does not support EWSR nor WREN and has no writable status register bits whatsoever */ |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2383 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2384 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2385 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2386 | .write = NULL, |
| 2387 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2388 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2389 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2390 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2391 | { |
| 2392 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2393 | .name = "AT49BV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2394 | .bustype = BUS_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2395 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2396 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2397 | .total_size = 64, |
| 2398 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2399 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 2400 | .tested = TEST_OK_PREW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2401 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2402 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2403 | .block_erasers = |
| 2404 | { |
| 2405 | { |
| 2406 | .eraseblocks = { {64 * 1024, 1} }, |
| 2407 | .block_erase = erase_chip_block_jedec, |
| 2408 | } |
| 2409 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2410 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2411 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2412 | .voltage = {2700, 3600}, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2413 | }, |
| 2414 | |
| 2415 | { |
| 2416 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2417 | .name = "AT49F002(N)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2418 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2419 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2420 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2421 | .total_size = 256, |
| 2422 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2423 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2424 | .tested = TEST_UNTESTED, |
| 2425 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2426 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2427 | .block_erasers = |
| 2428 | { |
| 2429 | { |
| 2430 | .eraseblocks = { |
| 2431 | {16 * 1024, 1}, |
| 2432 | {8 * 1024, 2}, |
| 2433 | {96 * 1024, 1}, |
| 2434 | {128 * 1024, 1}, |
| 2435 | }, |
| 2436 | .block_erase = erase_sector_jedec, |
| 2437 | }, { |
| 2438 | .eraseblocks = { {256 * 1024, 1} }, |
| 2439 | .block_erase = erase_chip_block_jedec, |
| 2440 | } |
| 2441 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2442 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2443 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2444 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2445 | }, |
| 2446 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2447 | { |
| 2448 | .vendor = "Atmel", |
| 2449 | .name = "AT49F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2450 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2451 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2452 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2453 | .total_size = 256, |
| 2454 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2455 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2456 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2457 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2458 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2459 | .block_erasers = |
| 2460 | { |
| 2461 | { |
| 2462 | .eraseblocks = { |
| 2463 | {128 * 1024, 1}, |
| 2464 | {96 * 1024, 1}, |
| 2465 | {8 * 1024, 2}, |
| 2466 | {16 * 1024, 1}, |
| 2467 | }, |
| 2468 | .block_erase = erase_sector_jedec, |
| 2469 | }, { |
| 2470 | .eraseblocks = { {256 * 1024, 1} }, |
| 2471 | .block_erase = erase_chip_block_jedec, |
| 2472 | } |
| 2473 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2474 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2475 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2476 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2477 | }, |
| 2478 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2479 | { |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2480 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2481 | .name = "AT49(H)F010", |
| 2482 | .bustype = BUS_PARALLEL, |
| 2483 | .manufacture_id = ATMEL_ID, |
| 2484 | .model_id = ATMEL_AT49F010, |
| 2485 | .total_size = 128, |
| 2486 | .page_size = 0, /* unused */ |
| 2487 | .feature_bits = FEATURE_EITHER_RESET, |
| 2488 | .tested = TEST_OK_PREW, |
| 2489 | .probe = probe_jedec, |
| 2490 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2491 | .block_erasers = |
| 2492 | { |
| 2493 | { |
| 2494 | .eraseblocks = { {128 * 1024, 1} }, |
| 2495 | .block_erase = erase_chip_block_jedec, |
| 2496 | } |
| 2497 | }, |
| 2498 | .printlock = printlock_at49f, |
| 2499 | .write = write_jedec_1, |
| 2500 | .read = read_memmapped, |
| 2501 | .voltage = {4500, 5500}, |
| 2502 | }, |
| 2503 | |
| 2504 | { |
| 2505 | .vendor = "Atmel", |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2506 | .name = "AT49F020", |
| 2507 | .bustype = BUS_PARALLEL, |
| 2508 | .manufacture_id = ATMEL_ID, |
| 2509 | .model_id = ATMEL_AT49F020, |
| 2510 | .total_size = 256, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2511 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2512 | .feature_bits = FEATURE_EITHER_RESET, |
| 2513 | .tested = TEST_OK_PRE, |
| 2514 | .probe = probe_jedec, |
| 2515 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2516 | .block_erasers = |
| 2517 | { |
| 2518 | { |
| 2519 | .eraseblocks = { {256 * 1024, 1} }, |
| 2520 | .block_erase = erase_chip_block_jedec, |
| 2521 | } |
| 2522 | /* Chip features an optional permanent write protection |
| 2523 | * of the first 8 kB. The erase function is the same as |
| 2524 | * above, but 00000H to 01FFFH will not be erased. |
| 2525 | * FIXME: add another eraser when partial erasers are |
| 2526 | * supported. |
| 2527 | */ |
| 2528 | }, |
| 2529 | .printlock = printlock_at49f, |
| 2530 | .write = write_jedec_1, |
| 2531 | .read = read_memmapped, |
| 2532 | .voltage = {4500, 5500}, |
| 2533 | }, |
| 2534 | |
| 2535 | { |
| 2536 | .vendor = "Atmel", |
| 2537 | .name = "AT49F040", |
| 2538 | .bustype = BUS_PARALLEL, |
| 2539 | .manufacture_id = ATMEL_ID, |
| 2540 | .model_id = ATMEL_AT49F040, |
| 2541 | .total_size = 512, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2542 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2543 | .feature_bits = FEATURE_EITHER_RESET, |
| 2544 | .tested = TEST_UNTESTED, |
| 2545 | .probe = probe_jedec, |
| 2546 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2547 | .block_erasers = |
| 2548 | { |
| 2549 | { |
| 2550 | .eraseblocks = { {512 * 1024, 1} }, |
| 2551 | .block_erase = erase_chip_block_jedec, |
| 2552 | } |
| 2553 | /* Chip features an optional permanent write protection |
| 2554 | * of the first 16 kB. The erase function is the same as |
| 2555 | * above, but 00000H to 03FFFH will not be erased. |
| 2556 | * FIXME: add another eraser when partial erasers are |
| 2557 | * supported. |
| 2558 | */ |
| 2559 | }, |
| 2560 | .printlock = printlock_at49f, |
| 2561 | .write = write_jedec_1, |
| 2562 | .read = read_memmapped, |
| 2563 | .voltage = {4500, 5500}, |
| 2564 | }, |
| 2565 | |
| 2566 | { |
| 2567 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2568 | .name = "AT49F080", |
| 2569 | .bustype = BUS_PARALLEL, |
| 2570 | .manufacture_id = ATMEL_ID, |
| 2571 | .model_id = ATMEL_AT49F080, |
| 2572 | .total_size = 1024, |
| 2573 | .page_size = 0, /* unused */ |
| 2574 | .feature_bits = FEATURE_EITHER_RESET, |
| 2575 | .tested = TEST_UNTESTED, |
| 2576 | .probe = probe_jedec, |
| 2577 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2578 | .block_erasers = |
| 2579 | { |
| 2580 | { |
| 2581 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2582 | .block_erase = erase_chip_block_jedec, |
| 2583 | } |
| 2584 | /* Chip features an optional permanent write protection |
| 2585 | * of the first 16 kB. The erase function is the same as |
| 2586 | * above, but 00000H to 03FFFH will not be erased. |
| 2587 | * FIXME: add another eraser when partial erasers are |
| 2588 | * supported. |
| 2589 | */ |
| 2590 | }, |
| 2591 | .printlock = printlock_at49f, |
| 2592 | .write = write_jedec_1, |
| 2593 | .read = read_memmapped, |
| 2594 | .voltage = {4500, 5500}, |
| 2595 | }, |
| 2596 | |
| 2597 | { |
| 2598 | /* 'top' version of AT49F080. equal in all aspects but the boot block address */ |
| 2599 | .vendor = "Atmel", |
| 2600 | .name = "AT49F080T", |
| 2601 | .bustype = BUS_PARALLEL, |
| 2602 | .manufacture_id = ATMEL_ID, |
| 2603 | .model_id = ATMEL_AT49F080T, |
| 2604 | .total_size = 1024, |
| 2605 | .page_size = 0, /* unused */ |
| 2606 | .feature_bits = FEATURE_EITHER_RESET, |
| 2607 | .tested = TEST_UNTESTED, |
| 2608 | .probe = probe_jedec, |
| 2609 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2610 | .block_erasers = |
| 2611 | { |
| 2612 | { |
| 2613 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2614 | .block_erase = erase_chip_block_jedec, |
| 2615 | } |
| 2616 | /* Chip features an optional permanent write protection |
| 2617 | * of the first 16 kB. The erase function is the same as |
| 2618 | * above, but FC000H to FFFFFH will not be erased. |
| 2619 | * FIXME: add another eraser when partial erasers are |
| 2620 | * supported. |
| 2621 | */ |
| 2622 | }, |
| 2623 | .printlock = printlock_at49f, |
| 2624 | .write = write_jedec_1, |
| 2625 | .read = read_memmapped, |
| 2626 | .voltage = {4500, 5500}, |
| 2627 | }, |
| 2628 | |
| 2629 | { |
| 2630 | .vendor = "Atmel", |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2631 | .name = "AT49LH002", |
| 2632 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
| 2633 | .manufacture_id = ATMEL_ID, |
| 2634 | .model_id = ATMEL_AT49LH002, |
| 2635 | .total_size = 256, |
| 2636 | .page_size = 0, /* unused */ |
| 2637 | .feature_bits = FEATURE_REGISTERMAP, /* TODO: LPC OK too? */ |
| 2638 | .tested = TEST_UNTESTED, |
| 2639 | .probe = probe_82802ab, /* TODO: 0xff cmd not documented? */ |
| 2640 | .probe_timing = TIMING_FIXME, |
| 2641 | .block_erasers = |
| 2642 | { |
| 2643 | { |
| 2644 | .eraseblocks = { |
| 2645 | {64 * 1024, 3}, |
| 2646 | {32 * 1024, 1}, |
| 2647 | {8 * 1024, 2}, |
| 2648 | {16 * 1024, 1}, |
| 2649 | }, |
| 2650 | .block_erase = erase_block_82802ab, |
| 2651 | }, { |
| 2652 | .eraseblocks = { |
| 2653 | {64 * 1024, 4}, |
| 2654 | }, |
| 2655 | .block_erase = NULL, /* TODO: Implement. */ |
| 2656 | }, |
| 2657 | }, |
| 2658 | .printlock = NULL, /* TODO */ |
| 2659 | .unlock = NULL, /* unlock_82802ab() not correct(?) */ |
| 2660 | .write = write_82802ab, |
| 2661 | .read = read_memmapped, |
| 2662 | .voltage = {3000, 3600}, |
| 2663 | }, |
| 2664 | |
| 2665 | { |
Andrew Morgan | ca08146 | 2011-09-13 22:05:44 +0000 | [diff] [blame] | 2666 | .vendor = "Catalyst", |
| 2667 | .name = "CAT28F512", |
| 2668 | .bustype = BUS_PARALLEL, |
| 2669 | .manufacture_id = CATALYST_ID, |
| 2670 | .model_id = CATALYST_CAT28F512, |
| 2671 | .total_size = 64, |
| 2672 | .page_size = 0, /* unused */ |
| 2673 | .feature_bits = 0, |
| 2674 | .tested = TEST_OK_PR, |
| 2675 | .probe = probe_jedec, /* FIXME! */ |
| 2676 | .probe_timing = TIMING_ZERO, |
| 2677 | .block_erasers = |
| 2678 | { |
| 2679 | { |
| 2680 | .eraseblocks = { {64 * 1024, 1} }, |
| 2681 | .block_erase = NULL, /* TODO */ |
| 2682 | }, |
| 2683 | }, |
| 2684 | .write = NULL, /* TODO */ |
| 2685 | .read = read_memmapped, |
| 2686 | .voltage = {4500, 5500}, |
| 2687 | }, |
| 2688 | |
| 2689 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2690 | .vendor = "Bright", |
| 2691 | .name = "BM29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2692 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2693 | .manufacture_id = BRIGHT_ID, |
| 2694 | .model_id = BRIGHT_BM29F040, |
| 2695 | .total_size = 512, |
| 2696 | .page_size = 64 * 1024, |
| 2697 | .feature_bits = FEATURE_EITHER_RESET, |
| 2698 | .tested = TEST_OK_PR, |
| 2699 | .probe = probe_jedec, |
| 2700 | .probe_timing = TIMING_ZERO, |
| 2701 | .block_erasers = |
| 2702 | { |
| 2703 | { |
| 2704 | .eraseblocks = { {64 * 1024, 8} }, |
| 2705 | .block_erase = erase_sector_jedec, |
| 2706 | }, { |
| 2707 | .eraseblocks = { {512 * 1024, 1} }, |
| 2708 | .block_erase = erase_chip_block_jedec, |
| 2709 | }, |
| 2710 | }, |
| 2711 | .write = write_jedec_1, |
| 2712 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2713 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2714 | }, |
| 2715 | |
| 2716 | { |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2717 | .vendor = "ESMT", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2718 | .name = "F49B002UA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2719 | .bustype = BUS_PARALLEL, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2720 | .manufacture_id = ESMT_ID, |
| 2721 | .model_id = ESMT_F49B002UA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2722 | .total_size = 256, |
| 2723 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2724 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2725 | .tested = TEST_UNTESTED, |
| 2726 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2727 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2728 | .block_erasers = |
| 2729 | { |
| 2730 | { |
| 2731 | .eraseblocks = { |
| 2732 | {128 * 1024, 1}, |
| 2733 | {96 * 1024, 1}, |
| 2734 | {8 * 1024, 2}, |
| 2735 | {16 * 1024, 1}, |
| 2736 | }, |
| 2737 | .block_erase = erase_sector_jedec, |
| 2738 | }, { |
| 2739 | .eraseblocks = { {256 * 1024, 1} }, |
| 2740 | .block_erase = erase_chip_block_jedec, |
| 2741 | } |
| 2742 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2743 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2744 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2745 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2746 | }, |
| 2747 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2748 | { |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2749 | .vendor = "ESMT", |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2750 | .name = "F25L008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2751 | .bustype = BUS_SPI, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2752 | .manufacture_id = ESMT_ID, |
| 2753 | .model_id = ESMT_F25L008A, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2754 | .total_size = 1024, |
| 2755 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2756 | .feature_bits = FEATURE_WRSR_EITHER, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 2757 | .tested = TEST_OK_PREW, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2758 | .probe = probe_spi_rdid, |
| 2759 | .probe_timing = TIMING_ZERO, |
| 2760 | .block_erasers = |
| 2761 | { |
| 2762 | { |
| 2763 | .eraseblocks = { {4 * 1024, 256} }, |
| 2764 | .block_erase = spi_block_erase_20, |
| 2765 | }, { |
| 2766 | .eraseblocks = { {64 * 1024, 16} }, |
| 2767 | .block_erase = spi_block_erase_d8, |
| 2768 | }, { |
| 2769 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2770 | .block_erase = spi_block_erase_60, |
| 2771 | }, { |
| 2772 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2773 | .block_erase = spi_block_erase_c7, |
| 2774 | } |
| 2775 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2776 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2777 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2778 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2779 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2780 | .voltage = {2700, 3600}, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2781 | }, |
| 2782 | |
| 2783 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2784 | .vendor = "Eon", |
| 2785 | .name = "EN25B05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2786 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2787 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2788 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2789 | .total_size = 64, |
| 2790 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2791 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2792 | .tested = TEST_UNTESTED, |
| 2793 | .probe = probe_spi_rdid, |
| 2794 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2795 | .block_erasers = |
| 2796 | { |
| 2797 | { |
| 2798 | .eraseblocks = { |
| 2799 | {4 * 1024, 2}, |
| 2800 | {8 * 1024, 1}, |
| 2801 | {16 * 1024, 1}, |
| 2802 | {32 * 1024, 1}, |
| 2803 | }, |
| 2804 | .block_erase = spi_block_erase_d8, |
| 2805 | }, { |
| 2806 | .eraseblocks = { {64 * 1024, 1} }, |
| 2807 | .block_erase = spi_block_erase_c7, |
| 2808 | } |
| 2809 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2810 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2811 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2812 | .write = spi_chip_write_256, |
| 2813 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2814 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2815 | }, |
| 2816 | |
| 2817 | { |
| 2818 | .vendor = "Eon", |
| 2819 | .name = "EN25B05T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2820 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2821 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2822 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2823 | .total_size = 64, |
| 2824 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2825 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2826 | .tested = TEST_UNTESTED, |
| 2827 | .probe = probe_spi_rdid, |
| 2828 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2829 | .block_erasers = |
| 2830 | { |
| 2831 | { |
| 2832 | .eraseblocks = { |
| 2833 | {32 * 1024, 1}, |
| 2834 | {16 * 1024, 1}, |
| 2835 | {8 * 1024, 1}, |
| 2836 | {4 * 1024, 2}, |
| 2837 | }, |
| 2838 | .block_erase = spi_block_erase_d8, |
| 2839 | }, { |
| 2840 | .eraseblocks = { {64 * 1024, 1} }, |
| 2841 | .block_erase = spi_block_erase_c7, |
| 2842 | } |
| 2843 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2844 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2845 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2846 | .write = spi_chip_write_256, |
| 2847 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2848 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2849 | }, |
| 2850 | |
| 2851 | { |
| 2852 | .vendor = "Eon", |
| 2853 | .name = "EN25B10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2854 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2855 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2856 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2857 | .total_size = 128, |
| 2858 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2859 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2860 | .tested = TEST_UNTESTED, |
| 2861 | .probe = probe_spi_rdid, |
| 2862 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2863 | .block_erasers = |
| 2864 | { |
| 2865 | { |
| 2866 | .eraseblocks = { |
| 2867 | {4 * 1024, 2}, |
| 2868 | {8 * 1024, 1}, |
| 2869 | {16 * 1024, 1}, |
| 2870 | {32 * 1024, 3}, |
| 2871 | }, |
| 2872 | .block_erase = spi_block_erase_d8, |
| 2873 | }, { |
| 2874 | .eraseblocks = { {128 * 1024, 1} }, |
| 2875 | .block_erase = spi_block_erase_c7, |
| 2876 | } |
| 2877 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2878 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2879 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2880 | .write = spi_chip_write_256, |
| 2881 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2882 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2883 | }, |
| 2884 | |
| 2885 | { |
| 2886 | .vendor = "Eon", |
| 2887 | .name = "EN25B10T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2888 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2889 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2890 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2891 | .total_size = 128, |
| 2892 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2893 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2894 | .tested = TEST_UNTESTED, |
| 2895 | .probe = probe_spi_rdid, |
| 2896 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2897 | .block_erasers = |
| 2898 | { |
| 2899 | { |
| 2900 | .eraseblocks = { |
| 2901 | {32 * 1024, 3}, |
| 2902 | {16 * 1024, 1}, |
| 2903 | {8 * 1024, 1}, |
| 2904 | {4 * 1024, 2}, |
| 2905 | }, |
| 2906 | .block_erase = spi_block_erase_d8, |
| 2907 | }, { |
| 2908 | .eraseblocks = { {128 * 1024, 1} }, |
| 2909 | .block_erase = spi_block_erase_c7, |
| 2910 | } |
| 2911 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2912 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2913 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2914 | .write = spi_chip_write_256, |
| 2915 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2916 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2917 | }, |
| 2918 | |
| 2919 | { |
| 2920 | .vendor = "Eon", |
| 2921 | .name = "EN25B20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2922 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2923 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2924 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2925 | .total_size = 256, |
| 2926 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2927 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2928 | .tested = TEST_UNTESTED, |
| 2929 | .probe = probe_spi_rdid, |
| 2930 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2931 | .block_erasers = |
| 2932 | { |
| 2933 | { |
| 2934 | .eraseblocks = { |
| 2935 | {4 * 1024, 2}, |
| 2936 | {8 * 1024, 1}, |
| 2937 | {16 * 1024, 1}, |
| 2938 | {32 * 1024, 1}, |
| 2939 | {64 * 1024, 3} |
| 2940 | }, |
| 2941 | .block_erase = spi_block_erase_d8, |
| 2942 | }, { |
| 2943 | .eraseblocks = { {256 * 1024, 1} }, |
| 2944 | .block_erase = spi_block_erase_c7, |
| 2945 | } |
| 2946 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2947 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2948 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2949 | .write = spi_chip_write_256, |
| 2950 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2951 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2952 | }, |
| 2953 | |
| 2954 | { |
| 2955 | .vendor = "Eon", |
| 2956 | .name = "EN25B20T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2957 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2958 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2959 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2960 | .total_size = 256, |
| 2961 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2962 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2963 | .tested = TEST_UNTESTED, |
| 2964 | .probe = probe_spi_rdid, |
| 2965 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2966 | .block_erasers = |
| 2967 | { |
| 2968 | { |
| 2969 | .eraseblocks = { |
| 2970 | {64 * 1024, 3}, |
| 2971 | {32 * 1024, 1}, |
| 2972 | {16 * 1024, 1}, |
| 2973 | {8 * 1024, 1}, |
| 2974 | {4 * 1024, 2}, |
| 2975 | }, |
| 2976 | .block_erase = spi_block_erase_d8, |
| 2977 | }, { |
| 2978 | .eraseblocks = { {256 * 1024, 1} }, |
| 2979 | .block_erase = spi_block_erase_c7, |
| 2980 | } |
| 2981 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2982 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2983 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2984 | .write = spi_chip_write_256, |
| 2985 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2986 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2987 | }, |
| 2988 | |
| 2989 | { |
| 2990 | .vendor = "Eon", |
| 2991 | .name = "EN25B40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2992 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2993 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2994 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2995 | .total_size = 512, |
| 2996 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2997 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2998 | .tested = TEST_UNTESTED, |
| 2999 | .probe = probe_spi_rdid, |
| 3000 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3001 | .block_erasers = |
| 3002 | { |
| 3003 | { |
| 3004 | .eraseblocks = { |
| 3005 | {4 * 1024, 2}, |
| 3006 | {8 * 1024, 1}, |
| 3007 | {16 * 1024, 1}, |
| 3008 | {32 * 1024, 1}, |
| 3009 | {64 * 1024, 7} |
| 3010 | }, |
| 3011 | .block_erase = spi_block_erase_d8, |
| 3012 | }, { |
| 3013 | .eraseblocks = { {512 * 1024, 1} }, |
| 3014 | .block_erase = spi_block_erase_c7, |
| 3015 | } |
| 3016 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3017 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3018 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3019 | .write = spi_chip_write_256, |
| 3020 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3021 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3022 | }, |
| 3023 | |
| 3024 | { |
| 3025 | .vendor = "Eon", |
| 3026 | .name = "EN25B40T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3027 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3028 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3029 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3030 | .total_size = 512, |
| 3031 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3032 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3033 | .tested = TEST_UNTESTED, |
| 3034 | .probe = probe_spi_rdid, |
| 3035 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3036 | .block_erasers = |
| 3037 | { |
| 3038 | { |
| 3039 | .eraseblocks = { |
| 3040 | {64 * 1024, 7}, |
| 3041 | {32 * 1024, 1}, |
| 3042 | {16 * 1024, 1}, |
| 3043 | {8 * 1024, 1}, |
| 3044 | {4 * 1024, 2}, |
| 3045 | }, |
| 3046 | .block_erase = spi_block_erase_d8, |
| 3047 | }, { |
| 3048 | .eraseblocks = { {512 * 1024, 1} }, |
| 3049 | .block_erase = spi_block_erase_c7, |
| 3050 | } |
| 3051 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3052 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3053 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3054 | .write = spi_chip_write_256, |
| 3055 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3056 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3057 | }, |
| 3058 | |
| 3059 | { |
| 3060 | .vendor = "Eon", |
| 3061 | .name = "EN25B80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3062 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3063 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3064 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3065 | .total_size = 1024, |
| 3066 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3067 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3068 | .tested = TEST_UNTESTED, |
| 3069 | .probe = probe_spi_rdid, |
| 3070 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3071 | .block_erasers = |
| 3072 | { |
| 3073 | { |
| 3074 | .eraseblocks = { |
| 3075 | {4 * 1024, 2}, |
| 3076 | {8 * 1024, 1}, |
| 3077 | {16 * 1024, 1}, |
| 3078 | {32 * 1024, 1}, |
| 3079 | {64 * 1024, 15} |
| 3080 | }, |
| 3081 | .block_erase = spi_block_erase_d8, |
| 3082 | }, { |
| 3083 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3084 | .block_erase = spi_block_erase_c7, |
| 3085 | } |
| 3086 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3087 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3088 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3089 | .write = spi_chip_write_256, |
| 3090 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3091 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3092 | }, |
| 3093 | |
| 3094 | { |
| 3095 | .vendor = "Eon", |
| 3096 | .name = "EN25B80T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3097 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3098 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3099 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3100 | .total_size = 1024, |
| 3101 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3102 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3103 | .tested = TEST_UNTESTED, |
| 3104 | .probe = probe_spi_rdid, |
| 3105 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3106 | .block_erasers = |
| 3107 | { |
| 3108 | { |
| 3109 | .eraseblocks = { |
| 3110 | {64 * 1024, 15}, |
| 3111 | {32 * 1024, 1}, |
| 3112 | {16 * 1024, 1}, |
| 3113 | {8 * 1024, 1}, |
| 3114 | {4 * 1024, 2}, |
| 3115 | }, |
| 3116 | .block_erase = spi_block_erase_d8, |
| 3117 | }, { |
| 3118 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3119 | .block_erase = spi_block_erase_c7, |
| 3120 | } |
| 3121 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3122 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3123 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3124 | .write = spi_chip_write_256, |
| 3125 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3126 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3127 | }, |
| 3128 | |
| 3129 | { |
| 3130 | .vendor = "Eon", |
| 3131 | .name = "EN25B16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3132 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3133 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3134 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3135 | .total_size = 2048, |
| 3136 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3137 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3138 | .tested = TEST_UNTESTED, |
| 3139 | .probe = probe_spi_rdid, |
| 3140 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3141 | .block_erasers = |
| 3142 | { |
| 3143 | { |
| 3144 | .eraseblocks = { |
| 3145 | {4 * 1024, 2}, |
| 3146 | {8 * 1024, 1}, |
| 3147 | {16 * 1024, 1}, |
| 3148 | {32 * 1024, 1}, |
| 3149 | {64 * 1024, 31}, |
| 3150 | }, |
| 3151 | .block_erase = spi_block_erase_d8, |
| 3152 | }, { |
| 3153 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3154 | .block_erase = spi_block_erase_c7, |
| 3155 | } |
| 3156 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3157 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3158 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3159 | .write = spi_chip_write_256, |
| 3160 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3161 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3162 | }, |
| 3163 | |
| 3164 | { |
| 3165 | .vendor = "Eon", |
| 3166 | .name = "EN25B16T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3167 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3168 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3169 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3170 | .total_size = 2048, |
| 3171 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3172 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3173 | .tested = TEST_UNTESTED, |
| 3174 | .probe = probe_spi_rdid, |
| 3175 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3176 | .block_erasers = |
| 3177 | { |
| 3178 | { |
| 3179 | .eraseblocks = { |
| 3180 | {64 * 1024, 31}, |
| 3181 | {32 * 1024, 1}, |
| 3182 | {16 * 1024, 1}, |
| 3183 | {8 * 1024, 1}, |
| 3184 | {4 * 1024, 2}, |
| 3185 | }, |
| 3186 | .block_erase = spi_block_erase_d8, |
| 3187 | }, { |
| 3188 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3189 | .block_erase = spi_block_erase_c7, |
| 3190 | } |
| 3191 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3192 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3193 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3194 | .write = spi_chip_write_256, |
| 3195 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3196 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3197 | }, |
| 3198 | |
| 3199 | { |
| 3200 | .vendor = "Eon", |
| 3201 | .name = "EN25B32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3202 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3203 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3204 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3205 | .total_size = 4096, |
| 3206 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3207 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3208 | .tested = TEST_UNTESTED, |
| 3209 | .probe = probe_spi_rdid, |
| 3210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3211 | .block_erasers = |
| 3212 | { |
| 3213 | { |
| 3214 | .eraseblocks = { |
| 3215 | {4 * 1024, 2}, |
| 3216 | {8 * 1024, 1}, |
| 3217 | {16 * 1024, 1}, |
| 3218 | {32 * 1024, 1}, |
| 3219 | {64 * 1024, 63}, |
| 3220 | }, |
| 3221 | .block_erase = spi_block_erase_d8, |
| 3222 | }, { |
| 3223 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3224 | .block_erase = spi_block_erase_c7, |
| 3225 | } |
| 3226 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3227 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3228 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3229 | .write = spi_chip_write_256, |
| 3230 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3231 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3232 | }, |
| 3233 | |
| 3234 | { |
| 3235 | .vendor = "Eon", |
| 3236 | .name = "EN25B32T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3237 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3238 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3239 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3240 | .total_size = 4096, |
| 3241 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3242 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3243 | .tested = TEST_UNTESTED, |
| 3244 | .probe = probe_spi_rdid, |
| 3245 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3246 | .block_erasers = |
| 3247 | { |
| 3248 | { |
| 3249 | .eraseblocks = { |
| 3250 | {64 * 1024, 63}, |
| 3251 | {32 * 1024, 1}, |
| 3252 | {16 * 1024, 1}, |
| 3253 | {8 * 1024, 1}, |
| 3254 | {4 * 1024, 2}, |
| 3255 | }, |
| 3256 | .block_erase = spi_block_erase_d8, |
| 3257 | }, { |
| 3258 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3259 | .block_erase = spi_block_erase_c7, |
| 3260 | } |
| 3261 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3262 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3263 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3264 | .write = spi_chip_write_256, |
| 3265 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3266 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3267 | }, |
| 3268 | |
| 3269 | { |
| 3270 | .vendor = "Eon", |
| 3271 | .name = "EN25B64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3272 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3273 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3274 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3275 | .total_size = 8192, |
| 3276 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3277 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3278 | .tested = TEST_UNTESTED, |
| 3279 | .probe = probe_spi_rdid, |
| 3280 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3281 | .block_erasers = |
| 3282 | { |
| 3283 | { |
| 3284 | .eraseblocks = { |
| 3285 | {4 * 1024, 2}, |
| 3286 | {8 * 1024, 1}, |
| 3287 | {16 * 1024, 1}, |
| 3288 | {32 * 1024, 1}, |
| 3289 | {64 * 1024, 127}, |
| 3290 | }, |
| 3291 | .block_erase = spi_block_erase_d8, |
| 3292 | }, { |
| 3293 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3294 | .block_erase = spi_block_erase_c7, |
| 3295 | } |
| 3296 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3297 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3298 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3299 | .write = spi_chip_write_256, |
| 3300 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3301 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3302 | }, |
| 3303 | |
| 3304 | { |
| 3305 | .vendor = "Eon", |
| 3306 | .name = "EN25B64T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3307 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3308 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3309 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3310 | .total_size = 8192, |
| 3311 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3312 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3313 | .tested = TEST_UNTESTED, |
| 3314 | .probe = probe_spi_rdid, |
| 3315 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3316 | .block_erasers = |
| 3317 | { |
| 3318 | { |
| 3319 | .eraseblocks = { |
| 3320 | {64 * 1024, 127}, |
| 3321 | {32 * 1024, 1}, |
| 3322 | {16 * 1024, 1}, |
| 3323 | {8 * 1024, 1}, |
| 3324 | {4 * 1024, 2}, |
| 3325 | }, |
| 3326 | .block_erase = spi_block_erase_d8, |
| 3327 | }, { |
| 3328 | .eraseblocks = { {8 * 1024 * 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, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +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}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3337 | }, |
| 3338 | |
| 3339 | { |
| 3340 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3341 | .name = "EN25F05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3342 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +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_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3345 | .total_size = 64, |
| 3346 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3347 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +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 = { {4 * 1024, 16} }, |
| 3355 | .block_erase = spi_block_erase_20, |
| 3356 | }, { |
| 3357 | .eraseblocks = { {32 * 1024, 2} }, |
| 3358 | .block_erase = spi_block_erase_d8, |
| 3359 | }, { |
| 3360 | .eraseblocks = { {32 * 1024, 2} }, |
| 3361 | .block_erase = spi_block_erase_52, |
| 3362 | }, { |
| 3363 | .eraseblocks = { {64 * 1024, 1} }, |
| 3364 | .block_erase = spi_block_erase_60, |
| 3365 | }, { |
| 3366 | .eraseblocks = { {64 * 1024, 1} }, |
| 3367 | .block_erase = spi_block_erase_c7, |
| 3368 | } |
| 3369 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3370 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3371 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3372 | .write = spi_chip_write_256, |
| 3373 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3374 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3375 | }, |
| 3376 | |
| 3377 | { |
| 3378 | .vendor = "Eon", |
| 3379 | .name = "EN25F10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3380 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3381 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3382 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3383 | .total_size = 128, |
| 3384 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3385 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3386 | .tested = TEST_UNTESTED, |
| 3387 | .probe = probe_spi_rdid, |
| 3388 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3389 | .block_erasers = |
| 3390 | { |
| 3391 | { |
| 3392 | .eraseblocks = { {4 * 1024, 32} }, |
| 3393 | .block_erase = spi_block_erase_20, |
| 3394 | }, { |
| 3395 | .eraseblocks = { {32 * 1024, 4} }, |
| 3396 | .block_erase = spi_block_erase_d8, |
| 3397 | }, { |
| 3398 | .eraseblocks = { {32 * 1024, 4} }, |
| 3399 | .block_erase = spi_block_erase_52, |
| 3400 | }, { |
| 3401 | .eraseblocks = { {128 * 1024, 1} }, |
| 3402 | .block_erase = spi_block_erase_60, |
| 3403 | }, { |
| 3404 | .eraseblocks = { {128 * 1024, 1} }, |
| 3405 | .block_erase = spi_block_erase_c7, |
| 3406 | } |
| 3407 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3408 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3409 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3410 | .write = spi_chip_write_256, |
| 3411 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3412 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3413 | }, |
| 3414 | |
| 3415 | { |
| 3416 | .vendor = "Eon", |
| 3417 | .name = "EN25F20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3418 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3419 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3420 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3421 | .total_size = 256, |
| 3422 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3423 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3424 | .tested = TEST_UNTESTED, |
| 3425 | .probe = probe_spi_rdid, |
| 3426 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3427 | .block_erasers = |
| 3428 | { |
| 3429 | { |
| 3430 | .eraseblocks = { {4 * 1024, 64} }, |
| 3431 | .block_erase = spi_block_erase_20, |
| 3432 | }, { |
| 3433 | .eraseblocks = { {64 * 1024, 4} }, |
| 3434 | .block_erase = spi_block_erase_d8, |
| 3435 | }, { |
| 3436 | .eraseblocks = { {64 * 1024, 4} }, |
| 3437 | .block_erase = spi_block_erase_52, |
| 3438 | }, { |
| 3439 | .eraseblocks = { {256 * 1024, 1} }, |
| 3440 | .block_erase = spi_block_erase_60, |
| 3441 | }, { |
| 3442 | .eraseblocks = { {256 * 1024, 1} }, |
| 3443 | .block_erase = spi_block_erase_c7, |
| 3444 | } |
| 3445 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3446 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3447 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3448 | .write = spi_chip_write_256, |
| 3449 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3450 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3451 | }, |
| 3452 | |
| 3453 | { |
| 3454 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3455 | .name = "EN25F40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3456 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3457 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3458 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3459 | .total_size = 512, |
| 3460 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3461 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 3462 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3463 | .probe = probe_spi_rdid, |
| 3464 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3465 | .block_erasers = |
| 3466 | { |
| 3467 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3468 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3469 | .block_erase = spi_block_erase_20, |
| 3470 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3471 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3472 | .block_erase = spi_block_erase_d8, |
| 3473 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3474 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3475 | .block_erase = spi_block_erase_60, |
| 3476 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3477 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3478 | .block_erase = spi_block_erase_c7, |
| 3479 | }, |
| 3480 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3481 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3482 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3483 | .write = spi_chip_write_256, |
| 3484 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3485 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3486 | }, |
| 3487 | |
| 3488 | { |
| 3489 | .vendor = "Eon", |
| 3490 | .name = "EN25F80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3491 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3492 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3493 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3494 | .total_size = 1024, |
| 3495 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3496 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 3497 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3498 | .probe = probe_spi_rdid, |
| 3499 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3500 | .block_erasers = |
| 3501 | { |
| 3502 | { |
| 3503 | .eraseblocks = { {4 * 1024, 256} }, |
| 3504 | .block_erase = spi_block_erase_20, |
| 3505 | }, { |
| 3506 | .eraseblocks = { {64 * 1024, 16} }, |
| 3507 | .block_erase = spi_block_erase_d8, |
| 3508 | }, { |
| 3509 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3510 | .block_erase = spi_block_erase_60, |
| 3511 | }, { |
| 3512 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3513 | .block_erase = spi_block_erase_c7, |
| 3514 | } |
| 3515 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3516 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3517 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3518 | .write = spi_chip_write_256, |
| 3519 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3520 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3521 | }, |
| 3522 | |
| 3523 | { |
| 3524 | .vendor = "Eon", |
| 3525 | .name = "EN25F16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3526 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3527 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3528 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3529 | .total_size = 2048, |
| 3530 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3531 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3532 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3533 | .probe = probe_spi_rdid, |
| 3534 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3535 | .block_erasers = |
| 3536 | { |
| 3537 | { |
| 3538 | .eraseblocks = { {4 * 1024, 512} }, |
| 3539 | .block_erase = spi_block_erase_20, |
| 3540 | }, { |
| 3541 | .eraseblocks = { {64 * 1024, 32} }, |
| 3542 | .block_erase = spi_block_erase_d8, |
| 3543 | }, { |
| 3544 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3545 | .block_erase = spi_block_erase_60, |
| 3546 | }, { |
| 3547 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3548 | .block_erase = spi_block_erase_c7, |
| 3549 | } |
| 3550 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3551 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3552 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3553 | .write = spi_chip_write_256, |
| 3554 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3555 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3556 | }, |
| 3557 | |
| 3558 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3559 | .vendor = "Eon", |
| 3560 | .name = "EN25F32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3561 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3562 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3563 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3564 | .total_size = 4096, |
| 3565 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3566 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3567 | .tested = TEST_UNTESTED, |
| 3568 | .probe = probe_spi_rdid, |
| 3569 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3570 | .block_erasers = |
| 3571 | { |
| 3572 | { |
| 3573 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3574 | .block_erase = spi_block_erase_20, |
| 3575 | }, { |
| 3576 | .eraseblocks = { {64 * 1024, 64} }, |
| 3577 | .block_erase = spi_block_erase_d8, |
| 3578 | }, { |
| 3579 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3580 | .block_erase = spi_block_erase_60, |
| 3581 | }, { |
| 3582 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3583 | .block_erase = spi_block_erase_c7, |
| 3584 | } |
| 3585 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3586 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3587 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3588 | .write = spi_chip_write_256, |
| 3589 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3590 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3591 | }, |
| 3592 | |
| 3593 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3594 | .vendor = "Eon", |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3595 | .name = "EN25F64", |
| 3596 | .bustype = BUS_SPI, |
| 3597 | .manufacture_id = EON_ID_NOPREFIX, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 3598 | .model_id = EON_EN25F64, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3599 | .total_size = 8192, |
| 3600 | .page_size = 256, |
| 3601 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 3602 | .tested = TEST_OK_PREW, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3603 | .probe = probe_spi_rdid, |
| 3604 | .probe_timing = TIMING_ZERO, |
| 3605 | .block_erasers = |
| 3606 | { |
| 3607 | { |
| 3608 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3609 | .block_erase = spi_block_erase_20, |
| 3610 | }, { |
| 3611 | .eraseblocks = { {64 * 1024, 128} }, |
| 3612 | .block_erase = spi_block_erase_d8, |
| 3613 | }, { |
| 3614 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3615 | .block_erase = spi_block_erase_60, |
| 3616 | }, { |
| 3617 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3618 | .block_erase = spi_block_erase_c7, |
| 3619 | } |
| 3620 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3621 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3622 | .unlock = spi_disable_blockprotect, |
| 3623 | .write = spi_chip_write_256, |
| 3624 | .read = spi_chip_read, |
| 3625 | .voltage = {2700, 3600}, |
| 3626 | }, |
| 3627 | |
| 3628 | { |
| 3629 | .vendor = "Eon", |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3630 | .name = "EN25Q40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3631 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3632 | .manufacture_id = EON_ID_NOPREFIX, |
| 3633 | .model_id = EON_EN25Q40, |
| 3634 | .total_size = 512, |
| 3635 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3636 | /* OTP: 256B total; enter 0x3A */ |
| 3637 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3638 | .tested = TEST_UNTESTED, |
| 3639 | .probe = probe_spi_rdid, |
| 3640 | .probe_timing = TIMING_ZERO, |
| 3641 | .block_erasers = |
| 3642 | { |
| 3643 | { |
| 3644 | .eraseblocks = { {4 * 1024, 128} }, |
| 3645 | .block_erase = spi_block_erase_20, |
| 3646 | }, { |
| 3647 | .eraseblocks = { {64 * 1024, 8} }, |
| 3648 | .block_erase = spi_block_erase_d8, |
| 3649 | }, { |
| 3650 | .eraseblocks = { {512 * 1024, 1} }, |
| 3651 | .block_erase = spi_block_erase_60, |
| 3652 | }, { |
| 3653 | .eraseblocks = { {512 * 1024, 1} }, |
| 3654 | .block_erase = spi_block_erase_c7, |
| 3655 | } |
| 3656 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3657 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3658 | .unlock = spi_disable_blockprotect, |
| 3659 | .write = spi_chip_write_256, |
| 3660 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3661 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3662 | }, |
| 3663 | |
| 3664 | { |
| 3665 | .vendor = "Eon", |
| 3666 | .name = "EN25Q80(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3667 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3668 | .manufacture_id = EON_ID_NOPREFIX, |
| 3669 | .model_id = EON_EN25Q80, |
| 3670 | .total_size = 1024, |
| 3671 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3672 | /* OTP: 256B total; enter 0x3A */ |
| 3673 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3674 | .tested = TEST_UNTESTED, |
| 3675 | .probe = probe_spi_rdid, |
| 3676 | .probe_timing = TIMING_ZERO, |
| 3677 | .block_erasers = |
| 3678 | { |
| 3679 | { |
| 3680 | .eraseblocks = { {4 * 1024, 256} }, |
| 3681 | .block_erase = spi_block_erase_20, |
| 3682 | }, { |
| 3683 | .eraseblocks = { {64 * 1024, 16} }, |
| 3684 | .block_erase = spi_block_erase_d8, |
| 3685 | }, { |
| 3686 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3687 | .block_erase = spi_block_erase_60, |
| 3688 | }, { |
| 3689 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3690 | .block_erase = spi_block_erase_c7, |
| 3691 | } |
| 3692 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3693 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3694 | .unlock = spi_disable_blockprotect, |
| 3695 | .write = spi_chip_write_256, |
| 3696 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3697 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3698 | }, |
| 3699 | |
| 3700 | { |
| 3701 | /* Note: EN25D16 is an evil twin which shares the model ID |
| 3702 | but has different write protection capabilities */ |
| 3703 | .vendor = "Eon", |
| 3704 | .name = "EN25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3705 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3706 | .manufacture_id = EON_ID_NOPREFIX, |
| 3707 | .model_id = EON_EN25Q16, |
| 3708 | .total_size = 2048, |
| 3709 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3710 | /* OTP: D16 512B/Q16 128B total; enter 0x3A */ |
| 3711 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3712 | .tested = TEST_UNTESTED, |
| 3713 | .probe = probe_spi_rdid, |
| 3714 | .probe_timing = TIMING_ZERO, |
| 3715 | .block_erasers = |
| 3716 | { |
| 3717 | { |
| 3718 | .eraseblocks = { {4 * 1024, 512} }, |
| 3719 | .block_erase = spi_block_erase_20, |
| 3720 | }, { |
| 3721 | .eraseblocks = { {64 * 1024, 32} }, |
| 3722 | .block_erase = spi_block_erase_d8, |
| 3723 | }, { |
| 3724 | /* not supported by Q16 version */ |
| 3725 | .eraseblocks = { {64 * 1024, 32} }, |
| 3726 | .block_erase = spi_block_erase_52, |
| 3727 | }, { |
| 3728 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3729 | .block_erase = spi_block_erase_60, |
| 3730 | }, { |
| 3731 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3732 | .block_erase = spi_block_erase_c7, |
| 3733 | } |
| 3734 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3735 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3736 | .unlock = spi_disable_blockprotect, |
| 3737 | .write = spi_chip_write_256, |
| 3738 | .read = spi_chip_read, |
| 3739 | .voltage = {2700, 3600}, |
| 3740 | }, |
| 3741 | |
| 3742 | { |
| 3743 | .vendor = "Eon", |
| 3744 | .name = "EN25Q32(A/B)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3745 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3746 | .manufacture_id = EON_ID_NOPREFIX, |
| 3747 | .model_id = EON_EN25Q32, |
| 3748 | .total_size = 4096, |
| 3749 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3750 | /* OTP: 512B total; enter 0x3A */ |
| 3751 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3752 | .tested = TEST_OK_PREW, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3753 | .probe = probe_spi_rdid, |
| 3754 | .probe_timing = TIMING_ZERO, |
| 3755 | .block_erasers = |
| 3756 | { |
| 3757 | { |
| 3758 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3759 | .block_erase = spi_block_erase_20, |
| 3760 | }, { |
| 3761 | .eraseblocks = { {64 * 1024, 64} }, |
| 3762 | .block_erase = spi_block_erase_d8, |
| 3763 | }, { |
| 3764 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3765 | .block_erase = spi_block_erase_60, |
| 3766 | }, { |
| 3767 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3768 | .block_erase = spi_block_erase_c7, |
| 3769 | } |
| 3770 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3771 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3772 | .unlock = spi_disable_blockprotect, |
| 3773 | .write = spi_chip_write_256, |
| 3774 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3775 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3776 | }, |
| 3777 | |
| 3778 | { |
| 3779 | .vendor = "Eon", |
| 3780 | .name = "EN25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3781 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3782 | .manufacture_id = EON_ID_NOPREFIX, |
| 3783 | .model_id = EON_EN25Q64, |
| 3784 | .total_size = 8192, |
| 3785 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3786 | /* OTP: 512B total; enter 0x3A */ |
| 3787 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3788 | .tested = TEST_OK_PREW, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3789 | .probe = probe_spi_rdid, |
| 3790 | .probe_timing = TIMING_ZERO, |
| 3791 | .block_erasers = |
| 3792 | { |
| 3793 | { |
| 3794 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3795 | .block_erase = spi_block_erase_20, |
| 3796 | }, { |
| 3797 | .eraseblocks = { {64 * 1024, 128} }, |
| 3798 | .block_erase = spi_block_erase_d8, |
| 3799 | }, { |
| 3800 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3801 | .block_erase = spi_block_erase_60, |
| 3802 | }, { |
| 3803 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3804 | .block_erase = spi_block_erase_c7, |
| 3805 | } |
| 3806 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3807 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3808 | .unlock = spi_disable_blockprotect, |
| 3809 | .write = spi_chip_write_256, |
| 3810 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3811 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3812 | }, |
| 3813 | |
| 3814 | { |
| 3815 | .vendor = "Eon", |
| 3816 | .name = "EN25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3817 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3818 | .manufacture_id = EON_ID_NOPREFIX, |
| 3819 | .model_id = EON_EN25Q128, |
| 3820 | .total_size = 16384, |
| 3821 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3822 | /* OTP: 512B total; enter 0x3A */ |
| 3823 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3824 | .tested = TEST_UNTESTED, |
| 3825 | .probe = probe_spi_rdid, |
| 3826 | .probe_timing = TIMING_ZERO, |
| 3827 | .block_erasers = |
| 3828 | { |
| 3829 | { |
| 3830 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3831 | .block_erase = spi_block_erase_20, |
| 3832 | }, { |
| 3833 | .eraseblocks = { {64 * 1024, 256} }, |
| 3834 | .block_erase = spi_block_erase_d8, |
| 3835 | }, { |
| 3836 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3837 | .block_erase = spi_block_erase_60, |
| 3838 | }, { |
| 3839 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3840 | .block_erase = spi_block_erase_c7, |
| 3841 | } |
| 3842 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3843 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3844 | .unlock = spi_disable_blockprotect, |
| 3845 | .write = spi_chip_write_256, |
| 3846 | .read = spi_chip_read, |
| 3847 | }, |
| 3848 | |
| 3849 | { |
| 3850 | .vendor = "Eon", |
| 3851 | .name = "EN25QH16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3852 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3853 | .manufacture_id = EON_ID_NOPREFIX, |
| 3854 | .model_id = EON_EN25QH16, |
| 3855 | .total_size = 2048, |
| 3856 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3857 | /* supports SFDP */ |
| 3858 | /* OTP: 512B total; enter 0x3A */ |
| 3859 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 3860 | .tested = TEST_OK_PR, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3861 | .probe = probe_spi_rdid, |
| 3862 | .probe_timing = TIMING_ZERO, |
| 3863 | .block_erasers = |
| 3864 | { |
| 3865 | { |
| 3866 | .eraseblocks = { {4 * 1024, 512} }, |
| 3867 | .block_erase = spi_block_erase_20, |
| 3868 | }, { |
| 3869 | .eraseblocks = { {64 * 1024, 32} }, |
| 3870 | .block_erase = spi_block_erase_d8, |
| 3871 | }, { |
| 3872 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3873 | .block_erase = spi_block_erase_60, |
| 3874 | }, { |
| 3875 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3876 | .block_erase = spi_block_erase_c7, |
| 3877 | } |
| 3878 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3879 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3880 | .unlock = spi_disable_blockprotect, |
| 3881 | .write = spi_chip_write_256, |
| 3882 | .read = spi_chip_read, |
Stefan Tauner | 2cef916 | 2012-05-14 01:51:46 +0000 | [diff] [blame] | 3883 | .voltage = {2700, 3600}, |
| 3884 | }, |
| 3885 | |
| 3886 | { |
| 3887 | .vendor = "Eon", |
| 3888 | .name = "EN25QH32", |
| 3889 | .bustype = BUS_SPI, |
| 3890 | .manufacture_id = EON_ID_NOPREFIX, |
| 3891 | .model_id = EON_EN25QH32, |
| 3892 | .total_size = 4096, |
| 3893 | .page_size = 256, |
| 3894 | /* supports SFDP */ |
| 3895 | /* OTP: 512B total; enter 0x3A */ |
| 3896 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3897 | .tested = TEST_UNTESTED, |
| 3898 | .probe = probe_spi_rdid, |
| 3899 | .probe_timing = TIMING_ZERO, |
| 3900 | .block_erasers = |
| 3901 | { |
| 3902 | { |
| 3903 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3904 | .block_erase = spi_block_erase_20, |
| 3905 | }, { |
| 3906 | .eraseblocks = { {64 * 1024, 64} }, |
| 3907 | .block_erase = spi_block_erase_d8, |
| 3908 | }, { |
| 3909 | .eraseblocks = { {1024 * 4096, 1} }, |
| 3910 | .block_erase = spi_block_erase_60, |
| 3911 | }, { |
| 3912 | .eraseblocks = { {1024 * 4096, 1} }, |
| 3913 | .block_erase = spi_block_erase_c7, |
| 3914 | } |
| 3915 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3916 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stefan Tauner | 2cef916 | 2012-05-14 01:51:46 +0000 | [diff] [blame] | 3917 | .unlock = spi_disable_blockprotect, |
| 3918 | .write = spi_chip_write_256, |
| 3919 | .read = spi_chip_read, |
| 3920 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3921 | }, |
| 3922 | |
| 3923 | { |
| 3924 | .vendor = "Eon", |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3925 | .name = "EN29F010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3926 | .bustype = BUS_PARALLEL, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3927 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3928 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3929 | .total_size = 128, |
| 3930 | .page_size = 128, |
| 3931 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3932 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3933 | .probe = probe_jedec, |
| 3934 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3935 | .block_erasers = |
| 3936 | { |
| 3937 | { |
| 3938 | .eraseblocks = { {16 * 1024, 8} }, |
| 3939 | .block_erase = erase_sector_jedec, |
| 3940 | }, |
| 3941 | { |
| 3942 | .eraseblocks = { {128 * 1024, 1} }, |
| 3943 | .block_erase = erase_chip_block_jedec, |
| 3944 | }, |
| 3945 | }, |
| 3946 | .write = write_jedec_1, |
| 3947 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3948 | .voltage = {4500, 5500}, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3949 | }, |
| 3950 | |
| 3951 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3952 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3953 | .name = "EN29F002(A)(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3954 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3955 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3956 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3957 | .total_size = 256, |
| 3958 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3959 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3960 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3961 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3962 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3963 | .block_erasers = |
| 3964 | { |
| 3965 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 3966 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3967 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3968 | {8 * 1024, 2}, |
| 3969 | {32 * 1024, 1}, |
| 3970 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3971 | }, |
| 3972 | .block_erase = erase_sector_jedec, |
| 3973 | }, { |
| 3974 | .eraseblocks = { {256 * 1024, 1} }, |
| 3975 | .block_erase = erase_chip_block_jedec, |
| 3976 | }, |
| 3977 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3978 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3979 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3980 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3981 | }, |
| 3982 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3983 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3984 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3985 | .name = "EN29F002(A)(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3986 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3987 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3988 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3989 | .total_size = 256, |
| 3990 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3991 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3992 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3993 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3994 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3995 | .block_erasers = |
| 3996 | { |
| 3997 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 3998 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3999 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 4000 | {32 * 1024, 1}, |
| 4001 | {8 * 1024, 2}, |
| 4002 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4003 | }, |
| 4004 | .block_erase = erase_sector_jedec, |
| 4005 | }, { |
| 4006 | .eraseblocks = { {256 * 1024, 1} }, |
| 4007 | .block_erase = erase_chip_block_jedec, |
| 4008 | }, |
| 4009 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4010 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4011 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4012 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4013 | }, |
| 4014 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4015 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4016 | .vendor = "Eon", |
| 4017 | .name = "EN29LV640B", |
| 4018 | .bustype = BUS_PARALLEL, |
| 4019 | .manufacture_id = EON_ID, |
| 4020 | .model_id = EON_EN29LV640B, |
| 4021 | .total_size = 8192, |
| 4022 | .page_size = 8192, |
| 4023 | .feature_bits = 0, |
| 4024 | .tested = TEST_OK_PREW, |
| 4025 | .probe = probe_en29lv640b, |
| 4026 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4027 | .block_erasers = |
| 4028 | { |
| 4029 | { |
| 4030 | .eraseblocks = { |
| 4031 | {8 * 1024, 8}, |
| 4032 | {64 * 1024, 127}, |
| 4033 | }, |
| 4034 | .block_erase = block_erase_en29lv640b, |
| 4035 | }, { |
| 4036 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4037 | .block_erase = block_erase_chip_en29lv640b, |
| 4038 | }, |
| 4039 | }, |
| 4040 | .write = write_en29lv640b, |
| 4041 | .read = read_memmapped, |
| 4042 | .voltage = {2700, 3600}, |
| 4043 | }, |
| 4044 | |
| 4045 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4046 | .vendor = "Fujitsu", |
| 4047 | .name = "MBM29F004BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4048 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4049 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4050 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4051 | .total_size = 512, |
| 4052 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4053 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4054 | .tested = TEST_UNTESTED, |
| 4055 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4056 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4057 | .block_erasers = |
| 4058 | { |
| 4059 | { |
| 4060 | .eraseblocks = { |
| 4061 | {16 * 1024, 1}, |
| 4062 | {8 * 1024, 2}, |
| 4063 | {32 * 1024, 1}, |
| 4064 | {64 * 1024, 7}, |
| 4065 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4066 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4067 | }, { |
| 4068 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4069 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4070 | }, |
| 4071 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4072 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4073 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4074 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4075 | }, |
| 4076 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4077 | { |
| 4078 | .vendor = "Fujitsu", |
| 4079 | .name = "MBM29F004TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4080 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4081 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4082 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4083 | .total_size = 512, |
| 4084 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4085 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4086 | .tested = TEST_UNTESTED, |
| 4087 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4088 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4089 | .block_erasers = |
| 4090 | { |
| 4091 | { |
| 4092 | .eraseblocks = { |
| 4093 | {64 * 1024, 7}, |
| 4094 | {32 * 1024, 1}, |
| 4095 | {8 * 1024, 2}, |
| 4096 | {16 * 1024, 1}, |
| 4097 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4098 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4099 | }, { |
| 4100 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4101 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4102 | }, |
| 4103 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4104 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4105 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4106 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4107 | }, |
| 4108 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4109 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4110 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4111 | .vendor = "Fujitsu", |
| 4112 | .name = "MBM29F400BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4113 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4114 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4115 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4116 | .total_size = 512, |
| 4117 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4118 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 4119 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4120 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 4121 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4122 | .block_erasers = |
| 4123 | { |
| 4124 | { |
| 4125 | .eraseblocks = { |
| 4126 | {16 * 1024, 1}, |
| 4127 | {8 * 1024, 2}, |
| 4128 | {32 * 1024, 1}, |
| 4129 | {64 * 1024, 7}, |
| 4130 | }, |
| 4131 | .block_erase = block_erase_m29f400bt, |
| 4132 | }, { |
| 4133 | .eraseblocks = { {512 * 1024, 1} }, |
| 4134 | .block_erase = block_erase_chip_m29f400bt, |
| 4135 | }, |
| 4136 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 4137 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4138 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4139 | .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] | 4140 | }, |
| 4141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4142 | { |
| 4143 | .vendor = "Fujitsu", |
| 4144 | .name = "MBM29F400TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4145 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4146 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4147 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4148 | .total_size = 512, |
| 4149 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4150 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4151 | .tested = TEST_UNTESTED, |
| 4152 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 4153 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4154 | .block_erasers = |
| 4155 | { |
| 4156 | { |
| 4157 | .eraseblocks = { |
| 4158 | {64 * 1024, 7}, |
| 4159 | {32 * 1024, 1}, |
| 4160 | {8 * 1024, 2}, |
| 4161 | {16 * 1024, 1}, |
| 4162 | }, |
| 4163 | .block_erase = block_erase_m29f400bt, |
| 4164 | }, { |
| 4165 | .eraseblocks = { {512 * 1024, 1} }, |
| 4166 | .block_erase = block_erase_chip_m29f400bt, |
| 4167 | }, |
| 4168 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 4169 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4170 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4171 | .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] | 4172 | }, |
| 4173 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4174 | { |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4175 | .vendor = "GigaDevice", |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4176 | .name = "GD25LQ32", |
| 4177 | .bustype = BUS_SPI, |
| 4178 | .manufacture_id = GIGADEVICE_ID, |
| 4179 | .model_id = GIGADEVICE_GD25LQ32, |
| 4180 | .total_size = 4096, |
| 4181 | .page_size = 256, |
| 4182 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
| 4183 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4184 | .tested = TEST_OK_PREW, |
| 4185 | .probe = probe_spi_rdid, |
| 4186 | .probe_timing = TIMING_ZERO, |
| 4187 | .block_erasers = |
| 4188 | { |
| 4189 | { |
| 4190 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4191 | .block_erase = spi_block_erase_20, |
| 4192 | }, { |
| 4193 | .eraseblocks = { {32 * 1024, 128} }, |
| 4194 | .block_erase = spi_block_erase_52, |
| 4195 | }, { |
| 4196 | .eraseblocks = { {64 * 1024, 64} }, |
| 4197 | .block_erase = spi_block_erase_d8, |
| 4198 | }, { |
| 4199 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4200 | .block_erase = spi_block_erase_60, |
| 4201 | }, { |
| 4202 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4203 | .block_erase = spi_block_erase_c7, |
| 4204 | } |
| 4205 | }, |
| 4206 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4207 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 4208 | .write = spi_chip_write_256, |
| 4209 | .read = spi_chip_read, |
| 4210 | .voltage = {1700, 1950}, |
| 4211 | }, |
| 4212 | |
| 4213 | { |
| 4214 | .vendor = "GigaDevice", |
| 4215 | .name = "GD25Q512", |
| 4216 | .bustype = BUS_SPI, |
| 4217 | .manufacture_id = GIGADEVICE_ID, |
| 4218 | .model_id = GIGADEVICE_GD25Q512, |
| 4219 | .total_size = 64, |
| 4220 | .page_size = 256, |
| 4221 | .feature_bits = FEATURE_WRSR_WREN, |
| 4222 | .tested = TEST_UNTESTED, |
| 4223 | .probe = probe_spi_rdid, |
| 4224 | .probe_timing = TIMING_ZERO, |
| 4225 | .block_erasers = { |
| 4226 | { |
| 4227 | .eraseblocks = { {4 * 1024, 16} }, |
| 4228 | .block_erase = spi_block_erase_20, |
| 4229 | }, { |
| 4230 | .eraseblocks = { {32 * 1024, 2} }, |
| 4231 | .block_erase = spi_block_erase_52, |
| 4232 | }, { |
| 4233 | .eraseblocks = { {64 * 1024, 1} }, |
| 4234 | .block_erase = spi_block_erase_60, |
| 4235 | }, { |
| 4236 | .eraseblocks = { {64 * 1024, 1} }, |
| 4237 | .block_erase = spi_block_erase_c7, |
| 4238 | } |
| 4239 | }, |
| 4240 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4241 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 4242 | .write = spi_chip_write_256, |
| 4243 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 4244 | .voltage = {2700, 3600}, |
| 4245 | }, |
| 4246 | |
| 4247 | { |
| 4248 | .vendor = "GigaDevice", |
| 4249 | .name = "GD25Q10", |
| 4250 | .bustype = BUS_SPI, |
| 4251 | .manufacture_id = GIGADEVICE_ID, |
| 4252 | .model_id = GIGADEVICE_GD25Q10, |
| 4253 | .total_size = 128, |
| 4254 | .page_size = 256, |
| 4255 | .feature_bits = FEATURE_WRSR_WREN, |
| 4256 | .tested = TEST_UNTESTED, |
| 4257 | .probe = probe_spi_rdid, |
| 4258 | .probe_timing = TIMING_ZERO, |
| 4259 | .block_erasers = { |
| 4260 | { |
| 4261 | .eraseblocks = { {4 * 1024, 32} }, |
| 4262 | .block_erase = spi_block_erase_20, |
| 4263 | }, { |
| 4264 | .eraseblocks = { {32 * 1024, 4} }, |
| 4265 | .block_erase = spi_block_erase_52, |
| 4266 | }, { |
| 4267 | .eraseblocks = { {64 * 1024, 2} }, |
| 4268 | .block_erase = spi_block_erase_d8, |
| 4269 | }, { |
| 4270 | .eraseblocks = { {128 * 1024, 1} }, |
| 4271 | .block_erase = spi_block_erase_60, |
| 4272 | }, { |
| 4273 | .eraseblocks = { {128 * 1024, 1} }, |
| 4274 | .block_erase = spi_block_erase_c7, |
| 4275 | } |
| 4276 | }, |
| 4277 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4278 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 4279 | .write = spi_chip_write_256, |
| 4280 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 4281 | .voltage = {2700, 3600}, |
| 4282 | }, |
| 4283 | |
| 4284 | { |
| 4285 | .vendor = "GigaDevice", |
| 4286 | .name = "GD25Q20(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4287 | .bustype = BUS_SPI, |
| 4288 | .manufacture_id = GIGADEVICE_ID, |
| 4289 | .model_id = GIGADEVICE_GD25Q20, |
| 4290 | .total_size = 256, |
| 4291 | .page_size = 256, |
| 4292 | .feature_bits = FEATURE_WRSR_WREN, |
| 4293 | .tested = TEST_UNTESTED, |
| 4294 | .probe = probe_spi_rdid, |
| 4295 | .probe_timing = TIMING_ZERO, |
| 4296 | .block_erasers = |
| 4297 | { |
| 4298 | { |
| 4299 | .eraseblocks = { {4 * 1024, 64} }, |
| 4300 | .block_erase = spi_block_erase_20, |
| 4301 | }, { |
| 4302 | .eraseblocks = { {32 * 1024, 8} }, |
| 4303 | .block_erase = spi_block_erase_52, |
| 4304 | }, { |
| 4305 | .eraseblocks = { {64 * 1024, 4} }, |
| 4306 | .block_erase = spi_block_erase_d8, |
| 4307 | }, { |
| 4308 | .eraseblocks = { {256 * 1024, 1} }, |
| 4309 | .block_erase = spi_block_erase_60, |
| 4310 | }, { |
| 4311 | .eraseblocks = { {256 * 1024, 1} }, |
| 4312 | .block_erase = spi_block_erase_c7, |
| 4313 | } |
| 4314 | }, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4315 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4316 | .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] | 4317 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4318 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4319 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4320 | }, |
| 4321 | |
| 4322 | { |
| 4323 | .vendor = "GigaDevice", |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4324 | .name = "GD25Q40(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4325 | .bustype = BUS_SPI, |
| 4326 | .manufacture_id = GIGADEVICE_ID, |
| 4327 | .model_id = GIGADEVICE_GD25Q40, |
| 4328 | .total_size = 512, |
| 4329 | .page_size = 256, |
| 4330 | .feature_bits = FEATURE_WRSR_WREN, |
| 4331 | .tested = TEST_UNTESTED, |
| 4332 | .probe = probe_spi_rdid, |
| 4333 | .probe_timing = TIMING_ZERO, |
| 4334 | .block_erasers = |
| 4335 | { |
| 4336 | { |
| 4337 | .eraseblocks = { {4 * 1024, 128} }, |
| 4338 | .block_erase = spi_block_erase_20, |
| 4339 | }, { |
| 4340 | .eraseblocks = { {32 * 1024, 16} }, |
| 4341 | .block_erase = spi_block_erase_52, |
| 4342 | }, { |
| 4343 | .eraseblocks = { {64 * 1024, 8} }, |
| 4344 | .block_erase = spi_block_erase_d8, |
| 4345 | }, { |
| 4346 | .eraseblocks = { {512 * 1024, 1} }, |
| 4347 | .block_erase = spi_block_erase_60, |
| 4348 | }, { |
| 4349 | .eraseblocks = { {512 * 1024, 1} }, |
| 4350 | .block_erase = spi_block_erase_c7, |
| 4351 | } |
| 4352 | }, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4353 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4354 | .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] | 4355 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4356 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4357 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4358 | }, |
| 4359 | |
| 4360 | { |
| 4361 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4362 | .name = "GD25Q80(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4363 | .bustype = BUS_SPI, |
| 4364 | .manufacture_id = GIGADEVICE_ID, |
| 4365 | .model_id = GIGADEVICE_GD25Q80, |
| 4366 | .total_size = 1024, |
| 4367 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4368 | /* 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] | 4369 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4370 | .tested = TEST_OK_PREW, |
| 4371 | .probe = probe_spi_rdid, |
| 4372 | .probe_timing = TIMING_ZERO, |
| 4373 | .block_erasers = |
| 4374 | { |
| 4375 | { |
| 4376 | .eraseblocks = { {4 * 1024, 256} }, |
| 4377 | .block_erase = spi_block_erase_20, |
| 4378 | }, { |
| 4379 | .eraseblocks = { {32 * 1024, 32} }, |
| 4380 | .block_erase = spi_block_erase_52, |
| 4381 | }, { |
| 4382 | .eraseblocks = { {64 * 1024, 16} }, |
| 4383 | .block_erase = spi_block_erase_d8, |
| 4384 | }, { |
| 4385 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4386 | .block_erase = spi_block_erase_60, |
| 4387 | }, { |
| 4388 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4389 | .block_erase = spi_block_erase_c7, |
| 4390 | } |
| 4391 | }, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4392 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4393 | .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] | 4394 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4395 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4396 | .voltage = {2700, 3600}, |
| 4397 | }, |
| 4398 | |
| 4399 | { |
| 4400 | .vendor = "GigaDevice", |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4401 | .name = "GD25Q16(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4402 | .bustype = BUS_SPI, |
| 4403 | .manufacture_id = GIGADEVICE_ID, |
| 4404 | .model_id = GIGADEVICE_GD25Q16, |
| 4405 | .total_size = 2048, |
| 4406 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4407 | /* 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] | 4408 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4409 | .tested = TEST_UNTESTED, |
| 4410 | .probe = probe_spi_rdid, |
| 4411 | .probe_timing = TIMING_ZERO, |
| 4412 | .block_erasers = |
| 4413 | { |
| 4414 | { |
| 4415 | .eraseblocks = { {4 * 1024, 512} }, |
| 4416 | .block_erase = spi_block_erase_20, |
| 4417 | }, { |
| 4418 | .eraseblocks = { {32 * 1024, 64} }, |
| 4419 | .block_erase = spi_block_erase_52, |
| 4420 | }, { |
| 4421 | .eraseblocks = { {64 * 1024, 32} }, |
| 4422 | .block_erase = spi_block_erase_d8, |
| 4423 | }, { |
| 4424 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4425 | .block_erase = spi_block_erase_60, |
| 4426 | }, { |
| 4427 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4428 | .block_erase = spi_block_erase_c7, |
| 4429 | } |
| 4430 | }, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4431 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4432 | .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] | 4433 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4434 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4435 | .voltage = {2700, 3600}, |
| 4436 | }, |
| 4437 | |
| 4438 | { |
| 4439 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4440 | .name = "GD25Q32(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4441 | .bustype = BUS_SPI, |
| 4442 | .manufacture_id = GIGADEVICE_ID, |
| 4443 | .model_id = GIGADEVICE_GD25Q32, |
| 4444 | .total_size = 4096, |
| 4445 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4446 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4447 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4448 | .tested = TEST_UNTESTED, |
| 4449 | .probe = probe_spi_rdid, |
| 4450 | .probe_timing = TIMING_ZERO, |
| 4451 | .block_erasers = |
| 4452 | { |
| 4453 | { |
| 4454 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4455 | .block_erase = spi_block_erase_20, |
| 4456 | }, { |
| 4457 | .eraseblocks = { {32 * 1024, 128} }, |
| 4458 | .block_erase = spi_block_erase_52, |
| 4459 | }, { |
| 4460 | .eraseblocks = { {64 * 1024, 64} }, |
| 4461 | .block_erase = spi_block_erase_d8, |
| 4462 | }, { |
| 4463 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4464 | .block_erase = spi_block_erase_60, |
| 4465 | }, { |
| 4466 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4467 | .block_erase = spi_block_erase_c7, |
| 4468 | } |
| 4469 | }, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4470 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4471 | .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] | 4472 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4473 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4474 | .voltage = {2700, 3600}, |
| 4475 | }, |
| 4476 | |
| 4477 | { |
| 4478 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4479 | .name = "GD25Q64(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4480 | .bustype = BUS_SPI, |
| 4481 | .manufacture_id = GIGADEVICE_ID, |
| 4482 | .model_id = GIGADEVICE_GD25Q64, |
| 4483 | .total_size = 8192, |
| 4484 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4485 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4486 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4487 | .tested = TEST_OK_PREW, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4488 | .probe = probe_spi_rdid, |
| 4489 | .probe_timing = TIMING_ZERO, |
| 4490 | .block_erasers = |
| 4491 | { |
| 4492 | { |
| 4493 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4494 | .block_erase = spi_block_erase_20, |
| 4495 | }, { |
| 4496 | .eraseblocks = { {32 * 1024, 256} }, |
| 4497 | .block_erase = spi_block_erase_52, |
| 4498 | }, { |
| 4499 | .eraseblocks = { {64 * 1024, 128} }, |
| 4500 | .block_erase = spi_block_erase_d8, |
| 4501 | }, { |
| 4502 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4503 | .block_erase = spi_block_erase_60, |
| 4504 | }, { |
| 4505 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4506 | .block_erase = spi_block_erase_c7, |
| 4507 | } |
| 4508 | }, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4509 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4510 | .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] | 4511 | .write = spi_chip_write_256, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4512 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4513 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4514 | }, |
| 4515 | |
| 4516 | { |
| 4517 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4518 | .name = "GD25Q128B", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4519 | .bustype = BUS_SPI, |
| 4520 | .manufacture_id = GIGADEVICE_ID, |
| 4521 | .model_id = GIGADEVICE_GD25Q128, |
| 4522 | .total_size = 16384, |
| 4523 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4524 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4525 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4526 | .tested = TEST_UNTESTED, |
| 4527 | .probe = probe_spi_rdid, |
| 4528 | .probe_timing = TIMING_ZERO, |
| 4529 | .block_erasers = |
| 4530 | { |
| 4531 | { |
| 4532 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4533 | .block_erase = spi_block_erase_20, |
| 4534 | }, { |
| 4535 | .eraseblocks = { {32 * 1024, 512} }, |
| 4536 | .block_erase = spi_block_erase_52, |
| 4537 | }, { |
| 4538 | .eraseblocks = { {64 * 1024, 256} }, |
| 4539 | .block_erase = spi_block_erase_d8, |
| 4540 | }, { |
| 4541 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4542 | .block_erase = spi_block_erase_60, |
| 4543 | }, { |
| 4544 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4545 | .block_erase = spi_block_erase_c7, |
| 4546 | } |
| 4547 | }, |
Nikolay Nikolaev | 3f3390b | 2013-06-28 21:28:56 +0000 | [diff] [blame^] | 4548 | .printlock = spi_prettyprint_status_register_default_bp4, |
| 4549 | .unlock = spi_disable_blockprotect_bp4_srwd, /* TODO: 2nd status reg (read with 0x35) */ |
| 4550 | .write = spi_chip_write_256, |
| 4551 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 4552 | .voltage = {2700, 3600}, |
| 4553 | }, |
| 4554 | |
| 4555 | { |
| 4556 | .vendor = "GigaDevice", |
| 4557 | .name = "GD25T80", |
| 4558 | .bustype = BUS_SPI, |
| 4559 | .manufacture_id = GIGADEVICE_ID, |
| 4560 | .model_id = GIGADEVICE_GD25T80, |
| 4561 | .total_size = 1024, |
| 4562 | .page_size = 256, |
| 4563 | /* OTP: 256B total; enter 0x3A */ |
| 4564 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4565 | .tested = TEST_UNTESTED, |
| 4566 | .probe = probe_spi_rdid, |
| 4567 | .probe_timing = TIMING_ZERO, |
| 4568 | .block_erasers = { |
| 4569 | { |
| 4570 | .eraseblocks = { {4 * 1024, 256} }, |
| 4571 | .block_erase = spi_block_erase_20, |
| 4572 | }, { |
| 4573 | .eraseblocks = { {64 * 1024, 16} }, |
| 4574 | .block_erase = spi_block_erase_52, |
| 4575 | }, { |
| 4576 | .eraseblocks = { {64 * 1024, 16} }, |
| 4577 | .block_erase = spi_block_erase_d8, |
| 4578 | }, { |
| 4579 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4580 | .block_erase = spi_block_erase_60, |
| 4581 | }, { |
| 4582 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4583 | .block_erase = spi_block_erase_c7, |
| 4584 | } |
| 4585 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4586 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4587 | .unlock = spi_disable_blockprotect, |
| 4588 | .write = spi_chip_write_256, |
| 4589 | .read = spi_chip_read, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4590 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4591 | }, |
| 4592 | |
| 4593 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4594 | .vendor = "Hyundai", |
| 4595 | .name = "HY29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4596 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4597 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4598 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4599 | .total_size = 256, |
| 4600 | .page_size = 256 * 1024, |
| 4601 | .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] | 4602 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4603 | .probe = probe_jedec, |
| 4604 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4605 | .block_erasers = |
| 4606 | { |
| 4607 | { |
| 4608 | .eraseblocks = { |
| 4609 | {64 * 1024, 3}, |
| 4610 | {32 * 1024, 1}, |
| 4611 | {8 * 1024, 2}, |
| 4612 | {16 * 1024, 1}, |
| 4613 | }, |
| 4614 | .block_erase = erase_sector_jedec, |
| 4615 | }, { |
| 4616 | .eraseblocks = { {256 * 1024, 1} }, |
| 4617 | .block_erase = erase_chip_block_jedec, |
| 4618 | }, |
| 4619 | }, |
| 4620 | .write = write_jedec_1, |
| 4621 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4622 | .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] | 4623 | }, |
| 4624 | |
| 4625 | { |
| 4626 | .vendor = "Hyundai", |
| 4627 | .name = "HY29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4628 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4629 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4630 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4631 | .total_size = 256, |
| 4632 | .page_size = 256 * 1024, |
| 4633 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 4634 | .tested = TEST_UNTESTED, |
| 4635 | .probe = probe_jedec, |
| 4636 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4637 | .block_erasers = |
| 4638 | { |
| 4639 | { |
| 4640 | .eraseblocks = { |
| 4641 | {16 * 1024, 1}, |
| 4642 | {8 * 1024, 2}, |
| 4643 | {32 * 1024, 1}, |
| 4644 | {64 * 1024, 3}, |
| 4645 | }, |
| 4646 | .block_erase = erase_sector_jedec, |
| 4647 | }, { |
| 4648 | .eraseblocks = { {256 * 1024, 1} }, |
| 4649 | .block_erase = erase_chip_block_jedec, |
| 4650 | }, |
| 4651 | }, |
| 4652 | .write = write_jedec_1, |
| 4653 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4654 | .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] | 4655 | }, |
| 4656 | |
| 4657 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4658 | .vendor = "Hyundai", |
| 4659 | .name = "HY29F040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4660 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4661 | .manufacture_id = HYUNDAI_ID, |
| 4662 | .model_id = HYUNDAI_HY29F040A, |
| 4663 | .total_size = 512, |
| 4664 | .page_size = 64 * 1024, |
| 4665 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4666 | .tested = TEST_UNTESTED, |
| 4667 | .probe = probe_jedec, |
| 4668 | .probe_timing = TIMING_ZERO, |
| 4669 | .block_erasers = |
| 4670 | { |
| 4671 | { |
| 4672 | .eraseblocks = { {64 * 1024, 8} }, |
| 4673 | .block_erase = erase_sector_jedec, |
| 4674 | }, { |
| 4675 | .eraseblocks = { {512 * 1024, 1} }, |
| 4676 | .block_erase = erase_chip_block_jedec, |
| 4677 | }, |
| 4678 | }, |
| 4679 | .write = write_jedec_1, |
| 4680 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4681 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4682 | }, |
| 4683 | |
| 4684 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4685 | .vendor = "Intel", |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 4686 | .name = "25F160S33B8", |
| 4687 | .bustype = BUS_SPI, |
| 4688 | .manufacture_id = INTEL_ID, |
| 4689 | .model_id = INTEL_25F160S33B8, |
| 4690 | .total_size = 2048, |
| 4691 | .page_size = 256, |
| 4692 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4693 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4694 | .tested = TEST_UNTESTED, |
| 4695 | .probe = probe_spi_rdid, |
| 4696 | .probe_timing = TIMING_ZERO, |
| 4697 | .block_erasers = |
| 4698 | { |
| 4699 | { |
| 4700 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4701 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4702 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4703 | .eraseblocks = { |
| 4704 | {8 * 1024, 8}, |
| 4705 | {64 * 1024, 31} // inaccessible |
| 4706 | }, |
| 4707 | .block_erase = spi_block_erase_40, |
| 4708 | }, { */ |
| 4709 | .eraseblocks = { {64 * 1024, 32} }, |
| 4710 | .block_erase = spi_block_erase_d8, |
| 4711 | }, { |
| 4712 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4713 | .block_erase = spi_block_erase_c7, |
| 4714 | } |
| 4715 | }, |
| 4716 | .printlock = spi_prettyprint_status_register_s33, |
| 4717 | .unlock = spi_disable_blockprotect_s33, |
| 4718 | .write = spi_chip_write_256, |
| 4719 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4720 | .voltage = {2700, 3600}, |
| 4721 | }, |
| 4722 | |
| 4723 | { |
| 4724 | .vendor = "Intel", |
| 4725 | .name = "25F160S33T8", |
| 4726 | .bustype = BUS_SPI, |
| 4727 | .manufacture_id = INTEL_ID, |
| 4728 | .model_id = INTEL_25F160S33T8, |
| 4729 | .total_size = 2048, |
| 4730 | .page_size = 256, |
| 4731 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4732 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4733 | .tested = TEST_UNTESTED, |
| 4734 | .probe = probe_spi_rdid, |
| 4735 | .probe_timing = TIMING_ZERO, |
| 4736 | .block_erasers = |
| 4737 | { |
| 4738 | { |
| 4739 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4740 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4741 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4742 | .eraseblocks = { |
| 4743 | {64 * 1024, 31}, // inaccessible |
| 4744 | {8 * 1024, 8} |
| 4745 | }, |
| 4746 | .block_erase = spi_block_erase_40, |
| 4747 | }, { */ |
| 4748 | .eraseblocks = { {64 * 1024, 32} }, |
| 4749 | .block_erase = spi_block_erase_d8, |
| 4750 | }, { |
| 4751 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4752 | .block_erase = spi_block_erase_c7, |
| 4753 | } |
| 4754 | }, |
| 4755 | .printlock = spi_prettyprint_status_register_s33, |
| 4756 | .unlock = spi_disable_blockprotect_s33, |
| 4757 | .write = spi_chip_write_256, |
| 4758 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4759 | .voltage = {2700, 3600}, |
| 4760 | }, |
| 4761 | |
| 4762 | { |
| 4763 | .vendor = "Intel", |
| 4764 | .name = "25F320S33B8", |
| 4765 | .bustype = BUS_SPI, |
| 4766 | .manufacture_id = INTEL_ID, |
| 4767 | .model_id = INTEL_25F320S33B8, |
| 4768 | .total_size = 4096, |
| 4769 | .page_size = 256, |
| 4770 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4771 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4772 | .tested = TEST_UNTESTED, |
| 4773 | .probe = probe_spi_rdid, |
| 4774 | .probe_timing = TIMING_ZERO, |
| 4775 | .block_erasers = |
| 4776 | { |
| 4777 | { |
| 4778 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4779 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4780 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4781 | .eraseblocks = { |
| 4782 | {8 * 1024, 8}, |
| 4783 | {64 * 1024, 63} // inaccessible |
| 4784 | }, |
| 4785 | .block_erase = spi_block_erase_40, |
| 4786 | }, { */ |
| 4787 | .eraseblocks = { {64 * 1024, 64} }, |
| 4788 | .block_erase = spi_block_erase_d8, |
| 4789 | }, { |
| 4790 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4791 | .block_erase = spi_block_erase_c7, |
| 4792 | } |
| 4793 | }, |
| 4794 | .printlock = spi_prettyprint_status_register_s33, |
| 4795 | .unlock = spi_disable_blockprotect_s33, |
| 4796 | .write = spi_chip_write_256, |
| 4797 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4798 | .voltage = {2700, 3600}, |
| 4799 | }, |
| 4800 | |
| 4801 | { |
| 4802 | .vendor = "Intel", |
| 4803 | .name = "25F320S33T8", |
| 4804 | .bustype = BUS_SPI, |
| 4805 | .manufacture_id = INTEL_ID, |
| 4806 | .model_id = INTEL_25F320S33T8, |
| 4807 | .total_size = 4096, |
| 4808 | .page_size = 256, |
| 4809 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4810 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4811 | .tested = TEST_UNTESTED, |
| 4812 | .probe = probe_spi_rdid, |
| 4813 | .probe_timing = TIMING_ZERO, |
| 4814 | .block_erasers = |
| 4815 | { |
| 4816 | { |
| 4817 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4818 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4819 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4820 | .eraseblocks = { |
| 4821 | {64 * 1024, 63}, // inaccessible |
| 4822 | {8 * 1024, 8} |
| 4823 | }, |
| 4824 | .block_erase = spi_block_erase_40, |
| 4825 | }, { */ |
| 4826 | .eraseblocks = { {64 * 1024, 64} }, |
| 4827 | .block_erase = spi_block_erase_d8, |
| 4828 | }, { |
| 4829 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4830 | .block_erase = spi_block_erase_c7, |
| 4831 | } |
| 4832 | }, |
| 4833 | .printlock = spi_prettyprint_status_register_s33, |
| 4834 | .unlock = spi_disable_blockprotect_s33, |
| 4835 | .write = spi_chip_write_256, |
| 4836 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4837 | .voltage = {2700, 3600}, |
| 4838 | }, |
| 4839 | |
| 4840 | { |
| 4841 | .vendor = "Intel", |
| 4842 | .name = "25F640S33B8", |
| 4843 | .bustype = BUS_SPI, |
| 4844 | .manufacture_id = INTEL_ID, |
| 4845 | .model_id = INTEL_25F640S33B8, |
| 4846 | .total_size = 8192, |
| 4847 | .page_size = 256, |
| 4848 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4849 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4850 | .tested = TEST_UNTESTED, |
| 4851 | .probe = probe_spi_rdid, |
| 4852 | .probe_timing = TIMING_ZERO, |
| 4853 | .block_erasers = |
| 4854 | { |
| 4855 | { |
| 4856 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4857 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4858 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4859 | .eraseblocks = { |
| 4860 | {8 * 1024, 8}, |
| 4861 | {64 * 1024, 127} // inaccessible |
| 4862 | }, |
| 4863 | .block_erase = spi_block_erase_40, |
| 4864 | }, { */ |
| 4865 | .eraseblocks = { {64 * 1024, 128} }, |
| 4866 | .block_erase = spi_block_erase_d8, |
| 4867 | }, { |
| 4868 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4869 | .block_erase = spi_block_erase_c7, |
| 4870 | } |
| 4871 | }, |
| 4872 | .printlock = spi_prettyprint_status_register_s33, |
| 4873 | .unlock = spi_disable_blockprotect_s33, |
| 4874 | .write = spi_chip_write_256, |
| 4875 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4876 | .voltage = {2700, 3600}, |
| 4877 | }, |
| 4878 | |
| 4879 | { |
| 4880 | .vendor = "Intel", |
| 4881 | .name = "25F640S33T8", |
| 4882 | .bustype = BUS_SPI, |
| 4883 | .manufacture_id = INTEL_ID, |
| 4884 | .model_id = INTEL_25F640S33T8, |
| 4885 | .total_size = 8192, |
| 4886 | .page_size = 256, |
| 4887 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4888 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4889 | .tested = TEST_UNTESTED, |
| 4890 | .probe = probe_spi_rdid, |
| 4891 | .probe_timing = TIMING_ZERO, |
| 4892 | .block_erasers = |
| 4893 | { |
| 4894 | { |
| 4895 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4896 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4897 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4898 | .eraseblocks = { |
| 4899 | {64 * 1024, 127}, // inaccessible |
| 4900 | {8 * 1024, 8} |
| 4901 | }, |
| 4902 | .block_erase = spi_block_erase_40, |
| 4903 | }, { */ |
| 4904 | .eraseblocks = { {64 * 1024, 128} }, |
| 4905 | .block_erase = spi_block_erase_d8, |
| 4906 | }, { |
| 4907 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4908 | .block_erase = spi_block_erase_c7, |
| 4909 | } |
| 4910 | }, |
| 4911 | .printlock = spi_prettyprint_status_register_s33, |
| 4912 | .unlock = spi_disable_blockprotect_s33, |
| 4913 | .write = spi_chip_write_256, |
| 4914 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4915 | .voltage = {2700, 3600}, |
| 4916 | }, |
| 4917 | |
| 4918 | { |
| 4919 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4920 | .name = "28F001BN/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4921 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4922 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4923 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4924 | .total_size = 128, |
| 4925 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4926 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4927 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4928 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4929 | .block_erasers = |
| 4930 | { |
| 4931 | { |
| 4932 | .eraseblocks = { |
| 4933 | {8 * 1024, 1}, |
| 4934 | {4 * 1024, 2}, |
| 4935 | {112 * 1024, 1}, |
| 4936 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4937 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4938 | }, |
| 4939 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4940 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4941 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4942 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4943 | }, |
| 4944 | |
| 4945 | { |
| 4946 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4947 | .name = "28F001BN/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4948 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4949 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4950 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4951 | .total_size = 128, |
| 4952 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4953 | .tested = TEST_OK_PR, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4954 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4955 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4956 | .block_erasers = |
| 4957 | { |
| 4958 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4959 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4960 | {112 * 1024, 1}, |
| 4961 | {4 * 1024, 2}, |
| 4962 | {8 * 1024, 1}, |
| 4963 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4964 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4965 | }, |
| 4966 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4967 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4968 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4969 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4970 | }, |
| 4971 | |
| 4972 | { |
| 4973 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4974 | .name = "28F002BC/BL/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4975 | .bustype = BUS_PARALLEL, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4976 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4977 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4978 | .total_size = 256, |
| 4979 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4980 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4981 | .probe = probe_82802ab, |
| 4982 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4983 | .block_erasers = |
| 4984 | { |
| 4985 | { |
| 4986 | .eraseblocks = { |
| 4987 | {128 * 1024, 1}, |
| 4988 | {96 * 1024, 1}, |
| 4989 | {8 * 1024, 2}, |
| 4990 | {16 * 1024, 1}, |
| 4991 | }, |
| 4992 | .block_erase = erase_block_82802ab, |
| 4993 | }, |
| 4994 | }, |
| 4995 | .write = write_82802ab, |
| 4996 | .read = read_memmapped, |
| 4997 | }, |
| 4998 | |
| 4999 | { |
| 5000 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5001 | .name = "28F008S3/S5/SC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5002 | .bustype = BUS_PARALLEL, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 5003 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5004 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 5005 | .total_size = 512, |
| 5006 | .page_size = 256, |
| 5007 | .tested = TEST_UNTESTED, |
| 5008 | .probe = probe_82802ab, |
| 5009 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 5010 | .block_erasers = |
| 5011 | { |
| 5012 | { |
| 5013 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5014 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 5015 | }, |
| 5016 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 5017 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 5018 | .write = write_82802ab, |
| 5019 | .read = read_memmapped, |
| 5020 | }, |
| 5021 | |
| 5022 | { |
| 5023 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5024 | .name = "28F004B5/BE/BV/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5025 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5026 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5027 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5028 | .total_size = 512, |
| 5029 | .page_size = 128 * 1024, /* maximal block size */ |
| 5030 | .tested = TEST_UNTESTED, |
| 5031 | .probe = probe_82802ab, |
| 5032 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5033 | .block_erasers = |
| 5034 | { |
| 5035 | { |
| 5036 | .eraseblocks = { |
| 5037 | {16 * 1024, 1}, |
| 5038 | {8 * 1024, 2}, |
| 5039 | {96 * 1024, 1}, |
| 5040 | {128 * 1024, 3}, |
| 5041 | }, |
| 5042 | .block_erase = erase_block_82802ab, |
| 5043 | }, |
| 5044 | }, |
| 5045 | .write = write_82802ab, |
| 5046 | .read = read_memmapped, |
| 5047 | }, |
| 5048 | |
| 5049 | { |
| 5050 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5051 | .name = "28F004B5/BE/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5052 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5053 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5054 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5055 | .total_size = 512, |
| 5056 | .page_size = 128 * 1024, /* maximal block size */ |
| 5057 | .tested = TEST_UNTESTED, |
| 5058 | .probe = probe_82802ab, |
| 5059 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5060 | .block_erasers = |
| 5061 | { |
| 5062 | { |
| 5063 | .eraseblocks = { |
| 5064 | {128 * 1024, 3}, |
| 5065 | {96 * 1024, 1}, |
| 5066 | {8 * 1024, 2}, |
| 5067 | {16 * 1024, 1}, |
| 5068 | }, |
| 5069 | .block_erase = erase_block_82802ab, |
| 5070 | }, |
| 5071 | }, |
| 5072 | .write = write_82802ab, |
| 5073 | .read = read_memmapped, |
| 5074 | }, |
| 5075 | |
| 5076 | { |
| 5077 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5078 | .name = "28F400BV/BX/CE/CV-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5079 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5080 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5081 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5082 | .total_size = 512, |
| 5083 | .page_size = 128 * 1024, /* maximal block size */ |
| 5084 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 5085 | .tested = TEST_UNTESTED, |
| 5086 | .probe = probe_82802ab, |
| 5087 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5088 | .block_erasers = |
| 5089 | { |
| 5090 | { |
| 5091 | .eraseblocks = { |
| 5092 | {16 * 1024, 1}, |
| 5093 | {8 * 1024, 2}, |
| 5094 | {96 * 1024, 1}, |
| 5095 | {128 * 1024, 3}, |
| 5096 | }, |
| 5097 | .block_erase = erase_block_82802ab, |
| 5098 | }, |
| 5099 | }, |
| 5100 | .write = write_82802ab, |
| 5101 | .read = read_memmapped, |
| 5102 | }, |
| 5103 | |
| 5104 | { |
| 5105 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5106 | .name = "28F400BV/BX/CE/CV-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5107 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5108 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5109 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5110 | .total_size = 512, |
| 5111 | .page_size = 128 * 1024, /* maximal block size */ |
| 5112 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 5113 | .tested = TEST_UNTESTED, |
| 5114 | .probe = probe_82802ab, |
| 5115 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5116 | .block_erasers = |
| 5117 | { |
| 5118 | { |
| 5119 | .eraseblocks = { |
| 5120 | {128 * 1024, 3}, |
| 5121 | {96 * 1024, 1}, |
| 5122 | {8 * 1024, 2}, |
| 5123 | {16 * 1024, 1}, |
| 5124 | }, |
| 5125 | .block_erase = erase_block_82802ab, |
| 5126 | }, |
| 5127 | }, |
| 5128 | .write = write_82802ab, |
| 5129 | .read = read_memmapped, |
| 5130 | }, |
| 5131 | |
| 5132 | { |
| 5133 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5134 | .name = "82802AB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5135 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5136 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5137 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5138 | .total_size = 512, |
| 5139 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5140 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 5141 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5142 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5143 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5144 | .block_erasers = |
| 5145 | { |
| 5146 | { |
| 5147 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5148 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5149 | }, |
| 5150 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5151 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5152 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5153 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5154 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5155 | }, |
| 5156 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5157 | { |
| 5158 | .vendor = "Intel", |
| 5159 | .name = "82802AC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5160 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5161 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5162 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5163 | .total_size = 1024, |
| 5164 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5165 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5166 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5167 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5168 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5169 | .block_erasers = |
| 5170 | { |
| 5171 | { |
| 5172 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5173 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5174 | }, |
| 5175 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5176 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5177 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5178 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5179 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5180 | }, |
| 5181 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5182 | { |
| 5183 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5184 | .name = "MX25L512(E)/MX25V512(C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5185 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5186 | .manufacture_id = MACRONIX_ID, |
| 5187 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5188 | .total_size = 64, |
| 5189 | .page_size = 256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5190 | /* MX25L512E supports SFDP */ |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5191 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5192 | .tested = TEST_UNTESTED, |
| 5193 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5194 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5195 | .block_erasers = |
| 5196 | { |
| 5197 | { |
| 5198 | .eraseblocks = { {4 * 1024, 16} }, |
| 5199 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5200 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5201 | .eraseblocks = { {64 * 1024, 1} }, |
| 5202 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5203 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5204 | .eraseblocks = { {64 * 1024, 1} }, |
| 5205 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5206 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5207 | .eraseblocks = { {64 * 1024, 1} }, |
| 5208 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5209 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5210 | .eraseblocks = { {64 * 1024, 1} }, |
| 5211 | .block_erase = spi_block_erase_c7, |
| 5212 | }, |
| 5213 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5214 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5215 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5216 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5217 | .read = spi_chip_read, /* Fast read (0x0B) supported, MX25L512E supports dual I/O */ |
| 5218 | .voltage = {2700, 3600}, /* 2.35-3.6V for MX25V512(C) */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5219 | }, |
| 5220 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5221 | { |
| 5222 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5223 | .name = "MX25L1005(C)/MX25L1006E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5224 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5225 | .manufacture_id = MACRONIX_ID, |
| 5226 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5227 | .total_size = 128, |
| 5228 | .page_size = 256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5229 | /* MX25L1006E supports SFDP */ |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5230 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 5231 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5232 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5233 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5234 | .block_erasers = |
| 5235 | { |
| 5236 | { |
| 5237 | .eraseblocks = { {4 * 1024, 32} }, |
| 5238 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5239 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5240 | .eraseblocks = { {64 * 1024, 2} }, |
| 5241 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5242 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5243 | .eraseblocks = { {128 * 1024, 1} }, |
| 5244 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5245 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5246 | .eraseblocks = { {128 * 1024, 1} }, |
| 5247 | .block_erase = spi_block_erase_c7, |
| 5248 | }, |
| 5249 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5250 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5251 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5252 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5253 | .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] | 5254 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5255 | }, |
| 5256 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5257 | { |
| 5258 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5259 | .name = "MX25L2005(C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5260 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5261 | .manufacture_id = MACRONIX_ID, |
| 5262 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5263 | .total_size = 256, |
| 5264 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5265 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5266 | .tested = TEST_UNTESTED, |
| 5267 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5268 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5269 | .block_erasers = |
| 5270 | { |
| 5271 | { |
| 5272 | .eraseblocks = { {4 * 1024, 64} }, |
| 5273 | .block_erase = spi_block_erase_20, |
| 5274 | }, { |
| 5275 | .eraseblocks = { {64 * 1024, 4} }, |
| 5276 | .block_erase = spi_block_erase_52, |
| 5277 | }, { |
| 5278 | .eraseblocks = { {64 * 1024, 4} }, |
| 5279 | .block_erase = spi_block_erase_d8, |
| 5280 | }, { |
| 5281 | .eraseblocks = { {256 * 1024, 1} }, |
| 5282 | .block_erase = spi_block_erase_60, |
| 5283 | }, { |
| 5284 | .eraseblocks = { {256 * 1024, 1} }, |
| 5285 | .block_erase = spi_block_erase_c7, |
| 5286 | }, |
| 5287 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5288 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5289 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5290 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5291 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5292 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5293 | }, |
| 5294 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5295 | { |
| 5296 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5297 | .name = "MX25L4005(A/C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5298 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5299 | .manufacture_id = MACRONIX_ID, |
| 5300 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5301 | .total_size = 512, |
| 5302 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5303 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 5304 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5305 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5306 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5307 | .block_erasers = |
| 5308 | { |
| 5309 | { |
| 5310 | .eraseblocks = { {4 * 1024, 128} }, |
| 5311 | .block_erase = spi_block_erase_20, |
| 5312 | }, { |
| 5313 | .eraseblocks = { {64 * 1024, 8} }, |
| 5314 | .block_erase = spi_block_erase_52, |
| 5315 | }, { |
| 5316 | .eraseblocks = { {64 * 1024, 8} }, |
| 5317 | .block_erase = spi_block_erase_d8, |
| 5318 | }, { |
| 5319 | .eraseblocks = { {512 * 1024, 1} }, |
| 5320 | .block_erase = spi_block_erase_60, |
| 5321 | }, { |
| 5322 | .eraseblocks = { {512 * 1024, 1} }, |
| 5323 | .block_erase = spi_block_erase_c7, |
| 5324 | }, |
| 5325 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5326 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5327 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5328 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5329 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5330 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5331 | }, |
| 5332 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5333 | { |
| 5334 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5335 | .name = "MX25L8005/MX25V8005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5336 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5337 | .manufacture_id = MACRONIX_ID, |
| 5338 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5339 | .total_size = 1024, |
| 5340 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5341 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 5342 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5343 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5344 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5345 | .block_erasers = |
| 5346 | { |
| 5347 | { |
| 5348 | .eraseblocks = { {4 * 1024, 256} }, |
| 5349 | .block_erase = spi_block_erase_20, |
| 5350 | }, { |
| 5351 | .eraseblocks = { {64 * 1024, 16} }, |
| 5352 | .block_erase = spi_block_erase_52, |
| 5353 | }, { |
| 5354 | .eraseblocks = { {64 * 1024, 16} }, |
| 5355 | .block_erase = spi_block_erase_d8, |
| 5356 | }, { |
| 5357 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5358 | .block_erase = spi_block_erase_60, |
| 5359 | }, { |
| 5360 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5361 | .block_erase = spi_block_erase_c7, |
| 5362 | }, |
| 5363 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5364 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5365 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5366 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5367 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5368 | .voltage = {2700, 3600}, /* 2.35-3.6V for MX25V8005 */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5369 | }, |
| 5370 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5371 | { |
| 5372 | .vendor = "Macronix", |
| 5373 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5374 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5375 | .manufacture_id = MACRONIX_ID, |
| 5376 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5377 | .total_size = 2048, |
| 5378 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5379 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 5380 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5381 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5382 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5383 | .block_erasers = |
| 5384 | { |
| 5385 | { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5386 | .eraseblocks = { {64 * 1024, 32} }, |
| 5387 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5388 | }, { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5389 | .eraseblocks = { {64 * 1024, 32} }, |
| 5390 | .block_erase = spi_block_erase_d8, |
| 5391 | }, { |
| 5392 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5393 | .block_erase = spi_block_erase_60, |
| 5394 | }, { |
| 5395 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5396 | .block_erase = spi_block_erase_c7, |
| 5397 | }, |
| 5398 | }, |
| 5399 | .printlock = spi_prettyprint_status_register_default_bp2, /* bit6: error flag */ |
| 5400 | .unlock = spi_disable_blockprotect, |
| 5401 | .write = spi_chip_write_256, |
| 5402 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5403 | .voltage = {2700, 3600}, |
| 5404 | }, |
| 5405 | |
| 5406 | { |
| 5407 | .vendor = "Macronix", |
| 5408 | .name = "MX25L1605A/MX25L1606E", |
| 5409 | .bustype = BUS_SPI, |
| 5410 | .manufacture_id = MACRONIX_ID, |
| 5411 | .model_id = MACRONIX_MX25L1605, |
| 5412 | .total_size = 2048, |
| 5413 | .page_size = 256, |
| 5414 | /* OTP: 64B total; enter 0xB1, exit 0xC1 (MX25L1606E only) */ |
| 5415 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5416 | .tested = TEST_OK_PREW, |
| 5417 | .probe = probe_spi_rdid, |
| 5418 | .probe_timing = TIMING_ZERO, |
| 5419 | .block_erasers = |
| 5420 | { |
| 5421 | { |
| 5422 | .eraseblocks = { {4 * 1024, 512} }, |
| 5423 | .block_erase = spi_block_erase_20, |
| 5424 | }, { |
| 5425 | .eraseblocks = { {64 * 1024, 32} }, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5426 | .block_erase = spi_block_erase_52, |
| 5427 | }, { |
| 5428 | .eraseblocks = { {64 * 1024, 32} }, |
| 5429 | .block_erase = spi_block_erase_d8, |
| 5430 | }, { |
| 5431 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5432 | .block_erase = spi_block_erase_60, |
| 5433 | }, { |
| 5434 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5435 | .block_erase = spi_block_erase_c7, |
| 5436 | }, |
| 5437 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5438 | .printlock = spi_prettyprint_status_register_default_bp3, /* MX25L1605A bp2 only */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5439 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5440 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5441 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5442 | .voltage = {2700, 3600}, |
| 5443 | }, |
| 5444 | |
| 5445 | { |
| 5446 | .vendor = "Macronix", |
| 5447 | .name = "MX25L1605D/MX25L1608D", |
| 5448 | .bustype = BUS_SPI, |
| 5449 | .manufacture_id = MACRONIX_ID, |
| 5450 | .model_id = MACRONIX_MX25L1605, |
| 5451 | .total_size = 2048, |
| 5452 | .page_size = 256, |
| 5453 | .feature_bits = FEATURE_WRSR_WREN, |
| 5454 | .tested = TEST_OK_PREW, |
| 5455 | .probe = probe_spi_rdid, |
| 5456 | .probe_timing = TIMING_ZERO, |
| 5457 | .block_erasers = |
| 5458 | { |
| 5459 | { |
| 5460 | .eraseblocks = { {4 * 1024, 512} }, |
| 5461 | .block_erase = spi_block_erase_20, |
| 5462 | }, { |
| 5463 | .eraseblocks = { {64 * 1024, 32} }, |
| 5464 | .block_erase = spi_block_erase_d8, |
| 5465 | }, { |
| 5466 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5467 | .block_erase = spi_block_erase_60, |
| 5468 | }, { |
| 5469 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5470 | .block_erase = spi_block_erase_c7, |
| 5471 | }, |
| 5472 | }, |
| 5473 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6: Continously Program (CP) mode */ |
| 5474 | .unlock = spi_disable_blockprotect, |
| 5475 | .write = spi_chip_write_256, |
| 5476 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5477 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5478 | }, |
| 5479 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5480 | { |
| 5481 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5482 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5483 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5484 | .manufacture_id = MACRONIX_ID, |
| 5485 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5486 | .total_size = 2048, |
| 5487 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5488 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5489 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5490 | .tested = TEST_UNTESTED, |
| 5491 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5492 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5493 | .block_erasers = |
| 5494 | { |
| 5495 | { |
| 5496 | .eraseblocks = { {4 * 1024, 512} }, |
| 5497 | .block_erase = spi_block_erase_20, |
| 5498 | }, { |
| 5499 | .eraseblocks = { {64 * 1024, 32} }, |
| 5500 | .block_erase = spi_block_erase_d8, |
| 5501 | }, { |
| 5502 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5503 | .block_erase = spi_block_erase_60, |
| 5504 | }, { |
| 5505 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5506 | .block_erase = spi_block_erase_c7, |
| 5507 | } |
| 5508 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5509 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5510 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5511 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5512 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5513 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5514 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 5515 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5516 | { |
| 5517 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5518 | .name = "MX25L1635E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5519 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5520 | .manufacture_id = MACRONIX_ID, |
| 5521 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5522 | .total_size = 2048, |
| 5523 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5524 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5525 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5526 | .tested = TEST_UNTESTED, |
| 5527 | .probe = probe_spi_rdid, |
| 5528 | .probe_timing = TIMING_ZERO, |
| 5529 | .block_erasers = |
| 5530 | { |
| 5531 | { |
| 5532 | .eraseblocks = { {4 * 1024, 512} }, |
| 5533 | .block_erase = spi_block_erase_20, |
| 5534 | }, { |
| 5535 | .eraseblocks = { {64 * 1024, 32} }, |
| 5536 | .block_erase = spi_block_erase_d8, |
| 5537 | }, { |
| 5538 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5539 | .block_erase = spi_block_erase_60, |
| 5540 | }, { |
| 5541 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5542 | .block_erase = spi_block_erase_c7, |
| 5543 | } |
| 5544 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5545 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5546 | .unlock = spi_disable_blockprotect, |
| 5547 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5548 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5549 | .voltage = {2700, 3600}, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5550 | }, |
| 5551 | |
| 5552 | { |
| 5553 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5554 | .name = "MX25L3205(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5555 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5556 | .manufacture_id = MACRONIX_ID, |
| 5557 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5558 | .total_size = 4096, |
| 5559 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5560 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 5561 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5562 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5563 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5564 | .block_erasers = |
| 5565 | { |
| 5566 | { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5567 | .eraseblocks = { {64 * 1024, 64} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5568 | .block_erase = spi_block_erase_20, |
| 5569 | }, { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5570 | .eraseblocks = { {64 * 1024, 64} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5571 | .block_erase = spi_block_erase_d8, |
| 5572 | }, { |
| 5573 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5574 | .block_erase = spi_block_erase_60, |
| 5575 | }, { |
| 5576 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5577 | .block_erase = spi_block_erase_c7, |
| 5578 | }, |
| 5579 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5580 | .printlock = spi_prettyprint_status_register_default_bp2, /* bit6: error flag */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5581 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5582 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5583 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5584 | .voltage = {2700, 3600}, |
| 5585 | }, |
| 5586 | |
| 5587 | { |
| 5588 | .vendor = "Macronix", |
| 5589 | .name = "MX25L3205D/MX25L3208D", |
| 5590 | .bustype = BUS_SPI, |
| 5591 | .manufacture_id = MACRONIX_ID, |
| 5592 | .model_id = MACRONIX_MX25L3205, |
| 5593 | .total_size = 4096, |
| 5594 | .page_size = 256, |
| 5595 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5596 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5597 | .tested = TEST_OK_PREW, |
| 5598 | .probe = probe_spi_rdid, |
| 5599 | .probe_timing = TIMING_ZERO, |
| 5600 | .block_erasers = |
| 5601 | { |
| 5602 | { |
| 5603 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5604 | .block_erase = spi_block_erase_20, |
| 5605 | }, { |
| 5606 | .eraseblocks = { {64 * 1024, 64} }, |
| 5607 | .block_erase = spi_block_erase_d8, |
| 5608 | }, { |
| 5609 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5610 | .block_erase = spi_block_erase_60, |
| 5611 | }, { |
| 5612 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5613 | .block_erase = spi_block_erase_c7, |
| 5614 | }, |
| 5615 | }, |
| 5616 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6: CP mode */ |
| 5617 | .unlock = spi_disable_blockprotect, |
| 5618 | .write = spi_chip_write_256, |
| 5619 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */ |
| 5620 | .voltage = {2700, 3600}, |
| 5621 | }, |
| 5622 | |
| 5623 | { |
| 5624 | .vendor = "Macronix", |
| 5625 | .name = "MX25L3206E", |
| 5626 | .bustype = BUS_SPI, |
| 5627 | .manufacture_id = MACRONIX_ID, |
| 5628 | .model_id = MACRONIX_MX25L3205, |
| 5629 | .total_size = 4096, |
| 5630 | .page_size = 256, |
| 5631 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5632 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5633 | .tested = TEST_OK_PREW, |
| 5634 | .probe = probe_spi_rdid, |
| 5635 | .probe_timing = TIMING_ZERO, |
| 5636 | .block_erasers = |
| 5637 | { |
| 5638 | { |
| 5639 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5640 | .block_erase = spi_block_erase_20, |
| 5641 | }, { |
| 5642 | .eraseblocks = { {64 * 1024, 64} }, |
| 5643 | .block_erase = spi_block_erase_d8, |
| 5644 | }, { |
| 5645 | .eraseblocks = { {64 * 1024, 64} }, |
| 5646 | .block_erase = spi_block_erase_52, |
| 5647 | }, { |
| 5648 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5649 | .block_erase = spi_block_erase_60, |
| 5650 | }, { |
| 5651 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5652 | .block_erase = spi_block_erase_c7, |
| 5653 | }, |
| 5654 | }, |
| 5655 | .printlock = spi_prettyprint_status_register_default_bp3, |
| 5656 | .unlock = spi_disable_blockprotect, |
| 5657 | .write = spi_chip_write_256, |
| 5658 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5659 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5660 | }, |
| 5661 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5662 | { |
| 5663 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5664 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5665 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5666 | .manufacture_id = MACRONIX_ID, |
| 5667 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5668 | .total_size = 4096, |
| 5669 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5670 | /* OTP: 256B total; enter 0xB1, exit 0xC1 */ |
| 5671 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5672 | .tested = TEST_UNTESTED, |
| 5673 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5674 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5675 | .block_erasers = |
| 5676 | { |
| 5677 | { |
| 5678 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5679 | .block_erase = spi_block_erase_20, |
| 5680 | }, { |
| 5681 | .eraseblocks = { {64 * 1024, 64} }, |
| 5682 | .block_erase = spi_block_erase_d8, |
| 5683 | }, { |
| 5684 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5685 | .block_erase = spi_block_erase_60, |
| 5686 | }, { |
| 5687 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5688 | .block_erase = spi_block_erase_c7, |
| 5689 | } |
| 5690 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5691 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5692 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5693 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5694 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5695 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5696 | }, |
| 5697 | |
| 5698 | { |
| 5699 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5700 | .name = "MX25L6405(D)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5701 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5702 | .manufacture_id = MACRONIX_ID, |
| 5703 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5704 | .total_size = 8192, |
| 5705 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5706 | /* MX25L6405D has 64B of OTP; enter 0xB1, exit 0xC1 */ |
| 5707 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 5708 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5709 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5710 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5711 | .block_erasers = |
| 5712 | { |
| 5713 | { |
| 5714 | .eraseblocks = { {64 * 1024, 128} }, |
| 5715 | .block_erase = spi_block_erase_20, |
| 5716 | }, { |
| 5717 | .eraseblocks = { {64 * 1024, 128} }, |
| 5718 | .block_erase = spi_block_erase_d8, |
| 5719 | }, { |
| 5720 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5721 | .block_erase = spi_block_erase_60, |
| 5722 | }, { |
| 5723 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5724 | .block_erase = spi_block_erase_c7, |
| 5725 | } |
| 5726 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5727 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 has different meanings */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5728 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5729 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5730 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5731 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5732 | }, |
| 5733 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5734 | { |
| 5735 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5736 | .name = "MX25L6406E/MX25L6436E", |
| 5737 | .bustype = BUS_SPI, |
| 5738 | .manufacture_id = MACRONIX_ID, |
| 5739 | .model_id = MACRONIX_MX25L6405, |
| 5740 | .total_size = 8192, |
| 5741 | .page_size = 256, |
| 5742 | /* OTP: 06E 64B/36E 512B total; enter 0xB1, exit 0xC1 */ |
| 5743 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5744 | .tested = TEST_OK_PREW, |
| 5745 | .probe = probe_spi_rdid, |
| 5746 | .probe_timing = TIMING_ZERO, |
| 5747 | .block_erasers = |
| 5748 | { |
| 5749 | { |
| 5750 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5751 | .block_erase = spi_block_erase_20, |
| 5752 | }, { |
| 5753 | .eraseblocks = { {64 * 1024, 128} }, |
| 5754 | .block_erase = spi_block_erase_d8, |
| 5755 | }, { |
| 5756 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5757 | .block_erase = spi_block_erase_60, |
| 5758 | }, { |
| 5759 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5760 | .block_erase = spi_block_erase_c7, |
| 5761 | } |
| 5762 | }, |
| 5763 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 for 36E is quad enable */ |
| 5764 | .unlock = spi_disable_blockprotect, |
| 5765 | .write = spi_chip_write_256, |
| 5766 | .read = spi_chip_read, |
| 5767 | .voltage = {2700, 3600}, |
| 5768 | }, |
| 5769 | |
| 5770 | { |
| 5771 | .vendor = "Macronix", |
| 5772 | .name = "MX25L6445E", |
| 5773 | .bustype = BUS_SPI, |
| 5774 | .manufacture_id = MACRONIX_ID, |
| 5775 | .model_id = MACRONIX_MX25L6405, |
| 5776 | .total_size = 8192, |
| 5777 | .page_size = 256, |
| 5778 | /* supports SFDP */ |
| 5779 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5780 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5781 | .tested = TEST_OK_PREW, |
| 5782 | .probe = probe_spi_rdid, |
| 5783 | .probe_timing = TIMING_ZERO, |
| 5784 | .block_erasers = |
| 5785 | { |
| 5786 | { |
| 5787 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5788 | .block_erase = spi_block_erase_20, |
| 5789 | }, { |
| 5790 | .eraseblocks = { {32 * 1024, 256} }, |
| 5791 | .block_erase = spi_block_erase_52, |
| 5792 | }, { |
| 5793 | .eraseblocks = { {64 * 1024, 128} }, |
| 5794 | .block_erase = spi_block_erase_d8, |
| 5795 | }, { |
| 5796 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5797 | .block_erase = spi_block_erase_60, |
| 5798 | }, { |
| 5799 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5800 | .block_erase = spi_block_erase_c7, |
| 5801 | } |
| 5802 | }, |
| 5803 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5804 | .unlock = spi_disable_blockprotect, |
| 5805 | .write = spi_chip_write_256, |
| 5806 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5807 | .voltage = {2700, 3600}, |
| 5808 | }, |
| 5809 | |
| 5810 | { |
| 5811 | .vendor = "Macronix", |
| 5812 | .name = "MX25L12805(D)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5813 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5814 | .manufacture_id = MACRONIX_ID, |
| 5815 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5816 | .total_size = 16384, |
| 5817 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5818 | /* MX25L12805D has 64B of OTP; enter 0xB1, exit 0xC1 */ |
| 5819 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 5820 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5821 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5822 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5823 | .block_erasers = |
| 5824 | { |
| 5825 | { |
| 5826 | .eraseblocks = { {4 * 1024, 4096} }, |
| 5827 | .block_erase = spi_block_erase_20, |
| 5828 | }, { |
| 5829 | .eraseblocks = { {64 * 1024, 256} }, |
| 5830 | .block_erase = spi_block_erase_d8, |
| 5831 | }, { |
| 5832 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5833 | .block_erase = spi_block_erase_60, |
| 5834 | }, { |
| 5835 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5836 | .block_erase = spi_block_erase_c7, |
| 5837 | } |
| 5838 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5839 | .printlock = spi_prettyprint_status_register_default_bp3, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5840 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5841 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5842 | .read = spi_chip_read, /* MX25L12805D: Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5843 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5844 | }, |
| 5845 | |
| 5846 | { |
| 5847 | .vendor = "Macronix", |
Vincent Palatin | f800f55 | 2013-03-15 02:03:16 +0000 | [diff] [blame] | 5848 | .name = "MX25U1635E", |
| 5849 | .bustype = BUS_SPI, |
| 5850 | .manufacture_id = MACRONIX_ID, |
| 5851 | .model_id = MACRONIX_MX25U1635E, |
| 5852 | .total_size = 2048, |
| 5853 | .page_size = 256, |
| 5854 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5855 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 5856 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 5857 | .tested = TEST_UNTESTED, |
| 5858 | .probe = probe_spi_rdid, |
| 5859 | .probe_timing = TIMING_ZERO, |
| 5860 | .block_erasers = |
| 5861 | { |
| 5862 | { |
| 5863 | .eraseblocks = { {4 * 1024, 512} }, |
| 5864 | .block_erase = spi_block_erase_20, |
| 5865 | }, { |
| 5866 | .eraseblocks = { {32 * 1024, 64} }, |
| 5867 | .block_erase = spi_block_erase_52, |
| 5868 | }, { |
| 5869 | .eraseblocks = { {64 * 1024, 32} }, |
| 5870 | .block_erase = spi_block_erase_d8, |
| 5871 | }, { |
| 5872 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5873 | .block_erase = spi_block_erase_60, |
| 5874 | }, { |
| 5875 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5876 | .block_erase = spi_block_erase_c7, |
| 5877 | } |
| 5878 | }, |
| 5879 | /* TODO: security register */ |
| 5880 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5881 | .unlock = spi_disable_blockprotect, |
| 5882 | .write = spi_chip_write_256, |
| 5883 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5884 | .voltage = {1650, 2000}, |
| 5885 | }, |
| 5886 | |
| 5887 | { |
| 5888 | .vendor = "Macronix", |
| 5889 | .name = "MX25U3235E/F", |
| 5890 | .bustype = BUS_SPI, |
| 5891 | .manufacture_id = MACRONIX_ID, |
| 5892 | .model_id = MACRONIX_MX25U3235E, |
| 5893 | .total_size = 4096, |
| 5894 | .page_size = 256, |
| 5895 | /* F model supports SFDP */ |
| 5896 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5897 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 5898 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 5899 | .tested = TEST_OK_PREW, |
| 5900 | .probe = probe_spi_rdid, |
| 5901 | .probe_timing = TIMING_ZERO, |
| 5902 | .block_erasers = |
| 5903 | { |
| 5904 | { |
| 5905 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5906 | .block_erase = spi_block_erase_20, |
| 5907 | }, { |
| 5908 | .eraseblocks = { {32 * 1024, 128} }, |
| 5909 | .block_erase = spi_block_erase_52, |
| 5910 | }, { |
| 5911 | .eraseblocks = { {64 * 1024, 64} }, |
| 5912 | .block_erase = spi_block_erase_d8, |
| 5913 | }, { |
| 5914 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5915 | .block_erase = spi_block_erase_60, |
| 5916 | }, { |
| 5917 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5918 | .block_erase = spi_block_erase_c7, |
| 5919 | } |
| 5920 | }, |
| 5921 | /* TODO: security register */ |
| 5922 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5923 | .unlock = spi_disable_blockprotect, |
| 5924 | .write = spi_chip_write_256, |
| 5925 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5926 | .voltage = {1650, 2000}, |
| 5927 | }, |
| 5928 | |
| 5929 | { |
| 5930 | .vendor = "Macronix", |
| 5931 | .name = "MX25U6435E/F", |
| 5932 | .bustype = BUS_SPI, |
| 5933 | .manufacture_id = MACRONIX_ID, |
| 5934 | .model_id = MACRONIX_MX25U6435E, |
| 5935 | .total_size = 8192, |
| 5936 | .page_size = 256, |
| 5937 | /* F model supports SFDP */ |
| 5938 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5939 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 5940 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 5941 | .tested = TEST_UNTESTED, |
| 5942 | .probe = probe_spi_rdid, |
| 5943 | .probe_timing = TIMING_ZERO, |
| 5944 | .block_erasers = |
| 5945 | { |
| 5946 | { |
| 5947 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5948 | .block_erase = spi_block_erase_20, |
| 5949 | }, { |
| 5950 | .eraseblocks = { {32 * 1024, 256} }, |
| 5951 | .block_erase = spi_block_erase_52, |
| 5952 | }, { |
| 5953 | .eraseblocks = { {64 * 1024, 128} }, |
| 5954 | .block_erase = spi_block_erase_d8, |
| 5955 | }, { |
| 5956 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5957 | .block_erase = spi_block_erase_60, |
| 5958 | }, { |
| 5959 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5960 | .block_erase = spi_block_erase_c7, |
| 5961 | } |
| 5962 | }, |
| 5963 | /* TODO: security register */ |
| 5964 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5965 | .unlock = spi_disable_blockprotect, |
| 5966 | .write = spi_chip_write_256, |
| 5967 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5968 | .voltage = {1650, 2000}, |
| 5969 | }, |
| 5970 | |
| 5971 | { |
| 5972 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5973 | .name = "MX29F001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5974 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5975 | .manufacture_id = MACRONIX_ID, |
| 5976 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5977 | .total_size = 128, |
| 5978 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5979 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 5980 | .tested = TEST_UNTESTED, |
| 5981 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5982 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5983 | .block_erasers = |
| 5984 | { |
| 5985 | { |
| 5986 | .eraseblocks = { |
| 5987 | {8 * 1024, 1}, |
| 5988 | {4 * 1024, 2}, |
| 5989 | {8 * 1024, 2}, |
| 5990 | {32 * 1024, 1}, |
| 5991 | {64 * 1024, 1}, |
| 5992 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5993 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5994 | }, { |
| 5995 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5996 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5997 | } |
| 5998 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5999 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 6000 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6001 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 6002 | }, |
| 6003 | |
| 6004 | { |
| 6005 | .vendor = "Macronix", |
| 6006 | .name = "MX29F001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6007 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6008 | .manufacture_id = MACRONIX_ID, |
| 6009 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 6010 | .total_size = 128, |
| 6011 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6012 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 6013 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6014 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 6015 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6016 | .block_erasers = |
| 6017 | { |
| 6018 | { |
| 6019 | .eraseblocks = { |
| 6020 | {64 * 1024, 1}, |
| 6021 | {32 * 1024, 1}, |
| 6022 | {8 * 1024, 2}, |
| 6023 | {4 * 1024, 2}, |
| 6024 | {8 * 1024, 1}, |
| 6025 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6026 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6027 | }, { |
| 6028 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6029 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6030 | } |
| 6031 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 6032 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 6033 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6034 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 6035 | }, |
| 6036 | |
| 6037 | { |
| 6038 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6039 | .name = "MX29F002(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6040 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6041 | .manufacture_id = MACRONIX_ID, |
| 6042 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6043 | .total_size = 256, |
| 6044 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6045 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6046 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6047 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 6048 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6049 | .block_erasers = |
| 6050 | { |
| 6051 | { |
| 6052 | .eraseblocks = { |
| 6053 | {16 * 1024, 1}, |
| 6054 | {8 * 1024, 2}, |
| 6055 | {32 * 1024, 1}, |
| 6056 | {64 * 1024, 3}, |
| 6057 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6058 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6059 | }, { |
| 6060 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6061 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6062 | }, |
| 6063 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 6064 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6065 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6066 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6067 | }, |
| 6068 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6069 | { |
| 6070 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6071 | .name = "MX29F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6072 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6073 | .manufacture_id = MACRONIX_ID, |
| 6074 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6075 | .total_size = 256, |
| 6076 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6077 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 6078 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6079 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 6080 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6081 | .block_erasers = |
| 6082 | { |
| 6083 | { |
| 6084 | .eraseblocks = { |
| 6085 | {64 * 1024, 3}, |
| 6086 | {32 * 1024, 1}, |
| 6087 | {8 * 1024, 2}, |
| 6088 | {16 * 1024, 1}, |
| 6089 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6090 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6091 | }, { |
| 6092 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6093 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 6094 | }, |
| 6095 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 6096 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6097 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6098 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6099 | }, |
| 6100 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6101 | { |
| 6102 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 6103 | .name = "MX29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6104 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 6105 | .manufacture_id = MACRONIX_ID, |
| 6106 | .model_id = MACRONIX_MX29F040, |
| 6107 | .total_size = 512, |
| 6108 | .page_size = 64 * 1024, |
| 6109 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6110 | .tested = TEST_UNTESTED, |
| 6111 | .probe = probe_jedec, |
| 6112 | .probe_timing = TIMING_ZERO, |
| 6113 | .block_erasers = |
| 6114 | { |
| 6115 | { |
| 6116 | .eraseblocks = { {64 * 1024, 8} }, |
| 6117 | .block_erase = erase_sector_jedec, |
| 6118 | }, { |
| 6119 | .eraseblocks = { {512 * 1024, 1} }, |
| 6120 | .block_erase = erase_chip_block_jedec, |
| 6121 | }, |
| 6122 | }, |
| 6123 | .write = write_jedec_1, |
| 6124 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6125 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 6126 | }, |
| 6127 | |
| 6128 | { |
| 6129 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 6130 | .name = "MX29LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6131 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6132 | .manufacture_id = MACRONIX_ID, |
| 6133 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6134 | .total_size = 512, |
| 6135 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6136 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6137 | .tested = TEST_UNTESTED, |
| 6138 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 6139 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6140 | .block_erasers = |
| 6141 | { |
| 6142 | { |
| 6143 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6144 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6145 | }, { |
| 6146 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6147 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6148 | }, |
| 6149 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 6150 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6151 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6152 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 6153 | }, |
| 6154 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6155 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6156 | .vendor = "MoselVitelic", |
| 6157 | .name = "V29C51000B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6158 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6159 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6160 | .model_id = MVC_V29C51000B, |
| 6161 | .total_size = 64, |
| 6162 | .page_size = 512, |
| 6163 | .feature_bits = FEATURE_EITHER_RESET, |
| 6164 | .tested = TEST_UNTESTED, |
| 6165 | .probe = probe_jedec, |
| 6166 | .probe_timing = TIMING_ZERO, |
| 6167 | .block_erasers = |
| 6168 | { |
| 6169 | { |
| 6170 | .eraseblocks = { {512, 128} }, |
| 6171 | .block_erase = erase_sector_jedec, |
| 6172 | }, { |
| 6173 | .eraseblocks = { {64 * 1024, 1} }, |
| 6174 | .block_erase = erase_chip_block_jedec, |
| 6175 | }, |
| 6176 | }, |
| 6177 | .write = write_jedec_1, |
| 6178 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6179 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6180 | }, |
| 6181 | |
| 6182 | { |
| 6183 | .vendor = "MoselVitelic", |
| 6184 | .name = "V29C51000T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6185 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6186 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6187 | .model_id = MVC_V29C51000T, |
| 6188 | .total_size = 64, |
| 6189 | .page_size = 512, |
| 6190 | .feature_bits = FEATURE_EITHER_RESET, |
| 6191 | .tested = TEST_UNTESTED, |
| 6192 | .probe = probe_jedec, |
| 6193 | .probe_timing = TIMING_ZERO, |
| 6194 | .block_erasers = |
| 6195 | { |
| 6196 | { |
| 6197 | .eraseblocks = { {512, 128} }, |
| 6198 | .block_erase = erase_sector_jedec, |
| 6199 | }, { |
| 6200 | .eraseblocks = { {64 * 1024, 1} }, |
| 6201 | .block_erase = erase_chip_block_jedec, |
| 6202 | }, |
| 6203 | }, |
| 6204 | .write = write_jedec_1, |
| 6205 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6206 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6207 | }, |
| 6208 | |
| 6209 | { |
| 6210 | .vendor = "MoselVitelic", |
| 6211 | .name = "V29C51400B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6212 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6213 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6214 | .model_id = MVC_V29C51400B, |
| 6215 | .total_size = 512, |
| 6216 | .page_size = 1024, |
| 6217 | .feature_bits = FEATURE_EITHER_RESET, |
| 6218 | .tested = TEST_UNTESTED, |
| 6219 | .probe = probe_jedec, |
| 6220 | .probe_timing = TIMING_ZERO, |
| 6221 | .block_erasers = |
| 6222 | { |
| 6223 | { |
| 6224 | .eraseblocks = { {1024, 512} }, |
| 6225 | .block_erase = erase_sector_jedec, |
| 6226 | }, { |
| 6227 | .eraseblocks = { {512 * 1024, 1} }, |
| 6228 | .block_erase = erase_chip_block_jedec, |
| 6229 | }, |
| 6230 | }, |
| 6231 | .write = write_jedec_1, |
| 6232 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6233 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6234 | }, |
| 6235 | |
| 6236 | { |
| 6237 | .vendor = "MoselVitelic", |
| 6238 | .name = "V29C51400T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6239 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6240 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6241 | .model_id = MVC_V29C51400T, |
| 6242 | .total_size = 512, |
| 6243 | .page_size = 1024, |
| 6244 | .feature_bits = FEATURE_EITHER_RESET, |
| 6245 | .tested = TEST_UNTESTED, |
| 6246 | .probe = probe_jedec, |
| 6247 | .probe_timing = TIMING_ZERO, |
| 6248 | .block_erasers = |
| 6249 | { |
| 6250 | { |
| 6251 | .eraseblocks = { {1024, 512} }, |
| 6252 | .block_erase = erase_sector_jedec, |
| 6253 | }, { |
| 6254 | .eraseblocks = { {512 * 1024, 1} }, |
| 6255 | .block_erase = erase_chip_block_jedec, |
| 6256 | }, |
| 6257 | }, |
| 6258 | .write = write_jedec_1, |
| 6259 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6260 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6261 | }, |
| 6262 | |
| 6263 | { |
| 6264 | .vendor = "MoselVitelic", |
| 6265 | .name = "V29LC51000", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6266 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6267 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6268 | .model_id = MVC_V29LC51000, |
| 6269 | .total_size = 64, |
| 6270 | .page_size = 512, |
| 6271 | .feature_bits = FEATURE_EITHER_RESET, |
| 6272 | .tested = TEST_UNTESTED, |
| 6273 | .probe = probe_jedec, |
| 6274 | .probe_timing = TIMING_ZERO, |
| 6275 | .block_erasers = |
| 6276 | { |
| 6277 | { |
| 6278 | .eraseblocks = { {512, 128} }, |
| 6279 | .block_erase = erase_sector_jedec, |
| 6280 | }, { |
| 6281 | .eraseblocks = { {64 * 1024, 1} }, |
| 6282 | .block_erase = erase_chip_block_jedec, |
| 6283 | }, |
| 6284 | }, |
| 6285 | .write = write_jedec_1, |
| 6286 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6287 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6288 | }, |
| 6289 | |
| 6290 | { |
| 6291 | .vendor = "MoselVitelic", |
| 6292 | .name = "V29LC51001", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6293 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6294 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6295 | .model_id = MVC_V29LC51001, |
| 6296 | .total_size = 128, |
| 6297 | .page_size = 512, |
| 6298 | .feature_bits = FEATURE_EITHER_RESET, |
| 6299 | .tested = TEST_UNTESTED, |
| 6300 | .probe = probe_jedec, |
| 6301 | .probe_timing = TIMING_ZERO, |
| 6302 | .block_erasers = |
| 6303 | { |
| 6304 | { |
| 6305 | .eraseblocks = { {512, 256} }, |
| 6306 | .block_erase = erase_sector_jedec, |
| 6307 | }, { |
| 6308 | .eraseblocks = { {128 * 1024, 1} }, |
| 6309 | .block_erase = erase_chip_block_jedec, |
| 6310 | }, |
| 6311 | }, |
| 6312 | .write = write_jedec_1, |
| 6313 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6314 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6315 | }, |
| 6316 | |
| 6317 | { |
| 6318 | .vendor = "MoselVitelic", |
| 6319 | .name = "V29LC51002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6320 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6321 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6322 | .model_id = MVC_V29LC51002, |
| 6323 | .total_size = 256, |
| 6324 | .page_size = 512, |
| 6325 | .feature_bits = FEATURE_EITHER_RESET, |
| 6326 | .tested = TEST_UNTESTED, |
| 6327 | .probe = probe_jedec, |
| 6328 | .probe_timing = TIMING_ZERO, |
| 6329 | .block_erasers = |
| 6330 | { |
| 6331 | { |
| 6332 | .eraseblocks = { {512, 512} }, |
| 6333 | .block_erase = erase_sector_jedec, |
| 6334 | }, { |
| 6335 | .eraseblocks = { {256 * 1024, 1} }, |
| 6336 | .block_erase = erase_chip_block_jedec, |
| 6337 | }, |
| 6338 | }, |
| 6339 | .write = write_jedec_1, |
| 6340 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6341 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6342 | }, |
| 6343 | |
| 6344 | { |
Stefan Tauner | b6b00e9 | 2013-06-28 21:28:43 +0000 | [diff] [blame] | 6345 | .vendor = "Nantronics", |
| 6346 | .name = "N25S10", |
| 6347 | .bustype = BUS_SPI, |
| 6348 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 6349 | .model_id = NANTRONICS_N25S10, |
| 6350 | .total_size = 128, |
| 6351 | .page_size = 256, |
| 6352 | .feature_bits = FEATURE_WRSR_WREN, |
| 6353 | .tested = TEST_UNTESTED, |
| 6354 | .probe = probe_spi_rdid, |
| 6355 | .probe_timing = TIMING_ZERO, |
| 6356 | .block_erasers = |
| 6357 | { |
| 6358 | { |
| 6359 | .eraseblocks = { {4 * 1024, 32} }, |
| 6360 | .block_erase = spi_block_erase_20, |
| 6361 | }, { |
| 6362 | .eraseblocks = { {4 * 1024, 32} }, |
| 6363 | .block_erase = spi_block_erase_d7, |
| 6364 | }, { |
| 6365 | .eraseblocks = { {32 * 1024, 4} }, |
| 6366 | .block_erase = spi_block_erase_52, |
| 6367 | }, { |
| 6368 | .eraseblocks = { {64 * 1024, 2} }, |
| 6369 | .block_erase = spi_block_erase_d8, |
| 6370 | }, { |
| 6371 | .eraseblocks = { {128 * 1024, 1} }, |
| 6372 | .block_erase = spi_block_erase_60, |
| 6373 | }, { |
| 6374 | .eraseblocks = { {128 * 1024, 1} }, |
| 6375 | .block_erase = spi_block_erase_c7, |
| 6376 | } |
| 6377 | }, |
| 6378 | .printlock = spi_prettyprint_status_register_default_bp3, |
| 6379 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 6380 | .write = spi_chip_write_256, |
| 6381 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 6382 | .voltage = {2700, 3600}, |
| 6383 | }, |
| 6384 | |
| 6385 | { |
| 6386 | .vendor = "Nantronics", |
| 6387 | .name = "N25S20", |
| 6388 | .bustype = BUS_SPI, |
| 6389 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 6390 | .model_id = NANTRONICS_N25S20, |
| 6391 | .total_size = 256, |
| 6392 | .page_size = 256, |
| 6393 | .feature_bits = FEATURE_WRSR_WREN, |
| 6394 | .tested = TEST_UNTESTED, |
| 6395 | .probe = probe_spi_rdid, |
| 6396 | .probe_timing = TIMING_ZERO, |
| 6397 | .block_erasers = |
| 6398 | { |
| 6399 | { |
| 6400 | .eraseblocks = { {4 * 1024, 64} }, |
| 6401 | .block_erase = spi_block_erase_20, |
| 6402 | }, { |
| 6403 | .eraseblocks = { {4 * 1024, 64} }, |
| 6404 | .block_erase = spi_block_erase_d7, |
| 6405 | }, { |
| 6406 | .eraseblocks = { {32 * 1024, 8} }, |
| 6407 | .block_erase = spi_block_erase_52, |
| 6408 | }, { |
| 6409 | .eraseblocks = { {64 * 1024, 4} }, |
| 6410 | .block_erase = spi_block_erase_d8, |
| 6411 | }, { |
| 6412 | .eraseblocks = { {256 * 1024, 1} }, |
| 6413 | .block_erase = spi_block_erase_60, |
| 6414 | }, { |
| 6415 | .eraseblocks = { {256 * 1024, 1} }, |
| 6416 | .block_erase = spi_block_erase_c7, |
| 6417 | } |
| 6418 | }, |
| 6419 | .printlock = spi_prettyprint_status_register_default_bp3, |
| 6420 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 6421 | .write = spi_chip_write_256, |
| 6422 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 6423 | .voltage = {2700, 3600}, |
| 6424 | }, |
| 6425 | |
| 6426 | { |
| 6427 | .vendor = "Nantronics", |
| 6428 | .name = "N25S40", |
| 6429 | .bustype = BUS_SPI, |
| 6430 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 6431 | .model_id = NANTRONICS_N25S40, |
| 6432 | .total_size = 512, |
| 6433 | .page_size = 256, |
| 6434 | .feature_bits = FEATURE_WRSR_WREN, |
| 6435 | .tested = TEST_UNTESTED, |
| 6436 | .probe = probe_spi_rdid, |
| 6437 | .probe_timing = TIMING_ZERO, |
| 6438 | .block_erasers = |
| 6439 | { |
| 6440 | { |
| 6441 | .eraseblocks = { {4 * 1024, 128} }, |
| 6442 | .block_erase = spi_block_erase_20, |
| 6443 | }, { |
| 6444 | .eraseblocks = { {4 * 1024, 128} }, |
| 6445 | .block_erase = spi_block_erase_d7, |
| 6446 | }, { |
| 6447 | .eraseblocks = { {32 * 1024, 16} }, |
| 6448 | .block_erase = spi_block_erase_52, |
| 6449 | }, { |
| 6450 | .eraseblocks = { {64 * 1024, 8} }, |
| 6451 | .block_erase = spi_block_erase_d8, |
| 6452 | }, { |
| 6453 | .eraseblocks = { {512 * 1024, 1} }, |
| 6454 | .block_erase = spi_block_erase_60, |
| 6455 | }, { |
| 6456 | .eraseblocks = { {512 * 1024, 1} }, |
| 6457 | .block_erase = spi_block_erase_c7, |
| 6458 | } |
| 6459 | }, |
| 6460 | .printlock = spi_prettyprint_status_register_default_bp3, |
| 6461 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 6462 | .write = spi_chip_write_256, |
| 6463 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 6464 | .voltage = {2700, 3600}, |
| 6465 | }, |
| 6466 | |
| 6467 | { |
| 6468 | .vendor = "Nantronics", |
| 6469 | .name = "N25S80", |
| 6470 | .bustype = BUS_SPI, |
| 6471 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 6472 | .model_id = NANTRONICS_N25S80, |
| 6473 | .total_size = 1024, |
| 6474 | .page_size = 256, |
| 6475 | .feature_bits = FEATURE_WRSR_WREN, |
| 6476 | .tested = TEST_UNTESTED, |
| 6477 | .probe = probe_spi_rdid, |
| 6478 | .probe_timing = TIMING_ZERO, |
| 6479 | .block_erasers = |
| 6480 | { |
| 6481 | { |
| 6482 | .eraseblocks = { {4 * 1024, 256} }, |
| 6483 | .block_erase = spi_block_erase_20, |
| 6484 | }, { |
| 6485 | .eraseblocks = { {32 * 1024, 32} }, |
| 6486 | .block_erase = spi_block_erase_52, |
| 6487 | }, { |
| 6488 | .eraseblocks = { {64 * 1024, 16} }, |
| 6489 | .block_erase = spi_block_erase_d8, |
| 6490 | }, { |
| 6491 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6492 | .block_erase = spi_block_erase_60, |
| 6493 | }, { |
| 6494 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6495 | .block_erase = spi_block_erase_c7, |
| 6496 | } |
| 6497 | }, |
| 6498 | .printlock = spi_prettyprint_status_register_default_bp3, |
| 6499 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 6500 | .write = spi_chip_write_256, |
| 6501 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 6502 | .voltage = {2700, 3600}, |
| 6503 | }, |
| 6504 | |
| 6505 | { |
| 6506 | .vendor = "Nantronics", |
| 6507 | .name = "N25S16", |
| 6508 | .bustype = BUS_SPI, |
| 6509 | .manufacture_id = NANTRONICS_ID_NOPREFIX, |
| 6510 | .model_id = NANTRONICS_N25S16, |
| 6511 | .total_size = 2048, |
| 6512 | .page_size = 256, |
| 6513 | .feature_bits = FEATURE_WRSR_WREN, |
| 6514 | .tested = TEST_UNTESTED, |
| 6515 | .probe = probe_spi_rdid, |
| 6516 | .probe_timing = TIMING_ZERO, |
| 6517 | .block_erasers = |
| 6518 | { |
| 6519 | { |
| 6520 | .eraseblocks = { {4 * 1024, 512} }, |
| 6521 | .block_erase = spi_block_erase_20, |
| 6522 | }, { |
| 6523 | .eraseblocks = { {64 * 1024, 32} }, |
| 6524 | .block_erase = spi_block_erase_d8, |
| 6525 | }, { |
| 6526 | .eraseblocks = { {2048 * 1024, 1} }, |
| 6527 | .block_erase = spi_block_erase_60, |
| 6528 | }, { |
| 6529 | .eraseblocks = { {2048 * 1024, 1} }, |
| 6530 | .block_erase = spi_block_erase_c7, |
| 6531 | } |
| 6532 | }, |
| 6533 | .printlock = spi_prettyprint_status_register_default_bp3, |
| 6534 | .unlock = spi_disable_blockprotect_bp3_srwd, |
| 6535 | .write = spi_chip_write_256, |
| 6536 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ |
| 6537 | .voltage = {2700, 3600}, |
| 6538 | }, |
| 6539 | |
| 6540 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6541 | .vendor = "Numonyx", |
| 6542 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6543 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6544 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6545 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6546 | .total_size = 128, |
| 6547 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6548 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6549 | .tested = TEST_UNTESTED, |
| 6550 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6551 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6552 | .block_erasers = |
| 6553 | { |
| 6554 | { |
| 6555 | .eraseblocks = { {4 * 1024, 32} }, |
| 6556 | .block_erase = spi_block_erase_20, |
| 6557 | }, { |
| 6558 | .eraseblocks = { {64 * 1024, 2} }, |
| 6559 | .block_erase = spi_block_erase_d8, |
| 6560 | }, { |
| 6561 | .eraseblocks = { {128 * 1024, 1} }, |
| 6562 | .block_erase = spi_block_erase_c7, |
| 6563 | } |
| 6564 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6565 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6566 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6567 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6568 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6569 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6570 | }, |
| 6571 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6572 | { |
| 6573 | .vendor = "Numonyx", |
| 6574 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6575 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6576 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6577 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6578 | .total_size = 256, |
| 6579 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6580 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6581 | .tested = TEST_UNTESTED, |
| 6582 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6583 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6584 | .block_erasers = |
| 6585 | { |
| 6586 | { |
| 6587 | .eraseblocks = { {4 * 1024, 64} }, |
| 6588 | .block_erase = spi_block_erase_20, |
| 6589 | }, { |
| 6590 | .eraseblocks = { {64 * 1024, 4} }, |
| 6591 | .block_erase = spi_block_erase_d8, |
| 6592 | }, { |
| 6593 | .eraseblocks = { {256 * 1024, 1} }, |
| 6594 | .block_erase = spi_block_erase_c7, |
| 6595 | } |
| 6596 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6597 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6598 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6599 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6600 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6601 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6602 | }, |
| 6603 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6604 | { |
| 6605 | .vendor = "Numonyx", |
| 6606 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6607 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6608 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6609 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6610 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6611 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6612 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6613 | .tested = TEST_UNTESTED, |
| 6614 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6615 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6616 | .block_erasers = |
| 6617 | { |
| 6618 | { |
| 6619 | .eraseblocks = { {4 * 1024, 128} }, |
| 6620 | .block_erase = spi_block_erase_20, |
| 6621 | }, { |
| 6622 | .eraseblocks = { {64 * 1024, 8} }, |
| 6623 | .block_erase = spi_block_erase_d8, |
| 6624 | }, { |
| 6625 | .eraseblocks = { {512 * 1024, 1} }, |
| 6626 | .block_erase = spi_block_erase_c7, |
| 6627 | } |
| 6628 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6629 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6630 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6631 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6632 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6633 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6634 | }, |
| 6635 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6636 | { |
| 6637 | .vendor = "Numonyx", |
| 6638 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6639 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6640 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6641 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6642 | .total_size = 1024, |
| 6643 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6644 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 6645 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6646 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6647 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6648 | .block_erasers = |
| 6649 | { |
| 6650 | { |
| 6651 | .eraseblocks = { {4 * 1024, 256} }, |
| 6652 | .block_erase = spi_block_erase_20, |
| 6653 | }, { |
| 6654 | .eraseblocks = { {64 * 1024, 16} }, |
| 6655 | .block_erase = spi_block_erase_d8, |
| 6656 | }, { |
| 6657 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6658 | .block_erase = spi_block_erase_c7, |
| 6659 | } |
| 6660 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6661 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6662 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6663 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6664 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6665 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6666 | }, |
| 6667 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6668 | { |
| 6669 | .vendor = "Numonyx", |
| 6670 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6671 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6672 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6673 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6674 | .total_size = 2048, |
| 6675 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6676 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6677 | .tested = TEST_UNTESTED, |
| 6678 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6679 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6680 | .block_erasers = |
| 6681 | { |
| 6682 | { |
| 6683 | .eraseblocks = { {4 * 1024, 512} }, |
| 6684 | .block_erase = spi_block_erase_20, |
| 6685 | }, { |
| 6686 | .eraseblocks = { {64 * 1024, 32} }, |
| 6687 | .block_erase = spi_block_erase_d8, |
| 6688 | }, { |
| 6689 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6690 | .block_erase = spi_block_erase_c7, |
| 6691 | } |
| 6692 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6693 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6694 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6695 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6696 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6697 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6698 | }, |
| 6699 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6700 | { |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6701 | .vendor = "Numonyx", |
Stefan Tauner | d956f82 | 2012-10-26 16:49:15 +0000 | [diff] [blame] | 6702 | .name = "N25Q016", |
| 6703 | .bustype = BUS_SPI, |
| 6704 | .manufacture_id = ST_ID, |
| 6705 | .model_id = ST_N25Q016__1E, |
| 6706 | .total_size = 2048, |
| 6707 | .page_size = 256, |
| 6708 | /* supports SFDP */ |
| 6709 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6710 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6711 | .tested = TEST_UNTESTED, |
| 6712 | .probe = probe_spi_rdid, |
| 6713 | .probe_timing = TIMING_ZERO, |
| 6714 | .block_erasers = |
| 6715 | { |
| 6716 | { |
| 6717 | .eraseblocks = { {4 * 1024, 512} }, |
| 6718 | .block_erase = spi_block_erase_20, |
| 6719 | }, { |
| 6720 | .eraseblocks = { {32 * 1024, 64} }, |
| 6721 | .block_erase = spi_block_erase_52, |
| 6722 | }, { |
| 6723 | .eraseblocks = { {64 * 1024, 32} }, |
| 6724 | .block_erase = spi_block_erase_d8, |
| 6725 | }, { |
| 6726 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6727 | .block_erase = spi_block_erase_c7, |
| 6728 | } |
| 6729 | }, |
| 6730 | .unlock = spi_disable_blockprotect, |
| 6731 | .write = spi_chip_write_256, |
| 6732 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 6733 | .voltage = {1700, 2000}, |
| 6734 | }, |
| 6735 | |
| 6736 | { |
| 6737 | .vendor = "Numonyx", |
| 6738 | .name = "N25Q032..1E", |
| 6739 | .bustype = BUS_SPI, |
| 6740 | .manufacture_id = ST_ID, |
| 6741 | .model_id = ST_N25Q032__1E, |
| 6742 | .total_size = 4096, |
| 6743 | .page_size = 256, |
| 6744 | /* supports SFDP */ |
| 6745 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6746 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6747 | .tested = TEST_UNTESTED, |
| 6748 | .probe = probe_spi_rdid, |
| 6749 | .probe_timing = TIMING_ZERO, |
| 6750 | .block_erasers = |
| 6751 | { |
| 6752 | { |
| 6753 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6754 | .block_erase = spi_block_erase_20, |
| 6755 | }, { |
| 6756 | .eraseblocks = { {64 * 1024, 64} }, |
| 6757 | .block_erase = spi_block_erase_d8, |
| 6758 | }, { |
| 6759 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6760 | .block_erase = spi_block_erase_c7, |
| 6761 | } |
| 6762 | }, |
| 6763 | .unlock = spi_disable_blockprotect, |
| 6764 | .write = spi_chip_write_256, |
| 6765 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 6766 | .voltage = {1700, 2000}, |
| 6767 | }, |
| 6768 | |
| 6769 | { |
| 6770 | .vendor = "Numonyx", |
| 6771 | .name = "N25Q032..3E", |
| 6772 | .bustype = BUS_SPI, |
| 6773 | .manufacture_id = ST_ID, |
| 6774 | .model_id = ST_N25Q032__3E, |
| 6775 | .total_size = 4096, |
| 6776 | .page_size = 256, |
| 6777 | /* supports SFDP */ |
| 6778 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6779 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6780 | .tested = TEST_UNTESTED, |
| 6781 | .probe = probe_spi_rdid, |
| 6782 | .probe_timing = TIMING_ZERO, |
| 6783 | .block_erasers = |
| 6784 | { |
| 6785 | { |
| 6786 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6787 | .block_erase = spi_block_erase_20, |
| 6788 | }, { |
| 6789 | .eraseblocks = { {64 * 1024, 64} }, |
| 6790 | .block_erase = spi_block_erase_d8, |
| 6791 | }, { |
| 6792 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6793 | .block_erase = spi_block_erase_c7, |
| 6794 | } |
| 6795 | }, |
| 6796 | .unlock = spi_disable_blockprotect, |
| 6797 | .write = spi_chip_write_256, |
| 6798 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 6799 | .voltage = {2700, 3600}, |
| 6800 | }, |
| 6801 | |
| 6802 | { |
| 6803 | .vendor = "Numonyx", |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6804 | .name = "N25Q064..1E", /* ..1E = 1.8V, uniform 64KB/4KB blocks/sectors */ |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6805 | .bustype = BUS_SPI, |
| 6806 | .manufacture_id = ST_ID, |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6807 | .model_id = ST_N25Q064__1E, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6808 | .total_size = 8192, |
| 6809 | .page_size = 256, |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6810 | /* supports SFDP */ |
| 6811 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6812 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6813 | .tested = TEST_UNTESTED, |
| 6814 | .probe = probe_spi_rdid, |
| 6815 | .probe_timing = TIMING_ZERO, |
| 6816 | .block_erasers = |
| 6817 | { |
| 6818 | { |
| 6819 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 6820 | .block_erase = spi_block_erase_20, |
| 6821 | }, { |
| 6822 | .eraseblocks = { {64 * 1024, 128} }, |
| 6823 | .block_erase = spi_block_erase_d8, |
| 6824 | }, { |
| 6825 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6826 | .block_erase = spi_block_erase_c7, |
| 6827 | } |
| 6828 | }, |
| 6829 | .unlock = spi_disable_blockprotect, |
| 6830 | .write = spi_chip_write_256, |
Stefan Tauner | d956f82 | 2012-10-26 16:49:15 +0000 | [diff] [blame] | 6831 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6832 | .voltage = {1700, 2000}, |
| 6833 | }, |
| 6834 | |
| 6835 | { |
| 6836 | .vendor = "Numonyx", |
| 6837 | .name = "N25Q064..3E", /* ..3E = 3V, uniform 64KB/4KB blocks/sectors */ |
| 6838 | .bustype = BUS_SPI, |
| 6839 | .manufacture_id = ST_ID, |
| 6840 | .model_id = ST_N25Q064__3E, |
| 6841 | .total_size = 8192, |
| 6842 | .page_size = 256, |
| 6843 | /* supports SFDP */ |
| 6844 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6845 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6846 | .tested = TEST_OK_PREW, |
| 6847 | .probe = probe_spi_rdid, |
| 6848 | .probe_timing = TIMING_ZERO, |
| 6849 | .block_erasers = |
| 6850 | { |
| 6851 | { |
| 6852 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 6853 | .block_erase = spi_block_erase_20, |
| 6854 | }, { |
| 6855 | .eraseblocks = { {64 * 1024, 128} }, |
| 6856 | .block_erase = spi_block_erase_d8, |
| 6857 | }, { |
| 6858 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6859 | .block_erase = spi_block_erase_c7, |
| 6860 | } |
| 6861 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6862 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6863 | .unlock = spi_disable_blockprotect, |
| 6864 | .write = spi_chip_write_256, |
Stefan Tauner | d956f82 | 2012-10-26 16:49:15 +0000 | [diff] [blame] | 6865 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6866 | .voltage = {2700, 3600}, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6867 | }, |
| 6868 | |
| 6869 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6870 | .vendor = "PMC", |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame] | 6871 | .name = "Pm25LD256C", |
| 6872 | .bustype = BUS_SPI, |
| 6873 | .manufacture_id = PMC_ID, |
| 6874 | .model_id = PMC_PM25LD256C, |
| 6875 | .total_size = 32, |
| 6876 | .page_size = 256, |
| 6877 | .feature_bits = FEATURE_WRSR_WREN, |
| 6878 | .tested = TEST_UNTESTED, |
| 6879 | .probe = probe_spi_rdid, |
| 6880 | .probe_timing = TIMING_ZERO, |
| 6881 | .block_erasers = |
| 6882 | { |
| 6883 | { |
| 6884 | .eraseblocks = { {4 * 1024, 8} }, |
| 6885 | .block_erase = spi_block_erase_20, |
| 6886 | }, { |
| 6887 | .eraseblocks = { {4 * 1024, 8} }, |
| 6888 | .block_erase = spi_block_erase_d7, |
| 6889 | }, { |
| 6890 | .eraseblocks = { {32 * 1024, 1} }, |
| 6891 | .block_erase = spi_block_erase_d8, |
| 6892 | }, { |
| 6893 | .eraseblocks = { {32 * 1024, 1} }, |
| 6894 | .block_erase = spi_block_erase_60, |
| 6895 | }, { |
| 6896 | .eraseblocks = { {32 * 1024, 1} }, |
| 6897 | .block_erase = spi_block_erase_c7, |
| 6898 | } |
| 6899 | }, |
| 6900 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6901 | .unlock = spi_disable_blockprotect, |
| 6902 | .write = spi_chip_write_256, |
| 6903 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6904 | .voltage = {2700, 3600}, |
| 6905 | }, |
| 6906 | { |
| 6907 | .vendor = "PMC", |
| 6908 | .name = "Pm25LD512(C)", |
| 6909 | .bustype = BUS_SPI, |
| 6910 | .manufacture_id = PMC_ID, |
| 6911 | .model_id = PMC_PM25LD512, |
| 6912 | .total_size = 64, |
| 6913 | .page_size = 256, |
| 6914 | .feature_bits = FEATURE_WRSR_WREN, |
| 6915 | .tested = TEST_OK_PREW, |
| 6916 | .probe = probe_spi_rdid, |
| 6917 | .probe_timing = TIMING_ZERO, |
| 6918 | .block_erasers = |
| 6919 | { |
| 6920 | { |
| 6921 | .eraseblocks = { {4 * 1024, 16} }, |
| 6922 | .block_erase = spi_block_erase_20, |
| 6923 | }, { |
| 6924 | .eraseblocks = { {4 * 1024, 16} }, |
| 6925 | .block_erase = spi_block_erase_d7, |
| 6926 | }, { |
| 6927 | .eraseblocks = { {32 * 1024, 2} }, |
| 6928 | .block_erase = spi_block_erase_d8, |
| 6929 | }, { |
| 6930 | .eraseblocks = { {64 * 1024, 1} }, |
| 6931 | .block_erase = spi_block_erase_60, |
| 6932 | }, { |
| 6933 | .eraseblocks = { {64 * 1024, 1} }, |
| 6934 | .block_erase = spi_block_erase_c7, |
| 6935 | } |
| 6936 | }, |
| 6937 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6938 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 6939 | .write = spi_chip_write_256, |
| 6940 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6941 | .voltage = {2300, 3600}, |
| 6942 | }, |
| 6943 | |
| 6944 | { |
| 6945 | .vendor = "PMC", |
| 6946 | .name = "Pm25LD010(C)", |
| 6947 | .bustype = BUS_SPI, |
| 6948 | .manufacture_id = PMC_ID, |
| 6949 | .model_id = PMC_PM25LD010, |
| 6950 | .total_size = 128, |
| 6951 | .page_size = 256, |
| 6952 | .feature_bits = FEATURE_WRSR_WREN, |
| 6953 | .tested = TEST_UNTESTED, |
| 6954 | .probe = probe_spi_rdid, |
| 6955 | .probe_timing = TIMING_ZERO, |
| 6956 | .block_erasers = |
| 6957 | { |
| 6958 | { |
| 6959 | .eraseblocks = { {4 * 1024, 32} }, |
| 6960 | .block_erase = spi_block_erase_20, |
| 6961 | }, { |
| 6962 | .eraseblocks = { {4 * 1024, 32} }, |
| 6963 | .block_erase = spi_block_erase_d7, |
| 6964 | }, { |
| 6965 | .eraseblocks = { {32 * 1024, 4} }, |
| 6966 | .block_erase = spi_block_erase_d8, |
| 6967 | }, { |
| 6968 | .eraseblocks = { {128 * 1024, 1} }, |
| 6969 | .block_erase = spi_block_erase_60, |
| 6970 | }, { |
| 6971 | .eraseblocks = { {128 * 1024, 1} }, |
| 6972 | .block_erase = spi_block_erase_c7, |
| 6973 | } |
| 6974 | }, |
| 6975 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6976 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 6977 | .write = spi_chip_write_256, |
| 6978 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6979 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD010 */ |
| 6980 | }, |
| 6981 | |
| 6982 | { |
| 6983 | .vendor = "PMC", |
| 6984 | .name = "Pm25LD020(C)", |
| 6985 | .bustype = BUS_SPI, |
| 6986 | .manufacture_id = PMC_ID, |
| 6987 | .model_id = PMC_PM25LD020, |
| 6988 | .total_size = 256, |
| 6989 | .page_size = 256, |
| 6990 | .feature_bits = FEATURE_WRSR_WREN, |
| 6991 | .tested = TEST_UNTESTED, |
| 6992 | .probe = probe_spi_rdid, |
| 6993 | .probe_timing = TIMING_ZERO, |
| 6994 | .block_erasers = |
| 6995 | { |
| 6996 | { |
| 6997 | .eraseblocks = { {4 * 1024, 64} }, |
| 6998 | .block_erase = spi_block_erase_20, |
| 6999 | }, { |
| 7000 | .eraseblocks = { {4 * 1024, 64} }, |
| 7001 | .block_erase = spi_block_erase_d7, |
| 7002 | }, { |
| 7003 | .eraseblocks = { {64 * 1024, 4} }, |
| 7004 | .block_erase = spi_block_erase_d8, |
| 7005 | }, { |
| 7006 | .eraseblocks = { {256 * 1024, 1} }, |
| 7007 | .block_erase = spi_block_erase_60, |
| 7008 | }, { |
| 7009 | .eraseblocks = { {256 * 1024, 1} }, |
| 7010 | .block_erase = spi_block_erase_c7, |
| 7011 | } |
| 7012 | }, |
| 7013 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 7014 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 7015 | .write = spi_chip_write_256, |
| 7016 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 7017 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD020 */ |
| 7018 | }, |
| 7019 | |
| 7020 | { |
| 7021 | .vendor = "PMC", |
| 7022 | .name = "Pm25LD040(C)", |
| 7023 | .bustype = BUS_SPI, |
| 7024 | .manufacture_id = PMC_ID, |
| 7025 | .model_id = PMC_PM25LV040, |
| 7026 | .total_size = 512, |
| 7027 | .page_size = 256, |
| 7028 | .feature_bits = FEATURE_WRSR_WREN, |
| 7029 | .tested = TEST_UNTESTED, |
| 7030 | .probe = probe_spi_rdid, |
| 7031 | .probe_timing = TIMING_ZERO, |
| 7032 | .block_erasers = |
| 7033 | { |
| 7034 | { |
| 7035 | .eraseblocks = { {4 * 1024, 128} }, |
| 7036 | .block_erase = spi_block_erase_20, |
| 7037 | }, { |
| 7038 | .eraseblocks = { {4 * 1024, 128} }, |
| 7039 | .block_erase = spi_block_erase_d7, |
| 7040 | }, { |
| 7041 | .eraseblocks = { {64 * 1024, 8} }, |
| 7042 | .block_erase = spi_block_erase_d8, |
| 7043 | }, { |
| 7044 | .eraseblocks = { {512 * 1024, 1} }, |
| 7045 | .block_erase = spi_block_erase_60, |
| 7046 | }, { |
| 7047 | .eraseblocks = { {512 * 1024, 1} }, |
| 7048 | .block_erase = spi_block_erase_c7, |
| 7049 | } |
| 7050 | }, |
| 7051 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 7052 | .unlock = spi_disable_blockprotect, |
| 7053 | .write = spi_chip_write_256, |
| 7054 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 7055 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD040 */ |
| 7056 | }, |
| 7057 | |
| 7058 | { |
| 7059 | .vendor = "PMC", |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7060 | .name = "Pm25LV512(A)", |
| 7061 | .bustype = BUS_SPI, |
| 7062 | .manufacture_id = PMC_ID, |
| 7063 | .model_id = PMC_PM25LV512, |
| 7064 | .total_size = 64, |
| 7065 | .page_size = 256, |
| 7066 | .feature_bits = FEATURE_WRSR_WREN, |
| 7067 | .tested = TEST_UNTESTED, |
| 7068 | .probe = probe_spi_res3, |
| 7069 | .probe_timing = TIMING_ZERO, |
| 7070 | .block_erasers = |
| 7071 | { |
| 7072 | { |
| 7073 | .eraseblocks = { {4 * 1024, 16} }, |
| 7074 | .block_erase = spi_block_erase_d7, |
| 7075 | }, { |
| 7076 | .eraseblocks = { {32 * 1024, 2} }, |
| 7077 | .block_erase = spi_block_erase_d8, |
| 7078 | }, { |
| 7079 | .eraseblocks = { {64 * 1024, 1} }, |
| 7080 | .block_erase = spi_block_erase_c7, |
| 7081 | } |
| 7082 | }, |
| 7083 | .printlock = spi_prettyprint_status_register_default_bp1, |
| 7084 | .unlock = spi_disable_blockprotect, |
| 7085 | .write = spi_chip_write_256, |
| 7086 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7087 | .voltage = {2700, 3600}, |
| 7088 | }, |
| 7089 | |
| 7090 | { |
| 7091 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7092 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7093 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7094 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7095 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7096 | .total_size = 128, |
| 7097 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7098 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7099 | .tested = TEST_UNTESTED, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7100 | .probe = probe_spi_res3, |
| 7101 | .probe_timing = TIMING_ZERO, |
| 7102 | .block_erasers = |
| 7103 | { |
| 7104 | { |
| 7105 | .eraseblocks = { {4 * 1024, 32} }, |
| 7106 | .block_erase = spi_block_erase_d7, |
| 7107 | }, { |
| 7108 | .eraseblocks = { {32 * 1024, 4} }, |
| 7109 | .block_erase = spi_block_erase_d8, |
| 7110 | }, { |
| 7111 | .eraseblocks = { {128 * 1024, 1} }, |
| 7112 | .block_erase = spi_block_erase_c7, |
| 7113 | } |
| 7114 | }, |
| 7115 | .printlock = spi_prettyprint_status_register_default_bp1, |
| 7116 | .unlock = spi_disable_blockprotect, |
| 7117 | .write = spi_chip_write_256, |
| 7118 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7119 | .voltage = {2700, 3600}, |
| 7120 | }, |
| 7121 | |
| 7122 | { |
| 7123 | .vendor = "PMC", |
| 7124 | .name = "Pm25LV010A", |
| 7125 | .bustype = BUS_SPI, |
| 7126 | .manufacture_id = PMC_ID, |
| 7127 | .model_id = PMC_PM25LV010, |
| 7128 | .total_size = 128, |
| 7129 | .page_size = 256, |
| 7130 | .feature_bits = FEATURE_WRSR_WREN, |
| 7131 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7132 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7133 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7134 | .block_erasers = |
| 7135 | { |
| 7136 | { |
| 7137 | .eraseblocks = { {4 * 1024, 32} }, |
| 7138 | .block_erase = spi_block_erase_d7, |
| 7139 | }, { |
| 7140 | .eraseblocks = { {32 * 1024, 4} }, |
| 7141 | .block_erase = spi_block_erase_d8, |
| 7142 | }, { |
| 7143 | .eraseblocks = { {128 * 1024, 1} }, |
| 7144 | .block_erase = spi_block_erase_c7, |
| 7145 | } |
| 7146 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7147 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7148 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7149 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7150 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7151 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7152 | }, |
| 7153 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7154 | { |
| 7155 | .vendor = "PMC", |
| 7156 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7157 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7158 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7159 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7160 | .total_size = 256, |
| 7161 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7162 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7163 | .tested = TEST_UNTESTED, |
| 7164 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7165 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7166 | .block_erasers = |
| 7167 | { |
| 7168 | { |
| 7169 | .eraseblocks = { {4 * 1024, 64} }, |
| 7170 | .block_erase = spi_block_erase_d7, |
| 7171 | }, { |
| 7172 | .eraseblocks = { {64 * 1024, 4} }, |
| 7173 | .block_erase = spi_block_erase_d8, |
| 7174 | }, { |
| 7175 | .eraseblocks = { {256 * 1024, 1} }, |
| 7176 | .block_erase = spi_block_erase_c7, |
| 7177 | } |
| 7178 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7179 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7180 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7181 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7182 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7183 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7184 | }, |
| 7185 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7186 | { |
| 7187 | .vendor = "PMC", |
| 7188 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7189 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7190 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7191 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7192 | .total_size = 512, |
| 7193 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7194 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 7195 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7196 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7197 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7198 | .block_erasers = |
| 7199 | { |
| 7200 | { |
| 7201 | .eraseblocks = { {4 * 1024, 128} }, |
| 7202 | .block_erase = spi_block_erase_d7, |
| 7203 | }, { |
| 7204 | .eraseblocks = { {64 * 1024, 8} }, |
| 7205 | .block_erase = spi_block_erase_d8, |
| 7206 | }, { |
| 7207 | .eraseblocks = { {512 * 1024, 1} }, |
| 7208 | .block_erase = spi_block_erase_c7, |
| 7209 | } |
| 7210 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7211 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7212 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7213 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7214 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7215 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7216 | }, |
| 7217 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7218 | { |
| 7219 | .vendor = "PMC", |
| 7220 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7221 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7222 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7223 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7224 | .total_size = 1024, |
| 7225 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7226 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7227 | .tested = TEST_UNTESTED, |
| 7228 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7229 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7230 | .block_erasers = |
| 7231 | { |
| 7232 | { |
| 7233 | .eraseblocks = { {4 * 1024, 256} }, |
| 7234 | .block_erase = spi_block_erase_d7, |
| 7235 | }, { |
| 7236 | .eraseblocks = { {4 * 1024, 256} }, |
| 7237 | .block_erase = spi_block_erase_20, |
| 7238 | }, { |
| 7239 | .eraseblocks = { {64 * 1024, 16} }, |
| 7240 | .block_erase = spi_block_erase_d8, |
| 7241 | }, { |
| 7242 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7243 | .block_erase = spi_block_erase_60, |
| 7244 | }, { |
| 7245 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7246 | .block_erase = spi_block_erase_c7, |
| 7247 | } |
| 7248 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7249 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7250 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7251 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7252 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7253 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7254 | }, |
| 7255 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7256 | { |
| 7257 | .vendor = "PMC", |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7258 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7259 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7260 | .manufacture_id = PMC_ID, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7261 | .model_id = PMC_PM25LV016B, |
| 7262 | .total_size = 2048, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7263 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7264 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7265 | .tested = TEST_UNTESTED, |
| 7266 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7267 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7268 | .block_erasers = |
| 7269 | { |
| 7270 | { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7271 | .eraseblocks = { {4 * 1024, 512} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7272 | .block_erase = spi_block_erase_d7, |
| 7273 | }, { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7274 | .eraseblocks = { {4 * 1024, 512} }, |
| 7275 | .block_erase = spi_block_erase_20, |
| 7276 | }, { |
| 7277 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7278 | .block_erase = spi_block_erase_d8, |
| 7279 | }, { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7280 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7281 | .block_erase = spi_block_erase_60, |
| 7282 | }, { |
| 7283 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7284 | .block_erase = spi_block_erase_c7, |
| 7285 | } |
| 7286 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7287 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7288 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7289 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 7290 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7291 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7292 | }, |
| 7293 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7294 | { |
| 7295 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7296 | .name = "Pm29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7297 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7298 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7299 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7300 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7301 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7302 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 7303 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7304 | .probe = probe_jedec, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 7305 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7306 | .block_erasers = |
| 7307 | { |
| 7308 | { |
| 7309 | .eraseblocks = { |
| 7310 | {128 * 1024, 1}, |
| 7311 | {96 * 1024, 1}, |
| 7312 | {8 * 1024, 2}, |
| 7313 | {16 * 1024, 1}, |
| 7314 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7315 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7316 | }, { |
| 7317 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7318 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7319 | }, |
| 7320 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7321 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7322 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7323 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7324 | }, |
| 7325 | |
| 7326 | { |
| 7327 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7328 | .name = "Pm29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7329 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7330 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7331 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7332 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7333 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7334 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7335 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7336 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7337 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7338 | .block_erasers = |
| 7339 | { |
| 7340 | { |
| 7341 | .eraseblocks = { |
| 7342 | {16 * 1024, 1}, |
| 7343 | {8 * 1024, 2}, |
| 7344 | {96 * 1024, 1}, |
| 7345 | {128 * 1024, 1}, |
| 7346 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7347 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7348 | }, { |
| 7349 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7350 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7351 | }, |
| 7352 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7353 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7354 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7355 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7356 | }, |
| 7357 | |
| 7358 | { |
| 7359 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7360 | .name = "Pm39LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7361 | .bustype = BUS_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7362 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7363 | .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] | 7364 | .total_size = 128, |
| 7365 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7366 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 7367 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7368 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7369 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7370 | .block_erasers = |
| 7371 | { |
| 7372 | { |
| 7373 | .eraseblocks = { {4 * 1024, 32} }, |
| 7374 | .block_erase = erase_sector_jedec, |
| 7375 | }, { |
| 7376 | .eraseblocks = { {64 * 1024, 2} }, |
| 7377 | .block_erase = erase_block_jedec, |
| 7378 | }, { |
| 7379 | .eraseblocks = { {128 * 1024, 1} }, |
| 7380 | .block_erase = erase_chip_block_jedec, |
| 7381 | } |
| 7382 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7383 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7384 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7385 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7386 | }, |
| 7387 | |
| 7388 | { |
| 7389 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7390 | .name = "Pm39LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7391 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7392 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7393 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7394 | .total_size = 256, |
| 7395 | .page_size = 4096, |
| 7396 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7397 | .tested = TEST_UNTESTED, |
| 7398 | .probe = probe_jedec, |
| 7399 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7400 | .block_erasers = |
| 7401 | { |
| 7402 | { |
| 7403 | .eraseblocks = { {4 * 1024, 64} }, |
| 7404 | .block_erase = erase_sector_jedec, |
| 7405 | }, { |
| 7406 | .eraseblocks = { {64 * 1024, 4} }, |
| 7407 | .block_erase = erase_block_jedec, |
| 7408 | }, { |
| 7409 | .eraseblocks = { {256 * 1024, 1} }, |
| 7410 | .block_erase = erase_chip_block_jedec, |
| 7411 | } |
| 7412 | }, |
| 7413 | .write = write_jedec_1, |
| 7414 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7415 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7416 | }, |
| 7417 | |
| 7418 | { |
| 7419 | .vendor = "PMC", |
| 7420 | .name = "Pm39LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7421 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7422 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7423 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7424 | .total_size = 512, |
| 7425 | .page_size = 4096, |
| 7426 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 7427 | .tested = TEST_OK_PR, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7428 | .probe = probe_jedec, |
| 7429 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7430 | .block_erasers = |
| 7431 | { |
| 7432 | { |
| 7433 | .eraseblocks = { {4 * 1024, 128} }, |
| 7434 | .block_erase = erase_sector_jedec, |
| 7435 | }, { |
| 7436 | .eraseblocks = { {64 * 1024, 8} }, |
| 7437 | .block_erase = erase_block_jedec, |
| 7438 | }, { |
| 7439 | .eraseblocks = { {512 * 1024, 1} }, |
| 7440 | .block_erase = erase_chip_block_jedec, |
| 7441 | } |
| 7442 | }, |
| 7443 | .write = write_jedec_1, |
| 7444 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7445 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7446 | }, |
Kyösti Mälkki | edab1d2 | 2012-05-20 23:32:33 +0000 | [diff] [blame] | 7447 | |
| 7448 | { |
| 7449 | .vendor = "PMC", |
| 7450 | .name = "Pm39LV512", |
| 7451 | .bustype = BUS_PARALLEL, |
| 7452 | .manufacture_id = PMC_ID_NOPREFIX, |
| 7453 | .model_id = PMC_PM39LV512, |
| 7454 | .total_size = 64, |
| 7455 | .page_size = 4096, |
| 7456 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7457 | .tested = TEST_OK_PREW, |
| 7458 | .probe = probe_jedec, |
| 7459 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7460 | .block_erasers = |
| 7461 | { |
| 7462 | { |
| 7463 | .eraseblocks = { {4 * 1024, 16} }, |
| 7464 | .block_erase = erase_sector_jedec, |
| 7465 | }, { |
| 7466 | .eraseblocks = { {64 * 1024, 1} }, |
| 7467 | .block_erase = erase_block_jedec, |
| 7468 | }, { |
| 7469 | .eraseblocks = { {64 * 1024, 1} }, |
| 7470 | .block_erase = erase_chip_block_jedec, |
| 7471 | } |
| 7472 | }, |
| 7473 | .write = write_jedec_1, |
| 7474 | .read = read_memmapped, |
| 7475 | .voltage = {2700, 3600}, |
| 7476 | }, |
| 7477 | |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7478 | { |
| 7479 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7480 | .name = "Pm49FL002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7481 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7482 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7483 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7484 | .total_size = 256, |
| 7485 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7486 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 7487 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7488 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7489 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7490 | .block_erasers = |
| 7491 | { |
| 7492 | { |
| 7493 | .eraseblocks = { {4 * 1024, 64} }, |
| 7494 | .block_erase = erase_sector_jedec, |
| 7495 | }, { |
| 7496 | .eraseblocks = { {16 * 1024, 16} }, |
| 7497 | .block_erase = erase_block_jedec, |
| 7498 | }, { |
| 7499 | .eraseblocks = { {256 * 1024, 1} }, |
| 7500 | .block_erase = erase_chip_block_jedec, |
| 7501 | } |
| 7502 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7503 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 7504 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7505 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7506 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7507 | }, |
| 7508 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7509 | { |
| 7510 | .vendor = "PMC", |
| 7511 | .name = "Pm49FL004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7512 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7513 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7514 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7515 | .total_size = 512, |
| 7516 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7517 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 7518 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7519 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7520 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7521 | .block_erasers = |
| 7522 | { |
| 7523 | { |
| 7524 | .eraseblocks = { {4 * 1024, 128} }, |
| 7525 | .block_erase = erase_sector_jedec, |
| 7526 | }, { |
| 7527 | .eraseblocks = { {64 * 1024, 8} }, |
| 7528 | .block_erase = erase_block_jedec, |
| 7529 | }, { |
| 7530 | .eraseblocks = { {512 * 1024, 1} }, |
| 7531 | .block_erase = erase_chip_block_jedec, |
| 7532 | } |
| 7533 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7534 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 7535 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7536 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7537 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7538 | }, |
| 7539 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7540 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7541 | .vendor = "Sanyo", |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 7542 | .name = "LE25FW203A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7543 | .bustype = BUS_SPI, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7544 | .manufacture_id = SANYO_ID, |
| 7545 | .model_id = SANYO_LE25FW203A, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 7546 | .total_size = 256, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7547 | .page_size = 256, |
| 7548 | .tested = TEST_UNTESTED, |
| 7549 | .probe = probe_spi_rdid, |
| 7550 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7551 | .block_erasers = |
| 7552 | { |
| 7553 | { |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 7554 | .eraseblocks = { {256, 1024} }, |
| 7555 | .block_erase = spi_block_erase_db, |
| 7556 | }, { |
| 7557 | .eraseblocks = { {64 * 1024, 4} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7558 | .block_erase = spi_block_erase_d8, |
| 7559 | }, { |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 7560 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7561 | .block_erase = spi_block_erase_c7, |
| 7562 | } |
| 7563 | }, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 7564 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 7565 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7566 | .write = spi_chip_write_256, |
| 7567 | .read = spi_chip_read, |
Nikolay Nikolaev | 384de8e | 2013-06-28 21:28:49 +0000 | [diff] [blame] | 7568 | .voltage = {2700, 3600}, |
| 7569 | }, |
| 7570 | |
| 7571 | { |
| 7572 | .vendor = "Sanyo", |
| 7573 | .name = "LE25FW403A", |
| 7574 | .bustype = BUS_SPI, |
| 7575 | .manufacture_id = SANYO_ID, |
| 7576 | .model_id = SANYO_LE25FW403A, |
| 7577 | .total_size = 512, |
| 7578 | .page_size = 256, |
| 7579 | .tested = TEST_UNTESTED, |
| 7580 | .probe = probe_spi_rdid, |
| 7581 | .probe_timing = TIMING_ZERO, |
| 7582 | .block_erasers = { |
| 7583 | { |
| 7584 | .eraseblocks = { {256, 2 * 1024} }, |
| 7585 | .block_erase = spi_block_erase_db, |
| 7586 | }, { |
| 7587 | .eraseblocks = { {64 * 1024, 8} }, |
| 7588 | .block_erase = spi_block_erase_d8, |
| 7589 | }, { |
| 7590 | .eraseblocks = { {512 * 1024, 1} }, |
| 7591 | .block_erase = spi_block_erase_c7, |
| 7592 | } |
| 7593 | }, |
| 7594 | .printlock = spi_prettyprint_status_register_default_welwip, |
| 7595 | .unlock = NULL, /* #WP pin write-protects lower 64kB. */ |
| 7596 | .write = spi_chip_write_256, |
| 7597 | .read = spi_chip_read, |
| 7598 | .voltage = {2700, 3600}, |
| 7599 | }, |
| 7600 | |
| 7601 | { |
| 7602 | .vendor = "Sanyo", |
| 7603 | .name = "LE25FW418A", |
| 7604 | .bustype = BUS_SPI, |
| 7605 | .manufacture_id = SANYO_ID, |
| 7606 | .model_id = SANYO_LE25FW418A, |
| 7607 | .total_size = 512, |
| 7608 | .page_size = 256, |
| 7609 | .feature_bits = FEATURE_WRSR_WREN, |
| 7610 | .tested = TEST_UNTESTED, |
| 7611 | .probe = probe_spi_res2, |
| 7612 | .probe_timing = TIMING_ZERO, |
| 7613 | .block_erasers = { |
| 7614 | { |
| 7615 | .eraseblocks = { {4 * 1024, 128} }, |
| 7616 | .block_erase = spi_block_erase_d7, |
| 7617 | }, { |
| 7618 | .eraseblocks = { {64 * 1024, 8} }, |
| 7619 | .block_erase = spi_block_erase_d8, |
| 7620 | }, { |
| 7621 | .eraseblocks = { {512 * 1024, 1} }, |
| 7622 | .block_erase = spi_block_erase_c7, |
| 7623 | } |
| 7624 | }, |
| 7625 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 7626 | .unlock = spi_disable_blockprotect, /* #WP pin write-protects SRWP bit. */ |
| 7627 | .write = spi_chip_write_256, |
| 7628 | .read = spi_chip_read, /* some quad-read supported ("HD_READ mode") */ |
| 7629 | .voltage = {2700, 3600}, |
| 7630 | }, |
| 7631 | |
| 7632 | { |
| 7633 | .vendor = "Sanyo", |
| 7634 | .name = "LE25FW806", |
| 7635 | .bustype = BUS_SPI, |
| 7636 | .manufacture_id = SANYO_ID, |
| 7637 | .model_id = SANYO_LE25FW806, |
| 7638 | .total_size = 1024, |
| 7639 | .page_size = 256, |
| 7640 | .feature_bits = FEATURE_WRSR_WREN, |
| 7641 | .tested = TEST_UNTESTED, |
| 7642 | .probe = probe_spi_res2, |
| 7643 | .probe_timing = TIMING_ZERO, |
| 7644 | .block_erasers = { |
| 7645 | { |
| 7646 | .eraseblocks = { {4 * 1024, 256} }, |
| 7647 | .block_erase = spi_block_erase_20, |
| 7648 | }, { |
| 7649 | .eraseblocks = { {4 * 1024, 256} }, |
| 7650 | .block_erase = spi_block_erase_d7, |
| 7651 | }, { |
| 7652 | .eraseblocks = { {64 * 1024, 16} }, |
| 7653 | .block_erase = spi_block_erase_d8, |
| 7654 | }, { |
| 7655 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7656 | .block_erase = spi_block_erase_c7, |
| 7657 | } |
| 7658 | }, |
| 7659 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 7660 | .unlock = spi_disable_blockprotect, /* #WP pin write-protects SRWP bit. */ |
| 7661 | .write = spi_chip_write_256, |
| 7662 | .read = spi_chip_read, |
| 7663 | .voltage = {2700, 3600}, |
| 7664 | }, |
| 7665 | |
| 7666 | { |
| 7667 | .vendor = "Sanyo", |
| 7668 | .name = "LE25FW808", |
| 7669 | .bustype = BUS_SPI, |
| 7670 | .manufacture_id = SANYO_ID, |
| 7671 | .model_id = SANYO_LE25FW808, |
| 7672 | .total_size = 1024, |
| 7673 | .page_size = 256, |
| 7674 | .feature_bits = FEATURE_WRSR_WREN, |
| 7675 | .tested = TEST_UNTESTED, |
| 7676 | .probe = probe_spi_res2, |
| 7677 | .probe_timing = TIMING_ZERO, |
| 7678 | .block_erasers = { |
| 7679 | { |
| 7680 | .eraseblocks = { {8 * 1024, 128} }, |
| 7681 | .block_erase = spi_block_erase_d7, |
| 7682 | }, { |
| 7683 | .eraseblocks = { {64 * 1024, 16} }, |
| 7684 | .block_erase = spi_block_erase_d8, |
| 7685 | }, { |
| 7686 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7687 | .block_erase = spi_block_erase_c7, |
| 7688 | } |
| 7689 | }, |
| 7690 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 7691 | .unlock = spi_disable_blockprotect, /* #WP pin write-protects SRWP bit. */ |
| 7692 | .write = spi_chip_write_256, |
| 7693 | .read = spi_chip_read, /* some quad-read supported ("HD_READ mode") */ |
| 7694 | .voltage = {2700, 3600}, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7695 | }, |
| 7696 | |
| 7697 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7698 | .vendor = "Sharp", |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 7699 | .name = "LH28F008BJT-BTLZ1", |
| 7700 | .bustype = BUS_PARALLEL, |
| 7701 | .manufacture_id = SHARP_ID, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 7702 | .model_id = SHARP_LH28F008BJ__PB, |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 7703 | .total_size = 1024, |
| 7704 | .page_size = 64 * 1024, |
| 7705 | .tested = TEST_OK_PREW, |
| 7706 | .probe = probe_82802ab, |
| 7707 | .probe_timing = TIMING_ZERO, |
| 7708 | .block_erasers = |
| 7709 | { |
| 7710 | { |
| 7711 | .eraseblocks = { |
| 7712 | {8 * 1024, 8}, |
| 7713 | {64 * 1024, 15} |
| 7714 | }, |
| 7715 | .block_erase = erase_block_82802ab, |
| 7716 | }, { |
| 7717 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7718 | .block_erase = erase_sector_49lfxxxc, |
| 7719 | } |
| 7720 | }, |
| 7721 | .unlock = unlock_lh28f008bjt, |
| 7722 | .write = write_82802ab, |
| 7723 | .read = read_memmapped, |
| 7724 | .voltage = {2700, 3600}, |
| 7725 | }, |
| 7726 | |
| 7727 | { |
| 7728 | .vendor = "Sharp", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7729 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7730 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7731 | .manufacture_id = SHARP_ID, |
| 7732 | .model_id = SHARP_LHF00L04, |
| 7733 | .total_size = 1024, |
| 7734 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7735 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7736 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7737 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7738 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7739 | .block_erasers = |
| 7740 | { |
| 7741 | { |
| 7742 | .eraseblocks = { |
| 7743 | {64 * 1024, 15}, |
| 7744 | {8 * 1024, 8} |
| 7745 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7746 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7747 | }, { |
| 7748 | .eraseblocks = { |
| 7749 | {1024 * 1024, 1} |
| 7750 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7751 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7752 | }, |
| 7753 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7754 | .unlock = unlock_82802ab, |
| 7755 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7756 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7757 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7758 | }, |
| 7759 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7760 | { |
| 7761 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7762 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7763 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7764 | .manufacture_id = SPANSION_ID, |
| 7765 | .model_id = SPANSION_S25FL004A, |
| 7766 | .total_size = 512, |
| 7767 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7768 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7769 | .tested = TEST_UNTESTED, |
| 7770 | .probe = probe_spi_rdid, |
| 7771 | .probe_timing = TIMING_ZERO, |
| 7772 | .block_erasers = |
| 7773 | { |
| 7774 | { |
| 7775 | .eraseblocks = { {64 * 1024, 8} }, |
| 7776 | .block_erase = spi_block_erase_d8, |
| 7777 | }, { |
| 7778 | .eraseblocks = { {512 * 1024, 1} }, |
| 7779 | .block_erase = spi_block_erase_c7, |
| 7780 | } |
| 7781 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7782 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7783 | .unlock = spi_disable_blockprotect, |
| 7784 | .write = spi_chip_write_256, |
| 7785 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7786 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7787 | }, |
| 7788 | |
| 7789 | { |
| 7790 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7791 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7792 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7793 | .manufacture_id = SPANSION_ID, |
| 7794 | .model_id = SPANSION_S25FL008A, |
| 7795 | .total_size = 1024, |
| 7796 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7797 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7798 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7799 | .probe = probe_spi_rdid, |
| 7800 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7801 | .block_erasers = |
| 7802 | { |
| 7803 | { |
| 7804 | .eraseblocks = { {64 * 1024, 16} }, |
| 7805 | .block_erase = spi_block_erase_d8, |
| 7806 | }, { |
| 7807 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7808 | .block_erase = spi_block_erase_c7, |
| 7809 | } |
| 7810 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7811 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7812 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7813 | .write = spi_chip_write_256, |
| 7814 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7815 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7816 | }, |
| 7817 | |
| 7818 | { |
| 7819 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7820 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7821 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7822 | .manufacture_id = SPANSION_ID, |
| 7823 | .model_id = SPANSION_S25FL016A, |
| 7824 | .total_size = 2048, |
| 7825 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7826 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7827 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7828 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7829 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7830 | .block_erasers = |
| 7831 | { |
| 7832 | { |
| 7833 | .eraseblocks = { {64 * 1024, 32} }, |
| 7834 | .block_erase = spi_block_erase_d8, |
| 7835 | }, { |
| 7836 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7837 | .block_erase = spi_block_erase_c7, |
| 7838 | } |
| 7839 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7840 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7841 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7842 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7843 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7844 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7845 | }, |
| 7846 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7847 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7848 | .vendor = "Spansion", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7849 | .name = "S25FL032A/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7850 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7851 | .manufacture_id = SPANSION_ID, |
| 7852 | .model_id = SPANSION_S25FL032A, |
| 7853 | .total_size = 4096, |
| 7854 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7855 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7856 | .tested = TEST_OK_PREW, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7857 | .probe = probe_spi_rdid, |
| 7858 | .probe_timing = TIMING_ZERO, |
| 7859 | .block_erasers = |
| 7860 | { |
| 7861 | { |
| 7862 | .eraseblocks = { {64 * 1024, 64} }, |
| 7863 | .block_erase = spi_block_erase_d8, |
| 7864 | }, { |
| 7865 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7866 | .block_erase = spi_block_erase_c7, |
| 7867 | } |
| 7868 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7869 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7870 | .unlock = spi_disable_blockprotect, |
| 7871 | .write = spi_chip_write_256, |
| 7872 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7873 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7874 | }, |
| 7875 | |
| 7876 | { |
| 7877 | .vendor = "Spansion", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7878 | .name = "S25FL064A/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7879 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7880 | .manufacture_id = SPANSION_ID, |
| 7881 | .model_id = SPANSION_S25FL064A, |
| 7882 | .total_size = 8192, |
| 7883 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7884 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7885 | .tested = TEST_OK_PREW, |
| 7886 | .probe = probe_spi_rdid, |
| 7887 | .probe_timing = TIMING_ZERO, |
| 7888 | .block_erasers = |
| 7889 | { |
| 7890 | { |
| 7891 | .eraseblocks = { {64 * 1024, 128} }, |
| 7892 | .block_erase = spi_block_erase_d8, |
| 7893 | }, { |
| 7894 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7895 | .block_erase = spi_block_erase_c7, |
| 7896 | } |
| 7897 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7898 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7899 | .unlock = spi_disable_blockprotect, |
| 7900 | .write = spi_chip_write_256, |
| 7901 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7902 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7903 | }, |
| 7904 | |
| 7905 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7906 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7907 | .name = "SST25LF040A", |
| 7908 | .bustype = BUS_SPI, |
| 7909 | .manufacture_id = SST_ID, |
| 7910 | .model_id = SST_SST25VF040_REMS, |
| 7911 | .total_size = 512, |
| 7912 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7913 | .feature_bits = FEATURE_WRSR_EWSR, |
Uwe Hermann | 4335ec8 | 2011-09-07 20:20:25 +0000 | [diff] [blame] | 7914 | .tested = TEST_OK_PREW, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7915 | .probe = probe_spi_res2, |
| 7916 | .probe_timing = TIMING_ZERO, |
| 7917 | .block_erasers = |
| 7918 | { |
| 7919 | { |
| 7920 | .eraseblocks = { {4 * 1024, 128} }, |
| 7921 | .block_erase = spi_block_erase_20, |
| 7922 | }, { |
| 7923 | .eraseblocks = { {32 * 1024, 16} }, |
| 7924 | .block_erase = spi_block_erase_52, |
| 7925 | }, { |
| 7926 | .eraseblocks = { {512 * 1024, 1} }, |
| 7927 | .block_erase = spi_block_erase_60, |
| 7928 | }, |
| 7929 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7930 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7931 | .unlock = spi_disable_blockprotect, |
| 7932 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 7933 | .read = spi_chip_read, |
| 7934 | .voltage = {3000, 3600}, |
| 7935 | }, |
| 7936 | |
| 7937 | { |
| 7938 | .vendor = "SST", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7939 | .name = "SST25LF080(A)", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7940 | .bustype = BUS_SPI, |
| 7941 | .manufacture_id = SST_ID, |
| 7942 | .model_id = SST_SST25VF080_REMS, |
| 7943 | .total_size = 1024, |
| 7944 | .page_size = 256, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7945 | .feature_bits = FEATURE_WRSR_EITHER, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7946 | .tested = TEST_UNTESTED, |
| 7947 | .probe = probe_spi_res2, |
| 7948 | .probe_timing = TIMING_ZERO, |
| 7949 | .block_erasers = |
| 7950 | { |
| 7951 | { |
| 7952 | .eraseblocks = { {4 * 1024, 256} }, |
| 7953 | .block_erase = spi_block_erase_20, |
| 7954 | }, { |
| 7955 | .eraseblocks = { {32 * 1024, 32} }, |
| 7956 | .block_erase = spi_block_erase_52, |
| 7957 | }, { |
| 7958 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7959 | .block_erase = spi_block_erase_60, |
| 7960 | }, |
| 7961 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7962 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7963 | .unlock = spi_disable_blockprotect, |
| 7964 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 7965 | .read = spi_chip_read, |
| 7966 | .voltage = {3000, 3600}, |
| 7967 | }, |
| 7968 | |
| 7969 | { |
| 7970 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7971 | .name = "SST25VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7972 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7973 | .manufacture_id = SST_ID, |
| 7974 | .model_id = SST_SST25VF010_REMS, |
| 7975 | .total_size = 128, |
| 7976 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7977 | .feature_bits = FEATURE_WRSR_EWSR, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7978 | .tested = TEST_OK_PREW, |
| 7979 | .probe = probe_spi_rems, |
| 7980 | .probe_timing = TIMING_ZERO, |
| 7981 | .block_erasers = |
| 7982 | { |
| 7983 | { |
| 7984 | .eraseblocks = { {4 * 1024, 32} }, |
| 7985 | .block_erase = spi_block_erase_20, |
| 7986 | }, { |
| 7987 | .eraseblocks = { {32 * 1024, 4} }, |
| 7988 | .block_erase = spi_block_erase_52, |
| 7989 | }, { |
| 7990 | .eraseblocks = { {128 * 1024, 1} }, |
| 7991 | .block_erase = spi_block_erase_60, |
| 7992 | }, |
| 7993 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7994 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7995 | .unlock = spi_disable_blockprotect, |
| 7996 | .write = spi_chip_write_1, |
| 7997 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7998 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7999 | }, |
| 8000 | |
| 8001 | { |
| 8002 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8003 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8004 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8005 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8006 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8007 | .total_size = 2048, |
| 8008 | .page_size = 256, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 8009 | .feature_bits = FEATURE_WRSR_EITHER, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 8010 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8011 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8012 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8013 | .block_erasers = |
| 8014 | { |
| 8015 | { |
| 8016 | .eraseblocks = { {4 * 1024, 512} }, |
| 8017 | .block_erase = spi_block_erase_20, |
| 8018 | }, { |
| 8019 | .eraseblocks = { {32 * 1024, 64} }, |
| 8020 | .block_erase = spi_block_erase_52, |
| 8021 | }, { |
| 8022 | .eraseblocks = { {64 * 1024, 32} }, |
| 8023 | .block_erase = spi_block_erase_d8, |
| 8024 | }, { |
| 8025 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8026 | .block_erase = spi_block_erase_60, |
| 8027 | }, { |
| 8028 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8029 | .block_erase = spi_block_erase_c7, |
| 8030 | }, |
| 8031 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8032 | .printlock = spi_prettyprint_status_register_sst25vf016, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8033 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 8034 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8035 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8036 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8037 | }, |
| 8038 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8039 | { |
| 8040 | .vendor = "SST", |
| 8041 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8042 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8043 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8044 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8045 | .total_size = 4096, |
| 8046 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8047 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 8048 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8049 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8050 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8051 | .block_erasers = |
| 8052 | { |
| 8053 | { |
| 8054 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8055 | .block_erase = spi_block_erase_20, |
| 8056 | }, { |
| 8057 | .eraseblocks = { {32 * 1024, 128} }, |
| 8058 | .block_erase = spi_block_erase_52, |
| 8059 | }, { |
| 8060 | .eraseblocks = { {64 * 1024, 64} }, |
| 8061 | .block_erase = spi_block_erase_d8, |
| 8062 | }, { |
| 8063 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8064 | .block_erase = spi_block_erase_60, |
| 8065 | }, { |
| 8066 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8067 | .block_erase = spi_block_erase_c7, |
| 8068 | }, |
| 8069 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8070 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8071 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 8072 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8073 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8074 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8075 | }, |
| 8076 | |
| 8077 | { |
| 8078 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 8079 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8080 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 8081 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8082 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 8083 | .total_size = 8192, |
| 8084 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8085 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 8086 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 8087 | .probe = probe_spi_rdid, |
| 8088 | .probe_timing = TIMING_ZERO, |
| 8089 | .block_erasers = |
| 8090 | { |
| 8091 | { |
| 8092 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8093 | .block_erase = spi_block_erase_20, |
| 8094 | }, { |
| 8095 | .eraseblocks = { {32 * 1024, 256} }, |
| 8096 | .block_erase = spi_block_erase_52, |
| 8097 | }, { |
| 8098 | .eraseblocks = { {64 * 1024, 128} }, |
| 8099 | .block_erase = spi_block_erase_d8, |
| 8100 | }, { |
| 8101 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8102 | .block_erase = spi_block_erase_60, |
| 8103 | }, { |
| 8104 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8105 | .block_erase = spi_block_erase_c7, |
| 8106 | }, |
| 8107 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8108 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 8109 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 8110 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 8111 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8112 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 8113 | }, |
| 8114 | |
| 8115 | { |
| 8116 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 8117 | .name = "SST25VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8118 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8119 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8120 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8121 | .total_size = 512, |
| 8122 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8123 | .feature_bits = FEATURE_WRSR_EWSR, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8124 | .tested = TEST_OK_PR, |
| 8125 | .probe = probe_spi_rems, |
| 8126 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8127 | .block_erasers = |
| 8128 | { |
| 8129 | { |
| 8130 | .eraseblocks = { {4 * 1024, 128} }, |
| 8131 | .block_erase = spi_block_erase_20, |
| 8132 | }, { |
| 8133 | .eraseblocks = { {32 * 1024, 16} }, |
| 8134 | .block_erase = spi_block_erase_52, |
| 8135 | }, { |
| 8136 | .eraseblocks = { {512 * 1024, 1} }, |
| 8137 | .block_erase = spi_block_erase_60, |
| 8138 | }, |
| 8139 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8140 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8141 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 8142 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8143 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8144 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8145 | }, |
| 8146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8147 | { |
| 8148 | .vendor = "SST", |
| 8149 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8150 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8151 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8152 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8153 | .total_size = 512, |
| 8154 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8155 | .feature_bits = FEATURE_WRSR_EWSR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8156 | .tested = TEST_UNTESTED, |
| 8157 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8158 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8159 | .block_erasers = |
| 8160 | { |
| 8161 | { |
| 8162 | .eraseblocks = { {4 * 1024, 128} }, |
| 8163 | .block_erase = spi_block_erase_20, |
| 8164 | }, { |
| 8165 | .eraseblocks = { {32 * 1024, 16} }, |
| 8166 | .block_erase = spi_block_erase_52, |
| 8167 | }, { |
| 8168 | .eraseblocks = { {64 * 1024, 8} }, |
| 8169 | .block_erase = spi_block_erase_d8, |
| 8170 | }, { |
| 8171 | .eraseblocks = { {512 * 1024, 1} }, |
| 8172 | .block_erase = spi_block_erase_60, |
| 8173 | }, { |
| 8174 | .eraseblocks = { {512 * 1024, 1} }, |
| 8175 | .block_erase = spi_block_erase_c7, |
| 8176 | }, |
| 8177 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8178 | .printlock = spi_prettyprint_status_register_sst25vf040b, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8179 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 8180 | .write = spi_aai_write, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 8181 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8182 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 8183 | }, |
| 8184 | |
| 8185 | { |
| 8186 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 8187 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8188 | .bustype = BUS_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8189 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8190 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 8191 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8192 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8193 | .feature_bits = FEATURE_WRSR_EWSR, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 8194 | .tested = TEST_OK_PR, |
| 8195 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8196 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8197 | .block_erasers = |
| 8198 | { |
| 8199 | { |
| 8200 | .eraseblocks = { {4 * 1024, 128} }, |
| 8201 | .block_erase = spi_block_erase_20, |
| 8202 | }, { |
| 8203 | .eraseblocks = { {32 * 1024, 16} }, |
| 8204 | .block_erase = spi_block_erase_52, |
| 8205 | }, { |
| 8206 | .eraseblocks = { {64 * 1024, 8} }, |
| 8207 | .block_erase = spi_block_erase_d8, |
| 8208 | }, { |
| 8209 | .eraseblocks = { {512 * 1024, 1} }, |
| 8210 | .block_erase = spi_block_erase_60, |
| 8211 | }, { |
| 8212 | .eraseblocks = { {512 * 1024, 1} }, |
| 8213 | .block_erase = spi_block_erase_c7, |
| 8214 | }, |
| 8215 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8216 | .printlock = spi_prettyprint_status_register_sst25vf040b, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8217 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 8218 | .write = spi_aai_write, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 8219 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8220 | .voltage = {2700, 3600}, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 8221 | }, |
| 8222 | |
| 8223 | { |
| 8224 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8225 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8226 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8227 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8228 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8229 | .total_size = 1024, |
| 8230 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8231 | .feature_bits = FEATURE_WRSR_EWSR, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 8232 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8233 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8234 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 8235 | .block_erasers = |
| 8236 | { |
| 8237 | { |
| 8238 | .eraseblocks = { {4 * 1024, 256} }, |
| 8239 | .block_erase = spi_block_erase_20, |
| 8240 | }, { |
| 8241 | .eraseblocks = { {32 * 1024, 32} }, |
| 8242 | .block_erase = spi_block_erase_52, |
| 8243 | }, { |
| 8244 | .eraseblocks = { {64 * 1024, 16} }, |
| 8245 | .block_erase = spi_block_erase_d8, |
| 8246 | }, { |
| 8247 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8248 | .block_erase = spi_block_erase_60, |
| 8249 | }, { |
| 8250 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8251 | .block_erase = spi_block_erase_c7, |
| 8252 | }, |
| 8253 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8254 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8255 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 8256 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8257 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8258 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8259 | }, |
| 8260 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8261 | { |
| 8262 | .vendor = "SST", |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 8263 | .name = "SST25WF512", |
| 8264 | .bustype = BUS_SPI, |
| 8265 | .manufacture_id = SST_ID, |
| 8266 | .model_id = SST_SST25WF512, |
| 8267 | .total_size = 64, |
| 8268 | .page_size = 256, |
| 8269 | .feature_bits = FEATURE_WRSR_EITHER, |
| 8270 | .tested = TEST_UNTESTED, |
| 8271 | .probe = probe_spi_rdid, |
| 8272 | .probe_timing = TIMING_ZERO, |
| 8273 | .block_erasers = |
| 8274 | { |
| 8275 | { |
| 8276 | .eraseblocks = { {4 * 1024, 16} }, |
| 8277 | .block_erase = spi_block_erase_20, |
| 8278 | }, { |
| 8279 | .eraseblocks = { {32 * 1024, 2} }, |
| 8280 | .block_erase = spi_block_erase_52, |
| 8281 | }, { |
| 8282 | .eraseblocks = { {1024 * 64, 1} }, |
| 8283 | .block_erase = spi_block_erase_60, |
| 8284 | }, { |
| 8285 | .eraseblocks = { {1024 * 64, 1} }, |
| 8286 | .block_erase = spi_block_erase_c7, |
| 8287 | }, |
| 8288 | }, |
| 8289 | .unlock = spi_disable_blockprotect, |
| 8290 | .write = spi_aai_write, |
| 8291 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8292 | .voltage = {1650, 1950}, |
| 8293 | }, |
| 8294 | |
| 8295 | { |
| 8296 | .vendor = "SST", |
| 8297 | .name = "SST25WF010", |
| 8298 | .bustype = BUS_SPI, |
| 8299 | .manufacture_id = SST_ID, |
| 8300 | .model_id = SST_SST25WF010, |
| 8301 | .total_size = 128, |
| 8302 | .page_size = 256, |
| 8303 | .feature_bits = FEATURE_WRSR_EITHER, |
| 8304 | .tested = TEST_UNTESTED, |
| 8305 | .probe = probe_spi_rdid, |
| 8306 | .probe_timing = TIMING_ZERO, |
| 8307 | .block_erasers = |
| 8308 | { |
| 8309 | { |
| 8310 | .eraseblocks = { {4 * 1024, 32} }, |
| 8311 | .block_erase = spi_block_erase_20, |
| 8312 | }, { |
| 8313 | .eraseblocks = { {32 * 1024, 4} }, |
| 8314 | .block_erase = spi_block_erase_52, |
| 8315 | }, { |
| 8316 | .eraseblocks = { {1024 * 128, 1} }, |
| 8317 | .block_erase = spi_block_erase_60, |
| 8318 | }, { |
| 8319 | .eraseblocks = { {1024 * 128, 1} }, |
| 8320 | .block_erase = spi_block_erase_c7, |
| 8321 | }, |
| 8322 | }, |
| 8323 | .unlock = spi_disable_blockprotect, |
| 8324 | .write = spi_aai_write, |
| 8325 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8326 | .voltage = {1650, 1950}, |
| 8327 | }, |
| 8328 | |
| 8329 | { |
| 8330 | .vendor = "SST", |
| 8331 | .name = "SST25WF020", |
| 8332 | .bustype = BUS_SPI, |
| 8333 | .manufacture_id = SST_ID, |
| 8334 | .model_id = SST_SST25WF020, |
| 8335 | .total_size = 256, |
| 8336 | .page_size = 256, |
| 8337 | .feature_bits = FEATURE_WRSR_EITHER, |
| 8338 | .tested = TEST_UNTESTED, |
| 8339 | .probe = probe_spi_rdid, |
| 8340 | .probe_timing = TIMING_ZERO, |
| 8341 | .block_erasers = |
| 8342 | { |
| 8343 | { |
| 8344 | .eraseblocks = { {4 * 1024, 64} }, |
| 8345 | .block_erase = spi_block_erase_20, |
| 8346 | }, { |
| 8347 | .eraseblocks = { {32 * 1024, 8} }, |
| 8348 | .block_erase = spi_block_erase_52, |
| 8349 | }, { |
| 8350 | .eraseblocks = { {64 * 1024, 4} }, |
| 8351 | .block_erase = spi_block_erase_d8, |
| 8352 | }, { |
| 8353 | .eraseblocks = { {1024 * 256, 1} }, |
| 8354 | .block_erase = spi_block_erase_60, |
| 8355 | }, { |
| 8356 | .eraseblocks = { {1024 * 256, 1} }, |
| 8357 | .block_erase = spi_block_erase_c7, |
| 8358 | }, |
| 8359 | }, |
| 8360 | .unlock = spi_disable_blockprotect, |
| 8361 | .write = spi_aai_write, |
| 8362 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8363 | .voltage = {1650, 1950}, |
| 8364 | }, |
| 8365 | |
| 8366 | { |
| 8367 | .vendor = "SST", |
| 8368 | .name = "SST25WF040", |
| 8369 | .bustype = BUS_SPI, |
| 8370 | .manufacture_id = SST_ID, |
| 8371 | .model_id = SST_SST25WF040, |
| 8372 | .total_size = 512, |
| 8373 | .page_size = 256, |
| 8374 | .feature_bits = FEATURE_WRSR_EITHER, |
| 8375 | .tested = TEST_UNTESTED, |
| 8376 | .probe = probe_spi_rdid, |
| 8377 | .probe_timing = TIMING_ZERO, |
| 8378 | .block_erasers = |
| 8379 | { |
| 8380 | { |
| 8381 | .eraseblocks = { {4 * 1024, 128} }, |
| 8382 | .block_erase = spi_block_erase_20, |
| 8383 | }, { |
| 8384 | .eraseblocks = { {32 * 1024, 16} }, |
| 8385 | .block_erase = spi_block_erase_52, |
| 8386 | }, { |
| 8387 | .eraseblocks = { {64 * 1024, 8} }, |
| 8388 | .block_erase = spi_block_erase_d8, |
| 8389 | }, { |
| 8390 | .eraseblocks = { {1024 * 512, 1} }, |
| 8391 | .block_erase = spi_block_erase_60, |
| 8392 | }, { |
| 8393 | .eraseblocks = { {1024 * 512, 1} }, |
| 8394 | .block_erase = spi_block_erase_c7, |
| 8395 | }, |
| 8396 | }, |
| 8397 | .unlock = spi_disable_blockprotect, |
| 8398 | .write = spi_aai_write, |
| 8399 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8400 | .voltage = {1650, 1950}, |
| 8401 | }, |
| 8402 | |
| 8403 | { |
| 8404 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8405 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8406 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8407 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8408 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8409 | .total_size = 512, |
| 8410 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8411 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8412 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8413 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8414 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8415 | .block_erasers = |
| 8416 | { |
| 8417 | { |
| 8418 | .eraseblocks = { {128, 4096} }, |
| 8419 | .block_erase = erase_sector_28sf040, |
| 8420 | }, { |
| 8421 | .eraseblocks = { {512 * 1024, 1} }, |
| 8422 | .block_erase = erase_chip_28sf040, |
| 8423 | } |
| 8424 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8425 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8426 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8427 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8428 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8429 | }, |
| 8430 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8431 | { |
| 8432 | .vendor = "SST", |
| 8433 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8434 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8435 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8436 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8437 | .total_size = 128, |
| 8438 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8439 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8440 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8441 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8442 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8443 | .block_erasers = |
| 8444 | { |
| 8445 | { |
| 8446 | .eraseblocks = { {128 * 1024, 1} }, |
| 8447 | .block_erase = erase_chip_block_jedec, |
| 8448 | } |
| 8449 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8450 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8451 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8452 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8453 | }, |
| 8454 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8455 | { |
| 8456 | .vendor = "SST", |
| 8457 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8458 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8459 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8460 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8461 | .total_size = 128, |
| 8462 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8463 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8464 | .tested = TEST_UNTESTED, |
| 8465 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8466 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8467 | .block_erasers = |
| 8468 | { |
| 8469 | { |
| 8470 | .eraseblocks = { {128 * 1024, 1} }, |
| 8471 | .block_erase = erase_chip_block_jedec, |
| 8472 | } |
| 8473 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8474 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8475 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8476 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8477 | }, |
| 8478 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8479 | { |
| 8480 | .vendor = "SST", |
| 8481 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8482 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8483 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8484 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8485 | .total_size = 256, |
| 8486 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8487 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8488 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8489 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8490 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8491 | .block_erasers = |
| 8492 | { |
| 8493 | { |
| 8494 | .eraseblocks = { {256 * 1024, 1} }, |
| 8495 | .block_erase = erase_chip_block_jedec, |
| 8496 | } |
| 8497 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8498 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8499 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8500 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8501 | }, |
| 8502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8503 | { |
| 8504 | .vendor = "SST", |
| 8505 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8506 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8507 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8508 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8509 | .total_size = 256, |
| 8510 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8511 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8512 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8513 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8514 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8515 | .block_erasers = |
| 8516 | { |
| 8517 | { |
| 8518 | .eraseblocks = { {256 * 1024, 1} }, |
| 8519 | .block_erase = erase_chip_block_jedec, |
| 8520 | } |
| 8521 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8522 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8523 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8524 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8525 | }, |
| 8526 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8527 | { |
| 8528 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8529 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8530 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8531 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8532 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8533 | .total_size = 64, |
| 8534 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8535 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 8536 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8537 | .probe = probe_jedec, |
| 8538 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8539 | .block_erasers = |
| 8540 | { |
| 8541 | { |
| 8542 | .eraseblocks = { {4 * 1024, 16} }, |
| 8543 | .block_erase = erase_sector_jedec, |
| 8544 | }, { |
| 8545 | .eraseblocks = { {64 * 1024, 1} }, |
| 8546 | .block_erase = erase_chip_block_jedec, |
| 8547 | } |
| 8548 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8549 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8550 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8551 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8552 | }, |
| 8553 | |
| 8554 | { |
| 8555 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8556 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8557 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8558 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8559 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8560 | .total_size = 128, |
| 8561 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8562 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8563 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8564 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8565 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8566 | .block_erasers = |
| 8567 | { |
| 8568 | { |
| 8569 | .eraseblocks = { {4 * 1024, 32} }, |
| 8570 | .block_erase = erase_sector_jedec, |
| 8571 | }, { |
| 8572 | .eraseblocks = { {128 * 1024, 1} }, |
| 8573 | .block_erase = erase_chip_block_jedec, |
| 8574 | } |
| 8575 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8576 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8577 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8578 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8579 | }, |
| 8580 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8581 | { |
| 8582 | .vendor = "SST", |
| 8583 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8584 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8585 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8586 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8587 | .total_size = 256, |
| 8588 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8589 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 8590 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8591 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8592 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8593 | .block_erasers = |
| 8594 | { |
| 8595 | { |
| 8596 | .eraseblocks = { {4 * 1024, 64} }, |
| 8597 | .block_erase = erase_sector_jedec, |
| 8598 | }, { |
| 8599 | .eraseblocks = { {256 * 1024, 1} }, |
| 8600 | .block_erase = erase_chip_block_jedec, |
| 8601 | } |
| 8602 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8603 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8604 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8605 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8606 | }, |
| 8607 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8608 | { |
| 8609 | .vendor = "SST", |
| 8610 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8611 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8612 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8613 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8614 | .total_size = 512, |
| 8615 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8616 | .feature_bits = FEATURE_EITHER_RESET, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 8617 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8618 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8619 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8620 | .block_erasers = |
| 8621 | { |
| 8622 | { |
| 8623 | .eraseblocks = { {4 * 1024, 128} }, |
| 8624 | .block_erase = erase_sector_jedec, |
| 8625 | }, { |
| 8626 | .eraseblocks = { {512 * 1024, 1} }, |
| 8627 | .block_erase = erase_chip_block_jedec, |
| 8628 | } |
| 8629 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8630 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8631 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8632 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8633 | }, |
| 8634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8635 | { |
| 8636 | .vendor = "SST", |
| 8637 | .name = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8638 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8639 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8640 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8641 | .total_size = 64, |
| 8642 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8643 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 8644 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8645 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8646 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8647 | .block_erasers = |
| 8648 | { |
| 8649 | { |
| 8650 | .eraseblocks = { {4 * 1024, 16} }, |
| 8651 | .block_erase = erase_sector_jedec, |
| 8652 | }, { |
| 8653 | .eraseblocks = { {64 * 1024, 1} }, |
| 8654 | .block_erase = erase_chip_block_jedec, |
| 8655 | } |
| 8656 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8657 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8658 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8659 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8660 | }, |
| 8661 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8662 | { |
| 8663 | .vendor = "SST", |
| 8664 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8665 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8666 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8667 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8668 | .total_size = 128, |
| 8669 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8670 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 8671 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8672 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8673 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8674 | .block_erasers = |
| 8675 | { |
| 8676 | { |
| 8677 | .eraseblocks = { {4 * 1024, 32} }, |
| 8678 | .block_erase = erase_sector_jedec, |
| 8679 | }, { |
| 8680 | .eraseblocks = { {128 * 1024, 1} }, |
| 8681 | .block_erase = erase_chip_block_jedec, |
| 8682 | } |
| 8683 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8684 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8685 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8686 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8687 | }, |
| 8688 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8689 | { |
| 8690 | .vendor = "SST", |
| 8691 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8692 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8693 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8694 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8695 | .total_size = 256, |
| 8696 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8697 | .feature_bits = FEATURE_EITHER_RESET, |
| 8698 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8699 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8700 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8701 | .block_erasers = |
| 8702 | { |
| 8703 | { |
| 8704 | .eraseblocks = { {4 * 1024, 64} }, |
| 8705 | .block_erase = erase_sector_jedec, |
| 8706 | }, { |
| 8707 | .eraseblocks = { {256 * 1024, 1} }, |
| 8708 | .block_erase = erase_chip_block_jedec, |
| 8709 | } |
| 8710 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8711 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8712 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8713 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8714 | }, |
| 8715 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8716 | { |
| 8717 | .vendor = "SST", |
| 8718 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8719 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8720 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8721 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8722 | .total_size = 512, |
| 8723 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8724 | .feature_bits = FEATURE_EITHER_RESET, |
| 8725 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8726 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8727 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8728 | .block_erasers = |
| 8729 | { |
| 8730 | { |
| 8731 | .eraseblocks = { {4 * 1024, 128} }, |
| 8732 | .block_erase = erase_sector_jedec, |
| 8733 | }, { |
| 8734 | .eraseblocks = { {512 * 1024, 1} }, |
| 8735 | .block_erase = erase_chip_block_jedec, |
| 8736 | } |
| 8737 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8738 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8739 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8740 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 8741 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8742 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8743 | { |
| 8744 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8745 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8746 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8747 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8748 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8749 | .total_size = 1024, |
| 8750 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8751 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8752 | .tested = TEST_UNTESTED, |
| 8753 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8754 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8755 | .block_erasers = |
| 8756 | { |
| 8757 | { |
| 8758 | .eraseblocks = { {4 * 1024, 256} }, |
| 8759 | .block_erase = erase_sector_jedec, |
| 8760 | }, { |
| 8761 | .eraseblocks = { {64 * 1024, 16} }, |
| 8762 | .block_erase = erase_block_jedec, |
| 8763 | }, { |
| 8764 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8765 | .block_erase = erase_chip_block_jedec, |
| 8766 | } |
| 8767 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8768 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8769 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8770 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8771 | }, |
| 8772 | |
| 8773 | { |
| 8774 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8775 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8776 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8777 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8778 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8779 | .total_size = 256, |
| 8780 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8781 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8782 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8783 | .probe = probe_jedec, |
| 8784 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8785 | .block_erasers = |
| 8786 | { |
| 8787 | { |
| 8788 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8789 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8790 | }, { |
| 8791 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8792 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8793 | }, { |
| 8794 | .eraseblocks = { {256 * 1024, 1} }, |
| 8795 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 8796 | } |
| 8797 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8798 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8799 | .unlock = unlock_sst_fwhub, |
| 8800 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8801 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8802 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8803 | }, |
| 8804 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8805 | { |
| 8806 | .vendor = "SST", |
| 8807 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8808 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8809 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8810 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8811 | .total_size = 384, |
| 8812 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8813 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 8814 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8815 | .probe = probe_jedec, |
| 8816 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8817 | .block_erasers = |
| 8818 | { |
| 8819 | { |
| 8820 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8821 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8822 | }, { |
| 8823 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8824 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8825 | }, { |
| 8826 | .eraseblocks = { {384 * 1024, 1} }, |
| 8827 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 8828 | } |
| 8829 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8830 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8831 | .unlock = unlock_sst_fwhub, |
| 8832 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8833 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8834 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8835 | }, |
| 8836 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8837 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8838 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 8839 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 8840 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8841 | .vendor = "SST", |
| 8842 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8843 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8844 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8845 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8846 | .total_size = 512, |
| 8847 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8848 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8849 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8850 | .probe = probe_jedec, |
| 8851 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8852 | .block_erasers = |
| 8853 | { |
| 8854 | { |
| 8855 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8856 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8857 | }, { |
| 8858 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8859 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8860 | }, { |
| 8861 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8862 | .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] | 8863 | }, |
| 8864 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8865 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8866 | .unlock = unlock_sst_fwhub, |
| 8867 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8868 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8869 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8870 | }, |
| 8871 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8872 | { |
| 8873 | .vendor = "SST", |
| 8874 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8875 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8876 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8877 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8878 | .total_size = 512, |
| 8879 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8880 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8881 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8882 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8883 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8884 | .block_erasers = |
| 8885 | { |
| 8886 | { |
| 8887 | .eraseblocks = { {4 * 1024, 128} }, |
| 8888 | .block_erase = erase_sector_49lfxxxc, |
| 8889 | }, { |
| 8890 | .eraseblocks = { |
| 8891 | {64 * 1024, 7}, |
| 8892 | {32 * 1024, 1}, |
| 8893 | {8 * 1024, 2}, |
| 8894 | {16 * 1024, 1}, |
| 8895 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8896 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8897 | } |
| 8898 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8899 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8900 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8901 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8902 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8903 | }, |
| 8904 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8905 | { |
| 8906 | .vendor = "SST", |
| 8907 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8908 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8909 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8910 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8911 | .total_size = 1024, |
| 8912 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8913 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8914 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8915 | .probe = probe_jedec, |
| 8916 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8917 | .block_erasers = |
| 8918 | { |
| 8919 | { |
| 8920 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8921 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8922 | }, { |
| 8923 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8924 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8925 | }, { |
| 8926 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8927 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 8928 | } |
| 8929 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8930 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8931 | .unlock = unlock_sst_fwhub, |
| 8932 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8933 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8934 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8935 | }, |
| 8936 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8937 | { |
| 8938 | .vendor = "SST", |
| 8939 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8940 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8941 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8942 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8943 | .total_size = 1024, |
| 8944 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8945 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8946 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8947 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8948 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8949 | .block_erasers = |
| 8950 | { |
| 8951 | { |
| 8952 | .eraseblocks = { {4 * 1024, 256} }, |
| 8953 | .block_erase = erase_sector_49lfxxxc, |
| 8954 | }, { |
| 8955 | .eraseblocks = { |
| 8956 | {64 * 1024, 15}, |
| 8957 | {32 * 1024, 1}, |
| 8958 | {8 * 1024, 2}, |
| 8959 | {16 * 1024, 1}, |
| 8960 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8961 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8962 | } |
| 8963 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8964 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8965 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8966 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8967 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8968 | }, |
| 8969 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8970 | { |
| 8971 | .vendor = "SST", |
| 8972 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8973 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8974 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8975 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8976 | .total_size = 2048, |
| 8977 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8978 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 8979 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8980 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8981 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8982 | .block_erasers = |
| 8983 | { |
| 8984 | { |
| 8985 | .eraseblocks = { {4 * 1024, 512} }, |
| 8986 | .block_erase = erase_sector_49lfxxxc, |
| 8987 | }, { |
| 8988 | .eraseblocks = { |
| 8989 | {64 * 1024, 31}, |
| 8990 | {32 * 1024, 1}, |
| 8991 | {8 * 1024, 2}, |
| 8992 | {16 * 1024, 1}, |
| 8993 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8994 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8995 | } |
| 8996 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8997 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8998 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8999 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9000 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9001 | }, |
| 9002 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9003 | { |
| 9004 | .vendor = "SST", |
| 9005 | .name = "SST49LF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9006 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9007 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9008 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9009 | .total_size = 256, |
| 9010 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9011 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 9012 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9013 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9014 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9015 | .block_erasers = |
| 9016 | { |
| 9017 | { |
| 9018 | .eraseblocks = { {4 * 1024, 64} }, |
| 9019 | .block_erase = erase_sector_jedec, |
| 9020 | }, { |
| 9021 | .eraseblocks = { {16 * 1024, 16} }, |
| 9022 | .block_erase = erase_block_jedec, |
| 9023 | }, { |
| 9024 | .eraseblocks = { {256 * 1024, 1} }, |
| 9025 | .block_erase = NULL, |
| 9026 | } |
| 9027 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9028 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9029 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9030 | .voltage = {3000, 3600}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 9031 | }, |
| 9032 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9033 | { |
| 9034 | .vendor = "SST", |
| 9035 | .name = "SST49LF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9036 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9037 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9038 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9039 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 9040 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9041 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9042 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9043 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9044 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9045 | .block_erasers = |
| 9046 | { |
| 9047 | { |
| 9048 | .eraseblocks = { {4 * 1024, 64} }, |
| 9049 | .block_erase = erase_sector_jedec, |
| 9050 | }, { |
| 9051 | .eraseblocks = { {16 * 1024, 16} }, |
| 9052 | .block_erase = erase_block_jedec, |
| 9053 | }, { |
| 9054 | .eraseblocks = { {256 * 1024, 1} }, |
| 9055 | .block_erase = NULL, |
| 9056 | } |
| 9057 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9058 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9059 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9060 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9061 | }, |
| 9062 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9063 | { |
| 9064 | .vendor = "SST", |
| 9065 | .name = "SST49LF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9066 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9067 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9068 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9069 | .total_size = 512, |
| 9070 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9071 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9072 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9073 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9074 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9075 | .block_erasers = |
| 9076 | { |
| 9077 | { |
| 9078 | .eraseblocks = { {4 * 1024, 128} }, |
| 9079 | .block_erase = erase_sector_jedec, |
| 9080 | }, { |
| 9081 | .eraseblocks = { {64 * 1024, 8} }, |
| 9082 | .block_erase = erase_block_jedec, |
| 9083 | }, { |
| 9084 | .eraseblocks = { {512 * 1024, 1} }, |
| 9085 | .block_erase = NULL, |
| 9086 | } |
| 9087 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9088 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9089 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9090 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9091 | }, |
| 9092 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9093 | { |
| 9094 | .vendor = "SST", |
| 9095 | .name = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9096 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9097 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9098 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9099 | .total_size = 512, |
| 9100 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 9101 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 9102 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9103 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9104 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9105 | .block_erasers = |
| 9106 | { |
| 9107 | { |
| 9108 | .eraseblocks = { {4 * 1024, 128} }, |
| 9109 | .block_erase = erase_sector_jedec, |
| 9110 | }, { |
| 9111 | .eraseblocks = { {64 * 1024, 8} }, |
| 9112 | .block_erase = erase_block_jedec, |
| 9113 | }, { |
| 9114 | .eraseblocks = { {512 * 1024, 1} }, |
| 9115 | .block_erase = NULL, |
| 9116 | } |
| 9117 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 9118 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9119 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9120 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9121 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9122 | }, |
| 9123 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9124 | { |
| 9125 | .vendor = "SST", |
| 9126 | .name = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9127 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9128 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9129 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9130 | .total_size = 1024, |
| 9131 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9132 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 9133 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9134 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 9135 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9136 | .block_erasers = |
| 9137 | { |
| 9138 | { |
| 9139 | .eraseblocks = { {4 * 1024, 256} }, |
| 9140 | .block_erase = erase_sector_jedec, |
| 9141 | }, { |
| 9142 | .eraseblocks = { {64 * 1024, 16} }, |
| 9143 | .block_erase = erase_block_jedec, |
| 9144 | }, { |
| 9145 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9146 | .block_erase = NULL, |
| 9147 | } |
| 9148 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9149 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9150 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9151 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9152 | }, |
| 9153 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9154 | { |
| 9155 | .vendor = "SST", |
| 9156 | .name = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9157 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9158 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9159 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9160 | .total_size = 2048, |
| 9161 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9162 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9163 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9164 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 9165 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9166 | .block_erasers = |
| 9167 | { |
| 9168 | { |
| 9169 | .eraseblocks = { {4 * 1024, 512} }, |
| 9170 | .block_erase = erase_sector_49lfxxxc, |
| 9171 | }, { |
| 9172 | .eraseblocks = { |
| 9173 | {64 * 1024, 31}, |
| 9174 | {32 * 1024, 1}, |
| 9175 | {8 * 1024, 2}, |
| 9176 | {16 * 1024, 1}, |
| 9177 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 9178 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 9179 | } |
| 9180 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 9181 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 9182 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9183 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9184 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9185 | }, |
| 9186 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9187 | { |
| 9188 | .vendor = "ST", |
| 9189 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9190 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9191 | .manufacture_id = ST_ID, |
| 9192 | .model_id = ST_M25P05A, |
| 9193 | .total_size = 64, |
| 9194 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9195 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9196 | .tested = TEST_UNTESTED, |
| 9197 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9198 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9199 | .block_erasers = |
| 9200 | { |
| 9201 | { |
| 9202 | .eraseblocks = { {32 * 1024, 2} }, |
| 9203 | .block_erase = spi_block_erase_d8, |
| 9204 | }, { |
| 9205 | .eraseblocks = { {64 * 1024, 1} }, |
| 9206 | .block_erase = spi_block_erase_c7, |
| 9207 | } |
| 9208 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9209 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9210 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9211 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9212 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9213 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9214 | }, |
| 9215 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9216 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 9217 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 9218 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res1 |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9219 | * only is successful if RDID does not work. |
| 9220 | */ |
| 9221 | { |
| 9222 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 9223 | .name = "M25P05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9224 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 9225 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9226 | .model_id = ST_M25P05_RES, |
| 9227 | .total_size = 64, |
| 9228 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9229 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9230 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 9231 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9232 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9233 | .block_erasers = |
| 9234 | { |
| 9235 | { |
| 9236 | .eraseblocks = { {32 * 1024, 2} }, |
| 9237 | .block_erase = spi_block_erase_d8, |
| 9238 | }, { |
| 9239 | .eraseblocks = { {64 * 1024, 1} }, |
| 9240 | .block_erase = spi_block_erase_c7, |
| 9241 | } |
| 9242 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9243 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9244 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9245 | .write = spi_chip_write_1, /* 128 */ |
| 9246 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9247 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9248 | }, |
| 9249 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9250 | { |
| 9251 | .vendor = "ST", |
| 9252 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9253 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9254 | .manufacture_id = ST_ID, |
| 9255 | .model_id = ST_M25P10A, |
| 9256 | .total_size = 128, |
| 9257 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9258 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9259 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9260 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9261 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9262 | .block_erasers = |
| 9263 | { |
| 9264 | { |
| 9265 | .eraseblocks = { {32 * 1024, 4} }, |
| 9266 | .block_erase = spi_block_erase_d8, |
| 9267 | }, { |
| 9268 | .eraseblocks = { {128 * 1024, 1} }, |
| 9269 | .block_erase = spi_block_erase_c7, |
| 9270 | } |
| 9271 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9272 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9273 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9274 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9275 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9276 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9277 | }, |
| 9278 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9279 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 9280 | { |
| 9281 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 9282 | .name = "M25P10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9283 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 9284 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9285 | .model_id = ST_M25P10_RES, |
| 9286 | .total_size = 128, |
| 9287 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9288 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9289 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 9290 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9291 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9292 | .block_erasers = |
| 9293 | { |
| 9294 | { |
| 9295 | .eraseblocks = { {32 * 1024, 4} }, |
| 9296 | .block_erase = spi_block_erase_d8, |
| 9297 | }, { |
| 9298 | .eraseblocks = { {128 * 1024, 1} }, |
| 9299 | .block_erase = spi_block_erase_c7, |
| 9300 | } |
| 9301 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9302 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9303 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9304 | .write = spi_chip_write_1, /* 128 */ |
| 9305 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9306 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 9307 | }, |
| 9308 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9309 | { |
Kyösti Mälkki | c54adc5 | 2013-03-04 01:20:28 +0000 | [diff] [blame] | 9310 | .vendor = "ST", /* Numonyx */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9311 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9312 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9313 | .manufacture_id = ST_ID, |
| 9314 | .model_id = ST_M25P20, |
| 9315 | .total_size = 256, |
| 9316 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9317 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9318 | .tested = TEST_UNTESTED, |
| 9319 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9320 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9321 | .block_erasers = |
| 9322 | { |
| 9323 | { |
| 9324 | .eraseblocks = { {64 * 1024, 4} }, |
| 9325 | .block_erase = spi_block_erase_d8, |
| 9326 | }, { |
| 9327 | .eraseblocks = { {256 * 1024, 1} }, |
| 9328 | .block_erase = spi_block_erase_c7, |
| 9329 | } |
| 9330 | }, |
Kyösti Mälkki | c54adc5 | 2013-03-04 01:20:28 +0000 | [diff] [blame] | 9331 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9332 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9333 | .write = spi_chip_write_256, |
Kyösti Mälkki | c54adc5 | 2013-03-04 01:20:28 +0000 | [diff] [blame] | 9334 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 9335 | .voltage = {2700, 3600}, |
| 9336 | }, |
| 9337 | |
| 9338 | { |
| 9339 | .vendor = "ST", |
| 9340 | .name = "M25P20-old", |
| 9341 | .bustype = BUS_SPI, |
| 9342 | .manufacture_id = 0, /* Not used. */ |
| 9343 | .model_id = ST_M25P20_RES, |
| 9344 | .total_size = 256, |
| 9345 | .page_size = 256, |
| 9346 | .feature_bits = FEATURE_WRSR_WREN, |
| 9347 | .tested = TEST_OK_PREW, |
| 9348 | .probe = probe_spi_res1, |
| 9349 | .probe_timing = TIMING_ZERO, |
| 9350 | .block_erasers = |
| 9351 | { |
| 9352 | { |
| 9353 | .eraseblocks = { {64 * 1024, 4} }, |
| 9354 | .block_erase = spi_block_erase_d8, |
| 9355 | }, { |
| 9356 | .eraseblocks = { {256 * 1024, 1} }, |
| 9357 | .block_erase = spi_block_erase_c7, |
| 9358 | } |
| 9359 | }, |
| 9360 | .printlock = spi_prettyprint_status_register_default_bp1, |
| 9361 | .unlock = spi_disable_blockprotect, |
| 9362 | .write = spi_chip_write_256, |
| 9363 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9364 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9365 | }, |
| 9366 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9367 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 9368 | .vendor = "ST", /* Numonyx */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9369 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9370 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9371 | .manufacture_id = ST_ID, |
| 9372 | .model_id = ST_M25P40, |
| 9373 | .total_size = 512, |
| 9374 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9375 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 9376 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9377 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9378 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9379 | .block_erasers = |
| 9380 | { |
| 9381 | { |
| 9382 | .eraseblocks = { {64 * 1024, 8} }, |
| 9383 | .block_erase = spi_block_erase_d8, |
| 9384 | }, { |
| 9385 | .eraseblocks = { {512 * 1024, 1} }, |
| 9386 | .block_erase = spi_block_erase_c7, |
| 9387 | } |
| 9388 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9389 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9390 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9391 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9392 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9393 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9394 | }, |
| 9395 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9396 | { |
| 9397 | .vendor = "ST", |
| 9398 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9399 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 9400 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9401 | .model_id = ST_M25P40_RES, |
| 9402 | .total_size = 512, |
| 9403 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9404 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9405 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 9406 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9407 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9408 | .block_erasers = |
| 9409 | { |
| 9410 | { |
| 9411 | .eraseblocks = { {64 * 1024, 8} }, |
| 9412 | .block_erase = spi_block_erase_d8, |
| 9413 | }, { |
| 9414 | .eraseblocks = { {512 * 1024, 1} }, |
| 9415 | .block_erase = spi_block_erase_c7, |
| 9416 | } |
| 9417 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9418 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9419 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9420 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9421 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9422 | }, |
| 9423 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9424 | { |
| 9425 | .vendor = "ST", |
| 9426 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9427 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9428 | .manufacture_id = ST_ID, |
| 9429 | .model_id = ST_M25P80, |
| 9430 | .total_size = 1024, |
| 9431 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9432 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 9433 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9434 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9435 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9436 | .block_erasers = |
| 9437 | { |
| 9438 | { |
| 9439 | .eraseblocks = { {64 * 1024, 16} }, |
| 9440 | .block_erase = spi_block_erase_d8, |
| 9441 | }, { |
| 9442 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9443 | .block_erase = spi_block_erase_c7, |
| 9444 | } |
| 9445 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9446 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9447 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9448 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9449 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9450 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9451 | }, |
| 9452 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9453 | { |
| 9454 | .vendor = "ST", |
| 9455 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9456 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9457 | .manufacture_id = ST_ID, |
| 9458 | .model_id = ST_M25P16, |
| 9459 | .total_size = 2048, |
| 9460 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9461 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9462 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9463 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9464 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9465 | .block_erasers = |
| 9466 | { |
| 9467 | { |
| 9468 | .eraseblocks = { {64 * 1024, 32} }, |
| 9469 | .block_erase = spi_block_erase_d8, |
| 9470 | }, { |
| 9471 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 9472 | .block_erase = spi_block_erase_c7, |
| 9473 | } |
| 9474 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9475 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9476 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9477 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9478 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9479 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9480 | }, |
| 9481 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9482 | { |
| 9483 | .vendor = "ST", |
| 9484 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9485 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9486 | .manufacture_id = ST_ID, |
| 9487 | .model_id = ST_M25P32, |
| 9488 | .total_size = 4096, |
| 9489 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9490 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 9491 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9492 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9493 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9494 | .block_erasers = |
| 9495 | { |
| 9496 | { |
| 9497 | .eraseblocks = { {64 * 1024, 64} }, |
| 9498 | .block_erase = spi_block_erase_d8, |
| 9499 | }, { |
| 9500 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 9501 | .block_erase = spi_block_erase_c7, |
| 9502 | } |
| 9503 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9504 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9505 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9506 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9507 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9508 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9509 | }, |
| 9510 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9511 | { |
| 9512 | .vendor = "ST", |
| 9513 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9514 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9515 | .manufacture_id = ST_ID, |
| 9516 | .model_id = ST_M25P64, |
| 9517 | .total_size = 8192, |
| 9518 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9519 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 9520 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9521 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9522 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9523 | .block_erasers = |
| 9524 | { |
| 9525 | { |
| 9526 | .eraseblocks = { {64 * 1024, 128} }, |
| 9527 | .block_erase = spi_block_erase_d8, |
| 9528 | }, { |
| 9529 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 9530 | .block_erase = spi_block_erase_c7, |
| 9531 | } |
| 9532 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9533 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9534 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9535 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9536 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9537 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9538 | }, |
| 9539 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9540 | { |
| 9541 | .vendor = "ST", |
| 9542 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9543 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9544 | .manufacture_id = ST_ID, |
| 9545 | .model_id = ST_M25P128, |
| 9546 | .total_size = 16384, |
| 9547 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9548 | .feature_bits = FEATURE_WRSR_WREN, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9549 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9550 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9551 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9552 | .block_erasers = |
| 9553 | { |
| 9554 | { |
| 9555 | .eraseblocks = { {256 * 1024, 64} }, |
| 9556 | .block_erase = spi_block_erase_d8, |
| 9557 | }, { |
| 9558 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 9559 | .block_erase = spi_block_erase_c7, |
| 9560 | } |
| 9561 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9562 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9563 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9564 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9565 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9566 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9567 | }, |
| 9568 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9569 | { |
| 9570 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9571 | .name = "M25PX16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9572 | .bustype = BUS_SPI, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9573 | .manufacture_id = ST_ID, |
| 9574 | .model_id = ST_M25PX16, |
| 9575 | .total_size = 2048, |
| 9576 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 9577 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9578 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9579 | .tested = TEST_OK_PREW, |
| 9580 | .probe = probe_spi_rdid, |
| 9581 | .probe_timing = TIMING_ZERO, |
| 9582 | .block_erasers = |
| 9583 | { |
| 9584 | { |
| 9585 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 9586 | .block_erase = spi_block_erase_20, |
| 9587 | }, { |
| 9588 | .eraseblocks = { {64 * 1024, 32} }, |
| 9589 | .block_erase = spi_block_erase_d8, |
| 9590 | }, { |
| 9591 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 9592 | .block_erase = spi_block_erase_c7, |
| 9593 | } |
| 9594 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9595 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9596 | .unlock = spi_disable_blockprotect, |
| 9597 | .write = spi_chip_write_256, |
| 9598 | .read = spi_chip_read, |
| 9599 | }, |
| 9600 | |
| 9601 | { |
| 9602 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9603 | .name = "M25PX32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9604 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9605 | .manufacture_id = ST_ID, |
| 9606 | .model_id = ST_M25PX32, |
| 9607 | .total_size = 4096, |
| 9608 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9609 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9610 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9611 | .probe = probe_spi_rdid, |
| 9612 | .probe_timing = TIMING_ZERO, |
| 9613 | .block_erasers = |
| 9614 | { |
| 9615 | { |
| 9616 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 9617 | .block_erase = spi_block_erase_20, |
| 9618 | }, { |
| 9619 | .eraseblocks = { {64 * 1024, 64} }, |
| 9620 | .block_erase = spi_block_erase_d8, |
| 9621 | }, { |
| 9622 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 9623 | .block_erase = spi_block_erase_c7, |
| 9624 | } |
| 9625 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9626 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9627 | .unlock = spi_disable_blockprotect, |
| 9628 | .write = spi_chip_write_256, |
| 9629 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9630 | .voltage = {2700, 3600}, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9631 | }, |
| 9632 | |
| 9633 | { |
| 9634 | .vendor = "ST", |
| 9635 | .name = "M25PX64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9636 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9637 | .manufacture_id = ST_ID, |
| 9638 | .model_id = ST_M25PX64, |
| 9639 | .total_size = 8192, |
| 9640 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9641 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9642 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9643 | .probe = probe_spi_rdid, |
| 9644 | .probe_timing = TIMING_ZERO, |
| 9645 | .block_erasers = |
| 9646 | { |
| 9647 | { |
| 9648 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 9649 | .block_erase = spi_block_erase_20, |
| 9650 | }, { |
| 9651 | .eraseblocks = { {64 * 1024, 128} }, |
| 9652 | .block_erase = spi_block_erase_d8, |
| 9653 | }, { |
| 9654 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 9655 | .block_erase = spi_block_erase_c7, |
| 9656 | } |
| 9657 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9658 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9659 | .unlock = spi_disable_blockprotect, |
| 9660 | .write = spi_chip_write_256, |
| 9661 | .read = spi_chip_read, |
| 9662 | }, |
| 9663 | |
| 9664 | { |
| 9665 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9666 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9667 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9668 | .manufacture_id = ST_ID, |
| 9669 | .model_id = ST_M29F002B, |
| 9670 | .total_size = 256, |
| 9671 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9672 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9673 | .tested = TEST_UNTESTED, |
| 9674 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9675 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9676 | .block_erasers = |
| 9677 | { |
| 9678 | { |
| 9679 | .eraseblocks = { |
| 9680 | {16 * 1024, 1}, |
| 9681 | {8 * 1024, 2}, |
| 9682 | {32 * 1024, 1}, |
| 9683 | {64 * 1024, 3}, |
| 9684 | }, |
| 9685 | .block_erase = erase_sector_jedec, |
| 9686 | }, { |
| 9687 | .eraseblocks = { {256 * 1024, 1} }, |
| 9688 | .block_erase = erase_chip_block_jedec, |
| 9689 | } |
| 9690 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9691 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9692 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9693 | .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] | 9694 | }, |
| 9695 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9696 | { |
| 9697 | .vendor = "ST", |
| 9698 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9699 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9700 | .manufacture_id = ST_ID, |
| 9701 | .model_id = ST_M29F002T, |
| 9702 | .total_size = 256, |
| 9703 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9704 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 9705 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9706 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9707 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9708 | .block_erasers = |
| 9709 | { |
| 9710 | { |
| 9711 | .eraseblocks = { |
| 9712 | {64 * 1024, 3}, |
| 9713 | {32 * 1024, 1}, |
| 9714 | {8 * 1024, 2}, |
| 9715 | {16 * 1024, 1}, |
| 9716 | }, |
| 9717 | .block_erase = erase_sector_jedec, |
| 9718 | }, { |
| 9719 | .eraseblocks = { {256 * 1024, 1} }, |
| 9720 | .block_erase = erase_chip_block_jedec, |
| 9721 | } |
| 9722 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +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 | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9725 | .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] | 9726 | }, |
| 9727 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9728 | { |
| 9729 | .vendor = "ST", |
| 9730 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9731 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9732 | .manufacture_id = ST_ID, |
| 9733 | .model_id = ST_M29F040B, |
| 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_ADDR_2AA | FEATURE_EITHER_RESET, |
| 9737 | .tested = TEST_UNTESTED, |
| 9738 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 9739 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9740 | .block_erasers = |
| 9741 | { |
| 9742 | { |
| 9743 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9744 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9745 | }, { |
| 9746 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9747 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9748 | } |
| 9749 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9750 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9751 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9752 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9753 | }, |
| 9754 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9755 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9756 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9757 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9758 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9759 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9760 | .manufacture_id = ST_ID, |
| 9761 | .model_id = ST_M29F400BB, |
| 9762 | .total_size = 512, |
| 9763 | .page_size = 64 * 1024, |
| 9764 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 9765 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9766 | .probe = probe_m29f400bt, |
| 9767 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 9768 | .block_erasers = |
| 9769 | { |
| 9770 | { |
| 9771 | .eraseblocks = { |
| 9772 | {16 * 1024, 1}, |
| 9773 | {8 * 1024, 2}, |
| 9774 | {32 * 1024, 1}, |
| 9775 | {64 * 1024, 7}, |
| 9776 | }, |
| 9777 | .block_erase = block_erase_m29f400bt, |
| 9778 | }, { |
| 9779 | .eraseblocks = { {512 * 1024, 1} }, |
| 9780 | .block_erase = block_erase_chip_m29f400bt, |
| 9781 | } |
| 9782 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 9783 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9784 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9785 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9786 | }, |
| 9787 | { |
| 9788 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 9789 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9790 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9791 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9792 | .manufacture_id = ST_ID, |
| 9793 | .model_id = ST_M29F400BT, |
| 9794 | .total_size = 512, |
| 9795 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9796 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9797 | .tested = TEST_UNTESTED, |
| 9798 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 9799 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9800 | .block_erasers = |
| 9801 | { |
| 9802 | { |
| 9803 | .eraseblocks = { |
| 9804 | {64 * 1024, 7}, |
| 9805 | {32 * 1024, 1}, |
| 9806 | {8 * 1024, 2}, |
| 9807 | {16 * 1024, 1}, |
| 9808 | }, |
| 9809 | .block_erase = block_erase_m29f400bt, |
| 9810 | }, { |
| 9811 | .eraseblocks = { {512 * 1024, 1} }, |
| 9812 | .block_erase = block_erase_chip_m29f400bt, |
| 9813 | } |
| 9814 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9815 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9816 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9817 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9818 | }, |
| 9819 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9820 | { |
| 9821 | .vendor = "ST", |
| 9822 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9823 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9824 | .manufacture_id = ST_ID, |
| 9825 | .model_id = ST_M29W010B, |
| 9826 | .total_size = 128, |
| 9827 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9828 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9829 | .tested = TEST_UNTESTED, |
| 9830 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9831 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9832 | .block_erasers = |
| 9833 | { |
| 9834 | { |
| 9835 | .eraseblocks = { {16 * 1024, 8}, }, |
| 9836 | .block_erase = erase_sector_jedec, |
| 9837 | }, { |
| 9838 | .eraseblocks = { {128 * 1024, 1} }, |
| 9839 | .block_erase = erase_chip_block_jedec, |
| 9840 | } |
| 9841 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9842 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9843 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9844 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9845 | }, |
| 9846 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9847 | { |
| 9848 | .vendor = "ST", |
| 9849 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9850 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9851 | .manufacture_id = ST_ID, |
| 9852 | .model_id = ST_M29W040B, |
| 9853 | .total_size = 512, |
| 9854 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9855 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9856 | .tested = TEST_UNTESTED, |
| 9857 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9858 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9859 | .block_erasers = |
| 9860 | { |
| 9861 | { |
| 9862 | .eraseblocks = { {64 * 1024, 8}, }, |
| 9863 | .block_erase = erase_sector_jedec, |
| 9864 | }, { |
| 9865 | .eraseblocks = { {512 * 1024, 1} }, |
| 9866 | .block_erase = erase_chip_block_jedec, |
| 9867 | } |
| 9868 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9869 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9870 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9871 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9872 | }, |
| 9873 | |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9874 | { |
| 9875 | .vendor = "ST", |
| 9876 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9877 | .bustype = BUS_PARALLEL, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9878 | .manufacture_id = ST_ID, |
| 9879 | .model_id = ST_M29W512B, |
| 9880 | .total_size = 64, |
| 9881 | .page_size = 64 * 1024, |
| 9882 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9883 | .tested = TEST_OK_PRE, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9884 | .probe = probe_jedec, |
| 9885 | .probe_timing = TIMING_ZERO, |
| 9886 | .block_erasers = |
| 9887 | { |
| 9888 | { |
| 9889 | .eraseblocks = { {64 * 1024, 1} }, |
| 9890 | .block_erase = erase_chip_block_jedec, |
| 9891 | } |
| 9892 | }, |
| 9893 | .write = write_jedec_1, |
| 9894 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9895 | .voltage = {2700, 3600}, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9896 | }, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 9897 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9898 | { |
| 9899 | .vendor = "ST", |
| 9900 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9901 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9902 | .manufacture_id = ST_ID, |
| 9903 | .model_id = ST_M50FLW040A, |
| 9904 | .total_size = 512, |
| 9905 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9906 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9907 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9908 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 9909 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9910 | .block_erasers = |
| 9911 | { |
| 9912 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9913 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9914 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9915 | {64 * 1024, 5}, /* block */ |
| 9916 | {4 * 1024, 16}, /* sector */ |
| 9917 | {4 * 1024, 16}, /* sector */ |
| 9918 | }, |
| 9919 | .block_erase = NULL, |
| 9920 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9921 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9922 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9923 | } |
| 9924 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9925 | .unlock = unlock_stm50flw0x0x, |
| 9926 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9927 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9928 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9929 | }, |
| 9930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9931 | { |
| 9932 | .vendor = "ST", |
| 9933 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9934 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9935 | .manufacture_id = ST_ID, |
| 9936 | .model_id = ST_M50FLW040B, |
| 9937 | .total_size = 512, |
| 9938 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9939 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9940 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9941 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 9942 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9943 | .block_erasers = |
| 9944 | { |
| 9945 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9946 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9947 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9948 | {4 * 1024, 16}, /* sector */ |
| 9949 | {64 * 1024, 5}, /* block */ |
| 9950 | {4 * 1024, 16}, /* sector */ |
| 9951 | }, |
| 9952 | .block_erase = NULL, |
| 9953 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9954 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9955 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9956 | } |
| 9957 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9958 | .unlock = unlock_stm50flw0x0x, |
| 9959 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9960 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9961 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9962 | }, |
| 9963 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9964 | { |
| 9965 | .vendor = "ST", |
| 9966 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9967 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9968 | .manufacture_id = ST_ID, |
| 9969 | .model_id = ST_M50FLW080A, |
| 9970 | .total_size = 1024, |
| 9971 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9972 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9973 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9974 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 9975 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9976 | .block_erasers = |
| 9977 | { |
| 9978 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9979 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9980 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9981 | {64 * 1024, 13}, /* block */ |
| 9982 | {4 * 1024, 16}, /* sector */ |
| 9983 | {4 * 1024, 16}, /* sector */ |
| 9984 | }, |
| 9985 | .block_erase = NULL, |
| 9986 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9987 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9988 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9989 | } |
| 9990 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9991 | .unlock = unlock_stm50flw0x0x, |
| 9992 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9993 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9994 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9995 | }, |
| 9996 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9997 | { |
| 9998 | .vendor = "ST", |
| 9999 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10000 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10001 | .manufacture_id = ST_ID, |
| 10002 | .model_id = ST_M50FLW080B, |
| 10003 | .total_size = 1024, |
| 10004 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10005 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10006 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10007 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 10008 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10009 | .block_erasers = |
| 10010 | { |
| 10011 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 10012 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 10013 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 10014 | {4 * 1024, 16}, /* sector */ |
| 10015 | {64 * 1024, 13}, /* block */ |
| 10016 | {4 * 1024, 16}, /* sector */ |
| 10017 | }, |
| 10018 | .block_erase = NULL, |
| 10019 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10020 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10021 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10022 | } |
| 10023 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10024 | .unlock = unlock_stm50flw0x0x, |
| 10025 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10026 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10027 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10028 | }, |
| 10029 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10030 | { |
| 10031 | .vendor = "ST", |
| 10032 | .name = "M50FW002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10033 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10034 | .manufacture_id = ST_ID, |
| 10035 | .model_id = ST_M50FW002, |
| 10036 | .total_size = 256, |
| 10037 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10038 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10039 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10040 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 10041 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10042 | .block_erasers = |
| 10043 | { |
| 10044 | { |
| 10045 | .eraseblocks = { |
| 10046 | {64 * 1024, 3}, |
| 10047 | {32 * 1024, 1}, |
| 10048 | {8 * 1024, 2}, |
| 10049 | {16 * 1024, 1}, |
| 10050 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10051 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10052 | } |
| 10053 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10054 | .unlock = unlock_stm50flw0x0x, |
| 10055 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10056 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10057 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10058 | }, |
| 10059 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10060 | { |
| 10061 | .vendor = "ST", |
| 10062 | .name = "M50FW016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10063 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10064 | .manufacture_id = ST_ID, |
| 10065 | .model_id = ST_M50FW016, |
| 10066 | .total_size = 2048, |
| 10067 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10068 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10069 | .tested = TEST_UNTESTED, |
| 10070 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 10071 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10072 | .block_erasers = |
| 10073 | { |
| 10074 | { |
| 10075 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10076 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10077 | } |
| 10078 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10079 | .unlock = unlock_stm50flw0x0x, |
| 10080 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10081 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10082 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10083 | }, |
| 10084 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10085 | { |
| 10086 | .vendor = "ST", |
| 10087 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10088 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10089 | .manufacture_id = ST_ID, |
| 10090 | .model_id = ST_M50FW040, |
| 10091 | .total_size = 512, |
| 10092 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10093 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10094 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10095 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 10096 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10097 | .block_erasers = |
| 10098 | { |
| 10099 | { |
| 10100 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10101 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10102 | } |
| 10103 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10104 | .unlock = unlock_stm50flw0x0x, |
| 10105 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10106 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10107 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10108 | }, |
| 10109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10110 | { |
| 10111 | .vendor = "ST", |
| 10112 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10113 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10114 | .manufacture_id = ST_ID, |
| 10115 | .model_id = ST_M50FW080, |
| 10116 | .total_size = 1024, |
| 10117 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10118 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10119 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10120 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 10121 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10122 | .block_erasers = |
| 10123 | { |
| 10124 | { |
| 10125 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10126 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10127 | } |
| 10128 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10129 | .unlock = unlock_stm50flw0x0x, |
| 10130 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10131 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10132 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10133 | }, |
| 10134 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10135 | { |
| 10136 | .vendor = "ST", |
| 10137 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10138 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10139 | .manufacture_id = ST_ID, |
| 10140 | .model_id = ST_M50LPW116, |
| 10141 | .total_size = 2048, |
| 10142 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 10143 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10144 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10145 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10146 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10147 | .block_erasers = |
| 10148 | { |
| 10149 | { |
| 10150 | .eraseblocks = { |
| 10151 | {4 * 1024, 16}, |
| 10152 | {64 * 1024, 30}, |
| 10153 | {32 * 1024, 1}, |
| 10154 | {8 * 1024, 2}, |
| 10155 | {16 * 1024, 1}, |
| 10156 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10157 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10158 | } |
| 10159 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 10160 | .unlock = unlock_stm50flw0x0x, |
| 10161 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10162 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10163 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10164 | }, |
| 10165 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10166 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10167 | .vendor = "SyncMOS/MoselVitelic", |
| 10168 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10169 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10170 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10171 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10172 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10173 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10174 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10175 | .tested = TEST_UNTESTED, |
| 10176 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10177 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10178 | .block_erasers = |
| 10179 | { |
| 10180 | { |
| 10181 | .eraseblocks = { {512, 256} }, |
| 10182 | .block_erase = erase_sector_jedec, |
| 10183 | }, { |
| 10184 | .eraseblocks = { {128 * 1024, 1} }, |
| 10185 | .block_erase = erase_chip_block_jedec, |
| 10186 | }, |
| 10187 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10188 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10189 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10190 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10191 | }, |
| 10192 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10193 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10194 | .vendor = "SyncMOS/MoselVitelic", |
| 10195 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10196 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10197 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10198 | .model_id = SM_MVC_29C51001T, |
| 10199 | .total_size = 128, |
| 10200 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10201 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10202 | .tested = TEST_UNTESTED, |
| 10203 | .probe = probe_jedec, |
| 10204 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 10205 | .block_erasers = |
| 10206 | { |
| 10207 | { |
| 10208 | .eraseblocks = { {512, 256} }, |
| 10209 | .block_erase = erase_sector_jedec, |
| 10210 | }, { |
| 10211 | .eraseblocks = { {128 * 1024, 1} }, |
| 10212 | .block_erase = erase_chip_block_jedec, |
| 10213 | }, |
| 10214 | }, |
| 10215 | .write = write_jedec_1, |
| 10216 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10217 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10218 | }, |
| 10219 | |
| 10220 | { |
| 10221 | .vendor = "SyncMOS/MoselVitelic", |
| 10222 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10223 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10224 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10225 | .model_id = SM_MVC_29C51002B, |
| 10226 | .total_size = 256, |
| 10227 | .page_size = 512, |
| 10228 | .feature_bits = FEATURE_EITHER_RESET, |
| 10229 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10230 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10231 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10232 | .block_erasers = |
| 10233 | { |
| 10234 | { |
| 10235 | .eraseblocks = { {512, 512} }, |
| 10236 | .block_erase = erase_sector_jedec, |
| 10237 | }, { |
| 10238 | .eraseblocks = { {256 * 1024, 1} }, |
| 10239 | .block_erase = erase_chip_block_jedec, |
| 10240 | }, |
| 10241 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10242 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10243 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10244 | }, |
| 10245 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10246 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10247 | .vendor = "SyncMOS/MoselVitelic", |
| 10248 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10249 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10250 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10251 | .model_id = SM_MVC_29C51002T, |
| 10252 | .total_size = 256, |
| 10253 | .page_size = 512, |
| 10254 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 10255 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10256 | .probe = probe_jedec, |
| 10257 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 10258 | .block_erasers = |
| 10259 | { |
| 10260 | { |
| 10261 | .eraseblocks = { {512, 512} }, |
| 10262 | .block_erase = erase_sector_jedec, |
| 10263 | }, { |
| 10264 | .eraseblocks = { {256 * 1024, 1} }, |
| 10265 | .block_erase = erase_chip_block_jedec, |
| 10266 | }, |
| 10267 | }, |
| 10268 | .write = write_jedec_1, |
| 10269 | .read = read_memmapped, |
| 10270 | }, |
| 10271 | |
| 10272 | { |
| 10273 | .vendor = "SyncMOS/MoselVitelic", |
| 10274 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10275 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10276 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10277 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10278 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10279 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10280 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10281 | .tested = TEST_UNTESTED, |
| 10282 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10283 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10284 | .block_erasers = |
| 10285 | { |
| 10286 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10287 | .eraseblocks = { {1024, 512} }, |
| 10288 | .block_erase = erase_sector_jedec, |
| 10289 | }, { |
| 10290 | .eraseblocks = { {512 * 1024, 1} }, |
| 10291 | .block_erase = erase_chip_block_jedec, |
| 10292 | }, |
| 10293 | }, |
| 10294 | .write = write_jedec_1, |
| 10295 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10296 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10297 | }, |
| 10298 | |
| 10299 | { |
| 10300 | .vendor = "SyncMOS/MoselVitelic", |
| 10301 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10302 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10303 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10304 | .model_id = SM_MVC_29C51004T, |
| 10305 | .total_size = 512, |
| 10306 | .page_size = 1024, |
| 10307 | .feature_bits = FEATURE_EITHER_RESET, |
| 10308 | .tested = TEST_UNTESTED, |
| 10309 | .probe = probe_jedec, |
| 10310 | .probe_timing = TIMING_ZERO, |
| 10311 | .block_erasers = |
| 10312 | { |
| 10313 | { |
| 10314 | .eraseblocks = { {1024, 512} }, |
| 10315 | .block_erase = erase_sector_jedec, |
| 10316 | }, { |
| 10317 | .eraseblocks = { {512 * 1024, 1} }, |
| 10318 | .block_erase = erase_chip_block_jedec, |
| 10319 | }, |
| 10320 | }, |
| 10321 | .write = write_jedec_1, |
| 10322 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10323 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10324 | }, |
| 10325 | |
| 10326 | { |
| 10327 | .vendor = "SyncMOS/MoselVitelic", |
| 10328 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10329 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10330 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10331 | .model_id = SM_MVC_29C31004B, |
| 10332 | .total_size = 512, |
| 10333 | .page_size = 1024, |
| 10334 | .feature_bits = FEATURE_EITHER_RESET, |
| 10335 | .tested = TEST_UNTESTED, |
| 10336 | .probe = probe_jedec, |
| 10337 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 10338 | .block_erasers = |
| 10339 | { |
| 10340 | { |
| 10341 | .eraseblocks = { {1024, 512} }, |
| 10342 | .block_erase = erase_sector_jedec, |
| 10343 | }, { |
| 10344 | .eraseblocks = { {512 * 1024, 1} }, |
| 10345 | .block_erase = erase_chip_block_jedec, |
| 10346 | }, |
| 10347 | }, |
| 10348 | .write = write_jedec_1, |
| 10349 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10350 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10351 | }, |
| 10352 | |
| 10353 | { |
| 10354 | .vendor = "SyncMOS/MoselVitelic", |
| 10355 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10356 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 10357 | .manufacture_id = SYNCMOS_MVC_ID, |
| 10358 | .model_id = SM_MVC_29C31004T, |
| 10359 | .total_size = 512, |
| 10360 | .page_size = 1024, |
| 10361 | .feature_bits = FEATURE_EITHER_RESET, |
| 10362 | .tested = TEST_UNTESTED, |
| 10363 | .probe = probe_jedec, |
| 10364 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 10365 | .block_erasers = |
| 10366 | { |
| 10367 | { |
| 10368 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10369 | .block_erase = erase_sector_jedec, |
| 10370 | }, { |
| 10371 | .eraseblocks = { {512 * 1024, 1} }, |
| 10372 | .block_erase = erase_chip_block_jedec, |
| 10373 | }, |
| 10374 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10375 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10376 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10377 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10378 | }, |
| 10379 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10380 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 10381 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10382 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10383 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10384 | .manufacture_id = TI_OLD_ID, |
| 10385 | .model_id = TI_TMS29F002RB, |
| 10386 | .total_size = 256, |
| 10387 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10388 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10389 | .tested = TEST_UNTESTED, |
| 10390 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10391 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10392 | .block_erasers = |
| 10393 | { |
| 10394 | { |
| 10395 | .eraseblocks = { |
| 10396 | {16 * 1024, 1}, |
| 10397 | {8 * 1024, 2}, |
| 10398 | {32 * 1024, 1}, |
| 10399 | {64 * 1024, 3}, |
| 10400 | }, |
| 10401 | .block_erase = erase_sector_jedec, |
| 10402 | }, { |
| 10403 | .eraseblocks = { {256 * 1024, 1} }, |
| 10404 | .block_erase = erase_chip_block_jedec, |
| 10405 | }, |
| 10406 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10407 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10408 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10409 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10410 | }, |
| 10411 | |
| 10412 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 10413 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10414 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10415 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10416 | .manufacture_id = TI_OLD_ID, |
| 10417 | .model_id = TI_TMS29F002RT, |
| 10418 | .total_size = 256, |
| 10419 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10420 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10421 | .tested = TEST_UNTESTED, |
| 10422 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10423 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 10424 | .block_erasers = |
| 10425 | { |
| 10426 | { |
| 10427 | .eraseblocks = { |
| 10428 | {64 * 1024, 3}, |
| 10429 | {32 * 1024, 1}, |
| 10430 | {8 * 1024, 2}, |
| 10431 | {16 * 1024, 1}, |
| 10432 | }, |
| 10433 | .block_erase = erase_sector_jedec, |
| 10434 | }, { |
| 10435 | .eraseblocks = { {256 * 1024, 1} }, |
| 10436 | .block_erase = erase_chip_block_jedec, |
| 10437 | }, |
| 10438 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10439 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10440 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10441 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10442 | }, |
| 10443 | |
| 10444 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10445 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10446 | .name = "W25Q80.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10447 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10448 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10449 | .model_id = WINBOND_NEX_W25Q80_V, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10450 | .total_size = 1024, |
| 10451 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10452 | /* supports SFDP */ |
| 10453 | /* 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] | 10454 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 10455 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10456 | .probe = probe_spi_rdid, |
| 10457 | .probe_timing = TIMING_ZERO, |
| 10458 | .block_erasers = |
| 10459 | { |
| 10460 | { |
| 10461 | .eraseblocks = { {4 * 1024, 256} }, |
| 10462 | .block_erase = spi_block_erase_20, |
| 10463 | }, { |
| 10464 | .eraseblocks = { {32 * 1024, 32} }, |
| 10465 | .block_erase = spi_block_erase_52, |
| 10466 | }, { |
| 10467 | .eraseblocks = { {64 * 1024, 16} }, |
| 10468 | .block_erase = spi_block_erase_d8, |
| 10469 | }, { |
| 10470 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10471 | .block_erase = spi_block_erase_60, |
| 10472 | }, { |
| 10473 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10474 | .block_erase = spi_block_erase_c7, |
| 10475 | } |
| 10476 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10477 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10478 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10479 | .write = spi_chip_write_256, |
| 10480 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10481 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10482 | }, |
| 10483 | |
| 10484 | { |
| 10485 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10486 | .name = "W25Q16.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10487 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10488 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10489 | .model_id = WINBOND_NEX_W25Q16_V, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10490 | .total_size = 2048, |
| 10491 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10492 | /* supports SFDP */ |
| 10493 | /* 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] | 10494 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 10495 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10496 | .probe = probe_spi_rdid, |
| 10497 | .probe_timing = TIMING_ZERO, |
| 10498 | .block_erasers = |
| 10499 | { |
| 10500 | { |
| 10501 | .eraseblocks = { {4 * 1024, 512} }, |
| 10502 | .block_erase = spi_block_erase_20, |
| 10503 | }, { |
| 10504 | .eraseblocks = { {32 * 1024, 64} }, |
| 10505 | .block_erase = spi_block_erase_52, |
| 10506 | }, { |
| 10507 | .eraseblocks = { {64 * 1024, 32} }, |
| 10508 | .block_erase = spi_block_erase_d8, |
| 10509 | }, { |
| 10510 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10511 | .block_erase = spi_block_erase_60, |
| 10512 | }, { |
| 10513 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10514 | .block_erase = spi_block_erase_c7, |
| 10515 | } |
| 10516 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10517 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10518 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10519 | .write = spi_chip_write_256, |
| 10520 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10521 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10522 | }, |
| 10523 | |
| 10524 | { |
| 10525 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10526 | .name = "W25Q32.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10527 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10528 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10529 | .model_id = WINBOND_NEX_W25Q32_V, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10530 | .total_size = 4096, |
| 10531 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10532 | /* supports SFDP */ |
| 10533 | /* 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] | 10534 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 10535 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10536 | .probe = probe_spi_rdid, |
| 10537 | .probe_timing = TIMING_ZERO, |
| 10538 | .block_erasers = |
| 10539 | { |
| 10540 | { |
| 10541 | .eraseblocks = { {4 * 1024, 1024} }, |
| 10542 | .block_erase = spi_block_erase_20, |
| 10543 | }, { |
| 10544 | .eraseblocks = { {32 * 1024, 128} }, |
| 10545 | .block_erase = spi_block_erase_52, |
| 10546 | }, { |
| 10547 | .eraseblocks = { {64 * 1024, 64} }, |
| 10548 | .block_erase = spi_block_erase_d8, |
| 10549 | }, { |
| 10550 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10551 | .block_erase = spi_block_erase_60, |
| 10552 | }, { |
| 10553 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10554 | .block_erase = spi_block_erase_c7, |
| 10555 | } |
| 10556 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10557 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10558 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10559 | .write = spi_chip_write_256, |
| 10560 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10561 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10562 | }, |
| 10563 | |
| 10564 | { |
| 10565 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10566 | .name = "W25Q64.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10567 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10568 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10569 | .model_id = WINBOND_NEX_W25Q64_V, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10570 | .total_size = 8192, |
| 10571 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10572 | /* supports SFDP */ |
| 10573 | /* 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] | 10574 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 10575 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10576 | .probe = probe_spi_rdid, |
| 10577 | .probe_timing = TIMING_ZERO, |
| 10578 | .block_erasers = |
| 10579 | { |
| 10580 | { |
| 10581 | .eraseblocks = { {4 * 1024, 2048} }, |
| 10582 | .block_erase = spi_block_erase_20, |
| 10583 | }, { |
| 10584 | .eraseblocks = { {32 * 1024, 256} }, |
| 10585 | .block_erase = spi_block_erase_52, |
| 10586 | }, { |
| 10587 | .eraseblocks = { {64 * 1024, 128} }, |
| 10588 | .block_erase = spi_block_erase_d8, |
| 10589 | }, { |
| 10590 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10591 | .block_erase = spi_block_erase_60, |
| 10592 | }, { |
| 10593 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10594 | .block_erase = spi_block_erase_c7, |
| 10595 | } |
| 10596 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10597 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10598 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10599 | .write = spi_chip_write_256, |
| 10600 | .read = spi_chip_read, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10601 | .voltage = {2700, 3600}, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10602 | }, |
| 10603 | |
| 10604 | { |
| 10605 | .vendor = "Winbond", |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10606 | .name = "W25Q128.V", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10607 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10608 | .manufacture_id = WINBOND_NEX_ID, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10609 | .model_id = WINBOND_NEX_W25Q128_V, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10610 | .total_size = 16384, |
| 10611 | .page_size = 256, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10612 | /* supports SFDP */ |
| 10613 | /* 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] | 10614 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10615 | .tested = TEST_OK_PROBE, |
| 10616 | .probe = probe_spi_rdid, |
| 10617 | .probe_timing = TIMING_ZERO, |
| 10618 | .block_erasers = |
| 10619 | { |
| 10620 | { |
| 10621 | .eraseblocks = { {4 * 1024, 4096} }, |
| 10622 | .block_erase = spi_block_erase_20, |
| 10623 | }, { |
| 10624 | .eraseblocks = { {32 * 1024, 512} }, |
| 10625 | .block_erase = spi_block_erase_52, |
| 10626 | }, { |
| 10627 | .eraseblocks = { {64 * 1024, 256} }, |
| 10628 | .block_erase = spi_block_erase_d8, |
| 10629 | }, { |
| 10630 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 10631 | .block_erase = spi_block_erase_60, |
| 10632 | }, { |
| 10633 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 10634 | .block_erase = spi_block_erase_c7, |
| 10635 | } |
| 10636 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10637 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10638 | .unlock = spi_disable_blockprotect, |
| 10639 | .write = spi_chip_write_256, |
| 10640 | .read = spi_chip_read, |
Yung-Chieh Lo | b13d4e6 | 2013-06-09 14:00:46 +0000 | [diff] [blame] | 10641 | .voltage = {2700, 3600}, |
| 10642 | }, |
| 10643 | |
| 10644 | { |
| 10645 | .vendor = "Winbond", |
| 10646 | .name = "W25Q20.W", |
| 10647 | .bustype = BUS_SPI, |
| 10648 | .manufacture_id = WINBOND_NEX_ID, |
| 10649 | .model_id = WINBOND_NEX_W25Q20_W, |
| 10650 | .total_size = 256, |
| 10651 | .page_size = 256, |
| 10652 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 10653 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10654 | .tested = TEST_UNTESTED, |
| 10655 | .probe = probe_spi_rdid, |
| 10656 | .probe_timing = TIMING_ZERO, |
| 10657 | .block_erasers = |
| 10658 | { |
| 10659 | { |
| 10660 | .eraseblocks = { {4 * 1024, 64} }, |
| 10661 | .block_erase = spi_block_erase_20, |
| 10662 | }, { |
| 10663 | .eraseblocks = { {32 * 1024, 8} }, |
| 10664 | .block_erase = spi_block_erase_52, |
| 10665 | }, { |
| 10666 | .eraseblocks = { {64 * 1024, 4} }, |
| 10667 | .block_erase = spi_block_erase_d8, |
| 10668 | }, { |
| 10669 | .eraseblocks = { {256 * 1024, 1} }, |
| 10670 | .block_erase = spi_block_erase_60, |
| 10671 | }, { |
| 10672 | .eraseblocks = { {256 * 1024, 1} }, |
| 10673 | .block_erase = spi_block_erase_c7, |
| 10674 | } |
| 10675 | }, |
| 10676 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 10677 | .unlock = spi_disable_blockprotect, |
| 10678 | .write = spi_chip_write_256, |
| 10679 | .read = spi_chip_read, |
| 10680 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 10681 | }, |
| 10682 | |
| 10683 | { |
| 10684 | .vendor = "Winbond", |
| 10685 | .name = "W25Q40.W", |
| 10686 | .bustype = BUS_SPI, |
| 10687 | .manufacture_id = WINBOND_NEX_ID, |
| 10688 | .model_id = WINBOND_NEX_W25Q40_W, |
| 10689 | .total_size = 512, |
| 10690 | .page_size = 256, |
| 10691 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 10692 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10693 | .tested = TEST_UNTESTED, |
| 10694 | .probe = probe_spi_rdid, |
| 10695 | .probe_timing = TIMING_ZERO, |
| 10696 | .block_erasers = |
| 10697 | { |
| 10698 | { |
| 10699 | .eraseblocks = { {4 * 1024, 128} }, |
| 10700 | .block_erase = spi_block_erase_20, |
| 10701 | }, { |
| 10702 | .eraseblocks = { {32 * 1024, 16} }, |
| 10703 | .block_erase = spi_block_erase_52, |
| 10704 | }, { |
| 10705 | .eraseblocks = { {64 * 1024, 8} }, |
| 10706 | .block_erase = spi_block_erase_d8, |
| 10707 | }, { |
| 10708 | .eraseblocks = { {512 * 1024, 1} }, |
| 10709 | .block_erase = spi_block_erase_60, |
| 10710 | }, { |
| 10711 | .eraseblocks = { {512 * 1024, 1} }, |
| 10712 | .block_erase = spi_block_erase_c7, |
| 10713 | } |
| 10714 | }, |
| 10715 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 10716 | .unlock = spi_disable_blockprotect, |
| 10717 | .write = spi_chip_write_256, |
| 10718 | .read = spi_chip_read, |
| 10719 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 10720 | }, |
| 10721 | |
| 10722 | { |
| 10723 | .vendor = "Winbond", |
| 10724 | .name = "W25Q80.W", |
| 10725 | .bustype = BUS_SPI, |
| 10726 | .manufacture_id = WINBOND_NEX_ID, |
| 10727 | .model_id = WINBOND_NEX_W25Q80_W, |
| 10728 | .total_size = 1024, |
| 10729 | .page_size = 256, |
| 10730 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 10731 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 10732 | .tested = TEST_UNTESTED, |
| 10733 | .probe = probe_spi_rdid, |
| 10734 | .probe_timing = TIMING_ZERO, |
| 10735 | .block_erasers = |
| 10736 | { |
| 10737 | { |
| 10738 | .eraseblocks = { {4 * 1024, 256} }, |
| 10739 | .block_erase = spi_block_erase_20, |
| 10740 | }, { |
| 10741 | .eraseblocks = { {32 * 1024, 32} }, |
| 10742 | .block_erase = spi_block_erase_52, |
| 10743 | }, { |
| 10744 | .eraseblocks = { {64 * 1024, 16} }, |
| 10745 | .block_erase = spi_block_erase_d8, |
| 10746 | }, { |
| 10747 | .eraseblocks = { {1 * 1024 * 1024, 1} }, |
| 10748 | .block_erase = spi_block_erase_60, |
| 10749 | }, { |
| 10750 | .eraseblocks = { {1 * 1024 * 1024, 1} }, |
| 10751 | .block_erase = spi_block_erase_c7, |
| 10752 | } |
| 10753 | }, |
| 10754 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 10755 | .unlock = spi_disable_blockprotect, |
| 10756 | .write = spi_chip_write_256, |
| 10757 | .read = spi_chip_read, |
| 10758 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 10759 | }, |
| 10760 | |
| 10761 | { |
| 10762 | .vendor = "Winbond", |
| 10763 | .name = "W25Q16.W", |
| 10764 | .bustype = BUS_SPI, |
| 10765 | .manufacture_id = WINBOND_NEX_ID, |
| 10766 | .model_id = WINBOND_NEX_W25Q16_W, |
| 10767 | .total_size = 2048, |
| 10768 | .page_size = 256, |
| 10769 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 10770 | /* QPI enable 0x38, disable 0xFF */ |
| 10771 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 10772 | .tested = TEST_UNTESTED, |
| 10773 | .probe = probe_spi_rdid, |
| 10774 | .probe_timing = TIMING_ZERO, |
| 10775 | .block_erasers = |
| 10776 | { |
| 10777 | { |
| 10778 | .eraseblocks = { {4 * 1024, 512} }, |
| 10779 | .block_erase = spi_block_erase_20, |
| 10780 | }, { |
| 10781 | .eraseblocks = { {32 * 1024, 64} }, |
| 10782 | .block_erase = spi_block_erase_52, |
| 10783 | }, { |
| 10784 | .eraseblocks = { {64 * 1024, 32} }, |
| 10785 | .block_erase = spi_block_erase_d8, |
| 10786 | }, { |
| 10787 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10788 | .block_erase = spi_block_erase_60, |
| 10789 | }, { |
| 10790 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10791 | .block_erase = spi_block_erase_c7, |
| 10792 | } |
| 10793 | }, |
| 10794 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 10795 | .unlock = spi_disable_blockprotect, |
| 10796 | .write = spi_chip_write_256, |
| 10797 | .read = spi_chip_read, |
| 10798 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 10799 | }, |
| 10800 | |
| 10801 | { |
| 10802 | .vendor = "Winbond", |
| 10803 | .name = "W25Q32.W", |
| 10804 | .bustype = BUS_SPI, |
| 10805 | .manufacture_id = WINBOND_NEX_ID, |
| 10806 | .model_id = WINBOND_NEX_W25Q32_W, |
| 10807 | .total_size = 4096, |
| 10808 | .page_size = 256, |
| 10809 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 10810 | /* QPI enable 0x38, disable 0xFF */ |
| 10811 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 10812 | .tested = TEST_OK_PREW, |
| 10813 | .probe = probe_spi_rdid, |
| 10814 | .probe_timing = TIMING_ZERO, |
| 10815 | .block_erasers = |
| 10816 | { |
| 10817 | { |
| 10818 | .eraseblocks = { {4 * 1024, 1024} }, |
| 10819 | .block_erase = spi_block_erase_20, |
| 10820 | }, { |
| 10821 | .eraseblocks = { {32 * 1024, 128} }, |
| 10822 | .block_erase = spi_block_erase_52, |
| 10823 | }, { |
| 10824 | .eraseblocks = { {64 * 1024, 64} }, |
| 10825 | .block_erase = spi_block_erase_d8, |
| 10826 | }, { |
| 10827 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10828 | .block_erase = spi_block_erase_60, |
| 10829 | }, { |
| 10830 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10831 | .block_erase = spi_block_erase_c7, |
| 10832 | } |
| 10833 | }, |
| 10834 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 10835 | .unlock = spi_disable_blockprotect, |
| 10836 | .write = spi_chip_write_256, |
| 10837 | .read = spi_chip_read, |
| 10838 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
| 10839 | }, |
| 10840 | |
| 10841 | { |
| 10842 | .vendor = "Winbond", |
| 10843 | .name = "W25Q64.W", |
| 10844 | .bustype = BUS_SPI, |
| 10845 | .manufacture_id = WINBOND_NEX_ID, |
| 10846 | .model_id = WINBOND_NEX_W25Q64_W, |
| 10847 | .total_size = 8192, |
| 10848 | .page_size = 256, |
| 10849 | /* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ |
| 10850 | /* QPI enable 0x38, disable 0xFF */ |
| 10851 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 10852 | .tested = TEST_UNTESTED, |
| 10853 | .probe = probe_spi_rdid, |
| 10854 | .probe_timing = TIMING_ZERO, |
| 10855 | .block_erasers = |
| 10856 | { |
| 10857 | { |
| 10858 | .eraseblocks = { {4 * 1024, 2048} }, |
| 10859 | .block_erase = spi_block_erase_20, |
| 10860 | }, { |
| 10861 | .eraseblocks = { {32 * 1024, 256} }, |
| 10862 | .block_erase = spi_block_erase_52, |
| 10863 | }, { |
| 10864 | .eraseblocks = { {64 * 1024, 128} }, |
| 10865 | .block_erase = spi_block_erase_d8, |
| 10866 | }, { |
| 10867 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10868 | .block_erase = spi_block_erase_60, |
| 10869 | }, { |
| 10870 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10871 | .block_erase = spi_block_erase_c7, |
| 10872 | } |
| 10873 | }, |
| 10874 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 10875 | .unlock = spi_disable_blockprotect, |
| 10876 | .write = spi_chip_write_256, |
| 10877 | .read = spi_chip_read, |
| 10878 | .voltage = {1700, 1950}, /* Fast read (0x0B) and multi I/O supported */ |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10879 | }, |
| 10880 | |
| 10881 | { |
| 10882 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10883 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10884 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10885 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10886 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10887 | .total_size = 128, |
| 10888 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10889 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 10890 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10891 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10892 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10893 | .block_erasers = |
| 10894 | { |
| 10895 | { |
| 10896 | .eraseblocks = { {4 * 1024, 32} }, |
| 10897 | .block_erase = spi_block_erase_20, |
| 10898 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10899 | .eraseblocks = { {64 * 1024, 2} }, |
| 10900 | .block_erase = spi_block_erase_d8, |
| 10901 | }, { |
| 10902 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10903 | .block_erase = spi_block_erase_c7, |
| 10904 | } |
| 10905 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10906 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10907 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10908 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10909 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10910 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10911 | }, |
| 10912 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10913 | { |
| 10914 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10915 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10916 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10917 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10918 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10919 | .total_size = 256, |
| 10920 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10921 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10922 | .tested = TEST_UNTESTED, |
| 10923 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10924 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10925 | .block_erasers = |
| 10926 | { |
| 10927 | { |
| 10928 | .eraseblocks = { {4 * 1024, 64} }, |
| 10929 | .block_erase = spi_block_erase_20, |
| 10930 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10931 | .eraseblocks = { {64 * 1024, 4} }, |
| 10932 | .block_erase = spi_block_erase_d8, |
| 10933 | }, { |
| 10934 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10935 | .block_erase = spi_block_erase_c7, |
| 10936 | } |
| 10937 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10938 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10939 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10940 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10941 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10942 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10943 | }, |
| 10944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10945 | { |
| 10946 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10947 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10948 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10949 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10950 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10951 | .total_size = 512, |
| 10952 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10953 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 10954 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10955 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10956 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10957 | .block_erasers = |
| 10958 | { |
| 10959 | { |
| 10960 | .eraseblocks = { {4 * 1024, 128} }, |
| 10961 | .block_erase = spi_block_erase_20, |
| 10962 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10963 | .eraseblocks = { {64 * 1024, 8} }, |
| 10964 | .block_erase = spi_block_erase_d8, |
| 10965 | }, { |
| 10966 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10967 | .block_erase = spi_block_erase_c7, |
| 10968 | } |
| 10969 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10970 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10971 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10972 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10973 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10974 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10975 | }, |
| 10976 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10977 | { |
| 10978 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10979 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10980 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10981 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10982 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10983 | .total_size = 1024, |
| 10984 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10985 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 10986 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10987 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10988 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10989 | .block_erasers = |
| 10990 | { |
| 10991 | { |
| 10992 | .eraseblocks = { {4 * 1024, 256} }, |
| 10993 | .block_erase = spi_block_erase_20, |
| 10994 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10995 | .eraseblocks = { {64 * 1024, 16} }, |
| 10996 | .block_erase = spi_block_erase_d8, |
| 10997 | }, { |
| 10998 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10999 | .block_erase = spi_block_erase_c7, |
| 11000 | } |
| 11001 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 11002 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 11003 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 11004 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11005 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11006 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11007 | }, |
| 11008 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11009 | { |
| 11010 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11011 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11012 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 11013 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11014 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 11015 | .total_size = 2048, |
| 11016 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 11017 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 11018 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 11019 | .probe = probe_spi_rdid, |
| 11020 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11021 | .block_erasers = |
| 11022 | { |
| 11023 | { |
| 11024 | .eraseblocks = { {4 * 1024, 512} }, |
| 11025 | .block_erase = spi_block_erase_20, |
| 11026 | }, { |
| 11027 | .eraseblocks = { {32 * 1024, 64} }, |
| 11028 | .block_erase = spi_block_erase_52, |
| 11029 | }, { |
| 11030 | .eraseblocks = { {64 * 1024, 32} }, |
| 11031 | .block_erase = spi_block_erase_d8, |
| 11032 | }, { |
| 11033 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 11034 | .block_erase = spi_block_erase_60, |
| 11035 | }, { |
| 11036 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 11037 | .block_erase = spi_block_erase_c7, |
| 11038 | } |
| 11039 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 11040 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 11041 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 11042 | .write = spi_chip_write_256, |
| 11043 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11044 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 11045 | }, |
| 11046 | |
| 11047 | { |
| 11048 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11049 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11050 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11051 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11052 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11053 | .total_size = 4096, |
| 11054 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 11055 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11056 | .tested = TEST_OK_PROBE, |
| 11057 | .probe = probe_spi_rdid, |
| 11058 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11059 | .block_erasers = |
| 11060 | { |
| 11061 | { |
| 11062 | .eraseblocks = { {4 * 1024, 1024} }, |
| 11063 | .block_erase = spi_block_erase_20, |
| 11064 | }, { |
| 11065 | .eraseblocks = { {32 * 1024, 128} }, |
| 11066 | .block_erase = spi_block_erase_52, |
| 11067 | }, { |
| 11068 | .eraseblocks = { {64 * 1024, 64} }, |
| 11069 | .block_erase = spi_block_erase_d8, |
| 11070 | }, { |
| 11071 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 11072 | .block_erase = spi_block_erase_60, |
| 11073 | }, { |
| 11074 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 11075 | .block_erase = spi_block_erase_c7, |
| 11076 | } |
| 11077 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 11078 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 11079 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11080 | .write = spi_chip_write_256, |
| 11081 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11082 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11083 | }, |
| 11084 | |
| 11085 | { |
| 11086 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11087 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11088 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11089 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11090 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11091 | .total_size = 8192, |
| 11092 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 11093 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 11094 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11095 | .probe = probe_spi_rdid, |
| 11096 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11097 | .block_erasers = |
| 11098 | { |
| 11099 | { |
| 11100 | .eraseblocks = { {4 * 1024, 2048} }, |
| 11101 | .block_erase = spi_block_erase_20, |
| 11102 | }, { |
| 11103 | .eraseblocks = { {32 * 1024, 256} }, |
| 11104 | .block_erase = spi_block_erase_52, |
| 11105 | }, { |
| 11106 | .eraseblocks = { {64 * 1024, 128} }, |
| 11107 | .block_erase = spi_block_erase_d8, |
| 11108 | }, { |
| 11109 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 11110 | .block_erase = spi_block_erase_60, |
| 11111 | }, { |
| 11112 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 11113 | .block_erase = spi_block_erase_c7, |
| 11114 | } |
| 11115 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 11116 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 11117 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11118 | .write = spi_chip_write_256, |
| 11119 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11120 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 11121 | }, |
| 11122 | |
| 11123 | { |
| 11124 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 11125 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11126 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 11127 | .manufacture_id = WINBOND_ID, |
| 11128 | .model_id = WINBOND_W29C010, |
| 11129 | .total_size = 128, |
| 11130 | .page_size = 128, |
| 11131 | .feature_bits = FEATURE_LONG_RESET, |
| 11132 | .tested = TEST_OK_PRE, |
| 11133 | .probe = probe_w29ee011, |
| 11134 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 11135 | .block_erasers = |
| 11136 | { |
| 11137 | { |
| 11138 | .eraseblocks = { {128 * 1024, 1} }, |
| 11139 | .block_erase = erase_chip_block_jedec, |
| 11140 | } |
| 11141 | }, |
| 11142 | .write = write_jedec, |
| 11143 | .read = read_memmapped, |
| 11144 | }, |
| 11145 | |
| 11146 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 11147 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11148 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11149 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11150 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11151 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11152 | .total_size = 128, |
| 11153 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11154 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 11155 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11156 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 11157 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11158 | .block_erasers = |
| 11159 | { |
| 11160 | { |
| 11161 | .eraseblocks = { {128 * 1024, 1} }, |
| 11162 | .block_erase = erase_chip_block_jedec, |
| 11163 | } |
| 11164 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11165 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11166 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11167 | }, |
| 11168 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11169 | { |
| 11170 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11171 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11172 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11173 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11174 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11175 | .total_size = 256, |
| 11176 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11177 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11178 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11179 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11180 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11181 | .block_erasers = |
| 11182 | { |
| 11183 | { |
| 11184 | .eraseblocks = { {256 * 1024, 1} }, |
| 11185 | .block_erase = erase_chip_block_jedec, |
| 11186 | } |
| 11187 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11188 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11189 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11190 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11191 | }, |
| 11192 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11193 | { |
| 11194 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11195 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11196 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11197 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11198 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11199 | .total_size = 512, |
| 11200 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11201 | .feature_bits = FEATURE_LONG_RESET, |
| 11202 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11203 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 11204 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11205 | .block_erasers = |
| 11206 | { |
| 11207 | { |
| 11208 | .eraseblocks = { {512 * 1024, 1} }, |
| 11209 | .block_erase = erase_chip_block_jedec, |
| 11210 | } |
| 11211 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11212 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11213 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11214 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11215 | }, |
| 11216 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11217 | { |
| 11218 | .vendor = "Winbond", |
Kyösti Mälkki | c31243e | 2012-10-28 01:50:08 +0000 | [diff] [blame] | 11219 | .name = "W39F010", |
| 11220 | .bustype = BUS_PARALLEL, |
| 11221 | .manufacture_id = WINBOND_ID, |
| 11222 | .model_id = WINBOND_W39F010, |
| 11223 | .total_size = 128, |
| 11224 | .page_size = 4 * 1024, |
| 11225 | .feature_bits = FEATURE_EITHER_RESET, |
| 11226 | .tested = TEST_OK_PREW, |
| 11227 | .probe = probe_jedec, |
| 11228 | .probe_timing = 10, |
| 11229 | .block_erasers = |
| 11230 | { |
| 11231 | { |
| 11232 | .eraseblocks = { {4 * 1024, 32} }, |
| 11233 | .block_erase = erase_block_jedec, |
| 11234 | }, { |
| 11235 | .eraseblocks = { {128 * 1024, 1} }, |
| 11236 | .block_erase = erase_chip_block_jedec, |
| 11237 | } |
| 11238 | }, |
| 11239 | .printlock = printlock_w39f010, |
| 11240 | .write = write_jedec_1, |
| 11241 | .read = read_memmapped, |
| 11242 | .voltage = {4500, 5500}, |
| 11243 | }, |
| 11244 | |
| 11245 | { |
| 11246 | .vendor = "Winbond", |
| 11247 | .name = "W39L010", |
| 11248 | .bustype = BUS_PARALLEL, |
| 11249 | .manufacture_id = WINBOND_ID, |
| 11250 | .model_id = WINBOND_W39L010, |
| 11251 | .total_size = 128, |
| 11252 | .page_size = 4 * 1024, |
| 11253 | .feature_bits = FEATURE_EITHER_RESET, |
| 11254 | .tested = TEST_UNTESTED, |
| 11255 | .probe = probe_jedec, |
| 11256 | .probe_timing = 10, |
| 11257 | .block_erasers = |
| 11258 | { |
| 11259 | { |
| 11260 | .eraseblocks = { {4 * 1024, 32} }, |
| 11261 | .block_erase = erase_block_jedec, |
| 11262 | }, { |
| 11263 | .eraseblocks = { {128 * 1024, 1} }, |
| 11264 | .block_erase = erase_chip_block_jedec, |
| 11265 | } |
| 11266 | }, |
| 11267 | .printlock = printlock_w39l010, |
| 11268 | .write = write_jedec_1, |
| 11269 | .read = read_memmapped, |
| 11270 | .voltage = {3000, 3600}, |
| 11271 | }, |
| 11272 | |
| 11273 | { |
| 11274 | .vendor = "Winbond", |
| 11275 | .name = "W39L020", |
| 11276 | .bustype = BUS_PARALLEL, |
| 11277 | .manufacture_id = WINBOND_ID, |
| 11278 | .model_id = WINBOND_W39L020, |
| 11279 | .total_size = 256, |
| 11280 | .page_size = 4 * 1024, |
| 11281 | .feature_bits = FEATURE_EITHER_RESET, |
| 11282 | .tested = TEST_UNTESTED, |
| 11283 | .probe = probe_jedec, |
| 11284 | .probe_timing = 10, |
| 11285 | .block_erasers = |
| 11286 | { |
| 11287 | { |
| 11288 | .eraseblocks = { {4 * 1024, 64} }, |
| 11289 | .block_erase = erase_block_jedec, |
| 11290 | }, { |
| 11291 | .eraseblocks = { {64 * 1024, 4} }, |
| 11292 | .block_erase = erase_sector_jedec, |
| 11293 | }, { |
| 11294 | .eraseblocks = { {256 * 1024, 1} }, |
| 11295 | .block_erase = erase_chip_block_jedec, |
| 11296 | } |
| 11297 | }, |
| 11298 | .printlock = printlock_w39l020, |
| 11299 | .write = write_jedec_1, |
| 11300 | .read = read_memmapped, |
| 11301 | .voltage = {3000, 3600}, |
| 11302 | }, |
| 11303 | |
| 11304 | { |
| 11305 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 11306 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11307 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 11308 | .manufacture_id = WINBOND_ID, |
| 11309 | .model_id = WINBOND_W39L040, |
| 11310 | .total_size = 512, |
| 11311 | .page_size = 64 * 1024, |
| 11312 | .feature_bits = FEATURE_EITHER_RESET, |
| 11313 | .tested = TEST_OK_PR, |
| 11314 | .probe = probe_jedec, |
| 11315 | .probe_timing = 10, |
| 11316 | .block_erasers = |
| 11317 | { |
| 11318 | { |
| 11319 | .eraseblocks = { {4 * 1024, 128} }, |
| 11320 | .block_erase = erase_block_jedec, |
| 11321 | }, { |
| 11322 | .eraseblocks = { {64 * 1024, 8} }, |
| 11323 | .block_erase = erase_sector_jedec, |
| 11324 | }, { |
| 11325 | .eraseblocks = { {512 * 1024, 1} }, |
| 11326 | .block_erase = erase_chip_block_jedec, |
| 11327 | } |
| 11328 | }, |
| 11329 | .printlock = printlock_w39l040, |
| 11330 | .write = write_jedec_1, |
| 11331 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 11332 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 11333 | }, |
| 11334 | |
| 11335 | { |
| 11336 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11337 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11338 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11339 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11340 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11341 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11342 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11343 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 11344 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11345 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 11346 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11347 | .block_erasers = |
| 11348 | { |
| 11349 | { |
| 11350 | .eraseblocks = { {64 * 1024, 8} }, |
| 11351 | .block_erase = erase_sector_jedec, |
| 11352 | }, { |
| 11353 | .eraseblocks = { {512 * 1024, 1} }, |
| 11354 | .block_erase = erase_chip_block_jedec, |
| 11355 | } |
| 11356 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11357 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11358 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11359 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11360 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11361 | }, |
| 11362 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11363 | { |
| 11364 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11365 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11366 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11367 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11368 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11369 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11370 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11371 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 11372 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11373 | .probe = probe_jedec, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 11374 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11375 | .block_erasers = |
| 11376 | { |
| 11377 | { |
| 11378 | .eraseblocks = { {64 * 1024, 8} }, |
| 11379 | .block_erase = erase_sector_jedec, |
| 11380 | }, { |
| 11381 | .eraseblocks = { {512 * 1024, 1} }, |
| 11382 | .block_erase = erase_chip_block_jedec, |
| 11383 | } |
| 11384 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11385 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11386 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11387 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11388 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11389 | }, |
| 11390 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11391 | { |
| 11392 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11393 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11394 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11395 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11396 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11397 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11398 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11399 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 11400 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11401 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11402 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11403 | .block_erasers = |
| 11404 | { |
| 11405 | { |
| 11406 | .eraseblocks = { {64 * 1024, 8} }, |
| 11407 | .block_erase = erase_sector_jedec, |
| 11408 | }, { |
| 11409 | .eraseblocks = { {512 * 1024, 1} }, |
| 11410 | .block_erase = erase_chip_block_jedec, |
| 11411 | } |
| 11412 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 11413 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11414 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11415 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11416 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11417 | }, |
| 11418 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11419 | { |
| 11420 | .vendor = "Winbond", |
| 11421 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11422 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11423 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11424 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11425 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11426 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 11427 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 11428 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11429 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 11430 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11431 | .block_erasers = |
| 11432 | { |
| 11433 | { |
| 11434 | .eraseblocks = { {4 * 1024, 128} }, |
| 11435 | .block_erase = erase_block_jedec, |
| 11436 | }, { |
| 11437 | .eraseblocks = { {64 * 1024, 8} }, |
| 11438 | .block_erase = erase_sector_jedec, |
| 11439 | }, { |
| 11440 | .eraseblocks = { {512 * 1024, 1} }, |
| 11441 | .block_erase = erase_chip_block_jedec, |
| 11442 | } |
| 11443 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11444 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 11445 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11446 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11447 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11448 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11449 | }, |
| 11450 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11451 | { |
| 11452 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11453 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11454 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11455 | .manufacture_id = WINBOND_ID, |
| 11456 | .model_id = WINBOND_W39V040B, |
| 11457 | .total_size = 512, |
| 11458 | .page_size = 64 * 1024, |
| 11459 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 11460 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11461 | .probe = probe_jedec, |
| 11462 | .probe_timing = 10, |
| 11463 | .block_erasers = |
| 11464 | { |
| 11465 | { |
| 11466 | .eraseblocks = { {64 * 1024, 8} }, |
| 11467 | .block_erase = erase_sector_jedec, |
| 11468 | }, { |
| 11469 | .eraseblocks = { {512 * 1024, 1} }, |
| 11470 | .block_erase = erase_chip_block_jedec, |
| 11471 | } |
| 11472 | }, |
| 11473 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 11474 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11475 | .write = write_jedec_1, |
| 11476 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 11477 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11478 | }, |
| 11479 | |
| 11480 | { |
| 11481 | .vendor = "Winbond", |
| 11482 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11483 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11484 | .manufacture_id = WINBOND_ID, |
| 11485 | .model_id = WINBOND_W39V040C, |
| 11486 | .total_size = 512, |
| 11487 | .page_size = 64 * 1024, |
| 11488 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 11489 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11490 | .probe = probe_jedec, |
| 11491 | .probe_timing = 10, |
| 11492 | .block_erasers = |
| 11493 | { |
| 11494 | { |
| 11495 | .eraseblocks = { {64 * 1024, 8} }, |
| 11496 | .block_erase = erase_sector_jedec, |
| 11497 | }, { |
| 11498 | .eraseblocks = { {512 * 1024, 1} }, |
| 11499 | .block_erase = erase_chip_block_jedec, |
| 11500 | } |
| 11501 | }, |
| 11502 | .printlock = printlock_w39v040fc, |
| 11503 | .write = write_jedec_1, |
| 11504 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 11505 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11506 | }, |
| 11507 | |
| 11508 | { |
| 11509 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11510 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11511 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11512 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11513 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11514 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11515 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11516 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 11517 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11518 | .probe = probe_jedec, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 11519 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11520 | .block_erasers = |
| 11521 | { |
| 11522 | { |
| 11523 | .eraseblocks = { {64 * 1024, 16} }, |
| 11524 | .block_erase = erase_sector_jedec, |
| 11525 | }, { |
| 11526 | .eraseblocks = { {1024 * 1024, 1} }, |
| 11527 | .block_erase = erase_chip_block_jedec, |
| 11528 | } |
| 11529 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11530 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11531 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11532 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11533 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11534 | }, |
| 11535 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11536 | { |
| 11537 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11538 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11539 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11540 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11541 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11542 | .total_size = 256, |
| 11543 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11544 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 11545 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11546 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 11547 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11548 | .block_erasers = |
| 11549 | { |
| 11550 | { |
| 11551 | .eraseblocks = { |
| 11552 | {128 * 1024, 1}, |
| 11553 | {96 * 1024, 1}, |
| 11554 | {8 * 1024, 2}, |
| 11555 | {16 * 1024, 1}, |
| 11556 | }, |
| 11557 | .block_erase = erase_sector_jedec, |
| 11558 | }, { |
| 11559 | .eraseblocks = { {256 * 1024, 1} }, |
| 11560 | .block_erase = erase_chip_block_jedec, |
| 11561 | } |
| 11562 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11563 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11564 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11565 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11566 | }, |
| 11567 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11568 | { |
| 11569 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 11570 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11571 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 11572 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11573 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 11574 | .total_size = 256, |
| 11575 | .page_size = 128, |
| 11576 | .feature_bits = FEATURE_EITHER_RESET, |
| 11577 | .tested = TEST_OK_PROBE, |
| 11578 | .probe = probe_jedec, |
| 11579 | .probe_timing = 10, |
| 11580 | .block_erasers = |
| 11581 | { |
| 11582 | { |
| 11583 | .eraseblocks = { {256 * 1024, 1} }, |
| 11584 | .block_erase = erase_chip_block_jedec, |
| 11585 | } |
| 11586 | }, |
| 11587 | .write = write_jedec_1, |
| 11588 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11589 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 11590 | }, |
| 11591 | |
| 11592 | { |
| 11593 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11594 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11595 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11596 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11597 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11598 | .total_size = 256, |
| 11599 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11600 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11601 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11602 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 11603 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11604 | .block_erasers = |
| 11605 | { |
| 11606 | { |
| 11607 | .eraseblocks = { |
| 11608 | {64 * 1024, 3}, |
| 11609 | {32 * 1024, 1}, |
| 11610 | {8 * 1024, 2}, |
| 11611 | {16 * 1024, 1}, |
| 11612 | }, |
| 11613 | .block_erase = erase_sector_jedec, |
| 11614 | }, { |
| 11615 | .eraseblocks = { {256 * 1024, 1} }, |
| 11616 | .block_erase = erase_chip_block_jedec, |
| 11617 | } |
| 11618 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11619 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11620 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11621 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11622 | }, |
| 11623 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11624 | { |
| 11625 | .vendor = "Winbond", |
| 11626 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11627 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11628 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11629 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11630 | .total_size = 256, |
| 11631 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11632 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 11633 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11634 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 11635 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11636 | .block_erasers = |
| 11637 | { |
| 11638 | { |
| 11639 | .eraseblocks = { |
| 11640 | {64 * 1024, 3}, |
| 11641 | {32 * 1024, 1}, |
| 11642 | {8 * 1024, 2}, |
| 11643 | {16 * 1024, 1}, |
| 11644 | }, |
| 11645 | .block_erase = erase_sector_jedec, |
| 11646 | }, { |
| 11647 | .eraseblocks = { {256 * 1024, 1} }, |
| 11648 | .block_erase = erase_chip_block_jedec, |
| 11649 | } |
| 11650 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11651 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11652 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 11653 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11654 | }, |
| 11655 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11656 | { |
| 11657 | .vendor = "Winbond", |
| 11658 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11659 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11660 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11661 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11662 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11663 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11664 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 11665 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 11666 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11667 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11668 | .block_erasers = |
| 11669 | { |
| 11670 | { |
| 11671 | .eraseblocks = { {64 * 1024, 16}, }, |
| 11672 | .block_erase = erase_sector_jedec, |
| 11673 | }, { |
| 11674 | .eraseblocks = { {1024 * 1024, 1} }, |
| 11675 | .block_erase = erase_chip_block_jedec, |
| 11676 | } |
| 11677 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11678 | .printlock = printlock_w39v080fa, |
| 11679 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11680 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11681 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 11682 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11683 | }, |
| 11684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11685 | { |
| 11686 | .vendor = "Winbond", |
| 11687 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11688 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11689 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11690 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11691 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11692 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11693 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11694 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 11695 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11696 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11697 | .block_erasers = |
| 11698 | { |
| 11699 | { |
| 11700 | .eraseblocks = { {64 * 1024, 8}, }, |
| 11701 | .block_erase = erase_sector_jedec, |
| 11702 | }, { |
| 11703 | .eraseblocks = { {512 * 1024, 1} }, |
| 11704 | .block_erase = erase_chip_block_jedec, |
| 11705 | } |
| 11706 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11707 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11708 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11709 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 11710 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11711 | }, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 11712 | |
| 11713 | { |
| 11714 | .vendor = "Unknown", |
| 11715 | .name = "SFDP-capable chip", |
| 11716 | .bustype = BUS_SPI, |
| 11717 | .manufacture_id = GENERIC_MANUF_ID, |
| 11718 | .model_id = SFDP_DEVICE_ID, |
| 11719 | /* We present our own "report this" text hence we do not |
| 11720 | * want the default "This flash part has status UNTESTED..." |
| 11721 | * text to be printed. */ |
| 11722 | .tested = TEST_OK_PREW, |
| 11723 | .probe = probe_spi_sfdp, |
| 11724 | .unlock = spi_disable_blockprotect, /* is this safe? */ |
| 11725 | .read = spi_chip_read, |
| 11726 | /* FIXME: some vendor extensions define this */ |
Carl-Daniel Hailfinger | 1c6d2ff | 2012-08-27 00:44:42 +0000 | [diff] [blame] | 11727 | .voltage = {0}, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 11728 | /* Everything below will be set by the probing function. */ |
| 11729 | .write = NULL, |
| 11730 | .total_size = 0, |
| 11731 | .page_size = 0, |
| 11732 | .feature_bits = 0, |
| 11733 | .block_erasers = {}, |
| 11734 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11735 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11736 | { |
Carl-Daniel Hailfinger | 532c717 | 2011-11-04 21:35:26 +0000 | [diff] [blame] | 11737 | .vendor = "Programmer", |
| 11738 | .name = "Opaque flash chip", |
| 11739 | .bustype = BUS_PROG, |
| 11740 | .manufacture_id = PROGMANUF_ID, |
| 11741 | .model_id = PROGDEV_ID, |
| 11742 | .total_size = 0, |
| 11743 | .page_size = 256, |
| 11744 | /* probe is assumed to work, rest will be filled in by probe */ |
| 11745 | .tested = TEST_OK_PROBE, |
| 11746 | .probe = probe_opaque, |
| 11747 | /* eraseblock sizes will be set by the probing function */ |
| 11748 | .block_erasers = |
| 11749 | { |
| 11750 | { |
| 11751 | .block_erase = erase_opaque, |
| 11752 | } |
| 11753 | }, |
| 11754 | .write = write_opaque, |
| 11755 | .read = read_opaque, |
| 11756 | }, |
| 11757 | |
| 11758 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 11759 | .vendor = "AMIC", |
| 11760 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11761 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 11762 | .manufacture_id = AMIC_ID, |
| 11763 | .model_id = GENERIC_DEVICE_ID, |
| 11764 | .total_size = 0, |
| 11765 | .page_size = 256, |
| 11766 | .tested = TEST_BAD_PREW, |
| 11767 | .probe = probe_spi_rdid4, |
| 11768 | .probe_timing = TIMING_ZERO, |
| 11769 | .write = NULL, |
| 11770 | .read = NULL, |
| 11771 | }, |
| 11772 | |
| 11773 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11774 | .vendor = "Atmel", |
| 11775 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11776 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11777 | .manufacture_id = ATMEL_ID, |
| 11778 | .model_id = GENERIC_DEVICE_ID, |
| 11779 | .total_size = 0, |
| 11780 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11781 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11782 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11783 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11784 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11785 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11786 | }, |
| 11787 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11788 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 11789 | .vendor = "Eon", |
| 11790 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11791 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11792 | .manufacture_id = EON_ID_NOPREFIX, |
| 11793 | .model_id = GENERIC_DEVICE_ID, |
| 11794 | .total_size = 0, |
| 11795 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11796 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11797 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11798 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11799 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11800 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11801 | }, |
| 11802 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11803 | { |
| 11804 | .vendor = "Macronix", |
| 11805 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11806 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11807 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11808 | .model_id = GENERIC_DEVICE_ID, |
| 11809 | .total_size = 0, |
| 11810 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11811 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11812 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11813 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11814 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11815 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11816 | }, |
| 11817 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11818 | { |
| 11819 | .vendor = "PMC", |
| 11820 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11821 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11822 | .manufacture_id = PMC_ID, |
| 11823 | .model_id = GENERIC_DEVICE_ID, |
| 11824 | .total_size = 0, |
| 11825 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11826 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11827 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11828 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11829 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11830 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11831 | }, |
| 11832 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11833 | { |
| 11834 | .vendor = "SST", |
| 11835 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11836 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11837 | .manufacture_id = SST_ID, |
| 11838 | .model_id = GENERIC_DEVICE_ID, |
| 11839 | .total_size = 0, |
| 11840 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11841 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11842 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11843 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11844 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11845 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11846 | }, |
| 11847 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11848 | { |
| 11849 | .vendor = "ST", |
| 11850 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11851 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11852 | .manufacture_id = ST_ID, |
| 11853 | .model_id = GENERIC_DEVICE_ID, |
| 11854 | .total_size = 0, |
| 11855 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11856 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11857 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11858 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11859 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11860 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11861 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 11862 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11863 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 11864 | .vendor = "Sanyo", |
| 11865 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11866 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 11867 | .manufacture_id = SANYO_ID, |
| 11868 | .model_id = GENERIC_DEVICE_ID, |
| 11869 | .total_size = 0, |
| 11870 | .page_size = 256, |
| 11871 | .tested = TEST_BAD_PREW, |
| 11872 | .probe = probe_spi_rdid, |
| 11873 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 11874 | .write = NULL, |
| 11875 | .read = NULL, |
| 11876 | }, |
| 11877 | |
| 11878 | { |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 11879 | .vendor = "Winbond", |
| 11880 | .name = "unknown Winbond (ex Nexcom) SPI chip", |
| 11881 | .bustype = BUS_SPI, |
| 11882 | .manufacture_id = WINBOND_NEX_ID, |
| 11883 | .model_id = GENERIC_DEVICE_ID, |
| 11884 | .total_size = 0, |
| 11885 | .page_size = 256, |
| 11886 | .tested = TEST_BAD_PREW, |
| 11887 | .probe = probe_spi_rdid, |
| 11888 | .probe_timing = TIMING_ZERO, |
| 11889 | .write = NULL, |
| 11890 | .read = NULL, |
| 11891 | }, |
| 11892 | |
| 11893 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11894 | .vendor = "Generic", |
| 11895 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11896 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11897 | .manufacture_id = GENERIC_MANUF_ID, |
| 11898 | .model_id = GENERIC_DEVICE_ID, |
| 11899 | .total_size = 0, |
| 11900 | .page_size = 256, |
| 11901 | .tested = TEST_BAD_PREW, |
| 11902 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11903 | .write = NULL, |
| 11904 | }, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 11905 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11906 | { |
| 11907 | .vendor = "Generic", |
| 11908 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11909 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11910 | .manufacture_id = GENERIC_MANUF_ID, |
| 11911 | .model_id = GENERIC_DEVICE_ID, |
| 11912 | .total_size = 0, |
| 11913 | .page_size = 256, |
| 11914 | .tested = TEST_BAD_PREW, |
| 11915 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11916 | .write = NULL, |
| 11917 | }, |
| 11918 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11919 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 11920 | }; |