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, |
| 1356 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1358 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1359 | .voltage = {2700, 3600}, /* 2.3-3.6V & 2.7-3.6V models available */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1360 | }, |
| 1361 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1362 | { |
| 1363 | .vendor = "Atmel", |
| 1364 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1365 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1366 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1367 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1368 | .total_size = 512, |
| 1369 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1370 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1371 | .tested = TEST_UNTESTED, |
| 1372 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1373 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1374 | .block_erasers = |
| 1375 | { |
| 1376 | { |
| 1377 | .eraseblocks = { {4 * 1024, 128} }, |
| 1378 | .block_erase = spi_block_erase_20, |
| 1379 | }, { |
| 1380 | .eraseblocks = { {32 * 1024, 16} }, |
| 1381 | .block_erase = spi_block_erase_52, |
| 1382 | }, { |
| 1383 | .eraseblocks = { {64 * 1024, 8} }, |
| 1384 | .block_erase = spi_block_erase_d8, |
| 1385 | }, { |
| 1386 | .eraseblocks = { {512 * 1024, 1} }, |
| 1387 | .block_erase = spi_block_erase_60, |
| 1388 | }, { |
| 1389 | .eraseblocks = { {512 * 1024, 1} }, |
| 1390 | .block_erase = spi_block_erase_c7, |
| 1391 | } |
| 1392 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1393 | .printlock = spi_prettyprint_status_register_at25df, |
| 1394 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1395 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1396 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1397 | .voltage = {2700, 3600}, /* 2.3-3.6V & 2.7-3.6V models available */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1398 | }, |
| 1399 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1400 | { |
| 1401 | .vendor = "Atmel", |
| 1402 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1403 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1404 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1405 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1406 | .total_size = 1024, |
| 1407 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1408 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1409 | .tested = TEST_UNTESTED, |
| 1410 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1411 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1412 | .block_erasers = |
| 1413 | { |
| 1414 | { |
| 1415 | .eraseblocks = { {4 * 1024, 256} }, |
| 1416 | .block_erase = spi_block_erase_20, |
| 1417 | }, { |
| 1418 | .eraseblocks = { {32 * 1024, 32} }, |
| 1419 | .block_erase = spi_block_erase_52, |
| 1420 | }, { |
| 1421 | .eraseblocks = { {64 * 1024, 16} }, |
| 1422 | .block_erase = spi_block_erase_d8, |
| 1423 | }, { |
| 1424 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1425 | .block_erase = spi_block_erase_60, |
| 1426 | }, { |
| 1427 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1428 | .block_erase = spi_block_erase_c7, |
| 1429 | } |
| 1430 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1431 | .printlock = spi_prettyprint_status_register_at25df, |
| 1432 | .unlock = spi_disable_blockprotect_at25df, |
| 1433 | .write = spi_chip_write_256, |
| 1434 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1435 | .voltage = {1600, 2000}, /* Datasheet says range is 1.65-1.95 V */ |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1436 | }, |
| 1437 | |
| 1438 | { |
| 1439 | .vendor = "Atmel", |
| 1440 | .name = "AT25DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1441 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1442 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1443 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1444 | .total_size = 1024, |
| 1445 | .page_size = 256, |
| 1446 | .feature_bits = FEATURE_WRSR_WREN, |
| 1447 | .tested = TEST_UNTESTED, |
| 1448 | .probe = probe_spi_rdid, |
| 1449 | .probe_timing = TIMING_ZERO, |
| 1450 | .block_erasers = |
| 1451 | { |
| 1452 | { |
| 1453 | .eraseblocks = { {4 * 1024, 256} }, |
| 1454 | .block_erase = spi_block_erase_20, |
| 1455 | }, { |
| 1456 | .eraseblocks = { {32 * 1024, 32} }, |
| 1457 | .block_erase = spi_block_erase_52, |
| 1458 | }, { |
| 1459 | .eraseblocks = { {64 * 1024, 16} }, |
| 1460 | .block_erase = spi_block_erase_d8, |
| 1461 | }, { |
| 1462 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1463 | .block_erase = spi_block_erase_60, |
| 1464 | }, { |
| 1465 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1466 | .block_erase = spi_block_erase_c7, |
| 1467 | } |
| 1468 | }, |
| 1469 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1470 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1471 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1472 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1473 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1474 | }, |
| 1475 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1476 | { |
| 1477 | .vendor = "Atmel", |
| 1478 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1479 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1480 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1481 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1482 | .total_size = 2048, |
| 1483 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1484 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 1485 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1486 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1487 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1488 | .block_erasers = |
| 1489 | { |
| 1490 | { |
| 1491 | .eraseblocks = { {4 * 1024, 512} }, |
| 1492 | .block_erase = spi_block_erase_20, |
| 1493 | }, { |
| 1494 | .eraseblocks = { {32 * 1024, 64} }, |
| 1495 | .block_erase = spi_block_erase_52, |
| 1496 | }, { |
| 1497 | .eraseblocks = { {64 * 1024, 32} }, |
| 1498 | .block_erase = spi_block_erase_d8, |
| 1499 | }, { |
| 1500 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1501 | .block_erase = spi_block_erase_60, |
| 1502 | }, { |
| 1503 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1504 | .block_erase = spi_block_erase_c7, |
| 1505 | } |
| 1506 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1507 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1508 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1509 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1510 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1511 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1512 | }, |
| 1513 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1514 | { |
| 1515 | .vendor = "Atmel", |
| 1516 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1517 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1518 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1519 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1520 | .total_size = 4096, |
| 1521 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1522 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 1523 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1524 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1525 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1526 | .block_erasers = |
| 1527 | { |
| 1528 | { |
| 1529 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1530 | .block_erase = spi_block_erase_20, |
| 1531 | }, { |
| 1532 | .eraseblocks = { {32 * 1024, 128} }, |
| 1533 | .block_erase = spi_block_erase_52, |
| 1534 | }, { |
| 1535 | .eraseblocks = { {64 * 1024, 64} }, |
| 1536 | .block_erase = spi_block_erase_d8, |
| 1537 | }, { |
| 1538 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1539 | .block_erase = spi_block_erase_60, |
| 1540 | }, { |
| 1541 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1542 | .block_erase = spi_block_erase_c7, |
| 1543 | } |
| 1544 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1545 | .printlock = spi_prettyprint_status_register_at25df, |
| 1546 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1547 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1548 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1549 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1550 | }, |
| 1551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1552 | { |
| 1553 | .vendor = "Atmel", |
| 1554 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1555 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1556 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1557 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1558 | .total_size = 4096, |
| 1559 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1560 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1561 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 1562 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1563 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1564 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1565 | .block_erasers = |
| 1566 | { |
| 1567 | { |
| 1568 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1569 | .block_erase = spi_block_erase_20, |
| 1570 | }, { |
| 1571 | .eraseblocks = { {32 * 1024, 128} }, |
| 1572 | .block_erase = spi_block_erase_52, |
| 1573 | }, { |
| 1574 | .eraseblocks = { {64 * 1024, 64} }, |
| 1575 | .block_erase = spi_block_erase_d8, |
| 1576 | }, { |
| 1577 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1578 | .block_erase = spi_block_erase_60, |
| 1579 | }, { |
| 1580 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1581 | .block_erase = spi_block_erase_c7, |
| 1582 | } |
| 1583 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1584 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1585 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1586 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1587 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1588 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1589 | }, |
| 1590 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1591 | { |
| 1592 | .vendor = "Atmel", |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 1593 | .name = "AT25DF641(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1594 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1595 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1596 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1597 | .total_size = 8192, |
| 1598 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1599 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1600 | .tested = TEST_UNTESTED, |
| 1601 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1602 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1603 | .block_erasers = |
| 1604 | { |
| 1605 | { |
| 1606 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1607 | .block_erase = spi_block_erase_20, |
| 1608 | }, { |
| 1609 | .eraseblocks = { {32 * 1024, 256} }, |
| 1610 | .block_erase = spi_block_erase_52, |
| 1611 | }, { |
| 1612 | .eraseblocks = { {64 * 1024, 128} }, |
| 1613 | .block_erase = spi_block_erase_d8, |
| 1614 | }, { |
| 1615 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1616 | .block_erase = spi_block_erase_60, |
| 1617 | }, { |
| 1618 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1619 | .block_erase = spi_block_erase_c7, |
| 1620 | } |
| 1621 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1622 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1623 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1624 | .write = spi_chip_write_256, |
| 1625 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1626 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1627 | }, |
| 1628 | |
| 1629 | { |
| 1630 | .vendor = "Atmel", |
| 1631 | .name = "AT25DQ161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1632 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1633 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1634 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1635 | .total_size = 2048, |
| 1636 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1637 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1638 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1639 | .tested = TEST_UNTESTED, |
| 1640 | .probe = probe_spi_rdid, |
| 1641 | .probe_timing = TIMING_ZERO, |
| 1642 | .block_erasers = |
| 1643 | { |
| 1644 | { |
| 1645 | .eraseblocks = { {4 * 1024, 512} }, |
| 1646 | .block_erase = spi_block_erase_20, |
| 1647 | }, { |
| 1648 | .eraseblocks = { {32 * 1024, 64} }, |
| 1649 | .block_erase = spi_block_erase_52, |
| 1650 | }, { |
| 1651 | .eraseblocks = { {64 * 1024, 32} }, |
| 1652 | .block_erase = spi_block_erase_d8, |
| 1653 | }, { |
| 1654 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1655 | .block_erase = spi_block_erase_60, |
| 1656 | }, { |
| 1657 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1658 | .block_erase = spi_block_erase_c7, |
| 1659 | } |
| 1660 | }, |
| 1661 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1662 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1663 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1664 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1665 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1666 | }, |
| 1667 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1668 | { |
| 1669 | .vendor = "Atmel", |
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, |
| 1852 | .unlock = spi_disable_blockprotect_at25f4096, |
| 1853 | .write = spi_chip_write_256, |
| 1854 | .read = spi_chip_read, |
| 1855 | .voltage = {2700, 3600}, |
| 1856 | }, |
| 1857 | |
| 1858 | { |
| 1859 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1860 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1861 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1862 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1863 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1864 | .total_size = 128, |
| 1865 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1866 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 1867 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1868 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1869 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1870 | .block_erasers = |
| 1871 | { |
| 1872 | { |
| 1873 | .eraseblocks = { {4 * 1024, 32} }, |
| 1874 | .block_erase = spi_block_erase_20, |
| 1875 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1876 | .eraseblocks = { {4 * 1024, 32} }, |
| 1877 | .block_erase = spi_block_erase_d7, |
| 1878 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1879 | .eraseblocks = { {32 * 1024, 4} }, |
| 1880 | .block_erase = spi_block_erase_52, |
| 1881 | }, { |
| 1882 | .eraseblocks = { {32 * 1024, 4} }, |
| 1883 | .block_erase = spi_block_erase_d8, |
| 1884 | }, { |
| 1885 | .eraseblocks = { {128 * 1024, 1} }, |
| 1886 | .block_erase = spi_block_erase_60, |
| 1887 | }, { |
| 1888 | .eraseblocks = { {128 * 1024, 1} }, |
| 1889 | .block_erase = spi_block_erase_c7, |
| 1890 | } |
| 1891 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1892 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1893 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1894 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1895 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1896 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1897 | }, |
| 1898 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1899 | { |
| 1900 | .vendor = "Atmel", |
| 1901 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1902 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1903 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1904 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1905 | .total_size = 512, |
| 1906 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1907 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1908 | .tested = TEST_UNTESTED, |
| 1909 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1910 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1911 | .block_erasers = |
| 1912 | { |
| 1913 | { |
| 1914 | .eraseblocks = { {4 * 1024, 128} }, |
| 1915 | .block_erase = spi_block_erase_20, |
| 1916 | }, { |
| 1917 | .eraseblocks = { {64 * 1024, 8} }, |
| 1918 | .block_erase = spi_block_erase_52, |
| 1919 | }, { |
| 1920 | .eraseblocks = { {64 * 1024, 8} }, |
| 1921 | .block_erase = spi_block_erase_d8, |
| 1922 | }, { |
| 1923 | .eraseblocks = { {512 * 1024, 1} }, |
| 1924 | .block_erase = spi_block_erase_60, |
| 1925 | }, { |
| 1926 | .eraseblocks = { {512 * 1024, 1} }, |
| 1927 | .block_erase = spi_block_erase_c7, |
| 1928 | } |
| 1929 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1930 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1931 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1932 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1933 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1934 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1935 | }, |
| 1936 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1937 | { |
| 1938 | .vendor = "Atmel", |
| 1939 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1940 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1941 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1942 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1943 | .total_size = 512, |
| 1944 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 1945 | /* 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] | 1946 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1947 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1948 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1949 | .block_erasers = |
| 1950 | { |
| 1951 | { |
Stefan Tauner | 94b39b4 | 2012-10-27 00:06:02 +0000 | [diff] [blame] | 1952 | .eraseblocks = { {256, 2048} }, |
| 1953 | .block_erase = spi_block_erase_81, |
| 1954 | }, { |
| 1955 | .eraseblocks = { {2 * 1024, 256} }, |
| 1956 | .block_erase = spi_block_erase_50, |
| 1957 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1958 | .eraseblocks = { {4 * 1024, 128} }, |
| 1959 | .block_erase = spi_block_erase_20, |
| 1960 | } |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 1961 | }, |
| 1962 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
| 1963 | /* 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] | 1964 | .write = spi_chip_write_1, |
| 1965 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1966 | .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] | 1967 | }, |
| 1968 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1969 | { |
| 1970 | .vendor = "Atmel", |
| 1971 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1972 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1973 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1974 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1975 | .total_size = 1024, |
| 1976 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1977 | .feature_bits = FEATURE_WRSR_WREN, |
| 1978 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1979 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1980 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1981 | .block_erasers = |
| 1982 | { |
| 1983 | { |
| 1984 | .eraseblocks = { {4 * 1024, 256} }, |
| 1985 | .block_erase = spi_block_erase_20, |
| 1986 | }, { |
| 1987 | .eraseblocks = { {32 * 1024, 32} }, |
| 1988 | .block_erase = spi_block_erase_52, |
| 1989 | }, { |
| 1990 | .eraseblocks = { {64 * 1024, 16} }, |
| 1991 | .block_erase = spi_block_erase_d8, |
| 1992 | }, { |
| 1993 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1994 | .block_erase = spi_block_erase_60, |
| 1995 | }, { |
| 1996 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1997 | .block_erase = spi_block_erase_c7, |
| 1998 | } |
| 1999 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2000 | .printlock = spi_prettyprint_status_register_at26df081a, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 2001 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2002 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2003 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2004 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2005 | }, |
| 2006 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2007 | { |
| 2008 | .vendor = "Atmel", |
| 2009 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2010 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2011 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2012 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2013 | .total_size = 2048, |
| 2014 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2015 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 2016 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2017 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2018 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2019 | .block_erasers = |
| 2020 | { |
| 2021 | { |
| 2022 | .eraseblocks = { {4 * 1024, 512} }, |
| 2023 | .block_erase = spi_block_erase_20, |
| 2024 | }, { |
| 2025 | .eraseblocks = { {32 * 1024, 64} }, |
| 2026 | .block_erase = spi_block_erase_52, |
| 2027 | }, { |
| 2028 | .eraseblocks = { {64 * 1024, 32} }, |
| 2029 | .block_erase = spi_block_erase_d8, |
| 2030 | }, { |
| 2031 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2032 | .block_erase = spi_block_erase_60, |
| 2033 | }, { |
| 2034 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2035 | .block_erase = spi_block_erase_c7, |
| 2036 | } |
| 2037 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 2038 | .printlock = spi_prettyprint_status_register_at25df, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2039 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2040 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2041 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2042 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2043 | }, |
| 2044 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2045 | { |
| 2046 | .vendor = "Atmel", |
| 2047 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2048 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2049 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2050 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2051 | .total_size = 2048, |
| 2052 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2053 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2054 | .tested = TEST_UNTESTED, |
| 2055 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2056 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2057 | .block_erasers = |
| 2058 | { |
| 2059 | { |
| 2060 | .eraseblocks = { {4 * 1024, 512} }, |
| 2061 | .block_erase = spi_block_erase_20, |
| 2062 | }, { |
| 2063 | .eraseblocks = { {32 * 1024, 64} }, |
| 2064 | .block_erase = spi_block_erase_52, |
| 2065 | }, { |
| 2066 | .eraseblocks = { {64 * 1024, 32} }, |
| 2067 | .block_erase = spi_block_erase_d8, |
| 2068 | }, { |
| 2069 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2070 | .block_erase = spi_block_erase_60, |
| 2071 | }, { |
| 2072 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2073 | .block_erase = spi_block_erase_c7, |
| 2074 | } |
| 2075 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2076 | .printlock = spi_prettyprint_status_register_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2077 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2078 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2079 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2080 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2081 | }, |
| 2082 | |
| 2083 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2084 | /*{ |
| 2085 | .vendor = "Atmel", |
| 2086 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2087 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2088 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2089 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2090 | .total_size = 4096, |
| 2091 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2092 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2093 | .tested = TEST_UNTESTED, |
| 2094 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2095 | .probe_timing = TIMING_ZERO, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2096 | .printlock = spi_prettyprint_status_register_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2097 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2098 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | .read = spi_chip_read, |
| 2100 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2101 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2102 | { |
| 2103 | .vendor = "Atmel", |
| 2104 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2105 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2106 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2107 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2108 | .total_size = 512, |
| 2109 | .page_size = 256, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2110 | .tested = TEST_BAD_WRITE, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2111 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2112 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2113 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2114 | .block_erasers = |
| 2115 | { |
| 2116 | { |
| 2117 | .eraseblocks = { {4 * 1024, 128} }, |
| 2118 | .block_erase = spi_block_erase_20, |
| 2119 | }, { |
| 2120 | .eraseblocks = { {32 * 1024, 16} }, |
| 2121 | .block_erase = spi_block_erase_52, |
| 2122 | }, { |
| 2123 | .eraseblocks = { {64 * 1024, 8} }, |
| 2124 | .block_erase = spi_block_erase_d8, |
| 2125 | }, { |
| 2126 | .eraseblocks = { {512 * 1024, 1} }, |
| 2127 | .block_erase = spi_block_erase_60, |
| 2128 | }, { |
| 2129 | .eraseblocks = { {512 * 1024, 1} }, |
| 2130 | .block_erase = spi_block_erase_c7, |
| 2131 | } |
| 2132 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2133 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2134 | .write = NULL /* Incompatible Page write */, |
| 2135 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2136 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2137 | }, |
| 2138 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2139 | { |
| 2140 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2141 | .name = "AT29C512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2142 | .bustype = BUS_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2143 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2144 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2145 | .total_size = 64, |
| 2146 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2147 | .feature_bits = FEATURE_LONG_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 2148 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 2149 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2150 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2151 | .block_erasers = |
| 2152 | { |
| 2153 | { |
| 2154 | .eraseblocks = { {64 * 1024, 1} }, |
| 2155 | .block_erase = erase_chip_block_jedec, |
| 2156 | } |
| 2157 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2158 | .write = write_jedec, |
| 2159 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2160 | .voltage = {4500, 5500}, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 2161 | }, |
| 2162 | |
| 2163 | { |
| 2164 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2165 | .name = "AT29C010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2166 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2167 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2168 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2169 | .total_size = 128, |
| 2170 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2171 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2172 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2173 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2174 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2175 | .block_erasers = |
| 2176 | { |
| 2177 | { |
| 2178 | .eraseblocks = { {128 * 1024, 1} }, |
| 2179 | .block_erase = erase_chip_block_jedec, |
| 2180 | } |
| 2181 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2182 | .write = write_jedec, /* FIXME */ |
| 2183 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2184 | .voltage = {4500, 5500}, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2185 | }, |
| 2186 | |
| 2187 | { |
| 2188 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2189 | .name = "AT29C020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2190 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2191 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2192 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2193 | .total_size = 256, |
| 2194 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2195 | .feature_bits = FEATURE_LONG_RESET, |
| 2196 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2197 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2198 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2199 | .block_erasers = |
| 2200 | { |
| 2201 | { |
| 2202 | .eraseblocks = { {256 * 1024, 1} }, |
| 2203 | .block_erase = erase_chip_block_jedec, |
| 2204 | } |
| 2205 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2206 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2207 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2208 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2209 | }, |
| 2210 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2211 | { |
| 2212 | .vendor = "Atmel", |
| 2213 | .name = "AT29C040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2214 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2215 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2216 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2217 | .total_size = 512, |
| 2218 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2219 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2220 | .tested = TEST_UNTESTED, |
| 2221 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 2222 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2223 | .block_erasers = |
| 2224 | { |
| 2225 | { |
| 2226 | .eraseblocks = { {512 * 1024, 1} }, |
| 2227 | .block_erase = erase_chip_block_jedec, |
| 2228 | } |
| 2229 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2230 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2231 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2232 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2233 | }, |
| 2234 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2235 | { |
| 2236 | .vendor = "Atmel", |
| 2237 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2238 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2239 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2240 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2241 | .total_size = 16896 /* No power of two sizes */, |
| 2242 | .page_size = 1056 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2243 | /* 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] | 2244 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2245 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2246 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2247 | .write = NULL /* Incompatible Page write */, |
| 2248 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2249 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2250 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2251 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2252 | { |
| 2253 | .vendor = "Atmel", |
| 2254 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2255 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2256 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2257 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2258 | .total_size = 128 /* Size can only be determined from status register */, |
| 2259 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2260 | /* 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] | 2261 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2262 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2263 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2264 | .write = NULL, |
| 2265 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2266 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2267 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2268 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2269 | { |
| 2270 | .vendor = "Atmel", |
| 2271 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2272 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2273 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2274 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2275 | .total_size = 256 /* Size can only be determined from status register */, |
| 2276 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2277 | /* 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] | 2278 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2279 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2280 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2281 | .write = NULL, |
| 2282 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2283 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2284 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2285 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2286 | { |
| 2287 | .vendor = "Atmel", |
| 2288 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2289 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2290 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2291 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2292 | .total_size = 512 /* Size can only be determined from status register */, |
| 2293 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2294 | /* 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] | 2295 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2296 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2297 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2298 | .write = NULL, |
| 2299 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2300 | .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] | 2301 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2302 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2303 | { |
| 2304 | .vendor = "Atmel", |
| 2305 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2306 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2307 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2308 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2309 | .total_size = 1024 /* Size can only be determined from status register */, |
| 2310 | .page_size = 256 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2311 | /* 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] | 2312 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2313 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2314 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2315 | .write = NULL, |
| 2316 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2317 | .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] | 2318 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2319 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2320 | { |
| 2321 | .vendor = "Atmel", |
| 2322 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2323 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2324 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2325 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2326 | .total_size = 2048 /* Size can only be determined from status register */, |
| 2327 | .page_size = 512 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2328 | /* 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] | 2329 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2330 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2331 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2332 | .write = NULL, |
| 2333 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2334 | .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] | 2335 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2336 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2337 | { |
| 2338 | .vendor = "Atmel", |
| 2339 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2340 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2341 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2342 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2343 | .total_size = 4224 /* No power of two sizes */, |
| 2344 | .page_size = 528 /* No power of two sizes */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2345 | /* 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] | 2346 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2347 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2348 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2349 | .write = NULL, |
| 2350 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2351 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2352 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2353 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2354 | { |
| 2355 | .vendor = "Atmel", |
| 2356 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2357 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2358 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2359 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2360 | .total_size = 4096 /* Size can only be determined from status register */, |
| 2361 | .page_size = 512 /* Size can only be determined from status register */, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 2362 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2363 | /* 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] | 2364 | .feature_bits = FEATURE_OTP, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2365 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2366 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2367 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2368 | .write = NULL, |
| 2369 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2370 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2371 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2372 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2373 | { |
| 2374 | .vendor = "Atmel", |
| 2375 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2376 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2377 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2378 | .model_id = ATMEL_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2379 | .total_size = 8192 /* Size can only be determined from status register */, |
| 2380 | .page_size = 1024 /* Size can only be determined from status register */, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2381 | /* 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] | 2382 | .tested = TEST_BAD_REW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2383 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2384 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2385 | .write = NULL, |
| 2386 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2387 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2388 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2389 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2390 | { |
| 2391 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2392 | .name = "AT49BV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2393 | .bustype = BUS_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2394 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2395 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2396 | .total_size = 64, |
| 2397 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2398 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 2399 | .tested = TEST_OK_PREW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2400 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2401 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2402 | .block_erasers = |
| 2403 | { |
| 2404 | { |
| 2405 | .eraseblocks = { {64 * 1024, 1} }, |
| 2406 | .block_erase = erase_chip_block_jedec, |
| 2407 | } |
| 2408 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2409 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2410 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2411 | .voltage = {2700, 3600}, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2412 | }, |
| 2413 | |
| 2414 | { |
| 2415 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2416 | .name = "AT49F002(N)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2417 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2418 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2419 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2420 | .total_size = 256, |
| 2421 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2422 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2423 | .tested = TEST_UNTESTED, |
| 2424 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2425 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2426 | .block_erasers = |
| 2427 | { |
| 2428 | { |
| 2429 | .eraseblocks = { |
| 2430 | {16 * 1024, 1}, |
| 2431 | {8 * 1024, 2}, |
| 2432 | {96 * 1024, 1}, |
| 2433 | {128 * 1024, 1}, |
| 2434 | }, |
| 2435 | .block_erase = erase_sector_jedec, |
| 2436 | }, { |
| 2437 | .eraseblocks = { {256 * 1024, 1} }, |
| 2438 | .block_erase = erase_chip_block_jedec, |
| 2439 | } |
| 2440 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2441 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2442 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2443 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2444 | }, |
| 2445 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2446 | { |
| 2447 | .vendor = "Atmel", |
| 2448 | .name = "AT49F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2449 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2450 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2451 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2452 | .total_size = 256, |
| 2453 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2454 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2455 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2456 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2457 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2458 | .block_erasers = |
| 2459 | { |
| 2460 | { |
| 2461 | .eraseblocks = { |
| 2462 | {128 * 1024, 1}, |
| 2463 | {96 * 1024, 1}, |
| 2464 | {8 * 1024, 2}, |
| 2465 | {16 * 1024, 1}, |
| 2466 | }, |
| 2467 | .block_erase = erase_sector_jedec, |
| 2468 | }, { |
| 2469 | .eraseblocks = { {256 * 1024, 1} }, |
| 2470 | .block_erase = erase_chip_block_jedec, |
| 2471 | } |
| 2472 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2473 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2474 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2475 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2476 | }, |
| 2477 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2478 | { |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2479 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2480 | .name = "AT49(H)F010", |
| 2481 | .bustype = BUS_PARALLEL, |
| 2482 | .manufacture_id = ATMEL_ID, |
| 2483 | .model_id = ATMEL_AT49F010, |
| 2484 | .total_size = 128, |
| 2485 | .page_size = 0, /* unused */ |
| 2486 | .feature_bits = FEATURE_EITHER_RESET, |
| 2487 | .tested = TEST_OK_PREW, |
| 2488 | .probe = probe_jedec, |
| 2489 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2490 | .block_erasers = |
| 2491 | { |
| 2492 | { |
| 2493 | .eraseblocks = { {128 * 1024, 1} }, |
| 2494 | .block_erase = erase_chip_block_jedec, |
| 2495 | } |
| 2496 | }, |
| 2497 | .printlock = printlock_at49f, |
| 2498 | .write = write_jedec_1, |
| 2499 | .read = read_memmapped, |
| 2500 | .voltage = {4500, 5500}, |
| 2501 | }, |
| 2502 | |
| 2503 | { |
| 2504 | .vendor = "Atmel", |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2505 | .name = "AT49F020", |
| 2506 | .bustype = BUS_PARALLEL, |
| 2507 | .manufacture_id = ATMEL_ID, |
| 2508 | .model_id = ATMEL_AT49F020, |
| 2509 | .total_size = 256, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2510 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2511 | .feature_bits = FEATURE_EITHER_RESET, |
| 2512 | .tested = TEST_OK_PRE, |
| 2513 | .probe = probe_jedec, |
| 2514 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2515 | .block_erasers = |
| 2516 | { |
| 2517 | { |
| 2518 | .eraseblocks = { {256 * 1024, 1} }, |
| 2519 | .block_erase = erase_chip_block_jedec, |
| 2520 | } |
| 2521 | /* Chip features an optional permanent write protection |
| 2522 | * of the first 8 kB. The erase function is the same as |
| 2523 | * above, but 00000H to 01FFFH will not be erased. |
| 2524 | * FIXME: add another eraser when partial erasers are |
| 2525 | * supported. |
| 2526 | */ |
| 2527 | }, |
| 2528 | .printlock = printlock_at49f, |
| 2529 | .write = write_jedec_1, |
| 2530 | .read = read_memmapped, |
| 2531 | .voltage = {4500, 5500}, |
| 2532 | }, |
| 2533 | |
| 2534 | { |
| 2535 | .vendor = "Atmel", |
| 2536 | .name = "AT49F040", |
| 2537 | .bustype = BUS_PARALLEL, |
| 2538 | .manufacture_id = ATMEL_ID, |
| 2539 | .model_id = ATMEL_AT49F040, |
| 2540 | .total_size = 512, |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2541 | .page_size = 0, /* unused */ |
David Borg | f5a30f6 | 2012-04-15 13:16:32 +0000 | [diff] [blame] | 2542 | .feature_bits = FEATURE_EITHER_RESET, |
| 2543 | .tested = TEST_UNTESTED, |
| 2544 | .probe = probe_jedec, |
| 2545 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2546 | .block_erasers = |
| 2547 | { |
| 2548 | { |
| 2549 | .eraseblocks = { {512 * 1024, 1} }, |
| 2550 | .block_erase = erase_chip_block_jedec, |
| 2551 | } |
| 2552 | /* Chip features an optional permanent write protection |
| 2553 | * of the first 16 kB. The erase function is the same as |
| 2554 | * above, but 00000H to 03FFFH will not be erased. |
| 2555 | * FIXME: add another eraser when partial erasers are |
| 2556 | * supported. |
| 2557 | */ |
| 2558 | }, |
| 2559 | .printlock = printlock_at49f, |
| 2560 | .write = write_jedec_1, |
| 2561 | .read = read_memmapped, |
| 2562 | .voltage = {4500, 5500}, |
| 2563 | }, |
| 2564 | |
| 2565 | { |
| 2566 | .vendor = "Atmel", |
Andrew Morgan | 8dd97f9 | 2012-08-13 23:43:46 +0000 | [diff] [blame] | 2567 | .name = "AT49F080", |
| 2568 | .bustype = BUS_PARALLEL, |
| 2569 | .manufacture_id = ATMEL_ID, |
| 2570 | .model_id = ATMEL_AT49F080, |
| 2571 | .total_size = 1024, |
| 2572 | .page_size = 0, /* unused */ |
| 2573 | .feature_bits = FEATURE_EITHER_RESET, |
| 2574 | .tested = TEST_UNTESTED, |
| 2575 | .probe = probe_jedec, |
| 2576 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2577 | .block_erasers = |
| 2578 | { |
| 2579 | { |
| 2580 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2581 | .block_erase = erase_chip_block_jedec, |
| 2582 | } |
| 2583 | /* Chip features an optional permanent write protection |
| 2584 | * of the first 16 kB. The erase function is the same as |
| 2585 | * above, but 00000H to 03FFFH will not be erased. |
| 2586 | * FIXME: add another eraser when partial erasers are |
| 2587 | * supported. |
| 2588 | */ |
| 2589 | }, |
| 2590 | .printlock = printlock_at49f, |
| 2591 | .write = write_jedec_1, |
| 2592 | .read = read_memmapped, |
| 2593 | .voltage = {4500, 5500}, |
| 2594 | }, |
| 2595 | |
| 2596 | { |
| 2597 | /* 'top' version of AT49F080. equal in all aspects but the boot block address */ |
| 2598 | .vendor = "Atmel", |
| 2599 | .name = "AT49F080T", |
| 2600 | .bustype = BUS_PARALLEL, |
| 2601 | .manufacture_id = ATMEL_ID, |
| 2602 | .model_id = ATMEL_AT49F080T, |
| 2603 | .total_size = 1024, |
| 2604 | .page_size = 0, /* unused */ |
| 2605 | .feature_bits = FEATURE_EITHER_RESET, |
| 2606 | .tested = TEST_UNTESTED, |
| 2607 | .probe = probe_jedec, |
| 2608 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2609 | .block_erasers = |
| 2610 | { |
| 2611 | { |
| 2612 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2613 | .block_erase = erase_chip_block_jedec, |
| 2614 | } |
| 2615 | /* Chip features an optional permanent write protection |
| 2616 | * of the first 16 kB. The erase function is the same as |
| 2617 | * above, but FC000H to FFFFFH will not be erased. |
| 2618 | * FIXME: add another eraser when partial erasers are |
| 2619 | * supported. |
| 2620 | */ |
| 2621 | }, |
| 2622 | .printlock = printlock_at49f, |
| 2623 | .write = write_jedec_1, |
| 2624 | .read = read_memmapped, |
| 2625 | .voltage = {4500, 5500}, |
| 2626 | }, |
| 2627 | |
| 2628 | { |
| 2629 | .vendor = "Atmel", |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2630 | .name = "AT49LH002", |
| 2631 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
| 2632 | .manufacture_id = ATMEL_ID, |
| 2633 | .model_id = ATMEL_AT49LH002, |
| 2634 | .total_size = 256, |
| 2635 | .page_size = 0, /* unused */ |
| 2636 | .feature_bits = FEATURE_REGISTERMAP, /* TODO: LPC OK too? */ |
| 2637 | .tested = TEST_UNTESTED, |
| 2638 | .probe = probe_82802ab, /* TODO: 0xff cmd not documented? */ |
| 2639 | .probe_timing = TIMING_FIXME, |
| 2640 | .block_erasers = |
| 2641 | { |
| 2642 | { |
| 2643 | .eraseblocks = { |
| 2644 | {64 * 1024, 3}, |
| 2645 | {32 * 1024, 1}, |
| 2646 | {8 * 1024, 2}, |
| 2647 | {16 * 1024, 1}, |
| 2648 | }, |
| 2649 | .block_erase = erase_block_82802ab, |
| 2650 | }, { |
| 2651 | .eraseblocks = { |
| 2652 | {64 * 1024, 4}, |
| 2653 | }, |
| 2654 | .block_erase = NULL, /* TODO: Implement. */ |
| 2655 | }, |
| 2656 | }, |
| 2657 | .printlock = NULL, /* TODO */ |
| 2658 | .unlock = NULL, /* unlock_82802ab() not correct(?) */ |
| 2659 | .write = write_82802ab, |
| 2660 | .read = read_memmapped, |
| 2661 | .voltage = {3000, 3600}, |
| 2662 | }, |
| 2663 | |
| 2664 | { |
Andrew Morgan | ca08146 | 2011-09-13 22:05:44 +0000 | [diff] [blame] | 2665 | .vendor = "Catalyst", |
| 2666 | .name = "CAT28F512", |
| 2667 | .bustype = BUS_PARALLEL, |
| 2668 | .manufacture_id = CATALYST_ID, |
| 2669 | .model_id = CATALYST_CAT28F512, |
| 2670 | .total_size = 64, |
| 2671 | .page_size = 0, /* unused */ |
| 2672 | .feature_bits = 0, |
| 2673 | .tested = TEST_OK_PR, |
| 2674 | .probe = probe_jedec, /* FIXME! */ |
| 2675 | .probe_timing = TIMING_ZERO, |
| 2676 | .block_erasers = |
| 2677 | { |
| 2678 | { |
| 2679 | .eraseblocks = { {64 * 1024, 1} }, |
| 2680 | .block_erase = NULL, /* TODO */ |
| 2681 | }, |
| 2682 | }, |
| 2683 | .write = NULL, /* TODO */ |
| 2684 | .read = read_memmapped, |
| 2685 | .voltage = {4500, 5500}, |
| 2686 | }, |
| 2687 | |
| 2688 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2689 | .vendor = "Bright", |
| 2690 | .name = "BM29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2691 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2692 | .manufacture_id = BRIGHT_ID, |
| 2693 | .model_id = BRIGHT_BM29F040, |
| 2694 | .total_size = 512, |
| 2695 | .page_size = 64 * 1024, |
| 2696 | .feature_bits = FEATURE_EITHER_RESET, |
| 2697 | .tested = TEST_OK_PR, |
| 2698 | .probe = probe_jedec, |
| 2699 | .probe_timing = TIMING_ZERO, |
| 2700 | .block_erasers = |
| 2701 | { |
| 2702 | { |
| 2703 | .eraseblocks = { {64 * 1024, 8} }, |
| 2704 | .block_erase = erase_sector_jedec, |
| 2705 | }, { |
| 2706 | .eraseblocks = { {512 * 1024, 1} }, |
| 2707 | .block_erase = erase_chip_block_jedec, |
| 2708 | }, |
| 2709 | }, |
| 2710 | .write = write_jedec_1, |
| 2711 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2712 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2713 | }, |
| 2714 | |
| 2715 | { |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2716 | .vendor = "ESMT", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2717 | .name = "F49B002UA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2718 | .bustype = BUS_PARALLEL, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2719 | .manufacture_id = ESMT_ID, |
| 2720 | .model_id = ESMT_F49B002UA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2721 | .total_size = 256, |
| 2722 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2723 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2724 | .tested = TEST_UNTESTED, |
| 2725 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2726 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2727 | .block_erasers = |
| 2728 | { |
| 2729 | { |
| 2730 | .eraseblocks = { |
| 2731 | {128 * 1024, 1}, |
| 2732 | {96 * 1024, 1}, |
| 2733 | {8 * 1024, 2}, |
| 2734 | {16 * 1024, 1}, |
| 2735 | }, |
| 2736 | .block_erase = erase_sector_jedec, |
| 2737 | }, { |
| 2738 | .eraseblocks = { {256 * 1024, 1} }, |
| 2739 | .block_erase = erase_chip_block_jedec, |
| 2740 | } |
| 2741 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2742 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2743 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2744 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2745 | }, |
| 2746 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2747 | { |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2748 | .vendor = "ESMT", |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2749 | .name = "F25L008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2750 | .bustype = BUS_SPI, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 2751 | .manufacture_id = ESMT_ID, |
| 2752 | .model_id = ESMT_F25L008A, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2753 | .total_size = 1024, |
| 2754 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2755 | .feature_bits = FEATURE_WRSR_EITHER, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 2756 | .tested = TEST_OK_PREW, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2757 | .probe = probe_spi_rdid, |
| 2758 | .probe_timing = TIMING_ZERO, |
| 2759 | .block_erasers = |
| 2760 | { |
| 2761 | { |
| 2762 | .eraseblocks = { {4 * 1024, 256} }, |
| 2763 | .block_erase = spi_block_erase_20, |
| 2764 | }, { |
| 2765 | .eraseblocks = { {64 * 1024, 16} }, |
| 2766 | .block_erase = spi_block_erase_d8, |
| 2767 | }, { |
| 2768 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2769 | .block_erase = spi_block_erase_60, |
| 2770 | }, { |
| 2771 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2772 | .block_erase = spi_block_erase_c7, |
| 2773 | } |
| 2774 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2775 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2776 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2777 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2778 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2779 | .voltage = {2700, 3600}, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2780 | }, |
| 2781 | |
| 2782 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2783 | .vendor = "Eon", |
| 2784 | .name = "EN25B05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2785 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2786 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2787 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2788 | .total_size = 64, |
| 2789 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2790 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2791 | .tested = TEST_UNTESTED, |
| 2792 | .probe = probe_spi_rdid, |
| 2793 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2794 | .block_erasers = |
| 2795 | { |
| 2796 | { |
| 2797 | .eraseblocks = { |
| 2798 | {4 * 1024, 2}, |
| 2799 | {8 * 1024, 1}, |
| 2800 | {16 * 1024, 1}, |
| 2801 | {32 * 1024, 1}, |
| 2802 | }, |
| 2803 | .block_erase = spi_block_erase_d8, |
| 2804 | }, { |
| 2805 | .eraseblocks = { {64 * 1024, 1} }, |
| 2806 | .block_erase = spi_block_erase_c7, |
| 2807 | } |
| 2808 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2809 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2810 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2811 | .write = spi_chip_write_256, |
| 2812 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2813 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2814 | }, |
| 2815 | |
| 2816 | { |
| 2817 | .vendor = "Eon", |
| 2818 | .name = "EN25B05T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2819 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2820 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2821 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2822 | .total_size = 64, |
| 2823 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2824 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2825 | .tested = TEST_UNTESTED, |
| 2826 | .probe = probe_spi_rdid, |
| 2827 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2828 | .block_erasers = |
| 2829 | { |
| 2830 | { |
| 2831 | .eraseblocks = { |
| 2832 | {32 * 1024, 1}, |
| 2833 | {16 * 1024, 1}, |
| 2834 | {8 * 1024, 1}, |
| 2835 | {4 * 1024, 2}, |
| 2836 | }, |
| 2837 | .block_erase = spi_block_erase_d8, |
| 2838 | }, { |
| 2839 | .eraseblocks = { {64 * 1024, 1} }, |
| 2840 | .block_erase = spi_block_erase_c7, |
| 2841 | } |
| 2842 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2843 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2844 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2845 | .write = spi_chip_write_256, |
| 2846 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2847 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2848 | }, |
| 2849 | |
| 2850 | { |
| 2851 | .vendor = "Eon", |
| 2852 | .name = "EN25B10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2853 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2854 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2855 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2856 | .total_size = 128, |
| 2857 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2858 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2859 | .tested = TEST_UNTESTED, |
| 2860 | .probe = probe_spi_rdid, |
| 2861 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2862 | .block_erasers = |
| 2863 | { |
| 2864 | { |
| 2865 | .eraseblocks = { |
| 2866 | {4 * 1024, 2}, |
| 2867 | {8 * 1024, 1}, |
| 2868 | {16 * 1024, 1}, |
| 2869 | {32 * 1024, 3}, |
| 2870 | }, |
| 2871 | .block_erase = spi_block_erase_d8, |
| 2872 | }, { |
| 2873 | .eraseblocks = { {128 * 1024, 1} }, |
| 2874 | .block_erase = spi_block_erase_c7, |
| 2875 | } |
| 2876 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2877 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2878 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2879 | .write = spi_chip_write_256, |
| 2880 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2881 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2882 | }, |
| 2883 | |
| 2884 | { |
| 2885 | .vendor = "Eon", |
| 2886 | .name = "EN25B10T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2887 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2888 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2889 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2890 | .total_size = 128, |
| 2891 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2892 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2893 | .tested = TEST_UNTESTED, |
| 2894 | .probe = probe_spi_rdid, |
| 2895 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2896 | .block_erasers = |
| 2897 | { |
| 2898 | { |
| 2899 | .eraseblocks = { |
| 2900 | {32 * 1024, 3}, |
| 2901 | {16 * 1024, 1}, |
| 2902 | {8 * 1024, 1}, |
| 2903 | {4 * 1024, 2}, |
| 2904 | }, |
| 2905 | .block_erase = spi_block_erase_d8, |
| 2906 | }, { |
| 2907 | .eraseblocks = { {128 * 1024, 1} }, |
| 2908 | .block_erase = spi_block_erase_c7, |
| 2909 | } |
| 2910 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2911 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2912 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2913 | .write = spi_chip_write_256, |
| 2914 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2915 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2916 | }, |
| 2917 | |
| 2918 | { |
| 2919 | .vendor = "Eon", |
| 2920 | .name = "EN25B20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2921 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2922 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2923 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2924 | .total_size = 256, |
| 2925 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2926 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2927 | .tested = TEST_UNTESTED, |
| 2928 | .probe = probe_spi_rdid, |
| 2929 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2930 | .block_erasers = |
| 2931 | { |
| 2932 | { |
| 2933 | .eraseblocks = { |
| 2934 | {4 * 1024, 2}, |
| 2935 | {8 * 1024, 1}, |
| 2936 | {16 * 1024, 1}, |
| 2937 | {32 * 1024, 1}, |
| 2938 | {64 * 1024, 3} |
| 2939 | }, |
| 2940 | .block_erase = spi_block_erase_d8, |
| 2941 | }, { |
| 2942 | .eraseblocks = { {256 * 1024, 1} }, |
| 2943 | .block_erase = spi_block_erase_c7, |
| 2944 | } |
| 2945 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2946 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2947 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2948 | .write = spi_chip_write_256, |
| 2949 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2950 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2951 | }, |
| 2952 | |
| 2953 | { |
| 2954 | .vendor = "Eon", |
| 2955 | .name = "EN25B20T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2956 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2957 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2958 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2959 | .total_size = 256, |
| 2960 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2961 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2962 | .tested = TEST_UNTESTED, |
| 2963 | .probe = probe_spi_rdid, |
| 2964 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2965 | .block_erasers = |
| 2966 | { |
| 2967 | { |
| 2968 | .eraseblocks = { |
| 2969 | {64 * 1024, 3}, |
| 2970 | {32 * 1024, 1}, |
| 2971 | {16 * 1024, 1}, |
| 2972 | {8 * 1024, 1}, |
| 2973 | {4 * 1024, 2}, |
| 2974 | }, |
| 2975 | .block_erase = spi_block_erase_d8, |
| 2976 | }, { |
| 2977 | .eraseblocks = { {256 * 1024, 1} }, |
| 2978 | .block_erase = spi_block_erase_c7, |
| 2979 | } |
| 2980 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 2981 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2982 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2983 | .write = spi_chip_write_256, |
| 2984 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2985 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2986 | }, |
| 2987 | |
| 2988 | { |
| 2989 | .vendor = "Eon", |
| 2990 | .name = "EN25B40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2991 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2992 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2993 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2994 | .total_size = 512, |
| 2995 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 2996 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2997 | .tested = TEST_UNTESTED, |
| 2998 | .probe = probe_spi_rdid, |
| 2999 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3000 | .block_erasers = |
| 3001 | { |
| 3002 | { |
| 3003 | .eraseblocks = { |
| 3004 | {4 * 1024, 2}, |
| 3005 | {8 * 1024, 1}, |
| 3006 | {16 * 1024, 1}, |
| 3007 | {32 * 1024, 1}, |
| 3008 | {64 * 1024, 7} |
| 3009 | }, |
| 3010 | .block_erase = spi_block_erase_d8, |
| 3011 | }, { |
| 3012 | .eraseblocks = { {512 * 1024, 1} }, |
| 3013 | .block_erase = spi_block_erase_c7, |
| 3014 | } |
| 3015 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3016 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3017 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3018 | .write = spi_chip_write_256, |
| 3019 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3020 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3021 | }, |
| 3022 | |
| 3023 | { |
| 3024 | .vendor = "Eon", |
| 3025 | .name = "EN25B40T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3026 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3027 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3028 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3029 | .total_size = 512, |
| 3030 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3031 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3032 | .tested = TEST_UNTESTED, |
| 3033 | .probe = probe_spi_rdid, |
| 3034 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3035 | .block_erasers = |
| 3036 | { |
| 3037 | { |
| 3038 | .eraseblocks = { |
| 3039 | {64 * 1024, 7}, |
| 3040 | {32 * 1024, 1}, |
| 3041 | {16 * 1024, 1}, |
| 3042 | {8 * 1024, 1}, |
| 3043 | {4 * 1024, 2}, |
| 3044 | }, |
| 3045 | .block_erase = spi_block_erase_d8, |
| 3046 | }, { |
| 3047 | .eraseblocks = { {512 * 1024, 1} }, |
| 3048 | .block_erase = spi_block_erase_c7, |
| 3049 | } |
| 3050 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3051 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3052 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3053 | .write = spi_chip_write_256, |
| 3054 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3055 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3056 | }, |
| 3057 | |
| 3058 | { |
| 3059 | .vendor = "Eon", |
| 3060 | .name = "EN25B80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3061 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3062 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3063 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3064 | .total_size = 1024, |
| 3065 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3066 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3067 | .tested = TEST_UNTESTED, |
| 3068 | .probe = probe_spi_rdid, |
| 3069 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3070 | .block_erasers = |
| 3071 | { |
| 3072 | { |
| 3073 | .eraseblocks = { |
| 3074 | {4 * 1024, 2}, |
| 3075 | {8 * 1024, 1}, |
| 3076 | {16 * 1024, 1}, |
| 3077 | {32 * 1024, 1}, |
| 3078 | {64 * 1024, 15} |
| 3079 | }, |
| 3080 | .block_erase = spi_block_erase_d8, |
| 3081 | }, { |
| 3082 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3083 | .block_erase = spi_block_erase_c7, |
| 3084 | } |
| 3085 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3086 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3087 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3088 | .write = spi_chip_write_256, |
| 3089 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3090 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3091 | }, |
| 3092 | |
| 3093 | { |
| 3094 | .vendor = "Eon", |
| 3095 | .name = "EN25B80T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3096 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3097 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3098 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3099 | .total_size = 1024, |
| 3100 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3101 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3102 | .tested = TEST_UNTESTED, |
| 3103 | .probe = probe_spi_rdid, |
| 3104 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3105 | .block_erasers = |
| 3106 | { |
| 3107 | { |
| 3108 | .eraseblocks = { |
| 3109 | {64 * 1024, 15}, |
| 3110 | {32 * 1024, 1}, |
| 3111 | {16 * 1024, 1}, |
| 3112 | {8 * 1024, 1}, |
| 3113 | {4 * 1024, 2}, |
| 3114 | }, |
| 3115 | .block_erase = spi_block_erase_d8, |
| 3116 | }, { |
| 3117 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3118 | .block_erase = spi_block_erase_c7, |
| 3119 | } |
| 3120 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3121 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3122 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3123 | .write = spi_chip_write_256, |
| 3124 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3125 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3126 | }, |
| 3127 | |
| 3128 | { |
| 3129 | .vendor = "Eon", |
| 3130 | .name = "EN25B16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3131 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3132 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3133 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3134 | .total_size = 2048, |
| 3135 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3136 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3137 | .tested = TEST_UNTESTED, |
| 3138 | .probe = probe_spi_rdid, |
| 3139 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3140 | .block_erasers = |
| 3141 | { |
| 3142 | { |
| 3143 | .eraseblocks = { |
| 3144 | {4 * 1024, 2}, |
| 3145 | {8 * 1024, 1}, |
| 3146 | {16 * 1024, 1}, |
| 3147 | {32 * 1024, 1}, |
| 3148 | {64 * 1024, 31}, |
| 3149 | }, |
| 3150 | .block_erase = spi_block_erase_d8, |
| 3151 | }, { |
| 3152 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3153 | .block_erase = spi_block_erase_c7, |
| 3154 | } |
| 3155 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3156 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3157 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3158 | .write = spi_chip_write_256, |
| 3159 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3160 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3161 | }, |
| 3162 | |
| 3163 | { |
| 3164 | .vendor = "Eon", |
| 3165 | .name = "EN25B16T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3166 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3167 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3168 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3169 | .total_size = 2048, |
| 3170 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3171 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3172 | .tested = TEST_UNTESTED, |
| 3173 | .probe = probe_spi_rdid, |
| 3174 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3175 | .block_erasers = |
| 3176 | { |
| 3177 | { |
| 3178 | .eraseblocks = { |
| 3179 | {64 * 1024, 31}, |
| 3180 | {32 * 1024, 1}, |
| 3181 | {16 * 1024, 1}, |
| 3182 | {8 * 1024, 1}, |
| 3183 | {4 * 1024, 2}, |
| 3184 | }, |
| 3185 | .block_erase = spi_block_erase_d8, |
| 3186 | }, { |
| 3187 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3188 | .block_erase = spi_block_erase_c7, |
| 3189 | } |
| 3190 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3191 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3192 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3193 | .write = spi_chip_write_256, |
| 3194 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3195 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3196 | }, |
| 3197 | |
| 3198 | { |
| 3199 | .vendor = "Eon", |
| 3200 | .name = "EN25B32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3201 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3202 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3203 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3204 | .total_size = 4096, |
| 3205 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3206 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3207 | .tested = TEST_UNTESTED, |
| 3208 | .probe = probe_spi_rdid, |
| 3209 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3210 | .block_erasers = |
| 3211 | { |
| 3212 | { |
| 3213 | .eraseblocks = { |
| 3214 | {4 * 1024, 2}, |
| 3215 | {8 * 1024, 1}, |
| 3216 | {16 * 1024, 1}, |
| 3217 | {32 * 1024, 1}, |
| 3218 | {64 * 1024, 63}, |
| 3219 | }, |
| 3220 | .block_erase = spi_block_erase_d8, |
| 3221 | }, { |
| 3222 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3223 | .block_erase = spi_block_erase_c7, |
| 3224 | } |
| 3225 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3226 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3227 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3228 | .write = spi_chip_write_256, |
| 3229 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3230 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3231 | }, |
| 3232 | |
| 3233 | { |
| 3234 | .vendor = "Eon", |
| 3235 | .name = "EN25B32T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3236 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3237 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3238 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3239 | .total_size = 4096, |
| 3240 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3241 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3242 | .tested = TEST_UNTESTED, |
| 3243 | .probe = probe_spi_rdid, |
| 3244 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3245 | .block_erasers = |
| 3246 | { |
| 3247 | { |
| 3248 | .eraseblocks = { |
| 3249 | {64 * 1024, 63}, |
| 3250 | {32 * 1024, 1}, |
| 3251 | {16 * 1024, 1}, |
| 3252 | {8 * 1024, 1}, |
| 3253 | {4 * 1024, 2}, |
| 3254 | }, |
| 3255 | .block_erase = spi_block_erase_d8, |
| 3256 | }, { |
| 3257 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3258 | .block_erase = spi_block_erase_c7, |
| 3259 | } |
| 3260 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3261 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3262 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3263 | .write = spi_chip_write_256, |
| 3264 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3265 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3266 | }, |
| 3267 | |
| 3268 | { |
| 3269 | .vendor = "Eon", |
| 3270 | .name = "EN25B64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3271 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3272 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3273 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3274 | .total_size = 8192, |
| 3275 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3276 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3277 | .tested = TEST_UNTESTED, |
| 3278 | .probe = probe_spi_rdid, |
| 3279 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3280 | .block_erasers = |
| 3281 | { |
| 3282 | { |
| 3283 | .eraseblocks = { |
| 3284 | {4 * 1024, 2}, |
| 3285 | {8 * 1024, 1}, |
| 3286 | {16 * 1024, 1}, |
| 3287 | {32 * 1024, 1}, |
| 3288 | {64 * 1024, 127}, |
| 3289 | }, |
| 3290 | .block_erase = spi_block_erase_d8, |
| 3291 | }, { |
| 3292 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3293 | .block_erase = spi_block_erase_c7, |
| 3294 | } |
| 3295 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3296 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3297 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3298 | .write = spi_chip_write_256, |
| 3299 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3300 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3301 | }, |
| 3302 | |
| 3303 | { |
| 3304 | .vendor = "Eon", |
| 3305 | .name = "EN25B64T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3306 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3307 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3308 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3309 | .total_size = 8192, |
| 3310 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 3311 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3312 | .tested = TEST_UNTESTED, |
| 3313 | .probe = probe_spi_rdid, |
| 3314 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3315 | .block_erasers = |
| 3316 | { |
| 3317 | { |
| 3318 | .eraseblocks = { |
| 3319 | {64 * 1024, 127}, |
| 3320 | {32 * 1024, 1}, |
| 3321 | {16 * 1024, 1}, |
| 3322 | {8 * 1024, 1}, |
| 3323 | {4 * 1024, 2}, |
| 3324 | }, |
| 3325 | .block_erase = spi_block_erase_d8, |
| 3326 | }, { |
| 3327 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3328 | .block_erase = spi_block_erase_c7, |
| 3329 | } |
| 3330 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3331 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3332 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3333 | .write = spi_chip_write_256, |
| 3334 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3335 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3336 | }, |
| 3337 | |
| 3338 | { |
| 3339 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3340 | .name = "EN25F05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3341 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3342 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3343 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3344 | .total_size = 64, |
| 3345 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3346 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3347 | .tested = TEST_UNTESTED, |
| 3348 | .probe = probe_spi_rdid, |
| 3349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3350 | .block_erasers = |
| 3351 | { |
| 3352 | { |
| 3353 | .eraseblocks = { {4 * 1024, 16} }, |
| 3354 | .block_erase = spi_block_erase_20, |
| 3355 | }, { |
| 3356 | .eraseblocks = { {32 * 1024, 2} }, |
| 3357 | .block_erase = spi_block_erase_d8, |
| 3358 | }, { |
| 3359 | .eraseblocks = { {32 * 1024, 2} }, |
| 3360 | .block_erase = spi_block_erase_52, |
| 3361 | }, { |
| 3362 | .eraseblocks = { {64 * 1024, 1} }, |
| 3363 | .block_erase = spi_block_erase_60, |
| 3364 | }, { |
| 3365 | .eraseblocks = { {64 * 1024, 1} }, |
| 3366 | .block_erase = spi_block_erase_c7, |
| 3367 | } |
| 3368 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3369 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3370 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3371 | .write = spi_chip_write_256, |
| 3372 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3373 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3374 | }, |
| 3375 | |
| 3376 | { |
| 3377 | .vendor = "Eon", |
| 3378 | .name = "EN25F10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3379 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3380 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3381 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3382 | .total_size = 128, |
| 3383 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3384 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3385 | .tested = TEST_UNTESTED, |
| 3386 | .probe = probe_spi_rdid, |
| 3387 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3388 | .block_erasers = |
| 3389 | { |
| 3390 | { |
| 3391 | .eraseblocks = { {4 * 1024, 32} }, |
| 3392 | .block_erase = spi_block_erase_20, |
| 3393 | }, { |
| 3394 | .eraseblocks = { {32 * 1024, 4} }, |
| 3395 | .block_erase = spi_block_erase_d8, |
| 3396 | }, { |
| 3397 | .eraseblocks = { {32 * 1024, 4} }, |
| 3398 | .block_erase = spi_block_erase_52, |
| 3399 | }, { |
| 3400 | .eraseblocks = { {128 * 1024, 1} }, |
| 3401 | .block_erase = spi_block_erase_60, |
| 3402 | }, { |
| 3403 | .eraseblocks = { {128 * 1024, 1} }, |
| 3404 | .block_erase = spi_block_erase_c7, |
| 3405 | } |
| 3406 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3407 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3408 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3409 | .write = spi_chip_write_256, |
| 3410 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3411 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3412 | }, |
| 3413 | |
| 3414 | { |
| 3415 | .vendor = "Eon", |
| 3416 | .name = "EN25F20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3417 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3418 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3419 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3420 | .total_size = 256, |
| 3421 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3422 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3423 | .tested = TEST_UNTESTED, |
| 3424 | .probe = probe_spi_rdid, |
| 3425 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3426 | .block_erasers = |
| 3427 | { |
| 3428 | { |
| 3429 | .eraseblocks = { {4 * 1024, 64} }, |
| 3430 | .block_erase = spi_block_erase_20, |
| 3431 | }, { |
| 3432 | .eraseblocks = { {64 * 1024, 4} }, |
| 3433 | .block_erase = spi_block_erase_d8, |
| 3434 | }, { |
| 3435 | .eraseblocks = { {64 * 1024, 4} }, |
| 3436 | .block_erase = spi_block_erase_52, |
| 3437 | }, { |
| 3438 | .eraseblocks = { {256 * 1024, 1} }, |
| 3439 | .block_erase = spi_block_erase_60, |
| 3440 | }, { |
| 3441 | .eraseblocks = { {256 * 1024, 1} }, |
| 3442 | .block_erase = spi_block_erase_c7, |
| 3443 | } |
| 3444 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3445 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3446 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3447 | .write = spi_chip_write_256, |
| 3448 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3449 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3450 | }, |
| 3451 | |
| 3452 | { |
| 3453 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3454 | .name = "EN25F40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3455 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3456 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3457 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3458 | .total_size = 512, |
| 3459 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3460 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 3461 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3462 | .probe = probe_spi_rdid, |
| 3463 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3464 | .block_erasers = |
| 3465 | { |
| 3466 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3467 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3468 | .block_erase = spi_block_erase_20, |
| 3469 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3470 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3471 | .block_erase = spi_block_erase_d8, |
| 3472 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3473 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3474 | .block_erase = spi_block_erase_60, |
| 3475 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3476 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3477 | .block_erase = spi_block_erase_c7, |
| 3478 | }, |
| 3479 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3480 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3481 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3482 | .write = spi_chip_write_256, |
| 3483 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3484 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3485 | }, |
| 3486 | |
| 3487 | { |
| 3488 | .vendor = "Eon", |
| 3489 | .name = "EN25F80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3490 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3491 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3492 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3493 | .total_size = 1024, |
| 3494 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3495 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 3496 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3497 | .probe = probe_spi_rdid, |
| 3498 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3499 | .block_erasers = |
| 3500 | { |
| 3501 | { |
| 3502 | .eraseblocks = { {4 * 1024, 256} }, |
| 3503 | .block_erase = spi_block_erase_20, |
| 3504 | }, { |
| 3505 | .eraseblocks = { {64 * 1024, 16} }, |
| 3506 | .block_erase = spi_block_erase_d8, |
| 3507 | }, { |
| 3508 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3509 | .block_erase = spi_block_erase_60, |
| 3510 | }, { |
| 3511 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3512 | .block_erase = spi_block_erase_c7, |
| 3513 | } |
| 3514 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3515 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3516 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3517 | .write = spi_chip_write_256, |
| 3518 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3519 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3520 | }, |
| 3521 | |
| 3522 | { |
| 3523 | .vendor = "Eon", |
| 3524 | .name = "EN25F16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3525 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3526 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3527 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3528 | .total_size = 2048, |
| 3529 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3530 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3531 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3532 | .probe = probe_spi_rdid, |
| 3533 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3534 | .block_erasers = |
| 3535 | { |
| 3536 | { |
| 3537 | .eraseblocks = { {4 * 1024, 512} }, |
| 3538 | .block_erase = spi_block_erase_20, |
| 3539 | }, { |
| 3540 | .eraseblocks = { {64 * 1024, 32} }, |
| 3541 | .block_erase = spi_block_erase_d8, |
| 3542 | }, { |
| 3543 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3544 | .block_erase = spi_block_erase_60, |
| 3545 | }, { |
| 3546 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3547 | .block_erase = spi_block_erase_c7, |
| 3548 | } |
| 3549 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3550 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3551 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3552 | .write = spi_chip_write_256, |
| 3553 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3554 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3555 | }, |
| 3556 | |
| 3557 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3558 | .vendor = "Eon", |
| 3559 | .name = "EN25F32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3560 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3561 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3562 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3563 | .total_size = 4096, |
| 3564 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3565 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3566 | .tested = TEST_UNTESTED, |
| 3567 | .probe = probe_spi_rdid, |
| 3568 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3569 | .block_erasers = |
| 3570 | { |
| 3571 | { |
| 3572 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3573 | .block_erase = spi_block_erase_20, |
| 3574 | }, { |
| 3575 | .eraseblocks = { {64 * 1024, 64} }, |
| 3576 | .block_erase = spi_block_erase_d8, |
| 3577 | }, { |
| 3578 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3579 | .block_erase = spi_block_erase_60, |
| 3580 | }, { |
| 3581 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3582 | .block_erase = spi_block_erase_c7, |
| 3583 | } |
| 3584 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3585 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3586 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3587 | .write = spi_chip_write_256, |
| 3588 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3589 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3590 | }, |
| 3591 | |
| 3592 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3593 | .vendor = "Eon", |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3594 | .name = "EN25F64", |
| 3595 | .bustype = BUS_SPI, |
| 3596 | .manufacture_id = EON_ID_NOPREFIX, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 3597 | .model_id = EON_EN25F64, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3598 | .total_size = 8192, |
| 3599 | .page_size = 256, |
| 3600 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 3601 | .tested = TEST_OK_PREW, |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3602 | .probe = probe_spi_rdid, |
| 3603 | .probe_timing = TIMING_ZERO, |
| 3604 | .block_erasers = |
| 3605 | { |
| 3606 | { |
| 3607 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3608 | .block_erase = spi_block_erase_20, |
| 3609 | }, { |
| 3610 | .eraseblocks = { {64 * 1024, 128} }, |
| 3611 | .block_erase = spi_block_erase_d8, |
| 3612 | }, { |
| 3613 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3614 | .block_erase = spi_block_erase_60, |
| 3615 | }, { |
| 3616 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3617 | .block_erase = spi_block_erase_c7, |
| 3618 | } |
| 3619 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3620 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stefan Tauner | d932fd0 | 2012-09-06 17:37:16 +0000 | [diff] [blame] | 3621 | .unlock = spi_disable_blockprotect, |
| 3622 | .write = spi_chip_write_256, |
| 3623 | .read = spi_chip_read, |
| 3624 | .voltage = {2700, 3600}, |
| 3625 | }, |
| 3626 | |
| 3627 | { |
| 3628 | .vendor = "Eon", |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3629 | .name = "EN25Q40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3630 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3631 | .manufacture_id = EON_ID_NOPREFIX, |
| 3632 | .model_id = EON_EN25Q40, |
| 3633 | .total_size = 512, |
| 3634 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3635 | /* OTP: 256B total; enter 0x3A */ |
| 3636 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3637 | .tested = TEST_UNTESTED, |
| 3638 | .probe = probe_spi_rdid, |
| 3639 | .probe_timing = TIMING_ZERO, |
| 3640 | .block_erasers = |
| 3641 | { |
| 3642 | { |
| 3643 | .eraseblocks = { {4 * 1024, 128} }, |
| 3644 | .block_erase = spi_block_erase_20, |
| 3645 | }, { |
| 3646 | .eraseblocks = { {64 * 1024, 8} }, |
| 3647 | .block_erase = spi_block_erase_d8, |
| 3648 | }, { |
| 3649 | .eraseblocks = { {512 * 1024, 1} }, |
| 3650 | .block_erase = spi_block_erase_60, |
| 3651 | }, { |
| 3652 | .eraseblocks = { {512 * 1024, 1} }, |
| 3653 | .block_erase = spi_block_erase_c7, |
| 3654 | } |
| 3655 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3656 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3657 | .unlock = spi_disable_blockprotect, |
| 3658 | .write = spi_chip_write_256, |
| 3659 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3660 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3661 | }, |
| 3662 | |
| 3663 | { |
| 3664 | .vendor = "Eon", |
| 3665 | .name = "EN25Q80(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3666 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3667 | .manufacture_id = EON_ID_NOPREFIX, |
| 3668 | .model_id = EON_EN25Q80, |
| 3669 | .total_size = 1024, |
| 3670 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3671 | /* OTP: 256B total; enter 0x3A */ |
| 3672 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3673 | .tested = TEST_UNTESTED, |
| 3674 | .probe = probe_spi_rdid, |
| 3675 | .probe_timing = TIMING_ZERO, |
| 3676 | .block_erasers = |
| 3677 | { |
| 3678 | { |
| 3679 | .eraseblocks = { {4 * 1024, 256} }, |
| 3680 | .block_erase = spi_block_erase_20, |
| 3681 | }, { |
| 3682 | .eraseblocks = { {64 * 1024, 16} }, |
| 3683 | .block_erase = spi_block_erase_d8, |
| 3684 | }, { |
| 3685 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3686 | .block_erase = spi_block_erase_60, |
| 3687 | }, { |
| 3688 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3689 | .block_erase = spi_block_erase_c7, |
| 3690 | } |
| 3691 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3692 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3693 | .unlock = spi_disable_blockprotect, |
| 3694 | .write = spi_chip_write_256, |
| 3695 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3696 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3697 | }, |
| 3698 | |
| 3699 | { |
| 3700 | /* Note: EN25D16 is an evil twin which shares the model ID |
| 3701 | but has different write protection capabilities */ |
| 3702 | .vendor = "Eon", |
| 3703 | .name = "EN25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3704 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3705 | .manufacture_id = EON_ID_NOPREFIX, |
| 3706 | .model_id = EON_EN25Q16, |
| 3707 | .total_size = 2048, |
| 3708 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3709 | /* OTP: D16 512B/Q16 128B total; enter 0x3A */ |
| 3710 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3711 | .tested = TEST_UNTESTED, |
| 3712 | .probe = probe_spi_rdid, |
| 3713 | .probe_timing = TIMING_ZERO, |
| 3714 | .block_erasers = |
| 3715 | { |
| 3716 | { |
| 3717 | .eraseblocks = { {4 * 1024, 512} }, |
| 3718 | .block_erase = spi_block_erase_20, |
| 3719 | }, { |
| 3720 | .eraseblocks = { {64 * 1024, 32} }, |
| 3721 | .block_erase = spi_block_erase_d8, |
| 3722 | }, { |
| 3723 | /* not supported by Q16 version */ |
| 3724 | .eraseblocks = { {64 * 1024, 32} }, |
| 3725 | .block_erase = spi_block_erase_52, |
| 3726 | }, { |
| 3727 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3728 | .block_erase = spi_block_erase_60, |
| 3729 | }, { |
| 3730 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3731 | .block_erase = spi_block_erase_c7, |
| 3732 | } |
| 3733 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3734 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3735 | .unlock = spi_disable_blockprotect, |
| 3736 | .write = spi_chip_write_256, |
| 3737 | .read = spi_chip_read, |
| 3738 | .voltage = {2700, 3600}, |
| 3739 | }, |
| 3740 | |
| 3741 | { |
| 3742 | .vendor = "Eon", |
| 3743 | .name = "EN25Q32(A/B)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3744 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3745 | .manufacture_id = EON_ID_NOPREFIX, |
| 3746 | .model_id = EON_EN25Q32, |
| 3747 | .total_size = 4096, |
| 3748 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3749 | /* OTP: 512B total; enter 0x3A */ |
| 3750 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3751 | .tested = TEST_OK_PREW, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3752 | .probe = probe_spi_rdid, |
| 3753 | .probe_timing = TIMING_ZERO, |
| 3754 | .block_erasers = |
| 3755 | { |
| 3756 | { |
| 3757 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3758 | .block_erase = spi_block_erase_20, |
| 3759 | }, { |
| 3760 | .eraseblocks = { {64 * 1024, 64} }, |
| 3761 | .block_erase = spi_block_erase_d8, |
| 3762 | }, { |
| 3763 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3764 | .block_erase = spi_block_erase_60, |
| 3765 | }, { |
| 3766 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3767 | .block_erase = spi_block_erase_c7, |
| 3768 | } |
| 3769 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3770 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3771 | .unlock = spi_disable_blockprotect, |
| 3772 | .write = spi_chip_write_256, |
| 3773 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3774 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3775 | }, |
| 3776 | |
| 3777 | { |
| 3778 | .vendor = "Eon", |
| 3779 | .name = "EN25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3780 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3781 | .manufacture_id = EON_ID_NOPREFIX, |
| 3782 | .model_id = EON_EN25Q64, |
| 3783 | .total_size = 8192, |
| 3784 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3785 | /* OTP: 512B total; enter 0x3A */ |
| 3786 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 3787 | .tested = TEST_OK_PREW, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3788 | .probe = probe_spi_rdid, |
| 3789 | .probe_timing = TIMING_ZERO, |
| 3790 | .block_erasers = |
| 3791 | { |
| 3792 | { |
| 3793 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3794 | .block_erase = spi_block_erase_20, |
| 3795 | }, { |
| 3796 | .eraseblocks = { {64 * 1024, 128} }, |
| 3797 | .block_erase = spi_block_erase_d8, |
| 3798 | }, { |
| 3799 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3800 | .block_erase = spi_block_erase_60, |
| 3801 | }, { |
| 3802 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3803 | .block_erase = spi_block_erase_c7, |
| 3804 | } |
| 3805 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3806 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3807 | .unlock = spi_disable_blockprotect, |
| 3808 | .write = spi_chip_write_256, |
| 3809 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 3810 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3811 | }, |
| 3812 | |
| 3813 | { |
| 3814 | .vendor = "Eon", |
| 3815 | .name = "EN25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3816 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3817 | .manufacture_id = EON_ID_NOPREFIX, |
| 3818 | .model_id = EON_EN25Q128, |
| 3819 | .total_size = 16384, |
| 3820 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3821 | /* OTP: 512B total; enter 0x3A */ |
| 3822 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3823 | .tested = TEST_UNTESTED, |
| 3824 | .probe = probe_spi_rdid, |
| 3825 | .probe_timing = TIMING_ZERO, |
| 3826 | .block_erasers = |
| 3827 | { |
| 3828 | { |
| 3829 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3830 | .block_erase = spi_block_erase_20, |
| 3831 | }, { |
| 3832 | .eraseblocks = { {64 * 1024, 256} }, |
| 3833 | .block_erase = spi_block_erase_d8, |
| 3834 | }, { |
| 3835 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3836 | .block_erase = spi_block_erase_60, |
| 3837 | }, { |
| 3838 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3839 | .block_erase = spi_block_erase_c7, |
| 3840 | } |
| 3841 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3842 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3843 | .unlock = spi_disable_blockprotect, |
| 3844 | .write = spi_chip_write_256, |
| 3845 | .read = spi_chip_read, |
| 3846 | }, |
| 3847 | |
| 3848 | { |
| 3849 | .vendor = "Eon", |
| 3850 | .name = "EN25QH16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3851 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3852 | .manufacture_id = EON_ID_NOPREFIX, |
| 3853 | .model_id = EON_EN25QH16, |
| 3854 | .total_size = 2048, |
| 3855 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3856 | /* supports SFDP */ |
| 3857 | /* OTP: 512B total; enter 0x3A */ |
| 3858 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 3859 | .tested = TEST_OK_PR, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3860 | .probe = probe_spi_rdid, |
| 3861 | .probe_timing = TIMING_ZERO, |
| 3862 | .block_erasers = |
| 3863 | { |
| 3864 | { |
| 3865 | .eraseblocks = { {4 * 1024, 512} }, |
| 3866 | .block_erase = spi_block_erase_20, |
| 3867 | }, { |
| 3868 | .eraseblocks = { {64 * 1024, 32} }, |
| 3869 | .block_erase = spi_block_erase_d8, |
| 3870 | }, { |
| 3871 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3872 | .block_erase = spi_block_erase_60, |
| 3873 | }, { |
| 3874 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3875 | .block_erase = spi_block_erase_c7, |
| 3876 | } |
| 3877 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3878 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3879 | .unlock = spi_disable_blockprotect, |
| 3880 | .write = spi_chip_write_256, |
| 3881 | .read = spi_chip_read, |
Stefan Tauner | 2cef916 | 2012-05-14 01:51:46 +0000 | [diff] [blame] | 3882 | .voltage = {2700, 3600}, |
| 3883 | }, |
| 3884 | |
| 3885 | { |
| 3886 | .vendor = "Eon", |
| 3887 | .name = "EN25QH32", |
| 3888 | .bustype = BUS_SPI, |
| 3889 | .manufacture_id = EON_ID_NOPREFIX, |
| 3890 | .model_id = EON_EN25QH32, |
| 3891 | .total_size = 4096, |
| 3892 | .page_size = 256, |
| 3893 | /* supports SFDP */ |
| 3894 | /* OTP: 512B total; enter 0x3A */ |
| 3895 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3896 | .tested = TEST_UNTESTED, |
| 3897 | .probe = probe_spi_rdid, |
| 3898 | .probe_timing = TIMING_ZERO, |
| 3899 | .block_erasers = |
| 3900 | { |
| 3901 | { |
| 3902 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3903 | .block_erase = spi_block_erase_20, |
| 3904 | }, { |
| 3905 | .eraseblocks = { {64 * 1024, 64} }, |
| 3906 | .block_erase = spi_block_erase_d8, |
| 3907 | }, { |
| 3908 | .eraseblocks = { {1024 * 4096, 1} }, |
| 3909 | .block_erase = spi_block_erase_60, |
| 3910 | }, { |
| 3911 | .eraseblocks = { {1024 * 4096, 1} }, |
| 3912 | .block_erase = spi_block_erase_c7, |
| 3913 | } |
| 3914 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 3915 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Stefan Tauner | 2cef916 | 2012-05-14 01:51:46 +0000 | [diff] [blame] | 3916 | .unlock = spi_disable_blockprotect, |
| 3917 | .write = spi_chip_write_256, |
| 3918 | .read = spi_chip_read, |
| 3919 | .voltage = {2700, 3600}, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3920 | }, |
| 3921 | |
| 3922 | { |
| 3923 | .vendor = "Eon", |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3924 | .name = "EN29F010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3925 | .bustype = BUS_PARALLEL, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3926 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3927 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3928 | .total_size = 128, |
| 3929 | .page_size = 128, |
| 3930 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3931 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3932 | .probe = probe_jedec, |
| 3933 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3934 | .block_erasers = |
| 3935 | { |
| 3936 | { |
| 3937 | .eraseblocks = { {16 * 1024, 8} }, |
| 3938 | .block_erase = erase_sector_jedec, |
| 3939 | }, |
| 3940 | { |
| 3941 | .eraseblocks = { {128 * 1024, 1} }, |
| 3942 | .block_erase = erase_chip_block_jedec, |
| 3943 | }, |
| 3944 | }, |
| 3945 | .write = write_jedec_1, |
| 3946 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3947 | .voltage = {4500, 5500}, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3948 | }, |
| 3949 | |
| 3950 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3951 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3952 | .name = "EN29F002(A)(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3953 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3954 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3955 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3956 | .total_size = 256, |
| 3957 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3958 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3959 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3960 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3961 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3962 | .block_erasers = |
| 3963 | { |
| 3964 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 3965 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3966 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3967 | {8 * 1024, 2}, |
| 3968 | {32 * 1024, 1}, |
| 3969 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3970 | }, |
| 3971 | .block_erase = erase_sector_jedec, |
| 3972 | }, { |
| 3973 | .eraseblocks = { {256 * 1024, 1} }, |
| 3974 | .block_erase = erase_chip_block_jedec, |
| 3975 | }, |
| 3976 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3977 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3978 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3979 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3980 | }, |
| 3981 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3982 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3983 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3984 | .name = "EN29F002(A)(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3985 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3986 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3987 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3988 | .total_size = 256, |
| 3989 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3990 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3991 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3992 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3993 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3994 | .block_erasers = |
| 3995 | { |
| 3996 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 3997 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3998 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3999 | {32 * 1024, 1}, |
| 4000 | {8 * 1024, 2}, |
| 4001 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4002 | }, |
| 4003 | .block_erase = erase_sector_jedec, |
| 4004 | }, { |
| 4005 | .eraseblocks = { {256 * 1024, 1} }, |
| 4006 | .block_erase = erase_chip_block_jedec, |
| 4007 | }, |
| 4008 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4009 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4010 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4011 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4012 | }, |
| 4013 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4014 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame] | 4015 | .vendor = "Eon", |
| 4016 | .name = "EN29LV640B", |
| 4017 | .bustype = BUS_PARALLEL, |
| 4018 | .manufacture_id = EON_ID, |
| 4019 | .model_id = EON_EN29LV640B, |
| 4020 | .total_size = 8192, |
| 4021 | .page_size = 8192, |
| 4022 | .feature_bits = 0, |
| 4023 | .tested = TEST_OK_PREW, |
| 4024 | .probe = probe_en29lv640b, |
| 4025 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4026 | .block_erasers = |
| 4027 | { |
| 4028 | { |
| 4029 | .eraseblocks = { |
| 4030 | {8 * 1024, 8}, |
| 4031 | {64 * 1024, 127}, |
| 4032 | }, |
| 4033 | .block_erase = block_erase_en29lv640b, |
| 4034 | }, { |
| 4035 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4036 | .block_erase = block_erase_chip_en29lv640b, |
| 4037 | }, |
| 4038 | }, |
| 4039 | .write = write_en29lv640b, |
| 4040 | .read = read_memmapped, |
| 4041 | .voltage = {2700, 3600}, |
| 4042 | }, |
| 4043 | |
| 4044 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4045 | .vendor = "Fujitsu", |
| 4046 | .name = "MBM29F004BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4047 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4048 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4049 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4050 | .total_size = 512, |
| 4051 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4052 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4053 | .tested = TEST_UNTESTED, |
| 4054 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4055 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4056 | .block_erasers = |
| 4057 | { |
| 4058 | { |
| 4059 | .eraseblocks = { |
| 4060 | {16 * 1024, 1}, |
| 4061 | {8 * 1024, 2}, |
| 4062 | {32 * 1024, 1}, |
| 4063 | {64 * 1024, 7}, |
| 4064 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4065 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4066 | }, { |
| 4067 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4068 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4069 | }, |
| 4070 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4071 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4072 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4073 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4074 | }, |
| 4075 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4076 | { |
| 4077 | .vendor = "Fujitsu", |
| 4078 | .name = "MBM29F004TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4079 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4080 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4081 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4082 | .total_size = 512, |
| 4083 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4084 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4085 | .tested = TEST_UNTESTED, |
| 4086 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4087 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4088 | .block_erasers = |
| 4089 | { |
| 4090 | { |
| 4091 | .eraseblocks = { |
| 4092 | {64 * 1024, 7}, |
| 4093 | {32 * 1024, 1}, |
| 4094 | {8 * 1024, 2}, |
| 4095 | {16 * 1024, 1}, |
| 4096 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4097 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4098 | }, { |
| 4099 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4100 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4101 | }, |
| 4102 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4103 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4104 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4105 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4106 | }, |
| 4107 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4108 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4109 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4110 | .vendor = "Fujitsu", |
| 4111 | .name = "MBM29F400BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4112 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4113 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4114 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4115 | .total_size = 512, |
| 4116 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4117 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 4118 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4119 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 4120 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4121 | .block_erasers = |
| 4122 | { |
| 4123 | { |
| 4124 | .eraseblocks = { |
| 4125 | {16 * 1024, 1}, |
| 4126 | {8 * 1024, 2}, |
| 4127 | {32 * 1024, 1}, |
| 4128 | {64 * 1024, 7}, |
| 4129 | }, |
| 4130 | .block_erase = block_erase_m29f400bt, |
| 4131 | }, { |
| 4132 | .eraseblocks = { {512 * 1024, 1} }, |
| 4133 | .block_erase = block_erase_chip_m29f400bt, |
| 4134 | }, |
| 4135 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 4136 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4137 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4138 | .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] | 4139 | }, |
| 4140 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4141 | { |
| 4142 | .vendor = "Fujitsu", |
| 4143 | .name = "MBM29F400TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4144 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4145 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4146 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4147 | .total_size = 512, |
| 4148 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4149 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4150 | .tested = TEST_UNTESTED, |
| 4151 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 4152 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4153 | .block_erasers = |
| 4154 | { |
| 4155 | { |
| 4156 | .eraseblocks = { |
| 4157 | {64 * 1024, 7}, |
| 4158 | {32 * 1024, 1}, |
| 4159 | {8 * 1024, 2}, |
| 4160 | {16 * 1024, 1}, |
| 4161 | }, |
| 4162 | .block_erase = block_erase_m29f400bt, |
| 4163 | }, { |
| 4164 | .eraseblocks = { {512 * 1024, 1} }, |
| 4165 | .block_erase = block_erase_chip_m29f400bt, |
| 4166 | }, |
| 4167 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 4168 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4169 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4170 | .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] | 4171 | }, |
| 4172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4173 | { |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4174 | .vendor = "GigaDevice", |
| 4175 | .name = "GD25Q20", |
| 4176 | .bustype = BUS_SPI, |
| 4177 | .manufacture_id = GIGADEVICE_ID, |
| 4178 | .model_id = GIGADEVICE_GD25Q20, |
| 4179 | .total_size = 256, |
| 4180 | .page_size = 256, |
| 4181 | .feature_bits = FEATURE_WRSR_WREN, |
| 4182 | .tested = TEST_UNTESTED, |
| 4183 | .probe = probe_spi_rdid, |
| 4184 | .probe_timing = TIMING_ZERO, |
| 4185 | .block_erasers = |
| 4186 | { |
| 4187 | { |
| 4188 | .eraseblocks = { {4 * 1024, 64} }, |
| 4189 | .block_erase = spi_block_erase_20, |
| 4190 | }, { |
| 4191 | .eraseblocks = { {32 * 1024, 8} }, |
| 4192 | .block_erase = spi_block_erase_52, |
| 4193 | }, { |
| 4194 | .eraseblocks = { {64 * 1024, 4} }, |
| 4195 | .block_erase = spi_block_erase_d8, |
| 4196 | }, { |
| 4197 | .eraseblocks = { {256 * 1024, 1} }, |
| 4198 | .block_erase = spi_block_erase_60, |
| 4199 | }, { |
| 4200 | .eraseblocks = { {256 * 1024, 1} }, |
| 4201 | .block_erase = spi_block_erase_c7, |
| 4202 | } |
| 4203 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4204 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4205 | .unlock = spi_disable_blockprotect, |
| 4206 | .write = spi_chip_write_256, |
| 4207 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4208 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4209 | }, |
| 4210 | |
| 4211 | { |
| 4212 | .vendor = "GigaDevice", |
| 4213 | .name = "GD25Q40", |
| 4214 | .bustype = BUS_SPI, |
| 4215 | .manufacture_id = GIGADEVICE_ID, |
| 4216 | .model_id = GIGADEVICE_GD25Q40, |
| 4217 | .total_size = 512, |
| 4218 | .page_size = 256, |
| 4219 | .feature_bits = FEATURE_WRSR_WREN, |
| 4220 | .tested = TEST_UNTESTED, |
| 4221 | .probe = probe_spi_rdid, |
| 4222 | .probe_timing = TIMING_ZERO, |
| 4223 | .block_erasers = |
| 4224 | { |
| 4225 | { |
| 4226 | .eraseblocks = { {4 * 1024, 128} }, |
| 4227 | .block_erase = spi_block_erase_20, |
| 4228 | }, { |
| 4229 | .eraseblocks = { {32 * 1024, 16} }, |
| 4230 | .block_erase = spi_block_erase_52, |
| 4231 | }, { |
| 4232 | .eraseblocks = { {64 * 1024, 8} }, |
| 4233 | .block_erase = spi_block_erase_d8, |
| 4234 | }, { |
| 4235 | .eraseblocks = { {512 * 1024, 1} }, |
| 4236 | .block_erase = spi_block_erase_60, |
| 4237 | }, { |
| 4238 | .eraseblocks = { {512 * 1024, 1} }, |
| 4239 | .block_erase = spi_block_erase_c7, |
| 4240 | } |
| 4241 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4242 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4243 | .unlock = spi_disable_blockprotect, |
| 4244 | .write = spi_chip_write_256, |
| 4245 | .read = spi_chip_read, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4246 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4247 | }, |
| 4248 | |
| 4249 | { |
| 4250 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4251 | .name = "GD25Q80(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4252 | .bustype = BUS_SPI, |
| 4253 | .manufacture_id = GIGADEVICE_ID, |
| 4254 | .model_id = GIGADEVICE_GD25Q80, |
| 4255 | .total_size = 1024, |
| 4256 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4257 | /* 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] | 4258 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4259 | .tested = TEST_OK_PREW, |
| 4260 | .probe = probe_spi_rdid, |
| 4261 | .probe_timing = TIMING_ZERO, |
| 4262 | .block_erasers = |
| 4263 | { |
| 4264 | { |
| 4265 | .eraseblocks = { {4 * 1024, 256} }, |
| 4266 | .block_erase = spi_block_erase_20, |
| 4267 | }, { |
| 4268 | .eraseblocks = { {32 * 1024, 32} }, |
| 4269 | .block_erase = spi_block_erase_52, |
| 4270 | }, { |
| 4271 | .eraseblocks = { {64 * 1024, 16} }, |
| 4272 | .block_erase = spi_block_erase_d8, |
| 4273 | }, { |
| 4274 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4275 | .block_erase = spi_block_erase_60, |
| 4276 | }, { |
| 4277 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4278 | .block_erase = spi_block_erase_c7, |
| 4279 | } |
| 4280 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4281 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4282 | .unlock = spi_disable_blockprotect, |
| 4283 | .write = spi_chip_write_256, |
| 4284 | .read = spi_chip_read, |
| 4285 | .voltage = {2700, 3600}, |
| 4286 | }, |
| 4287 | |
| 4288 | { |
| 4289 | .vendor = "GigaDevice", |
| 4290 | .name = "GD25Q16", |
| 4291 | .bustype = BUS_SPI, |
| 4292 | .manufacture_id = GIGADEVICE_ID, |
| 4293 | .model_id = GIGADEVICE_GD25Q16, |
| 4294 | .total_size = 2048, |
| 4295 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4296 | /* 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] | 4297 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4298 | .tested = TEST_UNTESTED, |
| 4299 | .probe = probe_spi_rdid, |
| 4300 | .probe_timing = TIMING_ZERO, |
| 4301 | .block_erasers = |
| 4302 | { |
| 4303 | { |
| 4304 | .eraseblocks = { {4 * 1024, 512} }, |
| 4305 | .block_erase = spi_block_erase_20, |
| 4306 | }, { |
| 4307 | .eraseblocks = { {32 * 1024, 64} }, |
| 4308 | .block_erase = spi_block_erase_52, |
| 4309 | }, { |
| 4310 | .eraseblocks = { {64 * 1024, 32} }, |
| 4311 | .block_erase = spi_block_erase_d8, |
| 4312 | }, { |
| 4313 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4314 | .block_erase = spi_block_erase_60, |
| 4315 | }, { |
| 4316 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4317 | .block_erase = spi_block_erase_c7, |
| 4318 | } |
| 4319 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4320 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4321 | .unlock = spi_disable_blockprotect, |
| 4322 | .write = spi_chip_write_256, |
| 4323 | .read = spi_chip_read, |
| 4324 | .voltage = {2700, 3600}, |
| 4325 | }, |
| 4326 | |
| 4327 | { |
| 4328 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4329 | .name = "GD25Q32(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4330 | .bustype = BUS_SPI, |
| 4331 | .manufacture_id = GIGADEVICE_ID, |
| 4332 | .model_id = GIGADEVICE_GD25Q32, |
| 4333 | .total_size = 4096, |
| 4334 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4335 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4336 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4337 | .tested = TEST_UNTESTED, |
| 4338 | .probe = probe_spi_rdid, |
| 4339 | .probe_timing = TIMING_ZERO, |
| 4340 | .block_erasers = |
| 4341 | { |
| 4342 | { |
| 4343 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4344 | .block_erase = spi_block_erase_20, |
| 4345 | }, { |
| 4346 | .eraseblocks = { {32 * 1024, 128} }, |
| 4347 | .block_erase = spi_block_erase_52, |
| 4348 | }, { |
| 4349 | .eraseblocks = { {64 * 1024, 64} }, |
| 4350 | .block_erase = spi_block_erase_d8, |
| 4351 | }, { |
| 4352 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4353 | .block_erase = spi_block_erase_60, |
| 4354 | }, { |
| 4355 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4356 | .block_erase = spi_block_erase_c7, |
| 4357 | } |
| 4358 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4359 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4360 | .unlock = spi_disable_blockprotect, |
| 4361 | .write = spi_chip_write_256, |
| 4362 | .read = spi_chip_read, |
| 4363 | .voltage = {2700, 3600}, |
| 4364 | }, |
| 4365 | |
| 4366 | { |
| 4367 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4368 | .name = "GD25Q64(B)", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4369 | .bustype = BUS_SPI, |
| 4370 | .manufacture_id = GIGADEVICE_ID, |
| 4371 | .model_id = GIGADEVICE_GD25Q64, |
| 4372 | .total_size = 8192, |
| 4373 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4374 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4375 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 4376 | .tested = TEST_OK_PREW, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4377 | .probe = probe_spi_rdid, |
| 4378 | .probe_timing = TIMING_ZERO, |
| 4379 | .block_erasers = |
| 4380 | { |
| 4381 | { |
| 4382 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4383 | .block_erase = spi_block_erase_20, |
| 4384 | }, { |
| 4385 | .eraseblocks = { {32 * 1024, 256} }, |
| 4386 | .block_erase = spi_block_erase_52, |
| 4387 | }, { |
| 4388 | .eraseblocks = { {64 * 1024, 128} }, |
| 4389 | .block_erase = spi_block_erase_d8, |
| 4390 | }, { |
| 4391 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4392 | .block_erase = spi_block_erase_60, |
| 4393 | }, { |
| 4394 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4395 | .block_erase = spi_block_erase_c7, |
| 4396 | } |
| 4397 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4398 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4399 | .unlock = spi_disable_blockprotect, |
| 4400 | .write = spi_chip_write_256, |
| 4401 | .read = spi_chip_read, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4402 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4403 | }, |
| 4404 | |
| 4405 | { |
| 4406 | .vendor = "GigaDevice", |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4407 | .name = "GD25Q128B", |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4408 | .bustype = BUS_SPI, |
| 4409 | .manufacture_id = GIGADEVICE_ID, |
| 4410 | .model_id = GIGADEVICE_GD25Q128, |
| 4411 | .total_size = 16384, |
| 4412 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4413 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4414 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4415 | .tested = TEST_UNTESTED, |
| 4416 | .probe = probe_spi_rdid, |
| 4417 | .probe_timing = TIMING_ZERO, |
| 4418 | .block_erasers = |
| 4419 | { |
| 4420 | { |
| 4421 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4422 | .block_erase = spi_block_erase_20, |
| 4423 | }, { |
| 4424 | .eraseblocks = { {32 * 1024, 512} }, |
| 4425 | .block_erase = spi_block_erase_52, |
| 4426 | }, { |
| 4427 | .eraseblocks = { {64 * 1024, 256} }, |
| 4428 | .block_erase = spi_block_erase_d8, |
| 4429 | }, { |
| 4430 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4431 | .block_erase = spi_block_erase_60, |
| 4432 | }, { |
| 4433 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4434 | .block_erase = spi_block_erase_c7, |
| 4435 | } |
| 4436 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4437 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4438 | .unlock = spi_disable_blockprotect, |
| 4439 | .write = spi_chip_write_256, |
| 4440 | .read = spi_chip_read, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4441 | .voltage = {2700, 3600}, |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 4442 | }, |
| 4443 | |
| 4444 | { |
Bryan Freed | 5bfef9d | 2012-09-17 00:05:44 +0000 | [diff] [blame] | 4445 | .vendor = "GigaDevice", |
| 4446 | .name = "GD25LQ32", |
| 4447 | .bustype = BUS_SPI, |
| 4448 | .manufacture_id = GIGADEVICE_ID, |
| 4449 | .model_id = GIGADEVICE_GD25LQ32, |
| 4450 | .total_size = 4096, |
| 4451 | .page_size = 256, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 4452 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */ |
| 4453 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Bryan Freed | 5bfef9d | 2012-09-17 00:05:44 +0000 | [diff] [blame] | 4454 | .tested = TEST_OK_PREW, |
| 4455 | .probe = probe_spi_rdid, |
| 4456 | .probe_timing = TIMING_ZERO, |
| 4457 | .block_erasers = |
| 4458 | { |
| 4459 | { |
| 4460 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4461 | .block_erase = spi_block_erase_20, |
| 4462 | }, { |
| 4463 | .eraseblocks = { {32 * 1024, 128} }, |
| 4464 | .block_erase = spi_block_erase_52, |
| 4465 | }, { |
| 4466 | .eraseblocks = { {64 * 1024, 64} }, |
| 4467 | .block_erase = spi_block_erase_d8, |
| 4468 | }, { |
| 4469 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4470 | .block_erase = spi_block_erase_60, |
| 4471 | }, { |
| 4472 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4473 | .block_erase = spi_block_erase_c7, |
| 4474 | } |
| 4475 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 4476 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Bryan Freed | 5bfef9d | 2012-09-17 00:05:44 +0000 | [diff] [blame] | 4477 | .unlock = spi_disable_blockprotect, |
| 4478 | .write = spi_chip_write_256, |
| 4479 | .read = spi_chip_read, |
| 4480 | .voltage = {1700, 1950}, |
| 4481 | }, |
| 4482 | |
| 4483 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4484 | .vendor = "Hyundai", |
| 4485 | .name = "HY29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4486 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4487 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4488 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4489 | .total_size = 256, |
| 4490 | .page_size = 256 * 1024, |
| 4491 | .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] | 4492 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4493 | .probe = probe_jedec, |
| 4494 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4495 | .block_erasers = |
| 4496 | { |
| 4497 | { |
| 4498 | .eraseblocks = { |
| 4499 | {64 * 1024, 3}, |
| 4500 | {32 * 1024, 1}, |
| 4501 | {8 * 1024, 2}, |
| 4502 | {16 * 1024, 1}, |
| 4503 | }, |
| 4504 | .block_erase = erase_sector_jedec, |
| 4505 | }, { |
| 4506 | .eraseblocks = { {256 * 1024, 1} }, |
| 4507 | .block_erase = erase_chip_block_jedec, |
| 4508 | }, |
| 4509 | }, |
| 4510 | .write = write_jedec_1, |
| 4511 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4512 | .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] | 4513 | }, |
| 4514 | |
| 4515 | { |
| 4516 | .vendor = "Hyundai", |
| 4517 | .name = "HY29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4518 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4519 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4520 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4521 | .total_size = 256, |
| 4522 | .page_size = 256 * 1024, |
| 4523 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 4524 | .tested = TEST_UNTESTED, |
| 4525 | .probe = probe_jedec, |
| 4526 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4527 | .block_erasers = |
| 4528 | { |
| 4529 | { |
| 4530 | .eraseblocks = { |
| 4531 | {16 * 1024, 1}, |
| 4532 | {8 * 1024, 2}, |
| 4533 | {32 * 1024, 1}, |
| 4534 | {64 * 1024, 3}, |
| 4535 | }, |
| 4536 | .block_erase = erase_sector_jedec, |
| 4537 | }, { |
| 4538 | .eraseblocks = { {256 * 1024, 1} }, |
| 4539 | .block_erase = erase_chip_block_jedec, |
| 4540 | }, |
| 4541 | }, |
| 4542 | .write = write_jedec_1, |
| 4543 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4544 | .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] | 4545 | }, |
| 4546 | |
| 4547 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4548 | .vendor = "Hyundai", |
| 4549 | .name = "HY29F040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4550 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4551 | .manufacture_id = HYUNDAI_ID, |
| 4552 | .model_id = HYUNDAI_HY29F040A, |
| 4553 | .total_size = 512, |
| 4554 | .page_size = 64 * 1024, |
| 4555 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4556 | .tested = TEST_UNTESTED, |
| 4557 | .probe = probe_jedec, |
| 4558 | .probe_timing = TIMING_ZERO, |
| 4559 | .block_erasers = |
| 4560 | { |
| 4561 | { |
| 4562 | .eraseblocks = { {64 * 1024, 8} }, |
| 4563 | .block_erase = erase_sector_jedec, |
| 4564 | }, { |
| 4565 | .eraseblocks = { {512 * 1024, 1} }, |
| 4566 | .block_erase = erase_chip_block_jedec, |
| 4567 | }, |
| 4568 | }, |
| 4569 | .write = write_jedec_1, |
| 4570 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4571 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4572 | }, |
| 4573 | |
| 4574 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4575 | .vendor = "Intel", |
Stefan Tauner | 54aaa4a | 2012-12-29 15:04:12 +0000 | [diff] [blame] | 4576 | .name = "25F160S33B8", |
| 4577 | .bustype = BUS_SPI, |
| 4578 | .manufacture_id = INTEL_ID, |
| 4579 | .model_id = INTEL_25F160S33B8, |
| 4580 | .total_size = 2048, |
| 4581 | .page_size = 256, |
| 4582 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4583 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4584 | .tested = TEST_UNTESTED, |
| 4585 | .probe = probe_spi_rdid, |
| 4586 | .probe_timing = TIMING_ZERO, |
| 4587 | .block_erasers = |
| 4588 | { |
| 4589 | { |
| 4590 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4591 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4592 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4593 | .eraseblocks = { |
| 4594 | {8 * 1024, 8}, |
| 4595 | {64 * 1024, 31} // inaccessible |
| 4596 | }, |
| 4597 | .block_erase = spi_block_erase_40, |
| 4598 | }, { */ |
| 4599 | .eraseblocks = { {64 * 1024, 32} }, |
| 4600 | .block_erase = spi_block_erase_d8, |
| 4601 | }, { |
| 4602 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4603 | .block_erase = spi_block_erase_c7, |
| 4604 | } |
| 4605 | }, |
| 4606 | .printlock = spi_prettyprint_status_register_s33, |
| 4607 | .unlock = spi_disable_blockprotect_s33, |
| 4608 | .write = spi_chip_write_256, |
| 4609 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4610 | .voltage = {2700, 3600}, |
| 4611 | }, |
| 4612 | |
| 4613 | { |
| 4614 | .vendor = "Intel", |
| 4615 | .name = "25F160S33T8", |
| 4616 | .bustype = BUS_SPI, |
| 4617 | .manufacture_id = INTEL_ID, |
| 4618 | .model_id = INTEL_25F160S33T8, |
| 4619 | .total_size = 2048, |
| 4620 | .page_size = 256, |
| 4621 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4622 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4623 | .tested = TEST_UNTESTED, |
| 4624 | .probe = probe_spi_rdid, |
| 4625 | .probe_timing = TIMING_ZERO, |
| 4626 | .block_erasers = |
| 4627 | { |
| 4628 | { |
| 4629 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4630 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4631 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4632 | .eraseblocks = { |
| 4633 | {64 * 1024, 31}, // inaccessible |
| 4634 | {8 * 1024, 8} |
| 4635 | }, |
| 4636 | .block_erase = spi_block_erase_40, |
| 4637 | }, { */ |
| 4638 | .eraseblocks = { {64 * 1024, 32} }, |
| 4639 | .block_erase = spi_block_erase_d8, |
| 4640 | }, { |
| 4641 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4642 | .block_erase = spi_block_erase_c7, |
| 4643 | } |
| 4644 | }, |
| 4645 | .printlock = spi_prettyprint_status_register_s33, |
| 4646 | .unlock = spi_disable_blockprotect_s33, |
| 4647 | .write = spi_chip_write_256, |
| 4648 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4649 | .voltage = {2700, 3600}, |
| 4650 | }, |
| 4651 | |
| 4652 | { |
| 4653 | .vendor = "Intel", |
| 4654 | .name = "25F320S33B8", |
| 4655 | .bustype = BUS_SPI, |
| 4656 | .manufacture_id = INTEL_ID, |
| 4657 | .model_id = INTEL_25F320S33B8, |
| 4658 | .total_size = 4096, |
| 4659 | .page_size = 256, |
| 4660 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4661 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4662 | .tested = TEST_UNTESTED, |
| 4663 | .probe = probe_spi_rdid, |
| 4664 | .probe_timing = TIMING_ZERO, |
| 4665 | .block_erasers = |
| 4666 | { |
| 4667 | { |
| 4668 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4669 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4670 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4671 | .eraseblocks = { |
| 4672 | {8 * 1024, 8}, |
| 4673 | {64 * 1024, 63} // inaccessible |
| 4674 | }, |
| 4675 | .block_erase = spi_block_erase_40, |
| 4676 | }, { */ |
| 4677 | .eraseblocks = { {64 * 1024, 64} }, |
| 4678 | .block_erase = spi_block_erase_d8, |
| 4679 | }, { |
| 4680 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4681 | .block_erase = spi_block_erase_c7, |
| 4682 | } |
| 4683 | }, |
| 4684 | .printlock = spi_prettyprint_status_register_s33, |
| 4685 | .unlock = spi_disable_blockprotect_s33, |
| 4686 | .write = spi_chip_write_256, |
| 4687 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4688 | .voltage = {2700, 3600}, |
| 4689 | }, |
| 4690 | |
| 4691 | { |
| 4692 | .vendor = "Intel", |
| 4693 | .name = "25F320S33T8", |
| 4694 | .bustype = BUS_SPI, |
| 4695 | .manufacture_id = INTEL_ID, |
| 4696 | .model_id = INTEL_25F320S33T8, |
| 4697 | .total_size = 4096, |
| 4698 | .page_size = 256, |
| 4699 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4700 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4701 | .tested = TEST_UNTESTED, |
| 4702 | .probe = probe_spi_rdid, |
| 4703 | .probe_timing = TIMING_ZERO, |
| 4704 | .block_erasers = |
| 4705 | { |
| 4706 | { |
| 4707 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4708 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4709 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4710 | .eraseblocks = { |
| 4711 | {64 * 1024, 63}, // inaccessible |
| 4712 | {8 * 1024, 8} |
| 4713 | }, |
| 4714 | .block_erase = spi_block_erase_40, |
| 4715 | }, { */ |
| 4716 | .eraseblocks = { {64 * 1024, 64} }, |
| 4717 | .block_erase = spi_block_erase_d8, |
| 4718 | }, { |
| 4719 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4720 | .block_erase = spi_block_erase_c7, |
| 4721 | } |
| 4722 | }, |
| 4723 | .printlock = spi_prettyprint_status_register_s33, |
| 4724 | .unlock = spi_disable_blockprotect_s33, |
| 4725 | .write = spi_chip_write_256, |
| 4726 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4727 | .voltage = {2700, 3600}, |
| 4728 | }, |
| 4729 | |
| 4730 | { |
| 4731 | .vendor = "Intel", |
| 4732 | .name = "25F640S33B8", |
| 4733 | .bustype = BUS_SPI, |
| 4734 | .manufacture_id = INTEL_ID, |
| 4735 | .model_id = INTEL_25F640S33B8, |
| 4736 | .total_size = 8192, |
| 4737 | .page_size = 256, |
| 4738 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4739 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4740 | .tested = TEST_UNTESTED, |
| 4741 | .probe = probe_spi_rdid, |
| 4742 | .probe_timing = TIMING_ZERO, |
| 4743 | .block_erasers = |
| 4744 | { |
| 4745 | { |
| 4746 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4747 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4748 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4749 | .eraseblocks = { |
| 4750 | {8 * 1024, 8}, |
| 4751 | {64 * 1024, 127} // inaccessible |
| 4752 | }, |
| 4753 | .block_erase = spi_block_erase_40, |
| 4754 | }, { */ |
| 4755 | .eraseblocks = { {64 * 1024, 128} }, |
| 4756 | .block_erase = spi_block_erase_d8, |
| 4757 | }, { |
| 4758 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4759 | .block_erase = spi_block_erase_c7, |
| 4760 | } |
| 4761 | }, |
| 4762 | .printlock = spi_prettyprint_status_register_s33, |
| 4763 | .unlock = spi_disable_blockprotect_s33, |
| 4764 | .write = spi_chip_write_256, |
| 4765 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4766 | .voltage = {2700, 3600}, |
| 4767 | }, |
| 4768 | |
| 4769 | { |
| 4770 | .vendor = "Intel", |
| 4771 | .name = "25F640S33T8", |
| 4772 | .bustype = BUS_SPI, |
| 4773 | .manufacture_id = INTEL_ID, |
| 4774 | .model_id = INTEL_25F640S33T8, |
| 4775 | .total_size = 8192, |
| 4776 | .page_size = 256, |
| 4777 | /* OTP: 506B total (2x 8B, 30x 16B, 1x 10B); read 0x4B; write 0x42 */ |
| 4778 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 4779 | .tested = TEST_UNTESTED, |
| 4780 | .probe = probe_spi_rdid, |
| 4781 | .probe_timing = TIMING_ZERO, |
| 4782 | .block_erasers = |
| 4783 | { |
| 4784 | { |
| 4785 | /* This chip supports erasing of the 8 so-called "parameter blocks" with |
| 4786 | * opcode 0x40. Trying to access an address outside these 8 8kB blocks does |
| 4787 | * have no effect on the memory contents, but sets a flag in the SR. |
| 4788 | .eraseblocks = { |
| 4789 | {64 * 1024, 127}, // inaccessible |
| 4790 | {8 * 1024, 8} |
| 4791 | }, |
| 4792 | .block_erase = spi_block_erase_40, |
| 4793 | }, { */ |
| 4794 | .eraseblocks = { {64 * 1024, 128} }, |
| 4795 | .block_erase = spi_block_erase_d8, |
| 4796 | }, { |
| 4797 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4798 | .block_erase = spi_block_erase_c7, |
| 4799 | } |
| 4800 | }, |
| 4801 | .printlock = spi_prettyprint_status_register_s33, |
| 4802 | .unlock = spi_disable_blockprotect_s33, |
| 4803 | .write = spi_chip_write_256, |
| 4804 | .read = spi_chip_read, /* also fast read 0x0B */ |
| 4805 | .voltage = {2700, 3600}, |
| 4806 | }, |
| 4807 | |
| 4808 | { |
| 4809 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4810 | .name = "28F001BN/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4811 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4812 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4813 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4814 | .total_size = 128, |
| 4815 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4816 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4817 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4818 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4819 | .block_erasers = |
| 4820 | { |
| 4821 | { |
| 4822 | .eraseblocks = { |
| 4823 | {8 * 1024, 1}, |
| 4824 | {4 * 1024, 2}, |
| 4825 | {112 * 1024, 1}, |
| 4826 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4827 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4828 | }, |
| 4829 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4830 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4831 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4832 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4833 | }, |
| 4834 | |
| 4835 | { |
| 4836 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4837 | .name = "28F001BN/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4838 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4839 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4840 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4841 | .total_size = 128, |
| 4842 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4843 | .tested = TEST_OK_PR, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4844 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4845 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4846 | .block_erasers = |
| 4847 | { |
| 4848 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4849 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4850 | {112 * 1024, 1}, |
| 4851 | {4 * 1024, 2}, |
| 4852 | {8 * 1024, 1}, |
| 4853 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4854 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4855 | }, |
| 4856 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4857 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4858 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4859 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4860 | }, |
| 4861 | |
| 4862 | { |
| 4863 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4864 | .name = "28F002BC/BL/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4865 | .bustype = BUS_PARALLEL, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4866 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4867 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4868 | .total_size = 256, |
| 4869 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4870 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4871 | .probe = probe_82802ab, |
| 4872 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4873 | .block_erasers = |
| 4874 | { |
| 4875 | { |
| 4876 | .eraseblocks = { |
| 4877 | {128 * 1024, 1}, |
| 4878 | {96 * 1024, 1}, |
| 4879 | {8 * 1024, 2}, |
| 4880 | {16 * 1024, 1}, |
| 4881 | }, |
| 4882 | .block_erase = erase_block_82802ab, |
| 4883 | }, |
| 4884 | }, |
| 4885 | .write = write_82802ab, |
| 4886 | .read = read_memmapped, |
| 4887 | }, |
| 4888 | |
| 4889 | { |
| 4890 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4891 | .name = "28F008S3/S5/SC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4892 | .bustype = BUS_PARALLEL, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4893 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4894 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4895 | .total_size = 512, |
| 4896 | .page_size = 256, |
| 4897 | .tested = TEST_UNTESTED, |
| 4898 | .probe = probe_82802ab, |
| 4899 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4900 | .block_erasers = |
| 4901 | { |
| 4902 | { |
| 4903 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4904 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4905 | }, |
| 4906 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4907 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4908 | .write = write_82802ab, |
| 4909 | .read = read_memmapped, |
| 4910 | }, |
| 4911 | |
| 4912 | { |
| 4913 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4914 | .name = "28F004B5/BE/BV/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4915 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4916 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4917 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4918 | .total_size = 512, |
| 4919 | .page_size = 128 * 1024, /* maximal block size */ |
| 4920 | .tested = TEST_UNTESTED, |
| 4921 | .probe = probe_82802ab, |
| 4922 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4923 | .block_erasers = |
| 4924 | { |
| 4925 | { |
| 4926 | .eraseblocks = { |
| 4927 | {16 * 1024, 1}, |
| 4928 | {8 * 1024, 2}, |
| 4929 | {96 * 1024, 1}, |
| 4930 | {128 * 1024, 3}, |
| 4931 | }, |
| 4932 | .block_erase = erase_block_82802ab, |
| 4933 | }, |
| 4934 | }, |
| 4935 | .write = write_82802ab, |
| 4936 | .read = read_memmapped, |
| 4937 | }, |
| 4938 | |
| 4939 | { |
| 4940 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4941 | .name = "28F004B5/BE/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4942 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4943 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4944 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4945 | .total_size = 512, |
| 4946 | .page_size = 128 * 1024, /* maximal block size */ |
| 4947 | .tested = TEST_UNTESTED, |
| 4948 | .probe = probe_82802ab, |
| 4949 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4950 | .block_erasers = |
| 4951 | { |
| 4952 | { |
| 4953 | .eraseblocks = { |
| 4954 | {128 * 1024, 3}, |
| 4955 | {96 * 1024, 1}, |
| 4956 | {8 * 1024, 2}, |
| 4957 | {16 * 1024, 1}, |
| 4958 | }, |
| 4959 | .block_erase = erase_block_82802ab, |
| 4960 | }, |
| 4961 | }, |
| 4962 | .write = write_82802ab, |
| 4963 | .read = read_memmapped, |
| 4964 | }, |
| 4965 | |
| 4966 | { |
| 4967 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4968 | .name = "28F400BV/BX/CE/CV-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4969 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4970 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4971 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4972 | .total_size = 512, |
| 4973 | .page_size = 128 * 1024, /* maximal block size */ |
| 4974 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 4975 | .tested = TEST_UNTESTED, |
| 4976 | .probe = probe_82802ab, |
| 4977 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4978 | .block_erasers = |
| 4979 | { |
| 4980 | { |
| 4981 | .eraseblocks = { |
| 4982 | {16 * 1024, 1}, |
| 4983 | {8 * 1024, 2}, |
| 4984 | {96 * 1024, 1}, |
| 4985 | {128 * 1024, 3}, |
| 4986 | }, |
| 4987 | .block_erase = erase_block_82802ab, |
| 4988 | }, |
| 4989 | }, |
| 4990 | .write = write_82802ab, |
| 4991 | .read = read_memmapped, |
| 4992 | }, |
| 4993 | |
| 4994 | { |
| 4995 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4996 | .name = "28F400BV/BX/CE/CV-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4997 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4998 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4999 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 5000 | .total_size = 512, |
| 5001 | .page_size = 128 * 1024, /* maximal block size */ |
| 5002 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 5003 | .tested = TEST_UNTESTED, |
| 5004 | .probe = probe_82802ab, |
| 5005 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5006 | .block_erasers = |
| 5007 | { |
| 5008 | { |
| 5009 | .eraseblocks = { |
| 5010 | {128 * 1024, 3}, |
| 5011 | {96 * 1024, 1}, |
| 5012 | {8 * 1024, 2}, |
| 5013 | {16 * 1024, 1}, |
| 5014 | }, |
| 5015 | .block_erase = erase_block_82802ab, |
| 5016 | }, |
| 5017 | }, |
| 5018 | .write = write_82802ab, |
| 5019 | .read = read_memmapped, |
| 5020 | }, |
| 5021 | |
| 5022 | { |
| 5023 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5024 | .name = "82802AB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5025 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5026 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5027 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5028 | .total_size = 512, |
| 5029 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5030 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 5031 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5032 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5033 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5034 | .block_erasers = |
| 5035 | { |
| 5036 | { |
| 5037 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5038 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5039 | }, |
| 5040 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5041 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5042 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5043 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5044 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5045 | }, |
| 5046 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5047 | { |
| 5048 | .vendor = "Intel", |
| 5049 | .name = "82802AC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5050 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5051 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 5052 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5053 | .total_size = 1024, |
| 5054 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5055 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5056 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5057 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5058 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5059 | .block_erasers = |
| 5060 | { |
| 5061 | { |
| 5062 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5063 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5064 | }, |
| 5065 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5066 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5067 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5068 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5069 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5070 | }, |
| 5071 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5072 | { |
| 5073 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5074 | .name = "MX25L512(E)/MX25V512(C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5075 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5076 | .manufacture_id = MACRONIX_ID, |
| 5077 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5078 | .total_size = 64, |
| 5079 | .page_size = 256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5080 | /* MX25L512E supports SFDP */ |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5081 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5082 | .tested = TEST_UNTESTED, |
| 5083 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5084 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5085 | .block_erasers = |
| 5086 | { |
| 5087 | { |
| 5088 | .eraseblocks = { {4 * 1024, 16} }, |
| 5089 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5090 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5091 | .eraseblocks = { {64 * 1024, 1} }, |
| 5092 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5093 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5094 | .eraseblocks = { {64 * 1024, 1} }, |
| 5095 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5096 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5097 | .eraseblocks = { {64 * 1024, 1} }, |
| 5098 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5099 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5100 | .eraseblocks = { {64 * 1024, 1} }, |
| 5101 | .block_erase = spi_block_erase_c7, |
| 5102 | }, |
| 5103 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5104 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5105 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5106 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5107 | .read = spi_chip_read, /* Fast read (0x0B) supported, MX25L512E supports dual I/O */ |
| 5108 | .voltage = {2700, 3600}, /* 2.35-3.6V for MX25V512(C) */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5109 | }, |
| 5110 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5111 | { |
| 5112 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5113 | .name = "MX25L1005(C)/MX25L1006E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5114 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5115 | .manufacture_id = MACRONIX_ID, |
| 5116 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5117 | .total_size = 128, |
| 5118 | .page_size = 256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5119 | /* MX25L1006E supports SFDP */ |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5120 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 5121 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5122 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5123 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5124 | .block_erasers = |
| 5125 | { |
| 5126 | { |
| 5127 | .eraseblocks = { {4 * 1024, 32} }, |
| 5128 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5129 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5130 | .eraseblocks = { {64 * 1024, 2} }, |
| 5131 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5132 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5133 | .eraseblocks = { {128 * 1024, 1} }, |
| 5134 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5135 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 5136 | .eraseblocks = { {128 * 1024, 1} }, |
| 5137 | .block_erase = spi_block_erase_c7, |
| 5138 | }, |
| 5139 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5140 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5141 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5142 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5143 | .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] | 5144 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5145 | }, |
| 5146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5147 | { |
| 5148 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5149 | .name = "MX25L2005(C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5150 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5151 | .manufacture_id = MACRONIX_ID, |
| 5152 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5153 | .total_size = 256, |
| 5154 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5155 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5156 | .tested = TEST_UNTESTED, |
| 5157 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5158 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5159 | .block_erasers = |
| 5160 | { |
| 5161 | { |
| 5162 | .eraseblocks = { {4 * 1024, 64} }, |
| 5163 | .block_erase = spi_block_erase_20, |
| 5164 | }, { |
| 5165 | .eraseblocks = { {64 * 1024, 4} }, |
| 5166 | .block_erase = spi_block_erase_52, |
| 5167 | }, { |
| 5168 | .eraseblocks = { {64 * 1024, 4} }, |
| 5169 | .block_erase = spi_block_erase_d8, |
| 5170 | }, { |
| 5171 | .eraseblocks = { {256 * 1024, 1} }, |
| 5172 | .block_erase = spi_block_erase_60, |
| 5173 | }, { |
| 5174 | .eraseblocks = { {256 * 1024, 1} }, |
| 5175 | .block_erase = spi_block_erase_c7, |
| 5176 | }, |
| 5177 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5178 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5179 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5180 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5181 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5182 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5183 | }, |
| 5184 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5185 | { |
| 5186 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5187 | .name = "MX25L4005(A/C)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5188 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5189 | .manufacture_id = MACRONIX_ID, |
| 5190 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5191 | .total_size = 512, |
| 5192 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5193 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 5194 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5195 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5196 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5197 | .block_erasers = |
| 5198 | { |
| 5199 | { |
| 5200 | .eraseblocks = { {4 * 1024, 128} }, |
| 5201 | .block_erase = spi_block_erase_20, |
| 5202 | }, { |
| 5203 | .eraseblocks = { {64 * 1024, 8} }, |
| 5204 | .block_erase = spi_block_erase_52, |
| 5205 | }, { |
| 5206 | .eraseblocks = { {64 * 1024, 8} }, |
| 5207 | .block_erase = spi_block_erase_d8, |
| 5208 | }, { |
| 5209 | .eraseblocks = { {512 * 1024, 1} }, |
| 5210 | .block_erase = spi_block_erase_60, |
| 5211 | }, { |
| 5212 | .eraseblocks = { {512 * 1024, 1} }, |
| 5213 | .block_erase = spi_block_erase_c7, |
| 5214 | }, |
| 5215 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5216 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5217 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5218 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5219 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5220 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5221 | }, |
| 5222 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5223 | { |
| 5224 | .vendor = "Macronix", |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5225 | .name = "MX25L8005/MX25V8005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5226 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5227 | .manufacture_id = MACRONIX_ID, |
| 5228 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5229 | .total_size = 1024, |
| 5230 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5231 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 5232 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5233 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5234 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5235 | .block_erasers = |
| 5236 | { |
| 5237 | { |
| 5238 | .eraseblocks = { {4 * 1024, 256} }, |
| 5239 | .block_erase = spi_block_erase_20, |
| 5240 | }, { |
| 5241 | .eraseblocks = { {64 * 1024, 16} }, |
| 5242 | .block_erase = spi_block_erase_52, |
| 5243 | }, { |
| 5244 | .eraseblocks = { {64 * 1024, 16} }, |
| 5245 | .block_erase = spi_block_erase_d8, |
| 5246 | }, { |
| 5247 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5248 | .block_erase = spi_block_erase_60, |
| 5249 | }, { |
| 5250 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5251 | .block_erase = spi_block_erase_c7, |
| 5252 | }, |
| 5253 | }, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5254 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5255 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5256 | .write = spi_chip_write_256, |
Stefan Tauner | f656e80 | 2013-02-02 15:35:44 +0000 | [diff] [blame] | 5257 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5258 | .voltage = {2700, 3600}, /* 2.35-3.6V for MX25V8005 */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5259 | }, |
| 5260 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5261 | { |
| 5262 | .vendor = "Macronix", |
| 5263 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5264 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5265 | .manufacture_id = MACRONIX_ID, |
| 5266 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5267 | .total_size = 2048, |
| 5268 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5269 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 5270 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5271 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5272 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5273 | .block_erasers = |
| 5274 | { |
| 5275 | { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5276 | .eraseblocks = { {64 * 1024, 32} }, |
| 5277 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5278 | }, { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5279 | .eraseblocks = { {64 * 1024, 32} }, |
| 5280 | .block_erase = spi_block_erase_d8, |
| 5281 | }, { |
| 5282 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5283 | .block_erase = spi_block_erase_60, |
| 5284 | }, { |
| 5285 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5286 | .block_erase = spi_block_erase_c7, |
| 5287 | }, |
| 5288 | }, |
| 5289 | .printlock = spi_prettyprint_status_register_default_bp2, /* bit6: error flag */ |
| 5290 | .unlock = spi_disable_blockprotect, |
| 5291 | .write = spi_chip_write_256, |
| 5292 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5293 | .voltage = {2700, 3600}, |
| 5294 | }, |
| 5295 | |
| 5296 | { |
| 5297 | .vendor = "Macronix", |
| 5298 | .name = "MX25L1605A/MX25L1606E", |
| 5299 | .bustype = BUS_SPI, |
| 5300 | .manufacture_id = MACRONIX_ID, |
| 5301 | .model_id = MACRONIX_MX25L1605, |
| 5302 | .total_size = 2048, |
| 5303 | .page_size = 256, |
| 5304 | /* OTP: 64B total; enter 0xB1, exit 0xC1 (MX25L1606E only) */ |
| 5305 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5306 | .tested = TEST_OK_PREW, |
| 5307 | .probe = probe_spi_rdid, |
| 5308 | .probe_timing = TIMING_ZERO, |
| 5309 | .block_erasers = |
| 5310 | { |
| 5311 | { |
| 5312 | .eraseblocks = { {4 * 1024, 512} }, |
| 5313 | .block_erase = spi_block_erase_20, |
| 5314 | }, { |
| 5315 | .eraseblocks = { {64 * 1024, 32} }, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 5316 | .block_erase = spi_block_erase_52, |
| 5317 | }, { |
| 5318 | .eraseblocks = { {64 * 1024, 32} }, |
| 5319 | .block_erase = spi_block_erase_d8, |
| 5320 | }, { |
| 5321 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5322 | .block_erase = spi_block_erase_60, |
| 5323 | }, { |
| 5324 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5325 | .block_erase = spi_block_erase_c7, |
| 5326 | }, |
| 5327 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5328 | .printlock = spi_prettyprint_status_register_default_bp3, /* MX25L1605A bp2 only */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5329 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5330 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5331 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5332 | .voltage = {2700, 3600}, |
| 5333 | }, |
| 5334 | |
| 5335 | { |
| 5336 | .vendor = "Macronix", |
| 5337 | .name = "MX25L1605D/MX25L1608D", |
| 5338 | .bustype = BUS_SPI, |
| 5339 | .manufacture_id = MACRONIX_ID, |
| 5340 | .model_id = MACRONIX_MX25L1605, |
| 5341 | .total_size = 2048, |
| 5342 | .page_size = 256, |
| 5343 | .feature_bits = FEATURE_WRSR_WREN, |
| 5344 | .tested = TEST_OK_PREW, |
| 5345 | .probe = probe_spi_rdid, |
| 5346 | .probe_timing = TIMING_ZERO, |
| 5347 | .block_erasers = |
| 5348 | { |
| 5349 | { |
| 5350 | .eraseblocks = { {4 * 1024, 512} }, |
| 5351 | .block_erase = spi_block_erase_20, |
| 5352 | }, { |
| 5353 | .eraseblocks = { {64 * 1024, 32} }, |
| 5354 | .block_erase = spi_block_erase_d8, |
| 5355 | }, { |
| 5356 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5357 | .block_erase = spi_block_erase_60, |
| 5358 | }, { |
| 5359 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5360 | .block_erase = spi_block_erase_c7, |
| 5361 | }, |
| 5362 | }, |
| 5363 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6: Continously Program (CP) mode */ |
| 5364 | .unlock = spi_disable_blockprotect, |
| 5365 | .write = spi_chip_write_256, |
| 5366 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5367 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5368 | }, |
| 5369 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5370 | { |
| 5371 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5372 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5373 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5374 | .manufacture_id = MACRONIX_ID, |
| 5375 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5376 | .total_size = 2048, |
| 5377 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5378 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5379 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5380 | .tested = TEST_UNTESTED, |
| 5381 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5382 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5383 | .block_erasers = |
| 5384 | { |
| 5385 | { |
| 5386 | .eraseblocks = { {4 * 1024, 512} }, |
| 5387 | .block_erase = spi_block_erase_20, |
| 5388 | }, { |
| 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 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5399 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5400 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5401 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5402 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5403 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5404 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 5405 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 5406 | { |
| 5407 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5408 | .name = "MX25L1635E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5409 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5410 | .manufacture_id = MACRONIX_ID, |
| 5411 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5412 | .total_size = 2048, |
| 5413 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5414 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5415 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5416 | .tested = TEST_UNTESTED, |
| 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} }, |
| 5426 | .block_erase = spi_block_erase_d8, |
| 5427 | }, { |
| 5428 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5429 | .block_erase = spi_block_erase_60, |
| 5430 | }, { |
| 5431 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5432 | .block_erase = spi_block_erase_c7, |
| 5433 | } |
| 5434 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5435 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5436 | .unlock = spi_disable_blockprotect, |
| 5437 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5438 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5439 | .voltage = {2700, 3600}, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 5440 | }, |
| 5441 | |
| 5442 | { |
| 5443 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5444 | .name = "MX25L3205(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5445 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5446 | .manufacture_id = MACRONIX_ID, |
| 5447 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5448 | .total_size = 4096, |
| 5449 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 5450 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 5451 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5452 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5453 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5454 | .block_erasers = |
| 5455 | { |
| 5456 | { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5457 | .eraseblocks = { {64 * 1024, 64} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5458 | .block_erase = spi_block_erase_20, |
| 5459 | }, { |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5460 | .eraseblocks = { {64 * 1024, 64} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5461 | .block_erase = spi_block_erase_d8, |
| 5462 | }, { |
| 5463 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5464 | .block_erase = spi_block_erase_60, |
| 5465 | }, { |
| 5466 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5467 | .block_erase = spi_block_erase_c7, |
| 5468 | }, |
| 5469 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5470 | .printlock = spi_prettyprint_status_register_default_bp2, /* bit6: error flag */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5471 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5472 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5473 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 5474 | .voltage = {2700, 3600}, |
| 5475 | }, |
| 5476 | |
| 5477 | { |
| 5478 | .vendor = "Macronix", |
| 5479 | .name = "MX25L3205D/MX25L3208D", |
| 5480 | .bustype = BUS_SPI, |
| 5481 | .manufacture_id = MACRONIX_ID, |
| 5482 | .model_id = MACRONIX_MX25L3205, |
| 5483 | .total_size = 4096, |
| 5484 | .page_size = 256, |
| 5485 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5486 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5487 | .tested = TEST_OK_PREW, |
| 5488 | .probe = probe_spi_rdid, |
| 5489 | .probe_timing = TIMING_ZERO, |
| 5490 | .block_erasers = |
| 5491 | { |
| 5492 | { |
| 5493 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5494 | .block_erase = spi_block_erase_20, |
| 5495 | }, { |
| 5496 | .eraseblocks = { {64 * 1024, 64} }, |
| 5497 | .block_erase = spi_block_erase_d8, |
| 5498 | }, { |
| 5499 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5500 | .block_erase = spi_block_erase_60, |
| 5501 | }, { |
| 5502 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5503 | .block_erase = spi_block_erase_c7, |
| 5504 | }, |
| 5505 | }, |
| 5506 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6: CP mode */ |
| 5507 | .unlock = spi_disable_blockprotect, |
| 5508 | .write = spi_chip_write_256, |
| 5509 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */ |
| 5510 | .voltage = {2700, 3600}, |
| 5511 | }, |
| 5512 | |
| 5513 | { |
| 5514 | .vendor = "Macronix", |
| 5515 | .name = "MX25L3206E", |
| 5516 | .bustype = BUS_SPI, |
| 5517 | .manufacture_id = MACRONIX_ID, |
| 5518 | .model_id = MACRONIX_MX25L3205, |
| 5519 | .total_size = 4096, |
| 5520 | .page_size = 256, |
| 5521 | /* OTP: 64B total; enter 0xB1, exit 0xC1 */ |
| 5522 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5523 | .tested = TEST_OK_PREW, |
| 5524 | .probe = probe_spi_rdid, |
| 5525 | .probe_timing = TIMING_ZERO, |
| 5526 | .block_erasers = |
| 5527 | { |
| 5528 | { |
| 5529 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5530 | .block_erase = spi_block_erase_20, |
| 5531 | }, { |
| 5532 | .eraseblocks = { {64 * 1024, 64} }, |
| 5533 | .block_erase = spi_block_erase_d8, |
| 5534 | }, { |
| 5535 | .eraseblocks = { {64 * 1024, 64} }, |
| 5536 | .block_erase = spi_block_erase_52, |
| 5537 | }, { |
| 5538 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5539 | .block_erase = spi_block_erase_60, |
| 5540 | }, { |
| 5541 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5542 | .block_erase = spi_block_erase_c7, |
| 5543 | }, |
| 5544 | }, |
| 5545 | .printlock = spi_prettyprint_status_register_default_bp3, |
| 5546 | .unlock = spi_disable_blockprotect, |
| 5547 | .write = spi_chip_write_256, |
| 5548 | .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5549 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5550 | }, |
| 5551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5552 | { |
| 5553 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5554 | .name = "MX25L3235D", |
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_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5558 | .total_size = 4096, |
| 5559 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5560 | /* OTP: 256B total; enter 0xB1, exit 0xC1 */ |
| 5561 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5562 | .tested = TEST_UNTESTED, |
| 5563 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5564 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5565 | .block_erasers = |
| 5566 | { |
| 5567 | { |
| 5568 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5569 | .block_erase = spi_block_erase_20, |
| 5570 | }, { |
| 5571 | .eraseblocks = { {64 * 1024, 64} }, |
| 5572 | .block_erase = spi_block_erase_d8, |
| 5573 | }, { |
| 5574 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5575 | .block_erase = spi_block_erase_60, |
| 5576 | }, { |
| 5577 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5578 | .block_erase = spi_block_erase_c7, |
| 5579 | } |
| 5580 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5581 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5582 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5583 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5584 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5585 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 5586 | }, |
| 5587 | |
| 5588 | { |
| 5589 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5590 | .name = "MX25L6405(D)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5591 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5592 | .manufacture_id = MACRONIX_ID, |
| 5593 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5594 | .total_size = 8192, |
| 5595 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5596 | /* MX25L6405D has 64B of OTP; enter 0xB1, exit 0xC1 */ |
| 5597 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 5598 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5599 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5600 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5601 | .block_erasers = |
| 5602 | { |
| 5603 | { |
| 5604 | .eraseblocks = { {64 * 1024, 128} }, |
| 5605 | .block_erase = spi_block_erase_20, |
| 5606 | }, { |
| 5607 | .eraseblocks = { {64 * 1024, 128} }, |
| 5608 | .block_erase = spi_block_erase_d8, |
| 5609 | }, { |
| 5610 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5611 | .block_erase = spi_block_erase_60, |
| 5612 | }, { |
| 5613 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5614 | .block_erase = spi_block_erase_c7, |
| 5615 | } |
| 5616 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5617 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 has different meanings */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5618 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5619 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5620 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5621 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5622 | }, |
| 5623 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5624 | { |
| 5625 | .vendor = "Macronix", |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5626 | .name = "MX25L6406E/MX25L6436E", |
| 5627 | .bustype = BUS_SPI, |
| 5628 | .manufacture_id = MACRONIX_ID, |
| 5629 | .model_id = MACRONIX_MX25L6405, |
| 5630 | .total_size = 8192, |
| 5631 | .page_size = 256, |
| 5632 | /* OTP: 06E 64B/36E 512B total; enter 0xB1, exit 0xC1 */ |
| 5633 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5634 | .tested = TEST_OK_PREW, |
| 5635 | .probe = probe_spi_rdid, |
| 5636 | .probe_timing = TIMING_ZERO, |
| 5637 | .block_erasers = |
| 5638 | { |
| 5639 | { |
| 5640 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5641 | .block_erase = spi_block_erase_20, |
| 5642 | }, { |
| 5643 | .eraseblocks = { {64 * 1024, 128} }, |
| 5644 | .block_erase = spi_block_erase_d8, |
| 5645 | }, { |
| 5646 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5647 | .block_erase = spi_block_erase_60, |
| 5648 | }, { |
| 5649 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5650 | .block_erase = spi_block_erase_c7, |
| 5651 | } |
| 5652 | }, |
| 5653 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 for 36E is quad enable */ |
| 5654 | .unlock = spi_disable_blockprotect, |
| 5655 | .write = spi_chip_write_256, |
| 5656 | .read = spi_chip_read, |
| 5657 | .voltage = {2700, 3600}, |
| 5658 | }, |
| 5659 | |
| 5660 | { |
| 5661 | .vendor = "Macronix", |
| 5662 | .name = "MX25L6445E", |
| 5663 | .bustype = BUS_SPI, |
| 5664 | .manufacture_id = MACRONIX_ID, |
| 5665 | .model_id = MACRONIX_MX25L6405, |
| 5666 | .total_size = 8192, |
| 5667 | .page_size = 256, |
| 5668 | /* supports SFDP */ |
| 5669 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5670 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 5671 | .tested = TEST_OK_PREW, |
| 5672 | .probe = probe_spi_rdid, |
| 5673 | .probe_timing = TIMING_ZERO, |
| 5674 | .block_erasers = |
| 5675 | { |
| 5676 | { |
| 5677 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5678 | .block_erase = spi_block_erase_20, |
| 5679 | }, { |
| 5680 | .eraseblocks = { {32 * 1024, 256} }, |
| 5681 | .block_erase = spi_block_erase_52, |
| 5682 | }, { |
| 5683 | .eraseblocks = { {64 * 1024, 128} }, |
| 5684 | .block_erase = spi_block_erase_d8, |
| 5685 | }, { |
| 5686 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5687 | .block_erase = spi_block_erase_60, |
| 5688 | }, { |
| 5689 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5690 | .block_erase = spi_block_erase_c7, |
| 5691 | } |
| 5692 | }, |
| 5693 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5694 | .unlock = spi_disable_blockprotect, |
| 5695 | .write = spi_chip_write_256, |
| 5696 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5697 | .voltage = {2700, 3600}, |
| 5698 | }, |
| 5699 | |
| 5700 | { |
| 5701 | .vendor = "Macronix", |
| 5702 | .name = "MX25L12805(D)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5703 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5704 | .manufacture_id = MACRONIX_ID, |
| 5705 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5706 | .total_size = 16384, |
| 5707 | .page_size = 256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5708 | /* MX25L12805D has 64B of OTP; enter 0xB1, exit 0xC1 */ |
| 5709 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 5710 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5711 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5712 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5713 | .block_erasers = |
| 5714 | { |
| 5715 | { |
| 5716 | .eraseblocks = { {4 * 1024, 4096} }, |
| 5717 | .block_erase = spi_block_erase_20, |
| 5718 | }, { |
| 5719 | .eraseblocks = { {64 * 1024, 256} }, |
| 5720 | .block_erase = spi_block_erase_d8, |
| 5721 | }, { |
| 5722 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5723 | .block_erase = spi_block_erase_60, |
| 5724 | }, { |
| 5725 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5726 | .block_erase = spi_block_erase_c7, |
| 5727 | } |
| 5728 | }, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5729 | .printlock = spi_prettyprint_status_register_default_bp3, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5730 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5731 | .write = spi_chip_write_256, |
Stefan Tauner | 226037d | 2013-03-16 01:22:12 +0000 | [diff] [blame] | 5732 | .read = spi_chip_read, /* MX25L12805D: Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5733 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 5734 | }, |
| 5735 | |
| 5736 | { |
| 5737 | .vendor = "Macronix", |
Vincent Palatin | f800f55 | 2013-03-15 02:03:16 +0000 | [diff] [blame] | 5738 | .name = "MX25U1635E", |
| 5739 | .bustype = BUS_SPI, |
| 5740 | .manufacture_id = MACRONIX_ID, |
| 5741 | .model_id = MACRONIX_MX25U1635E, |
| 5742 | .total_size = 2048, |
| 5743 | .page_size = 256, |
| 5744 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5745 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 5746 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 5747 | .tested = TEST_UNTESTED, |
| 5748 | .probe = probe_spi_rdid, |
| 5749 | .probe_timing = TIMING_ZERO, |
| 5750 | .block_erasers = |
| 5751 | { |
| 5752 | { |
| 5753 | .eraseblocks = { {4 * 1024, 512} }, |
| 5754 | .block_erase = spi_block_erase_20, |
| 5755 | }, { |
| 5756 | .eraseblocks = { {32 * 1024, 64} }, |
| 5757 | .block_erase = spi_block_erase_52, |
| 5758 | }, { |
| 5759 | .eraseblocks = { {64 * 1024, 32} }, |
| 5760 | .block_erase = spi_block_erase_d8, |
| 5761 | }, { |
| 5762 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5763 | .block_erase = spi_block_erase_60, |
| 5764 | }, { |
| 5765 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5766 | .block_erase = spi_block_erase_c7, |
| 5767 | } |
| 5768 | }, |
| 5769 | /* TODO: security register */ |
| 5770 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5771 | .unlock = spi_disable_blockprotect, |
| 5772 | .write = spi_chip_write_256, |
| 5773 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5774 | .voltage = {1650, 2000}, |
| 5775 | }, |
| 5776 | |
| 5777 | { |
| 5778 | .vendor = "Macronix", |
| 5779 | .name = "MX25U3235E/F", |
| 5780 | .bustype = BUS_SPI, |
| 5781 | .manufacture_id = MACRONIX_ID, |
| 5782 | .model_id = MACRONIX_MX25U3235E, |
| 5783 | .total_size = 4096, |
| 5784 | .page_size = 256, |
| 5785 | /* F model supports SFDP */ |
| 5786 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5787 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 5788 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 5789 | .tested = TEST_OK_PREW, |
| 5790 | .probe = probe_spi_rdid, |
| 5791 | .probe_timing = TIMING_ZERO, |
| 5792 | .block_erasers = |
| 5793 | { |
| 5794 | { |
| 5795 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5796 | .block_erase = spi_block_erase_20, |
| 5797 | }, { |
| 5798 | .eraseblocks = { {32 * 1024, 128} }, |
| 5799 | .block_erase = spi_block_erase_52, |
| 5800 | }, { |
| 5801 | .eraseblocks = { {64 * 1024, 64} }, |
| 5802 | .block_erase = spi_block_erase_d8, |
| 5803 | }, { |
| 5804 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5805 | .block_erase = spi_block_erase_60, |
| 5806 | }, { |
| 5807 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5808 | .block_erase = spi_block_erase_c7, |
| 5809 | } |
| 5810 | }, |
| 5811 | /* TODO: security register */ |
| 5812 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5813 | .unlock = spi_disable_blockprotect, |
| 5814 | .write = spi_chip_write_256, |
| 5815 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5816 | .voltage = {1650, 2000}, |
| 5817 | }, |
| 5818 | |
| 5819 | { |
| 5820 | .vendor = "Macronix", |
| 5821 | .name = "MX25U6435E/F", |
| 5822 | .bustype = BUS_SPI, |
| 5823 | .manufacture_id = MACRONIX_ID, |
| 5824 | .model_id = MACRONIX_MX25U6435E, |
| 5825 | .total_size = 8192, |
| 5826 | .page_size = 256, |
| 5827 | /* F model supports SFDP */ |
| 5828 | /* OTP: 512B total; enter 0xB1, exit 0xC1 */ |
| 5829 | /* QPI enable 0x35, disable 0xF5 (0xFF et al. work too) */ |
| 5830 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, |
| 5831 | .tested = TEST_UNTESTED, |
| 5832 | .probe = probe_spi_rdid, |
| 5833 | .probe_timing = TIMING_ZERO, |
| 5834 | .block_erasers = |
| 5835 | { |
| 5836 | { |
| 5837 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5838 | .block_erase = spi_block_erase_20, |
| 5839 | }, { |
| 5840 | .eraseblocks = { {32 * 1024, 256} }, |
| 5841 | .block_erase = spi_block_erase_52, |
| 5842 | }, { |
| 5843 | .eraseblocks = { {64 * 1024, 128} }, |
| 5844 | .block_erase = spi_block_erase_d8, |
| 5845 | }, { |
| 5846 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5847 | .block_erase = spi_block_erase_60, |
| 5848 | }, { |
| 5849 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5850 | .block_erase = spi_block_erase_c7, |
| 5851 | } |
| 5852 | }, |
| 5853 | /* TODO: security register */ |
| 5854 | .printlock = spi_prettyprint_status_register_default_bp3, /* bit6 is quad enable */ |
| 5855 | .unlock = spi_disable_blockprotect, |
| 5856 | .write = spi_chip_write_256, |
| 5857 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 5858 | .voltage = {1650, 2000}, |
| 5859 | }, |
| 5860 | |
| 5861 | { |
| 5862 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5863 | .name = "MX29F001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5864 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5865 | .manufacture_id = MACRONIX_ID, |
| 5866 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5867 | .total_size = 128, |
| 5868 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5869 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 5870 | .tested = TEST_UNTESTED, |
| 5871 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5872 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5873 | .block_erasers = |
| 5874 | { |
| 5875 | { |
| 5876 | .eraseblocks = { |
| 5877 | {8 * 1024, 1}, |
| 5878 | {4 * 1024, 2}, |
| 5879 | {8 * 1024, 2}, |
| 5880 | {32 * 1024, 1}, |
| 5881 | {64 * 1024, 1}, |
| 5882 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5883 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5884 | }, { |
| 5885 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5886 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5887 | } |
| 5888 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5889 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5890 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5891 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5892 | }, |
| 5893 | |
| 5894 | { |
| 5895 | .vendor = "Macronix", |
| 5896 | .name = "MX29F001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5897 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5898 | .manufacture_id = MACRONIX_ID, |
| 5899 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5900 | .total_size = 128, |
| 5901 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5902 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 5903 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5904 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5905 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5906 | .block_erasers = |
| 5907 | { |
| 5908 | { |
| 5909 | .eraseblocks = { |
| 5910 | {64 * 1024, 1}, |
| 5911 | {32 * 1024, 1}, |
| 5912 | {8 * 1024, 2}, |
| 5913 | {4 * 1024, 2}, |
| 5914 | {8 * 1024, 1}, |
| 5915 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5916 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5917 | }, { |
| 5918 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5919 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 5920 | } |
| 5921 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5922 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5923 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5924 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 5925 | }, |
| 5926 | |
| 5927 | { |
| 5928 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 5929 | .name = "MX29F002(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5930 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5931 | .manufacture_id = MACRONIX_ID, |
| 5932 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5933 | .total_size = 256, |
| 5934 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5935 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5936 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5937 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5938 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5939 | .block_erasers = |
| 5940 | { |
| 5941 | { |
| 5942 | .eraseblocks = { |
| 5943 | {16 * 1024, 1}, |
| 5944 | {8 * 1024, 2}, |
| 5945 | {32 * 1024, 1}, |
| 5946 | {64 * 1024, 3}, |
| 5947 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5948 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5949 | }, { |
| 5950 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5951 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5952 | }, |
| 5953 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5954 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5955 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5956 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5957 | }, |
| 5958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5959 | { |
| 5960 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 5961 | .name = "MX29F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5962 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5963 | .manufacture_id = MACRONIX_ID, |
| 5964 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5965 | .total_size = 256, |
| 5966 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5967 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5968 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5969 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 5970 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5971 | .block_erasers = |
| 5972 | { |
| 5973 | { |
| 5974 | .eraseblocks = { |
| 5975 | {64 * 1024, 3}, |
| 5976 | {32 * 1024, 1}, |
| 5977 | {8 * 1024, 2}, |
| 5978 | {16 * 1024, 1}, |
| 5979 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5980 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5981 | }, { |
| 5982 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5983 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 5984 | }, |
| 5985 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 5986 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5987 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5988 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5989 | }, |
| 5990 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5991 | { |
| 5992 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5993 | .name = "MX29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5994 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 5995 | .manufacture_id = MACRONIX_ID, |
| 5996 | .model_id = MACRONIX_MX29F040, |
| 5997 | .total_size = 512, |
| 5998 | .page_size = 64 * 1024, |
| 5999 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6000 | .tested = TEST_UNTESTED, |
| 6001 | .probe = probe_jedec, |
| 6002 | .probe_timing = TIMING_ZERO, |
| 6003 | .block_erasers = |
| 6004 | { |
| 6005 | { |
| 6006 | .eraseblocks = { {64 * 1024, 8} }, |
| 6007 | .block_erase = erase_sector_jedec, |
| 6008 | }, { |
| 6009 | .eraseblocks = { {512 * 1024, 1} }, |
| 6010 | .block_erase = erase_chip_block_jedec, |
| 6011 | }, |
| 6012 | }, |
| 6013 | .write = write_jedec_1, |
| 6014 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6015 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 6016 | }, |
| 6017 | |
| 6018 | { |
| 6019 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 6020 | .name = "MX29LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6021 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6022 | .manufacture_id = MACRONIX_ID, |
| 6023 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6024 | .total_size = 512, |
| 6025 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6026 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 6027 | .tested = TEST_UNTESTED, |
| 6028 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 6029 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6030 | .block_erasers = |
| 6031 | { |
| 6032 | { |
| 6033 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6034 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6035 | }, { |
| 6036 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6037 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 6038 | }, |
| 6039 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 6040 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6041 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6042 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 6043 | }, |
| 6044 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6045 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6046 | .vendor = "MoselVitelic", |
| 6047 | .name = "V29C51000B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6048 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6049 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6050 | .model_id = MVC_V29C51000B, |
| 6051 | .total_size = 64, |
| 6052 | .page_size = 512, |
| 6053 | .feature_bits = FEATURE_EITHER_RESET, |
| 6054 | .tested = TEST_UNTESTED, |
| 6055 | .probe = probe_jedec, |
| 6056 | .probe_timing = TIMING_ZERO, |
| 6057 | .block_erasers = |
| 6058 | { |
| 6059 | { |
| 6060 | .eraseblocks = { {512, 128} }, |
| 6061 | .block_erase = erase_sector_jedec, |
| 6062 | }, { |
| 6063 | .eraseblocks = { {64 * 1024, 1} }, |
| 6064 | .block_erase = erase_chip_block_jedec, |
| 6065 | }, |
| 6066 | }, |
| 6067 | .write = write_jedec_1, |
| 6068 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6069 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6070 | }, |
| 6071 | |
| 6072 | { |
| 6073 | .vendor = "MoselVitelic", |
| 6074 | .name = "V29C51000T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6075 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6076 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6077 | .model_id = MVC_V29C51000T, |
| 6078 | .total_size = 64, |
| 6079 | .page_size = 512, |
| 6080 | .feature_bits = FEATURE_EITHER_RESET, |
| 6081 | .tested = TEST_UNTESTED, |
| 6082 | .probe = probe_jedec, |
| 6083 | .probe_timing = TIMING_ZERO, |
| 6084 | .block_erasers = |
| 6085 | { |
| 6086 | { |
| 6087 | .eraseblocks = { {512, 128} }, |
| 6088 | .block_erase = erase_sector_jedec, |
| 6089 | }, { |
| 6090 | .eraseblocks = { {64 * 1024, 1} }, |
| 6091 | .block_erase = erase_chip_block_jedec, |
| 6092 | }, |
| 6093 | }, |
| 6094 | .write = write_jedec_1, |
| 6095 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6096 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6097 | }, |
| 6098 | |
| 6099 | { |
| 6100 | .vendor = "MoselVitelic", |
| 6101 | .name = "V29C51400B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6102 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6103 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6104 | .model_id = MVC_V29C51400B, |
| 6105 | .total_size = 512, |
| 6106 | .page_size = 1024, |
| 6107 | .feature_bits = FEATURE_EITHER_RESET, |
| 6108 | .tested = TEST_UNTESTED, |
| 6109 | .probe = probe_jedec, |
| 6110 | .probe_timing = TIMING_ZERO, |
| 6111 | .block_erasers = |
| 6112 | { |
| 6113 | { |
| 6114 | .eraseblocks = { {1024, 512} }, |
| 6115 | .block_erase = erase_sector_jedec, |
| 6116 | }, { |
| 6117 | .eraseblocks = { {512 * 1024, 1} }, |
| 6118 | .block_erase = erase_chip_block_jedec, |
| 6119 | }, |
| 6120 | }, |
| 6121 | .write = write_jedec_1, |
| 6122 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6123 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6124 | }, |
| 6125 | |
| 6126 | { |
| 6127 | .vendor = "MoselVitelic", |
| 6128 | .name = "V29C51400T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6129 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6130 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6131 | .model_id = MVC_V29C51400T, |
| 6132 | .total_size = 512, |
| 6133 | .page_size = 1024, |
| 6134 | .feature_bits = FEATURE_EITHER_RESET, |
| 6135 | .tested = TEST_UNTESTED, |
| 6136 | .probe = probe_jedec, |
| 6137 | .probe_timing = TIMING_ZERO, |
| 6138 | .block_erasers = |
| 6139 | { |
| 6140 | { |
| 6141 | .eraseblocks = { {1024, 512} }, |
| 6142 | .block_erase = erase_sector_jedec, |
| 6143 | }, { |
| 6144 | .eraseblocks = { {512 * 1024, 1} }, |
| 6145 | .block_erase = erase_chip_block_jedec, |
| 6146 | }, |
| 6147 | }, |
| 6148 | .write = write_jedec_1, |
| 6149 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6150 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6151 | }, |
| 6152 | |
| 6153 | { |
| 6154 | .vendor = "MoselVitelic", |
| 6155 | .name = "V29LC51000", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6156 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6157 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6158 | .model_id = MVC_V29LC51000, |
| 6159 | .total_size = 64, |
| 6160 | .page_size = 512, |
| 6161 | .feature_bits = FEATURE_EITHER_RESET, |
| 6162 | .tested = TEST_UNTESTED, |
| 6163 | .probe = probe_jedec, |
| 6164 | .probe_timing = TIMING_ZERO, |
| 6165 | .block_erasers = |
| 6166 | { |
| 6167 | { |
| 6168 | .eraseblocks = { {512, 128} }, |
| 6169 | .block_erase = erase_sector_jedec, |
| 6170 | }, { |
| 6171 | .eraseblocks = { {64 * 1024, 1} }, |
| 6172 | .block_erase = erase_chip_block_jedec, |
| 6173 | }, |
| 6174 | }, |
| 6175 | .write = write_jedec_1, |
| 6176 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6177 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6178 | }, |
| 6179 | |
| 6180 | { |
| 6181 | .vendor = "MoselVitelic", |
| 6182 | .name = "V29LC51001", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6183 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6184 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6185 | .model_id = MVC_V29LC51001, |
| 6186 | .total_size = 128, |
| 6187 | .page_size = 512, |
| 6188 | .feature_bits = FEATURE_EITHER_RESET, |
| 6189 | .tested = TEST_UNTESTED, |
| 6190 | .probe = probe_jedec, |
| 6191 | .probe_timing = TIMING_ZERO, |
| 6192 | .block_erasers = |
| 6193 | { |
| 6194 | { |
| 6195 | .eraseblocks = { {512, 256} }, |
| 6196 | .block_erase = erase_sector_jedec, |
| 6197 | }, { |
| 6198 | .eraseblocks = { {128 * 1024, 1} }, |
| 6199 | .block_erase = erase_chip_block_jedec, |
| 6200 | }, |
| 6201 | }, |
| 6202 | .write = write_jedec_1, |
| 6203 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6204 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6205 | }, |
| 6206 | |
| 6207 | { |
| 6208 | .vendor = "MoselVitelic", |
| 6209 | .name = "V29LC51002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6210 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6211 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6212 | .model_id = MVC_V29LC51002, |
| 6213 | .total_size = 256, |
| 6214 | .page_size = 512, |
| 6215 | .feature_bits = FEATURE_EITHER_RESET, |
| 6216 | .tested = TEST_UNTESTED, |
| 6217 | .probe = probe_jedec, |
| 6218 | .probe_timing = TIMING_ZERO, |
| 6219 | .block_erasers = |
| 6220 | { |
| 6221 | { |
| 6222 | .eraseblocks = { {512, 512} }, |
| 6223 | .block_erase = erase_sector_jedec, |
| 6224 | }, { |
| 6225 | .eraseblocks = { {256 * 1024, 1} }, |
| 6226 | .block_erase = erase_chip_block_jedec, |
| 6227 | }, |
| 6228 | }, |
| 6229 | .write = write_jedec_1, |
| 6230 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6231 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6232 | }, |
| 6233 | |
| 6234 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6235 | .vendor = "Numonyx", |
| 6236 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6237 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6238 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6239 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6240 | .total_size = 128, |
| 6241 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6242 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6243 | .tested = TEST_UNTESTED, |
| 6244 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6245 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6246 | .block_erasers = |
| 6247 | { |
| 6248 | { |
| 6249 | .eraseblocks = { {4 * 1024, 32} }, |
| 6250 | .block_erase = spi_block_erase_20, |
| 6251 | }, { |
| 6252 | .eraseblocks = { {64 * 1024, 2} }, |
| 6253 | .block_erase = spi_block_erase_d8, |
| 6254 | }, { |
| 6255 | .eraseblocks = { {128 * 1024, 1} }, |
| 6256 | .block_erase = spi_block_erase_c7, |
| 6257 | } |
| 6258 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6259 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6260 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6261 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6262 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6263 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6264 | }, |
| 6265 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6266 | { |
| 6267 | .vendor = "Numonyx", |
| 6268 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6269 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6270 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6271 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6272 | .total_size = 256, |
| 6273 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6274 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6275 | .tested = TEST_UNTESTED, |
| 6276 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6277 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6278 | .block_erasers = |
| 6279 | { |
| 6280 | { |
| 6281 | .eraseblocks = { {4 * 1024, 64} }, |
| 6282 | .block_erase = spi_block_erase_20, |
| 6283 | }, { |
| 6284 | .eraseblocks = { {64 * 1024, 4} }, |
| 6285 | .block_erase = spi_block_erase_d8, |
| 6286 | }, { |
| 6287 | .eraseblocks = { {256 * 1024, 1} }, |
| 6288 | .block_erase = spi_block_erase_c7, |
| 6289 | } |
| 6290 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6291 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6292 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6293 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6294 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6295 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6296 | }, |
| 6297 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6298 | { |
| 6299 | .vendor = "Numonyx", |
| 6300 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6301 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6302 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6303 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6304 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6305 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6306 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6307 | .tested = TEST_UNTESTED, |
| 6308 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6309 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6310 | .block_erasers = |
| 6311 | { |
| 6312 | { |
| 6313 | .eraseblocks = { {4 * 1024, 128} }, |
| 6314 | .block_erase = spi_block_erase_20, |
| 6315 | }, { |
| 6316 | .eraseblocks = { {64 * 1024, 8} }, |
| 6317 | .block_erase = spi_block_erase_d8, |
| 6318 | }, { |
| 6319 | .eraseblocks = { {512 * 1024, 1} }, |
| 6320 | .block_erase = spi_block_erase_c7, |
| 6321 | } |
| 6322 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6323 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6324 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6325 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6326 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6327 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6328 | }, |
| 6329 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6330 | { |
| 6331 | .vendor = "Numonyx", |
| 6332 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6333 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6334 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6335 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6336 | .total_size = 1024, |
| 6337 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6338 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 6339 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6340 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6341 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6342 | .block_erasers = |
| 6343 | { |
| 6344 | { |
| 6345 | .eraseblocks = { {4 * 1024, 256} }, |
| 6346 | .block_erase = spi_block_erase_20, |
| 6347 | }, { |
| 6348 | .eraseblocks = { {64 * 1024, 16} }, |
| 6349 | .block_erase = spi_block_erase_d8, |
| 6350 | }, { |
| 6351 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6352 | .block_erase = spi_block_erase_c7, |
| 6353 | } |
| 6354 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6355 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6356 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6358 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6359 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6360 | }, |
| 6361 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6362 | { |
| 6363 | .vendor = "Numonyx", |
| 6364 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6365 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6366 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6367 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6368 | .total_size = 2048, |
| 6369 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6370 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6371 | .tested = TEST_UNTESTED, |
| 6372 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6373 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6374 | .block_erasers = |
| 6375 | { |
| 6376 | { |
| 6377 | .eraseblocks = { {4 * 1024, 512} }, |
| 6378 | .block_erase = spi_block_erase_20, |
| 6379 | }, { |
| 6380 | .eraseblocks = { {64 * 1024, 32} }, |
| 6381 | .block_erase = spi_block_erase_d8, |
| 6382 | }, { |
| 6383 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6384 | .block_erase = spi_block_erase_c7, |
| 6385 | } |
| 6386 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6387 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6388 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6389 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6390 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6391 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6392 | }, |
| 6393 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6394 | { |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6395 | .vendor = "Numonyx", |
Stefan Tauner | d956f82 | 2012-10-26 16:49:15 +0000 | [diff] [blame] | 6396 | .name = "N25Q016", |
| 6397 | .bustype = BUS_SPI, |
| 6398 | .manufacture_id = ST_ID, |
| 6399 | .model_id = ST_N25Q016__1E, |
| 6400 | .total_size = 2048, |
| 6401 | .page_size = 256, |
| 6402 | /* supports SFDP */ |
| 6403 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6404 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6405 | .tested = TEST_UNTESTED, |
| 6406 | .probe = probe_spi_rdid, |
| 6407 | .probe_timing = TIMING_ZERO, |
| 6408 | .block_erasers = |
| 6409 | { |
| 6410 | { |
| 6411 | .eraseblocks = { {4 * 1024, 512} }, |
| 6412 | .block_erase = spi_block_erase_20, |
| 6413 | }, { |
| 6414 | .eraseblocks = { {32 * 1024, 64} }, |
| 6415 | .block_erase = spi_block_erase_52, |
| 6416 | }, { |
| 6417 | .eraseblocks = { {64 * 1024, 32} }, |
| 6418 | .block_erase = spi_block_erase_d8, |
| 6419 | }, { |
| 6420 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6421 | .block_erase = spi_block_erase_c7, |
| 6422 | } |
| 6423 | }, |
| 6424 | .unlock = spi_disable_blockprotect, |
| 6425 | .write = spi_chip_write_256, |
| 6426 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 6427 | .voltage = {1700, 2000}, |
| 6428 | }, |
| 6429 | |
| 6430 | { |
| 6431 | .vendor = "Numonyx", |
| 6432 | .name = "N25Q032..1E", |
| 6433 | .bustype = BUS_SPI, |
| 6434 | .manufacture_id = ST_ID, |
| 6435 | .model_id = ST_N25Q032__1E, |
| 6436 | .total_size = 4096, |
| 6437 | .page_size = 256, |
| 6438 | /* supports SFDP */ |
| 6439 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6440 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6441 | .tested = TEST_UNTESTED, |
| 6442 | .probe = probe_spi_rdid, |
| 6443 | .probe_timing = TIMING_ZERO, |
| 6444 | .block_erasers = |
| 6445 | { |
| 6446 | { |
| 6447 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6448 | .block_erase = spi_block_erase_20, |
| 6449 | }, { |
| 6450 | .eraseblocks = { {64 * 1024, 64} }, |
| 6451 | .block_erase = spi_block_erase_d8, |
| 6452 | }, { |
| 6453 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6454 | .block_erase = spi_block_erase_c7, |
| 6455 | } |
| 6456 | }, |
| 6457 | .unlock = spi_disable_blockprotect, |
| 6458 | .write = spi_chip_write_256, |
| 6459 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 6460 | .voltage = {1700, 2000}, |
| 6461 | }, |
| 6462 | |
| 6463 | { |
| 6464 | .vendor = "Numonyx", |
| 6465 | .name = "N25Q032..3E", |
| 6466 | .bustype = BUS_SPI, |
| 6467 | .manufacture_id = ST_ID, |
| 6468 | .model_id = ST_N25Q032__3E, |
| 6469 | .total_size = 4096, |
| 6470 | .page_size = 256, |
| 6471 | /* supports SFDP */ |
| 6472 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6473 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6474 | .tested = TEST_UNTESTED, |
| 6475 | .probe = probe_spi_rdid, |
| 6476 | .probe_timing = TIMING_ZERO, |
| 6477 | .block_erasers = |
| 6478 | { |
| 6479 | { |
| 6480 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6481 | .block_erase = spi_block_erase_20, |
| 6482 | }, { |
| 6483 | .eraseblocks = { {64 * 1024, 64} }, |
| 6484 | .block_erase = spi_block_erase_d8, |
| 6485 | }, { |
| 6486 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6487 | .block_erase = spi_block_erase_c7, |
| 6488 | } |
| 6489 | }, |
| 6490 | .unlock = spi_disable_blockprotect, |
| 6491 | .write = spi_chip_write_256, |
| 6492 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
| 6493 | .voltage = {2700, 3600}, |
| 6494 | }, |
| 6495 | |
| 6496 | { |
| 6497 | .vendor = "Numonyx", |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6498 | .name = "N25Q064..1E", /* ..1E = 1.8V, uniform 64KB/4KB blocks/sectors */ |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6499 | .bustype = BUS_SPI, |
| 6500 | .manufacture_id = ST_ID, |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6501 | .model_id = ST_N25Q064__1E, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6502 | .total_size = 8192, |
| 6503 | .page_size = 256, |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6504 | /* supports SFDP */ |
| 6505 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6506 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 6507 | .tested = TEST_UNTESTED, |
| 6508 | .probe = probe_spi_rdid, |
| 6509 | .probe_timing = TIMING_ZERO, |
| 6510 | .block_erasers = |
| 6511 | { |
| 6512 | { |
| 6513 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 6514 | .block_erase = spi_block_erase_20, |
| 6515 | }, { |
| 6516 | .eraseblocks = { {64 * 1024, 128} }, |
| 6517 | .block_erase = spi_block_erase_d8, |
| 6518 | }, { |
| 6519 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6520 | .block_erase = spi_block_erase_c7, |
| 6521 | } |
| 6522 | }, |
| 6523 | .unlock = spi_disable_blockprotect, |
| 6524 | .write = spi_chip_write_256, |
Stefan Tauner | d956f82 | 2012-10-26 16:49:15 +0000 | [diff] [blame] | 6525 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6526 | .voltage = {1700, 2000}, |
| 6527 | }, |
| 6528 | |
| 6529 | { |
| 6530 | .vendor = "Numonyx", |
| 6531 | .name = "N25Q064..3E", /* ..3E = 3V, uniform 64KB/4KB blocks/sectors */ |
| 6532 | .bustype = BUS_SPI, |
| 6533 | .manufacture_id = ST_ID, |
| 6534 | .model_id = ST_N25Q064__3E, |
| 6535 | .total_size = 8192, |
| 6536 | .page_size = 256, |
| 6537 | /* supports SFDP */ |
| 6538 | /* OTP: 64B total; read 0x4B, write 0x42 */ |
| 6539 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6540 | .tested = TEST_OK_PREW, |
| 6541 | .probe = probe_spi_rdid, |
| 6542 | .probe_timing = TIMING_ZERO, |
| 6543 | .block_erasers = |
| 6544 | { |
| 6545 | { |
| 6546 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 6547 | .block_erase = spi_block_erase_20, |
| 6548 | }, { |
| 6549 | .eraseblocks = { {64 * 1024, 128} }, |
| 6550 | .block_erase = spi_block_erase_d8, |
| 6551 | }, { |
| 6552 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6553 | .block_erase = spi_block_erase_c7, |
| 6554 | } |
| 6555 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 6556 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6557 | .unlock = spi_disable_blockprotect, |
| 6558 | .write = spi_chip_write_256, |
Stefan Tauner | d956f82 | 2012-10-26 16:49:15 +0000 | [diff] [blame] | 6559 | .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ |
David Hendricks | 99f947d | 2012-10-04 14:41:20 +0000 | [diff] [blame] | 6560 | .voltage = {2700, 3600}, |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 6561 | }, |
| 6562 | |
| 6563 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6564 | .vendor = "PMC", |
Stefan Tauner | f445161 | 2013-04-19 01:59:15 +0000 | [diff] [blame^] | 6565 | .name = "Pm25LD256C", |
| 6566 | .bustype = BUS_SPI, |
| 6567 | .manufacture_id = PMC_ID, |
| 6568 | .model_id = PMC_PM25LD256C, |
| 6569 | .total_size = 32, |
| 6570 | .page_size = 256, |
| 6571 | .feature_bits = FEATURE_WRSR_WREN, |
| 6572 | .tested = TEST_UNTESTED, |
| 6573 | .probe = probe_spi_rdid, |
| 6574 | .probe_timing = TIMING_ZERO, |
| 6575 | .block_erasers = |
| 6576 | { |
| 6577 | { |
| 6578 | .eraseblocks = { {4 * 1024, 8} }, |
| 6579 | .block_erase = spi_block_erase_20, |
| 6580 | }, { |
| 6581 | .eraseblocks = { {4 * 1024, 8} }, |
| 6582 | .block_erase = spi_block_erase_d7, |
| 6583 | }, { |
| 6584 | .eraseblocks = { {32 * 1024, 1} }, |
| 6585 | .block_erase = spi_block_erase_d8, |
| 6586 | }, { |
| 6587 | .eraseblocks = { {32 * 1024, 1} }, |
| 6588 | .block_erase = spi_block_erase_60, |
| 6589 | }, { |
| 6590 | .eraseblocks = { {32 * 1024, 1} }, |
| 6591 | .block_erase = spi_block_erase_c7, |
| 6592 | } |
| 6593 | }, |
| 6594 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6595 | .unlock = spi_disable_blockprotect, |
| 6596 | .write = spi_chip_write_256, |
| 6597 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6598 | .voltage = {2700, 3600}, |
| 6599 | }, |
| 6600 | { |
| 6601 | .vendor = "PMC", |
| 6602 | .name = "Pm25LD512(C)", |
| 6603 | .bustype = BUS_SPI, |
| 6604 | .manufacture_id = PMC_ID, |
| 6605 | .model_id = PMC_PM25LD512, |
| 6606 | .total_size = 64, |
| 6607 | .page_size = 256, |
| 6608 | .feature_bits = FEATURE_WRSR_WREN, |
| 6609 | .tested = TEST_OK_PREW, |
| 6610 | .probe = probe_spi_rdid, |
| 6611 | .probe_timing = TIMING_ZERO, |
| 6612 | .block_erasers = |
| 6613 | { |
| 6614 | { |
| 6615 | .eraseblocks = { {4 * 1024, 16} }, |
| 6616 | .block_erase = spi_block_erase_20, |
| 6617 | }, { |
| 6618 | .eraseblocks = { {4 * 1024, 16} }, |
| 6619 | .block_erase = spi_block_erase_d7, |
| 6620 | }, { |
| 6621 | .eraseblocks = { {32 * 1024, 2} }, |
| 6622 | .block_erase = spi_block_erase_d8, |
| 6623 | }, { |
| 6624 | .eraseblocks = { {64 * 1024, 1} }, |
| 6625 | .block_erase = spi_block_erase_60, |
| 6626 | }, { |
| 6627 | .eraseblocks = { {64 * 1024, 1} }, |
| 6628 | .block_erase = spi_block_erase_c7, |
| 6629 | } |
| 6630 | }, |
| 6631 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6632 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 6633 | .write = spi_chip_write_256, |
| 6634 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6635 | .voltage = {2300, 3600}, |
| 6636 | }, |
| 6637 | |
| 6638 | { |
| 6639 | .vendor = "PMC", |
| 6640 | .name = "Pm25LD010(C)", |
| 6641 | .bustype = BUS_SPI, |
| 6642 | .manufacture_id = PMC_ID, |
| 6643 | .model_id = PMC_PM25LD010, |
| 6644 | .total_size = 128, |
| 6645 | .page_size = 256, |
| 6646 | .feature_bits = FEATURE_WRSR_WREN, |
| 6647 | .tested = TEST_UNTESTED, |
| 6648 | .probe = probe_spi_rdid, |
| 6649 | .probe_timing = TIMING_ZERO, |
| 6650 | .block_erasers = |
| 6651 | { |
| 6652 | { |
| 6653 | .eraseblocks = { {4 * 1024, 32} }, |
| 6654 | .block_erase = spi_block_erase_20, |
| 6655 | }, { |
| 6656 | .eraseblocks = { {4 * 1024, 32} }, |
| 6657 | .block_erase = spi_block_erase_d7, |
| 6658 | }, { |
| 6659 | .eraseblocks = { {32 * 1024, 4} }, |
| 6660 | .block_erase = spi_block_erase_d8, |
| 6661 | }, { |
| 6662 | .eraseblocks = { {128 * 1024, 1} }, |
| 6663 | .block_erase = spi_block_erase_60, |
| 6664 | }, { |
| 6665 | .eraseblocks = { {128 * 1024, 1} }, |
| 6666 | .block_erase = spi_block_erase_c7, |
| 6667 | } |
| 6668 | }, |
| 6669 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6670 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 6671 | .write = spi_chip_write_256, |
| 6672 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6673 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD010 */ |
| 6674 | }, |
| 6675 | |
| 6676 | { |
| 6677 | .vendor = "PMC", |
| 6678 | .name = "Pm25LD020(C)", |
| 6679 | .bustype = BUS_SPI, |
| 6680 | .manufacture_id = PMC_ID, |
| 6681 | .model_id = PMC_PM25LD020, |
| 6682 | .total_size = 256, |
| 6683 | .page_size = 256, |
| 6684 | .feature_bits = FEATURE_WRSR_WREN, |
| 6685 | .tested = TEST_UNTESTED, |
| 6686 | .probe = probe_spi_rdid, |
| 6687 | .probe_timing = TIMING_ZERO, |
| 6688 | .block_erasers = |
| 6689 | { |
| 6690 | { |
| 6691 | .eraseblocks = { {4 * 1024, 64} }, |
| 6692 | .block_erase = spi_block_erase_20, |
| 6693 | }, { |
| 6694 | .eraseblocks = { {4 * 1024, 64} }, |
| 6695 | .block_erase = spi_block_erase_d7, |
| 6696 | }, { |
| 6697 | .eraseblocks = { {64 * 1024, 4} }, |
| 6698 | .block_erase = spi_block_erase_d8, |
| 6699 | }, { |
| 6700 | .eraseblocks = { {256 * 1024, 1} }, |
| 6701 | .block_erase = spi_block_erase_60, |
| 6702 | }, { |
| 6703 | .eraseblocks = { {256 * 1024, 1} }, |
| 6704 | .block_erase = spi_block_erase_c7, |
| 6705 | } |
| 6706 | }, |
| 6707 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6708 | .unlock = spi_disable_blockprotect, /* FIXME: C version supports "Safe Guard" */ |
| 6709 | .write = spi_chip_write_256, |
| 6710 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6711 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD020 */ |
| 6712 | }, |
| 6713 | |
| 6714 | { |
| 6715 | .vendor = "PMC", |
| 6716 | .name = "Pm25LD040(C)", |
| 6717 | .bustype = BUS_SPI, |
| 6718 | .manufacture_id = PMC_ID, |
| 6719 | .model_id = PMC_PM25LV040, |
| 6720 | .total_size = 512, |
| 6721 | .page_size = 256, |
| 6722 | .feature_bits = FEATURE_WRSR_WREN, |
| 6723 | .tested = TEST_UNTESTED, |
| 6724 | .probe = probe_spi_rdid, |
| 6725 | .probe_timing = TIMING_ZERO, |
| 6726 | .block_erasers = |
| 6727 | { |
| 6728 | { |
| 6729 | .eraseblocks = { {4 * 1024, 128} }, |
| 6730 | .block_erase = spi_block_erase_20, |
| 6731 | }, { |
| 6732 | .eraseblocks = { {4 * 1024, 128} }, |
| 6733 | .block_erase = spi_block_erase_d7, |
| 6734 | }, { |
| 6735 | .eraseblocks = { {64 * 1024, 8} }, |
| 6736 | .block_erase = spi_block_erase_d8, |
| 6737 | }, { |
| 6738 | .eraseblocks = { {512 * 1024, 1} }, |
| 6739 | .block_erase = spi_block_erase_60, |
| 6740 | }, { |
| 6741 | .eraseblocks = { {512 * 1024, 1} }, |
| 6742 | .block_erase = spi_block_erase_c7, |
| 6743 | } |
| 6744 | }, |
| 6745 | .printlock = spi_prettyprint_status_register_default_bp2, |
| 6746 | .unlock = spi_disable_blockprotect, |
| 6747 | .write = spi_chip_write_256, |
| 6748 | .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ |
| 6749 | .voltage = {2700, 3600}, /* 2.3-3.6V for Pm25LD040 */ |
| 6750 | }, |
| 6751 | |
| 6752 | { |
| 6753 | .vendor = "PMC", |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6754 | .name = "Pm25LV512(A)", |
| 6755 | .bustype = BUS_SPI, |
| 6756 | .manufacture_id = PMC_ID, |
| 6757 | .model_id = PMC_PM25LV512, |
| 6758 | .total_size = 64, |
| 6759 | .page_size = 256, |
| 6760 | .feature_bits = FEATURE_WRSR_WREN, |
| 6761 | .tested = TEST_UNTESTED, |
| 6762 | .probe = probe_spi_res3, |
| 6763 | .probe_timing = TIMING_ZERO, |
| 6764 | .block_erasers = |
| 6765 | { |
| 6766 | { |
| 6767 | .eraseblocks = { {4 * 1024, 16} }, |
| 6768 | .block_erase = spi_block_erase_d7, |
| 6769 | }, { |
| 6770 | .eraseblocks = { {32 * 1024, 2} }, |
| 6771 | .block_erase = spi_block_erase_d8, |
| 6772 | }, { |
| 6773 | .eraseblocks = { {64 * 1024, 1} }, |
| 6774 | .block_erase = spi_block_erase_c7, |
| 6775 | } |
| 6776 | }, |
| 6777 | .printlock = spi_prettyprint_status_register_default_bp1, |
| 6778 | .unlock = spi_disable_blockprotect, |
| 6779 | .write = spi_chip_write_256, |
| 6780 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6781 | .voltage = {2700, 3600}, |
| 6782 | }, |
| 6783 | |
| 6784 | { |
| 6785 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6786 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6787 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6788 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6789 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6790 | .total_size = 128, |
| 6791 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6792 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6793 | .tested = TEST_UNTESTED, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6794 | .probe = probe_spi_res3, |
| 6795 | .probe_timing = TIMING_ZERO, |
| 6796 | .block_erasers = |
| 6797 | { |
| 6798 | { |
| 6799 | .eraseblocks = { {4 * 1024, 32} }, |
| 6800 | .block_erase = spi_block_erase_d7, |
| 6801 | }, { |
| 6802 | .eraseblocks = { {32 * 1024, 4} }, |
| 6803 | .block_erase = spi_block_erase_d8, |
| 6804 | }, { |
| 6805 | .eraseblocks = { {128 * 1024, 1} }, |
| 6806 | .block_erase = spi_block_erase_c7, |
| 6807 | } |
| 6808 | }, |
| 6809 | .printlock = spi_prettyprint_status_register_default_bp1, |
| 6810 | .unlock = spi_disable_blockprotect, |
| 6811 | .write = spi_chip_write_256, |
| 6812 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 6813 | .voltage = {2700, 3600}, |
| 6814 | }, |
| 6815 | |
| 6816 | { |
| 6817 | .vendor = "PMC", |
| 6818 | .name = "Pm25LV010A", |
| 6819 | .bustype = BUS_SPI, |
| 6820 | .manufacture_id = PMC_ID, |
| 6821 | .model_id = PMC_PM25LV010, |
| 6822 | .total_size = 128, |
| 6823 | .page_size = 256, |
| 6824 | .feature_bits = FEATURE_WRSR_WREN, |
| 6825 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6826 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6827 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6828 | .block_erasers = |
| 6829 | { |
| 6830 | { |
| 6831 | .eraseblocks = { {4 * 1024, 32} }, |
| 6832 | .block_erase = spi_block_erase_d7, |
| 6833 | }, { |
| 6834 | .eraseblocks = { {32 * 1024, 4} }, |
| 6835 | .block_erase = spi_block_erase_d8, |
| 6836 | }, { |
| 6837 | .eraseblocks = { {128 * 1024, 1} }, |
| 6838 | .block_erase = spi_block_erase_c7, |
| 6839 | } |
| 6840 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6841 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6842 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6843 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6844 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6845 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6846 | }, |
| 6847 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6848 | { |
| 6849 | .vendor = "PMC", |
| 6850 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6851 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6852 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6853 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6854 | .total_size = 256, |
| 6855 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6856 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6857 | .tested = TEST_UNTESTED, |
| 6858 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6859 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6860 | .block_erasers = |
| 6861 | { |
| 6862 | { |
| 6863 | .eraseblocks = { {4 * 1024, 64} }, |
| 6864 | .block_erase = spi_block_erase_d7, |
| 6865 | }, { |
| 6866 | .eraseblocks = { {64 * 1024, 4} }, |
| 6867 | .block_erase = spi_block_erase_d8, |
| 6868 | }, { |
| 6869 | .eraseblocks = { {256 * 1024, 1} }, |
| 6870 | .block_erase = spi_block_erase_c7, |
| 6871 | } |
| 6872 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6873 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6874 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6875 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6876 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6877 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6878 | }, |
| 6879 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6880 | { |
| 6881 | .vendor = "PMC", |
| 6882 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6883 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6884 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6885 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6886 | .total_size = 512, |
| 6887 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6888 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 6889 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6890 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6891 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6892 | .block_erasers = |
| 6893 | { |
| 6894 | { |
| 6895 | .eraseblocks = { {4 * 1024, 128} }, |
| 6896 | .block_erase = spi_block_erase_d7, |
| 6897 | }, { |
| 6898 | .eraseblocks = { {64 * 1024, 8} }, |
| 6899 | .block_erase = spi_block_erase_d8, |
| 6900 | }, { |
| 6901 | .eraseblocks = { {512 * 1024, 1} }, |
| 6902 | .block_erase = spi_block_erase_c7, |
| 6903 | } |
| 6904 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6905 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6906 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6907 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6908 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6909 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6910 | }, |
| 6911 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6912 | { |
| 6913 | .vendor = "PMC", |
| 6914 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6915 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6916 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6917 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6918 | .total_size = 1024, |
| 6919 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6920 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6921 | .tested = TEST_UNTESTED, |
| 6922 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6923 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6924 | .block_erasers = |
| 6925 | { |
| 6926 | { |
| 6927 | .eraseblocks = { {4 * 1024, 256} }, |
| 6928 | .block_erase = spi_block_erase_d7, |
| 6929 | }, { |
| 6930 | .eraseblocks = { {4 * 1024, 256} }, |
| 6931 | .block_erase = spi_block_erase_20, |
| 6932 | }, { |
| 6933 | .eraseblocks = { {64 * 1024, 16} }, |
| 6934 | .block_erase = spi_block_erase_d8, |
| 6935 | }, { |
| 6936 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6937 | .block_erase = spi_block_erase_60, |
| 6938 | }, { |
| 6939 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6940 | .block_erase = spi_block_erase_c7, |
| 6941 | } |
| 6942 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6943 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6944 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6945 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6946 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6947 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6948 | }, |
| 6949 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6950 | { |
| 6951 | .vendor = "PMC", |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6952 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6953 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6954 | .manufacture_id = PMC_ID, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6955 | .model_id = PMC_PM25LV016B, |
| 6956 | .total_size = 2048, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6957 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 6958 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6959 | .tested = TEST_UNTESTED, |
| 6960 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6961 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6962 | .block_erasers = |
| 6963 | { |
| 6964 | { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6965 | .eraseblocks = { {4 * 1024, 512} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6966 | .block_erase = spi_block_erase_d7, |
| 6967 | }, { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6968 | .eraseblocks = { {4 * 1024, 512} }, |
| 6969 | .block_erase = spi_block_erase_20, |
| 6970 | }, { |
| 6971 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6972 | .block_erase = spi_block_erase_d8, |
| 6973 | }, { |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6974 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6975 | .block_erase = spi_block_erase_60, |
| 6976 | }, { |
| 6977 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 6978 | .block_erase = spi_block_erase_c7, |
| 6979 | } |
| 6980 | }, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6981 | .printlock = spi_prettyprint_status_register_default_bp2, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6982 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6983 | .write = spi_chip_write_256, |
Stefan Tauner | 3f5e35d | 2013-04-19 01:58:33 +0000 | [diff] [blame] | 6984 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6985 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6986 | }, |
| 6987 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6988 | { |
| 6989 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6990 | .name = "Pm29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6991 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 6992 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6993 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 6994 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6995 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6996 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 6997 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6998 | .probe = probe_jedec, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 6999 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7000 | .block_erasers = |
| 7001 | { |
| 7002 | { |
| 7003 | .eraseblocks = { |
| 7004 | {128 * 1024, 1}, |
| 7005 | {96 * 1024, 1}, |
| 7006 | {8 * 1024, 2}, |
| 7007 | {16 * 1024, 1}, |
| 7008 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7009 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7010 | }, { |
| 7011 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7012 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7013 | }, |
| 7014 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7015 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7016 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7017 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7018 | }, |
| 7019 | |
| 7020 | { |
| 7021 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7022 | .name = "Pm29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7023 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7024 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7025 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7026 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7027 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7028 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7029 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7030 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7031 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7032 | .block_erasers = |
| 7033 | { |
| 7034 | { |
| 7035 | .eraseblocks = { |
| 7036 | {16 * 1024, 1}, |
| 7037 | {8 * 1024, 2}, |
| 7038 | {96 * 1024, 1}, |
| 7039 | {128 * 1024, 1}, |
| 7040 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7041 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7042 | }, { |
| 7043 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7044 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7045 | }, |
| 7046 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7047 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7048 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7049 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 7050 | }, |
| 7051 | |
| 7052 | { |
| 7053 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7054 | .name = "Pm39LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7055 | .bustype = BUS_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7056 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7057 | .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] | 7058 | .total_size = 128, |
| 7059 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7060 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 7061 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7062 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7063 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7064 | .block_erasers = |
| 7065 | { |
| 7066 | { |
| 7067 | .eraseblocks = { {4 * 1024, 32} }, |
| 7068 | .block_erase = erase_sector_jedec, |
| 7069 | }, { |
| 7070 | .eraseblocks = { {64 * 1024, 2} }, |
| 7071 | .block_erase = erase_block_jedec, |
| 7072 | }, { |
| 7073 | .eraseblocks = { {128 * 1024, 1} }, |
| 7074 | .block_erase = erase_chip_block_jedec, |
| 7075 | } |
| 7076 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7077 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7078 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7079 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 7080 | }, |
| 7081 | |
| 7082 | { |
| 7083 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7084 | .name = "Pm39LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7085 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7086 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7087 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7088 | .total_size = 256, |
| 7089 | .page_size = 4096, |
| 7090 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7091 | .tested = TEST_UNTESTED, |
| 7092 | .probe = probe_jedec, |
| 7093 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7094 | .block_erasers = |
| 7095 | { |
| 7096 | { |
| 7097 | .eraseblocks = { {4 * 1024, 64} }, |
| 7098 | .block_erase = erase_sector_jedec, |
| 7099 | }, { |
| 7100 | .eraseblocks = { {64 * 1024, 4} }, |
| 7101 | .block_erase = erase_block_jedec, |
| 7102 | }, { |
| 7103 | .eraseblocks = { {256 * 1024, 1} }, |
| 7104 | .block_erase = erase_chip_block_jedec, |
| 7105 | } |
| 7106 | }, |
| 7107 | .write = write_jedec_1, |
| 7108 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7109 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7110 | }, |
| 7111 | |
| 7112 | { |
| 7113 | .vendor = "PMC", |
| 7114 | .name = "Pm39LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7115 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7116 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7117 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7118 | .total_size = 512, |
| 7119 | .page_size = 4096, |
| 7120 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 7121 | .tested = TEST_OK_PR, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7122 | .probe = probe_jedec, |
| 7123 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7124 | .block_erasers = |
| 7125 | { |
| 7126 | { |
| 7127 | .eraseblocks = { {4 * 1024, 128} }, |
| 7128 | .block_erase = erase_sector_jedec, |
| 7129 | }, { |
| 7130 | .eraseblocks = { {64 * 1024, 8} }, |
| 7131 | .block_erase = erase_block_jedec, |
| 7132 | }, { |
| 7133 | .eraseblocks = { {512 * 1024, 1} }, |
| 7134 | .block_erase = erase_chip_block_jedec, |
| 7135 | } |
| 7136 | }, |
| 7137 | .write = write_jedec_1, |
| 7138 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7139 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7140 | }, |
Kyösti Mälkki | edab1d2 | 2012-05-20 23:32:33 +0000 | [diff] [blame] | 7141 | |
| 7142 | { |
| 7143 | .vendor = "PMC", |
| 7144 | .name = "Pm39LV512", |
| 7145 | .bustype = BUS_PARALLEL, |
| 7146 | .manufacture_id = PMC_ID_NOPREFIX, |
| 7147 | .model_id = PMC_PM39LV512, |
| 7148 | .total_size = 64, |
| 7149 | .page_size = 4096, |
| 7150 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7151 | .tested = TEST_OK_PREW, |
| 7152 | .probe = probe_jedec, |
| 7153 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7154 | .block_erasers = |
| 7155 | { |
| 7156 | { |
| 7157 | .eraseblocks = { {4 * 1024, 16} }, |
| 7158 | .block_erase = erase_sector_jedec, |
| 7159 | }, { |
| 7160 | .eraseblocks = { {64 * 1024, 1} }, |
| 7161 | .block_erase = erase_block_jedec, |
| 7162 | }, { |
| 7163 | .eraseblocks = { {64 * 1024, 1} }, |
| 7164 | .block_erase = erase_chip_block_jedec, |
| 7165 | } |
| 7166 | }, |
| 7167 | .write = write_jedec_1, |
| 7168 | .read = read_memmapped, |
| 7169 | .voltage = {2700, 3600}, |
| 7170 | }, |
| 7171 | |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 7172 | { |
| 7173 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7174 | .name = "Pm49FL002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7175 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7176 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7177 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7178 | .total_size = 256, |
| 7179 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7180 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 7181 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7182 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7183 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7184 | .block_erasers = |
| 7185 | { |
| 7186 | { |
| 7187 | .eraseblocks = { {4 * 1024, 64} }, |
| 7188 | .block_erase = erase_sector_jedec, |
| 7189 | }, { |
| 7190 | .eraseblocks = { {16 * 1024, 16} }, |
| 7191 | .block_erase = erase_block_jedec, |
| 7192 | }, { |
| 7193 | .eraseblocks = { {256 * 1024, 1} }, |
| 7194 | .block_erase = erase_chip_block_jedec, |
| 7195 | } |
| 7196 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7197 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 7198 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7199 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7200 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7201 | }, |
| 7202 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7203 | { |
| 7204 | .vendor = "PMC", |
| 7205 | .name = "Pm49FL004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7206 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7207 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7208 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7209 | .total_size = 512, |
| 7210 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7211 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 7212 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7213 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7214 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7215 | .block_erasers = |
| 7216 | { |
| 7217 | { |
| 7218 | .eraseblocks = { {4 * 1024, 128} }, |
| 7219 | .block_erase = erase_sector_jedec, |
| 7220 | }, { |
| 7221 | .eraseblocks = { {64 * 1024, 8} }, |
| 7222 | .block_erase = erase_block_jedec, |
| 7223 | }, { |
| 7224 | .eraseblocks = { {512 * 1024, 1} }, |
| 7225 | .block_erase = erase_chip_block_jedec, |
| 7226 | } |
| 7227 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7228 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 7229 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7230 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7231 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7232 | }, |
| 7233 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7234 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7235 | .vendor = "Sanyo", |
| 7236 | .name = "LF25FW203A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7237 | .bustype = BUS_SPI, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7238 | .manufacture_id = SANYO_ID, |
| 7239 | .model_id = SANYO_LE25FW203A, |
| 7240 | .total_size = 2048, |
| 7241 | .page_size = 256, |
| 7242 | .tested = TEST_UNTESTED, |
| 7243 | .probe = probe_spi_rdid, |
| 7244 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7245 | .block_erasers = |
| 7246 | { |
| 7247 | { |
| 7248 | .eraseblocks = { {64 * 1024, 32} }, |
| 7249 | .block_erase = spi_block_erase_d8, |
| 7250 | }, { |
| 7251 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7252 | .block_erase = spi_block_erase_c7, |
| 7253 | } |
| 7254 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7255 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7256 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 7257 | .write = spi_chip_write_256, |
| 7258 | .read = spi_chip_read, |
| 7259 | }, |
| 7260 | |
| 7261 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7262 | .vendor = "Sharp", |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 7263 | .name = "LH28F008BJT-BTLZ1", |
| 7264 | .bustype = BUS_PARALLEL, |
| 7265 | .manufacture_id = SHARP_ID, |
Stefan Tauner | 352e50b | 2013-02-22 15:58:45 +0000 | [diff] [blame] | 7266 | .model_id = SHARP_LH28F008BJ__PB, |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 7267 | .total_size = 1024, |
| 7268 | .page_size = 64 * 1024, |
| 7269 | .tested = TEST_OK_PREW, |
| 7270 | .probe = probe_82802ab, |
| 7271 | .probe_timing = TIMING_ZERO, |
| 7272 | .block_erasers = |
| 7273 | { |
| 7274 | { |
| 7275 | .eraseblocks = { |
| 7276 | {8 * 1024, 8}, |
| 7277 | {64 * 1024, 15} |
| 7278 | }, |
| 7279 | .block_erase = erase_block_82802ab, |
| 7280 | }, { |
| 7281 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7282 | .block_erase = erase_sector_49lfxxxc, |
| 7283 | } |
| 7284 | }, |
| 7285 | .unlock = unlock_lh28f008bjt, |
| 7286 | .write = write_82802ab, |
| 7287 | .read = read_memmapped, |
| 7288 | .voltage = {2700, 3600}, |
| 7289 | }, |
| 7290 | |
| 7291 | { |
| 7292 | .vendor = "Sharp", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7293 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7294 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7295 | .manufacture_id = SHARP_ID, |
| 7296 | .model_id = SHARP_LHF00L04, |
| 7297 | .total_size = 1024, |
| 7298 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7299 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7300 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7301 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7302 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7303 | .block_erasers = |
| 7304 | { |
| 7305 | { |
| 7306 | .eraseblocks = { |
| 7307 | {64 * 1024, 15}, |
| 7308 | {8 * 1024, 8} |
| 7309 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7310 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7311 | }, { |
| 7312 | .eraseblocks = { |
| 7313 | {1024 * 1024, 1} |
| 7314 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7315 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 7316 | }, |
| 7317 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7318 | .unlock = unlock_82802ab, |
| 7319 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7320 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7321 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7322 | }, |
| 7323 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7324 | { |
| 7325 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7326 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7327 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7328 | .manufacture_id = SPANSION_ID, |
| 7329 | .model_id = SPANSION_S25FL004A, |
| 7330 | .total_size = 512, |
| 7331 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7332 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7333 | .tested = TEST_UNTESTED, |
| 7334 | .probe = probe_spi_rdid, |
| 7335 | .probe_timing = TIMING_ZERO, |
| 7336 | .block_erasers = |
| 7337 | { |
| 7338 | { |
| 7339 | .eraseblocks = { {64 * 1024, 8} }, |
| 7340 | .block_erase = spi_block_erase_d8, |
| 7341 | }, { |
| 7342 | .eraseblocks = { {512 * 1024, 1} }, |
| 7343 | .block_erase = spi_block_erase_c7, |
| 7344 | } |
| 7345 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7346 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7347 | .unlock = spi_disable_blockprotect, |
| 7348 | .write = spi_chip_write_256, |
| 7349 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7350 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7351 | }, |
| 7352 | |
| 7353 | { |
| 7354 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7355 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7356 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7357 | .manufacture_id = SPANSION_ID, |
| 7358 | .model_id = SPANSION_S25FL008A, |
| 7359 | .total_size = 1024, |
| 7360 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7361 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7362 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7363 | .probe = probe_spi_rdid, |
| 7364 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7365 | .block_erasers = |
| 7366 | { |
| 7367 | { |
| 7368 | .eraseblocks = { {64 * 1024, 16} }, |
| 7369 | .block_erase = spi_block_erase_d8, |
| 7370 | }, { |
| 7371 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7372 | .block_erase = spi_block_erase_c7, |
| 7373 | } |
| 7374 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7375 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7376 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7377 | .write = spi_chip_write_256, |
| 7378 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7379 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 7380 | }, |
| 7381 | |
| 7382 | { |
| 7383 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7384 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7385 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7386 | .manufacture_id = SPANSION_ID, |
| 7387 | .model_id = SPANSION_S25FL016A, |
| 7388 | .total_size = 2048, |
| 7389 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7390 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7391 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7392 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7393 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 7394 | .block_erasers = |
| 7395 | { |
| 7396 | { |
| 7397 | .eraseblocks = { {64 * 1024, 32} }, |
| 7398 | .block_erase = spi_block_erase_d8, |
| 7399 | }, { |
| 7400 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7401 | .block_erase = spi_block_erase_c7, |
| 7402 | } |
| 7403 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7404 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7405 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7406 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7407 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7408 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7409 | }, |
| 7410 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7411 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7412 | .vendor = "Spansion", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7413 | .name = "S25FL032A/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7414 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7415 | .manufacture_id = SPANSION_ID, |
| 7416 | .model_id = SPANSION_S25FL032A, |
| 7417 | .total_size = 4096, |
| 7418 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7419 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7420 | .tested = TEST_OK_PREW, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7421 | .probe = probe_spi_rdid, |
| 7422 | .probe_timing = TIMING_ZERO, |
| 7423 | .block_erasers = |
| 7424 | { |
| 7425 | { |
| 7426 | .eraseblocks = { {64 * 1024, 64} }, |
| 7427 | .block_erase = spi_block_erase_d8, |
| 7428 | }, { |
| 7429 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7430 | .block_erase = spi_block_erase_c7, |
| 7431 | } |
| 7432 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7433 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7434 | .unlock = spi_disable_blockprotect, |
| 7435 | .write = spi_chip_write_256, |
| 7436 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7437 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7438 | }, |
| 7439 | |
| 7440 | { |
| 7441 | .vendor = "Spansion", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7442 | .name = "S25FL064A/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7443 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7444 | .manufacture_id = SPANSION_ID, |
| 7445 | .model_id = SPANSION_S25FL064A, |
| 7446 | .total_size = 8192, |
| 7447 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7448 | .feature_bits = FEATURE_WRSR_WREN, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7449 | .tested = TEST_OK_PREW, |
| 7450 | .probe = probe_spi_rdid, |
| 7451 | .probe_timing = TIMING_ZERO, |
| 7452 | .block_erasers = |
| 7453 | { |
| 7454 | { |
| 7455 | .eraseblocks = { {64 * 1024, 128} }, |
| 7456 | .block_erase = spi_block_erase_d8, |
| 7457 | }, { |
| 7458 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7459 | .block_erase = spi_block_erase_c7, |
| 7460 | } |
| 7461 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7462 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7463 | .unlock = spi_disable_blockprotect, |
| 7464 | .write = spi_chip_write_256, |
| 7465 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7466 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 7467 | }, |
| 7468 | |
| 7469 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7470 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7471 | .name = "SST25LF040A", |
| 7472 | .bustype = BUS_SPI, |
| 7473 | .manufacture_id = SST_ID, |
| 7474 | .model_id = SST_SST25VF040_REMS, |
| 7475 | .total_size = 512, |
| 7476 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7477 | .feature_bits = FEATURE_WRSR_EWSR, |
Uwe Hermann | 4335ec8 | 2011-09-07 20:20:25 +0000 | [diff] [blame] | 7478 | .tested = TEST_OK_PREW, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7479 | .probe = probe_spi_res2, |
| 7480 | .probe_timing = TIMING_ZERO, |
| 7481 | .block_erasers = |
| 7482 | { |
| 7483 | { |
| 7484 | .eraseblocks = { {4 * 1024, 128} }, |
| 7485 | .block_erase = spi_block_erase_20, |
| 7486 | }, { |
| 7487 | .eraseblocks = { {32 * 1024, 16} }, |
| 7488 | .block_erase = spi_block_erase_52, |
| 7489 | }, { |
| 7490 | .eraseblocks = { {512 * 1024, 1} }, |
| 7491 | .block_erase = spi_block_erase_60, |
| 7492 | }, |
| 7493 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7494 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7495 | .unlock = spi_disable_blockprotect, |
| 7496 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 7497 | .read = spi_chip_read, |
| 7498 | .voltage = {3000, 3600}, |
| 7499 | }, |
| 7500 | |
| 7501 | { |
| 7502 | .vendor = "SST", |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7503 | .name = "SST25LF080(A)", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7504 | .bustype = BUS_SPI, |
| 7505 | .manufacture_id = SST_ID, |
| 7506 | .model_id = SST_SST25VF080_REMS, |
| 7507 | .total_size = 1024, |
| 7508 | .page_size = 256, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7509 | .feature_bits = FEATURE_WRSR_EITHER, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7510 | .tested = TEST_UNTESTED, |
| 7511 | .probe = probe_spi_res2, |
| 7512 | .probe_timing = TIMING_ZERO, |
| 7513 | .block_erasers = |
| 7514 | { |
| 7515 | { |
| 7516 | .eraseblocks = { {4 * 1024, 256} }, |
| 7517 | .block_erase = spi_block_erase_20, |
| 7518 | }, { |
| 7519 | .eraseblocks = { {32 * 1024, 32} }, |
| 7520 | .block_erase = spi_block_erase_52, |
| 7521 | }, { |
| 7522 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7523 | .block_erase = spi_block_erase_60, |
| 7524 | }, |
| 7525 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7526 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 7527 | .unlock = spi_disable_blockprotect, |
| 7528 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 7529 | .read = spi_chip_read, |
| 7530 | .voltage = {3000, 3600}, |
| 7531 | }, |
| 7532 | |
| 7533 | { |
| 7534 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7535 | .name = "SST25VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7536 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7537 | .manufacture_id = SST_ID, |
| 7538 | .model_id = SST_SST25VF010_REMS, |
| 7539 | .total_size = 128, |
| 7540 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7541 | .feature_bits = FEATURE_WRSR_EWSR, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7542 | .tested = TEST_OK_PREW, |
| 7543 | .probe = probe_spi_rems, |
| 7544 | .probe_timing = TIMING_ZERO, |
| 7545 | .block_erasers = |
| 7546 | { |
| 7547 | { |
| 7548 | .eraseblocks = { {4 * 1024, 32} }, |
| 7549 | .block_erase = spi_block_erase_20, |
| 7550 | }, { |
| 7551 | .eraseblocks = { {32 * 1024, 4} }, |
| 7552 | .block_erase = spi_block_erase_52, |
| 7553 | }, { |
| 7554 | .eraseblocks = { {128 * 1024, 1} }, |
| 7555 | .block_erase = spi_block_erase_60, |
| 7556 | }, |
| 7557 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7558 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7559 | .unlock = spi_disable_blockprotect, |
| 7560 | .write = spi_chip_write_1, |
| 7561 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7562 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7563 | }, |
| 7564 | |
| 7565 | { |
| 7566 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7567 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7568 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7569 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7570 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7571 | .total_size = 2048, |
| 7572 | .page_size = 256, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 7573 | .feature_bits = FEATURE_WRSR_EITHER, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 7574 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7575 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7576 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7577 | .block_erasers = |
| 7578 | { |
| 7579 | { |
| 7580 | .eraseblocks = { {4 * 1024, 512} }, |
| 7581 | .block_erase = spi_block_erase_20, |
| 7582 | }, { |
| 7583 | .eraseblocks = { {32 * 1024, 64} }, |
| 7584 | .block_erase = spi_block_erase_52, |
| 7585 | }, { |
| 7586 | .eraseblocks = { {64 * 1024, 32} }, |
| 7587 | .block_erase = spi_block_erase_d8, |
| 7588 | }, { |
| 7589 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7590 | .block_erase = spi_block_erase_60, |
| 7591 | }, { |
| 7592 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7593 | .block_erase = spi_block_erase_c7, |
| 7594 | }, |
| 7595 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7596 | .printlock = spi_prettyprint_status_register_sst25vf016, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7597 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 7598 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7599 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7600 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7601 | }, |
| 7602 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7603 | { |
| 7604 | .vendor = "SST", |
| 7605 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7606 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7607 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7608 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7609 | .total_size = 4096, |
| 7610 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7611 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 7612 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7613 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7614 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7615 | .block_erasers = |
| 7616 | { |
| 7617 | { |
| 7618 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7619 | .block_erase = spi_block_erase_20, |
| 7620 | }, { |
| 7621 | .eraseblocks = { {32 * 1024, 128} }, |
| 7622 | .block_erase = spi_block_erase_52, |
| 7623 | }, { |
| 7624 | .eraseblocks = { {64 * 1024, 64} }, |
| 7625 | .block_erase = spi_block_erase_d8, |
| 7626 | }, { |
| 7627 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7628 | .block_erase = spi_block_erase_60, |
| 7629 | }, { |
| 7630 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7631 | .block_erase = spi_block_erase_c7, |
| 7632 | }, |
| 7633 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7634 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7635 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 7636 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7637 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7638 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7639 | }, |
| 7640 | |
| 7641 | { |
| 7642 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 7643 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7644 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 7645 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7646 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 7647 | .total_size = 8192, |
| 7648 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7649 | .feature_bits = FEATURE_WRSR_EWSR, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 7650 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 7651 | .probe = probe_spi_rdid, |
| 7652 | .probe_timing = TIMING_ZERO, |
| 7653 | .block_erasers = |
| 7654 | { |
| 7655 | { |
| 7656 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7657 | .block_erase = spi_block_erase_20, |
| 7658 | }, { |
| 7659 | .eraseblocks = { {32 * 1024, 256} }, |
| 7660 | .block_erase = spi_block_erase_52, |
| 7661 | }, { |
| 7662 | .eraseblocks = { {64 * 1024, 128} }, |
| 7663 | .block_erase = spi_block_erase_d8, |
| 7664 | }, { |
| 7665 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7666 | .block_erase = spi_block_erase_60, |
| 7667 | }, { |
| 7668 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7669 | .block_erase = spi_block_erase_c7, |
| 7670 | }, |
| 7671 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7672 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 7673 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 7674 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 7675 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7676 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 7677 | }, |
| 7678 | |
| 7679 | { |
| 7680 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7681 | .name = "SST25VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7682 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7683 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7684 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7685 | .total_size = 512, |
| 7686 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7687 | .feature_bits = FEATURE_WRSR_EWSR, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7688 | .tested = TEST_OK_PR, |
| 7689 | .probe = probe_spi_rems, |
| 7690 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7691 | .block_erasers = |
| 7692 | { |
| 7693 | { |
| 7694 | .eraseblocks = { {4 * 1024, 128} }, |
| 7695 | .block_erase = spi_block_erase_20, |
| 7696 | }, { |
| 7697 | .eraseblocks = { {32 * 1024, 16} }, |
| 7698 | .block_erase = spi_block_erase_52, |
| 7699 | }, { |
| 7700 | .eraseblocks = { {512 * 1024, 1} }, |
| 7701 | .block_erase = spi_block_erase_60, |
| 7702 | }, |
| 7703 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7704 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7705 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 7706 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7707 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7708 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7709 | }, |
| 7710 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7711 | { |
| 7712 | .vendor = "SST", |
| 7713 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7714 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7715 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7716 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7717 | .total_size = 512, |
| 7718 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7719 | .feature_bits = FEATURE_WRSR_EWSR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7720 | .tested = TEST_UNTESTED, |
| 7721 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7722 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7723 | .block_erasers = |
| 7724 | { |
| 7725 | { |
| 7726 | .eraseblocks = { {4 * 1024, 128} }, |
| 7727 | .block_erase = spi_block_erase_20, |
| 7728 | }, { |
| 7729 | .eraseblocks = { {32 * 1024, 16} }, |
| 7730 | .block_erase = spi_block_erase_52, |
| 7731 | }, { |
| 7732 | .eraseblocks = { {64 * 1024, 8} }, |
| 7733 | .block_erase = spi_block_erase_d8, |
| 7734 | }, { |
| 7735 | .eraseblocks = { {512 * 1024, 1} }, |
| 7736 | .block_erase = spi_block_erase_60, |
| 7737 | }, { |
| 7738 | .eraseblocks = { {512 * 1024, 1} }, |
| 7739 | .block_erase = spi_block_erase_c7, |
| 7740 | }, |
| 7741 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7742 | .printlock = spi_prettyprint_status_register_sst25vf040b, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7743 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 7744 | .write = spi_aai_write, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 7745 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7746 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 7747 | }, |
| 7748 | |
| 7749 | { |
| 7750 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 7751 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7752 | .bustype = BUS_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 7753 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7754 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 7755 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7756 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7757 | .feature_bits = FEATURE_WRSR_EWSR, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 7758 | .tested = TEST_OK_PR, |
| 7759 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7760 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7761 | .block_erasers = |
| 7762 | { |
| 7763 | { |
| 7764 | .eraseblocks = { {4 * 1024, 128} }, |
| 7765 | .block_erase = spi_block_erase_20, |
| 7766 | }, { |
| 7767 | .eraseblocks = { {32 * 1024, 16} }, |
| 7768 | .block_erase = spi_block_erase_52, |
| 7769 | }, { |
| 7770 | .eraseblocks = { {64 * 1024, 8} }, |
| 7771 | .block_erase = spi_block_erase_d8, |
| 7772 | }, { |
| 7773 | .eraseblocks = { {512 * 1024, 1} }, |
| 7774 | .block_erase = spi_block_erase_60, |
| 7775 | }, { |
| 7776 | .eraseblocks = { {512 * 1024, 1} }, |
| 7777 | .block_erase = spi_block_erase_c7, |
| 7778 | }, |
| 7779 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7780 | .printlock = spi_prettyprint_status_register_sst25vf040b, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7781 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 7782 | .write = spi_aai_write, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 7783 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7784 | .voltage = {2700, 3600}, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 7785 | }, |
| 7786 | |
| 7787 | { |
| 7788 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7789 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7790 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7791 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7792 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7793 | .total_size = 1024, |
| 7794 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 7795 | .feature_bits = FEATURE_WRSR_EWSR, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 7796 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7797 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7798 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 7799 | .block_erasers = |
| 7800 | { |
| 7801 | { |
| 7802 | .eraseblocks = { {4 * 1024, 256} }, |
| 7803 | .block_erase = spi_block_erase_20, |
| 7804 | }, { |
| 7805 | .eraseblocks = { {32 * 1024, 32} }, |
| 7806 | .block_erase = spi_block_erase_52, |
| 7807 | }, { |
| 7808 | .eraseblocks = { {64 * 1024, 16} }, |
| 7809 | .block_erase = spi_block_erase_d8, |
| 7810 | }, { |
| 7811 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7812 | .block_erase = spi_block_erase_60, |
| 7813 | }, { |
| 7814 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7815 | .block_erase = spi_block_erase_c7, |
| 7816 | }, |
| 7817 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 7818 | .printlock = spi_prettyprint_status_register_sst25, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7819 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 7820 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7821 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7822 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7823 | }, |
| 7824 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7825 | { |
| 7826 | .vendor = "SST", |
Stefan Tauner | 9e349e4 | 2012-10-01 22:45:08 +0000 | [diff] [blame] | 7827 | .name = "SST25WF512", |
| 7828 | .bustype = BUS_SPI, |
| 7829 | .manufacture_id = SST_ID, |
| 7830 | .model_id = SST_SST25WF512, |
| 7831 | .total_size = 64, |
| 7832 | .page_size = 256, |
| 7833 | .feature_bits = FEATURE_WRSR_EITHER, |
| 7834 | .tested = TEST_UNTESTED, |
| 7835 | .probe = probe_spi_rdid, |
| 7836 | .probe_timing = TIMING_ZERO, |
| 7837 | .block_erasers = |
| 7838 | { |
| 7839 | { |
| 7840 | .eraseblocks = { {4 * 1024, 16} }, |
| 7841 | .block_erase = spi_block_erase_20, |
| 7842 | }, { |
| 7843 | .eraseblocks = { {32 * 1024, 2} }, |
| 7844 | .block_erase = spi_block_erase_52, |
| 7845 | }, { |
| 7846 | .eraseblocks = { {1024 * 64, 1} }, |
| 7847 | .block_erase = spi_block_erase_60, |
| 7848 | }, { |
| 7849 | .eraseblocks = { {1024 * 64, 1} }, |
| 7850 | .block_erase = spi_block_erase_c7, |
| 7851 | }, |
| 7852 | }, |
| 7853 | .unlock = spi_disable_blockprotect, |
| 7854 | .write = spi_aai_write, |
| 7855 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7856 | .voltage = {1650, 1950}, |
| 7857 | }, |
| 7858 | |
| 7859 | { |
| 7860 | .vendor = "SST", |
| 7861 | .name = "SST25WF010", |
| 7862 | .bustype = BUS_SPI, |
| 7863 | .manufacture_id = SST_ID, |
| 7864 | .model_id = SST_SST25WF010, |
| 7865 | .total_size = 128, |
| 7866 | .page_size = 256, |
| 7867 | .feature_bits = FEATURE_WRSR_EITHER, |
| 7868 | .tested = TEST_UNTESTED, |
| 7869 | .probe = probe_spi_rdid, |
| 7870 | .probe_timing = TIMING_ZERO, |
| 7871 | .block_erasers = |
| 7872 | { |
| 7873 | { |
| 7874 | .eraseblocks = { {4 * 1024, 32} }, |
| 7875 | .block_erase = spi_block_erase_20, |
| 7876 | }, { |
| 7877 | .eraseblocks = { {32 * 1024, 4} }, |
| 7878 | .block_erase = spi_block_erase_52, |
| 7879 | }, { |
| 7880 | .eraseblocks = { {1024 * 128, 1} }, |
| 7881 | .block_erase = spi_block_erase_60, |
| 7882 | }, { |
| 7883 | .eraseblocks = { {1024 * 128, 1} }, |
| 7884 | .block_erase = spi_block_erase_c7, |
| 7885 | }, |
| 7886 | }, |
| 7887 | .unlock = spi_disable_blockprotect, |
| 7888 | .write = spi_aai_write, |
| 7889 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7890 | .voltage = {1650, 1950}, |
| 7891 | }, |
| 7892 | |
| 7893 | { |
| 7894 | .vendor = "SST", |
| 7895 | .name = "SST25WF020", |
| 7896 | .bustype = BUS_SPI, |
| 7897 | .manufacture_id = SST_ID, |
| 7898 | .model_id = SST_SST25WF020, |
| 7899 | .total_size = 256, |
| 7900 | .page_size = 256, |
| 7901 | .feature_bits = FEATURE_WRSR_EITHER, |
| 7902 | .tested = TEST_UNTESTED, |
| 7903 | .probe = probe_spi_rdid, |
| 7904 | .probe_timing = TIMING_ZERO, |
| 7905 | .block_erasers = |
| 7906 | { |
| 7907 | { |
| 7908 | .eraseblocks = { {4 * 1024, 64} }, |
| 7909 | .block_erase = spi_block_erase_20, |
| 7910 | }, { |
| 7911 | .eraseblocks = { {32 * 1024, 8} }, |
| 7912 | .block_erase = spi_block_erase_52, |
| 7913 | }, { |
| 7914 | .eraseblocks = { {64 * 1024, 4} }, |
| 7915 | .block_erase = spi_block_erase_d8, |
| 7916 | }, { |
| 7917 | .eraseblocks = { {1024 * 256, 1} }, |
| 7918 | .block_erase = spi_block_erase_60, |
| 7919 | }, { |
| 7920 | .eraseblocks = { {1024 * 256, 1} }, |
| 7921 | .block_erase = spi_block_erase_c7, |
| 7922 | }, |
| 7923 | }, |
| 7924 | .unlock = spi_disable_blockprotect, |
| 7925 | .write = spi_aai_write, |
| 7926 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7927 | .voltage = {1650, 1950}, |
| 7928 | }, |
| 7929 | |
| 7930 | { |
| 7931 | .vendor = "SST", |
| 7932 | .name = "SST25WF040", |
| 7933 | .bustype = BUS_SPI, |
| 7934 | .manufacture_id = SST_ID, |
| 7935 | .model_id = SST_SST25WF040, |
| 7936 | .total_size = 512, |
| 7937 | .page_size = 256, |
| 7938 | .feature_bits = FEATURE_WRSR_EITHER, |
| 7939 | .tested = TEST_UNTESTED, |
| 7940 | .probe = probe_spi_rdid, |
| 7941 | .probe_timing = TIMING_ZERO, |
| 7942 | .block_erasers = |
| 7943 | { |
| 7944 | { |
| 7945 | .eraseblocks = { {4 * 1024, 128} }, |
| 7946 | .block_erase = spi_block_erase_20, |
| 7947 | }, { |
| 7948 | .eraseblocks = { {32 * 1024, 16} }, |
| 7949 | .block_erase = spi_block_erase_52, |
| 7950 | }, { |
| 7951 | .eraseblocks = { {64 * 1024, 8} }, |
| 7952 | .block_erase = spi_block_erase_d8, |
| 7953 | }, { |
| 7954 | .eraseblocks = { {1024 * 512, 1} }, |
| 7955 | .block_erase = spi_block_erase_60, |
| 7956 | }, { |
| 7957 | .eraseblocks = { {1024 * 512, 1} }, |
| 7958 | .block_erase = spi_block_erase_c7, |
| 7959 | }, |
| 7960 | }, |
| 7961 | .unlock = spi_disable_blockprotect, |
| 7962 | .write = spi_aai_write, |
| 7963 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 7964 | .voltage = {1650, 1950}, |
| 7965 | }, |
| 7966 | |
| 7967 | { |
| 7968 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7969 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7970 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7971 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7972 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7973 | .total_size = 512, |
| 7974 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7975 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7976 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7977 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7978 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7979 | .block_erasers = |
| 7980 | { |
| 7981 | { |
| 7982 | .eraseblocks = { {128, 4096} }, |
| 7983 | .block_erase = erase_sector_28sf040, |
| 7984 | }, { |
| 7985 | .eraseblocks = { {512 * 1024, 1} }, |
| 7986 | .block_erase = erase_chip_28sf040, |
| 7987 | } |
| 7988 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7989 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7990 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7991 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7992 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7993 | }, |
| 7994 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7995 | { |
| 7996 | .vendor = "SST", |
| 7997 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7998 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7999 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8000 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8001 | .total_size = 128, |
| 8002 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8003 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8004 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8005 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8006 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8007 | .block_erasers = |
| 8008 | { |
| 8009 | { |
| 8010 | .eraseblocks = { {128 * 1024, 1} }, |
| 8011 | .block_erase = erase_chip_block_jedec, |
| 8012 | } |
| 8013 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8014 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8015 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8016 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8017 | }, |
| 8018 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8019 | { |
| 8020 | .vendor = "SST", |
| 8021 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8022 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8023 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8024 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8025 | .total_size = 128, |
| 8026 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8027 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8028 | .tested = TEST_UNTESTED, |
| 8029 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8030 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8031 | .block_erasers = |
| 8032 | { |
| 8033 | { |
| 8034 | .eraseblocks = { {128 * 1024, 1} }, |
| 8035 | .block_erase = erase_chip_block_jedec, |
| 8036 | } |
| 8037 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8038 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8039 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8040 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8041 | }, |
| 8042 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8043 | { |
| 8044 | .vendor = "SST", |
| 8045 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8046 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8047 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8048 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8049 | .total_size = 256, |
| 8050 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8051 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8052 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8053 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8054 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8055 | .block_erasers = |
| 8056 | { |
| 8057 | { |
| 8058 | .eraseblocks = { {256 * 1024, 1} }, |
| 8059 | .block_erase = erase_chip_block_jedec, |
| 8060 | } |
| 8061 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8062 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8063 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8064 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8065 | }, |
| 8066 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8067 | { |
| 8068 | .vendor = "SST", |
| 8069 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8070 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8071 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8072 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8073 | .total_size = 256, |
| 8074 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8075 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8076 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8077 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8078 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8079 | .block_erasers = |
| 8080 | { |
| 8081 | { |
| 8082 | .eraseblocks = { {256 * 1024, 1} }, |
| 8083 | .block_erase = erase_chip_block_jedec, |
| 8084 | } |
| 8085 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8086 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8087 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8088 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8089 | }, |
| 8090 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8091 | { |
| 8092 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8093 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8094 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8095 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8096 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8097 | .total_size = 64, |
| 8098 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8099 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 8100 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8101 | .probe = probe_jedec, |
| 8102 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8103 | .block_erasers = |
| 8104 | { |
| 8105 | { |
| 8106 | .eraseblocks = { {4 * 1024, 16} }, |
| 8107 | .block_erase = erase_sector_jedec, |
| 8108 | }, { |
| 8109 | .eraseblocks = { {64 * 1024, 1} }, |
| 8110 | .block_erase = erase_chip_block_jedec, |
| 8111 | } |
| 8112 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8113 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8114 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8115 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 8116 | }, |
| 8117 | |
| 8118 | { |
| 8119 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8120 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8121 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8122 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8123 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8124 | .total_size = 128, |
| 8125 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8126 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8127 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8128 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8129 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8130 | .block_erasers = |
| 8131 | { |
| 8132 | { |
| 8133 | .eraseblocks = { {4 * 1024, 32} }, |
| 8134 | .block_erase = erase_sector_jedec, |
| 8135 | }, { |
| 8136 | .eraseblocks = { {128 * 1024, 1} }, |
| 8137 | .block_erase = erase_chip_block_jedec, |
| 8138 | } |
| 8139 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8140 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8141 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8142 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8143 | }, |
| 8144 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8145 | { |
| 8146 | .vendor = "SST", |
| 8147 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8148 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8149 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8150 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8151 | .total_size = 256, |
| 8152 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8153 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 8154 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8155 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8156 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8157 | .block_erasers = |
| 8158 | { |
| 8159 | { |
| 8160 | .eraseblocks = { {4 * 1024, 64} }, |
| 8161 | .block_erase = erase_sector_jedec, |
| 8162 | }, { |
| 8163 | .eraseblocks = { {256 * 1024, 1} }, |
| 8164 | .block_erase = erase_chip_block_jedec, |
| 8165 | } |
| 8166 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8167 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8168 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8169 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8170 | }, |
| 8171 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8172 | { |
| 8173 | .vendor = "SST", |
| 8174 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8175 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8176 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8177 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8178 | .total_size = 512, |
| 8179 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8180 | .feature_bits = FEATURE_EITHER_RESET, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 8181 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8182 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8183 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8184 | .block_erasers = |
| 8185 | { |
| 8186 | { |
| 8187 | .eraseblocks = { {4 * 1024, 128} }, |
| 8188 | .block_erase = erase_sector_jedec, |
| 8189 | }, { |
| 8190 | .eraseblocks = { {512 * 1024, 1} }, |
| 8191 | .block_erase = erase_chip_block_jedec, |
| 8192 | } |
| 8193 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8194 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8195 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8196 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8197 | }, |
| 8198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8199 | { |
| 8200 | .vendor = "SST", |
| 8201 | .name = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8202 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8203 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8204 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8205 | .total_size = 64, |
| 8206 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8207 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d7d423b | 2012-10-20 09:13:16 +0000 | [diff] [blame] | 8208 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8209 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8210 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8211 | .block_erasers = |
| 8212 | { |
| 8213 | { |
| 8214 | .eraseblocks = { {4 * 1024, 16} }, |
| 8215 | .block_erase = erase_sector_jedec, |
| 8216 | }, { |
| 8217 | .eraseblocks = { {64 * 1024, 1} }, |
| 8218 | .block_erase = erase_chip_block_jedec, |
| 8219 | } |
| 8220 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8221 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8222 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8223 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8224 | }, |
| 8225 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8226 | { |
| 8227 | .vendor = "SST", |
| 8228 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8229 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8230 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8231 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8232 | .total_size = 128, |
| 8233 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8234 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 8235 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8236 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8237 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8238 | .block_erasers = |
| 8239 | { |
| 8240 | { |
| 8241 | .eraseblocks = { {4 * 1024, 32} }, |
| 8242 | .block_erase = erase_sector_jedec, |
| 8243 | }, { |
| 8244 | .eraseblocks = { {128 * 1024, 1} }, |
| 8245 | .block_erase = erase_chip_block_jedec, |
| 8246 | } |
| 8247 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8248 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8249 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8250 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8251 | }, |
| 8252 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8253 | { |
| 8254 | .vendor = "SST", |
| 8255 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8256 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8257 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8258 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8259 | .total_size = 256, |
| 8260 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8261 | .feature_bits = FEATURE_EITHER_RESET, |
| 8262 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8263 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8264 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8265 | .block_erasers = |
| 8266 | { |
| 8267 | { |
| 8268 | .eraseblocks = { {4 * 1024, 64} }, |
| 8269 | .block_erase = erase_sector_jedec, |
| 8270 | }, { |
| 8271 | .eraseblocks = { {256 * 1024, 1} }, |
| 8272 | .block_erase = erase_chip_block_jedec, |
| 8273 | } |
| 8274 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8275 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8276 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8277 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8278 | }, |
| 8279 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8280 | { |
| 8281 | .vendor = "SST", |
| 8282 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8283 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8284 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8285 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8286 | .total_size = 512, |
| 8287 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8288 | .feature_bits = FEATURE_EITHER_RESET, |
| 8289 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8290 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8291 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8292 | .block_erasers = |
| 8293 | { |
| 8294 | { |
| 8295 | .eraseblocks = { {4 * 1024, 128} }, |
| 8296 | .block_erase = erase_sector_jedec, |
| 8297 | }, { |
| 8298 | .eraseblocks = { {512 * 1024, 1} }, |
| 8299 | .block_erase = erase_chip_block_jedec, |
| 8300 | } |
| 8301 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8302 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8303 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8304 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 8305 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8306 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8307 | { |
| 8308 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8309 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8310 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 8311 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8312 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8313 | .total_size = 1024, |
| 8314 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8315 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8316 | .tested = TEST_UNTESTED, |
| 8317 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8318 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8319 | .block_erasers = |
| 8320 | { |
| 8321 | { |
| 8322 | .eraseblocks = { {4 * 1024, 256} }, |
| 8323 | .block_erase = erase_sector_jedec, |
| 8324 | }, { |
| 8325 | .eraseblocks = { {64 * 1024, 16} }, |
| 8326 | .block_erase = erase_block_jedec, |
| 8327 | }, { |
| 8328 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8329 | .block_erase = erase_chip_block_jedec, |
| 8330 | } |
| 8331 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8332 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8333 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8334 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 8335 | }, |
| 8336 | |
| 8337 | { |
| 8338 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8339 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8340 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8341 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8342 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8343 | .total_size = 256, |
| 8344 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8345 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8346 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8347 | .probe = probe_jedec, |
| 8348 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8349 | .block_erasers = |
| 8350 | { |
| 8351 | { |
| 8352 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8353 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8354 | }, { |
| 8355 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8356 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8357 | }, { |
| 8358 | .eraseblocks = { {256 * 1024, 1} }, |
| 8359 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 8360 | } |
| 8361 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8362 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8363 | .unlock = unlock_sst_fwhub, |
| 8364 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8365 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8366 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8367 | }, |
| 8368 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8369 | { |
| 8370 | .vendor = "SST", |
| 8371 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8372 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8373 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8374 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8375 | .total_size = 384, |
| 8376 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8377 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 8378 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8379 | .probe = probe_jedec, |
| 8380 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8381 | .block_erasers = |
| 8382 | { |
| 8383 | { |
| 8384 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8385 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8386 | }, { |
| 8387 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8388 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8389 | }, { |
| 8390 | .eraseblocks = { {384 * 1024, 1} }, |
| 8391 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 8392 | } |
| 8393 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8394 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8395 | .unlock = unlock_sst_fwhub, |
| 8396 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8397 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8398 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8399 | }, |
| 8400 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8401 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8402 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 8403 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 8404 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8405 | .vendor = "SST", |
| 8406 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8407 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8408 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8409 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8410 | .total_size = 512, |
| 8411 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8412 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8413 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8414 | .probe = probe_jedec, |
| 8415 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8416 | .block_erasers = |
| 8417 | { |
| 8418 | { |
| 8419 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8420 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8421 | }, { |
| 8422 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8423 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 8424 | }, { |
| 8425 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8426 | .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] | 8427 | }, |
| 8428 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8429 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8430 | .unlock = unlock_sst_fwhub, |
| 8431 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8432 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8433 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8434 | }, |
| 8435 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8436 | { |
| 8437 | .vendor = "SST", |
| 8438 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8439 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8440 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8441 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8442 | .total_size = 512, |
| 8443 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8444 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8445 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8446 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8447 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8448 | .block_erasers = |
| 8449 | { |
| 8450 | { |
| 8451 | .eraseblocks = { {4 * 1024, 128} }, |
| 8452 | .block_erase = erase_sector_49lfxxxc, |
| 8453 | }, { |
| 8454 | .eraseblocks = { |
| 8455 | {64 * 1024, 7}, |
| 8456 | {32 * 1024, 1}, |
| 8457 | {8 * 1024, 2}, |
| 8458 | {16 * 1024, 1}, |
| 8459 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8460 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8461 | } |
| 8462 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8463 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8464 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8465 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8466 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8467 | }, |
| 8468 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8469 | { |
| 8470 | .vendor = "SST", |
| 8471 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8472 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8473 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8474 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8475 | .total_size = 1024, |
| 8476 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8477 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8478 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8479 | .probe = probe_jedec, |
| 8480 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8481 | .block_erasers = |
| 8482 | { |
| 8483 | { |
| 8484 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8485 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8486 | }, { |
| 8487 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8488 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8489 | }, { |
| 8490 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8491 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 8492 | } |
| 8493 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8494 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 8495 | .unlock = unlock_sst_fwhub, |
| 8496 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8497 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8498 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8499 | }, |
| 8500 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8501 | { |
| 8502 | .vendor = "SST", |
| 8503 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8504 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8505 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8506 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8507 | .total_size = 1024, |
| 8508 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8509 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8510 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8511 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8512 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8513 | .block_erasers = |
| 8514 | { |
| 8515 | { |
| 8516 | .eraseblocks = { {4 * 1024, 256} }, |
| 8517 | .block_erase = erase_sector_49lfxxxc, |
| 8518 | }, { |
| 8519 | .eraseblocks = { |
| 8520 | {64 * 1024, 15}, |
| 8521 | {32 * 1024, 1}, |
| 8522 | {8 * 1024, 2}, |
| 8523 | {16 * 1024, 1}, |
| 8524 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8525 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8526 | } |
| 8527 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8528 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8529 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8530 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8531 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8532 | }, |
| 8533 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8534 | { |
| 8535 | .vendor = "SST", |
| 8536 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8537 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8538 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8539 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8540 | .total_size = 2048, |
| 8541 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8542 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | 2abab94 | 2012-04-27 20:41:23 +0000 | [diff] [blame] | 8543 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8544 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8545 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8546 | .block_erasers = |
| 8547 | { |
| 8548 | { |
| 8549 | .eraseblocks = { {4 * 1024, 512} }, |
| 8550 | .block_erase = erase_sector_49lfxxxc, |
| 8551 | }, { |
| 8552 | .eraseblocks = { |
| 8553 | {64 * 1024, 31}, |
| 8554 | {32 * 1024, 1}, |
| 8555 | {8 * 1024, 2}, |
| 8556 | {16 * 1024, 1}, |
| 8557 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8558 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8559 | } |
| 8560 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8561 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8562 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8563 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8564 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8565 | }, |
| 8566 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8567 | { |
| 8568 | .vendor = "SST", |
| 8569 | .name = "SST49LF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8570 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8571 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8572 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8573 | .total_size = 256, |
| 8574 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8575 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 8576 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8577 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8578 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8579 | .block_erasers = |
| 8580 | { |
| 8581 | { |
| 8582 | .eraseblocks = { {4 * 1024, 64} }, |
| 8583 | .block_erase = erase_sector_jedec, |
| 8584 | }, { |
| 8585 | .eraseblocks = { {16 * 1024, 16} }, |
| 8586 | .block_erase = erase_block_jedec, |
| 8587 | }, { |
| 8588 | .eraseblocks = { {256 * 1024, 1} }, |
| 8589 | .block_erase = NULL, |
| 8590 | } |
| 8591 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8592 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8593 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8594 | .voltage = {3000, 3600}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 8595 | }, |
| 8596 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8597 | { |
| 8598 | .vendor = "SST", |
| 8599 | .name = "SST49LF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8600 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8601 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8602 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8603 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 8604 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8605 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8606 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8607 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8608 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8609 | .block_erasers = |
| 8610 | { |
| 8611 | { |
| 8612 | .eraseblocks = { {4 * 1024, 64} }, |
| 8613 | .block_erase = erase_sector_jedec, |
| 8614 | }, { |
| 8615 | .eraseblocks = { {16 * 1024, 16} }, |
| 8616 | .block_erase = erase_block_jedec, |
| 8617 | }, { |
| 8618 | .eraseblocks = { {256 * 1024, 1} }, |
| 8619 | .block_erase = NULL, |
| 8620 | } |
| 8621 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8622 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8623 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8624 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8625 | }, |
| 8626 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8627 | { |
| 8628 | .vendor = "SST", |
| 8629 | .name = "SST49LF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8630 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8631 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8632 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8633 | .total_size = 512, |
| 8634 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8635 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8636 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8637 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 8638 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8639 | .block_erasers = |
| 8640 | { |
| 8641 | { |
| 8642 | .eraseblocks = { {4 * 1024, 128} }, |
| 8643 | .block_erase = erase_sector_jedec, |
| 8644 | }, { |
| 8645 | .eraseblocks = { {64 * 1024, 8} }, |
| 8646 | .block_erase = erase_block_jedec, |
| 8647 | }, { |
| 8648 | .eraseblocks = { {512 * 1024, 1} }, |
| 8649 | .block_erase = NULL, |
| 8650 | } |
| 8651 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8652 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8653 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8654 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8655 | }, |
| 8656 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8657 | { |
| 8658 | .vendor = "SST", |
| 8659 | .name = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8660 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8661 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8662 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8663 | .total_size = 512, |
| 8664 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 8665 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 8666 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8667 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8668 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8669 | .block_erasers = |
| 8670 | { |
| 8671 | { |
| 8672 | .eraseblocks = { {4 * 1024, 128} }, |
| 8673 | .block_erase = erase_sector_jedec, |
| 8674 | }, { |
| 8675 | .eraseblocks = { {64 * 1024, 8} }, |
| 8676 | .block_erase = erase_block_jedec, |
| 8677 | }, { |
| 8678 | .eraseblocks = { {512 * 1024, 1} }, |
| 8679 | .block_erase = NULL, |
| 8680 | } |
| 8681 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 8682 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8683 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8684 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8685 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8686 | }, |
| 8687 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8688 | { |
| 8689 | .vendor = "SST", |
| 8690 | .name = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8691 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8692 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8693 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8694 | .total_size = 1024, |
| 8695 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8696 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 8697 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8698 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 8699 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8700 | .block_erasers = |
| 8701 | { |
| 8702 | { |
| 8703 | .eraseblocks = { {4 * 1024, 256} }, |
| 8704 | .block_erase = erase_sector_jedec, |
| 8705 | }, { |
| 8706 | .eraseblocks = { {64 * 1024, 16} }, |
| 8707 | .block_erase = erase_block_jedec, |
| 8708 | }, { |
| 8709 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8710 | .block_erase = NULL, |
| 8711 | } |
| 8712 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8713 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8714 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8715 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8716 | }, |
| 8717 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8718 | { |
| 8719 | .vendor = "SST", |
| 8720 | .name = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8721 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8722 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8723 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8724 | .total_size = 2048, |
| 8725 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8726 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8727 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 8728 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 8729 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8730 | .block_erasers = |
| 8731 | { |
| 8732 | { |
| 8733 | .eraseblocks = { {4 * 1024, 512} }, |
| 8734 | .block_erase = erase_sector_49lfxxxc, |
| 8735 | }, { |
| 8736 | .eraseblocks = { |
| 8737 | {64 * 1024, 31}, |
| 8738 | {32 * 1024, 1}, |
| 8739 | {8 * 1024, 2}, |
| 8740 | {16 * 1024, 1}, |
| 8741 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 8742 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 8743 | } |
| 8744 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 8745 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 8746 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8747 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8748 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8749 | }, |
| 8750 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8751 | { |
| 8752 | .vendor = "ST", |
| 8753 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8754 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8755 | .manufacture_id = ST_ID, |
| 8756 | .model_id = ST_M25P05A, |
| 8757 | .total_size = 64, |
| 8758 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8759 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8760 | .tested = TEST_UNTESTED, |
| 8761 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8762 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8763 | .block_erasers = |
| 8764 | { |
| 8765 | { |
| 8766 | .eraseblocks = { {32 * 1024, 2} }, |
| 8767 | .block_erase = spi_block_erase_d8, |
| 8768 | }, { |
| 8769 | .eraseblocks = { {64 * 1024, 1} }, |
| 8770 | .block_erase = spi_block_erase_c7, |
| 8771 | } |
| 8772 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8773 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8774 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8775 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8776 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8777 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8778 | }, |
| 8779 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8780 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 8781 | * 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] | 8782 | * 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] | 8783 | * only is successful if RDID does not work. |
| 8784 | */ |
| 8785 | { |
| 8786 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 8787 | .name = "M25P05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8788 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 8789 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8790 | .model_id = ST_M25P05_RES, |
| 8791 | .total_size = 64, |
| 8792 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8793 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8794 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 8795 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8796 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8797 | .block_erasers = |
| 8798 | { |
| 8799 | { |
| 8800 | .eraseblocks = { {32 * 1024, 2} }, |
| 8801 | .block_erase = spi_block_erase_d8, |
| 8802 | }, { |
| 8803 | .eraseblocks = { {64 * 1024, 1} }, |
| 8804 | .block_erase = spi_block_erase_c7, |
| 8805 | } |
| 8806 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8807 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8808 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8809 | .write = spi_chip_write_1, /* 128 */ |
| 8810 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8811 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8812 | }, |
| 8813 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8814 | { |
| 8815 | .vendor = "ST", |
| 8816 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8817 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8818 | .manufacture_id = ST_ID, |
| 8819 | .model_id = ST_M25P10A, |
| 8820 | .total_size = 128, |
| 8821 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8822 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8823 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8824 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8825 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8826 | .block_erasers = |
| 8827 | { |
| 8828 | { |
| 8829 | .eraseblocks = { {32 * 1024, 4} }, |
| 8830 | .block_erase = spi_block_erase_d8, |
| 8831 | }, { |
| 8832 | .eraseblocks = { {128 * 1024, 1} }, |
| 8833 | .block_erase = spi_block_erase_c7, |
| 8834 | } |
| 8835 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8836 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8837 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8838 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8839 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8840 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8841 | }, |
| 8842 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8843 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 8844 | { |
| 8845 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 8846 | .name = "M25P10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8847 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 8848 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8849 | .model_id = ST_M25P10_RES, |
| 8850 | .total_size = 128, |
| 8851 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8852 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8853 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 8854 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8855 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8856 | .block_erasers = |
| 8857 | { |
| 8858 | { |
| 8859 | .eraseblocks = { {32 * 1024, 4} }, |
| 8860 | .block_erase = spi_block_erase_d8, |
| 8861 | }, { |
| 8862 | .eraseblocks = { {128 * 1024, 1} }, |
| 8863 | .block_erase = spi_block_erase_c7, |
| 8864 | } |
| 8865 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8866 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8867 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8868 | .write = spi_chip_write_1, /* 128 */ |
| 8869 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8870 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 8871 | }, |
| 8872 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8873 | { |
Kyösti Mälkki | c54adc5 | 2013-03-04 01:20:28 +0000 | [diff] [blame] | 8874 | .vendor = "ST", /* Numonyx */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8875 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8876 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8877 | .manufacture_id = ST_ID, |
| 8878 | .model_id = ST_M25P20, |
| 8879 | .total_size = 256, |
| 8880 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8881 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8882 | .tested = TEST_UNTESTED, |
| 8883 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8884 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8885 | .block_erasers = |
| 8886 | { |
| 8887 | { |
| 8888 | .eraseblocks = { {64 * 1024, 4} }, |
| 8889 | .block_erase = spi_block_erase_d8, |
| 8890 | }, { |
| 8891 | .eraseblocks = { {256 * 1024, 1} }, |
| 8892 | .block_erase = spi_block_erase_c7, |
| 8893 | } |
| 8894 | }, |
Kyösti Mälkki | c54adc5 | 2013-03-04 01:20:28 +0000 | [diff] [blame] | 8895 | .printlock = spi_prettyprint_status_register_default_bp1, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8896 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8897 | .write = spi_chip_write_256, |
Kyösti Mälkki | c54adc5 | 2013-03-04 01:20:28 +0000 | [diff] [blame] | 8898 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
| 8899 | .voltage = {2700, 3600}, |
| 8900 | }, |
| 8901 | |
| 8902 | { |
| 8903 | .vendor = "ST", |
| 8904 | .name = "M25P20-old", |
| 8905 | .bustype = BUS_SPI, |
| 8906 | .manufacture_id = 0, /* Not used. */ |
| 8907 | .model_id = ST_M25P20_RES, |
| 8908 | .total_size = 256, |
| 8909 | .page_size = 256, |
| 8910 | .feature_bits = FEATURE_WRSR_WREN, |
| 8911 | .tested = TEST_OK_PREW, |
| 8912 | .probe = probe_spi_res1, |
| 8913 | .probe_timing = TIMING_ZERO, |
| 8914 | .block_erasers = |
| 8915 | { |
| 8916 | { |
| 8917 | .eraseblocks = { {64 * 1024, 4} }, |
| 8918 | .block_erase = spi_block_erase_d8, |
| 8919 | }, { |
| 8920 | .eraseblocks = { {256 * 1024, 1} }, |
| 8921 | .block_erase = spi_block_erase_c7, |
| 8922 | } |
| 8923 | }, |
| 8924 | .printlock = spi_prettyprint_status_register_default_bp1, |
| 8925 | .unlock = spi_disable_blockprotect, |
| 8926 | .write = spi_chip_write_256, |
| 8927 | .read = spi_chip_read, /* Fast read (0x0B) supported */ |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8928 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8929 | }, |
| 8930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8931 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 8932 | .vendor = "ST", /* Numonyx */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8933 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8934 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8935 | .manufacture_id = ST_ID, |
| 8936 | .model_id = ST_M25P40, |
| 8937 | .total_size = 512, |
| 8938 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8939 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 8940 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8941 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8942 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8943 | .block_erasers = |
| 8944 | { |
| 8945 | { |
| 8946 | .eraseblocks = { {64 * 1024, 8} }, |
| 8947 | .block_erase = spi_block_erase_d8, |
| 8948 | }, { |
| 8949 | .eraseblocks = { {512 * 1024, 1} }, |
| 8950 | .block_erase = spi_block_erase_c7, |
| 8951 | } |
| 8952 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8953 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8954 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8955 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8956 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8957 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8958 | }, |
| 8959 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8960 | { |
| 8961 | .vendor = "ST", |
| 8962 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8963 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 8964 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8965 | .model_id = ST_M25P40_RES, |
| 8966 | .total_size = 512, |
| 8967 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8968 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8969 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 8970 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8971 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8972 | .block_erasers = |
| 8973 | { |
| 8974 | { |
| 8975 | .eraseblocks = { {64 * 1024, 8} }, |
| 8976 | .block_erase = spi_block_erase_d8, |
| 8977 | }, { |
| 8978 | .eraseblocks = { {512 * 1024, 1} }, |
| 8979 | .block_erase = spi_block_erase_c7, |
| 8980 | } |
| 8981 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 8982 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8983 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8984 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8985 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8986 | }, |
| 8987 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8988 | { |
| 8989 | .vendor = "ST", |
| 8990 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8991 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8992 | .manufacture_id = ST_ID, |
| 8993 | .model_id = ST_M25P80, |
| 8994 | .total_size = 1024, |
| 8995 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 8996 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 8997 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8998 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8999 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9000 | .block_erasers = |
| 9001 | { |
| 9002 | { |
| 9003 | .eraseblocks = { {64 * 1024, 16} }, |
| 9004 | .block_erase = spi_block_erase_d8, |
| 9005 | }, { |
| 9006 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9007 | .block_erase = spi_block_erase_c7, |
| 9008 | } |
| 9009 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9010 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9011 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9012 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9013 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9014 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9015 | }, |
| 9016 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9017 | { |
| 9018 | .vendor = "ST", |
| 9019 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9020 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9021 | .manufacture_id = ST_ID, |
| 9022 | .model_id = ST_M25P16, |
| 9023 | .total_size = 2048, |
| 9024 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9025 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9026 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9027 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9028 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9029 | .block_erasers = |
| 9030 | { |
| 9031 | { |
| 9032 | .eraseblocks = { {64 * 1024, 32} }, |
| 9033 | .block_erase = spi_block_erase_d8, |
| 9034 | }, { |
| 9035 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 9036 | .block_erase = spi_block_erase_c7, |
| 9037 | } |
| 9038 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9039 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9040 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9041 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9042 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9043 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9044 | }, |
| 9045 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9046 | { |
| 9047 | .vendor = "ST", |
| 9048 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9049 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9050 | .manufacture_id = ST_ID, |
| 9051 | .model_id = ST_M25P32, |
| 9052 | .total_size = 4096, |
| 9053 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9054 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 9055 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9056 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9057 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9058 | .block_erasers = |
| 9059 | { |
| 9060 | { |
| 9061 | .eraseblocks = { {64 * 1024, 64} }, |
| 9062 | .block_erase = spi_block_erase_d8, |
| 9063 | }, { |
| 9064 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 9065 | .block_erase = spi_block_erase_c7, |
| 9066 | } |
| 9067 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9068 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9069 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9070 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9071 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9072 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9073 | }, |
| 9074 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9075 | { |
| 9076 | .vendor = "ST", |
| 9077 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9078 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9079 | .manufacture_id = ST_ID, |
| 9080 | .model_id = ST_M25P64, |
| 9081 | .total_size = 8192, |
| 9082 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9083 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d94d25d | 2012-07-28 03:17:15 +0000 | [diff] [blame] | 9084 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9085 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9086 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9087 | .block_erasers = |
| 9088 | { |
| 9089 | { |
| 9090 | .eraseblocks = { {64 * 1024, 128} }, |
| 9091 | .block_erase = spi_block_erase_d8, |
| 9092 | }, { |
| 9093 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 9094 | .block_erase = spi_block_erase_c7, |
| 9095 | } |
| 9096 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9097 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9098 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9099 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9100 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9101 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9102 | }, |
| 9103 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9104 | { |
| 9105 | .vendor = "ST", |
| 9106 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9107 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9108 | .manufacture_id = ST_ID, |
| 9109 | .model_id = ST_M25P128, |
| 9110 | .total_size = 16384, |
| 9111 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9112 | .feature_bits = FEATURE_WRSR_WREN, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9113 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9114 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9115 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9116 | .block_erasers = |
| 9117 | { |
| 9118 | { |
| 9119 | .eraseblocks = { {256 * 1024, 64} }, |
| 9120 | .block_erase = spi_block_erase_d8, |
| 9121 | }, { |
| 9122 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 9123 | .block_erase = spi_block_erase_c7, |
| 9124 | } |
| 9125 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9126 | .printlock = spi_prettyprint_status_register_default_bp3, /* TODO: check */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 9127 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 9128 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9129 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9130 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9131 | }, |
| 9132 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9133 | { |
| 9134 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9135 | .name = "M25PX16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9136 | .bustype = BUS_SPI, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9137 | .manufacture_id = ST_ID, |
| 9138 | .model_id = ST_M25PX16, |
| 9139 | .total_size = 2048, |
| 9140 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 9141 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9142 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9143 | .tested = TEST_OK_PREW, |
| 9144 | .probe = probe_spi_rdid, |
| 9145 | .probe_timing = TIMING_ZERO, |
| 9146 | .block_erasers = |
| 9147 | { |
| 9148 | { |
| 9149 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 9150 | .block_erase = spi_block_erase_20, |
| 9151 | }, { |
| 9152 | .eraseblocks = { {64 * 1024, 32} }, |
| 9153 | .block_erase = spi_block_erase_d8, |
| 9154 | }, { |
| 9155 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 9156 | .block_erase = spi_block_erase_c7, |
| 9157 | } |
| 9158 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9159 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 9160 | .unlock = spi_disable_blockprotect, |
| 9161 | .write = spi_chip_write_256, |
| 9162 | .read = spi_chip_read, |
| 9163 | }, |
| 9164 | |
| 9165 | { |
| 9166 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9167 | .name = "M25PX32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9168 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9169 | .manufacture_id = ST_ID, |
| 9170 | .model_id = ST_M25PX32, |
| 9171 | .total_size = 4096, |
| 9172 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9173 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9174 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9175 | .probe = probe_spi_rdid, |
| 9176 | .probe_timing = TIMING_ZERO, |
| 9177 | .block_erasers = |
| 9178 | { |
| 9179 | { |
| 9180 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 9181 | .block_erase = spi_block_erase_20, |
| 9182 | }, { |
| 9183 | .eraseblocks = { {64 * 1024, 64} }, |
| 9184 | .block_erase = spi_block_erase_d8, |
| 9185 | }, { |
| 9186 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 9187 | .block_erase = spi_block_erase_c7, |
| 9188 | } |
| 9189 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9190 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9191 | .unlock = spi_disable_blockprotect, |
| 9192 | .write = spi_chip_write_256, |
| 9193 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9194 | .voltage = {2700, 3600}, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9195 | }, |
| 9196 | |
| 9197 | { |
| 9198 | .vendor = "ST", |
| 9199 | .name = "M25PX64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9200 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9201 | .manufacture_id = ST_ID, |
| 9202 | .model_id = ST_M25PX64, |
| 9203 | .total_size = 8192, |
| 9204 | .page_size = 256, |
Steven Zakulec | 3603a28 | 2012-05-02 20:07:57 +0000 | [diff] [blame] | 9205 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9206 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9207 | .probe = probe_spi_rdid, |
| 9208 | .probe_timing = TIMING_ZERO, |
| 9209 | .block_erasers = |
| 9210 | { |
| 9211 | { |
| 9212 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 9213 | .block_erase = spi_block_erase_20, |
| 9214 | }, { |
| 9215 | .eraseblocks = { {64 * 1024, 128} }, |
| 9216 | .block_erase = spi_block_erase_d8, |
| 9217 | }, { |
| 9218 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 9219 | .block_erase = spi_block_erase_c7, |
| 9220 | } |
| 9221 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 9222 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 9223 | .unlock = spi_disable_blockprotect, |
| 9224 | .write = spi_chip_write_256, |
| 9225 | .read = spi_chip_read, |
| 9226 | }, |
| 9227 | |
| 9228 | { |
| 9229 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9230 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9231 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9232 | .manufacture_id = ST_ID, |
| 9233 | .model_id = ST_M29F002B, |
| 9234 | .total_size = 256, |
| 9235 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9236 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9237 | .tested = TEST_UNTESTED, |
| 9238 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9239 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9240 | .block_erasers = |
| 9241 | { |
| 9242 | { |
| 9243 | .eraseblocks = { |
| 9244 | {16 * 1024, 1}, |
| 9245 | {8 * 1024, 2}, |
| 9246 | {32 * 1024, 1}, |
| 9247 | {64 * 1024, 3}, |
| 9248 | }, |
| 9249 | .block_erase = erase_sector_jedec, |
| 9250 | }, { |
| 9251 | .eraseblocks = { {256 * 1024, 1} }, |
| 9252 | .block_erase = erase_chip_block_jedec, |
| 9253 | } |
| 9254 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9255 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9256 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9257 | .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] | 9258 | }, |
| 9259 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9260 | { |
| 9261 | .vendor = "ST", |
| 9262 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9263 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9264 | .manufacture_id = ST_ID, |
| 9265 | .model_id = ST_M29F002T, |
| 9266 | .total_size = 256, |
| 9267 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9268 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 9269 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9270 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9271 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9272 | .block_erasers = |
| 9273 | { |
| 9274 | { |
| 9275 | .eraseblocks = { |
| 9276 | {64 * 1024, 3}, |
| 9277 | {32 * 1024, 1}, |
| 9278 | {8 * 1024, 2}, |
| 9279 | {16 * 1024, 1}, |
| 9280 | }, |
| 9281 | .block_erase = erase_sector_jedec, |
| 9282 | }, { |
| 9283 | .eraseblocks = { {256 * 1024, 1} }, |
| 9284 | .block_erase = erase_chip_block_jedec, |
| 9285 | } |
| 9286 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9287 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9288 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9289 | .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] | 9290 | }, |
| 9291 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9292 | { |
| 9293 | .vendor = "ST", |
| 9294 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9295 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9296 | .manufacture_id = ST_ID, |
| 9297 | .model_id = ST_M29F040B, |
| 9298 | .total_size = 512, |
| 9299 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9300 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 9301 | .tested = TEST_UNTESTED, |
| 9302 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 9303 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9304 | .block_erasers = |
| 9305 | { |
| 9306 | { |
| 9307 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9308 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9309 | }, { |
| 9310 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9311 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9312 | } |
| 9313 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9314 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9315 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9316 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9317 | }, |
| 9318 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9319 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9320 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9321 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9322 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9323 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9324 | .manufacture_id = ST_ID, |
| 9325 | .model_id = ST_M29F400BB, |
| 9326 | .total_size = 512, |
| 9327 | .page_size = 64 * 1024, |
| 9328 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 9329 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9330 | .probe = probe_m29f400bt, |
| 9331 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 9332 | .block_erasers = |
| 9333 | { |
| 9334 | { |
| 9335 | .eraseblocks = { |
| 9336 | {16 * 1024, 1}, |
| 9337 | {8 * 1024, 2}, |
| 9338 | {32 * 1024, 1}, |
| 9339 | {64 * 1024, 7}, |
| 9340 | }, |
| 9341 | .block_erase = block_erase_m29f400bt, |
| 9342 | }, { |
| 9343 | .eraseblocks = { {512 * 1024, 1} }, |
| 9344 | .block_erase = block_erase_chip_m29f400bt, |
| 9345 | } |
| 9346 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 9347 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9348 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9349 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9350 | }, |
| 9351 | { |
| 9352 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 9353 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9354 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9355 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9356 | .manufacture_id = ST_ID, |
| 9357 | .model_id = ST_M29F400BT, |
| 9358 | .total_size = 512, |
| 9359 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9360 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9361 | .tested = TEST_UNTESTED, |
| 9362 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 9363 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9364 | .block_erasers = |
| 9365 | { |
| 9366 | { |
| 9367 | .eraseblocks = { |
| 9368 | {64 * 1024, 7}, |
| 9369 | {32 * 1024, 1}, |
| 9370 | {8 * 1024, 2}, |
| 9371 | {16 * 1024, 1}, |
| 9372 | }, |
| 9373 | .block_erase = block_erase_m29f400bt, |
| 9374 | }, { |
| 9375 | .eraseblocks = { {512 * 1024, 1} }, |
| 9376 | .block_erase = block_erase_chip_m29f400bt, |
| 9377 | } |
| 9378 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 9379 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9380 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9381 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9382 | }, |
| 9383 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9384 | { |
| 9385 | .vendor = "ST", |
| 9386 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9387 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9388 | .manufacture_id = ST_ID, |
| 9389 | .model_id = ST_M29W010B, |
| 9390 | .total_size = 128, |
| 9391 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9392 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9393 | .tested = TEST_UNTESTED, |
| 9394 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9395 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9396 | .block_erasers = |
| 9397 | { |
| 9398 | { |
| 9399 | .eraseblocks = { {16 * 1024, 8}, }, |
| 9400 | .block_erase = erase_sector_jedec, |
| 9401 | }, { |
| 9402 | .eraseblocks = { {128 * 1024, 1} }, |
| 9403 | .block_erase = erase_chip_block_jedec, |
| 9404 | } |
| 9405 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9406 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9407 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9408 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9409 | }, |
| 9410 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9411 | { |
| 9412 | .vendor = "ST", |
| 9413 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9414 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9415 | .manufacture_id = ST_ID, |
| 9416 | .model_id = ST_M29W040B, |
| 9417 | .total_size = 512, |
| 9418 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9419 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9420 | .tested = TEST_UNTESTED, |
| 9421 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9422 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9423 | .block_erasers = |
| 9424 | { |
| 9425 | { |
| 9426 | .eraseblocks = { {64 * 1024, 8}, }, |
| 9427 | .block_erase = erase_sector_jedec, |
| 9428 | }, { |
| 9429 | .eraseblocks = { {512 * 1024, 1} }, |
| 9430 | .block_erase = erase_chip_block_jedec, |
| 9431 | } |
| 9432 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9433 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9434 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9435 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9436 | }, |
| 9437 | |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9438 | { |
| 9439 | .vendor = "ST", |
| 9440 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9441 | .bustype = BUS_PARALLEL, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9442 | .manufacture_id = ST_ID, |
| 9443 | .model_id = ST_M29W512B, |
| 9444 | .total_size = 64, |
| 9445 | .page_size = 64 * 1024, |
| 9446 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9447 | .tested = TEST_OK_PRE, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9448 | .probe = probe_jedec, |
| 9449 | .probe_timing = TIMING_ZERO, |
| 9450 | .block_erasers = |
| 9451 | { |
| 9452 | { |
| 9453 | .eraseblocks = { {64 * 1024, 1} }, |
| 9454 | .block_erase = erase_chip_block_jedec, |
| 9455 | } |
| 9456 | }, |
| 9457 | .write = write_jedec_1, |
| 9458 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9459 | .voltage = {2700, 3600}, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 9460 | }, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 9461 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9462 | { |
| 9463 | .vendor = "ST", |
| 9464 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9465 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9466 | .manufacture_id = ST_ID, |
| 9467 | .model_id = ST_M50FLW040A, |
| 9468 | .total_size = 512, |
| 9469 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9470 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9471 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9472 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 9473 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9474 | .block_erasers = |
| 9475 | { |
| 9476 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9477 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9478 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9479 | {64 * 1024, 5}, /* block */ |
| 9480 | {4 * 1024, 16}, /* sector */ |
| 9481 | {4 * 1024, 16}, /* sector */ |
| 9482 | }, |
| 9483 | .block_erase = NULL, |
| 9484 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9485 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9486 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9487 | } |
| 9488 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9489 | .unlock = unlock_stm50flw0x0x, |
| 9490 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9491 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9492 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9493 | }, |
| 9494 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9495 | { |
| 9496 | .vendor = "ST", |
| 9497 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9498 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9499 | .manufacture_id = ST_ID, |
| 9500 | .model_id = ST_M50FLW040B, |
| 9501 | .total_size = 512, |
| 9502 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9503 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9504 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9505 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 9506 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9507 | .block_erasers = |
| 9508 | { |
| 9509 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9510 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9511 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9512 | {4 * 1024, 16}, /* sector */ |
| 9513 | {64 * 1024, 5}, /* block */ |
| 9514 | {4 * 1024, 16}, /* sector */ |
| 9515 | }, |
| 9516 | .block_erase = NULL, |
| 9517 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9518 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9519 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9520 | } |
| 9521 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9522 | .unlock = unlock_stm50flw0x0x, |
| 9523 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9524 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9525 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9526 | }, |
| 9527 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9528 | { |
| 9529 | .vendor = "ST", |
| 9530 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9531 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9532 | .manufacture_id = ST_ID, |
| 9533 | .model_id = ST_M50FLW080A, |
| 9534 | .total_size = 1024, |
| 9535 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9536 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9537 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9538 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 9539 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9540 | .block_erasers = |
| 9541 | { |
| 9542 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9543 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9544 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9545 | {64 * 1024, 13}, /* block */ |
| 9546 | {4 * 1024, 16}, /* sector */ |
| 9547 | {4 * 1024, 16}, /* sector */ |
| 9548 | }, |
| 9549 | .block_erase = NULL, |
| 9550 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9551 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9552 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9553 | } |
| 9554 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9555 | .unlock = unlock_stm50flw0x0x, |
| 9556 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9557 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9558 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9559 | }, |
| 9560 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9561 | { |
| 9562 | .vendor = "ST", |
| 9563 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9564 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9565 | .manufacture_id = ST_ID, |
| 9566 | .model_id = ST_M50FLW080B, |
| 9567 | .total_size = 1024, |
| 9568 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9569 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9570 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9571 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 9572 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9573 | .block_erasers = |
| 9574 | { |
| 9575 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9576 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 9577 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 9578 | {4 * 1024, 16}, /* sector */ |
| 9579 | {64 * 1024, 13}, /* block */ |
| 9580 | {4 * 1024, 16}, /* sector */ |
| 9581 | }, |
| 9582 | .block_erase = NULL, |
| 9583 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9584 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9585 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9586 | } |
| 9587 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9588 | .unlock = unlock_stm50flw0x0x, |
| 9589 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9590 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9591 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9592 | }, |
| 9593 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9594 | { |
| 9595 | .vendor = "ST", |
| 9596 | .name = "M50FW002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9597 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9598 | .manufacture_id = ST_ID, |
| 9599 | .model_id = ST_M50FW002, |
| 9600 | .total_size = 256, |
| 9601 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9602 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9603 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9604 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 9605 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9606 | .block_erasers = |
| 9607 | { |
| 9608 | { |
| 9609 | .eraseblocks = { |
| 9610 | {64 * 1024, 3}, |
| 9611 | {32 * 1024, 1}, |
| 9612 | {8 * 1024, 2}, |
| 9613 | {16 * 1024, 1}, |
| 9614 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9615 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9616 | } |
| 9617 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9618 | .unlock = unlock_stm50flw0x0x, |
| 9619 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9620 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9621 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9622 | }, |
| 9623 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9624 | { |
| 9625 | .vendor = "ST", |
| 9626 | .name = "M50FW016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9627 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9628 | .manufacture_id = ST_ID, |
| 9629 | .model_id = ST_M50FW016, |
| 9630 | .total_size = 2048, |
| 9631 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9632 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9633 | .tested = TEST_UNTESTED, |
| 9634 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 9635 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9636 | .block_erasers = |
| 9637 | { |
| 9638 | { |
| 9639 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9640 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9641 | } |
| 9642 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9643 | .unlock = unlock_stm50flw0x0x, |
| 9644 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9645 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9646 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9647 | }, |
| 9648 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9649 | { |
| 9650 | .vendor = "ST", |
| 9651 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9652 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9653 | .manufacture_id = ST_ID, |
| 9654 | .model_id = ST_M50FW040, |
| 9655 | .total_size = 512, |
| 9656 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9657 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9658 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9659 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 9660 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9661 | .block_erasers = |
| 9662 | { |
| 9663 | { |
| 9664 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9665 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9666 | } |
| 9667 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9668 | .unlock = unlock_stm50flw0x0x, |
| 9669 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9670 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9671 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9672 | }, |
| 9673 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9674 | { |
| 9675 | .vendor = "ST", |
| 9676 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9677 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9678 | .manufacture_id = ST_ID, |
| 9679 | .model_id = ST_M50FW080, |
| 9680 | .total_size = 1024, |
| 9681 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9682 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 9683 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9684 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 9685 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9686 | .block_erasers = |
| 9687 | { |
| 9688 | { |
| 9689 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9690 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9691 | } |
| 9692 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9693 | .unlock = unlock_stm50flw0x0x, |
| 9694 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9695 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9696 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9697 | }, |
| 9698 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9699 | { |
| 9700 | .vendor = "ST", |
| 9701 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9702 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9703 | .manufacture_id = ST_ID, |
| 9704 | .model_id = ST_M50LPW116, |
| 9705 | .total_size = 2048, |
| 9706 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 9707 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9708 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9709 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9710 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9711 | .block_erasers = |
| 9712 | { |
| 9713 | { |
| 9714 | .eraseblocks = { |
| 9715 | {4 * 1024, 16}, |
| 9716 | {64 * 1024, 30}, |
| 9717 | {32 * 1024, 1}, |
| 9718 | {8 * 1024, 2}, |
| 9719 | {16 * 1024, 1}, |
| 9720 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9721 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9722 | } |
| 9723 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 9724 | .unlock = unlock_stm50flw0x0x, |
| 9725 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9726 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9727 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9728 | }, |
| 9729 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9730 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9731 | .vendor = "SyncMOS/MoselVitelic", |
| 9732 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9733 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9734 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9735 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9736 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9737 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9738 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9739 | .tested = TEST_UNTESTED, |
| 9740 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9741 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9742 | .block_erasers = |
| 9743 | { |
| 9744 | { |
| 9745 | .eraseblocks = { {512, 256} }, |
| 9746 | .block_erase = erase_sector_jedec, |
| 9747 | }, { |
| 9748 | .eraseblocks = { {128 * 1024, 1} }, |
| 9749 | .block_erase = erase_chip_block_jedec, |
| 9750 | }, |
| 9751 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9752 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9753 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9754 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9755 | }, |
| 9756 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9757 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9758 | .vendor = "SyncMOS/MoselVitelic", |
| 9759 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9760 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9761 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9762 | .model_id = SM_MVC_29C51001T, |
| 9763 | .total_size = 128, |
| 9764 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9765 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9766 | .tested = TEST_UNTESTED, |
| 9767 | .probe = probe_jedec, |
| 9768 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 9769 | .block_erasers = |
| 9770 | { |
| 9771 | { |
| 9772 | .eraseblocks = { {512, 256} }, |
| 9773 | .block_erase = erase_sector_jedec, |
| 9774 | }, { |
| 9775 | .eraseblocks = { {128 * 1024, 1} }, |
| 9776 | .block_erase = erase_chip_block_jedec, |
| 9777 | }, |
| 9778 | }, |
| 9779 | .write = write_jedec_1, |
| 9780 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9781 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9782 | }, |
| 9783 | |
| 9784 | { |
| 9785 | .vendor = "SyncMOS/MoselVitelic", |
| 9786 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9787 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9788 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9789 | .model_id = SM_MVC_29C51002B, |
| 9790 | .total_size = 256, |
| 9791 | .page_size = 512, |
| 9792 | .feature_bits = FEATURE_EITHER_RESET, |
| 9793 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9794 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9795 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9796 | .block_erasers = |
| 9797 | { |
| 9798 | { |
| 9799 | .eraseblocks = { {512, 512} }, |
| 9800 | .block_erase = erase_sector_jedec, |
| 9801 | }, { |
| 9802 | .eraseblocks = { {256 * 1024, 1} }, |
| 9803 | .block_erase = erase_chip_block_jedec, |
| 9804 | }, |
| 9805 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9806 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9807 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9808 | }, |
| 9809 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9810 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9811 | .vendor = "SyncMOS/MoselVitelic", |
| 9812 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9813 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9814 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9815 | .model_id = SM_MVC_29C51002T, |
| 9816 | .total_size = 256, |
| 9817 | .page_size = 512, |
| 9818 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 9819 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9820 | .probe = probe_jedec, |
| 9821 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 9822 | .block_erasers = |
| 9823 | { |
| 9824 | { |
| 9825 | .eraseblocks = { {512, 512} }, |
| 9826 | .block_erase = erase_sector_jedec, |
| 9827 | }, { |
| 9828 | .eraseblocks = { {256 * 1024, 1} }, |
| 9829 | .block_erase = erase_chip_block_jedec, |
| 9830 | }, |
| 9831 | }, |
| 9832 | .write = write_jedec_1, |
| 9833 | .read = read_memmapped, |
| 9834 | }, |
| 9835 | |
| 9836 | { |
| 9837 | .vendor = "SyncMOS/MoselVitelic", |
| 9838 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9839 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9840 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9841 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9842 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9843 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9844 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9845 | .tested = TEST_UNTESTED, |
| 9846 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9847 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9848 | .block_erasers = |
| 9849 | { |
| 9850 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9851 | .eraseblocks = { {1024, 512} }, |
| 9852 | .block_erase = erase_sector_jedec, |
| 9853 | }, { |
| 9854 | .eraseblocks = { {512 * 1024, 1} }, |
| 9855 | .block_erase = erase_chip_block_jedec, |
| 9856 | }, |
| 9857 | }, |
| 9858 | .write = write_jedec_1, |
| 9859 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9860 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9861 | }, |
| 9862 | |
| 9863 | { |
| 9864 | .vendor = "SyncMOS/MoselVitelic", |
| 9865 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9866 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9867 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9868 | .model_id = SM_MVC_29C51004T, |
| 9869 | .total_size = 512, |
| 9870 | .page_size = 1024, |
| 9871 | .feature_bits = FEATURE_EITHER_RESET, |
| 9872 | .tested = TEST_UNTESTED, |
| 9873 | .probe = probe_jedec, |
| 9874 | .probe_timing = TIMING_ZERO, |
| 9875 | .block_erasers = |
| 9876 | { |
| 9877 | { |
| 9878 | .eraseblocks = { {1024, 512} }, |
| 9879 | .block_erase = erase_sector_jedec, |
| 9880 | }, { |
| 9881 | .eraseblocks = { {512 * 1024, 1} }, |
| 9882 | .block_erase = erase_chip_block_jedec, |
| 9883 | }, |
| 9884 | }, |
| 9885 | .write = write_jedec_1, |
| 9886 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9887 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9888 | }, |
| 9889 | |
| 9890 | { |
| 9891 | .vendor = "SyncMOS/MoselVitelic", |
| 9892 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9893 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9894 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9895 | .model_id = SM_MVC_29C31004B, |
| 9896 | .total_size = 512, |
| 9897 | .page_size = 1024, |
| 9898 | .feature_bits = FEATURE_EITHER_RESET, |
| 9899 | .tested = TEST_UNTESTED, |
| 9900 | .probe = probe_jedec, |
| 9901 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 9902 | .block_erasers = |
| 9903 | { |
| 9904 | { |
| 9905 | .eraseblocks = { {1024, 512} }, |
| 9906 | .block_erase = erase_sector_jedec, |
| 9907 | }, { |
| 9908 | .eraseblocks = { {512 * 1024, 1} }, |
| 9909 | .block_erase = erase_chip_block_jedec, |
| 9910 | }, |
| 9911 | }, |
| 9912 | .write = write_jedec_1, |
| 9913 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9914 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9915 | }, |
| 9916 | |
| 9917 | { |
| 9918 | .vendor = "SyncMOS/MoselVitelic", |
| 9919 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9920 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 9921 | .manufacture_id = SYNCMOS_MVC_ID, |
| 9922 | .model_id = SM_MVC_29C31004T, |
| 9923 | .total_size = 512, |
| 9924 | .page_size = 1024, |
| 9925 | .feature_bits = FEATURE_EITHER_RESET, |
| 9926 | .tested = TEST_UNTESTED, |
| 9927 | .probe = probe_jedec, |
| 9928 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 9929 | .block_erasers = |
| 9930 | { |
| 9931 | { |
| 9932 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9933 | .block_erase = erase_sector_jedec, |
| 9934 | }, { |
| 9935 | .eraseblocks = { {512 * 1024, 1} }, |
| 9936 | .block_erase = erase_chip_block_jedec, |
| 9937 | }, |
| 9938 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9939 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9940 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9941 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9942 | }, |
| 9943 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9944 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 9945 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9946 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9947 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9948 | .manufacture_id = TI_OLD_ID, |
| 9949 | .model_id = TI_TMS29F002RB, |
| 9950 | .total_size = 256, |
| 9951 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9952 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9953 | .tested = TEST_UNTESTED, |
| 9954 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9955 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9956 | .block_erasers = |
| 9957 | { |
| 9958 | { |
| 9959 | .eraseblocks = { |
| 9960 | {16 * 1024, 1}, |
| 9961 | {8 * 1024, 2}, |
| 9962 | {32 * 1024, 1}, |
| 9963 | {64 * 1024, 3}, |
| 9964 | }, |
| 9965 | .block_erase = erase_sector_jedec, |
| 9966 | }, { |
| 9967 | .eraseblocks = { {256 * 1024, 1} }, |
| 9968 | .block_erase = erase_chip_block_jedec, |
| 9969 | }, |
| 9970 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9971 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9972 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9973 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9974 | }, |
| 9975 | |
| 9976 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 9977 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9978 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9979 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9980 | .manufacture_id = TI_OLD_ID, |
| 9981 | .model_id = TI_TMS29F002RT, |
| 9982 | .total_size = 256, |
| 9983 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9984 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 9985 | .tested = TEST_UNTESTED, |
| 9986 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9987 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 9988 | .block_erasers = |
| 9989 | { |
| 9990 | { |
| 9991 | .eraseblocks = { |
| 9992 | {64 * 1024, 3}, |
| 9993 | {32 * 1024, 1}, |
| 9994 | {8 * 1024, 2}, |
| 9995 | {16 * 1024, 1}, |
| 9996 | }, |
| 9997 | .block_erase = erase_sector_jedec, |
| 9998 | }, { |
| 9999 | .eraseblocks = { {256 * 1024, 1} }, |
| 10000 | .block_erase = erase_chip_block_jedec, |
| 10001 | }, |
| 10002 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10003 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10004 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10005 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 10006 | }, |
| 10007 | |
| 10008 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10009 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10010 | .name = "W25Q80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10011 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10012 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10013 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10014 | .total_size = 1024, |
| 10015 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 10016 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 10017 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 10018 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10019 | .probe = probe_spi_rdid, |
| 10020 | .probe_timing = TIMING_ZERO, |
| 10021 | .block_erasers = |
| 10022 | { |
| 10023 | { |
| 10024 | .eraseblocks = { {4 * 1024, 256} }, |
| 10025 | .block_erase = spi_block_erase_20, |
| 10026 | }, { |
| 10027 | .eraseblocks = { {32 * 1024, 32} }, |
| 10028 | .block_erase = spi_block_erase_52, |
| 10029 | }, { |
| 10030 | .eraseblocks = { {64 * 1024, 16} }, |
| 10031 | .block_erase = spi_block_erase_d8, |
| 10032 | }, { |
| 10033 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10034 | .block_erase = spi_block_erase_60, |
| 10035 | }, { |
| 10036 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10037 | .block_erase = spi_block_erase_c7, |
| 10038 | } |
| 10039 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10040 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10041 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10042 | .write = spi_chip_write_256, |
| 10043 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10044 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10045 | }, |
| 10046 | |
| 10047 | { |
| 10048 | .vendor = "Winbond", |
| 10049 | .name = "W25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10050 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10051 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10052 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10053 | .total_size = 2048, |
| 10054 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 10055 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 10056 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 10057 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10058 | .probe = probe_spi_rdid, |
| 10059 | .probe_timing = TIMING_ZERO, |
| 10060 | .block_erasers = |
| 10061 | { |
| 10062 | { |
| 10063 | .eraseblocks = { {4 * 1024, 512} }, |
| 10064 | .block_erase = spi_block_erase_20, |
| 10065 | }, { |
| 10066 | .eraseblocks = { {32 * 1024, 64} }, |
| 10067 | .block_erase = spi_block_erase_52, |
| 10068 | }, { |
| 10069 | .eraseblocks = { {64 * 1024, 32} }, |
| 10070 | .block_erase = spi_block_erase_d8, |
| 10071 | }, { |
| 10072 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10073 | .block_erase = spi_block_erase_60, |
| 10074 | }, { |
| 10075 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10076 | .block_erase = spi_block_erase_c7, |
| 10077 | } |
| 10078 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10079 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10080 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10081 | .write = spi_chip_write_256, |
| 10082 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10083 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10084 | }, |
| 10085 | |
| 10086 | { |
| 10087 | .vendor = "Winbond", |
| 10088 | .name = "W25Q32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10089 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10090 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10091 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10092 | .total_size = 4096, |
| 10093 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 10094 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 10095 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 10096 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10097 | .probe = probe_spi_rdid, |
| 10098 | .probe_timing = TIMING_ZERO, |
| 10099 | .block_erasers = |
| 10100 | { |
| 10101 | { |
| 10102 | .eraseblocks = { {4 * 1024, 1024} }, |
| 10103 | .block_erase = spi_block_erase_20, |
| 10104 | }, { |
| 10105 | .eraseblocks = { {32 * 1024, 128} }, |
| 10106 | .block_erase = spi_block_erase_52, |
| 10107 | }, { |
| 10108 | .eraseblocks = { {64 * 1024, 64} }, |
| 10109 | .block_erase = spi_block_erase_d8, |
| 10110 | }, { |
| 10111 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10112 | .block_erase = spi_block_erase_60, |
| 10113 | }, { |
| 10114 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10115 | .block_erase = spi_block_erase_c7, |
| 10116 | } |
| 10117 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10118 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10119 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10120 | .write = spi_chip_write_256, |
| 10121 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10122 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 10123 | }, |
| 10124 | |
| 10125 | { |
| 10126 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10127 | .name = "W25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10128 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10129 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10130 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10131 | .total_size = 8192, |
| 10132 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 10133 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 10134 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 10135 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10136 | .probe = probe_spi_rdid, |
| 10137 | .probe_timing = TIMING_ZERO, |
| 10138 | .block_erasers = |
| 10139 | { |
| 10140 | { |
| 10141 | .eraseblocks = { {4 * 1024, 2048} }, |
| 10142 | .block_erase = spi_block_erase_20, |
| 10143 | }, { |
| 10144 | .eraseblocks = { {32 * 1024, 256} }, |
| 10145 | .block_erase = spi_block_erase_52, |
| 10146 | }, { |
| 10147 | .eraseblocks = { {64 * 1024, 128} }, |
| 10148 | .block_erase = spi_block_erase_d8, |
| 10149 | }, { |
| 10150 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10151 | .block_erase = spi_block_erase_60, |
| 10152 | }, { |
| 10153 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10154 | .block_erase = spi_block_erase_c7, |
| 10155 | } |
| 10156 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10157 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10158 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 10159 | .write = spi_chip_write_256, |
| 10160 | .read = spi_chip_read, |
| 10161 | }, |
| 10162 | |
| 10163 | { |
| 10164 | .vendor = "Winbond", |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10165 | .name = "W25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10166 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10167 | .manufacture_id = WINBOND_NEX_ID, |
| 10168 | .model_id = WINBOND_NEX_W25Q128, |
| 10169 | .total_size = 16384, |
| 10170 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 10171 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 10172 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10173 | .tested = TEST_OK_PROBE, |
| 10174 | .probe = probe_spi_rdid, |
| 10175 | .probe_timing = TIMING_ZERO, |
| 10176 | .block_erasers = |
| 10177 | { |
| 10178 | { |
| 10179 | .eraseblocks = { {4 * 1024, 4096} }, |
| 10180 | .block_erase = spi_block_erase_20, |
| 10181 | }, { |
| 10182 | .eraseblocks = { {32 * 1024, 512} }, |
| 10183 | .block_erase = spi_block_erase_52, |
| 10184 | }, { |
| 10185 | .eraseblocks = { {64 * 1024, 256} }, |
| 10186 | .block_erase = spi_block_erase_d8, |
| 10187 | }, { |
| 10188 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 10189 | .block_erase = spi_block_erase_60, |
| 10190 | }, { |
| 10191 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 10192 | .block_erase = spi_block_erase_c7, |
| 10193 | } |
| 10194 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10195 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10196 | .unlock = spi_disable_blockprotect, |
| 10197 | .write = spi_chip_write_256, |
| 10198 | .read = spi_chip_read, |
| 10199 | }, |
| 10200 | |
| 10201 | { |
| 10202 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10203 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10204 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10205 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10206 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10207 | .total_size = 128, |
| 10208 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10209 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | e34e3e8 | 2013-01-01 00:06:51 +0000 | [diff] [blame] | 10210 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10211 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10212 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10213 | .block_erasers = |
| 10214 | { |
| 10215 | { |
| 10216 | .eraseblocks = { {4 * 1024, 32} }, |
| 10217 | .block_erase = spi_block_erase_20, |
| 10218 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10219 | .eraseblocks = { {64 * 1024, 2} }, |
| 10220 | .block_erase = spi_block_erase_d8, |
| 10221 | }, { |
| 10222 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10223 | .block_erase = spi_block_erase_c7, |
| 10224 | } |
| 10225 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10226 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10227 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10228 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10229 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10230 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10231 | }, |
| 10232 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10233 | { |
| 10234 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10235 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10236 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10237 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10238 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10239 | .total_size = 256, |
| 10240 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10241 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10242 | .tested = TEST_UNTESTED, |
| 10243 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10244 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10245 | .block_erasers = |
| 10246 | { |
| 10247 | { |
| 10248 | .eraseblocks = { {4 * 1024, 64} }, |
| 10249 | .block_erase = spi_block_erase_20, |
| 10250 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10251 | .eraseblocks = { {64 * 1024, 4} }, |
| 10252 | .block_erase = spi_block_erase_d8, |
| 10253 | }, { |
| 10254 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10255 | .block_erase = spi_block_erase_c7, |
| 10256 | } |
| 10257 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10258 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10259 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10260 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10261 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10262 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10263 | }, |
| 10264 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10265 | { |
| 10266 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10267 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10268 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10269 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10270 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10271 | .total_size = 512, |
| 10272 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10273 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 10274 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10275 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10276 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10277 | .block_erasers = |
| 10278 | { |
| 10279 | { |
| 10280 | .eraseblocks = { {4 * 1024, 128} }, |
| 10281 | .block_erase = spi_block_erase_20, |
| 10282 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10283 | .eraseblocks = { {64 * 1024, 8} }, |
| 10284 | .block_erase = spi_block_erase_d8, |
| 10285 | }, { |
| 10286 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10287 | .block_erase = spi_block_erase_c7, |
| 10288 | } |
| 10289 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10290 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10291 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10292 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10293 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10294 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10295 | }, |
| 10296 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10297 | { |
| 10298 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10299 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10300 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10301 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10302 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10303 | .total_size = 1024, |
| 10304 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10305 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 10306 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10307 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 10308 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10309 | .block_erasers = |
| 10310 | { |
| 10311 | { |
| 10312 | .eraseblocks = { {4 * 1024, 256} }, |
| 10313 | .block_erase = spi_block_erase_20, |
| 10314 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10315 | .eraseblocks = { {64 * 1024, 16} }, |
| 10316 | .block_erase = spi_block_erase_d8, |
| 10317 | }, { |
| 10318 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10319 | .block_erase = spi_block_erase_c7, |
| 10320 | } |
| 10321 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10322 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10323 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 10324 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10325 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10326 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10327 | }, |
| 10328 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10329 | { |
| 10330 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10331 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10332 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 10333 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10334 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 10335 | .total_size = 2048, |
| 10336 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10337 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 10338 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 10339 | .probe = probe_spi_rdid, |
| 10340 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10341 | .block_erasers = |
| 10342 | { |
| 10343 | { |
| 10344 | .eraseblocks = { {4 * 1024, 512} }, |
| 10345 | .block_erase = spi_block_erase_20, |
| 10346 | }, { |
| 10347 | .eraseblocks = { {32 * 1024, 64} }, |
| 10348 | .block_erase = spi_block_erase_52, |
| 10349 | }, { |
| 10350 | .eraseblocks = { {64 * 1024, 32} }, |
| 10351 | .block_erase = spi_block_erase_d8, |
| 10352 | }, { |
| 10353 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10354 | .block_erase = spi_block_erase_60, |
| 10355 | }, { |
| 10356 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 10357 | .block_erase = spi_block_erase_c7, |
| 10358 | } |
| 10359 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10360 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10361 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 10362 | .write = spi_chip_write_256, |
| 10363 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10364 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 10365 | }, |
| 10366 | |
| 10367 | { |
| 10368 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10369 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10370 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10371 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10372 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10373 | .total_size = 4096, |
| 10374 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10375 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10376 | .tested = TEST_OK_PROBE, |
| 10377 | .probe = probe_spi_rdid, |
| 10378 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10379 | .block_erasers = |
| 10380 | { |
| 10381 | { |
| 10382 | .eraseblocks = { {4 * 1024, 1024} }, |
| 10383 | .block_erase = spi_block_erase_20, |
| 10384 | }, { |
| 10385 | .eraseblocks = { {32 * 1024, 128} }, |
| 10386 | .block_erase = spi_block_erase_52, |
| 10387 | }, { |
| 10388 | .eraseblocks = { {64 * 1024, 64} }, |
| 10389 | .block_erase = spi_block_erase_d8, |
| 10390 | }, { |
| 10391 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10392 | .block_erase = spi_block_erase_60, |
| 10393 | }, { |
| 10394 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 10395 | .block_erase = spi_block_erase_c7, |
| 10396 | } |
| 10397 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10398 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10399 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10400 | .write = spi_chip_write_256, |
| 10401 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10402 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10403 | }, |
| 10404 | |
| 10405 | { |
| 10406 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10407 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10408 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10409 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10410 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10411 | .total_size = 8192, |
| 10412 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 10413 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10414 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10415 | .probe = probe_spi_rdid, |
| 10416 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10417 | .block_erasers = |
| 10418 | { |
| 10419 | { |
| 10420 | .eraseblocks = { {4 * 1024, 2048} }, |
| 10421 | .block_erase = spi_block_erase_20, |
| 10422 | }, { |
| 10423 | .eraseblocks = { {32 * 1024, 256} }, |
| 10424 | .block_erase = spi_block_erase_52, |
| 10425 | }, { |
| 10426 | .eraseblocks = { {64 * 1024, 128} }, |
| 10427 | .block_erase = spi_block_erase_d8, |
| 10428 | }, { |
| 10429 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10430 | .block_erase = spi_block_erase_60, |
| 10431 | }, { |
| 10432 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 10433 | .block_erase = spi_block_erase_c7, |
| 10434 | } |
| 10435 | }, |
Stefan Tauner | 6ee37e2 | 2012-12-29 15:03:51 +0000 | [diff] [blame] | 10436 | .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 10437 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10438 | .write = spi_chip_write_256, |
| 10439 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10440 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 10441 | }, |
| 10442 | |
| 10443 | { |
| 10444 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 10445 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10446 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 10447 | .manufacture_id = WINBOND_ID, |
| 10448 | .model_id = WINBOND_W29C010, |
| 10449 | .total_size = 128, |
| 10450 | .page_size = 128, |
| 10451 | .feature_bits = FEATURE_LONG_RESET, |
| 10452 | .tested = TEST_OK_PRE, |
| 10453 | .probe = probe_w29ee011, |
| 10454 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 10455 | .block_erasers = |
| 10456 | { |
| 10457 | { |
| 10458 | .eraseblocks = { {128 * 1024, 1} }, |
| 10459 | .block_erase = erase_chip_block_jedec, |
| 10460 | } |
| 10461 | }, |
| 10462 | .write = write_jedec, |
| 10463 | .read = read_memmapped, |
| 10464 | }, |
| 10465 | |
| 10466 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 10467 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10468 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10469 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10470 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10471 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10472 | .total_size = 128, |
| 10473 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10474 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 10475 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10476 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10477 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10478 | .block_erasers = |
| 10479 | { |
| 10480 | { |
| 10481 | .eraseblocks = { {128 * 1024, 1} }, |
| 10482 | .block_erase = erase_chip_block_jedec, |
| 10483 | } |
| 10484 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10485 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10486 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10487 | }, |
| 10488 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10489 | { |
| 10490 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10491 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10492 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10493 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10494 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10495 | .total_size = 256, |
| 10496 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10497 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10498 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10499 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10500 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10501 | .block_erasers = |
| 10502 | { |
| 10503 | { |
| 10504 | .eraseblocks = { {256 * 1024, 1} }, |
| 10505 | .block_erase = erase_chip_block_jedec, |
| 10506 | } |
| 10507 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10508 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10509 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10510 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10511 | }, |
| 10512 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10513 | { |
| 10514 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10515 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10516 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10517 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10518 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10519 | .total_size = 512, |
| 10520 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10521 | .feature_bits = FEATURE_LONG_RESET, |
| 10522 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10523 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 10524 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10525 | .block_erasers = |
| 10526 | { |
| 10527 | { |
| 10528 | .eraseblocks = { {512 * 1024, 1} }, |
| 10529 | .block_erase = erase_chip_block_jedec, |
| 10530 | } |
| 10531 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10532 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10533 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10534 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10535 | }, |
| 10536 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10537 | { |
| 10538 | .vendor = "Winbond", |
Kyösti Mälkki | c31243e | 2012-10-28 01:50:08 +0000 | [diff] [blame] | 10539 | .name = "W39F010", |
| 10540 | .bustype = BUS_PARALLEL, |
| 10541 | .manufacture_id = WINBOND_ID, |
| 10542 | .model_id = WINBOND_W39F010, |
| 10543 | .total_size = 128, |
| 10544 | .page_size = 4 * 1024, |
| 10545 | .feature_bits = FEATURE_EITHER_RESET, |
| 10546 | .tested = TEST_OK_PREW, |
| 10547 | .probe = probe_jedec, |
| 10548 | .probe_timing = 10, |
| 10549 | .block_erasers = |
| 10550 | { |
| 10551 | { |
| 10552 | .eraseblocks = { {4 * 1024, 32} }, |
| 10553 | .block_erase = erase_block_jedec, |
| 10554 | }, { |
| 10555 | .eraseblocks = { {128 * 1024, 1} }, |
| 10556 | .block_erase = erase_chip_block_jedec, |
| 10557 | } |
| 10558 | }, |
| 10559 | .printlock = printlock_w39f010, |
| 10560 | .write = write_jedec_1, |
| 10561 | .read = read_memmapped, |
| 10562 | .voltage = {4500, 5500}, |
| 10563 | }, |
| 10564 | |
| 10565 | { |
| 10566 | .vendor = "Winbond", |
| 10567 | .name = "W39L010", |
| 10568 | .bustype = BUS_PARALLEL, |
| 10569 | .manufacture_id = WINBOND_ID, |
| 10570 | .model_id = WINBOND_W39L010, |
| 10571 | .total_size = 128, |
| 10572 | .page_size = 4 * 1024, |
| 10573 | .feature_bits = FEATURE_EITHER_RESET, |
| 10574 | .tested = TEST_UNTESTED, |
| 10575 | .probe = probe_jedec, |
| 10576 | .probe_timing = 10, |
| 10577 | .block_erasers = |
| 10578 | { |
| 10579 | { |
| 10580 | .eraseblocks = { {4 * 1024, 32} }, |
| 10581 | .block_erase = erase_block_jedec, |
| 10582 | }, { |
| 10583 | .eraseblocks = { {128 * 1024, 1} }, |
| 10584 | .block_erase = erase_chip_block_jedec, |
| 10585 | } |
| 10586 | }, |
| 10587 | .printlock = printlock_w39l010, |
| 10588 | .write = write_jedec_1, |
| 10589 | .read = read_memmapped, |
| 10590 | .voltage = {3000, 3600}, |
| 10591 | }, |
| 10592 | |
| 10593 | { |
| 10594 | .vendor = "Winbond", |
| 10595 | .name = "W39L020", |
| 10596 | .bustype = BUS_PARALLEL, |
| 10597 | .manufacture_id = WINBOND_ID, |
| 10598 | .model_id = WINBOND_W39L020, |
| 10599 | .total_size = 256, |
| 10600 | .page_size = 4 * 1024, |
| 10601 | .feature_bits = FEATURE_EITHER_RESET, |
| 10602 | .tested = TEST_UNTESTED, |
| 10603 | .probe = probe_jedec, |
| 10604 | .probe_timing = 10, |
| 10605 | .block_erasers = |
| 10606 | { |
| 10607 | { |
| 10608 | .eraseblocks = { {4 * 1024, 64} }, |
| 10609 | .block_erase = erase_block_jedec, |
| 10610 | }, { |
| 10611 | .eraseblocks = { {64 * 1024, 4} }, |
| 10612 | .block_erase = erase_sector_jedec, |
| 10613 | }, { |
| 10614 | .eraseblocks = { {256 * 1024, 1} }, |
| 10615 | .block_erase = erase_chip_block_jedec, |
| 10616 | } |
| 10617 | }, |
| 10618 | .printlock = printlock_w39l020, |
| 10619 | .write = write_jedec_1, |
| 10620 | .read = read_memmapped, |
| 10621 | .voltage = {3000, 3600}, |
| 10622 | }, |
| 10623 | |
| 10624 | { |
| 10625 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 10626 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10627 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 10628 | .manufacture_id = WINBOND_ID, |
| 10629 | .model_id = WINBOND_W39L040, |
| 10630 | .total_size = 512, |
| 10631 | .page_size = 64 * 1024, |
| 10632 | .feature_bits = FEATURE_EITHER_RESET, |
| 10633 | .tested = TEST_OK_PR, |
| 10634 | .probe = probe_jedec, |
| 10635 | .probe_timing = 10, |
| 10636 | .block_erasers = |
| 10637 | { |
| 10638 | { |
| 10639 | .eraseblocks = { {4 * 1024, 128} }, |
| 10640 | .block_erase = erase_block_jedec, |
| 10641 | }, { |
| 10642 | .eraseblocks = { {64 * 1024, 8} }, |
| 10643 | .block_erase = erase_sector_jedec, |
| 10644 | }, { |
| 10645 | .eraseblocks = { {512 * 1024, 1} }, |
| 10646 | .block_erase = erase_chip_block_jedec, |
| 10647 | } |
| 10648 | }, |
| 10649 | .printlock = printlock_w39l040, |
| 10650 | .write = write_jedec_1, |
| 10651 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 10652 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 10653 | }, |
| 10654 | |
| 10655 | { |
| 10656 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10657 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10658 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10659 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10660 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10661 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 10662 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10663 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 10664 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10665 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 10666 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10667 | .block_erasers = |
| 10668 | { |
| 10669 | { |
| 10670 | .eraseblocks = { {64 * 1024, 8} }, |
| 10671 | .block_erase = erase_sector_jedec, |
| 10672 | }, { |
| 10673 | .eraseblocks = { {512 * 1024, 1} }, |
| 10674 | .block_erase = erase_chip_block_jedec, |
| 10675 | } |
| 10676 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10677 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10678 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10679 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10680 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10681 | }, |
| 10682 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10683 | { |
| 10684 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10685 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10686 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10687 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10688 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10689 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 10690 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10691 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 10692 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10693 | .probe = probe_jedec, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 10694 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10695 | .block_erasers = |
| 10696 | { |
| 10697 | { |
| 10698 | .eraseblocks = { {64 * 1024, 8} }, |
| 10699 | .block_erase = erase_sector_jedec, |
| 10700 | }, { |
| 10701 | .eraseblocks = { {512 * 1024, 1} }, |
| 10702 | .block_erase = erase_chip_block_jedec, |
| 10703 | } |
| 10704 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10705 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10706 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10707 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10708 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10709 | }, |
| 10710 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10711 | { |
| 10712 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10713 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10714 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10715 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10716 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10717 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 10718 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10719 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 10720 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10721 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10722 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10723 | .block_erasers = |
| 10724 | { |
| 10725 | { |
| 10726 | .eraseblocks = { {64 * 1024, 8} }, |
| 10727 | .block_erase = erase_sector_jedec, |
| 10728 | }, { |
| 10729 | .eraseblocks = { {512 * 1024, 1} }, |
| 10730 | .block_erase = erase_chip_block_jedec, |
| 10731 | } |
| 10732 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 10733 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10734 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10735 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10736 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10737 | }, |
| 10738 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10739 | { |
| 10740 | .vendor = "Winbond", |
| 10741 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10742 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10743 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10744 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10745 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 10746 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 10747 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10748 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10749 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 10750 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10751 | .block_erasers = |
| 10752 | { |
| 10753 | { |
| 10754 | .eraseblocks = { {4 * 1024, 128} }, |
| 10755 | .block_erase = erase_block_jedec, |
| 10756 | }, { |
| 10757 | .eraseblocks = { {64 * 1024, 8} }, |
| 10758 | .block_erase = erase_sector_jedec, |
| 10759 | }, { |
| 10760 | .eraseblocks = { {512 * 1024, 1} }, |
| 10761 | .block_erase = erase_chip_block_jedec, |
| 10762 | } |
| 10763 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10764 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 10765 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10766 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10767 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10768 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10769 | }, |
| 10770 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10771 | { |
| 10772 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10773 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10774 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10775 | .manufacture_id = WINBOND_ID, |
| 10776 | .model_id = WINBOND_W39V040B, |
| 10777 | .total_size = 512, |
| 10778 | .page_size = 64 * 1024, |
| 10779 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 10780 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10781 | .probe = probe_jedec, |
| 10782 | .probe_timing = 10, |
| 10783 | .block_erasers = |
| 10784 | { |
| 10785 | { |
| 10786 | .eraseblocks = { {64 * 1024, 8} }, |
| 10787 | .block_erase = erase_sector_jedec, |
| 10788 | }, { |
| 10789 | .eraseblocks = { {512 * 1024, 1} }, |
| 10790 | .block_erase = erase_chip_block_jedec, |
| 10791 | } |
| 10792 | }, |
| 10793 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 10794 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10795 | .write = write_jedec_1, |
| 10796 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 10797 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10798 | }, |
| 10799 | |
| 10800 | { |
| 10801 | .vendor = "Winbond", |
| 10802 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10803 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10804 | .manufacture_id = WINBOND_ID, |
| 10805 | .model_id = WINBOND_W39V040C, |
| 10806 | .total_size = 512, |
| 10807 | .page_size = 64 * 1024, |
| 10808 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 10809 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10810 | .probe = probe_jedec, |
| 10811 | .probe_timing = 10, |
| 10812 | .block_erasers = |
| 10813 | { |
| 10814 | { |
| 10815 | .eraseblocks = { {64 * 1024, 8} }, |
| 10816 | .block_erase = erase_sector_jedec, |
| 10817 | }, { |
| 10818 | .eraseblocks = { {512 * 1024, 1} }, |
| 10819 | .block_erase = erase_chip_block_jedec, |
| 10820 | } |
| 10821 | }, |
| 10822 | .printlock = printlock_w39v040fc, |
| 10823 | .write = write_jedec_1, |
| 10824 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 10825 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10826 | }, |
| 10827 | |
| 10828 | { |
| 10829 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10830 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10831 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10832 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10833 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10834 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 10835 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10836 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 10837 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10838 | .probe = probe_jedec, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 10839 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10840 | .block_erasers = |
| 10841 | { |
| 10842 | { |
| 10843 | .eraseblocks = { {64 * 1024, 16} }, |
| 10844 | .block_erase = erase_sector_jedec, |
| 10845 | }, { |
| 10846 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10847 | .block_erase = erase_chip_block_jedec, |
| 10848 | } |
| 10849 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10850 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10851 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10852 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10853 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10854 | }, |
| 10855 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10856 | { |
| 10857 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10858 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10859 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10860 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10861 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10862 | .total_size = 256, |
| 10863 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10864 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 10865 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10866 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10867 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10868 | .block_erasers = |
| 10869 | { |
| 10870 | { |
| 10871 | .eraseblocks = { |
| 10872 | {128 * 1024, 1}, |
| 10873 | {96 * 1024, 1}, |
| 10874 | {8 * 1024, 2}, |
| 10875 | {16 * 1024, 1}, |
| 10876 | }, |
| 10877 | .block_erase = erase_sector_jedec, |
| 10878 | }, { |
| 10879 | .eraseblocks = { {256 * 1024, 1} }, |
| 10880 | .block_erase = erase_chip_block_jedec, |
| 10881 | } |
| 10882 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10883 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10884 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10885 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10886 | }, |
| 10887 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10888 | { |
| 10889 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 10890 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10891 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 10892 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10893 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 10894 | .total_size = 256, |
| 10895 | .page_size = 128, |
| 10896 | .feature_bits = FEATURE_EITHER_RESET, |
| 10897 | .tested = TEST_OK_PROBE, |
| 10898 | .probe = probe_jedec, |
| 10899 | .probe_timing = 10, |
| 10900 | .block_erasers = |
| 10901 | { |
| 10902 | { |
| 10903 | .eraseblocks = { {256 * 1024, 1} }, |
| 10904 | .block_erase = erase_chip_block_jedec, |
| 10905 | } |
| 10906 | }, |
| 10907 | .write = write_jedec_1, |
| 10908 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10909 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 10910 | }, |
| 10911 | |
| 10912 | { |
| 10913 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10914 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10915 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10916 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10917 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10918 | .total_size = 256, |
| 10919 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10920 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10921 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10922 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 10923 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10924 | .block_erasers = |
| 10925 | { |
| 10926 | { |
| 10927 | .eraseblocks = { |
| 10928 | {64 * 1024, 3}, |
| 10929 | {32 * 1024, 1}, |
| 10930 | {8 * 1024, 2}, |
| 10931 | {16 * 1024, 1}, |
| 10932 | }, |
| 10933 | .block_erase = erase_sector_jedec, |
| 10934 | }, { |
| 10935 | .eraseblocks = { {256 * 1024, 1} }, |
| 10936 | .block_erase = erase_chip_block_jedec, |
| 10937 | } |
| 10938 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10939 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10940 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10941 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10942 | }, |
| 10943 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10944 | { |
| 10945 | .vendor = "Winbond", |
| 10946 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10947 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10948 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10949 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10950 | .total_size = 256, |
| 10951 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10952 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 10953 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10954 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 10955 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10956 | .block_erasers = |
| 10957 | { |
| 10958 | { |
| 10959 | .eraseblocks = { |
| 10960 | {64 * 1024, 3}, |
| 10961 | {32 * 1024, 1}, |
| 10962 | {8 * 1024, 2}, |
| 10963 | {16 * 1024, 1}, |
| 10964 | }, |
| 10965 | .block_erase = erase_sector_jedec, |
| 10966 | }, { |
| 10967 | .eraseblocks = { {256 * 1024, 1} }, |
| 10968 | .block_erase = erase_chip_block_jedec, |
| 10969 | } |
| 10970 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10971 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 10972 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 10973 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 10974 | }, |
| 10975 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10976 | { |
| 10977 | .vendor = "Winbond", |
| 10978 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 10979 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10980 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 10981 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 10982 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 10983 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 10984 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 10985 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 10986 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10987 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 10988 | .block_erasers = |
| 10989 | { |
| 10990 | { |
| 10991 | .eraseblocks = { {64 * 1024, 16}, }, |
| 10992 | .block_erase = erase_sector_jedec, |
| 10993 | }, { |
| 10994 | .eraseblocks = { {1024 * 1024, 1} }, |
| 10995 | .block_erase = erase_chip_block_jedec, |
| 10996 | } |
| 10997 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 10998 | .printlock = printlock_w39v080fa, |
| 10999 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11000 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11001 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 11002 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11003 | }, |
| 11004 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11005 | { |
| 11006 | .vendor = "Winbond", |
| 11007 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11008 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11009 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 11010 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11011 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 11012 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11013 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11014 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 11015 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11016 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 11017 | .block_erasers = |
| 11018 | { |
| 11019 | { |
| 11020 | .eraseblocks = { {64 * 1024, 8}, }, |
| 11021 | .block_erase = erase_sector_jedec, |
| 11022 | }, { |
| 11023 | .eraseblocks = { {512 * 1024, 1} }, |
| 11024 | .block_erase = erase_chip_block_jedec, |
| 11025 | } |
| 11026 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 11027 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 11028 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11029 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 11030 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11031 | }, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 11032 | |
| 11033 | { |
| 11034 | .vendor = "Unknown", |
| 11035 | .name = "SFDP-capable chip", |
| 11036 | .bustype = BUS_SPI, |
| 11037 | .manufacture_id = GENERIC_MANUF_ID, |
| 11038 | .model_id = SFDP_DEVICE_ID, |
| 11039 | /* We present our own "report this" text hence we do not |
| 11040 | * want the default "This flash part has status UNTESTED..." |
| 11041 | * text to be printed. */ |
| 11042 | .tested = TEST_OK_PREW, |
| 11043 | .probe = probe_spi_sfdp, |
| 11044 | .unlock = spi_disable_blockprotect, /* is this safe? */ |
| 11045 | .read = spi_chip_read, |
| 11046 | /* FIXME: some vendor extensions define this */ |
Carl-Daniel Hailfinger | 1c6d2ff | 2012-08-27 00:44:42 +0000 | [diff] [blame] | 11047 | .voltage = {0}, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 11048 | /* Everything below will be set by the probing function. */ |
| 11049 | .write = NULL, |
| 11050 | .total_size = 0, |
| 11051 | .page_size = 0, |
| 11052 | .feature_bits = 0, |
| 11053 | .block_erasers = {}, |
| 11054 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11055 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11056 | { |
Carl-Daniel Hailfinger | 532c717 | 2011-11-04 21:35:26 +0000 | [diff] [blame] | 11057 | .vendor = "Programmer", |
| 11058 | .name = "Opaque flash chip", |
| 11059 | .bustype = BUS_PROG, |
| 11060 | .manufacture_id = PROGMANUF_ID, |
| 11061 | .model_id = PROGDEV_ID, |
| 11062 | .total_size = 0, |
| 11063 | .page_size = 256, |
| 11064 | /* probe is assumed to work, rest will be filled in by probe */ |
| 11065 | .tested = TEST_OK_PROBE, |
| 11066 | .probe = probe_opaque, |
| 11067 | /* eraseblock sizes will be set by the probing function */ |
| 11068 | .block_erasers = |
| 11069 | { |
| 11070 | { |
| 11071 | .block_erase = erase_opaque, |
| 11072 | } |
| 11073 | }, |
| 11074 | .write = write_opaque, |
| 11075 | .read = read_opaque, |
| 11076 | }, |
| 11077 | |
| 11078 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 11079 | .vendor = "AMIC", |
| 11080 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11081 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 11082 | .manufacture_id = AMIC_ID, |
| 11083 | .model_id = GENERIC_DEVICE_ID, |
| 11084 | .total_size = 0, |
| 11085 | .page_size = 256, |
| 11086 | .tested = TEST_BAD_PREW, |
| 11087 | .probe = probe_spi_rdid4, |
| 11088 | .probe_timing = TIMING_ZERO, |
| 11089 | .write = NULL, |
| 11090 | .read = NULL, |
| 11091 | }, |
| 11092 | |
| 11093 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11094 | .vendor = "Atmel", |
| 11095 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11096 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11097 | .manufacture_id = ATMEL_ID, |
| 11098 | .model_id = GENERIC_DEVICE_ID, |
| 11099 | .total_size = 0, |
| 11100 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11101 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11102 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11103 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11104 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11105 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11106 | }, |
| 11107 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11108 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 11109 | .vendor = "Eon", |
| 11110 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11111 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11112 | .manufacture_id = EON_ID_NOPREFIX, |
| 11113 | .model_id = GENERIC_DEVICE_ID, |
| 11114 | .total_size = 0, |
| 11115 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11116 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11117 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11118 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11119 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11120 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11121 | }, |
| 11122 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11123 | { |
| 11124 | .vendor = "Macronix", |
| 11125 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11126 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 11127 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11128 | .model_id = GENERIC_DEVICE_ID, |
| 11129 | .total_size = 0, |
| 11130 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11131 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11132 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11133 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11134 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11135 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11136 | }, |
| 11137 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11138 | { |
| 11139 | .vendor = "PMC", |
| 11140 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11141 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11142 | .manufacture_id = PMC_ID, |
| 11143 | .model_id = GENERIC_DEVICE_ID, |
| 11144 | .total_size = 0, |
| 11145 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11146 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11147 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11148 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11149 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11150 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11151 | }, |
| 11152 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11153 | { |
| 11154 | .vendor = "SST", |
| 11155 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11156 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11157 | .manufacture_id = SST_ID, |
| 11158 | .model_id = GENERIC_DEVICE_ID, |
| 11159 | .total_size = 0, |
| 11160 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11161 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11162 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11163 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11164 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11165 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11166 | }, |
| 11167 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11168 | { |
| 11169 | .vendor = "ST", |
| 11170 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11171 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11172 | .manufacture_id = ST_ID, |
| 11173 | .model_id = GENERIC_DEVICE_ID, |
| 11174 | .total_size = 0, |
| 11175 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 11176 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11177 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 11178 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11179 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 11180 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 11181 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 11182 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11183 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 11184 | .vendor = "Sanyo", |
| 11185 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11186 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 11187 | .manufacture_id = SANYO_ID, |
| 11188 | .model_id = GENERIC_DEVICE_ID, |
| 11189 | .total_size = 0, |
| 11190 | .page_size = 256, |
| 11191 | .tested = TEST_BAD_PREW, |
| 11192 | .probe = probe_spi_rdid, |
| 11193 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 11194 | .write = NULL, |
| 11195 | .read = NULL, |
| 11196 | }, |
| 11197 | |
| 11198 | { |
Stefan Tauner | eb58257 | 2012-09-21 12:52:50 +0000 | [diff] [blame] | 11199 | .vendor = "Winbond", |
| 11200 | .name = "unknown Winbond (ex Nexcom) SPI chip", |
| 11201 | .bustype = BUS_SPI, |
| 11202 | .manufacture_id = WINBOND_NEX_ID, |
| 11203 | .model_id = GENERIC_DEVICE_ID, |
| 11204 | .total_size = 0, |
| 11205 | .page_size = 256, |
| 11206 | .tested = TEST_BAD_PREW, |
| 11207 | .probe = probe_spi_rdid, |
| 11208 | .probe_timing = TIMING_ZERO, |
| 11209 | .write = NULL, |
| 11210 | .read = NULL, |
| 11211 | }, |
| 11212 | |
| 11213 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11214 | .vendor = "Generic", |
| 11215 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11216 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11217 | .manufacture_id = GENERIC_MANUF_ID, |
| 11218 | .model_id = GENERIC_DEVICE_ID, |
| 11219 | .total_size = 0, |
| 11220 | .page_size = 256, |
| 11221 | .tested = TEST_BAD_PREW, |
| 11222 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11223 | .write = NULL, |
| 11224 | }, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 11225 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11226 | { |
| 11227 | .vendor = "Generic", |
| 11228 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 11229 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11230 | .manufacture_id = GENERIC_MANUF_ID, |
| 11231 | .model_id = GENERIC_DEVICE_ID, |
| 11232 | .total_size = 0, |
| 11233 | .page_size = 256, |
| 11234 | .tested = TEST_BAD_PREW, |
| 11235 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 11236 | .write = NULL, |
| 11237 | }, |
| 11238 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 11239 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 11240 | }; |