Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Sean Nelson | c57a920 | 2010-01-04 17:15:23 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 9 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 14 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 19 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #include "flash.h" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 26 | #include "flashchips.h" |
Sean Nelson | 14ba668 | 2010-02-26 05:48:29 +0000 | [diff] [blame] | 27 | #include "chipdrivers.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 30 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 31 | * |
| 32 | * Please keep the list sorted by vendor name and chip name, so that |
| 33 | * the output of 'flashrom -L' is alphabetically sorted. |
| 34 | */ |
Carl-Daniel Hailfinger | 4c82318 | 2011-05-04 00:39:50 +0000 | [diff] [blame] | 35 | const struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 36 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 37 | /* |
| 38 | * .vendor = Vendor name |
| 39 | * .name = Chip name |
| 40 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 41 | * .manufacture_id = Manufacturer chip ID |
| 42 | * .model_id = Model chip ID |
| 43 | * .total_size = Total size in (binary) kbytes |
| 44 | * .page_size = Page or eraseblock(?) size in bytes |
| 45 | * .tested = Test status |
| 46 | * .probe = Probe function |
| 47 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 48 | * .block_erasers[] = Array of erase layouts and erase functions |
| 49 | * { |
| 50 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 51 | * .block_erase = Block erase function |
| 52 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 53 | * .printlock = Chip lock status function |
| 54 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 55 | * .write = Chip write function |
| 56 | * .read = Chip read function |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 57 | * .voltage = Voltage range in millivolt |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 58 | */ |
| 59 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 60 | { |
| 61 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 62 | .name = "Am29F010A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 63 | .bustype = BUS_PARALLEL, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 64 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 65 | .model_id = AMD_AM29F010B, /* Same as Am29F010A */ |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 66 | .total_size = 128, |
| 67 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 68 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 69 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 70 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 71 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 72 | .block_erasers = |
| 73 | { |
| 74 | { |
| 75 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 76 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 77 | }, { |
| 78 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 79 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 80 | }, |
| 81 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 82 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 83 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 84 | .voltage = {4500, 5500}, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 85 | }, |
| 86 | |
| 87 | { |
| 88 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .name = "Am29F002(N)BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 90 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 91 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 92 | .model_id = AMD_AM29F002BB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 93 | .total_size = 256, |
| 94 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 95 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 96 | .tested = TEST_UNTESTED, |
| 97 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 98 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 99 | .block_erasers = |
| 100 | { |
| 101 | { |
| 102 | .eraseblocks = { |
| 103 | {16 * 1024, 1}, |
| 104 | {8 * 1024, 2}, |
| 105 | {32 * 1024, 1}, |
| 106 | {64 * 1024, 3}, |
| 107 | }, |
| 108 | .block_erase = erase_sector_jedec, |
| 109 | }, { |
| 110 | .eraseblocks = { {256 * 1024, 1} }, |
| 111 | .block_erase = erase_chip_block_jedec, |
| 112 | }, |
| 113 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 114 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 115 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 116 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 117 | }, |
| 118 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 119 | { |
| 120 | .vendor = "AMD", |
| 121 | .name = "Am29F002(N)BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 122 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 123 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 124 | .model_id = AMD_AM29F002BT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 125 | .total_size = 256, |
| 126 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 127 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 128 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 129 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 130 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 131 | .block_erasers = |
| 132 | { |
| 133 | { |
| 134 | .eraseblocks = { |
| 135 | {64 * 1024, 3}, |
| 136 | {32 * 1024, 1}, |
| 137 | {8 * 1024, 2}, |
| 138 | {16 * 1024, 1}, |
| 139 | }, |
| 140 | .block_erase = erase_sector_jedec, |
| 141 | }, { |
| 142 | .eraseblocks = { {256 * 1024, 1} }, |
| 143 | .block_erase = erase_chip_block_jedec, |
| 144 | }, |
| 145 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 146 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 147 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 148 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 149 | }, |
| 150 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | { |
| 152 | .vendor = "AMD", |
| 153 | .name = "Am29F016D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 154 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 155 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 156 | .model_id = AMD_AM29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 157 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 158 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 159 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 160 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 161 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 162 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 163 | .block_erasers = |
| 164 | { |
| 165 | { |
| 166 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 167 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 168 | }, { |
| 169 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 170 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 171 | }, |
| 172 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 173 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 174 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 175 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 176 | }, |
| 177 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 178 | { |
| 179 | .vendor = "AMD", |
| 180 | .name = "Am29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 181 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 182 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 183 | .model_id = AMD_AM29F040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 184 | .total_size = 512, |
| 185 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 186 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 187 | .tested = TEST_UNTESTED, |
| 188 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 189 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | .block_erasers = |
| 191 | { |
| 192 | { |
| 193 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 194 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 195 | }, { |
| 196 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 197 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 198 | }, |
| 199 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 200 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 201 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 202 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 203 | }, |
| 204 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 205 | { |
| 206 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 207 | .name = "Am29F080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 208 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 209 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 210 | .model_id = AMD_AM29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 211 | .total_size = 1024, |
| 212 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 213 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 214 | .tested = TEST_UNTESTED, |
| 215 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 216 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 217 | .block_erasers = |
| 218 | { |
| 219 | { |
| 220 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 222 | }, { |
| 223 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 224 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 225 | }, |
| 226 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 227 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 228 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 229 | .voltage = {4500, 5500}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 230 | }, |
| 231 | |
| 232 | { |
| 233 | .vendor = "AMD", |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 234 | .name = "Am29LV001BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 235 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 236 | .manufacture_id = AMD_ID, |
| 237 | .model_id = AMD_AM29LV001BB, |
| 238 | .total_size = 128, |
| 239 | .page_size = 64 * 1024, /* unused */ |
| 240 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 241 | .tested = TEST_OK_PREW, |
| 242 | .probe = probe_jedec, |
| 243 | .probe_timing = TIMING_ZERO, |
| 244 | .block_erasers = |
| 245 | { |
| 246 | { |
| 247 | .eraseblocks = { |
| 248 | {8 * 1024, 1}, |
| 249 | {4 * 1024, 2}, |
| 250 | {16 * 1024, 7}, |
| 251 | }, |
| 252 | .block_erase = erase_sector_jedec, |
| 253 | }, { |
| 254 | .eraseblocks = { {128 * 1024, 1} }, |
| 255 | .block_erase = erase_chip_block_jedec, |
| 256 | }, |
| 257 | }, |
| 258 | .write = write_jedec_1, |
| 259 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 260 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -45R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 261 | }, |
| 262 | |
| 263 | { |
| 264 | .vendor = "AMD", |
| 265 | .name = "Am29LV001BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 266 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 267 | .manufacture_id = AMD_ID, |
| 268 | .model_id = AMD_AM29LV001BT, |
| 269 | .total_size = 128, |
| 270 | .page_size = 64 * 1024, /* unused */ |
| 271 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 272 | .tested = TEST_UNTESTED, |
| 273 | .probe = probe_jedec, |
| 274 | .probe_timing = TIMING_ZERO, |
| 275 | .block_erasers = |
| 276 | { |
| 277 | { |
| 278 | .eraseblocks = { |
| 279 | {16 * 1024, 7}, |
| 280 | {4 * 1024, 2}, |
| 281 | {8 * 1024, 1}, |
| 282 | }, |
| 283 | .block_erase = erase_sector_jedec, |
| 284 | }, { |
| 285 | .eraseblocks = { {128 * 1024, 1} }, |
| 286 | .block_erase = erase_chip_block_jedec, |
| 287 | }, |
| 288 | }, |
| 289 | .write = write_jedec_1, |
| 290 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 291 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -45R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 292 | }, |
| 293 | |
| 294 | { |
| 295 | .vendor = "AMD", |
| 296 | .name = "Am29LV002BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 297 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 298 | .manufacture_id = AMD_ID, |
| 299 | .model_id = AMD_AM29LV002BB, |
| 300 | .total_size = 256, |
| 301 | .page_size = 64 * 1024, /* unused */ |
| 302 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 303 | .tested = TEST_UNTESTED, |
| 304 | .probe = probe_jedec, |
| 305 | .probe_timing = TIMING_ZERO, |
| 306 | .block_erasers = |
| 307 | { |
| 308 | { |
| 309 | .eraseblocks = { |
| 310 | {16 * 1024, 1}, |
| 311 | {8 * 1024, 2}, |
| 312 | {32 * 1024, 1}, |
| 313 | {64 * 1024, 3}, |
| 314 | }, |
| 315 | .block_erase = erase_sector_jedec, |
| 316 | }, { |
| 317 | .eraseblocks = { {256 * 1024, 1} }, |
| 318 | .block_erase = erase_chip_block_jedec, |
| 319 | }, |
| 320 | }, |
| 321 | .write = write_jedec_1, |
| 322 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 323 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -55, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 324 | }, |
| 325 | |
| 326 | { |
| 327 | .vendor = "AMD", |
| 328 | .name = "Am29LV002BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 329 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 330 | .manufacture_id = AMD_ID, |
| 331 | .model_id = AMD_AM29LV002BT, |
| 332 | .total_size = 256, |
| 333 | .page_size = 64 * 1024, /* unused */ |
| 334 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 335 | .tested = TEST_UNTESTED, |
| 336 | .probe = probe_jedec, |
| 337 | .probe_timing = TIMING_ZERO, |
| 338 | .block_erasers = |
| 339 | { |
| 340 | { |
| 341 | .eraseblocks = { |
| 342 | {64 * 1024, 3}, |
| 343 | {32 * 1024, 1}, |
| 344 | {8 * 1024, 2}, |
| 345 | {16 * 1024, 1}, |
| 346 | }, |
| 347 | .block_erase = erase_sector_jedec, |
| 348 | }, { |
| 349 | .eraseblocks = { {256 * 1024, 1} }, |
| 350 | .block_erase = erase_chip_block_jedec, |
| 351 | }, |
| 352 | }, |
| 353 | .write = write_jedec_1, |
| 354 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 355 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -55, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 356 | }, |
| 357 | |
| 358 | { |
| 359 | .vendor = "AMD", |
| 360 | .name = "Am29LV004BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 361 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 362 | .manufacture_id = AMD_ID, |
| 363 | .model_id = AMD_AM29LV004BB, |
| 364 | .total_size = 512, |
| 365 | .page_size = 64 * 1024, /* unused */ |
| 366 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 367 | .tested = TEST_UNTESTED, |
| 368 | .probe = probe_jedec, |
| 369 | .probe_timing = TIMING_ZERO, |
| 370 | .block_erasers = |
| 371 | { |
| 372 | { |
| 373 | .eraseblocks = { |
| 374 | {16 * 1024, 1}, |
| 375 | {8 * 1024, 2}, |
| 376 | {32 * 1024, 1}, |
| 377 | {64 * 1024, 7}, |
| 378 | }, |
| 379 | .block_erase = erase_sector_jedec, |
| 380 | }, { |
| 381 | .eraseblocks = { {512 * 1024, 1} }, |
| 382 | .block_erase = erase_chip_block_jedec, |
| 383 | }, |
| 384 | }, |
| 385 | .write = write_jedec_1, |
| 386 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 387 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 388 | }, |
| 389 | |
| 390 | { |
| 391 | .vendor = "AMD", |
| 392 | .name = "Am29LV004BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 393 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 394 | .manufacture_id = AMD_ID, |
| 395 | .model_id = AMD_AM29LV004BT, |
| 396 | .total_size = 512, |
| 397 | .page_size = 64 * 1024, /* unused */ |
| 398 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 399 | .tested = TEST_UNTESTED, |
| 400 | .probe = probe_jedec, |
| 401 | .probe_timing = TIMING_ZERO, |
| 402 | .block_erasers = |
| 403 | { |
| 404 | { |
| 405 | .eraseblocks = { |
| 406 | {64 * 1024, 7}, |
| 407 | {32 * 1024, 1}, |
| 408 | {8 * 1024, 2}, |
| 409 | {16 * 1024, 1}, |
| 410 | }, |
| 411 | .block_erase = erase_sector_jedec, |
| 412 | }, { |
| 413 | .eraseblocks = { {512 * 1024, 1} }, |
| 414 | .block_erase = erase_chip_block_jedec, |
| 415 | }, |
| 416 | }, |
| 417 | .write = write_jedec_1, |
| 418 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 419 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 420 | }, |
| 421 | |
| 422 | { |
| 423 | .vendor = "AMD", |
| 424 | .name = "Am29LV008BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 425 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 426 | .manufacture_id = AMD_ID, |
| 427 | .model_id = AMD_AM29LV008BB, |
| 428 | .total_size = 1024, |
| 429 | .page_size = 64 * 1024, /* unused */ |
| 430 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 09ebd52 | 2011-08-25 22:54:23 +0000 | [diff] [blame] | 431 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 432 | .probe = probe_jedec, |
| 433 | .probe_timing = TIMING_ZERO, |
| 434 | .block_erasers = |
| 435 | { |
| 436 | { |
| 437 | .eraseblocks = { |
| 438 | {16 * 1024, 1}, |
| 439 | {8 * 1024, 2}, |
| 440 | {32 * 1024, 1}, |
| 441 | {64 * 1024, 15}, |
| 442 | }, |
| 443 | .block_erase = erase_sector_jedec, |
| 444 | }, { |
| 445 | .eraseblocks = { {1024 * 1024, 1} }, |
| 446 | .block_erase = erase_chip_block_jedec, |
| 447 | }, |
| 448 | }, |
| 449 | .write = write_jedec_1, |
| 450 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 451 | .voltage = {3000, 3600} /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 452 | }, |
| 453 | |
| 454 | { |
| 455 | .vendor = "AMD", |
| 456 | .name = "Am29LV008BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 457 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 458 | .manufacture_id = AMD_ID, |
| 459 | .model_id = AMD_AM29LV008BT, |
| 460 | .total_size = 1024, |
| 461 | .page_size = 64 * 1024, /* unused */ |
| 462 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 463 | .tested = TEST_UNTESTED, |
| 464 | .probe = probe_jedec, |
| 465 | .probe_timing = TIMING_ZERO, |
| 466 | .block_erasers = |
| 467 | { |
| 468 | { |
| 469 | .eraseblocks = { |
| 470 | {64 * 1024, 15}, |
| 471 | {32 * 1024, 1}, |
| 472 | {8 * 1024, 2}, |
| 473 | {16 * 1024, 1}, |
| 474 | }, |
| 475 | .block_erase = erase_sector_jedec, |
| 476 | }, { |
| 477 | .eraseblocks = { {1024 * 1024, 1} }, |
| 478 | .block_erase = erase_chip_block_jedec, |
| 479 | }, |
| 480 | }, |
| 481 | .write = write_jedec_1, |
| 482 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 483 | .voltage = {3000, 3600} /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 484 | }, |
| 485 | |
| 486 | { |
| 487 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 488 | .name = "Am29LV040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 489 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 490 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 491 | .model_id = AMD_AM29LV040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 492 | .total_size = 512, |
| 493 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 494 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 495 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 496 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 497 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 498 | .block_erasers = |
| 499 | { |
| 500 | { |
| 501 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 502 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 503 | }, { |
| 504 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 505 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 506 | }, |
| 507 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 508 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 509 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 510 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -60R, others 2.7-3.6V*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 511 | }, |
| 512 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 513 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 514 | .vendor = "AMD", |
| 515 | .name = "Am29LV081B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 516 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 517 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 518 | .model_id = AMD_AM29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 519 | .total_size = 1024, |
| 520 | .page_size = 64 * 1024, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 521 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, /* datasheet specifies address as don't care */ |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 522 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 523 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 524 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 525 | .block_erasers = |
| 526 | { |
| 527 | { |
| 528 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 529 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 530 | }, { |
| 531 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 532 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 533 | }, |
| 534 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 535 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 536 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 537 | .voltage = {3000, 3600}, /* 3.0-3.6V for type -70R, others 2.7-3.6V */ |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 538 | }, |
| 539 | |
| 540 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 541 | .vendor = "AMIC", |
| 542 | .name = "A25L05PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 543 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 544 | .manufacture_id = AMIC_ID, |
| 545 | .model_id = AMIC_A25L05PT, |
| 546 | .total_size = 64, |
| 547 | .page_size = 256, |
| 548 | .tested = TEST_UNTESTED, |
| 549 | .probe = probe_spi_rdid4, |
| 550 | .probe_timing = TIMING_ZERO, |
| 551 | .block_erasers = |
| 552 | { |
| 553 | { |
| 554 | .eraseblocks = { |
| 555 | {32 * 1024, 1}, |
| 556 | {16 * 1024, 1}, |
| 557 | {8 * 1024, 1}, |
| 558 | {4 * 1024, 2}, |
| 559 | }, |
| 560 | .block_erase = spi_block_erase_d8, |
| 561 | }, { |
| 562 | .eraseblocks = { {64 * 1024, 1} }, |
| 563 | .block_erase = spi_block_erase_c7, |
| 564 | } |
| 565 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 566 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 567 | .unlock = spi_disable_blockprotect, |
| 568 | .write = spi_chip_write_256, |
| 569 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 570 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 571 | }, |
| 572 | |
| 573 | { |
| 574 | .vendor = "AMIC", |
| 575 | .name = "A25L05PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 576 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 577 | .manufacture_id = AMIC_ID, |
| 578 | .model_id = AMIC_A25L05PU, |
| 579 | .total_size = 64, |
| 580 | .page_size = 256, |
| 581 | .tested = TEST_UNTESTED, |
| 582 | .probe = probe_spi_rdid4, |
| 583 | .probe_timing = TIMING_ZERO, |
| 584 | .block_erasers = |
| 585 | { |
| 586 | { |
| 587 | .eraseblocks = { |
| 588 | {4 * 1024, 2}, |
| 589 | {8 * 1024, 1}, |
| 590 | {16 * 1024, 1}, |
| 591 | {32 * 1024, 1}, |
| 592 | }, |
| 593 | .block_erase = spi_block_erase_d8, |
| 594 | }, { |
| 595 | .eraseblocks = { {64 * 1024, 1} }, |
| 596 | .block_erase = spi_block_erase_c7, |
| 597 | } |
| 598 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 599 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 600 | .unlock = spi_disable_blockprotect, |
| 601 | .write = spi_chip_write_256, |
| 602 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 603 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 604 | }, |
| 605 | |
| 606 | { |
| 607 | .vendor = "AMIC", |
| 608 | .name = "A25L10PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 609 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 610 | .manufacture_id = AMIC_ID, |
| 611 | .model_id = AMIC_A25L10PT, |
| 612 | .total_size = 128, |
| 613 | .page_size = 256, |
| 614 | .tested = TEST_UNTESTED, |
| 615 | .probe = probe_spi_rdid4, |
| 616 | .probe_timing = TIMING_ZERO, |
| 617 | .block_erasers = |
| 618 | { |
| 619 | { |
| 620 | .eraseblocks = { |
| 621 | {64 * 1024, 1}, |
| 622 | {32 * 1024, 1}, |
| 623 | {16 * 1024, 1}, |
| 624 | {8 * 1024, 1}, |
| 625 | {4 * 1024, 2}, |
| 626 | }, |
| 627 | .block_erase = spi_block_erase_d8, |
| 628 | }, { |
| 629 | .eraseblocks = { {128 * 1024, 1} }, |
| 630 | .block_erase = spi_block_erase_c7, |
| 631 | } |
| 632 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 633 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 634 | .unlock = spi_disable_blockprotect, |
| 635 | .write = spi_chip_write_256, |
| 636 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 637 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 638 | }, |
| 639 | |
| 640 | { |
| 641 | .vendor = "AMIC", |
| 642 | .name = "A25L10PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 643 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 644 | .manufacture_id = AMIC_ID, |
| 645 | .model_id = AMIC_A25L10PU, |
| 646 | .total_size = 128, |
| 647 | .page_size = 256, |
| 648 | .tested = TEST_UNTESTED, |
| 649 | .probe = probe_spi_rdid4, |
| 650 | .probe_timing = TIMING_ZERO, |
| 651 | .block_erasers = |
| 652 | { |
| 653 | { |
| 654 | .eraseblocks = { |
| 655 | {4 * 1024, 2}, |
| 656 | {8 * 1024, 1}, |
| 657 | {16 * 1024, 1}, |
| 658 | {32 * 1024, 1}, |
| 659 | {64 * 1024, 1}, |
| 660 | }, |
| 661 | .block_erase = spi_block_erase_d8, |
| 662 | }, { |
| 663 | .eraseblocks = { {128 * 1024, 1} }, |
| 664 | .block_erase = spi_block_erase_c7, |
| 665 | } |
| 666 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 667 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 668 | .unlock = spi_disable_blockprotect, |
| 669 | .write = spi_chip_write_256, |
| 670 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 671 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 672 | }, |
| 673 | |
| 674 | { |
| 675 | .vendor = "AMIC", |
| 676 | .name = "A25L20PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 677 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 678 | .manufacture_id = AMIC_ID, |
| 679 | .model_id = AMIC_A25L20PT, |
| 680 | .total_size = 256, |
| 681 | .page_size = 256, |
| 682 | .tested = TEST_UNTESTED, |
| 683 | .probe = probe_spi_rdid4, |
| 684 | .probe_timing = TIMING_ZERO, |
| 685 | .block_erasers = |
| 686 | { |
| 687 | { |
| 688 | .eraseblocks = { |
| 689 | {64 * 1024, 3}, |
| 690 | {32 * 1024, 1}, |
| 691 | {16 * 1024, 1}, |
| 692 | {8 * 1024, 1}, |
| 693 | {4 * 1024, 2}, |
| 694 | }, |
| 695 | .block_erase = spi_block_erase_d8, |
| 696 | }, { |
| 697 | .eraseblocks = { {256 * 1024, 1} }, |
| 698 | .block_erase = spi_block_erase_c7, |
| 699 | } |
| 700 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 701 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 702 | .unlock = spi_disable_blockprotect, |
| 703 | .write = spi_chip_write_256, |
| 704 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 705 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 706 | }, |
| 707 | |
| 708 | { |
| 709 | .vendor = "AMIC", |
| 710 | .name = "A25L20PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 711 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 712 | .manufacture_id = AMIC_ID, |
| 713 | .model_id = AMIC_A25L20PU, |
| 714 | .total_size = 256, |
| 715 | .page_size = 256, |
| 716 | .tested = TEST_UNTESTED, |
| 717 | .probe = probe_spi_rdid4, |
| 718 | .probe_timing = TIMING_ZERO, |
| 719 | .block_erasers = |
| 720 | { |
| 721 | { |
| 722 | .eraseblocks = { |
| 723 | {4 * 1024, 2}, |
| 724 | {8 * 1024, 1}, |
| 725 | {16 * 1024, 1}, |
| 726 | {32 * 1024, 1}, |
| 727 | {64 * 1024, 3}, |
| 728 | }, |
| 729 | .block_erase = spi_block_erase_d8, |
| 730 | }, { |
| 731 | .eraseblocks = { {256 * 1024, 1} }, |
| 732 | .block_erase = spi_block_erase_c7, |
| 733 | } |
| 734 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 735 | .printlock = spi_prettyprint_status_register_amic_a25l05p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 736 | .unlock = spi_disable_blockprotect, |
| 737 | .write = spi_chip_write_256, |
| 738 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 739 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 740 | }, |
| 741 | |
| 742 | /* The A25L40P{T,U} chips are distinguished by their |
| 743 | * erase block layouts, but without any distinction in RDID. |
| 744 | * This inexplicable quirk was verified by Rudolf Marek |
| 745 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 746 | */ |
| 747 | { |
| 748 | .vendor = "AMIC", |
| 749 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 750 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 751 | .manufacture_id = AMIC_ID, |
| 752 | .model_id = AMIC_A25L40PT, |
| 753 | .total_size = 512, |
| 754 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 755 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 756 | .probe = probe_spi_rdid4, |
| 757 | .probe_timing = TIMING_ZERO, |
| 758 | .block_erasers = |
| 759 | { |
| 760 | { |
| 761 | .eraseblocks = { |
| 762 | {64 * 1024, 7}, |
| 763 | {32 * 1024, 1}, |
| 764 | {16 * 1024, 1}, |
| 765 | {8 * 1024, 1}, |
| 766 | {4 * 1024, 2}, |
| 767 | }, |
| 768 | .block_erase = spi_block_erase_d8, |
| 769 | }, { |
| 770 | .eraseblocks = { {512 * 1024, 1} }, |
| 771 | .block_erase = spi_block_erase_c7, |
| 772 | } |
| 773 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 774 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 775 | .unlock = spi_disable_blockprotect, |
| 776 | .write = spi_chip_write_256, |
| 777 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 778 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 779 | }, |
| 780 | |
| 781 | { |
| 782 | .vendor = "AMIC", |
| 783 | .name = "A25L40PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 784 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 785 | .manufacture_id = AMIC_ID, |
| 786 | .model_id = AMIC_A25L40PU, |
| 787 | .total_size = 512, |
| 788 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 789 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 790 | .probe = probe_spi_rdid4, |
| 791 | .probe_timing = TIMING_ZERO, |
| 792 | .block_erasers = |
| 793 | { |
| 794 | { |
| 795 | .eraseblocks = { |
| 796 | {4 * 1024, 2}, |
| 797 | {8 * 1024, 1}, |
| 798 | {16 * 1024, 1}, |
| 799 | {32 * 1024, 1}, |
| 800 | {64 * 1024, 7}, |
| 801 | }, |
| 802 | .block_erase = spi_block_erase_d8, |
| 803 | }, { |
| 804 | .eraseblocks = { {512 * 1024, 1} }, |
| 805 | .block_erase = spi_block_erase_c7, |
| 806 | } |
| 807 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 808 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 809 | .unlock = spi_disable_blockprotect, |
| 810 | .write = spi_chip_write_256, |
| 811 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 812 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 813 | }, |
| 814 | |
| 815 | { |
| 816 | .vendor = "AMIC", |
| 817 | .name = "A25L80P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 818 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 819 | .manufacture_id = AMIC_ID, |
| 820 | .model_id = AMIC_A25L80P, |
| 821 | .total_size = 1024, |
| 822 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 823 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 824 | .probe = probe_spi_rdid4, |
| 825 | .probe_timing = TIMING_ZERO, |
| 826 | .block_erasers = |
| 827 | { |
| 828 | { |
| 829 | .eraseblocks = { |
| 830 | {4 * 1024, 2}, |
| 831 | {8 * 1024, 1}, |
| 832 | {16 * 1024, 1}, |
| 833 | {32 * 1024, 1}, |
| 834 | {64 * 1024, 15}, |
| 835 | }, |
| 836 | .block_erase = spi_block_erase_d8, |
| 837 | }, { |
| 838 | .eraseblocks = { {1024 * 1024, 1} }, |
| 839 | .block_erase = spi_block_erase_c7, |
| 840 | } |
| 841 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 842 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 843 | .unlock = spi_disable_blockprotect, |
| 844 | .write = spi_chip_write_256, |
| 845 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 846 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 847 | }, |
| 848 | |
| 849 | { |
| 850 | .vendor = "AMIC", |
| 851 | .name = "A25L16PT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 852 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 853 | .manufacture_id = AMIC_ID, |
| 854 | .model_id = AMIC_A25L16PT, |
| 855 | .total_size = 2048, |
| 856 | .page_size = 256, |
| 857 | .tested = TEST_UNTESTED, |
| 858 | .probe = probe_spi_rdid4, |
| 859 | .probe_timing = TIMING_ZERO, |
| 860 | .block_erasers = |
| 861 | { |
| 862 | { |
| 863 | .eraseblocks = { |
| 864 | {64 * 1024, 31}, |
| 865 | {32 * 1024, 1}, |
| 866 | {16 * 1024, 1}, |
| 867 | {8 * 1024, 1}, |
| 868 | {4 * 1024, 2}, |
| 869 | }, |
| 870 | .block_erase = spi_block_erase_d8, |
| 871 | }, { |
| 872 | .eraseblocks = { {2048 * 1024, 1} }, |
| 873 | .block_erase = spi_block_erase_60, |
| 874 | }, { |
| 875 | .eraseblocks = { {2048 * 1024, 1} }, |
| 876 | .block_erase = spi_block_erase_c7, |
| 877 | } |
| 878 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 879 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 880 | .unlock = spi_disable_blockprotect, |
| 881 | .write = spi_chip_write_256, |
| 882 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 883 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 884 | }, |
| 885 | |
| 886 | { |
| 887 | .vendor = "AMIC", |
| 888 | .name = "A25L16PU", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 889 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 890 | .manufacture_id = AMIC_ID, |
| 891 | .model_id = AMIC_A25L16PU, |
| 892 | .total_size = 2048, |
| 893 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 894 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 895 | .probe = probe_spi_rdid4, |
| 896 | .probe_timing = TIMING_ZERO, |
| 897 | .block_erasers = |
| 898 | { |
| 899 | { |
| 900 | .eraseblocks = { |
| 901 | {4 * 1024, 2}, |
| 902 | {8 * 1024, 1}, |
| 903 | {16 * 1024, 1}, |
| 904 | {32 * 1024, 1}, |
| 905 | {64 * 1024, 31}, |
| 906 | }, |
| 907 | .block_erase = spi_block_erase_d8, |
| 908 | }, { |
| 909 | .eraseblocks = { {2048 * 1024, 1} }, |
| 910 | .block_erase = spi_block_erase_60, |
| 911 | }, { |
| 912 | .eraseblocks = { {2048 * 1024, 1} }, |
| 913 | .block_erase = spi_block_erase_c7, |
| 914 | } |
| 915 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 916 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 917 | .unlock = spi_disable_blockprotect, |
| 918 | .write = spi_chip_write_256, |
| 919 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 920 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 921 | }, |
| 922 | |
| 923 | { |
| 924 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 925 | .name = "A25L512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 926 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 927 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 928 | .model_id = AMIC_A25L512, |
| 929 | .total_size = 64, |
| 930 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 931 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 932 | .tested = TEST_UNTESTED, |
| 933 | .probe = probe_spi_rdid, |
| 934 | .probe_timing = TIMING_ZERO, |
| 935 | .block_erasers = |
| 936 | { |
| 937 | { |
| 938 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 939 | .block_erase = spi_block_erase_20, |
| 940 | }, { |
| 941 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 942 | .block_erase = spi_block_erase_d8, |
| 943 | }, { |
| 944 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 945 | .block_erase = spi_block_erase_c7, |
| 946 | } |
| 947 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 948 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 949 | .unlock = spi_disable_blockprotect, |
| 950 | .write = spi_chip_write_256, |
| 951 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 952 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 953 | }, |
| 954 | |
| 955 | { |
| 956 | .vendor = "AMIC", |
| 957 | .name = "A25L010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 958 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 959 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 960 | .model_id = AMIC_A25L010, |
| 961 | .total_size = 128, |
| 962 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 963 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 964 | .tested = TEST_UNTESTED, |
| 965 | .probe = probe_spi_rdid, |
| 966 | .probe_timing = TIMING_ZERO, |
| 967 | .block_erasers = |
| 968 | { |
| 969 | { |
| 970 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 971 | .block_erase = spi_block_erase_20, |
| 972 | }, { |
| 973 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 974 | .block_erase = spi_block_erase_d8, |
| 975 | }, { |
| 976 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 977 | .block_erase = spi_block_erase_c7, |
| 978 | } |
| 979 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 980 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 981 | .unlock = spi_disable_blockprotect, |
| 982 | .write = spi_chip_write_256, |
| 983 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 984 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 985 | }, |
| 986 | |
| 987 | { |
| 988 | .vendor = "AMIC", |
| 989 | .name = "A25L020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 990 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 991 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 992 | .model_id = AMIC_A25L020, |
| 993 | .total_size = 256, |
| 994 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 995 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 996 | .tested = TEST_UNTESTED, |
| 997 | .probe = probe_spi_rdid, |
| 998 | .probe_timing = TIMING_ZERO, |
| 999 | .block_erasers = |
| 1000 | { |
| 1001 | { |
| 1002 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 1003 | .block_erase = spi_block_erase_20, |
| 1004 | }, { |
| 1005 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 1006 | .block_erase = spi_block_erase_d8, |
| 1007 | }, { |
| 1008 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 1009 | .block_erase = spi_block_erase_c7, |
| 1010 | } |
| 1011 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1012 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1013 | .unlock = spi_disable_blockprotect, |
| 1014 | .write = spi_chip_write_256, |
| 1015 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1016 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1017 | }, |
| 1018 | |
| 1019 | { |
| 1020 | .vendor = "AMIC", |
| 1021 | .name = "A25L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1022 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1023 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1024 | .model_id = AMIC_A25L040, |
| 1025 | .total_size = 512, |
| 1026 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1027 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1028 | .tested = TEST_UNTESTED, |
| 1029 | .probe = probe_spi_rdid, |
| 1030 | .probe_timing = TIMING_ZERO, |
| 1031 | .block_erasers = |
| 1032 | { |
| 1033 | { |
| 1034 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 1035 | .block_erase = spi_block_erase_20, |
| 1036 | }, { |
| 1037 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 1038 | .block_erase = spi_block_erase_d8, |
| 1039 | }, { |
| 1040 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 1041 | .block_erase = spi_block_erase_c7, |
| 1042 | } |
| 1043 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1044 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1045 | .unlock = spi_disable_blockprotect, |
| 1046 | .write = spi_chip_write_256, |
| 1047 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1048 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1049 | }, |
| 1050 | |
| 1051 | { |
| 1052 | .vendor = "AMIC", |
| 1053 | .name = "A25L080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1054 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1055 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1056 | .model_id = AMIC_A25L080, |
| 1057 | .total_size = 1024, |
| 1058 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1059 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1060 | .tested = TEST_UNTESTED, |
| 1061 | .probe = probe_spi_rdid, |
| 1062 | .probe_timing = TIMING_ZERO, |
| 1063 | .block_erasers = |
| 1064 | { |
| 1065 | { |
| 1066 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 1067 | .block_erase = spi_block_erase_20, |
| 1068 | }, { |
| 1069 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 1070 | .block_erase = spi_block_erase_d8, |
| 1071 | }, { |
| 1072 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 1073 | .block_erase = spi_block_erase_c7, |
| 1074 | } |
| 1075 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1076 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1077 | .unlock = spi_disable_blockprotect, |
| 1078 | .write = spi_chip_write_256, |
| 1079 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1080 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1081 | }, |
| 1082 | |
| 1083 | { |
| 1084 | .vendor = "AMIC", |
| 1085 | .name = "A25L016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1086 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1087 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1088 | .model_id = AMIC_A25L016, |
| 1089 | .total_size = 2048, |
| 1090 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1091 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1092 | .tested = TEST_UNTESTED, |
| 1093 | .probe = probe_spi_rdid, |
| 1094 | .probe_timing = TIMING_ZERO, |
| 1095 | .block_erasers = |
| 1096 | { |
| 1097 | { |
| 1098 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 1099 | .block_erase = spi_block_erase_20, |
| 1100 | }, { |
| 1101 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 1102 | .block_erase = spi_block_erase_d8, |
| 1103 | }, { |
| 1104 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 1105 | .block_erase = spi_block_erase_c7, |
| 1106 | } |
| 1107 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1108 | .printlock = spi_prettyprint_status_register_amic_a25l40p, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1109 | .unlock = spi_disable_blockprotect, |
| 1110 | .write = spi_chip_write_256, |
| 1111 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1112 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1113 | }, |
| 1114 | |
| 1115 | { |
| 1116 | .vendor = "AMIC", |
| 1117 | .name = "A25L032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1118 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1119 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1120 | .model_id = AMIC_A25L032, |
| 1121 | .total_size = 4096, |
| 1122 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1123 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1124 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1125 | .tested = TEST_UNTESTED, |
| 1126 | .probe = probe_spi_rdid, |
| 1127 | .probe_timing = TIMING_ZERO, |
| 1128 | .block_erasers = |
| 1129 | { |
| 1130 | { |
| 1131 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1132 | .block_erase = spi_block_erase_20, |
| 1133 | }, { |
| 1134 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1135 | .block_erase = spi_block_erase_52, |
| 1136 | }, { |
| 1137 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1138 | .block_erase = spi_block_erase_d8, |
| 1139 | }, { |
| 1140 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1141 | .block_erase = spi_block_erase_60, |
| 1142 | }, { |
| 1143 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1144 | .block_erase = spi_block_erase_c7, |
| 1145 | } |
| 1146 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1147 | .printlock = spi_prettyprint_status_register_amic_a25l032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1148 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1149 | .write = spi_chip_write_256, |
| 1150 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1151 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1152 | }, |
| 1153 | |
| 1154 | { |
| 1155 | .vendor = "AMIC", |
| 1156 | .name = "A25LQ032", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1157 | .bustype = BUS_SPI, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1158 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1159 | .model_id = AMIC_A25LQ032, |
| 1160 | .total_size = 4096, |
| 1161 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1162 | /* OTP: 64B total; read 0x4B, 0x48; write 0x42 */ |
| 1163 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1164 | .tested = TEST_UNTESTED, |
| 1165 | .probe = probe_spi_rdid, |
| 1166 | .probe_timing = TIMING_ZERO, |
| 1167 | .block_erasers = |
| 1168 | { |
| 1169 | { |
| 1170 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1171 | .block_erase = spi_block_erase_20, |
| 1172 | }, { |
| 1173 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1174 | .block_erase = spi_block_erase_52, |
| 1175 | }, { |
| 1176 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1177 | .block_erase = spi_block_erase_d8, |
| 1178 | }, { |
| 1179 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1180 | .block_erase = spi_block_erase_60, |
| 1181 | }, { |
| 1182 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1183 | .block_erase = spi_block_erase_c7, |
| 1184 | } |
| 1185 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1186 | .printlock = spi_prettyprint_status_register_amic_a25lq032, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1187 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1188 | .write = spi_chip_write_256, |
| 1189 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1190 | .voltage = {2700, 3600}, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1191 | }, |
| 1192 | |
| 1193 | { |
| 1194 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1195 | .name = "A29002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1196 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1197 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1198 | .model_id = AMIC_A29002B, |
| 1199 | .total_size = 256, |
| 1200 | .page_size = 64 * 1024, |
| 1201 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1202 | .tested = TEST_UNTESTED, |
| 1203 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1204 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1205 | .block_erasers = |
| 1206 | { |
| 1207 | { |
| 1208 | .eraseblocks = { |
| 1209 | {16 * 1024, 1}, |
| 1210 | {8 * 1024, 2}, |
| 1211 | {32 * 1024, 1}, |
| 1212 | {64 * 1024, 3}, |
| 1213 | }, |
| 1214 | .block_erase = erase_sector_jedec, |
| 1215 | }, { |
| 1216 | .eraseblocks = { {256 * 1024, 1} }, |
| 1217 | .block_erase = erase_chip_block_jedec, |
| 1218 | }, |
| 1219 | }, |
| 1220 | .write = write_jedec_1, |
| 1221 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1222 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1223 | }, |
| 1224 | |
| 1225 | { |
| 1226 | .vendor = "AMIC", |
| 1227 | .name = "A29002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1228 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1229 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1230 | .model_id = AMIC_A29002T, |
| 1231 | .total_size = 256, |
| 1232 | .page_size = 64 * 1024, |
| 1233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 1234 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1235 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1236 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1237 | .block_erasers = |
| 1238 | { |
| 1239 | { |
| 1240 | .eraseblocks = { |
| 1241 | {64 * 1024, 3}, |
| 1242 | {32 * 1024, 1}, |
| 1243 | {8 * 1024, 2}, |
| 1244 | {16 * 1024, 1}, |
| 1245 | }, |
| 1246 | .block_erase = erase_sector_jedec, |
| 1247 | }, { |
| 1248 | .eraseblocks = { {256 * 1024, 1} }, |
| 1249 | .block_erase = erase_chip_block_jedec, |
| 1250 | }, |
| 1251 | }, |
| 1252 | .write = write_jedec_1, |
| 1253 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1254 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1255 | }, |
| 1256 | |
| 1257 | { |
| 1258 | .vendor = "AMIC", |
| 1259 | .name = "A29040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1260 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1261 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1262 | .model_id = AMIC_A29040B, |
| 1263 | .total_size = 512, |
| 1264 | .page_size = 64 * 1024, |
| 1265 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1266 | .tested = TEST_UNTESTED, |
| 1267 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1268 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1269 | .block_erasers = |
| 1270 | { |
| 1271 | { |
| 1272 | .eraseblocks = { {64 * 1024, 8} }, |
| 1273 | .block_erase = erase_sector_jedec, |
| 1274 | }, { |
| 1275 | .eraseblocks = { {512 * 1024, 1} }, |
| 1276 | .block_erase = erase_chip_block_jedec, |
| 1277 | }, |
| 1278 | }, |
| 1279 | .write = write_jedec_1, |
| 1280 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1281 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1282 | }, |
| 1283 | |
| 1284 | { |
| 1285 | .vendor = "AMIC", |
| 1286 | .name = "A49LF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1287 | .bustype = BUS_LPC, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1288 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1289 | .model_id = AMIC_A49LF040A, |
| 1290 | .total_size = 512, |
| 1291 | .page_size = 64 * 1024, |
| 1292 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 1293 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1294 | .probe = probe_jedec, |
| 1295 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 1296 | .block_erasers = |
| 1297 | { |
| 1298 | { |
| 1299 | .eraseblocks = { {64 * 1024, 8} }, |
| 1300 | .block_erase = erase_block_jedec, |
| 1301 | }, { |
| 1302 | .eraseblocks = { {512 * 1024, 1} }, |
| 1303 | .block_erase = erase_chip_block_jedec, |
| 1304 | } |
| 1305 | }, |
| 1306 | .unlock = unlock_49fl00x, |
| 1307 | .write = write_jedec_1, |
| 1308 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1309 | .voltage = {3000, 3600}, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1310 | }, |
| 1311 | |
| 1312 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1313 | .vendor = "Atmel", |
| 1314 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1315 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1316 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1317 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1318 | .total_size = 256, |
| 1319 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1320 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1321 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1322 | .tested = TEST_UNTESTED, |
| 1323 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1324 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1325 | .block_erasers = |
| 1326 | { |
| 1327 | { |
| 1328 | .eraseblocks = { {4 * 1024, 64} }, |
| 1329 | .block_erase = spi_block_erase_20, |
| 1330 | }, { |
| 1331 | .eraseblocks = { {32 * 1024, 8} }, |
| 1332 | .block_erase = spi_block_erase_52, |
| 1333 | }, { |
| 1334 | .eraseblocks = { {64 * 1024, 4} }, |
| 1335 | .block_erase = spi_block_erase_d8, |
| 1336 | }, { |
| 1337 | .eraseblocks = { {256 * 1024, 1} }, |
| 1338 | .block_erase = spi_block_erase_60, |
| 1339 | }, { |
| 1340 | .eraseblocks = { {256 * 1024, 1} }, |
| 1341 | .block_erase = spi_block_erase_c7, |
| 1342 | } |
| 1343 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1344 | .printlock = spi_prettyprint_status_register_at25df, |
| 1345 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1346 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1347 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1348 | .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] | 1349 | }, |
| 1350 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1351 | { |
| 1352 | .vendor = "Atmel", |
| 1353 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1354 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1355 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1356 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1357 | .total_size = 512, |
| 1358 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1359 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1360 | .tested = TEST_UNTESTED, |
| 1361 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1362 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1363 | .block_erasers = |
| 1364 | { |
| 1365 | { |
| 1366 | .eraseblocks = { {4 * 1024, 128} }, |
| 1367 | .block_erase = spi_block_erase_20, |
| 1368 | }, { |
| 1369 | .eraseblocks = { {32 * 1024, 16} }, |
| 1370 | .block_erase = spi_block_erase_52, |
| 1371 | }, { |
| 1372 | .eraseblocks = { {64 * 1024, 8} }, |
| 1373 | .block_erase = spi_block_erase_d8, |
| 1374 | }, { |
| 1375 | .eraseblocks = { {512 * 1024, 1} }, |
| 1376 | .block_erase = spi_block_erase_60, |
| 1377 | }, { |
| 1378 | .eraseblocks = { {512 * 1024, 1} }, |
| 1379 | .block_erase = spi_block_erase_c7, |
| 1380 | } |
| 1381 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1382 | .printlock = spi_prettyprint_status_register_at25df, |
| 1383 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1384 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1385 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1386 | .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] | 1387 | }, |
| 1388 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1389 | { |
| 1390 | .vendor = "Atmel", |
| 1391 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1392 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1393 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1394 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1395 | .total_size = 1024, |
| 1396 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1397 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1398 | .tested = TEST_UNTESTED, |
| 1399 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1400 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1401 | .block_erasers = |
| 1402 | { |
| 1403 | { |
| 1404 | .eraseblocks = { {4 * 1024, 256} }, |
| 1405 | .block_erase = spi_block_erase_20, |
| 1406 | }, { |
| 1407 | .eraseblocks = { {32 * 1024, 32} }, |
| 1408 | .block_erase = spi_block_erase_52, |
| 1409 | }, { |
| 1410 | .eraseblocks = { {64 * 1024, 16} }, |
| 1411 | .block_erase = spi_block_erase_d8, |
| 1412 | }, { |
| 1413 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1414 | .block_erase = spi_block_erase_60, |
| 1415 | }, { |
| 1416 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1417 | .block_erase = spi_block_erase_c7, |
| 1418 | } |
| 1419 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1420 | .printlock = spi_prettyprint_status_register_at25df, |
| 1421 | .unlock = spi_disable_blockprotect_at25df, |
| 1422 | .write = spi_chip_write_256, |
| 1423 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1424 | .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] | 1425 | }, |
| 1426 | |
| 1427 | { |
| 1428 | .vendor = "Atmel", |
| 1429 | .name = "AT25DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1430 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1431 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1432 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1433 | .total_size = 1024, |
| 1434 | .page_size = 256, |
| 1435 | .feature_bits = FEATURE_WRSR_WREN, |
| 1436 | .tested = TEST_UNTESTED, |
| 1437 | .probe = probe_spi_rdid, |
| 1438 | .probe_timing = TIMING_ZERO, |
| 1439 | .block_erasers = |
| 1440 | { |
| 1441 | { |
| 1442 | .eraseblocks = { {4 * 1024, 256} }, |
| 1443 | .block_erase = spi_block_erase_20, |
| 1444 | }, { |
| 1445 | .eraseblocks = { {32 * 1024, 32} }, |
| 1446 | .block_erase = spi_block_erase_52, |
| 1447 | }, { |
| 1448 | .eraseblocks = { {64 * 1024, 16} }, |
| 1449 | .block_erase = spi_block_erase_d8, |
| 1450 | }, { |
| 1451 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1452 | .block_erase = spi_block_erase_60, |
| 1453 | }, { |
| 1454 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1455 | .block_erase = spi_block_erase_c7, |
| 1456 | } |
| 1457 | }, |
| 1458 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1459 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1460 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1461 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1462 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1463 | }, |
| 1464 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1465 | { |
| 1466 | .vendor = "Atmel", |
| 1467 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1468 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1469 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1470 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1471 | .total_size = 2048, |
| 1472 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1473 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1474 | .tested = TEST_UNTESTED, |
| 1475 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1476 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1477 | .block_erasers = |
| 1478 | { |
| 1479 | { |
| 1480 | .eraseblocks = { {4 * 1024, 512} }, |
| 1481 | .block_erase = spi_block_erase_20, |
| 1482 | }, { |
| 1483 | .eraseblocks = { {32 * 1024, 64} }, |
| 1484 | .block_erase = spi_block_erase_52, |
| 1485 | }, { |
| 1486 | .eraseblocks = { {64 * 1024, 32} }, |
| 1487 | .block_erase = spi_block_erase_d8, |
| 1488 | }, { |
| 1489 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1490 | .block_erase = spi_block_erase_60, |
| 1491 | }, { |
| 1492 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1493 | .block_erase = spi_block_erase_c7, |
| 1494 | } |
| 1495 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1496 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1497 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1498 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1499 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1500 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1501 | }, |
| 1502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1503 | { |
| 1504 | .vendor = "Atmel", |
| 1505 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1506 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1507 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1508 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1509 | .total_size = 4096, |
| 1510 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1511 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 1512 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1513 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1514 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1515 | .block_erasers = |
| 1516 | { |
| 1517 | { |
| 1518 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1519 | .block_erase = spi_block_erase_20, |
| 1520 | }, { |
| 1521 | .eraseblocks = { {32 * 1024, 128} }, |
| 1522 | .block_erase = spi_block_erase_52, |
| 1523 | }, { |
| 1524 | .eraseblocks = { {64 * 1024, 64} }, |
| 1525 | .block_erase = spi_block_erase_d8, |
| 1526 | }, { |
| 1527 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1528 | .block_erase = spi_block_erase_60, |
| 1529 | }, { |
| 1530 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1531 | .block_erase = spi_block_erase_c7, |
| 1532 | } |
| 1533 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1534 | .printlock = spi_prettyprint_status_register_at25df, |
| 1535 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1536 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1537 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1538 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1539 | }, |
| 1540 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1541 | { |
| 1542 | .vendor = "Atmel", |
| 1543 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1544 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1545 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1546 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1547 | .total_size = 4096, |
| 1548 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1549 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1550 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 1551 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1552 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1553 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1554 | .block_erasers = |
| 1555 | { |
| 1556 | { |
| 1557 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1558 | .block_erase = spi_block_erase_20, |
| 1559 | }, { |
| 1560 | .eraseblocks = { {32 * 1024, 128} }, |
| 1561 | .block_erase = spi_block_erase_52, |
| 1562 | }, { |
| 1563 | .eraseblocks = { {64 * 1024, 64} }, |
| 1564 | .block_erase = spi_block_erase_d8, |
| 1565 | }, { |
| 1566 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1567 | .block_erase = spi_block_erase_60, |
| 1568 | }, { |
| 1569 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1570 | .block_erase = spi_block_erase_c7, |
| 1571 | } |
| 1572 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1573 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1574 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1575 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1576 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1577 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1578 | }, |
| 1579 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1580 | { |
| 1581 | .vendor = "Atmel", |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 1582 | .name = "AT25DF641(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1583 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1584 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1585 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1586 | .total_size = 8192, |
| 1587 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1588 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1589 | .tested = TEST_UNTESTED, |
| 1590 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1591 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1592 | .block_erasers = |
| 1593 | { |
| 1594 | { |
| 1595 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1596 | .block_erase = spi_block_erase_20, |
| 1597 | }, { |
| 1598 | .eraseblocks = { {32 * 1024, 256} }, |
| 1599 | .block_erase = spi_block_erase_52, |
| 1600 | }, { |
| 1601 | .eraseblocks = { {64 * 1024, 128} }, |
| 1602 | .block_erase = spi_block_erase_d8, |
| 1603 | }, { |
| 1604 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1605 | .block_erase = spi_block_erase_60, |
| 1606 | }, { |
| 1607 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1608 | .block_erase = spi_block_erase_c7, |
| 1609 | } |
| 1610 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1611 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1612 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1613 | .write = spi_chip_write_256, |
| 1614 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1615 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1616 | }, |
| 1617 | |
| 1618 | { |
| 1619 | .vendor = "Atmel", |
| 1620 | .name = "AT25DQ161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1621 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1622 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1623 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1624 | .total_size = 2048, |
| 1625 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1626 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1627 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1628 | .tested = TEST_UNTESTED, |
| 1629 | .probe = probe_spi_rdid, |
| 1630 | .probe_timing = TIMING_ZERO, |
| 1631 | .block_erasers = |
| 1632 | { |
| 1633 | { |
| 1634 | .eraseblocks = { {4 * 1024, 512} }, |
| 1635 | .block_erase = spi_block_erase_20, |
| 1636 | }, { |
| 1637 | .eraseblocks = { {32 * 1024, 64} }, |
| 1638 | .block_erase = spi_block_erase_52, |
| 1639 | }, { |
| 1640 | .eraseblocks = { {64 * 1024, 32} }, |
| 1641 | .block_erase = spi_block_erase_d8, |
| 1642 | }, { |
| 1643 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1644 | .block_erase = spi_block_erase_60, |
| 1645 | }, { |
| 1646 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1647 | .block_erase = spi_block_erase_c7, |
| 1648 | } |
| 1649 | }, |
| 1650 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1651 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1652 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1653 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1654 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1655 | }, |
| 1656 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1657 | { |
| 1658 | .vendor = "Atmel", |
| 1659 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1660 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1661 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1662 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1663 | .total_size = 64, |
| 1664 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 1665 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 1666 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1667 | .tested = TEST_UNTESTED, |
| 1668 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1669 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1670 | .block_erasers = |
| 1671 | { |
| 1672 | { |
| 1673 | .eraseblocks = { {4 * 1024, 16} }, |
| 1674 | .block_erase = spi_block_erase_20, |
| 1675 | }, { |
| 1676 | .eraseblocks = { {32 * 1024, 2} }, |
| 1677 | .block_erase = spi_block_erase_52, |
| 1678 | }, { |
| 1679 | .eraseblocks = { {32 * 1024, 2} }, |
| 1680 | .block_erase = spi_block_erase_d8, |
| 1681 | }, { |
| 1682 | .eraseblocks = { {64 * 1024, 1} }, |
| 1683 | .block_erase = spi_block_erase_60, |
| 1684 | }, { |
| 1685 | .eraseblocks = { {64 * 1024, 1} }, |
| 1686 | .block_erase = spi_block_erase_c7, |
| 1687 | } |
| 1688 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1689 | .printlock = spi_prettyprint_status_register_at25f, |
| 1690 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1691 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1692 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1693 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1694 | }, |
| 1695 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1696 | { |
| 1697 | .vendor = "Atmel", |
| 1698 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1699 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1700 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1701 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1702 | .total_size = 128, |
| 1703 | .page_size = 256, |
| 1704 | .tested = TEST_UNTESTED, |
| 1705 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1706 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1707 | .block_erasers = |
| 1708 | { |
| 1709 | { |
| 1710 | .eraseblocks = { {4 * 1024, 32} }, |
| 1711 | .block_erase = spi_block_erase_20, |
| 1712 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1713 | .eraseblocks = { {4 * 1024, 32} }, |
| 1714 | .block_erase = spi_block_erase_d7, |
| 1715 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1716 | .eraseblocks = { {32 * 1024, 4} }, |
| 1717 | .block_erase = spi_block_erase_52, |
| 1718 | }, { |
| 1719 | .eraseblocks = { {32 * 1024, 4} }, |
| 1720 | .block_erase = spi_block_erase_d8, |
| 1721 | }, { |
| 1722 | .eraseblocks = { {128 * 1024, 1} }, |
| 1723 | .block_erase = spi_block_erase_60, |
| 1724 | }, { |
| 1725 | .eraseblocks = { {128 * 1024, 1} }, |
| 1726 | .block_erase = spi_block_erase_c7, |
| 1727 | } |
| 1728 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1729 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1730 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1731 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1732 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1733 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1734 | }, |
| 1735 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1736 | { |
| 1737 | .vendor = "Atmel", |
| 1738 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1739 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1740 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1741 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1742 | .total_size = 512, |
| 1743 | .page_size = 256, |
| 1744 | .tested = TEST_UNTESTED, |
| 1745 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1746 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1747 | .block_erasers = |
| 1748 | { |
| 1749 | { |
| 1750 | .eraseblocks = { {4 * 1024, 128} }, |
| 1751 | .block_erase = spi_block_erase_20, |
| 1752 | }, { |
| 1753 | .eraseblocks = { {64 * 1024, 8} }, |
| 1754 | .block_erase = spi_block_erase_52, |
| 1755 | }, { |
| 1756 | .eraseblocks = { {64 * 1024, 8} }, |
| 1757 | .block_erase = spi_block_erase_d8, |
| 1758 | }, { |
| 1759 | .eraseblocks = { {512 * 1024, 1} }, |
| 1760 | .block_erase = spi_block_erase_60, |
| 1761 | }, { |
| 1762 | .eraseblocks = { {512 * 1024, 1} }, |
| 1763 | .block_erase = spi_block_erase_c7, |
| 1764 | } |
| 1765 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1766 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1767 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1768 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1769 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1770 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1771 | }, |
| 1772 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1773 | { |
| 1774 | .vendor = "Atmel", |
| 1775 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1776 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1777 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1778 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1779 | .total_size = 512, |
| 1780 | .page_size = 256, |
| 1781 | .tested = TEST_UNTESTED, |
| 1782 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1783 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1784 | .block_erasers = |
| 1785 | { |
| 1786 | { |
| 1787 | .eraseblocks = { {4 * 1024, 128} }, |
| 1788 | .block_erase = spi_block_erase_20, |
| 1789 | } |
| 1790 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1791 | .write = NULL /* Incompatible Page write */, |
| 1792 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 1793 | .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] | 1794 | }, |
| 1795 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1796 | { |
| 1797 | .vendor = "Atmel", |
| 1798 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1799 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1800 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1801 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1802 | .total_size = 1024, |
| 1803 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1804 | .feature_bits = FEATURE_WRSR_WREN, |
| 1805 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1806 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1807 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1808 | .block_erasers = |
| 1809 | { |
| 1810 | { |
| 1811 | .eraseblocks = { {4 * 1024, 256} }, |
| 1812 | .block_erase = spi_block_erase_20, |
| 1813 | }, { |
| 1814 | .eraseblocks = { {32 * 1024, 32} }, |
| 1815 | .block_erase = spi_block_erase_52, |
| 1816 | }, { |
| 1817 | .eraseblocks = { {64 * 1024, 16} }, |
| 1818 | .block_erase = spi_block_erase_d8, |
| 1819 | }, { |
| 1820 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1821 | .block_erase = spi_block_erase_60, |
| 1822 | }, { |
| 1823 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1824 | .block_erase = spi_block_erase_c7, |
| 1825 | } |
| 1826 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1827 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1828 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1829 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1830 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1831 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1832 | }, |
| 1833 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1834 | { |
| 1835 | .vendor = "Atmel", |
| 1836 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1837 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1838 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1839 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1840 | .total_size = 2048, |
| 1841 | .page_size = 256, |
| 1842 | .tested = TEST_UNTESTED, |
| 1843 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1844 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1845 | .block_erasers = |
| 1846 | { |
| 1847 | { |
| 1848 | .eraseblocks = { {4 * 1024, 512} }, |
| 1849 | .block_erase = spi_block_erase_20, |
| 1850 | }, { |
| 1851 | .eraseblocks = { {32 * 1024, 64} }, |
| 1852 | .block_erase = spi_block_erase_52, |
| 1853 | }, { |
| 1854 | .eraseblocks = { {64 * 1024, 32} }, |
| 1855 | .block_erase = spi_block_erase_d8, |
| 1856 | }, { |
| 1857 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1858 | .block_erase = spi_block_erase_60, |
| 1859 | }, { |
| 1860 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1861 | .block_erase = spi_block_erase_c7, |
| 1862 | } |
| 1863 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1864 | .printlock = spi_prettyprint_status_register_at25df, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1865 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1866 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1867 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1868 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1869 | }, |
| 1870 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1871 | { |
| 1872 | .vendor = "Atmel", |
| 1873 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1874 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1875 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1876 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1877 | .total_size = 2048, |
| 1878 | .page_size = 256, |
| 1879 | .tested = TEST_UNTESTED, |
| 1880 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1881 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1882 | .block_erasers = |
| 1883 | { |
| 1884 | { |
| 1885 | .eraseblocks = { {4 * 1024, 512} }, |
| 1886 | .block_erase = spi_block_erase_20, |
| 1887 | }, { |
| 1888 | .eraseblocks = { {32 * 1024, 64} }, |
| 1889 | .block_erase = spi_block_erase_52, |
| 1890 | }, { |
| 1891 | .eraseblocks = { {64 * 1024, 32} }, |
| 1892 | .block_erase = spi_block_erase_d8, |
| 1893 | }, { |
| 1894 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1895 | .block_erase = spi_block_erase_60, |
| 1896 | }, { |
| 1897 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1898 | .block_erase = spi_block_erase_c7, |
| 1899 | } |
| 1900 | }, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1901 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1902 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1903 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1904 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1905 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1906 | }, |
| 1907 | |
| 1908 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1909 | /*{ |
| 1910 | .vendor = "Atmel", |
| 1911 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1912 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1913 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1914 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1915 | .total_size = 4096, |
| 1916 | .page_size = 256, |
| 1917 | .tested = TEST_UNTESTED, |
| 1918 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1919 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 7a3bd8f | 2011-05-19 00:06:06 +0000 | [diff] [blame] | 1920 | .printlock = spi_prettyprint_status_register_atmel_at26df081a, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1921 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1922 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1923 | .read = spi_chip_read, |
| 1924 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1925 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1926 | { |
| 1927 | .vendor = "Atmel", |
| 1928 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1929 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1930 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1931 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1932 | .total_size = 512, |
| 1933 | .page_size = 256, |
| 1934 | .tested = TEST_UNTESTED, |
| 1935 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1936 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1937 | .block_erasers = |
| 1938 | { |
| 1939 | { |
| 1940 | .eraseblocks = { {4 * 1024, 128} }, |
| 1941 | .block_erase = spi_block_erase_20, |
| 1942 | }, { |
| 1943 | .eraseblocks = { {32 * 1024, 16} }, |
| 1944 | .block_erase = spi_block_erase_52, |
| 1945 | }, { |
| 1946 | .eraseblocks = { {64 * 1024, 8} }, |
| 1947 | .block_erase = spi_block_erase_d8, |
| 1948 | }, { |
| 1949 | .eraseblocks = { {512 * 1024, 1} }, |
| 1950 | .block_erase = spi_block_erase_60, |
| 1951 | }, { |
| 1952 | .eraseblocks = { {512 * 1024, 1} }, |
| 1953 | .block_erase = spi_block_erase_c7, |
| 1954 | } |
| 1955 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1956 | .write = NULL /* Incompatible Page write */, |
| 1957 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1958 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1959 | }, |
| 1960 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1961 | { |
| 1962 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1963 | .name = "AT29C512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1964 | .bustype = BUS_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1965 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1966 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1967 | .total_size = 64, |
| 1968 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1969 | .feature_bits = FEATURE_LONG_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 1970 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1971 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1972 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1973 | .block_erasers = |
| 1974 | { |
| 1975 | { |
| 1976 | .eraseblocks = { {64 * 1024, 1} }, |
| 1977 | .block_erase = erase_chip_block_jedec, |
| 1978 | } |
| 1979 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1980 | .write = write_jedec, |
| 1981 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 1982 | .voltage = {4500, 5500}, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1983 | }, |
| 1984 | |
| 1985 | { |
| 1986 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1987 | .name = "AT29C010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 1988 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1989 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1990 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1991 | .total_size = 128, |
| 1992 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1993 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1994 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1995 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1996 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1997 | .block_erasers = |
| 1998 | { |
| 1999 | { |
| 2000 | .eraseblocks = { {128 * 1024, 1} }, |
| 2001 | .block_erase = erase_chip_block_jedec, |
| 2002 | } |
| 2003 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2004 | .write = write_jedec, /* FIXME */ |
| 2005 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2006 | .voltage = {4500, 5500}, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 2007 | }, |
| 2008 | |
| 2009 | { |
| 2010 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2011 | .name = "AT29C020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2012 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2013 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2014 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2015 | .total_size = 256, |
| 2016 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2017 | .feature_bits = FEATURE_LONG_RESET, |
| 2018 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2019 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2020 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2021 | .block_erasers = |
| 2022 | { |
| 2023 | { |
| 2024 | .eraseblocks = { {256 * 1024, 1} }, |
| 2025 | .block_erase = erase_chip_block_jedec, |
| 2026 | } |
| 2027 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2028 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2029 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2030 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2031 | }, |
| 2032 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2033 | { |
| 2034 | .vendor = "Atmel", |
| 2035 | .name = "AT29C040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2036 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2037 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2038 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2039 | .total_size = 512, |
| 2040 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2041 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2042 | .tested = TEST_UNTESTED, |
| 2043 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 2044 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2045 | .block_erasers = |
| 2046 | { |
| 2047 | { |
| 2048 | .eraseblocks = { {512 * 1024, 1} }, |
| 2049 | .block_erase = erase_chip_block_jedec, |
| 2050 | } |
| 2051 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2052 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2053 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2054 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2055 | }, |
| 2056 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2057 | { |
| 2058 | .vendor = "Atmel", |
| 2059 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2060 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2061 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2062 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2063 | .total_size = 16896 /* No power of two sizes */, |
| 2064 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2065 | .tested = TEST_BAD_READ, |
| 2066 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2067 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2068 | .write = NULL /* Incompatible Page write */, |
| 2069 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2070 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2071 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2072 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2073 | { |
| 2074 | .vendor = "Atmel", |
| 2075 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2076 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2077 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2078 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2079 | .total_size = 128 /* Size can only be determined from status register */, |
| 2080 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2081 | .tested = TEST_BAD_READ, |
| 2082 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2083 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2084 | .write = NULL, |
| 2085 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2086 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2087 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2088 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2089 | { |
| 2090 | .vendor = "Atmel", |
| 2091 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2092 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2093 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2094 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2095 | .total_size = 256 /* Size can only be determined from status register */, |
| 2096 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2097 | .tested = TEST_BAD_READ, |
| 2098 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2099 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2100 | .write = NULL, |
| 2101 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2102 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2103 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2104 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2105 | { |
| 2106 | .vendor = "Atmel", |
| 2107 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2108 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2109 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2110 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2111 | .total_size = 512 /* Size can only be determined from status register */, |
| 2112 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2113 | .tested = TEST_BAD_READ, |
| 2114 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2115 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2116 | .write = NULL, |
| 2117 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2118 | .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] | 2119 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2120 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2121 | { |
| 2122 | .vendor = "Atmel", |
| 2123 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2124 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2125 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2126 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2127 | .total_size = 1024 /* Size can only be determined from status register */, |
| 2128 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2129 | .tested = TEST_BAD_READ, |
| 2130 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2131 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2132 | .write = NULL, |
| 2133 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2134 | .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] | 2135 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2136 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2137 | { |
| 2138 | .vendor = "Atmel", |
| 2139 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2140 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2141 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2142 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2143 | .total_size = 2048 /* Size can only be determined from status register */, |
| 2144 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2145 | .tested = TEST_BAD_READ, |
| 2146 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2147 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2148 | .write = NULL, |
| 2149 | .read = NULL, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2150 | .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] | 2151 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2152 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2153 | { |
| 2154 | .vendor = "Atmel", |
| 2155 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2156 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2157 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2158 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2159 | .total_size = 4224 /* No power of two sizes */, |
| 2160 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2161 | .tested = TEST_BAD_READ, |
| 2162 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2163 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2164 | .write = NULL, |
| 2165 | .read = NULL /* Incompatible read */, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2166 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2167 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2168 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2169 | { |
| 2170 | .vendor = "Atmel", |
| 2171 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2172 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2173 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2174 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2175 | .total_size = 4096 /* Size can only be determined from status register */, |
| 2176 | .page_size = 512 /* Size can only be determined from status register */, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 2177 | /* OTP: 128B total, 64B pre-programmed; read 0x77; write 0x9B */ |
| 2178 | .feature_bits = FEATURE_OTP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2179 | .tested = TEST_BAD_READ, |
| 2180 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2181 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2182 | .write = NULL, |
| 2183 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2184 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2185 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2186 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2187 | { |
| 2188 | .vendor = "Atmel", |
| 2189 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2190 | .bustype = BUS_SPI, |
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_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2193 | .total_size = 8192 /* Size can only be determined from status register */, |
| 2194 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2195 | .tested = TEST_BAD_READ, |
| 2196 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2197 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2198 | .write = NULL, |
| 2199 | .read = NULL, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2200 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2201 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2202 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2203 | { |
| 2204 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2205 | .name = "AT49BV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2206 | .bustype = BUS_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2207 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2208 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2209 | .total_size = 64, |
| 2210 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2211 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 2212 | .tested = TEST_OK_PREW, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2213 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2214 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2215 | .block_erasers = |
| 2216 | { |
| 2217 | { |
| 2218 | .eraseblocks = { {64 * 1024, 1} }, |
| 2219 | .block_erase = erase_chip_block_jedec, |
| 2220 | } |
| 2221 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2222 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2223 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2224 | .voltage = {2700, 3600}, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2225 | }, |
| 2226 | |
| 2227 | { |
| 2228 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2229 | .name = "AT49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2230 | .bustype = BUS_PARALLEL, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2231 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2232 | .model_id = ATMEL_AT49F020, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2233 | .total_size = 256, |
| 2234 | .page_size = 256, |
| 2235 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2236 | .tested = TEST_OK_PRE, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2237 | .probe = probe_jedec, |
| 2238 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2239 | .block_erasers = |
| 2240 | { |
| 2241 | { |
| 2242 | .eraseblocks = { {256 * 1024, 1} }, |
| 2243 | .block_erase = erase_chip_block_jedec, |
| 2244 | } |
| 2245 | }, |
| 2246 | .write = write_jedec_1, |
| 2247 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2248 | .voltage = {4500, 5500}, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2249 | }, |
| 2250 | |
| 2251 | { |
| 2252 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2253 | .name = "AT49F002(N)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2254 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2255 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2256 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2257 | .total_size = 256, |
| 2258 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2259 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2260 | .tested = TEST_UNTESTED, |
| 2261 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2262 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2263 | .block_erasers = |
| 2264 | { |
| 2265 | { |
| 2266 | .eraseblocks = { |
| 2267 | {16 * 1024, 1}, |
| 2268 | {8 * 1024, 2}, |
| 2269 | {96 * 1024, 1}, |
| 2270 | {128 * 1024, 1}, |
| 2271 | }, |
| 2272 | .block_erase = erase_sector_jedec, |
| 2273 | }, { |
| 2274 | .eraseblocks = { {256 * 1024, 1} }, |
| 2275 | .block_erase = erase_chip_block_jedec, |
| 2276 | } |
| 2277 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2278 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2279 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2280 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2281 | }, |
| 2282 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2283 | { |
| 2284 | .vendor = "Atmel", |
| 2285 | .name = "AT49F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2286 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2287 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2288 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2289 | .total_size = 256, |
| 2290 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2291 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2292 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2293 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2294 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2295 | .block_erasers = |
| 2296 | { |
| 2297 | { |
| 2298 | .eraseblocks = { |
| 2299 | {128 * 1024, 1}, |
| 2300 | {96 * 1024, 1}, |
| 2301 | {8 * 1024, 2}, |
| 2302 | {16 * 1024, 1}, |
| 2303 | }, |
| 2304 | .block_erase = erase_sector_jedec, |
| 2305 | }, { |
| 2306 | .eraseblocks = { {256 * 1024, 1} }, |
| 2307 | .block_erase = erase_chip_block_jedec, |
| 2308 | } |
| 2309 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2310 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2311 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2312 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2313 | }, |
| 2314 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2315 | { |
Uwe Hermann | c74e977 | 2011-09-08 19:55:18 +0000 | [diff] [blame] | 2316 | .vendor = "Atmel", |
| 2317 | .name = "AT49LH002", |
| 2318 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
| 2319 | .manufacture_id = ATMEL_ID, |
| 2320 | .model_id = ATMEL_AT49LH002, |
| 2321 | .total_size = 256, |
| 2322 | .page_size = 0, /* unused */ |
| 2323 | .feature_bits = FEATURE_REGISTERMAP, /* TODO: LPC OK too? */ |
| 2324 | .tested = TEST_UNTESTED, |
| 2325 | .probe = probe_82802ab, /* TODO: 0xff cmd not documented? */ |
| 2326 | .probe_timing = TIMING_FIXME, |
| 2327 | .block_erasers = |
| 2328 | { |
| 2329 | { |
| 2330 | .eraseblocks = { |
| 2331 | {64 * 1024, 3}, |
| 2332 | {32 * 1024, 1}, |
| 2333 | {8 * 1024, 2}, |
| 2334 | {16 * 1024, 1}, |
| 2335 | }, |
| 2336 | .block_erase = erase_block_82802ab, |
| 2337 | }, { |
| 2338 | .eraseblocks = { |
| 2339 | {64 * 1024, 4}, |
| 2340 | }, |
| 2341 | .block_erase = NULL, /* TODO: Implement. */ |
| 2342 | }, |
| 2343 | }, |
| 2344 | .printlock = NULL, /* TODO */ |
| 2345 | .unlock = NULL, /* unlock_82802ab() not correct(?) */ |
| 2346 | .write = write_82802ab, |
| 2347 | .read = read_memmapped, |
| 2348 | .voltage = {3000, 3600}, |
| 2349 | }, |
| 2350 | |
| 2351 | { |
Andrew Morgan | ca08146 | 2011-09-13 22:05:44 +0000 | [diff] [blame] | 2352 | .vendor = "Catalyst", |
| 2353 | .name = "CAT28F512", |
| 2354 | .bustype = BUS_PARALLEL, |
| 2355 | .manufacture_id = CATALYST_ID, |
| 2356 | .model_id = CATALYST_CAT28F512, |
| 2357 | .total_size = 64, |
| 2358 | .page_size = 0, /* unused */ |
| 2359 | .feature_bits = 0, |
| 2360 | .tested = TEST_OK_PR, |
| 2361 | .probe = probe_jedec, /* FIXME! */ |
| 2362 | .probe_timing = TIMING_ZERO, |
| 2363 | .block_erasers = |
| 2364 | { |
| 2365 | { |
| 2366 | .eraseblocks = { {64 * 1024, 1} }, |
| 2367 | .block_erase = NULL, /* TODO */ |
| 2368 | }, |
| 2369 | }, |
| 2370 | .write = NULL, /* TODO */ |
| 2371 | .read = read_memmapped, |
| 2372 | .voltage = {4500, 5500}, |
| 2373 | }, |
| 2374 | |
| 2375 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2376 | .vendor = "Bright", |
| 2377 | .name = "BM29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2378 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2379 | .manufacture_id = BRIGHT_ID, |
| 2380 | .model_id = BRIGHT_BM29F040, |
| 2381 | .total_size = 512, |
| 2382 | .page_size = 64 * 1024, |
| 2383 | .feature_bits = FEATURE_EITHER_RESET, |
| 2384 | .tested = TEST_OK_PR, |
| 2385 | .probe = probe_jedec, |
| 2386 | .probe_timing = TIMING_ZERO, |
| 2387 | .block_erasers = |
| 2388 | { |
| 2389 | { |
| 2390 | .eraseblocks = { {64 * 1024, 8} }, |
| 2391 | .block_erase = erase_sector_jedec, |
| 2392 | }, { |
| 2393 | .eraseblocks = { {512 * 1024, 1} }, |
| 2394 | .block_erase = erase_chip_block_jedec, |
| 2395 | }, |
| 2396 | }, |
| 2397 | .write = write_jedec_1, |
| 2398 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 2399 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2400 | }, |
| 2401 | |
| 2402 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2403 | .vendor = "EMST", |
| 2404 | .name = "F49B002UA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2405 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2406 | .manufacture_id = EMST_ID, |
| 2407 | .model_id = EMST_F49B002UA, |
| 2408 | .total_size = 256, |
| 2409 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2410 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2411 | .tested = TEST_UNTESTED, |
| 2412 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2413 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2414 | .block_erasers = |
| 2415 | { |
| 2416 | { |
| 2417 | .eraseblocks = { |
| 2418 | {128 * 1024, 1}, |
| 2419 | {96 * 1024, 1}, |
| 2420 | {8 * 1024, 2}, |
| 2421 | {16 * 1024, 1}, |
| 2422 | }, |
| 2423 | .block_erase = erase_sector_jedec, |
| 2424 | }, { |
| 2425 | .eraseblocks = { {256 * 1024, 1} }, |
| 2426 | .block_erase = erase_chip_block_jedec, |
| 2427 | } |
| 2428 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2429 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2430 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2431 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2432 | }, |
| 2433 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2434 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2435 | .vendor = "EMST", |
| 2436 | .name = "F25L008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2437 | .bustype = BUS_SPI, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2438 | .manufacture_id = EMST_ID, |
| 2439 | .model_id = EMST_F25L008A, |
| 2440 | .total_size = 1024, |
| 2441 | .page_size = 256, |
| 2442 | .tested = TEST_UNTESTED, |
| 2443 | .probe = probe_spi_rdid, |
| 2444 | .probe_timing = TIMING_ZERO, |
| 2445 | .block_erasers = |
| 2446 | { |
| 2447 | { |
| 2448 | .eraseblocks = { {4 * 1024, 256} }, |
| 2449 | .block_erase = spi_block_erase_20, |
| 2450 | }, { |
| 2451 | .eraseblocks = { {64 * 1024, 16} }, |
| 2452 | .block_erase = spi_block_erase_d8, |
| 2453 | }, { |
| 2454 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2455 | .block_erase = spi_block_erase_60, |
| 2456 | }, { |
| 2457 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2458 | .block_erase = spi_block_erase_c7, |
| 2459 | } |
| 2460 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2461 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2462 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2463 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2464 | .voltage = {2700, 3600}, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2465 | }, |
| 2466 | |
| 2467 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2468 | .vendor = "Eon", |
| 2469 | .name = "EN25B05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2470 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2471 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2472 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2473 | .total_size = 64, |
| 2474 | .page_size = 256, |
| 2475 | .tested = TEST_UNTESTED, |
| 2476 | .probe = probe_spi_rdid, |
| 2477 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2478 | .block_erasers = |
| 2479 | { |
| 2480 | { |
| 2481 | .eraseblocks = { |
| 2482 | {4 * 1024, 2}, |
| 2483 | {8 * 1024, 1}, |
| 2484 | {16 * 1024, 1}, |
| 2485 | {32 * 1024, 1}, |
| 2486 | }, |
| 2487 | .block_erase = spi_block_erase_d8, |
| 2488 | }, { |
| 2489 | .eraseblocks = { {64 * 1024, 1} }, |
| 2490 | .block_erase = spi_block_erase_c7, |
| 2491 | } |
| 2492 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2493 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2494 | .write = spi_chip_write_256, |
| 2495 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2496 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2497 | }, |
| 2498 | |
| 2499 | { |
| 2500 | .vendor = "Eon", |
| 2501 | .name = "EN25B05T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2502 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2503 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2504 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2505 | .total_size = 64, |
| 2506 | .page_size = 256, |
| 2507 | .tested = TEST_UNTESTED, |
| 2508 | .probe = probe_spi_rdid, |
| 2509 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2510 | .block_erasers = |
| 2511 | { |
| 2512 | { |
| 2513 | .eraseblocks = { |
| 2514 | {32 * 1024, 1}, |
| 2515 | {16 * 1024, 1}, |
| 2516 | {8 * 1024, 1}, |
| 2517 | {4 * 1024, 2}, |
| 2518 | }, |
| 2519 | .block_erase = spi_block_erase_d8, |
| 2520 | }, { |
| 2521 | .eraseblocks = { {64 * 1024, 1} }, |
| 2522 | .block_erase = spi_block_erase_c7, |
| 2523 | } |
| 2524 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2525 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2526 | .write = spi_chip_write_256, |
| 2527 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2528 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2529 | }, |
| 2530 | |
| 2531 | { |
| 2532 | .vendor = "Eon", |
| 2533 | .name = "EN25B10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2534 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2535 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2536 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2537 | .total_size = 128, |
| 2538 | .page_size = 256, |
| 2539 | .tested = TEST_UNTESTED, |
| 2540 | .probe = probe_spi_rdid, |
| 2541 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2542 | .block_erasers = |
| 2543 | { |
| 2544 | { |
| 2545 | .eraseblocks = { |
| 2546 | {4 * 1024, 2}, |
| 2547 | {8 * 1024, 1}, |
| 2548 | {16 * 1024, 1}, |
| 2549 | {32 * 1024, 3}, |
| 2550 | }, |
| 2551 | .block_erase = spi_block_erase_d8, |
| 2552 | }, { |
| 2553 | .eraseblocks = { {128 * 1024, 1} }, |
| 2554 | .block_erase = spi_block_erase_c7, |
| 2555 | } |
| 2556 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2557 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2558 | .write = spi_chip_write_256, |
| 2559 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2560 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2561 | }, |
| 2562 | |
| 2563 | { |
| 2564 | .vendor = "Eon", |
| 2565 | .name = "EN25B10T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2566 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2567 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2568 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2569 | .total_size = 128, |
| 2570 | .page_size = 256, |
| 2571 | .tested = TEST_UNTESTED, |
| 2572 | .probe = probe_spi_rdid, |
| 2573 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2574 | .block_erasers = |
| 2575 | { |
| 2576 | { |
| 2577 | .eraseblocks = { |
| 2578 | {32 * 1024, 3}, |
| 2579 | {16 * 1024, 1}, |
| 2580 | {8 * 1024, 1}, |
| 2581 | {4 * 1024, 2}, |
| 2582 | }, |
| 2583 | .block_erase = spi_block_erase_d8, |
| 2584 | }, { |
| 2585 | .eraseblocks = { {128 * 1024, 1} }, |
| 2586 | .block_erase = spi_block_erase_c7, |
| 2587 | } |
| 2588 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2589 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2590 | .write = spi_chip_write_256, |
| 2591 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2592 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2593 | }, |
| 2594 | |
| 2595 | { |
| 2596 | .vendor = "Eon", |
| 2597 | .name = "EN25B20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2598 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2599 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2600 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2601 | .total_size = 256, |
| 2602 | .page_size = 256, |
| 2603 | .tested = TEST_UNTESTED, |
| 2604 | .probe = probe_spi_rdid, |
| 2605 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2606 | .block_erasers = |
| 2607 | { |
| 2608 | { |
| 2609 | .eraseblocks = { |
| 2610 | {4 * 1024, 2}, |
| 2611 | {8 * 1024, 1}, |
| 2612 | {16 * 1024, 1}, |
| 2613 | {32 * 1024, 1}, |
| 2614 | {64 * 1024, 3} |
| 2615 | }, |
| 2616 | .block_erase = spi_block_erase_d8, |
| 2617 | }, { |
| 2618 | .eraseblocks = { {256 * 1024, 1} }, |
| 2619 | .block_erase = spi_block_erase_c7, |
| 2620 | } |
| 2621 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2622 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2623 | .write = spi_chip_write_256, |
| 2624 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2625 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2626 | }, |
| 2627 | |
| 2628 | { |
| 2629 | .vendor = "Eon", |
| 2630 | .name = "EN25B20T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2631 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2632 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2633 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2634 | .total_size = 256, |
| 2635 | .page_size = 256, |
| 2636 | .tested = TEST_UNTESTED, |
| 2637 | .probe = probe_spi_rdid, |
| 2638 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2639 | .block_erasers = |
| 2640 | { |
| 2641 | { |
| 2642 | .eraseblocks = { |
| 2643 | {64 * 1024, 3}, |
| 2644 | {32 * 1024, 1}, |
| 2645 | {16 * 1024, 1}, |
| 2646 | {8 * 1024, 1}, |
| 2647 | {4 * 1024, 2}, |
| 2648 | }, |
| 2649 | .block_erase = spi_block_erase_d8, |
| 2650 | }, { |
| 2651 | .eraseblocks = { {256 * 1024, 1} }, |
| 2652 | .block_erase = spi_block_erase_c7, |
| 2653 | } |
| 2654 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2655 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2656 | .write = spi_chip_write_256, |
| 2657 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2658 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2659 | }, |
| 2660 | |
| 2661 | { |
| 2662 | .vendor = "Eon", |
| 2663 | .name = "EN25B40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2664 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2665 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2666 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2667 | .total_size = 512, |
| 2668 | .page_size = 256, |
| 2669 | .tested = TEST_UNTESTED, |
| 2670 | .probe = probe_spi_rdid, |
| 2671 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2672 | .block_erasers = |
| 2673 | { |
| 2674 | { |
| 2675 | .eraseblocks = { |
| 2676 | {4 * 1024, 2}, |
| 2677 | {8 * 1024, 1}, |
| 2678 | {16 * 1024, 1}, |
| 2679 | {32 * 1024, 1}, |
| 2680 | {64 * 1024, 7} |
| 2681 | }, |
| 2682 | .block_erase = spi_block_erase_d8, |
| 2683 | }, { |
| 2684 | .eraseblocks = { {512 * 1024, 1} }, |
| 2685 | .block_erase = spi_block_erase_c7, |
| 2686 | } |
| 2687 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2688 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2689 | .write = spi_chip_write_256, |
| 2690 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2691 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2692 | }, |
| 2693 | |
| 2694 | { |
| 2695 | .vendor = "Eon", |
| 2696 | .name = "EN25B40T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2697 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2698 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2699 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2700 | .total_size = 512, |
| 2701 | .page_size = 256, |
| 2702 | .tested = TEST_UNTESTED, |
| 2703 | .probe = probe_spi_rdid, |
| 2704 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2705 | .block_erasers = |
| 2706 | { |
| 2707 | { |
| 2708 | .eraseblocks = { |
| 2709 | {64 * 1024, 7}, |
| 2710 | {32 * 1024, 1}, |
| 2711 | {16 * 1024, 1}, |
| 2712 | {8 * 1024, 1}, |
| 2713 | {4 * 1024, 2}, |
| 2714 | }, |
| 2715 | .block_erase = spi_block_erase_d8, |
| 2716 | }, { |
| 2717 | .eraseblocks = { {512 * 1024, 1} }, |
| 2718 | .block_erase = spi_block_erase_c7, |
| 2719 | } |
| 2720 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2721 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2722 | .write = spi_chip_write_256, |
| 2723 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2724 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2725 | }, |
| 2726 | |
| 2727 | { |
| 2728 | .vendor = "Eon", |
| 2729 | .name = "EN25B80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2730 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2731 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2732 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2733 | .total_size = 1024, |
| 2734 | .page_size = 256, |
| 2735 | .tested = TEST_UNTESTED, |
| 2736 | .probe = probe_spi_rdid, |
| 2737 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2738 | .block_erasers = |
| 2739 | { |
| 2740 | { |
| 2741 | .eraseblocks = { |
| 2742 | {4 * 1024, 2}, |
| 2743 | {8 * 1024, 1}, |
| 2744 | {16 * 1024, 1}, |
| 2745 | {32 * 1024, 1}, |
| 2746 | {64 * 1024, 15} |
| 2747 | }, |
| 2748 | .block_erase = spi_block_erase_d8, |
| 2749 | }, { |
| 2750 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2751 | .block_erase = spi_block_erase_c7, |
| 2752 | } |
| 2753 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2754 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2755 | .write = spi_chip_write_256, |
| 2756 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2757 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2758 | }, |
| 2759 | |
| 2760 | { |
| 2761 | .vendor = "Eon", |
| 2762 | .name = "EN25B80T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2763 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2764 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2765 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2766 | .total_size = 1024, |
| 2767 | .page_size = 256, |
| 2768 | .tested = TEST_UNTESTED, |
| 2769 | .probe = probe_spi_rdid, |
| 2770 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2771 | .block_erasers = |
| 2772 | { |
| 2773 | { |
| 2774 | .eraseblocks = { |
| 2775 | {64 * 1024, 15}, |
| 2776 | {32 * 1024, 1}, |
| 2777 | {16 * 1024, 1}, |
| 2778 | {8 * 1024, 1}, |
| 2779 | {4 * 1024, 2}, |
| 2780 | }, |
| 2781 | .block_erase = spi_block_erase_d8, |
| 2782 | }, { |
| 2783 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2784 | .block_erase = spi_block_erase_c7, |
| 2785 | } |
| 2786 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2787 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2788 | .write = spi_chip_write_256, |
| 2789 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2790 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2791 | }, |
| 2792 | |
| 2793 | { |
| 2794 | .vendor = "Eon", |
| 2795 | .name = "EN25B16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2796 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2797 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2798 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2799 | .total_size = 2048, |
| 2800 | .page_size = 256, |
| 2801 | .tested = TEST_UNTESTED, |
| 2802 | .probe = probe_spi_rdid, |
| 2803 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2804 | .block_erasers = |
| 2805 | { |
| 2806 | { |
| 2807 | .eraseblocks = { |
| 2808 | {4 * 1024, 2}, |
| 2809 | {8 * 1024, 1}, |
| 2810 | {16 * 1024, 1}, |
| 2811 | {32 * 1024, 1}, |
| 2812 | {64 * 1024, 31}, |
| 2813 | }, |
| 2814 | .block_erase = spi_block_erase_d8, |
| 2815 | }, { |
| 2816 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2817 | .block_erase = spi_block_erase_c7, |
| 2818 | } |
| 2819 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2820 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2821 | .write = spi_chip_write_256, |
| 2822 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2823 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2824 | }, |
| 2825 | |
| 2826 | { |
| 2827 | .vendor = "Eon", |
| 2828 | .name = "EN25B16T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2829 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2830 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2831 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2832 | .total_size = 2048, |
| 2833 | .page_size = 256, |
| 2834 | .tested = TEST_UNTESTED, |
| 2835 | .probe = probe_spi_rdid, |
| 2836 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2837 | .block_erasers = |
| 2838 | { |
| 2839 | { |
| 2840 | .eraseblocks = { |
| 2841 | {64 * 1024, 31}, |
| 2842 | {32 * 1024, 1}, |
| 2843 | {16 * 1024, 1}, |
| 2844 | {8 * 1024, 1}, |
| 2845 | {4 * 1024, 2}, |
| 2846 | }, |
| 2847 | .block_erase = spi_block_erase_d8, |
| 2848 | }, { |
| 2849 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2850 | .block_erase = spi_block_erase_c7, |
| 2851 | } |
| 2852 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2853 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2854 | .write = spi_chip_write_256, |
| 2855 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2856 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2857 | }, |
| 2858 | |
| 2859 | { |
| 2860 | .vendor = "Eon", |
| 2861 | .name = "EN25B32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2862 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2863 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2864 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2865 | .total_size = 4096, |
| 2866 | .page_size = 256, |
| 2867 | .tested = TEST_UNTESTED, |
| 2868 | .probe = probe_spi_rdid, |
| 2869 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2870 | .block_erasers = |
| 2871 | { |
| 2872 | { |
| 2873 | .eraseblocks = { |
| 2874 | {4 * 1024, 2}, |
| 2875 | {8 * 1024, 1}, |
| 2876 | {16 * 1024, 1}, |
| 2877 | {32 * 1024, 1}, |
| 2878 | {64 * 1024, 63}, |
| 2879 | }, |
| 2880 | .block_erase = spi_block_erase_d8, |
| 2881 | }, { |
| 2882 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2883 | .block_erase = spi_block_erase_c7, |
| 2884 | } |
| 2885 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2886 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2887 | .write = spi_chip_write_256, |
| 2888 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2889 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2890 | }, |
| 2891 | |
| 2892 | { |
| 2893 | .vendor = "Eon", |
| 2894 | .name = "EN25B32T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2895 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2896 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2897 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2898 | .total_size = 4096, |
| 2899 | .page_size = 256, |
| 2900 | .tested = TEST_UNTESTED, |
| 2901 | .probe = probe_spi_rdid, |
| 2902 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2903 | .block_erasers = |
| 2904 | { |
| 2905 | { |
| 2906 | .eraseblocks = { |
| 2907 | {64 * 1024, 63}, |
| 2908 | {32 * 1024, 1}, |
| 2909 | {16 * 1024, 1}, |
| 2910 | {8 * 1024, 1}, |
| 2911 | {4 * 1024, 2}, |
| 2912 | }, |
| 2913 | .block_erase = spi_block_erase_d8, |
| 2914 | }, { |
| 2915 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2916 | .block_erase = spi_block_erase_c7, |
| 2917 | } |
| 2918 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2919 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2920 | .write = spi_chip_write_256, |
| 2921 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2922 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2923 | }, |
| 2924 | |
| 2925 | { |
| 2926 | .vendor = "Eon", |
| 2927 | .name = "EN25B64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2928 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2929 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2930 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2931 | .total_size = 8192, |
| 2932 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2933 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2934 | .tested = TEST_UNTESTED, |
| 2935 | .probe = probe_spi_rdid, |
| 2936 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2937 | .block_erasers = |
| 2938 | { |
| 2939 | { |
| 2940 | .eraseblocks = { |
| 2941 | {4 * 1024, 2}, |
| 2942 | {8 * 1024, 1}, |
| 2943 | {16 * 1024, 1}, |
| 2944 | {32 * 1024, 1}, |
| 2945 | {64 * 1024, 127}, |
| 2946 | }, |
| 2947 | .block_erase = spi_block_erase_d8, |
| 2948 | }, { |
| 2949 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2950 | .block_erase = spi_block_erase_c7, |
| 2951 | } |
| 2952 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2953 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2954 | .write = spi_chip_write_256, |
| 2955 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2956 | .voltage = {2700, 3600}, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2957 | }, |
| 2958 | |
| 2959 | { |
| 2960 | .vendor = "Eon", |
| 2961 | .name = "EN25B64T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2962 | .bustype = BUS_SPI, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2963 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2964 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2965 | .total_size = 8192, |
| 2966 | .page_size = 256, |
| 2967 | .tested = TEST_UNTESTED, |
| 2968 | .probe = probe_spi_rdid, |
| 2969 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2970 | .block_erasers = |
| 2971 | { |
| 2972 | { |
| 2973 | .eraseblocks = { |
| 2974 | {64 * 1024, 127}, |
| 2975 | {32 * 1024, 1}, |
| 2976 | {16 * 1024, 1}, |
| 2977 | {8 * 1024, 1}, |
| 2978 | {4 * 1024, 2}, |
| 2979 | }, |
| 2980 | .block_erase = spi_block_erase_d8, |
| 2981 | }, { |
| 2982 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2983 | .block_erase = spi_block_erase_c7, |
| 2984 | } |
| 2985 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2986 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2987 | .write = spi_chip_write_256, |
| 2988 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 2989 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2990 | }, |
| 2991 | |
| 2992 | { |
| 2993 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2994 | .name = "EN25F05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 2995 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2996 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2997 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2998 | .total_size = 64, |
| 2999 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3000 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3001 | .tested = TEST_UNTESTED, |
| 3002 | .probe = probe_spi_rdid, |
| 3003 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3004 | .block_erasers = |
| 3005 | { |
| 3006 | { |
| 3007 | .eraseblocks = { {4 * 1024, 16} }, |
| 3008 | .block_erase = spi_block_erase_20, |
| 3009 | }, { |
| 3010 | .eraseblocks = { {32 * 1024, 2} }, |
| 3011 | .block_erase = spi_block_erase_d8, |
| 3012 | }, { |
| 3013 | .eraseblocks = { {32 * 1024, 2} }, |
| 3014 | .block_erase = spi_block_erase_52, |
| 3015 | }, { |
| 3016 | .eraseblocks = { {64 * 1024, 1} }, |
| 3017 | .block_erase = spi_block_erase_60, |
| 3018 | }, { |
| 3019 | .eraseblocks = { {64 * 1024, 1} }, |
| 3020 | .block_erase = spi_block_erase_c7, |
| 3021 | } |
| 3022 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3023 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3024 | .write = spi_chip_write_256, |
| 3025 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3026 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3027 | }, |
| 3028 | |
| 3029 | { |
| 3030 | .vendor = "Eon", |
| 3031 | .name = "EN25F10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3032 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3033 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3034 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3035 | .total_size = 128, |
| 3036 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3037 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3038 | .tested = TEST_UNTESTED, |
| 3039 | .probe = probe_spi_rdid, |
| 3040 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3041 | .block_erasers = |
| 3042 | { |
| 3043 | { |
| 3044 | .eraseblocks = { {4 * 1024, 32} }, |
| 3045 | .block_erase = spi_block_erase_20, |
| 3046 | }, { |
| 3047 | .eraseblocks = { {32 * 1024, 4} }, |
| 3048 | .block_erase = spi_block_erase_d8, |
| 3049 | }, { |
| 3050 | .eraseblocks = { {32 * 1024, 4} }, |
| 3051 | .block_erase = spi_block_erase_52, |
| 3052 | }, { |
| 3053 | .eraseblocks = { {128 * 1024, 1} }, |
| 3054 | .block_erase = spi_block_erase_60, |
| 3055 | }, { |
| 3056 | .eraseblocks = { {128 * 1024, 1} }, |
| 3057 | .block_erase = spi_block_erase_c7, |
| 3058 | } |
| 3059 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3060 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3061 | .write = spi_chip_write_256, |
| 3062 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3063 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3064 | }, |
| 3065 | |
| 3066 | { |
| 3067 | .vendor = "Eon", |
| 3068 | .name = "EN25F20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3069 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3070 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3071 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3072 | .total_size = 256, |
| 3073 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3074 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3075 | .tested = TEST_UNTESTED, |
| 3076 | .probe = probe_spi_rdid, |
| 3077 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3078 | .block_erasers = |
| 3079 | { |
| 3080 | { |
| 3081 | .eraseblocks = { {4 * 1024, 64} }, |
| 3082 | .block_erase = spi_block_erase_20, |
| 3083 | }, { |
| 3084 | .eraseblocks = { {64 * 1024, 4} }, |
| 3085 | .block_erase = spi_block_erase_d8, |
| 3086 | }, { |
| 3087 | .eraseblocks = { {64 * 1024, 4} }, |
| 3088 | .block_erase = spi_block_erase_52, |
| 3089 | }, { |
| 3090 | .eraseblocks = { {256 * 1024, 1} }, |
| 3091 | .block_erase = spi_block_erase_60, |
| 3092 | }, { |
| 3093 | .eraseblocks = { {256 * 1024, 1} }, |
| 3094 | .block_erase = spi_block_erase_c7, |
| 3095 | } |
| 3096 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3097 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3098 | .write = spi_chip_write_256, |
| 3099 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3100 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3101 | }, |
| 3102 | |
| 3103 | { |
| 3104 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3105 | .name = "EN25F40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3106 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3107 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3108 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3109 | .total_size = 512, |
| 3110 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3111 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 3112 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3113 | .probe = probe_spi_rdid, |
| 3114 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3115 | .block_erasers = |
| 3116 | { |
| 3117 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3118 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3119 | .block_erase = spi_block_erase_20, |
| 3120 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3121 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3122 | .block_erase = spi_block_erase_d8, |
| 3123 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3124 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3125 | .block_erase = spi_block_erase_60, |
| 3126 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3127 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3128 | .block_erase = spi_block_erase_c7, |
| 3129 | }, |
| 3130 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3131 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3132 | .write = spi_chip_write_256, |
| 3133 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3134 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3135 | }, |
| 3136 | |
| 3137 | { |
| 3138 | .vendor = "Eon", |
| 3139 | .name = "EN25F80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3140 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3141 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3142 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3143 | .total_size = 1024, |
| 3144 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3145 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 3146 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3147 | .probe = probe_spi_rdid, |
| 3148 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3149 | .block_erasers = |
| 3150 | { |
| 3151 | { |
| 3152 | .eraseblocks = { {4 * 1024, 256} }, |
| 3153 | .block_erase = spi_block_erase_20, |
| 3154 | }, { |
| 3155 | .eraseblocks = { {64 * 1024, 16} }, |
| 3156 | .block_erase = spi_block_erase_d8, |
| 3157 | }, { |
| 3158 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3159 | .block_erase = spi_block_erase_60, |
| 3160 | }, { |
| 3161 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3162 | .block_erase = spi_block_erase_c7, |
| 3163 | } |
| 3164 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3165 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3166 | .write = spi_chip_write_256, |
| 3167 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3168 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3169 | }, |
| 3170 | |
| 3171 | { |
| 3172 | .vendor = "Eon", |
| 3173 | .name = "EN25F16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3174 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3175 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3176 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3177 | .total_size = 2048, |
| 3178 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3179 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3180 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3181 | .probe = probe_spi_rdid, |
| 3182 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3183 | .block_erasers = |
| 3184 | { |
| 3185 | { |
| 3186 | .eraseblocks = { {4 * 1024, 512} }, |
| 3187 | .block_erase = spi_block_erase_20, |
| 3188 | }, { |
| 3189 | .eraseblocks = { {64 * 1024, 32} }, |
| 3190 | .block_erase = spi_block_erase_d8, |
| 3191 | }, { |
| 3192 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3193 | .block_erase = spi_block_erase_60, |
| 3194 | }, { |
| 3195 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3196 | .block_erase = spi_block_erase_c7, |
| 3197 | } |
| 3198 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3199 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3200 | .write = spi_chip_write_256, |
| 3201 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3202 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3203 | }, |
| 3204 | |
| 3205 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3206 | .vendor = "Eon", |
| 3207 | .name = "EN25F32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3208 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3209 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3210 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3211 | .total_size = 4096, |
| 3212 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3213 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3214 | .tested = TEST_UNTESTED, |
| 3215 | .probe = probe_spi_rdid, |
| 3216 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3217 | .block_erasers = |
| 3218 | { |
| 3219 | { |
| 3220 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3221 | .block_erase = spi_block_erase_20, |
| 3222 | }, { |
| 3223 | .eraseblocks = { {64 * 1024, 64} }, |
| 3224 | .block_erase = spi_block_erase_d8, |
| 3225 | }, { |
| 3226 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3227 | .block_erase = spi_block_erase_60, |
| 3228 | }, { |
| 3229 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3230 | .block_erase = spi_block_erase_c7, |
| 3231 | } |
| 3232 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3233 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3234 | .write = spi_chip_write_256, |
| 3235 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3236 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3237 | }, |
| 3238 | |
| 3239 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3240 | .vendor = "Eon", |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3241 | .name = "EN25Q40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3242 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3243 | .manufacture_id = EON_ID_NOPREFIX, |
| 3244 | .model_id = EON_EN25Q40, |
| 3245 | .total_size = 512, |
| 3246 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3247 | /* OTP: 256B total; enter 0x3A */ |
| 3248 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3249 | .tested = TEST_UNTESTED, |
| 3250 | .probe = probe_spi_rdid, |
| 3251 | .probe_timing = TIMING_ZERO, |
| 3252 | .block_erasers = |
| 3253 | { |
| 3254 | { |
| 3255 | .eraseblocks = { {4 * 1024, 128} }, |
| 3256 | .block_erase = spi_block_erase_20, |
| 3257 | }, { |
| 3258 | .eraseblocks = { {64 * 1024, 8} }, |
| 3259 | .block_erase = spi_block_erase_d8, |
| 3260 | }, { |
| 3261 | .eraseblocks = { {512 * 1024, 1} }, |
| 3262 | .block_erase = spi_block_erase_60, |
| 3263 | }, { |
| 3264 | .eraseblocks = { {512 * 1024, 1} }, |
| 3265 | .block_erase = spi_block_erase_c7, |
| 3266 | } |
| 3267 | }, |
| 3268 | .unlock = spi_disable_blockprotect, |
| 3269 | .write = spi_chip_write_256, |
| 3270 | .read = spi_chip_read, |
| 3271 | .voltage = {2700, 3600}, |
| 3272 | }, |
| 3273 | |
| 3274 | { |
| 3275 | .vendor = "Eon", |
| 3276 | .name = "EN25Q80(A)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3277 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3278 | .manufacture_id = EON_ID_NOPREFIX, |
| 3279 | .model_id = EON_EN25Q80, |
| 3280 | .total_size = 1024, |
| 3281 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3282 | /* OTP: 256B total; enter 0x3A */ |
| 3283 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3284 | .tested = TEST_UNTESTED, |
| 3285 | .probe = probe_spi_rdid, |
| 3286 | .probe_timing = TIMING_ZERO, |
| 3287 | .block_erasers = |
| 3288 | { |
| 3289 | { |
| 3290 | .eraseblocks = { {4 * 1024, 256} }, |
| 3291 | .block_erase = spi_block_erase_20, |
| 3292 | }, { |
| 3293 | .eraseblocks = { {64 * 1024, 16} }, |
| 3294 | .block_erase = spi_block_erase_d8, |
| 3295 | }, { |
| 3296 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3297 | .block_erase = spi_block_erase_60, |
| 3298 | }, { |
| 3299 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3300 | .block_erase = spi_block_erase_c7, |
| 3301 | } |
| 3302 | }, |
| 3303 | .unlock = spi_disable_blockprotect, |
| 3304 | .write = spi_chip_write_256, |
| 3305 | .read = spi_chip_read, |
| 3306 | .voltage = {2700, 3600}, |
| 3307 | }, |
| 3308 | |
| 3309 | { |
| 3310 | /* Note: EN25D16 is an evil twin which shares the model ID |
| 3311 | but has different write protection capabilities */ |
| 3312 | .vendor = "Eon", |
| 3313 | .name = "EN25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3314 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3315 | .manufacture_id = EON_ID_NOPREFIX, |
| 3316 | .model_id = EON_EN25Q16, |
| 3317 | .total_size = 2048, |
| 3318 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3319 | /* OTP: D16 512B/Q16 128B total; enter 0x3A */ |
| 3320 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3321 | .tested = TEST_UNTESTED, |
| 3322 | .probe = probe_spi_rdid, |
| 3323 | .probe_timing = TIMING_ZERO, |
| 3324 | .block_erasers = |
| 3325 | { |
| 3326 | { |
| 3327 | .eraseblocks = { {4 * 1024, 512} }, |
| 3328 | .block_erase = spi_block_erase_20, |
| 3329 | }, { |
| 3330 | .eraseblocks = { {64 * 1024, 32} }, |
| 3331 | .block_erase = spi_block_erase_d8, |
| 3332 | }, { |
| 3333 | /* not supported by Q16 version */ |
| 3334 | .eraseblocks = { {64 * 1024, 32} }, |
| 3335 | .block_erase = spi_block_erase_52, |
| 3336 | }, { |
| 3337 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3338 | .block_erase = spi_block_erase_60, |
| 3339 | }, { |
| 3340 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3341 | .block_erase = spi_block_erase_c7, |
| 3342 | } |
| 3343 | }, |
| 3344 | .unlock = spi_disable_blockprotect, |
| 3345 | .write = spi_chip_write_256, |
| 3346 | .read = spi_chip_read, |
| 3347 | .voltage = {2700, 3600}, |
| 3348 | }, |
| 3349 | |
| 3350 | { |
| 3351 | .vendor = "Eon", |
| 3352 | .name = "EN25Q32(A/B)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3353 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3354 | .manufacture_id = EON_ID_NOPREFIX, |
| 3355 | .model_id = EON_EN25Q32, |
| 3356 | .total_size = 4096, |
| 3357 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3358 | /* OTP: 512B total; enter 0x3A */ |
| 3359 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3360 | .tested = TEST_UNTESTED, |
| 3361 | .probe = probe_spi_rdid, |
| 3362 | .probe_timing = TIMING_ZERO, |
| 3363 | .block_erasers = |
| 3364 | { |
| 3365 | { |
| 3366 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3367 | .block_erase = spi_block_erase_20, |
| 3368 | }, { |
| 3369 | .eraseblocks = { {64 * 1024, 64} }, |
| 3370 | .block_erase = spi_block_erase_d8, |
| 3371 | }, { |
| 3372 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3373 | .block_erase = spi_block_erase_60, |
| 3374 | }, { |
| 3375 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3376 | .block_erase = spi_block_erase_c7, |
| 3377 | } |
| 3378 | }, |
| 3379 | .unlock = spi_disable_blockprotect, |
| 3380 | .write = spi_chip_write_256, |
| 3381 | .read = spi_chip_read, |
| 3382 | .voltage = {2700, 3600}, |
| 3383 | }, |
| 3384 | |
| 3385 | { |
| 3386 | .vendor = "Eon", |
| 3387 | .name = "EN25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3388 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3389 | .manufacture_id = EON_ID_NOPREFIX, |
| 3390 | .model_id = EON_EN25Q64, |
| 3391 | .total_size = 8192, |
| 3392 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3393 | /* OTP: 512B total; enter 0x3A */ |
| 3394 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3395 | .tested = TEST_UNTESTED, |
| 3396 | .probe = probe_spi_rdid, |
| 3397 | .probe_timing = TIMING_ZERO, |
| 3398 | .block_erasers = |
| 3399 | { |
| 3400 | { |
| 3401 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3402 | .block_erase = spi_block_erase_20, |
| 3403 | }, { |
| 3404 | .eraseblocks = { {64 * 1024, 128} }, |
| 3405 | .block_erase = spi_block_erase_d8, |
| 3406 | }, { |
| 3407 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3408 | .block_erase = spi_block_erase_60, |
| 3409 | }, { |
| 3410 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3411 | .block_erase = spi_block_erase_c7, |
| 3412 | } |
| 3413 | }, |
| 3414 | .unlock = spi_disable_blockprotect, |
| 3415 | .write = spi_chip_write_256, |
| 3416 | .read = spi_chip_read, |
| 3417 | .voltage = {2700, 3600}, |
| 3418 | }, |
| 3419 | |
| 3420 | { |
| 3421 | .vendor = "Eon", |
| 3422 | .name = "EN25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3423 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3424 | .manufacture_id = EON_ID_NOPREFIX, |
| 3425 | .model_id = EON_EN25Q128, |
| 3426 | .total_size = 16384, |
| 3427 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3428 | /* OTP: 512B total; enter 0x3A */ |
| 3429 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3430 | .tested = TEST_UNTESTED, |
| 3431 | .probe = probe_spi_rdid, |
| 3432 | .probe_timing = TIMING_ZERO, |
| 3433 | .block_erasers = |
| 3434 | { |
| 3435 | { |
| 3436 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3437 | .block_erase = spi_block_erase_20, |
| 3438 | }, { |
| 3439 | .eraseblocks = { {64 * 1024, 256} }, |
| 3440 | .block_erase = spi_block_erase_d8, |
| 3441 | }, { |
| 3442 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3443 | .block_erase = spi_block_erase_60, |
| 3444 | }, { |
| 3445 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3446 | .block_erase = spi_block_erase_c7, |
| 3447 | } |
| 3448 | }, |
| 3449 | .unlock = spi_disable_blockprotect, |
| 3450 | .write = spi_chip_write_256, |
| 3451 | .read = spi_chip_read, |
| 3452 | }, |
| 3453 | |
| 3454 | { |
| 3455 | .vendor = "Eon", |
| 3456 | .name = "EN25QH16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3457 | .bustype = BUS_SPI, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3458 | .manufacture_id = EON_ID_NOPREFIX, |
| 3459 | .model_id = EON_EN25QH16, |
| 3460 | .total_size = 2048, |
| 3461 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 3462 | /* supports SFDP */ |
| 3463 | /* OTP: 512B total; enter 0x3A */ |
| 3464 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 6d71530 | 2011-07-24 22:21:57 +0000 | [diff] [blame] | 3465 | .tested = TEST_UNTESTED, |
| 3466 | .probe = probe_spi_rdid, |
| 3467 | .probe_timing = TIMING_ZERO, |
| 3468 | .block_erasers = |
| 3469 | { |
| 3470 | { |
| 3471 | .eraseblocks = { {4 * 1024, 512} }, |
| 3472 | .block_erase = spi_block_erase_20, |
| 3473 | }, { |
| 3474 | .eraseblocks = { {64 * 1024, 32} }, |
| 3475 | .block_erase = spi_block_erase_d8, |
| 3476 | }, { |
| 3477 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3478 | .block_erase = spi_block_erase_60, |
| 3479 | }, { |
| 3480 | .eraseblocks = { {1024 * 2048, 1} }, |
| 3481 | .block_erase = spi_block_erase_c7, |
| 3482 | } |
| 3483 | }, |
| 3484 | .unlock = spi_disable_blockprotect, |
| 3485 | .write = spi_chip_write_256, |
| 3486 | .read = spi_chip_read, |
| 3487 | .voltage = {2700, 3600}, |
| 3488 | }, |
| 3489 | |
| 3490 | { |
| 3491 | .vendor = "Eon", |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3492 | .name = "EN29F010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3493 | .bustype = BUS_PARALLEL, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3494 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3495 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3496 | .total_size = 128, |
| 3497 | .page_size = 128, |
| 3498 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3499 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3500 | .probe = probe_jedec, |
| 3501 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3502 | .block_erasers = |
| 3503 | { |
| 3504 | { |
| 3505 | .eraseblocks = { {16 * 1024, 8} }, |
| 3506 | .block_erase = erase_sector_jedec, |
| 3507 | }, |
| 3508 | { |
| 3509 | .eraseblocks = { {128 * 1024, 1} }, |
| 3510 | .block_erase = erase_chip_block_jedec, |
| 3511 | }, |
| 3512 | }, |
| 3513 | .write = write_jedec_1, |
| 3514 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3515 | .voltage = {4500, 5500}, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3516 | }, |
| 3517 | |
| 3518 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3519 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3520 | .name = "EN29F002(A)(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3521 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3522 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3523 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3524 | .total_size = 256, |
| 3525 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3526 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3527 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3528 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3529 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3530 | .block_erasers = |
| 3531 | { |
| 3532 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame^] | 3533 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3534 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3535 | {8 * 1024, 2}, |
| 3536 | {32 * 1024, 1}, |
| 3537 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3538 | }, |
| 3539 | .block_erase = erase_sector_jedec, |
| 3540 | }, { |
| 3541 | .eraseblocks = { {256 * 1024, 1} }, |
| 3542 | .block_erase = erase_chip_block_jedec, |
| 3543 | }, |
| 3544 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3545 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3546 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3547 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3548 | }, |
| 3549 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3550 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3551 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3552 | .name = "EN29F002(A)(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3553 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3554 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3555 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3556 | .total_size = 256, |
| 3557 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3558 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 3559 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3560 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3561 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3562 | .block_erasers = |
| 3563 | { |
| 3564 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame^] | 3565 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3566 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3567 | {32 * 1024, 1}, |
| 3568 | {8 * 1024, 2}, |
| 3569 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3570 | }, |
| 3571 | .block_erase = erase_sector_jedec, |
| 3572 | }, { |
| 3573 | .eraseblocks = { {256 * 1024, 1} }, |
| 3574 | .block_erase = erase_chip_block_jedec, |
| 3575 | }, |
| 3576 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3577 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3578 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3579 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3580 | }, |
| 3581 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3582 | { |
Rudolf Marek | 47eff6b | 2012-04-14 22:51:40 +0000 | [diff] [blame^] | 3583 | .vendor = "Eon", |
| 3584 | .name = "EN29LV640B", |
| 3585 | .bustype = BUS_PARALLEL, |
| 3586 | .manufacture_id = EON_ID, |
| 3587 | .model_id = EON_EN29LV640B, |
| 3588 | .total_size = 8192, |
| 3589 | .page_size = 8192, |
| 3590 | .feature_bits = 0, |
| 3591 | .tested = TEST_OK_PREW, |
| 3592 | .probe = probe_en29lv640b, |
| 3593 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3594 | .block_erasers = |
| 3595 | { |
| 3596 | { |
| 3597 | .eraseblocks = { |
| 3598 | {8 * 1024, 8}, |
| 3599 | {64 * 1024, 127}, |
| 3600 | }, |
| 3601 | .block_erase = block_erase_en29lv640b, |
| 3602 | }, { |
| 3603 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3604 | .block_erase = block_erase_chip_en29lv640b, |
| 3605 | }, |
| 3606 | }, |
| 3607 | .write = write_en29lv640b, |
| 3608 | .read = read_memmapped, |
| 3609 | .voltage = {2700, 3600}, |
| 3610 | }, |
| 3611 | |
| 3612 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3613 | .vendor = "Fujitsu", |
| 3614 | .name = "MBM29F004BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3615 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3616 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3617 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3618 | .total_size = 512, |
| 3619 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3620 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3621 | .tested = TEST_UNTESTED, |
| 3622 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3623 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3624 | .block_erasers = |
| 3625 | { |
| 3626 | { |
| 3627 | .eraseblocks = { |
| 3628 | {16 * 1024, 1}, |
| 3629 | {8 * 1024, 2}, |
| 3630 | {32 * 1024, 1}, |
| 3631 | {64 * 1024, 7}, |
| 3632 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3633 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3634 | }, { |
| 3635 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3636 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3637 | }, |
| 3638 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3639 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3640 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3641 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3642 | }, |
| 3643 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3644 | { |
| 3645 | .vendor = "Fujitsu", |
| 3646 | .name = "MBM29F004TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3647 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3648 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3649 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3650 | .total_size = 512, |
| 3651 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3652 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3653 | .tested = TEST_UNTESTED, |
| 3654 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3655 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3656 | .block_erasers = |
| 3657 | { |
| 3658 | { |
| 3659 | .eraseblocks = { |
| 3660 | {64 * 1024, 7}, |
| 3661 | {32 * 1024, 1}, |
| 3662 | {8 * 1024, 2}, |
| 3663 | {16 * 1024, 1}, |
| 3664 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3665 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3666 | }, { |
| 3667 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3668 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3669 | }, |
| 3670 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3671 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3672 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3673 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3674 | }, |
| 3675 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3676 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3677 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3678 | .vendor = "Fujitsu", |
| 3679 | .name = "MBM29F400BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3680 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3681 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3682 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3683 | .total_size = 512, |
| 3684 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3685 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3686 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3687 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3688 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3689 | .block_erasers = |
| 3690 | { |
| 3691 | { |
| 3692 | .eraseblocks = { |
| 3693 | {16 * 1024, 1}, |
| 3694 | {8 * 1024, 2}, |
| 3695 | {32 * 1024, 1}, |
| 3696 | {64 * 1024, 7}, |
| 3697 | }, |
| 3698 | .block_erase = block_erase_m29f400bt, |
| 3699 | }, { |
| 3700 | .eraseblocks = { {512 * 1024, 1} }, |
| 3701 | .block_erase = block_erase_chip_m29f400bt, |
| 3702 | }, |
| 3703 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3704 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3705 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3706 | .voltage = {4750, 5250}, /* 4.75-5.25V for type -55, others 4.5-5.5V */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3707 | }, |
| 3708 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3709 | { |
| 3710 | .vendor = "Fujitsu", |
| 3711 | .name = "MBM29F400TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3712 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3713 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3714 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3715 | .total_size = 512, |
| 3716 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3717 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3718 | .tested = TEST_UNTESTED, |
| 3719 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3720 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3721 | .block_erasers = |
| 3722 | { |
| 3723 | { |
| 3724 | .eraseblocks = { |
| 3725 | {64 * 1024, 7}, |
| 3726 | {32 * 1024, 1}, |
| 3727 | {8 * 1024, 2}, |
| 3728 | {16 * 1024, 1}, |
| 3729 | }, |
| 3730 | .block_erase = block_erase_m29f400bt, |
| 3731 | }, { |
| 3732 | .eraseblocks = { {512 * 1024, 1} }, |
| 3733 | .block_erase = block_erase_chip_m29f400bt, |
| 3734 | }, |
| 3735 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3736 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3737 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3738 | .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] | 3739 | }, |
| 3740 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3741 | { |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame] | 3742 | .vendor = "GigaDevice", |
| 3743 | .name = "GD25Q20", |
| 3744 | .bustype = BUS_SPI, |
| 3745 | .manufacture_id = GIGADEVICE_ID, |
| 3746 | .model_id = GIGADEVICE_GD25Q20, |
| 3747 | .total_size = 256, |
| 3748 | .page_size = 256, |
| 3749 | .feature_bits = FEATURE_WRSR_WREN, |
| 3750 | .tested = TEST_UNTESTED, |
| 3751 | .probe = probe_spi_rdid, |
| 3752 | .probe_timing = TIMING_ZERO, |
| 3753 | .block_erasers = |
| 3754 | { |
| 3755 | { |
| 3756 | .eraseblocks = { {4 * 1024, 64} }, |
| 3757 | .block_erase = spi_block_erase_20, |
| 3758 | }, { |
| 3759 | .eraseblocks = { {32 * 1024, 8} }, |
| 3760 | .block_erase = spi_block_erase_52, |
| 3761 | }, { |
| 3762 | .eraseblocks = { {64 * 1024, 4} }, |
| 3763 | .block_erase = spi_block_erase_d8, |
| 3764 | }, { |
| 3765 | .eraseblocks = { {256 * 1024, 1} }, |
| 3766 | .block_erase = spi_block_erase_60, |
| 3767 | }, { |
| 3768 | .eraseblocks = { {256 * 1024, 1} }, |
| 3769 | .block_erase = spi_block_erase_c7, |
| 3770 | } |
| 3771 | }, |
| 3772 | .unlock = spi_disable_blockprotect, |
| 3773 | .write = spi_chip_write_256, |
| 3774 | .read = spi_chip_read, |
| 3775 | .voltage = {2700, 3600}, |
| 3776 | }, |
| 3777 | |
| 3778 | { |
| 3779 | .vendor = "GigaDevice", |
| 3780 | .name = "GD25Q40", |
| 3781 | .bustype = BUS_SPI, |
| 3782 | .manufacture_id = GIGADEVICE_ID, |
| 3783 | .model_id = GIGADEVICE_GD25Q40, |
| 3784 | .total_size = 512, |
| 3785 | .page_size = 256, |
| 3786 | .feature_bits = FEATURE_WRSR_WREN, |
| 3787 | .tested = TEST_UNTESTED, |
| 3788 | .probe = probe_spi_rdid, |
| 3789 | .probe_timing = TIMING_ZERO, |
| 3790 | .block_erasers = |
| 3791 | { |
| 3792 | { |
| 3793 | .eraseblocks = { {4 * 1024, 128} }, |
| 3794 | .block_erase = spi_block_erase_20, |
| 3795 | }, { |
| 3796 | .eraseblocks = { {32 * 1024, 16} }, |
| 3797 | .block_erase = spi_block_erase_52, |
| 3798 | }, { |
| 3799 | .eraseblocks = { {64 * 1024, 8} }, |
| 3800 | .block_erase = spi_block_erase_d8, |
| 3801 | }, { |
| 3802 | .eraseblocks = { {512 * 1024, 1} }, |
| 3803 | .block_erase = spi_block_erase_60, |
| 3804 | }, { |
| 3805 | .eraseblocks = { {512 * 1024, 1} }, |
| 3806 | .block_erase = spi_block_erase_c7, |
| 3807 | } |
| 3808 | }, |
| 3809 | .unlock = spi_disable_blockprotect, |
| 3810 | .write = spi_chip_write_256, |
| 3811 | .read = spi_chip_read, |
| 3812 | .voltage = {2700, 3600}, |
| 3813 | }, |
| 3814 | |
| 3815 | { |
| 3816 | .vendor = "GigaDevice", |
| 3817 | .name = "GD25Q80", |
| 3818 | .bustype = BUS_SPI, |
| 3819 | .manufacture_id = GIGADEVICE_ID, |
| 3820 | .model_id = GIGADEVICE_GD25Q80, |
| 3821 | .total_size = 1024, |
| 3822 | .page_size = 256, |
| 3823 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3824 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3825 | .tested = TEST_OK_PREW, |
| 3826 | .probe = probe_spi_rdid, |
| 3827 | .probe_timing = TIMING_ZERO, |
| 3828 | .block_erasers = |
| 3829 | { |
| 3830 | { |
| 3831 | .eraseblocks = { {4 * 1024, 256} }, |
| 3832 | .block_erase = spi_block_erase_20, |
| 3833 | }, { |
| 3834 | .eraseblocks = { {32 * 1024, 32} }, |
| 3835 | .block_erase = spi_block_erase_52, |
| 3836 | }, { |
| 3837 | .eraseblocks = { {64 * 1024, 16} }, |
| 3838 | .block_erase = spi_block_erase_d8, |
| 3839 | }, { |
| 3840 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3841 | .block_erase = spi_block_erase_60, |
| 3842 | }, { |
| 3843 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3844 | .block_erase = spi_block_erase_c7, |
| 3845 | } |
| 3846 | }, |
| 3847 | .unlock = spi_disable_blockprotect, |
| 3848 | .write = spi_chip_write_256, |
| 3849 | .read = spi_chip_read, |
| 3850 | .voltage = {2700, 3600}, |
| 3851 | }, |
| 3852 | |
| 3853 | { |
| 3854 | .vendor = "GigaDevice", |
| 3855 | .name = "GD25Q16", |
| 3856 | .bustype = BUS_SPI, |
| 3857 | .manufacture_id = GIGADEVICE_ID, |
| 3858 | .model_id = GIGADEVICE_GD25Q16, |
| 3859 | .total_size = 2048, |
| 3860 | .page_size = 256, |
| 3861 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3862 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3863 | .tested = TEST_UNTESTED, |
| 3864 | .probe = probe_spi_rdid, |
| 3865 | .probe_timing = TIMING_ZERO, |
| 3866 | .block_erasers = |
| 3867 | { |
| 3868 | { |
| 3869 | .eraseblocks = { {4 * 1024, 512} }, |
| 3870 | .block_erase = spi_block_erase_20, |
| 3871 | }, { |
| 3872 | .eraseblocks = { {32 * 1024, 64} }, |
| 3873 | .block_erase = spi_block_erase_52, |
| 3874 | }, { |
| 3875 | .eraseblocks = { {64 * 1024, 32} }, |
| 3876 | .block_erase = spi_block_erase_d8, |
| 3877 | }, { |
| 3878 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3879 | .block_erase = spi_block_erase_60, |
| 3880 | }, { |
| 3881 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3882 | .block_erase = spi_block_erase_c7, |
| 3883 | } |
| 3884 | }, |
| 3885 | .unlock = spi_disable_blockprotect, |
| 3886 | .write = spi_chip_write_256, |
| 3887 | .read = spi_chip_read, |
| 3888 | .voltage = {2700, 3600}, |
| 3889 | }, |
| 3890 | |
| 3891 | { |
| 3892 | .vendor = "GigaDevice", |
| 3893 | .name = "GD25Q32", |
| 3894 | .bustype = BUS_SPI, |
| 3895 | .manufacture_id = GIGADEVICE_ID, |
| 3896 | .model_id = GIGADEVICE_GD25Q32, |
| 3897 | .total_size = 4096, |
| 3898 | .page_size = 256, |
| 3899 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3900 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3901 | .tested = TEST_UNTESTED, |
| 3902 | .probe = probe_spi_rdid, |
| 3903 | .probe_timing = TIMING_ZERO, |
| 3904 | .block_erasers = |
| 3905 | { |
| 3906 | { |
| 3907 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3908 | .block_erase = spi_block_erase_20, |
| 3909 | }, { |
| 3910 | .eraseblocks = { {32 * 1024, 128} }, |
| 3911 | .block_erase = spi_block_erase_52, |
| 3912 | }, { |
| 3913 | .eraseblocks = { {64 * 1024, 64} }, |
| 3914 | .block_erase = spi_block_erase_d8, |
| 3915 | }, { |
| 3916 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3917 | .block_erase = spi_block_erase_60, |
| 3918 | }, { |
| 3919 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3920 | .block_erase = spi_block_erase_c7, |
| 3921 | } |
| 3922 | }, |
| 3923 | .unlock = spi_disable_blockprotect, |
| 3924 | .write = spi_chip_write_256, |
| 3925 | .read = spi_chip_read, |
| 3926 | .voltage = {2700, 3600}, |
| 3927 | }, |
| 3928 | |
| 3929 | { |
| 3930 | .vendor = "GigaDevice", |
| 3931 | .name = "GD25Q64", |
| 3932 | .bustype = BUS_SPI, |
| 3933 | .manufacture_id = GIGADEVICE_ID, |
| 3934 | .model_id = GIGADEVICE_GD25Q64, |
| 3935 | .total_size = 8192, |
| 3936 | .page_size = 256, |
| 3937 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3938 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3939 | .tested = TEST_UNTESTED, |
| 3940 | .probe = probe_spi_rdid, |
| 3941 | .probe_timing = TIMING_ZERO, |
| 3942 | .block_erasers = |
| 3943 | { |
| 3944 | { |
| 3945 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3946 | .block_erase = spi_block_erase_20, |
| 3947 | }, { |
| 3948 | .eraseblocks = { {32 * 1024, 256} }, |
| 3949 | .block_erase = spi_block_erase_52, |
| 3950 | }, { |
| 3951 | .eraseblocks = { {64 * 1024, 128} }, |
| 3952 | .block_erase = spi_block_erase_d8, |
| 3953 | }, { |
| 3954 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3955 | .block_erase = spi_block_erase_60, |
| 3956 | }, { |
| 3957 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3958 | .block_erase = spi_block_erase_c7, |
| 3959 | } |
| 3960 | }, |
| 3961 | .unlock = spi_disable_blockprotect, |
| 3962 | .write = spi_chip_write_256, |
| 3963 | .read = spi_chip_read, |
| 3964 | }, |
| 3965 | |
| 3966 | { |
| 3967 | .vendor = "GigaDevice", |
| 3968 | .name = "GD25Q128", |
| 3969 | .bustype = BUS_SPI, |
| 3970 | .manufacture_id = GIGADEVICE_ID, |
| 3971 | .model_id = GIGADEVICE_GD25Q128, |
| 3972 | .total_size = 16384, |
| 3973 | .page_size = 256, |
| 3974 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3975 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3976 | .tested = TEST_UNTESTED, |
| 3977 | .probe = probe_spi_rdid, |
| 3978 | .probe_timing = TIMING_ZERO, |
| 3979 | .block_erasers = |
| 3980 | { |
| 3981 | { |
| 3982 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3983 | .block_erase = spi_block_erase_20, |
| 3984 | }, { |
| 3985 | .eraseblocks = { {32 * 1024, 512} }, |
| 3986 | .block_erase = spi_block_erase_52, |
| 3987 | }, { |
| 3988 | .eraseblocks = { {64 * 1024, 256} }, |
| 3989 | .block_erase = spi_block_erase_d8, |
| 3990 | }, { |
| 3991 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3992 | .block_erase = spi_block_erase_60, |
| 3993 | }, { |
| 3994 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3995 | .block_erase = spi_block_erase_c7, |
| 3996 | } |
| 3997 | }, |
| 3998 | .unlock = spi_disable_blockprotect, |
| 3999 | .write = spi_chip_write_256, |
| 4000 | .read = spi_chip_read, |
| 4001 | }, |
| 4002 | |
| 4003 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4004 | .vendor = "Hyundai", |
| 4005 | .name = "HY29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4006 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4007 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4008 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4009 | .total_size = 256, |
| 4010 | .page_size = 256 * 1024, |
| 4011 | .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] | 4012 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4013 | .probe = probe_jedec, |
| 4014 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4015 | .block_erasers = |
| 4016 | { |
| 4017 | { |
| 4018 | .eraseblocks = { |
| 4019 | {64 * 1024, 3}, |
| 4020 | {32 * 1024, 1}, |
| 4021 | {8 * 1024, 2}, |
| 4022 | {16 * 1024, 1}, |
| 4023 | }, |
| 4024 | .block_erase = erase_sector_jedec, |
| 4025 | }, { |
| 4026 | .eraseblocks = { {256 * 1024, 1} }, |
| 4027 | .block_erase = erase_chip_block_jedec, |
| 4028 | }, |
| 4029 | }, |
| 4030 | .write = write_jedec_1, |
| 4031 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4032 | .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] | 4033 | }, |
| 4034 | |
| 4035 | { |
| 4036 | .vendor = "Hyundai", |
| 4037 | .name = "HY29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4038 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4039 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4040 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4041 | .total_size = 256, |
| 4042 | .page_size = 256 * 1024, |
| 4043 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 4044 | .tested = TEST_UNTESTED, |
| 4045 | .probe = probe_jedec, |
| 4046 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4047 | .block_erasers = |
| 4048 | { |
| 4049 | { |
| 4050 | .eraseblocks = { |
| 4051 | {16 * 1024, 1}, |
| 4052 | {8 * 1024, 2}, |
| 4053 | {32 * 1024, 1}, |
| 4054 | {64 * 1024, 3}, |
| 4055 | }, |
| 4056 | .block_erase = erase_sector_jedec, |
| 4057 | }, { |
| 4058 | .eraseblocks = { {256 * 1024, 1} }, |
| 4059 | .block_erase = erase_chip_block_jedec, |
| 4060 | }, |
| 4061 | }, |
| 4062 | .write = write_jedec_1, |
| 4063 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4064 | .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] | 4065 | }, |
| 4066 | |
| 4067 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4068 | .vendor = "Hyundai", |
| 4069 | .name = "HY29F040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4070 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4071 | .manufacture_id = HYUNDAI_ID, |
| 4072 | .model_id = HYUNDAI_HY29F040A, |
| 4073 | .total_size = 512, |
| 4074 | .page_size = 64 * 1024, |
| 4075 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4076 | .tested = TEST_UNTESTED, |
| 4077 | .probe = probe_jedec, |
| 4078 | .probe_timing = TIMING_ZERO, |
| 4079 | .block_erasers = |
| 4080 | { |
| 4081 | { |
| 4082 | .eraseblocks = { {64 * 1024, 8} }, |
| 4083 | .block_erase = erase_sector_jedec, |
| 4084 | }, { |
| 4085 | .eraseblocks = { {512 * 1024, 1} }, |
| 4086 | .block_erase = erase_chip_block_jedec, |
| 4087 | }, |
| 4088 | }, |
| 4089 | .write = write_jedec_1, |
| 4090 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4091 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4092 | }, |
| 4093 | |
| 4094 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4095 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4096 | .name = "28F001BN/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4097 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4098 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4099 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4100 | .total_size = 128, |
| 4101 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4102 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4103 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4104 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4105 | .block_erasers = |
| 4106 | { |
| 4107 | { |
| 4108 | .eraseblocks = { |
| 4109 | {8 * 1024, 1}, |
| 4110 | {4 * 1024, 2}, |
| 4111 | {112 * 1024, 1}, |
| 4112 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4113 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4114 | }, |
| 4115 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4116 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4117 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4118 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4119 | }, |
| 4120 | |
| 4121 | { |
| 4122 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4123 | .name = "28F001BN/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4124 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4125 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4126 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4127 | .total_size = 128, |
| 4128 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4129 | .tested = TEST_OK_PR, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4130 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4131 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4132 | .block_erasers = |
| 4133 | { |
| 4134 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4135 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4136 | {112 * 1024, 1}, |
| 4137 | {4 * 1024, 2}, |
| 4138 | {8 * 1024, 1}, |
| 4139 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4140 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4141 | }, |
| 4142 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4143 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4144 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4145 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4146 | }, |
| 4147 | |
| 4148 | { |
| 4149 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4150 | .name = "28F002BC/BL/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4151 | .bustype = BUS_PARALLEL, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4152 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4153 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4154 | .total_size = 256, |
| 4155 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4156 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4157 | .probe = probe_82802ab, |
| 4158 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4159 | .block_erasers = |
| 4160 | { |
| 4161 | { |
| 4162 | .eraseblocks = { |
| 4163 | {128 * 1024, 1}, |
| 4164 | {96 * 1024, 1}, |
| 4165 | {8 * 1024, 2}, |
| 4166 | {16 * 1024, 1}, |
| 4167 | }, |
| 4168 | .block_erase = erase_block_82802ab, |
| 4169 | }, |
| 4170 | }, |
| 4171 | .write = write_82802ab, |
| 4172 | .read = read_memmapped, |
| 4173 | }, |
| 4174 | |
| 4175 | { |
| 4176 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4177 | .name = "28F008S3/S5/SC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4178 | .bustype = BUS_PARALLEL, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4179 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4180 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4181 | .total_size = 512, |
| 4182 | .page_size = 256, |
| 4183 | .tested = TEST_UNTESTED, |
| 4184 | .probe = probe_82802ab, |
| 4185 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4186 | .block_erasers = |
| 4187 | { |
| 4188 | { |
| 4189 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4190 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4191 | }, |
| 4192 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4193 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4194 | .write = write_82802ab, |
| 4195 | .read = read_memmapped, |
| 4196 | }, |
| 4197 | |
| 4198 | { |
| 4199 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4200 | .name = "28F004B5/BE/BV/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4201 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4202 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4203 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4204 | .total_size = 512, |
| 4205 | .page_size = 128 * 1024, /* maximal block size */ |
| 4206 | .tested = TEST_UNTESTED, |
| 4207 | .probe = probe_82802ab, |
| 4208 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4209 | .block_erasers = |
| 4210 | { |
| 4211 | { |
| 4212 | .eraseblocks = { |
| 4213 | {16 * 1024, 1}, |
| 4214 | {8 * 1024, 2}, |
| 4215 | {96 * 1024, 1}, |
| 4216 | {128 * 1024, 3}, |
| 4217 | }, |
| 4218 | .block_erase = erase_block_82802ab, |
| 4219 | }, |
| 4220 | }, |
| 4221 | .write = write_82802ab, |
| 4222 | .read = read_memmapped, |
| 4223 | }, |
| 4224 | |
| 4225 | { |
| 4226 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4227 | .name = "28F004B5/BE/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4228 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4229 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4230 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4231 | .total_size = 512, |
| 4232 | .page_size = 128 * 1024, /* maximal block size */ |
| 4233 | .tested = TEST_UNTESTED, |
| 4234 | .probe = probe_82802ab, |
| 4235 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4236 | .block_erasers = |
| 4237 | { |
| 4238 | { |
| 4239 | .eraseblocks = { |
| 4240 | {128 * 1024, 3}, |
| 4241 | {96 * 1024, 1}, |
| 4242 | {8 * 1024, 2}, |
| 4243 | {16 * 1024, 1}, |
| 4244 | }, |
| 4245 | .block_erase = erase_block_82802ab, |
| 4246 | }, |
| 4247 | }, |
| 4248 | .write = write_82802ab, |
| 4249 | .read = read_memmapped, |
| 4250 | }, |
| 4251 | |
| 4252 | { |
| 4253 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4254 | .name = "28F400BV/BX/CE/CV-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4255 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4256 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4257 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4258 | .total_size = 512, |
| 4259 | .page_size = 128 * 1024, /* maximal block size */ |
| 4260 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 4261 | .tested = TEST_UNTESTED, |
| 4262 | .probe = probe_82802ab, |
| 4263 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4264 | .block_erasers = |
| 4265 | { |
| 4266 | { |
| 4267 | .eraseblocks = { |
| 4268 | {16 * 1024, 1}, |
| 4269 | {8 * 1024, 2}, |
| 4270 | {96 * 1024, 1}, |
| 4271 | {128 * 1024, 3}, |
| 4272 | }, |
| 4273 | .block_erase = erase_block_82802ab, |
| 4274 | }, |
| 4275 | }, |
| 4276 | .write = write_82802ab, |
| 4277 | .read = read_memmapped, |
| 4278 | }, |
| 4279 | |
| 4280 | { |
| 4281 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4282 | .name = "28F400BV/BX/CE/CV-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4283 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4284 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4285 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4286 | .total_size = 512, |
| 4287 | .page_size = 128 * 1024, /* maximal block size */ |
| 4288 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 4289 | .tested = TEST_UNTESTED, |
| 4290 | .probe = probe_82802ab, |
| 4291 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4292 | .block_erasers = |
| 4293 | { |
| 4294 | { |
| 4295 | .eraseblocks = { |
| 4296 | {128 * 1024, 3}, |
| 4297 | {96 * 1024, 1}, |
| 4298 | {8 * 1024, 2}, |
| 4299 | {16 * 1024, 1}, |
| 4300 | }, |
| 4301 | .block_erase = erase_block_82802ab, |
| 4302 | }, |
| 4303 | }, |
| 4304 | .write = write_82802ab, |
| 4305 | .read = read_memmapped, |
| 4306 | }, |
| 4307 | |
| 4308 | { |
| 4309 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4310 | .name = "82802AB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4311 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4312 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4313 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4314 | .total_size = 512, |
| 4315 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4316 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 4317 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4318 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4319 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4320 | .block_erasers = |
| 4321 | { |
| 4322 | { |
| 4323 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4324 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4325 | }, |
| 4326 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4327 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4328 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4329 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4330 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4331 | }, |
| 4332 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4333 | { |
| 4334 | .vendor = "Intel", |
| 4335 | .name = "82802AC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4336 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4337 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4338 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4339 | .total_size = 1024, |
| 4340 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4341 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4342 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4343 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4344 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4345 | .block_erasers = |
| 4346 | { |
| 4347 | { |
| 4348 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4349 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4350 | }, |
| 4351 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4352 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4353 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4354 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4355 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4356 | }, |
| 4357 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4358 | { |
| 4359 | .vendor = "Macronix", |
| 4360 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4361 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4362 | .manufacture_id = MACRONIX_ID, |
| 4363 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4364 | .total_size = 64, |
| 4365 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4366 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4367 | .tested = TEST_UNTESTED, |
| 4368 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4369 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4370 | .block_erasers = |
| 4371 | { |
| 4372 | { |
| 4373 | .eraseblocks = { {4 * 1024, 16} }, |
| 4374 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4375 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4376 | .eraseblocks = { {64 * 1024, 1} }, |
| 4377 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4378 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4379 | .eraseblocks = { {64 * 1024, 1} }, |
| 4380 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4381 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4382 | .eraseblocks = { {64 * 1024, 1} }, |
| 4383 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4384 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4385 | .eraseblocks = { {64 * 1024, 1} }, |
| 4386 | .block_erase = spi_block_erase_c7, |
| 4387 | }, |
| 4388 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4389 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4390 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4391 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4392 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4393 | }, |
| 4394 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4395 | { |
| 4396 | .vendor = "Macronix", |
| 4397 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4398 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4399 | .manufacture_id = MACRONIX_ID, |
| 4400 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4401 | .total_size = 128, |
| 4402 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4403 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4404 | .tested = TEST_UNTESTED, |
| 4405 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4406 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4407 | .block_erasers = |
| 4408 | { |
| 4409 | { |
| 4410 | .eraseblocks = { {4 * 1024, 32} }, |
| 4411 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4412 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4413 | .eraseblocks = { {64 * 1024, 2} }, |
| 4414 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4415 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4416 | .eraseblocks = { {128 * 1024, 1} }, |
| 4417 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4418 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4419 | .eraseblocks = { {128 * 1024, 1} }, |
| 4420 | .block_erase = spi_block_erase_c7, |
| 4421 | }, |
| 4422 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4423 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4424 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4425 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4426 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4427 | }, |
| 4428 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4429 | { |
| 4430 | .vendor = "Macronix", |
| 4431 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4432 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4433 | .manufacture_id = MACRONIX_ID, |
| 4434 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4435 | .total_size = 256, |
| 4436 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4437 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4438 | .tested = TEST_UNTESTED, |
| 4439 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4440 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4441 | .block_erasers = |
| 4442 | { |
| 4443 | { |
| 4444 | .eraseblocks = { {4 * 1024, 64} }, |
| 4445 | .block_erase = spi_block_erase_20, |
| 4446 | }, { |
| 4447 | .eraseblocks = { {64 * 1024, 4} }, |
| 4448 | .block_erase = spi_block_erase_52, |
| 4449 | }, { |
| 4450 | .eraseblocks = { {64 * 1024, 4} }, |
| 4451 | .block_erase = spi_block_erase_d8, |
| 4452 | }, { |
| 4453 | .eraseblocks = { {256 * 1024, 1} }, |
| 4454 | .block_erase = spi_block_erase_60, |
| 4455 | }, { |
| 4456 | .eraseblocks = { {256 * 1024, 1} }, |
| 4457 | .block_erase = spi_block_erase_c7, |
| 4458 | }, |
| 4459 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4460 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4461 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4462 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4463 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4464 | }, |
| 4465 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4466 | { |
| 4467 | .vendor = "Macronix", |
| 4468 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4469 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4470 | .manufacture_id = MACRONIX_ID, |
| 4471 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4472 | .total_size = 512, |
| 4473 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4474 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 4475 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4476 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4477 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4478 | .block_erasers = |
| 4479 | { |
| 4480 | { |
| 4481 | .eraseblocks = { {4 * 1024, 128} }, |
| 4482 | .block_erase = spi_block_erase_20, |
| 4483 | }, { |
| 4484 | .eraseblocks = { {64 * 1024, 8} }, |
| 4485 | .block_erase = spi_block_erase_52, |
| 4486 | }, { |
| 4487 | .eraseblocks = { {64 * 1024, 8} }, |
| 4488 | .block_erase = spi_block_erase_d8, |
| 4489 | }, { |
| 4490 | .eraseblocks = { {512 * 1024, 1} }, |
| 4491 | .block_erase = spi_block_erase_60, |
| 4492 | }, { |
| 4493 | .eraseblocks = { {512 * 1024, 1} }, |
| 4494 | .block_erase = spi_block_erase_c7, |
| 4495 | }, |
| 4496 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4497 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4498 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4499 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4500 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4501 | }, |
| 4502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4503 | { |
| 4504 | .vendor = "Macronix", |
| 4505 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4506 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4507 | .manufacture_id = MACRONIX_ID, |
| 4508 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4509 | .total_size = 1024, |
| 4510 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4511 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 4512 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4513 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4514 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4515 | .block_erasers = |
| 4516 | { |
| 4517 | { |
| 4518 | .eraseblocks = { {4 * 1024, 256} }, |
| 4519 | .block_erase = spi_block_erase_20, |
| 4520 | }, { |
| 4521 | .eraseblocks = { {64 * 1024, 16} }, |
| 4522 | .block_erase = spi_block_erase_52, |
| 4523 | }, { |
| 4524 | .eraseblocks = { {64 * 1024, 16} }, |
| 4525 | .block_erase = spi_block_erase_d8, |
| 4526 | }, { |
| 4527 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4528 | .block_erase = spi_block_erase_60, |
| 4529 | }, { |
| 4530 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4531 | .block_erase = spi_block_erase_c7, |
| 4532 | }, |
| 4533 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4534 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4535 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4536 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4537 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4538 | }, |
| 4539 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4540 | { |
| 4541 | .vendor = "Macronix", |
| 4542 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4543 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4544 | .manufacture_id = MACRONIX_ID, |
| 4545 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4546 | .total_size = 2048, |
| 4547 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4548 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 4549 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4550 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4551 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4552 | .block_erasers = |
| 4553 | { |
| 4554 | { |
| 4555 | .eraseblocks = { {4 * 1024, 512} }, |
| 4556 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 4557 | }, { |
| 4558 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 4559 | .block_erase = spi_block_erase_52, |
| 4560 | }, { |
| 4561 | .eraseblocks = { {64 * 1024, 32} }, |
| 4562 | .block_erase = spi_block_erase_d8, |
| 4563 | }, { |
| 4564 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4565 | .block_erase = spi_block_erase_60, |
| 4566 | }, { |
| 4567 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4568 | .block_erase = spi_block_erase_c7, |
| 4569 | }, |
| 4570 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4571 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4572 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4573 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4574 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4575 | }, |
| 4576 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4577 | { |
| 4578 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4579 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4580 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4581 | .manufacture_id = MACRONIX_ID, |
| 4582 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4583 | .total_size = 2048, |
| 4584 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4585 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4586 | .tested = TEST_UNTESTED, |
| 4587 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4588 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4589 | .block_erasers = |
| 4590 | { |
| 4591 | { |
| 4592 | .eraseblocks = { {4 * 1024, 512} }, |
| 4593 | .block_erase = spi_block_erase_20, |
| 4594 | }, { |
| 4595 | .eraseblocks = { {64 * 1024, 32} }, |
| 4596 | .block_erase = spi_block_erase_d8, |
| 4597 | }, { |
| 4598 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4599 | .block_erase = spi_block_erase_60, |
| 4600 | }, { |
| 4601 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4602 | .block_erase = spi_block_erase_c7, |
| 4603 | } |
| 4604 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4605 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4606 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4607 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4608 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4609 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 4610 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4611 | { |
| 4612 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4613 | .name = "MX25L1635E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4614 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4615 | .manufacture_id = MACRONIX_ID, |
| 4616 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4617 | .total_size = 2048, |
| 4618 | .page_size = 256, |
| 4619 | .feature_bits = FEATURE_WRSR_WREN, |
| 4620 | .tested = TEST_UNTESTED, |
| 4621 | .probe = probe_spi_rdid, |
| 4622 | .probe_timing = TIMING_ZERO, |
| 4623 | .block_erasers = |
| 4624 | { |
| 4625 | { |
| 4626 | .eraseblocks = { {4 * 1024, 512} }, |
| 4627 | .block_erase = spi_block_erase_20, |
| 4628 | }, { |
| 4629 | .eraseblocks = { {64 * 1024, 32} }, |
| 4630 | .block_erase = spi_block_erase_d8, |
| 4631 | }, { |
| 4632 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4633 | .block_erase = spi_block_erase_60, |
| 4634 | }, { |
| 4635 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4636 | .block_erase = spi_block_erase_c7, |
| 4637 | } |
| 4638 | }, |
| 4639 | .unlock = spi_disable_blockprotect, |
| 4640 | .write = spi_chip_write_256, |
| 4641 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4642 | .voltage = {2700, 3600}, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4643 | }, |
| 4644 | |
| 4645 | { |
| 4646 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4647 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4648 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4649 | .manufacture_id = MACRONIX_ID, |
| 4650 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4651 | .total_size = 4096, |
| 4652 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4653 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 4654 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4655 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4656 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4657 | .block_erasers = |
| 4658 | { |
| 4659 | { |
| 4660 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4661 | .block_erase = spi_block_erase_20, |
| 4662 | }, { |
| 4663 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4664 | .block_erase = spi_block_erase_d8, |
| 4665 | }, { |
| 4666 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4667 | .block_erase = spi_block_erase_60, |
| 4668 | }, { |
| 4669 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4670 | .block_erase = spi_block_erase_c7, |
| 4671 | }, |
| 4672 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4673 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4674 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4675 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4676 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4677 | }, |
| 4678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4679 | { |
| 4680 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4681 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4682 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4683 | .manufacture_id = MACRONIX_ID, |
| 4684 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4685 | .total_size = 4096, |
| 4686 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4687 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4688 | .tested = TEST_UNTESTED, |
| 4689 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4690 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4691 | .block_erasers = |
| 4692 | { |
| 4693 | { |
| 4694 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4695 | .block_erase = spi_block_erase_20, |
| 4696 | }, { |
| 4697 | .eraseblocks = { {64 * 1024, 64} }, |
| 4698 | .block_erase = spi_block_erase_d8, |
| 4699 | }, { |
| 4700 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4701 | .block_erase = spi_block_erase_60, |
| 4702 | }, { |
| 4703 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4704 | .block_erase = spi_block_erase_c7, |
| 4705 | } |
| 4706 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4707 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4708 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4709 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4710 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4711 | }, |
| 4712 | |
| 4713 | { |
| 4714 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4715 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4716 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4717 | .manufacture_id = MACRONIX_ID, |
| 4718 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4719 | .total_size = 8192, |
| 4720 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4721 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 4722 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4723 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4724 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4725 | .block_erasers = |
| 4726 | { |
| 4727 | { |
| 4728 | .eraseblocks = { {64 * 1024, 128} }, |
| 4729 | .block_erase = spi_block_erase_20, |
| 4730 | }, { |
| 4731 | .eraseblocks = { {64 * 1024, 128} }, |
| 4732 | .block_erase = spi_block_erase_d8, |
| 4733 | }, { |
| 4734 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4735 | .block_erase = spi_block_erase_60, |
| 4736 | }, { |
| 4737 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4738 | .block_erase = spi_block_erase_c7, |
| 4739 | } |
| 4740 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4741 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4742 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4743 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4744 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4745 | }, |
| 4746 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4747 | { |
| 4748 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4749 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4750 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4751 | .manufacture_id = MACRONIX_ID, |
| 4752 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4753 | .total_size = 16384, |
| 4754 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4755 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4756 | .tested = TEST_UNTESTED, |
| 4757 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4758 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4759 | .block_erasers = |
| 4760 | { |
| 4761 | { |
| 4762 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4763 | .block_erase = spi_block_erase_20, |
| 4764 | }, { |
| 4765 | .eraseblocks = { {64 * 1024, 256} }, |
| 4766 | .block_erase = spi_block_erase_d8, |
| 4767 | }, { |
| 4768 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4769 | .block_erase = spi_block_erase_60, |
| 4770 | }, { |
| 4771 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4772 | .block_erase = spi_block_erase_c7, |
| 4773 | } |
| 4774 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4775 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4776 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4777 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4778 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4779 | }, |
| 4780 | |
| 4781 | { |
| 4782 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4783 | .name = "MX29F001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4784 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4785 | .manufacture_id = MACRONIX_ID, |
| 4786 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4787 | .total_size = 128, |
| 4788 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4789 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4790 | .tested = TEST_UNTESTED, |
| 4791 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4792 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4793 | .block_erasers = |
| 4794 | { |
| 4795 | { |
| 4796 | .eraseblocks = { |
| 4797 | {8 * 1024, 1}, |
| 4798 | {4 * 1024, 2}, |
| 4799 | {8 * 1024, 2}, |
| 4800 | {32 * 1024, 1}, |
| 4801 | {64 * 1024, 1}, |
| 4802 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4803 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4804 | }, { |
| 4805 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4806 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4807 | } |
| 4808 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4809 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4810 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4811 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4812 | }, |
| 4813 | |
| 4814 | { |
| 4815 | .vendor = "Macronix", |
| 4816 | .name = "MX29F001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4817 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4818 | .manufacture_id = MACRONIX_ID, |
| 4819 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4820 | .total_size = 128, |
| 4821 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4822 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 4823 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4824 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4825 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4826 | .block_erasers = |
| 4827 | { |
| 4828 | { |
| 4829 | .eraseblocks = { |
| 4830 | {64 * 1024, 1}, |
| 4831 | {32 * 1024, 1}, |
| 4832 | {8 * 1024, 2}, |
| 4833 | {4 * 1024, 2}, |
| 4834 | {8 * 1024, 1}, |
| 4835 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4836 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4837 | }, { |
| 4838 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4839 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4840 | } |
| 4841 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4842 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4843 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4844 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4845 | }, |
| 4846 | |
| 4847 | { |
| 4848 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4849 | .name = "MX29F002(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4850 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4851 | .manufacture_id = MACRONIX_ID, |
| 4852 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4853 | .total_size = 256, |
| 4854 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4855 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4856 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4857 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4858 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4859 | .block_erasers = |
| 4860 | { |
| 4861 | { |
| 4862 | .eraseblocks = { |
| 4863 | {16 * 1024, 1}, |
| 4864 | {8 * 1024, 2}, |
| 4865 | {32 * 1024, 1}, |
| 4866 | {64 * 1024, 3}, |
| 4867 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4868 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4869 | }, { |
| 4870 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4871 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4872 | }, |
| 4873 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4874 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4875 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4876 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4877 | }, |
| 4878 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4879 | { |
| 4880 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4881 | .name = "MX29F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4882 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4883 | .manufacture_id = MACRONIX_ID, |
| 4884 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4885 | .total_size = 256, |
| 4886 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4887 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 4888 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4889 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4890 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4891 | .block_erasers = |
| 4892 | { |
| 4893 | { |
| 4894 | .eraseblocks = { |
| 4895 | {64 * 1024, 3}, |
| 4896 | {32 * 1024, 1}, |
| 4897 | {8 * 1024, 2}, |
| 4898 | {16 * 1024, 1}, |
| 4899 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4900 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4901 | }, { |
| 4902 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4903 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4904 | }, |
| 4905 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4906 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4907 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4908 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4909 | }, |
| 4910 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4911 | { |
| 4912 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4913 | .name = "MX29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4914 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4915 | .manufacture_id = MACRONIX_ID, |
| 4916 | .model_id = MACRONIX_MX29F040, |
| 4917 | .total_size = 512, |
| 4918 | .page_size = 64 * 1024, |
| 4919 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4920 | .tested = TEST_UNTESTED, |
| 4921 | .probe = probe_jedec, |
| 4922 | .probe_timing = TIMING_ZERO, |
| 4923 | .block_erasers = |
| 4924 | { |
| 4925 | { |
| 4926 | .eraseblocks = { {64 * 1024, 8} }, |
| 4927 | .block_erase = erase_sector_jedec, |
| 4928 | }, { |
| 4929 | .eraseblocks = { {512 * 1024, 1} }, |
| 4930 | .block_erase = erase_chip_block_jedec, |
| 4931 | }, |
| 4932 | }, |
| 4933 | .write = write_jedec_1, |
| 4934 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4935 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4936 | }, |
| 4937 | |
| 4938 | { |
| 4939 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 4940 | .name = "MX29LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4941 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4942 | .manufacture_id = MACRONIX_ID, |
| 4943 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4944 | .total_size = 512, |
| 4945 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4946 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4947 | .tested = TEST_UNTESTED, |
| 4948 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4949 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4950 | .block_erasers = |
| 4951 | { |
| 4952 | { |
| 4953 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4954 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4955 | }, { |
| 4956 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4957 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4958 | }, |
| 4959 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4960 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4961 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4962 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 4963 | }, |
| 4964 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4965 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4966 | .vendor = "MoselVitelic", |
| 4967 | .name = "V29C51000B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4968 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4969 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4970 | .model_id = MVC_V29C51000B, |
| 4971 | .total_size = 64, |
| 4972 | .page_size = 512, |
| 4973 | .feature_bits = FEATURE_EITHER_RESET, |
| 4974 | .tested = TEST_UNTESTED, |
| 4975 | .probe = probe_jedec, |
| 4976 | .probe_timing = TIMING_ZERO, |
| 4977 | .block_erasers = |
| 4978 | { |
| 4979 | { |
| 4980 | .eraseblocks = { {512, 128} }, |
| 4981 | .block_erase = erase_sector_jedec, |
| 4982 | }, { |
| 4983 | .eraseblocks = { {64 * 1024, 1} }, |
| 4984 | .block_erase = erase_chip_block_jedec, |
| 4985 | }, |
| 4986 | }, |
| 4987 | .write = write_jedec_1, |
| 4988 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4989 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4990 | }, |
| 4991 | |
| 4992 | { |
| 4993 | .vendor = "MoselVitelic", |
| 4994 | .name = "V29C51000T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4995 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4996 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4997 | .model_id = MVC_V29C51000T, |
| 4998 | .total_size = 64, |
| 4999 | .page_size = 512, |
| 5000 | .feature_bits = FEATURE_EITHER_RESET, |
| 5001 | .tested = TEST_UNTESTED, |
| 5002 | .probe = probe_jedec, |
| 5003 | .probe_timing = TIMING_ZERO, |
| 5004 | .block_erasers = |
| 5005 | { |
| 5006 | { |
| 5007 | .eraseblocks = { {512, 128} }, |
| 5008 | .block_erase = erase_sector_jedec, |
| 5009 | }, { |
| 5010 | .eraseblocks = { {64 * 1024, 1} }, |
| 5011 | .block_erase = erase_chip_block_jedec, |
| 5012 | }, |
| 5013 | }, |
| 5014 | .write = write_jedec_1, |
| 5015 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5016 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5017 | }, |
| 5018 | |
| 5019 | { |
| 5020 | .vendor = "MoselVitelic", |
| 5021 | .name = "V29C51400B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5022 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5023 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5024 | .model_id = MVC_V29C51400B, |
| 5025 | .total_size = 512, |
| 5026 | .page_size = 1024, |
| 5027 | .feature_bits = FEATURE_EITHER_RESET, |
| 5028 | .tested = TEST_UNTESTED, |
| 5029 | .probe = probe_jedec, |
| 5030 | .probe_timing = TIMING_ZERO, |
| 5031 | .block_erasers = |
| 5032 | { |
| 5033 | { |
| 5034 | .eraseblocks = { {1024, 512} }, |
| 5035 | .block_erase = erase_sector_jedec, |
| 5036 | }, { |
| 5037 | .eraseblocks = { {512 * 1024, 1} }, |
| 5038 | .block_erase = erase_chip_block_jedec, |
| 5039 | }, |
| 5040 | }, |
| 5041 | .write = write_jedec_1, |
| 5042 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5043 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5044 | }, |
| 5045 | |
| 5046 | { |
| 5047 | .vendor = "MoselVitelic", |
| 5048 | .name = "V29C51400T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5049 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5050 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5051 | .model_id = MVC_V29C51400T, |
| 5052 | .total_size = 512, |
| 5053 | .page_size = 1024, |
| 5054 | .feature_bits = FEATURE_EITHER_RESET, |
| 5055 | .tested = TEST_UNTESTED, |
| 5056 | .probe = probe_jedec, |
| 5057 | .probe_timing = TIMING_ZERO, |
| 5058 | .block_erasers = |
| 5059 | { |
| 5060 | { |
| 5061 | .eraseblocks = { {1024, 512} }, |
| 5062 | .block_erase = erase_sector_jedec, |
| 5063 | }, { |
| 5064 | .eraseblocks = { {512 * 1024, 1} }, |
| 5065 | .block_erase = erase_chip_block_jedec, |
| 5066 | }, |
| 5067 | }, |
| 5068 | .write = write_jedec_1, |
| 5069 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5070 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5071 | }, |
| 5072 | |
| 5073 | { |
| 5074 | .vendor = "MoselVitelic", |
| 5075 | .name = "V29LC51000", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5076 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5077 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5078 | .model_id = MVC_V29LC51000, |
| 5079 | .total_size = 64, |
| 5080 | .page_size = 512, |
| 5081 | .feature_bits = FEATURE_EITHER_RESET, |
| 5082 | .tested = TEST_UNTESTED, |
| 5083 | .probe = probe_jedec, |
| 5084 | .probe_timing = TIMING_ZERO, |
| 5085 | .block_erasers = |
| 5086 | { |
| 5087 | { |
| 5088 | .eraseblocks = { {512, 128} }, |
| 5089 | .block_erase = erase_sector_jedec, |
| 5090 | }, { |
| 5091 | .eraseblocks = { {64 * 1024, 1} }, |
| 5092 | .block_erase = erase_chip_block_jedec, |
| 5093 | }, |
| 5094 | }, |
| 5095 | .write = write_jedec_1, |
| 5096 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5097 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5098 | }, |
| 5099 | |
| 5100 | { |
| 5101 | .vendor = "MoselVitelic", |
| 5102 | .name = "V29LC51001", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5103 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5104 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5105 | .model_id = MVC_V29LC51001, |
| 5106 | .total_size = 128, |
| 5107 | .page_size = 512, |
| 5108 | .feature_bits = FEATURE_EITHER_RESET, |
| 5109 | .tested = TEST_UNTESTED, |
| 5110 | .probe = probe_jedec, |
| 5111 | .probe_timing = TIMING_ZERO, |
| 5112 | .block_erasers = |
| 5113 | { |
| 5114 | { |
| 5115 | .eraseblocks = { {512, 256} }, |
| 5116 | .block_erase = erase_sector_jedec, |
| 5117 | }, { |
| 5118 | .eraseblocks = { {128 * 1024, 1} }, |
| 5119 | .block_erase = erase_chip_block_jedec, |
| 5120 | }, |
| 5121 | }, |
| 5122 | .write = write_jedec_1, |
| 5123 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5124 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5125 | }, |
| 5126 | |
| 5127 | { |
| 5128 | .vendor = "MoselVitelic", |
| 5129 | .name = "V29LC51002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5130 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5131 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5132 | .model_id = MVC_V29LC51002, |
| 5133 | .total_size = 256, |
| 5134 | .page_size = 512, |
| 5135 | .feature_bits = FEATURE_EITHER_RESET, |
| 5136 | .tested = TEST_UNTESTED, |
| 5137 | .probe = probe_jedec, |
| 5138 | .probe_timing = TIMING_ZERO, |
| 5139 | .block_erasers = |
| 5140 | { |
| 5141 | { |
| 5142 | .eraseblocks = { {512, 512} }, |
| 5143 | .block_erase = erase_sector_jedec, |
| 5144 | }, { |
| 5145 | .eraseblocks = { {256 * 1024, 1} }, |
| 5146 | .block_erase = erase_chip_block_jedec, |
| 5147 | }, |
| 5148 | }, |
| 5149 | .write = write_jedec_1, |
| 5150 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5151 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5152 | }, |
| 5153 | |
| 5154 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5155 | .vendor = "Numonyx", |
| 5156 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5157 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5158 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5159 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5160 | .total_size = 128, |
| 5161 | .page_size = 256, |
| 5162 | .tested = TEST_UNTESTED, |
| 5163 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5164 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5165 | .block_erasers = |
| 5166 | { |
| 5167 | { |
| 5168 | .eraseblocks = { {4 * 1024, 32} }, |
| 5169 | .block_erase = spi_block_erase_20, |
| 5170 | }, { |
| 5171 | .eraseblocks = { {64 * 1024, 2} }, |
| 5172 | .block_erase = spi_block_erase_d8, |
| 5173 | }, { |
| 5174 | .eraseblocks = { {128 * 1024, 1} }, |
| 5175 | .block_erase = spi_block_erase_c7, |
| 5176 | } |
| 5177 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5178 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5179 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5180 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5181 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5182 | }, |
| 5183 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5184 | { |
| 5185 | .vendor = "Numonyx", |
| 5186 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5187 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5188 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5189 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5190 | .total_size = 256, |
| 5191 | .page_size = 256, |
| 5192 | .tested = TEST_UNTESTED, |
| 5193 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5194 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5195 | .block_erasers = |
| 5196 | { |
| 5197 | { |
| 5198 | .eraseblocks = { {4 * 1024, 64} }, |
| 5199 | .block_erase = spi_block_erase_20, |
| 5200 | }, { |
| 5201 | .eraseblocks = { {64 * 1024, 4} }, |
| 5202 | .block_erase = spi_block_erase_d8, |
| 5203 | }, { |
| 5204 | .eraseblocks = { {256 * 1024, 1} }, |
| 5205 | .block_erase = spi_block_erase_c7, |
| 5206 | } |
| 5207 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5208 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5209 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5210 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5211 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5212 | }, |
| 5213 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5214 | { |
| 5215 | .vendor = "Numonyx", |
| 5216 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5217 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5218 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5219 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5220 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5221 | .page_size = 256, |
| 5222 | .tested = TEST_UNTESTED, |
| 5223 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5224 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5225 | .block_erasers = |
| 5226 | { |
| 5227 | { |
| 5228 | .eraseblocks = { {4 * 1024, 128} }, |
| 5229 | .block_erase = spi_block_erase_20, |
| 5230 | }, { |
| 5231 | .eraseblocks = { {64 * 1024, 8} }, |
| 5232 | .block_erase = spi_block_erase_d8, |
| 5233 | }, { |
| 5234 | .eraseblocks = { {512 * 1024, 1} }, |
| 5235 | .block_erase = spi_block_erase_c7, |
| 5236 | } |
| 5237 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5238 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5239 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5240 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5241 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5242 | }, |
| 5243 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5244 | { |
| 5245 | .vendor = "Numonyx", |
| 5246 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5247 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5248 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5249 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5250 | .total_size = 1024, |
| 5251 | .page_size = 256, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 5252 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5253 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5254 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5255 | .block_erasers = |
| 5256 | { |
| 5257 | { |
| 5258 | .eraseblocks = { {4 * 1024, 256} }, |
| 5259 | .block_erase = spi_block_erase_20, |
| 5260 | }, { |
| 5261 | .eraseblocks = { {64 * 1024, 16} }, |
| 5262 | .block_erase = spi_block_erase_d8, |
| 5263 | }, { |
| 5264 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5265 | .block_erase = spi_block_erase_c7, |
| 5266 | } |
| 5267 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5268 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5269 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5270 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5271 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5272 | }, |
| 5273 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5274 | { |
| 5275 | .vendor = "Numonyx", |
| 5276 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5277 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5278 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5279 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5280 | .total_size = 2048, |
| 5281 | .page_size = 256, |
| 5282 | .tested = TEST_UNTESTED, |
| 5283 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5284 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5285 | .block_erasers = |
| 5286 | { |
| 5287 | { |
| 5288 | .eraseblocks = { {4 * 1024, 512} }, |
| 5289 | .block_erase = spi_block_erase_20, |
| 5290 | }, { |
| 5291 | .eraseblocks = { {64 * 1024, 32} }, |
| 5292 | .block_erase = spi_block_erase_d8, |
| 5293 | }, { |
| 5294 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5295 | .block_erase = spi_block_erase_c7, |
| 5296 | } |
| 5297 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5298 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5299 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5300 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5301 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5302 | }, |
| 5303 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5304 | { |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 5305 | .vendor = "Numonyx", |
| 5306 | .name = "N25Q064", |
| 5307 | .bustype = BUS_SPI, |
| 5308 | .manufacture_id = ST_ID, |
| 5309 | .model_id = ST_N25Q064, |
| 5310 | .total_size = 8192, |
| 5311 | .page_size = 256, |
| 5312 | .tested = TEST_OK_PREW, |
| 5313 | .probe = probe_spi_rdid, |
| 5314 | .probe_timing = TIMING_ZERO, |
| 5315 | .block_erasers = |
| 5316 | { |
| 5317 | { |
| 5318 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 5319 | .block_erase = spi_block_erase_20, |
| 5320 | }, { |
| 5321 | .eraseblocks = { {64 * 1024, 128} }, |
| 5322 | .block_erase = spi_block_erase_d8, |
| 5323 | }, { |
| 5324 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5325 | .block_erase = spi_block_erase_c7, |
| 5326 | } |
| 5327 | }, |
| 5328 | .unlock = spi_disable_blockprotect, |
| 5329 | .write = spi_chip_write_256, |
| 5330 | .read = spi_chip_read, |
| 5331 | }, |
| 5332 | |
| 5333 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5334 | .vendor = "PMC", |
| 5335 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5336 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5337 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5338 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5339 | .total_size = 128, |
| 5340 | .page_size = 256, |
| 5341 | .tested = TEST_UNTESTED, |
| 5342 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5343 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5344 | .block_erasers = |
| 5345 | { |
| 5346 | { |
| 5347 | .eraseblocks = { {4 * 1024, 32} }, |
| 5348 | .block_erase = spi_block_erase_d7, |
| 5349 | }, { |
| 5350 | .eraseblocks = { {32 * 1024, 4} }, |
| 5351 | .block_erase = spi_block_erase_d8, |
| 5352 | }, { |
| 5353 | .eraseblocks = { {128 * 1024, 1} }, |
| 5354 | .block_erase = spi_block_erase_c7, |
| 5355 | } |
| 5356 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5357 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5358 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5359 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5360 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5361 | }, |
| 5362 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5363 | { |
| 5364 | .vendor = "PMC", |
| 5365 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5366 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5367 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5368 | .model_id = PMC_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5369 | .total_size = 2048, |
| 5370 | .page_size = 256, |
| 5371 | .tested = TEST_UNTESTED, |
| 5372 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5373 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5374 | .block_erasers = |
| 5375 | { |
| 5376 | { |
| 5377 | .eraseblocks = { {4 * 1024, 512} }, |
| 5378 | .block_erase = spi_block_erase_d7, |
| 5379 | }, { |
| 5380 | .eraseblocks = { {4 * 1024, 512} }, |
| 5381 | .block_erase = spi_block_erase_20, |
| 5382 | }, { |
| 5383 | .eraseblocks = { {64 * 1024, 32} }, |
| 5384 | .block_erase = spi_block_erase_d8, |
| 5385 | }, { |
| 5386 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5387 | .block_erase = spi_block_erase_60, |
| 5388 | }, { |
| 5389 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5390 | .block_erase = spi_block_erase_c7, |
| 5391 | } |
| 5392 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5393 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5394 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5395 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5396 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5397 | }, |
| 5398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5399 | { |
| 5400 | .vendor = "PMC", |
| 5401 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5402 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5403 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5404 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5405 | .total_size = 256, |
| 5406 | .page_size = 256, |
| 5407 | .tested = TEST_UNTESTED, |
| 5408 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5409 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5410 | .block_erasers = |
| 5411 | { |
| 5412 | { |
| 5413 | .eraseblocks = { {4 * 1024, 64} }, |
| 5414 | .block_erase = spi_block_erase_d7, |
| 5415 | }, { |
| 5416 | .eraseblocks = { {64 * 1024, 4} }, |
| 5417 | .block_erase = spi_block_erase_d8, |
| 5418 | }, { |
| 5419 | .eraseblocks = { {256 * 1024, 1} }, |
| 5420 | .block_erase = spi_block_erase_c7, |
| 5421 | } |
| 5422 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5423 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5424 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5425 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5426 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5427 | }, |
| 5428 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5429 | { |
| 5430 | .vendor = "PMC", |
| 5431 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5432 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5433 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5434 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5435 | .total_size = 512, |
| 5436 | .page_size = 256, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 5437 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5438 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5439 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5440 | .block_erasers = |
| 5441 | { |
| 5442 | { |
| 5443 | .eraseblocks = { {4 * 1024, 128} }, |
| 5444 | .block_erase = spi_block_erase_d7, |
| 5445 | }, { |
| 5446 | .eraseblocks = { {64 * 1024, 8} }, |
| 5447 | .block_erase = spi_block_erase_d8, |
| 5448 | }, { |
| 5449 | .eraseblocks = { {512 * 1024, 1} }, |
| 5450 | .block_erase = spi_block_erase_c7, |
| 5451 | } |
| 5452 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5453 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5454 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5455 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5456 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5457 | }, |
| 5458 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5459 | { |
| 5460 | .vendor = "PMC", |
| 5461 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5462 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5463 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5464 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5465 | .total_size = 1024, |
| 5466 | .page_size = 256, |
| 5467 | .tested = TEST_UNTESTED, |
| 5468 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5469 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5470 | .block_erasers = |
| 5471 | { |
| 5472 | { |
| 5473 | .eraseblocks = { {4 * 1024, 256} }, |
| 5474 | .block_erase = spi_block_erase_d7, |
| 5475 | }, { |
| 5476 | .eraseblocks = { {4 * 1024, 256} }, |
| 5477 | .block_erase = spi_block_erase_20, |
| 5478 | }, { |
| 5479 | .eraseblocks = { {64 * 1024, 16} }, |
| 5480 | .block_erase = spi_block_erase_d8, |
| 5481 | }, { |
| 5482 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5483 | .block_erase = spi_block_erase_60, |
| 5484 | }, { |
| 5485 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5486 | .block_erase = spi_block_erase_c7, |
| 5487 | } |
| 5488 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5489 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5490 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5491 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5492 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5493 | }, |
| 5494 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5495 | { |
| 5496 | .vendor = "PMC", |
| 5497 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5498 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5499 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5500 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5501 | .total_size = 64, |
| 5502 | .page_size = 256, |
| 5503 | .tested = TEST_UNTESTED, |
| 5504 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5505 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5506 | .block_erasers = |
| 5507 | { |
| 5508 | { |
| 5509 | .eraseblocks = { {4 * 1024, 16} }, |
| 5510 | .block_erase = spi_block_erase_d7, |
| 5511 | }, { |
| 5512 | .eraseblocks = { {32 * 1024, 2} }, |
| 5513 | .block_erase = spi_block_erase_d8, |
| 5514 | }, { |
| 5515 | .eraseblocks = { {64 * 1024, 1} }, |
| 5516 | .block_erase = spi_block_erase_c7, |
| 5517 | } |
| 5518 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5519 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5520 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5521 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5522 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5523 | }, |
| 5524 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5525 | { |
| 5526 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5527 | .name = "Pm29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5528 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5529 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5530 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5531 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5532 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5533 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 5534 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5535 | .probe = probe_jedec, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 5536 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5537 | .block_erasers = |
| 5538 | { |
| 5539 | { |
| 5540 | .eraseblocks = { |
| 5541 | {128 * 1024, 1}, |
| 5542 | {96 * 1024, 1}, |
| 5543 | {8 * 1024, 2}, |
| 5544 | {16 * 1024, 1}, |
| 5545 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5546 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5547 | }, { |
| 5548 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5549 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5550 | }, |
| 5551 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5552 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5553 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5554 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5555 | }, |
| 5556 | |
| 5557 | { |
| 5558 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5559 | .name = "Pm29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5560 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5561 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5562 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5563 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5564 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5565 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5566 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5567 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5568 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5569 | .block_erasers = |
| 5570 | { |
| 5571 | { |
| 5572 | .eraseblocks = { |
| 5573 | {16 * 1024, 1}, |
| 5574 | {8 * 1024, 2}, |
| 5575 | {96 * 1024, 1}, |
| 5576 | {128 * 1024, 1}, |
| 5577 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5578 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5579 | }, { |
| 5580 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5581 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5582 | }, |
| 5583 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5584 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5585 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5586 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5587 | }, |
| 5588 | |
| 5589 | { |
| 5590 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5591 | .name = "Pm39LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5592 | .bustype = BUS_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5593 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5594 | .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] | 5595 | .total_size = 128, |
| 5596 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5597 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5598 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5599 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5600 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5601 | .block_erasers = |
| 5602 | { |
| 5603 | { |
| 5604 | .eraseblocks = { {4 * 1024, 32} }, |
| 5605 | .block_erase = erase_sector_jedec, |
| 5606 | }, { |
| 5607 | .eraseblocks = { {64 * 1024, 2} }, |
| 5608 | .block_erase = erase_block_jedec, |
| 5609 | }, { |
| 5610 | .eraseblocks = { {128 * 1024, 1} }, |
| 5611 | .block_erase = erase_chip_block_jedec, |
| 5612 | } |
| 5613 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5614 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5615 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5616 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5617 | }, |
| 5618 | |
| 5619 | { |
| 5620 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5621 | .name = "Pm39LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5622 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5623 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5624 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5625 | .total_size = 256, |
| 5626 | .page_size = 4096, |
| 5627 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5628 | .tested = TEST_UNTESTED, |
| 5629 | .probe = probe_jedec, |
| 5630 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5631 | .block_erasers = |
| 5632 | { |
| 5633 | { |
| 5634 | .eraseblocks = { {4 * 1024, 64} }, |
| 5635 | .block_erase = erase_sector_jedec, |
| 5636 | }, { |
| 5637 | .eraseblocks = { {64 * 1024, 4} }, |
| 5638 | .block_erase = erase_block_jedec, |
| 5639 | }, { |
| 5640 | .eraseblocks = { {256 * 1024, 1} }, |
| 5641 | .block_erase = erase_chip_block_jedec, |
| 5642 | } |
| 5643 | }, |
| 5644 | .write = write_jedec_1, |
| 5645 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5646 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5647 | }, |
| 5648 | |
| 5649 | { |
| 5650 | .vendor = "PMC", |
| 5651 | .name = "Pm39LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5652 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5653 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5654 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5655 | .total_size = 512, |
| 5656 | .page_size = 4096, |
| 5657 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5658 | .tested = TEST_OK_PR, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5659 | .probe = probe_jedec, |
| 5660 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5661 | .block_erasers = |
| 5662 | { |
| 5663 | { |
| 5664 | .eraseblocks = { {4 * 1024, 128} }, |
| 5665 | .block_erase = erase_sector_jedec, |
| 5666 | }, { |
| 5667 | .eraseblocks = { {64 * 1024, 8} }, |
| 5668 | .block_erase = erase_block_jedec, |
| 5669 | }, { |
| 5670 | .eraseblocks = { {512 * 1024, 1} }, |
| 5671 | .block_erase = erase_chip_block_jedec, |
| 5672 | } |
| 5673 | }, |
| 5674 | .write = write_jedec_1, |
| 5675 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5676 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5677 | }, |
| 5678 | |
| 5679 | { |
| 5680 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5681 | .name = "Pm49FL002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5682 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5683 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5684 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5685 | .total_size = 256, |
| 5686 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5687 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 5688 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5689 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5690 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5691 | .block_erasers = |
| 5692 | { |
| 5693 | { |
| 5694 | .eraseblocks = { {4 * 1024, 64} }, |
| 5695 | .block_erase = erase_sector_jedec, |
| 5696 | }, { |
| 5697 | .eraseblocks = { {16 * 1024, 16} }, |
| 5698 | .block_erase = erase_block_jedec, |
| 5699 | }, { |
| 5700 | .eraseblocks = { {256 * 1024, 1} }, |
| 5701 | .block_erase = erase_chip_block_jedec, |
| 5702 | } |
| 5703 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5704 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5705 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5706 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5707 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5708 | }, |
| 5709 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5710 | { |
| 5711 | .vendor = "PMC", |
| 5712 | .name = "Pm49FL004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5713 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5714 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5715 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5716 | .total_size = 512, |
| 5717 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5718 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 5719 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5720 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5721 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5722 | .block_erasers = |
| 5723 | { |
| 5724 | { |
| 5725 | .eraseblocks = { {4 * 1024, 128} }, |
| 5726 | .block_erase = erase_sector_jedec, |
| 5727 | }, { |
| 5728 | .eraseblocks = { {64 * 1024, 8} }, |
| 5729 | .block_erase = erase_block_jedec, |
| 5730 | }, { |
| 5731 | .eraseblocks = { {512 * 1024, 1} }, |
| 5732 | .block_erase = erase_chip_block_jedec, |
| 5733 | } |
| 5734 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5735 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5736 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5737 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5738 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5739 | }, |
| 5740 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5741 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5742 | .vendor = "Sanyo", |
| 5743 | .name = "LF25FW203A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5744 | .bustype = BUS_SPI, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5745 | .manufacture_id = SANYO_ID, |
| 5746 | .model_id = SANYO_LE25FW203A, |
| 5747 | .total_size = 2048, |
| 5748 | .page_size = 256, |
| 5749 | .tested = TEST_UNTESTED, |
| 5750 | .probe = probe_spi_rdid, |
| 5751 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5752 | .block_erasers = |
| 5753 | { |
| 5754 | { |
| 5755 | .eraseblocks = { {64 * 1024, 32} }, |
| 5756 | .block_erase = spi_block_erase_d8, |
| 5757 | }, { |
| 5758 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5759 | .block_erase = spi_block_erase_c7, |
| 5760 | } |
| 5761 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5762 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5763 | .write = spi_chip_write_256, |
| 5764 | .read = spi_chip_read, |
| 5765 | }, |
| 5766 | |
| 5767 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5768 | .vendor = "Sharp", |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 5769 | .name = "LH28F008BJT-BTLZ1", |
| 5770 | .bustype = BUS_PARALLEL, |
| 5771 | .manufacture_id = SHARP_ID, |
| 5772 | .model_id = SHARP_LH28F008BJxxPB, |
| 5773 | .total_size = 1024, |
| 5774 | .page_size = 64 * 1024, |
| 5775 | .tested = TEST_OK_PREW, |
| 5776 | .probe = probe_82802ab, |
| 5777 | .probe_timing = TIMING_ZERO, |
| 5778 | .block_erasers = |
| 5779 | { |
| 5780 | { |
| 5781 | .eraseblocks = { |
| 5782 | {8 * 1024, 8}, |
| 5783 | {64 * 1024, 15} |
| 5784 | }, |
| 5785 | .block_erase = erase_block_82802ab, |
| 5786 | }, { |
| 5787 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5788 | .block_erase = erase_sector_49lfxxxc, |
| 5789 | } |
| 5790 | }, |
| 5791 | .unlock = unlock_lh28f008bjt, |
| 5792 | .write = write_82802ab, |
| 5793 | .read = read_memmapped, |
| 5794 | .voltage = {2700, 3600}, |
| 5795 | }, |
| 5796 | |
| 5797 | { |
| 5798 | .vendor = "Sharp", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5799 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5800 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5801 | .manufacture_id = SHARP_ID, |
| 5802 | .model_id = SHARP_LHF00L04, |
| 5803 | .total_size = 1024, |
| 5804 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5805 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5806 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5807 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5808 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5809 | .block_erasers = |
| 5810 | { |
| 5811 | { |
| 5812 | .eraseblocks = { |
| 5813 | {64 * 1024, 15}, |
| 5814 | {8 * 1024, 8} |
| 5815 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5816 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5817 | }, { |
| 5818 | .eraseblocks = { |
| 5819 | {1024 * 1024, 1} |
| 5820 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5821 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5822 | }, |
| 5823 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5824 | .unlock = unlock_82802ab, |
| 5825 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5826 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5827 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5828 | }, |
| 5829 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5830 | { |
| 5831 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5832 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5833 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5834 | .manufacture_id = SPANSION_ID, |
| 5835 | .model_id = SPANSION_S25FL004A, |
| 5836 | .total_size = 512, |
| 5837 | .page_size = 256, |
| 5838 | .tested = TEST_UNTESTED, |
| 5839 | .probe = probe_spi_rdid, |
| 5840 | .probe_timing = TIMING_ZERO, |
| 5841 | .block_erasers = |
| 5842 | { |
| 5843 | { |
| 5844 | .eraseblocks = { {64 * 1024, 8} }, |
| 5845 | .block_erase = spi_block_erase_d8, |
| 5846 | }, { |
| 5847 | .eraseblocks = { {512 * 1024, 1} }, |
| 5848 | .block_erase = spi_block_erase_c7, |
| 5849 | } |
| 5850 | }, |
| 5851 | .unlock = spi_disable_blockprotect, |
| 5852 | .write = spi_chip_write_256, |
| 5853 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5854 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5855 | }, |
| 5856 | |
| 5857 | { |
| 5858 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5859 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5860 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5861 | .manufacture_id = SPANSION_ID, |
| 5862 | .model_id = SPANSION_S25FL008A, |
| 5863 | .total_size = 1024, |
| 5864 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5865 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5866 | .probe = probe_spi_rdid, |
| 5867 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5868 | .block_erasers = |
| 5869 | { |
| 5870 | { |
| 5871 | .eraseblocks = { {64 * 1024, 16} }, |
| 5872 | .block_erase = spi_block_erase_d8, |
| 5873 | }, { |
| 5874 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5875 | .block_erase = spi_block_erase_c7, |
| 5876 | } |
| 5877 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5878 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5879 | .write = spi_chip_write_256, |
| 5880 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5881 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5882 | }, |
| 5883 | |
| 5884 | { |
| 5885 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5886 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5887 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5888 | .manufacture_id = SPANSION_ID, |
| 5889 | .model_id = SPANSION_S25FL016A, |
| 5890 | .total_size = 2048, |
| 5891 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5892 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5893 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5894 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5895 | .block_erasers = |
| 5896 | { |
| 5897 | { |
| 5898 | .eraseblocks = { {64 * 1024, 32} }, |
| 5899 | .block_erase = spi_block_erase_d8, |
| 5900 | }, { |
| 5901 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5902 | .block_erase = spi_block_erase_c7, |
| 5903 | } |
| 5904 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5905 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5906 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5907 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5908 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5909 | }, |
| 5910 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5911 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5912 | .vendor = "Spansion", |
| 5913 | .name = "S25FL032A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5914 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5915 | .manufacture_id = SPANSION_ID, |
| 5916 | .model_id = SPANSION_S25FL032A, |
| 5917 | .total_size = 4096, |
| 5918 | .page_size = 256, |
| 5919 | .tested = TEST_UNTESTED, |
| 5920 | .probe = probe_spi_rdid, |
| 5921 | .probe_timing = TIMING_ZERO, |
| 5922 | .block_erasers = |
| 5923 | { |
| 5924 | { |
| 5925 | .eraseblocks = { {64 * 1024, 64} }, |
| 5926 | .block_erase = spi_block_erase_d8, |
| 5927 | }, { |
| 5928 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5929 | .block_erase = spi_block_erase_c7, |
| 5930 | } |
| 5931 | }, |
| 5932 | .unlock = spi_disable_blockprotect, |
| 5933 | .write = spi_chip_write_256, |
| 5934 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5935 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5936 | }, |
| 5937 | |
| 5938 | { |
| 5939 | .vendor = "Spansion", |
| 5940 | .name = "S25FL064A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5941 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5942 | .manufacture_id = SPANSION_ID, |
| 5943 | .model_id = SPANSION_S25FL064A, |
| 5944 | .total_size = 8192, |
| 5945 | .page_size = 256, |
| 5946 | .tested = TEST_OK_PREW, |
| 5947 | .probe = probe_spi_rdid, |
| 5948 | .probe_timing = TIMING_ZERO, |
| 5949 | .block_erasers = |
| 5950 | { |
| 5951 | { |
| 5952 | .eraseblocks = { {64 * 1024, 128} }, |
| 5953 | .block_erase = spi_block_erase_d8, |
| 5954 | }, { |
| 5955 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5956 | .block_erase = spi_block_erase_c7, |
| 5957 | } |
| 5958 | }, |
| 5959 | .unlock = spi_disable_blockprotect, |
| 5960 | .write = spi_chip_write_256, |
| 5961 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5962 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5963 | }, |
| 5964 | |
| 5965 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5966 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 5967 | .name = "SST25LF040A", |
| 5968 | .bustype = BUS_SPI, |
| 5969 | .manufacture_id = SST_ID, |
| 5970 | .model_id = SST_SST25VF040_REMS, |
| 5971 | .total_size = 512, |
| 5972 | .page_size = 256, |
Uwe Hermann | 4335ec8 | 2011-09-07 20:20:25 +0000 | [diff] [blame] | 5973 | .tested = TEST_OK_PREW, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 5974 | .probe = probe_spi_res2, |
| 5975 | .probe_timing = TIMING_ZERO, |
| 5976 | .block_erasers = |
| 5977 | { |
| 5978 | { |
| 5979 | .eraseblocks = { {4 * 1024, 128} }, |
| 5980 | .block_erase = spi_block_erase_20, |
| 5981 | }, { |
| 5982 | .eraseblocks = { {32 * 1024, 16} }, |
| 5983 | .block_erase = spi_block_erase_52, |
| 5984 | }, { |
| 5985 | .eraseblocks = { {512 * 1024, 1} }, |
| 5986 | .block_erase = spi_block_erase_60, |
| 5987 | }, |
| 5988 | }, |
| 5989 | .unlock = spi_disable_blockprotect, |
| 5990 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 5991 | .read = spi_chip_read, |
| 5992 | .voltage = {3000, 3600}, |
| 5993 | }, |
| 5994 | |
| 5995 | { |
| 5996 | .vendor = "SST", |
| 5997 | .name = "SST25LF080A", |
| 5998 | .bustype = BUS_SPI, |
| 5999 | .manufacture_id = SST_ID, |
| 6000 | .model_id = SST_SST25VF080_REMS, |
| 6001 | .total_size = 1024, |
| 6002 | .page_size = 256, |
| 6003 | .tested = TEST_UNTESTED, |
| 6004 | .probe = probe_spi_res2, |
| 6005 | .probe_timing = TIMING_ZERO, |
| 6006 | .block_erasers = |
| 6007 | { |
| 6008 | { |
| 6009 | .eraseblocks = { {4 * 1024, 256} }, |
| 6010 | .block_erase = spi_block_erase_20, |
| 6011 | }, { |
| 6012 | .eraseblocks = { {32 * 1024, 32} }, |
| 6013 | .block_erase = spi_block_erase_52, |
| 6014 | }, { |
| 6015 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6016 | .block_erase = spi_block_erase_60, |
| 6017 | }, |
| 6018 | }, |
| 6019 | .unlock = spi_disable_blockprotect, |
| 6020 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 6021 | .read = spi_chip_read, |
| 6022 | .voltage = {3000, 3600}, |
| 6023 | }, |
| 6024 | |
| 6025 | { |
| 6026 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6027 | .name = "SST25VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6028 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6029 | .manufacture_id = SST_ID, |
| 6030 | .model_id = SST_SST25VF010_REMS, |
| 6031 | .total_size = 128, |
| 6032 | .page_size = 256, |
| 6033 | .tested = TEST_OK_PREW, |
| 6034 | .probe = probe_spi_rems, |
| 6035 | .probe_timing = TIMING_ZERO, |
| 6036 | .block_erasers = |
| 6037 | { |
| 6038 | { |
| 6039 | .eraseblocks = { {4 * 1024, 32} }, |
| 6040 | .block_erase = spi_block_erase_20, |
| 6041 | }, { |
| 6042 | .eraseblocks = { {32 * 1024, 4} }, |
| 6043 | .block_erase = spi_block_erase_52, |
| 6044 | }, { |
| 6045 | .eraseblocks = { {128 * 1024, 1} }, |
| 6046 | .block_erase = spi_block_erase_60, |
| 6047 | }, |
| 6048 | }, |
| 6049 | .unlock = spi_disable_blockprotect, |
| 6050 | .write = spi_chip_write_1, |
| 6051 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6052 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6053 | }, |
| 6054 | |
| 6055 | { |
| 6056 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6057 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6058 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6059 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6060 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6061 | .total_size = 2048, |
| 6062 | .page_size = 256, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6063 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6064 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6065 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6066 | .block_erasers = |
| 6067 | { |
| 6068 | { |
| 6069 | .eraseblocks = { {4 * 1024, 512} }, |
| 6070 | .block_erase = spi_block_erase_20, |
| 6071 | }, { |
| 6072 | .eraseblocks = { {32 * 1024, 64} }, |
| 6073 | .block_erase = spi_block_erase_52, |
| 6074 | }, { |
| 6075 | .eraseblocks = { {64 * 1024, 32} }, |
| 6076 | .block_erase = spi_block_erase_d8, |
| 6077 | }, { |
| 6078 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6079 | .block_erase = spi_block_erase_60, |
| 6080 | }, { |
| 6081 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6082 | .block_erase = spi_block_erase_c7, |
| 6083 | }, |
| 6084 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6085 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6086 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6087 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6088 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6089 | }, |
| 6090 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6091 | { |
| 6092 | .vendor = "SST", |
| 6093 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6094 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6095 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6096 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6097 | .total_size = 4096, |
| 6098 | .page_size = 256, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 6099 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6100 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6101 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6102 | .block_erasers = |
| 6103 | { |
| 6104 | { |
| 6105 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6106 | .block_erase = spi_block_erase_20, |
| 6107 | }, { |
| 6108 | .eraseblocks = { {32 * 1024, 128} }, |
| 6109 | .block_erase = spi_block_erase_52, |
| 6110 | }, { |
| 6111 | .eraseblocks = { {64 * 1024, 64} }, |
| 6112 | .block_erase = spi_block_erase_d8, |
| 6113 | }, { |
| 6114 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6115 | .block_erase = spi_block_erase_60, |
| 6116 | }, { |
| 6117 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6118 | .block_erase = spi_block_erase_c7, |
| 6119 | }, |
| 6120 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6121 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 6122 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6123 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6124 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6125 | }, |
| 6126 | |
| 6127 | { |
| 6128 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6129 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6130 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6131 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6132 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6133 | .total_size = 8192, |
| 6134 | .page_size = 256, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6135 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6136 | .probe = probe_spi_rdid, |
| 6137 | .probe_timing = TIMING_ZERO, |
| 6138 | .block_erasers = |
| 6139 | { |
| 6140 | { |
| 6141 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6142 | .block_erase = spi_block_erase_20, |
| 6143 | }, { |
| 6144 | .eraseblocks = { {32 * 1024, 256} }, |
| 6145 | .block_erase = spi_block_erase_52, |
| 6146 | }, { |
| 6147 | .eraseblocks = { {64 * 1024, 128} }, |
| 6148 | .block_erase = spi_block_erase_d8, |
| 6149 | }, { |
| 6150 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6151 | .block_erase = spi_block_erase_60, |
| 6152 | }, { |
| 6153 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6154 | .block_erase = spi_block_erase_c7, |
| 6155 | }, |
| 6156 | }, |
| 6157 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 6158 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6159 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6160 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6161 | }, |
| 6162 | |
| 6163 | { |
| 6164 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6165 | .name = "SST25VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6166 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6167 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6168 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6169 | .total_size = 512, |
| 6170 | .page_size = 256, |
| 6171 | .tested = TEST_OK_PR, |
| 6172 | .probe = probe_spi_rems, |
| 6173 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6174 | .block_erasers = |
| 6175 | { |
| 6176 | { |
| 6177 | .eraseblocks = { {4 * 1024, 128} }, |
| 6178 | .block_erase = spi_block_erase_20, |
| 6179 | }, { |
| 6180 | .eraseblocks = { {32 * 1024, 16} }, |
| 6181 | .block_erase = spi_block_erase_52, |
| 6182 | }, { |
| 6183 | .eraseblocks = { {512 * 1024, 1} }, |
| 6184 | .block_erase = spi_block_erase_60, |
| 6185 | }, |
| 6186 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6187 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6188 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6189 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6190 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6191 | }, |
| 6192 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6193 | { |
| 6194 | .vendor = "SST", |
| 6195 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6196 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6197 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6198 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6199 | .total_size = 512, |
| 6200 | .page_size = 256, |
| 6201 | .tested = TEST_UNTESTED, |
| 6202 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6203 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6204 | .block_erasers = |
| 6205 | { |
| 6206 | { |
| 6207 | .eraseblocks = { {4 * 1024, 128} }, |
| 6208 | .block_erase = spi_block_erase_20, |
| 6209 | }, { |
| 6210 | .eraseblocks = { {32 * 1024, 16} }, |
| 6211 | .block_erase = spi_block_erase_52, |
| 6212 | }, { |
| 6213 | .eraseblocks = { {64 * 1024, 8} }, |
| 6214 | .block_erase = spi_block_erase_d8, |
| 6215 | }, { |
| 6216 | .eraseblocks = { {512 * 1024, 1} }, |
| 6217 | .block_erase = spi_block_erase_60, |
| 6218 | }, { |
| 6219 | .eraseblocks = { {512 * 1024, 1} }, |
| 6220 | .block_erase = spi_block_erase_c7, |
| 6221 | }, |
| 6222 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6223 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6224 | .write = spi_aai_write, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 6225 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6226 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 6227 | }, |
| 6228 | |
| 6229 | { |
| 6230 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6231 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6232 | .bustype = BUS_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6233 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6234 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6235 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6236 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6237 | .tested = TEST_OK_PR, |
| 6238 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6239 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6240 | .block_erasers = |
| 6241 | { |
| 6242 | { |
| 6243 | .eraseblocks = { {4 * 1024, 128} }, |
| 6244 | .block_erase = spi_block_erase_20, |
| 6245 | }, { |
| 6246 | .eraseblocks = { {32 * 1024, 16} }, |
| 6247 | .block_erase = spi_block_erase_52, |
| 6248 | }, { |
| 6249 | .eraseblocks = { {64 * 1024, 8} }, |
| 6250 | .block_erase = spi_block_erase_d8, |
| 6251 | }, { |
| 6252 | .eraseblocks = { {512 * 1024, 1} }, |
| 6253 | .block_erase = spi_block_erase_60, |
| 6254 | }, { |
| 6255 | .eraseblocks = { {512 * 1024, 1} }, |
| 6256 | .block_erase = spi_block_erase_c7, |
| 6257 | }, |
| 6258 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6259 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6260 | .write = spi_aai_write, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6261 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6262 | .voltage = {2700, 3600}, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6263 | }, |
| 6264 | |
| 6265 | { |
| 6266 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6267 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6268 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6269 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6270 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6271 | .total_size = 1024, |
| 6272 | .page_size = 256, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 6273 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6274 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6275 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6276 | .block_erasers = |
| 6277 | { |
| 6278 | { |
| 6279 | .eraseblocks = { {4 * 1024, 256} }, |
| 6280 | .block_erase = spi_block_erase_20, |
| 6281 | }, { |
| 6282 | .eraseblocks = { {32 * 1024, 32} }, |
| 6283 | .block_erase = spi_block_erase_52, |
| 6284 | }, { |
| 6285 | .eraseblocks = { {64 * 1024, 16} }, |
| 6286 | .block_erase = spi_block_erase_d8, |
| 6287 | }, { |
| 6288 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6289 | .block_erase = spi_block_erase_60, |
| 6290 | }, { |
| 6291 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6292 | .block_erase = spi_block_erase_c7, |
| 6293 | }, |
| 6294 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6295 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6296 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6297 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6298 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6299 | }, |
| 6300 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6301 | { |
| 6302 | .vendor = "SST", |
| 6303 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6304 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6305 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6306 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6307 | .total_size = 512, |
| 6308 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6309 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6310 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6311 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6312 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6313 | .block_erasers = |
| 6314 | { |
| 6315 | { |
| 6316 | .eraseblocks = { {128, 4096} }, |
| 6317 | .block_erase = erase_sector_28sf040, |
| 6318 | }, { |
| 6319 | .eraseblocks = { {512 * 1024, 1} }, |
| 6320 | .block_erase = erase_chip_28sf040, |
| 6321 | } |
| 6322 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6323 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6324 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6325 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6326 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6327 | }, |
| 6328 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6329 | { |
| 6330 | .vendor = "SST", |
| 6331 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6332 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6333 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6334 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6335 | .total_size = 128, |
| 6336 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6337 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6338 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6339 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6340 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6341 | .block_erasers = |
| 6342 | { |
| 6343 | { |
| 6344 | .eraseblocks = { {128 * 1024, 1} }, |
| 6345 | .block_erase = erase_chip_block_jedec, |
| 6346 | } |
| 6347 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6348 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6349 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6350 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6351 | }, |
| 6352 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6353 | { |
| 6354 | .vendor = "SST", |
| 6355 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6356 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6357 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6358 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6359 | .total_size = 128, |
| 6360 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6361 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6362 | .tested = TEST_UNTESTED, |
| 6363 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6364 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6365 | .block_erasers = |
| 6366 | { |
| 6367 | { |
| 6368 | .eraseblocks = { {128 * 1024, 1} }, |
| 6369 | .block_erase = erase_chip_block_jedec, |
| 6370 | } |
| 6371 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6372 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6373 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6374 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6375 | }, |
| 6376 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6377 | { |
| 6378 | .vendor = "SST", |
| 6379 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6380 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6381 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6382 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6383 | .total_size = 256, |
| 6384 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6385 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6386 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6387 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6388 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6389 | .block_erasers = |
| 6390 | { |
| 6391 | { |
| 6392 | .eraseblocks = { {256 * 1024, 1} }, |
| 6393 | .block_erase = erase_chip_block_jedec, |
| 6394 | } |
| 6395 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6396 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6397 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6398 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6399 | }, |
| 6400 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6401 | { |
| 6402 | .vendor = "SST", |
| 6403 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6404 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6405 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6406 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6407 | .total_size = 256, |
| 6408 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6409 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6410 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6411 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6412 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6413 | .block_erasers = |
| 6414 | { |
| 6415 | { |
| 6416 | .eraseblocks = { {256 * 1024, 1} }, |
| 6417 | .block_erase = erase_chip_block_jedec, |
| 6418 | } |
| 6419 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6420 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6421 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6422 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6423 | }, |
| 6424 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6425 | { |
| 6426 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6427 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6428 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6429 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6430 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6431 | .total_size = 64, |
| 6432 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6433 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 6434 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6435 | .probe = probe_jedec, |
| 6436 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6437 | .block_erasers = |
| 6438 | { |
| 6439 | { |
| 6440 | .eraseblocks = { {4 * 1024, 16} }, |
| 6441 | .block_erase = erase_sector_jedec, |
| 6442 | }, { |
| 6443 | .eraseblocks = { {64 * 1024, 1} }, |
| 6444 | .block_erase = erase_chip_block_jedec, |
| 6445 | } |
| 6446 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6447 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6448 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6449 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6450 | }, |
| 6451 | |
| 6452 | { |
| 6453 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6454 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6455 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6456 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6457 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6458 | .total_size = 128, |
| 6459 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6460 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 6461 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6462 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6463 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6464 | .block_erasers = |
| 6465 | { |
| 6466 | { |
| 6467 | .eraseblocks = { {4 * 1024, 32} }, |
| 6468 | .block_erase = erase_sector_jedec, |
| 6469 | }, { |
| 6470 | .eraseblocks = { {128 * 1024, 1} }, |
| 6471 | .block_erase = erase_chip_block_jedec, |
| 6472 | } |
| 6473 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6474 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6475 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6476 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6477 | }, |
| 6478 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6479 | { |
| 6480 | .vendor = "SST", |
| 6481 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6482 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6483 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6484 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6485 | .total_size = 256, |
| 6486 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6487 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 6488 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6489 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6490 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6491 | .block_erasers = |
| 6492 | { |
| 6493 | { |
| 6494 | .eraseblocks = { {4 * 1024, 64} }, |
| 6495 | .block_erase = erase_sector_jedec, |
| 6496 | }, { |
| 6497 | .eraseblocks = { {256 * 1024, 1} }, |
| 6498 | .block_erase = erase_chip_block_jedec, |
| 6499 | } |
| 6500 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6501 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6502 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6503 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6504 | }, |
| 6505 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6506 | { |
| 6507 | .vendor = "SST", |
| 6508 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6509 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6510 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6511 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6512 | .total_size = 512, |
| 6513 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6514 | .feature_bits = FEATURE_EITHER_RESET, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6515 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6516 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6517 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6518 | .block_erasers = |
| 6519 | { |
| 6520 | { |
| 6521 | .eraseblocks = { {4 * 1024, 128} }, |
| 6522 | .block_erase = erase_sector_jedec, |
| 6523 | }, { |
| 6524 | .eraseblocks = { {512 * 1024, 1} }, |
| 6525 | .block_erase = erase_chip_block_jedec, |
| 6526 | } |
| 6527 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6528 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6529 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6530 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6531 | }, |
| 6532 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6533 | { |
| 6534 | .vendor = "SST", |
| 6535 | .name = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6536 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6537 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6538 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6539 | .total_size = 64, |
| 6540 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6541 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6542 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6543 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6544 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6545 | .block_erasers = |
| 6546 | { |
| 6547 | { |
| 6548 | .eraseblocks = { {4 * 1024, 16} }, |
| 6549 | .block_erase = erase_sector_jedec, |
| 6550 | }, { |
| 6551 | .eraseblocks = { {64 * 1024, 1} }, |
| 6552 | .block_erase = erase_chip_block_jedec, |
| 6553 | } |
| 6554 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6555 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6556 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6557 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6558 | }, |
| 6559 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6560 | { |
| 6561 | .vendor = "SST", |
| 6562 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6563 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6564 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6565 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6566 | .total_size = 128, |
| 6567 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6568 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6569 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6570 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6571 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6572 | .block_erasers = |
| 6573 | { |
| 6574 | { |
| 6575 | .eraseblocks = { {4 * 1024, 32} }, |
| 6576 | .block_erase = erase_sector_jedec, |
| 6577 | }, { |
| 6578 | .eraseblocks = { {128 * 1024, 1} }, |
| 6579 | .block_erase = erase_chip_block_jedec, |
| 6580 | } |
| 6581 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6582 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6583 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6584 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6585 | }, |
| 6586 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6587 | { |
| 6588 | .vendor = "SST", |
| 6589 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6590 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6591 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6592 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6593 | .total_size = 256, |
| 6594 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6595 | .feature_bits = FEATURE_EITHER_RESET, |
| 6596 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6597 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6598 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6599 | .block_erasers = |
| 6600 | { |
| 6601 | { |
| 6602 | .eraseblocks = { {4 * 1024, 64} }, |
| 6603 | .block_erase = erase_sector_jedec, |
| 6604 | }, { |
| 6605 | .eraseblocks = { {256 * 1024, 1} }, |
| 6606 | .block_erase = erase_chip_block_jedec, |
| 6607 | } |
| 6608 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6609 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6610 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6611 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6612 | }, |
| 6613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6614 | { |
| 6615 | .vendor = "SST", |
| 6616 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6617 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6618 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6619 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6620 | .total_size = 512, |
| 6621 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6622 | .feature_bits = FEATURE_EITHER_RESET, |
| 6623 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6624 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6625 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6626 | .block_erasers = |
| 6627 | { |
| 6628 | { |
| 6629 | .eraseblocks = { {4 * 1024, 128} }, |
| 6630 | .block_erase = erase_sector_jedec, |
| 6631 | }, { |
| 6632 | .eraseblocks = { {512 * 1024, 1} }, |
| 6633 | .block_erase = erase_chip_block_jedec, |
| 6634 | } |
| 6635 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6636 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6637 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6638 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 6639 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6640 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6641 | { |
| 6642 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6643 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6644 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6645 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6646 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6647 | .total_size = 1024, |
| 6648 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6649 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6650 | .tested = TEST_UNTESTED, |
| 6651 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6652 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6653 | .block_erasers = |
| 6654 | { |
| 6655 | { |
| 6656 | .eraseblocks = { {4 * 1024, 256} }, |
| 6657 | .block_erase = erase_sector_jedec, |
| 6658 | }, { |
| 6659 | .eraseblocks = { {64 * 1024, 16} }, |
| 6660 | .block_erase = erase_block_jedec, |
| 6661 | }, { |
| 6662 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6663 | .block_erase = erase_chip_block_jedec, |
| 6664 | } |
| 6665 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6666 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6667 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6668 | .voltage = {2700, 3600}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6669 | }, |
| 6670 | |
| 6671 | { |
| 6672 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6673 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6674 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6675 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6676 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6677 | .total_size = 256, |
| 6678 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6679 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6680 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6681 | .probe = probe_jedec, |
| 6682 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6683 | .block_erasers = |
| 6684 | { |
| 6685 | { |
| 6686 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6687 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6688 | }, { |
| 6689 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6690 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6691 | }, { |
| 6692 | .eraseblocks = { {256 * 1024, 1} }, |
| 6693 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6694 | } |
| 6695 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6696 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6697 | .unlock = unlock_sst_fwhub, |
| 6698 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6699 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6700 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6701 | }, |
| 6702 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6703 | { |
| 6704 | .vendor = "SST", |
| 6705 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6706 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6707 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6708 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6709 | .total_size = 384, |
| 6710 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6711 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 6712 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6713 | .probe = probe_jedec, |
| 6714 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6715 | .block_erasers = |
| 6716 | { |
| 6717 | { |
| 6718 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6719 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6720 | }, { |
| 6721 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6722 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6723 | }, { |
| 6724 | .eraseblocks = { {384 * 1024, 1} }, |
| 6725 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6726 | } |
| 6727 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6728 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6729 | .unlock = unlock_sst_fwhub, |
| 6730 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6731 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6732 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6733 | }, |
| 6734 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6735 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6736 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 6737 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 6738 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6739 | .vendor = "SST", |
| 6740 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6741 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6742 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6743 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6744 | .total_size = 512, |
| 6745 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6746 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6747 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6748 | .probe = probe_jedec, |
| 6749 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6750 | .block_erasers = |
| 6751 | { |
| 6752 | { |
| 6753 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6754 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6755 | }, { |
| 6756 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6757 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6758 | }, { |
| 6759 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6760 | .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] | 6761 | }, |
| 6762 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6763 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6764 | .unlock = unlock_sst_fwhub, |
| 6765 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6766 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6767 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6768 | }, |
| 6769 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6770 | { |
| 6771 | .vendor = "SST", |
| 6772 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6773 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6774 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6775 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6776 | .total_size = 512, |
| 6777 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6778 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6779 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6780 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6781 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6782 | .block_erasers = |
| 6783 | { |
| 6784 | { |
| 6785 | .eraseblocks = { {4 * 1024, 128} }, |
| 6786 | .block_erase = erase_sector_49lfxxxc, |
| 6787 | }, { |
| 6788 | .eraseblocks = { |
| 6789 | {64 * 1024, 7}, |
| 6790 | {32 * 1024, 1}, |
| 6791 | {8 * 1024, 2}, |
| 6792 | {16 * 1024, 1}, |
| 6793 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6794 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6795 | } |
| 6796 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6797 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6798 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6799 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6800 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6801 | }, |
| 6802 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6803 | { |
| 6804 | .vendor = "SST", |
| 6805 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6806 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6807 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6808 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6809 | .total_size = 1024, |
| 6810 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6811 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 6812 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6813 | .probe = probe_jedec, |
| 6814 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6815 | .block_erasers = |
| 6816 | { |
| 6817 | { |
| 6818 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6819 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6820 | }, { |
| 6821 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6822 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6823 | }, { |
| 6824 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6825 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6826 | } |
| 6827 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6828 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6829 | .unlock = unlock_sst_fwhub, |
| 6830 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6831 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6832 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6833 | }, |
| 6834 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6835 | { |
| 6836 | .vendor = "SST", |
| 6837 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6838 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6839 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6840 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6841 | .total_size = 1024, |
| 6842 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6843 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6844 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6845 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6846 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6847 | .block_erasers = |
| 6848 | { |
| 6849 | { |
| 6850 | .eraseblocks = { {4 * 1024, 256} }, |
| 6851 | .block_erase = erase_sector_49lfxxxc, |
| 6852 | }, { |
| 6853 | .eraseblocks = { |
| 6854 | {64 * 1024, 15}, |
| 6855 | {32 * 1024, 1}, |
| 6856 | {8 * 1024, 2}, |
| 6857 | {16 * 1024, 1}, |
| 6858 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6859 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6860 | } |
| 6861 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6862 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6863 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6864 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6865 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6866 | }, |
| 6867 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6868 | { |
| 6869 | .vendor = "SST", |
| 6870 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6871 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6872 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6873 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6874 | .total_size = 2048, |
| 6875 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6876 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6877 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6878 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6879 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6880 | .block_erasers = |
| 6881 | { |
| 6882 | { |
| 6883 | .eraseblocks = { {4 * 1024, 512} }, |
| 6884 | .block_erase = erase_sector_49lfxxxc, |
| 6885 | }, { |
| 6886 | .eraseblocks = { |
| 6887 | {64 * 1024, 31}, |
| 6888 | {32 * 1024, 1}, |
| 6889 | {8 * 1024, 2}, |
| 6890 | {16 * 1024, 1}, |
| 6891 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6892 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6893 | } |
| 6894 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6895 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6896 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6897 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6898 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6899 | }, |
| 6900 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6901 | { |
| 6902 | .vendor = "SST", |
| 6903 | .name = "SST49LF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6904 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6905 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6906 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6907 | .total_size = 256, |
| 6908 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6909 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6910 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6911 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6912 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6913 | .block_erasers = |
| 6914 | { |
| 6915 | { |
| 6916 | .eraseblocks = { {4 * 1024, 64} }, |
| 6917 | .block_erase = erase_sector_jedec, |
| 6918 | }, { |
| 6919 | .eraseblocks = { {16 * 1024, 16} }, |
| 6920 | .block_erase = erase_block_jedec, |
| 6921 | }, { |
| 6922 | .eraseblocks = { {256 * 1024, 1} }, |
| 6923 | .block_erase = NULL, |
| 6924 | } |
| 6925 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6926 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6927 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6928 | .voltage = {3000, 3600}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 6929 | }, |
| 6930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6931 | { |
| 6932 | .vendor = "SST", |
| 6933 | .name = "SST49LF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6934 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6935 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6936 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6937 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 6938 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6939 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6940 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6941 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6942 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6943 | .block_erasers = |
| 6944 | { |
| 6945 | { |
| 6946 | .eraseblocks = { {4 * 1024, 64} }, |
| 6947 | .block_erase = erase_sector_jedec, |
| 6948 | }, { |
| 6949 | .eraseblocks = { {16 * 1024, 16} }, |
| 6950 | .block_erase = erase_block_jedec, |
| 6951 | }, { |
| 6952 | .eraseblocks = { {256 * 1024, 1} }, |
| 6953 | .block_erase = NULL, |
| 6954 | } |
| 6955 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6956 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6957 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6958 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6959 | }, |
| 6960 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6961 | { |
| 6962 | .vendor = "SST", |
| 6963 | .name = "SST49LF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6964 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6965 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6966 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6967 | .total_size = 512, |
| 6968 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6969 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6970 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6971 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6972 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6973 | .block_erasers = |
| 6974 | { |
| 6975 | { |
| 6976 | .eraseblocks = { {4 * 1024, 128} }, |
| 6977 | .block_erase = erase_sector_jedec, |
| 6978 | }, { |
| 6979 | .eraseblocks = { {64 * 1024, 8} }, |
| 6980 | .block_erase = erase_block_jedec, |
| 6981 | }, { |
| 6982 | .eraseblocks = { {512 * 1024, 1} }, |
| 6983 | .block_erase = NULL, |
| 6984 | } |
| 6985 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6986 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6987 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6988 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6989 | }, |
| 6990 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6991 | { |
| 6992 | .vendor = "SST", |
| 6993 | .name = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6994 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6995 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6996 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6997 | .total_size = 512, |
| 6998 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6999 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7000 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7001 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7002 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7003 | .block_erasers = |
| 7004 | { |
| 7005 | { |
| 7006 | .eraseblocks = { {4 * 1024, 128} }, |
| 7007 | .block_erase = erase_sector_jedec, |
| 7008 | }, { |
| 7009 | .eraseblocks = { {64 * 1024, 8} }, |
| 7010 | .block_erase = erase_block_jedec, |
| 7011 | }, { |
| 7012 | .eraseblocks = { {512 * 1024, 1} }, |
| 7013 | .block_erase = NULL, |
| 7014 | } |
| 7015 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 7016 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7017 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7018 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7019 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7020 | }, |
| 7021 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7022 | { |
| 7023 | .vendor = "SST", |
| 7024 | .name = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7025 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7026 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7027 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7028 | .total_size = 1024, |
| 7029 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7030 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 7031 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7032 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7033 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7034 | .block_erasers = |
| 7035 | { |
| 7036 | { |
| 7037 | .eraseblocks = { {4 * 1024, 256} }, |
| 7038 | .block_erase = erase_sector_jedec, |
| 7039 | }, { |
| 7040 | .eraseblocks = { {64 * 1024, 16} }, |
| 7041 | .block_erase = erase_block_jedec, |
| 7042 | }, { |
| 7043 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7044 | .block_erase = NULL, |
| 7045 | } |
| 7046 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7047 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7048 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7049 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7050 | }, |
| 7051 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7052 | { |
| 7053 | .vendor = "SST", |
| 7054 | .name = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7055 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7056 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7057 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7058 | .total_size = 2048, |
| 7059 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7060 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7061 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7062 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7063 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7064 | .block_erasers = |
| 7065 | { |
| 7066 | { |
| 7067 | .eraseblocks = { {4 * 1024, 512} }, |
| 7068 | .block_erase = erase_sector_49lfxxxc, |
| 7069 | }, { |
| 7070 | .eraseblocks = { |
| 7071 | {64 * 1024, 31}, |
| 7072 | {32 * 1024, 1}, |
| 7073 | {8 * 1024, 2}, |
| 7074 | {16 * 1024, 1}, |
| 7075 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7076 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7077 | } |
| 7078 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7079 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7080 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7081 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7082 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7083 | }, |
| 7084 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7085 | { |
| 7086 | .vendor = "ST", |
| 7087 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7088 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7089 | .manufacture_id = ST_ID, |
| 7090 | .model_id = ST_M25P05A, |
| 7091 | .total_size = 64, |
| 7092 | .page_size = 256, |
| 7093 | .tested = TEST_UNTESTED, |
| 7094 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7095 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7096 | .block_erasers = |
| 7097 | { |
| 7098 | { |
| 7099 | .eraseblocks = { {32 * 1024, 2} }, |
| 7100 | .block_erase = spi_block_erase_d8, |
| 7101 | }, { |
| 7102 | .eraseblocks = { {64 * 1024, 1} }, |
| 7103 | .block_erase = spi_block_erase_c7, |
| 7104 | } |
| 7105 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7106 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7107 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7108 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7109 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7110 | }, |
| 7111 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7112 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 7113 | * 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] | 7114 | * 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] | 7115 | * only is successful if RDID does not work. |
| 7116 | */ |
| 7117 | { |
| 7118 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7119 | .name = "M25P05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7120 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7121 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7122 | .model_id = ST_M25P05_RES, |
| 7123 | .total_size = 64, |
| 7124 | .page_size = 256, |
| 7125 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7126 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7128 | .block_erasers = |
| 7129 | { |
| 7130 | { |
| 7131 | .eraseblocks = { {32 * 1024, 2} }, |
| 7132 | .block_erase = spi_block_erase_d8, |
| 7133 | }, { |
| 7134 | .eraseblocks = { {64 * 1024, 1} }, |
| 7135 | .block_erase = spi_block_erase_c7, |
| 7136 | } |
| 7137 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7138 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7139 | .write = spi_chip_write_1, /* 128 */ |
| 7140 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7141 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7142 | }, |
| 7143 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7144 | { |
| 7145 | .vendor = "ST", |
| 7146 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7147 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7148 | .manufacture_id = ST_ID, |
| 7149 | .model_id = ST_M25P10A, |
| 7150 | .total_size = 128, |
| 7151 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7152 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7153 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7154 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7155 | .block_erasers = |
| 7156 | { |
| 7157 | { |
| 7158 | .eraseblocks = { {32 * 1024, 4} }, |
| 7159 | .block_erase = spi_block_erase_d8, |
| 7160 | }, { |
| 7161 | .eraseblocks = { {128 * 1024, 1} }, |
| 7162 | .block_erase = spi_block_erase_c7, |
| 7163 | } |
| 7164 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7165 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7166 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7167 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7168 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7169 | }, |
| 7170 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7171 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 7172 | { |
| 7173 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7174 | .name = "M25P10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7175 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7176 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7177 | .model_id = ST_M25P10_RES, |
| 7178 | .total_size = 128, |
| 7179 | .page_size = 256, |
| 7180 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7181 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7182 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7183 | .block_erasers = |
| 7184 | { |
| 7185 | { |
| 7186 | .eraseblocks = { {32 * 1024, 4} }, |
| 7187 | .block_erase = spi_block_erase_d8, |
| 7188 | }, { |
| 7189 | .eraseblocks = { {128 * 1024, 1} }, |
| 7190 | .block_erase = spi_block_erase_c7, |
| 7191 | } |
| 7192 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7193 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7194 | .write = spi_chip_write_1, /* 128 */ |
| 7195 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7196 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7197 | }, |
| 7198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7199 | { |
| 7200 | .vendor = "ST", |
| 7201 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7202 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7203 | .manufacture_id = ST_ID, |
| 7204 | .model_id = ST_M25P20, |
| 7205 | .total_size = 256, |
| 7206 | .page_size = 256, |
| 7207 | .tested = TEST_UNTESTED, |
| 7208 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7209 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7210 | .block_erasers = |
| 7211 | { |
| 7212 | { |
| 7213 | .eraseblocks = { {64 * 1024, 4} }, |
| 7214 | .block_erase = spi_block_erase_d8, |
| 7215 | }, { |
| 7216 | .eraseblocks = { {256 * 1024, 1} }, |
| 7217 | .block_erase = spi_block_erase_c7, |
| 7218 | } |
| 7219 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7220 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7221 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7222 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7223 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7224 | }, |
| 7225 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7226 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7227 | .vendor = "ST", /* Numonyx */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7228 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7229 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7230 | .manufacture_id = ST_ID, |
| 7231 | .model_id = ST_M25P40, |
| 7232 | .total_size = 512, |
| 7233 | .page_size = 256, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 7234 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7235 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7236 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7237 | .block_erasers = |
| 7238 | { |
| 7239 | { |
| 7240 | .eraseblocks = { {64 * 1024, 8} }, |
| 7241 | .block_erase = spi_block_erase_d8, |
| 7242 | }, { |
| 7243 | .eraseblocks = { {512 * 1024, 1} }, |
| 7244 | .block_erase = spi_block_erase_c7, |
| 7245 | } |
| 7246 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7247 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7248 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7249 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7250 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7251 | }, |
| 7252 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7253 | { |
| 7254 | .vendor = "ST", |
| 7255 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7256 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7257 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7258 | .model_id = ST_M25P40_RES, |
| 7259 | .total_size = 512, |
| 7260 | .page_size = 256, |
| 7261 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7262 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7263 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7264 | .block_erasers = |
| 7265 | { |
| 7266 | { |
| 7267 | .eraseblocks = { {64 * 1024, 8} }, |
| 7268 | .block_erase = spi_block_erase_d8, |
| 7269 | }, { |
| 7270 | .eraseblocks = { {512 * 1024, 1} }, |
| 7271 | .block_erase = spi_block_erase_c7, |
| 7272 | } |
| 7273 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7274 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7275 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7276 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7277 | }, |
| 7278 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7279 | { |
| 7280 | .vendor = "ST", |
| 7281 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7282 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7283 | .manufacture_id = ST_ID, |
| 7284 | .model_id = ST_M25P80, |
| 7285 | .total_size = 1024, |
| 7286 | .page_size = 256, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 7287 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7288 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7289 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7290 | .block_erasers = |
| 7291 | { |
| 7292 | { |
| 7293 | .eraseblocks = { {64 * 1024, 16} }, |
| 7294 | .block_erase = spi_block_erase_d8, |
| 7295 | }, { |
| 7296 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7297 | .block_erase = spi_block_erase_c7, |
| 7298 | } |
| 7299 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7300 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7301 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7302 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7303 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7304 | }, |
| 7305 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7306 | { |
| 7307 | .vendor = "ST", |
| 7308 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7309 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7310 | .manufacture_id = ST_ID, |
| 7311 | .model_id = ST_M25P16, |
| 7312 | .total_size = 2048, |
| 7313 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7314 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7315 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7316 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7317 | .block_erasers = |
| 7318 | { |
| 7319 | { |
| 7320 | .eraseblocks = { {64 * 1024, 32} }, |
| 7321 | .block_erase = spi_block_erase_d8, |
| 7322 | }, { |
| 7323 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7324 | .block_erase = spi_block_erase_c7, |
| 7325 | } |
| 7326 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7327 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7328 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7329 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7330 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7331 | }, |
| 7332 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7333 | { |
| 7334 | .vendor = "ST", |
| 7335 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7336 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7337 | .manufacture_id = ST_ID, |
| 7338 | .model_id = ST_M25P32, |
| 7339 | .total_size = 4096, |
| 7340 | .page_size = 256, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7341 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7342 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7343 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7344 | .block_erasers = |
| 7345 | { |
| 7346 | { |
| 7347 | .eraseblocks = { {64 * 1024, 64} }, |
| 7348 | .block_erase = spi_block_erase_d8, |
| 7349 | }, { |
| 7350 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7351 | .block_erase = spi_block_erase_c7, |
| 7352 | } |
| 7353 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7354 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7355 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7356 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7357 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7358 | }, |
| 7359 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7360 | { |
| 7361 | .vendor = "ST", |
| 7362 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7363 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7364 | .manufacture_id = ST_ID, |
| 7365 | .model_id = ST_M25P64, |
| 7366 | .total_size = 8192, |
| 7367 | .page_size = 256, |
| 7368 | .tested = TEST_UNTESTED, |
| 7369 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7370 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7371 | .block_erasers = |
| 7372 | { |
| 7373 | { |
| 7374 | .eraseblocks = { {64 * 1024, 128} }, |
| 7375 | .block_erase = spi_block_erase_d8, |
| 7376 | }, { |
| 7377 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7378 | .block_erase = spi_block_erase_c7, |
| 7379 | } |
| 7380 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7381 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7382 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7383 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7384 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7385 | }, |
| 7386 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7387 | { |
| 7388 | .vendor = "ST", |
| 7389 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7390 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7391 | .manufacture_id = ST_ID, |
| 7392 | .model_id = ST_M25P128, |
| 7393 | .total_size = 16384, |
| 7394 | .page_size = 256, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 7395 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7396 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7397 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7398 | .block_erasers = |
| 7399 | { |
| 7400 | { |
| 7401 | .eraseblocks = { {256 * 1024, 64} }, |
| 7402 | .block_erase = spi_block_erase_d8, |
| 7403 | }, { |
| 7404 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7405 | .block_erase = spi_block_erase_c7, |
| 7406 | } |
| 7407 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7408 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7409 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7410 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7411 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7412 | }, |
| 7413 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7414 | { |
| 7415 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7416 | .name = "M25PX16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7417 | .bustype = BUS_SPI, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7418 | .manufacture_id = ST_ID, |
| 7419 | .model_id = ST_M25PX16, |
| 7420 | .total_size = 2048, |
| 7421 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 7422 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
| 7423 | .feature_bits = FEATURE_OTP, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7424 | .tested = TEST_OK_PREW, |
| 7425 | .probe = probe_spi_rdid, |
| 7426 | .probe_timing = TIMING_ZERO, |
| 7427 | .block_erasers = |
| 7428 | { |
| 7429 | { |
| 7430 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 7431 | .block_erase = spi_block_erase_20, |
| 7432 | }, { |
| 7433 | .eraseblocks = { {64 * 1024, 32} }, |
| 7434 | .block_erase = spi_block_erase_d8, |
| 7435 | }, { |
| 7436 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7437 | .block_erase = spi_block_erase_c7, |
| 7438 | } |
| 7439 | }, |
| 7440 | .unlock = spi_disable_blockprotect, |
| 7441 | .write = spi_chip_write_256, |
| 7442 | .read = spi_chip_read, |
| 7443 | }, |
| 7444 | |
| 7445 | { |
| 7446 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7447 | .name = "M25PX32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7448 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7449 | .manufacture_id = ST_ID, |
| 7450 | .model_id = ST_M25PX32, |
| 7451 | .total_size = 4096, |
| 7452 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7453 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7454 | .probe = probe_spi_rdid, |
| 7455 | .probe_timing = TIMING_ZERO, |
| 7456 | .block_erasers = |
| 7457 | { |
| 7458 | { |
| 7459 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 7460 | .block_erase = spi_block_erase_20, |
| 7461 | }, { |
| 7462 | .eraseblocks = { {64 * 1024, 64} }, |
| 7463 | .block_erase = spi_block_erase_d8, |
| 7464 | }, { |
| 7465 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7466 | .block_erase = spi_block_erase_c7, |
| 7467 | } |
| 7468 | }, |
| 7469 | .unlock = spi_disable_blockprotect, |
| 7470 | .write = spi_chip_write_256, |
| 7471 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7472 | .voltage = {2700, 3600}, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7473 | }, |
| 7474 | |
| 7475 | { |
| 7476 | .vendor = "ST", |
| 7477 | .name = "M25PX64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7478 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7479 | .manufacture_id = ST_ID, |
| 7480 | .model_id = ST_M25PX64, |
| 7481 | .total_size = 8192, |
| 7482 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7483 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7484 | .probe = probe_spi_rdid, |
| 7485 | .probe_timing = TIMING_ZERO, |
| 7486 | .block_erasers = |
| 7487 | { |
| 7488 | { |
| 7489 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 7490 | .block_erase = spi_block_erase_20, |
| 7491 | }, { |
| 7492 | .eraseblocks = { {64 * 1024, 128} }, |
| 7493 | .block_erase = spi_block_erase_d8, |
| 7494 | }, { |
| 7495 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7496 | .block_erase = spi_block_erase_c7, |
| 7497 | } |
| 7498 | }, |
| 7499 | .unlock = spi_disable_blockprotect, |
| 7500 | .write = spi_chip_write_256, |
| 7501 | .read = spi_chip_read, |
| 7502 | }, |
| 7503 | |
| 7504 | { |
| 7505 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7506 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7507 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7508 | .manufacture_id = ST_ID, |
| 7509 | .model_id = ST_M29F002B, |
| 7510 | .total_size = 256, |
| 7511 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7512 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7513 | .tested = TEST_UNTESTED, |
| 7514 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7515 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7516 | .block_erasers = |
| 7517 | { |
| 7518 | { |
| 7519 | .eraseblocks = { |
| 7520 | {16 * 1024, 1}, |
| 7521 | {8 * 1024, 2}, |
| 7522 | {32 * 1024, 1}, |
| 7523 | {64 * 1024, 3}, |
| 7524 | }, |
| 7525 | .block_erase = erase_sector_jedec, |
| 7526 | }, { |
| 7527 | .eraseblocks = { {256 * 1024, 1} }, |
| 7528 | .block_erase = erase_chip_block_jedec, |
| 7529 | } |
| 7530 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7531 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7532 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7533 | .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] | 7534 | }, |
| 7535 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7536 | { |
| 7537 | .vendor = "ST", |
| 7538 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7539 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7540 | .manufacture_id = ST_ID, |
| 7541 | .model_id = ST_M29F002T, |
| 7542 | .total_size = 256, |
| 7543 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7544 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 7545 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7546 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7547 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7548 | .block_erasers = |
| 7549 | { |
| 7550 | { |
| 7551 | .eraseblocks = { |
| 7552 | {64 * 1024, 3}, |
| 7553 | {32 * 1024, 1}, |
| 7554 | {8 * 1024, 2}, |
| 7555 | {16 * 1024, 1}, |
| 7556 | }, |
| 7557 | .block_erase = erase_sector_jedec, |
| 7558 | }, { |
| 7559 | .eraseblocks = { {256 * 1024, 1} }, |
| 7560 | .block_erase = erase_chip_block_jedec, |
| 7561 | } |
| 7562 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7563 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7564 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7565 | .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] | 7566 | }, |
| 7567 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7568 | { |
| 7569 | .vendor = "ST", |
| 7570 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7571 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7572 | .manufacture_id = ST_ID, |
| 7573 | .model_id = ST_M29F040B, |
| 7574 | .total_size = 512, |
| 7575 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7576 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7577 | .tested = TEST_UNTESTED, |
| 7578 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7579 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7580 | .block_erasers = |
| 7581 | { |
| 7582 | { |
| 7583 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7584 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7585 | }, { |
| 7586 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7587 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7588 | } |
| 7589 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7590 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7591 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7592 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7593 | }, |
| 7594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7595 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7596 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7597 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7598 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7599 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7600 | .manufacture_id = ST_ID, |
| 7601 | .model_id = ST_M29F400BB, |
| 7602 | .total_size = 512, |
| 7603 | .page_size = 64 * 1024, |
| 7604 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7605 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7606 | .probe = probe_m29f400bt, |
| 7607 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 7608 | .block_erasers = |
| 7609 | { |
| 7610 | { |
| 7611 | .eraseblocks = { |
| 7612 | {16 * 1024, 1}, |
| 7613 | {8 * 1024, 2}, |
| 7614 | {32 * 1024, 1}, |
| 7615 | {64 * 1024, 7}, |
| 7616 | }, |
| 7617 | .block_erase = block_erase_m29f400bt, |
| 7618 | }, { |
| 7619 | .eraseblocks = { {512 * 1024, 1} }, |
| 7620 | .block_erase = block_erase_chip_m29f400bt, |
| 7621 | } |
| 7622 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7623 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7624 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7625 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7626 | }, |
| 7627 | { |
| 7628 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 7629 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7630 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7631 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7632 | .manufacture_id = ST_ID, |
| 7633 | .model_id = ST_M29F400BT, |
| 7634 | .total_size = 512, |
| 7635 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7636 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7637 | .tested = TEST_UNTESTED, |
| 7638 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7639 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7640 | .block_erasers = |
| 7641 | { |
| 7642 | { |
| 7643 | .eraseblocks = { |
| 7644 | {64 * 1024, 7}, |
| 7645 | {32 * 1024, 1}, |
| 7646 | {8 * 1024, 2}, |
| 7647 | {16 * 1024, 1}, |
| 7648 | }, |
| 7649 | .block_erase = block_erase_m29f400bt, |
| 7650 | }, { |
| 7651 | .eraseblocks = { {512 * 1024, 1} }, |
| 7652 | .block_erase = block_erase_chip_m29f400bt, |
| 7653 | } |
| 7654 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7655 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7656 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7657 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7658 | }, |
| 7659 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7660 | { |
| 7661 | .vendor = "ST", |
| 7662 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7663 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7664 | .manufacture_id = ST_ID, |
| 7665 | .model_id = ST_M29W010B, |
| 7666 | .total_size = 128, |
| 7667 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7668 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7669 | .tested = TEST_UNTESTED, |
| 7670 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7671 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7672 | .block_erasers = |
| 7673 | { |
| 7674 | { |
| 7675 | .eraseblocks = { {16 * 1024, 8}, }, |
| 7676 | .block_erase = erase_sector_jedec, |
| 7677 | }, { |
| 7678 | .eraseblocks = { {128 * 1024, 1} }, |
| 7679 | .block_erase = erase_chip_block_jedec, |
| 7680 | } |
| 7681 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7682 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7683 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7684 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7685 | }, |
| 7686 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7687 | { |
| 7688 | .vendor = "ST", |
| 7689 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7690 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7691 | .manufacture_id = ST_ID, |
| 7692 | .model_id = ST_M29W040B, |
| 7693 | .total_size = 512, |
| 7694 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7695 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7696 | .tested = TEST_UNTESTED, |
| 7697 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7698 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7699 | .block_erasers = |
| 7700 | { |
| 7701 | { |
| 7702 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7703 | .block_erase = erase_sector_jedec, |
| 7704 | }, { |
| 7705 | .eraseblocks = { {512 * 1024, 1} }, |
| 7706 | .block_erase = erase_chip_block_jedec, |
| 7707 | } |
| 7708 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7709 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7710 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7711 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7712 | }, |
| 7713 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7714 | { |
| 7715 | .vendor = "ST", |
| 7716 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7717 | .bustype = BUS_PARALLEL, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7718 | .manufacture_id = ST_ID, |
| 7719 | .model_id = ST_M29W512B, |
| 7720 | .total_size = 64, |
| 7721 | .page_size = 64 * 1024, |
| 7722 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7723 | .tested = TEST_OK_PRE, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7724 | .probe = probe_jedec, |
| 7725 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7726 | .block_erasers = |
| 7727 | { |
| 7728 | { |
| 7729 | .eraseblocks = { {64 * 1024, 1} }, |
| 7730 | .block_erase = erase_chip_block_jedec, |
| 7731 | } |
| 7732 | }, |
| 7733 | .write = write_jedec_1, |
| 7734 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7735 | .voltage = {2700, 3600}, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7736 | }, |
| 7737 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7738 | { |
| 7739 | .vendor = "ST", |
| 7740 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7741 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7742 | .manufacture_id = ST_ID, |
| 7743 | .model_id = ST_M50FLW040A, |
| 7744 | .total_size = 512, |
| 7745 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7746 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7747 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7748 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7749 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7750 | .block_erasers = |
| 7751 | { |
| 7752 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7753 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7754 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7755 | {64 * 1024, 5}, /* block */ |
| 7756 | {4 * 1024, 16}, /* sector */ |
| 7757 | {4 * 1024, 16}, /* sector */ |
| 7758 | }, |
| 7759 | .block_erase = NULL, |
| 7760 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7761 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7762 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7763 | } |
| 7764 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7765 | .unlock = unlock_stm50flw0x0x, |
| 7766 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7767 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7768 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7769 | }, |
| 7770 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7771 | { |
| 7772 | .vendor = "ST", |
| 7773 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7774 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7775 | .manufacture_id = ST_ID, |
| 7776 | .model_id = ST_M50FLW040B, |
| 7777 | .total_size = 512, |
| 7778 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7779 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7780 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7781 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7782 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7783 | .block_erasers = |
| 7784 | { |
| 7785 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7786 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7787 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7788 | {4 * 1024, 16}, /* sector */ |
| 7789 | {64 * 1024, 5}, /* block */ |
| 7790 | {4 * 1024, 16}, /* sector */ |
| 7791 | }, |
| 7792 | .block_erase = NULL, |
| 7793 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7794 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7795 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7796 | } |
| 7797 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7798 | .unlock = unlock_stm50flw0x0x, |
| 7799 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7800 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7801 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7802 | }, |
| 7803 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7804 | { |
| 7805 | .vendor = "ST", |
| 7806 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7807 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7808 | .manufacture_id = ST_ID, |
| 7809 | .model_id = ST_M50FLW080A, |
| 7810 | .total_size = 1024, |
| 7811 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7812 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7813 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7814 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7815 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7816 | .block_erasers = |
| 7817 | { |
| 7818 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7819 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7820 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7821 | {64 * 1024, 13}, /* block */ |
| 7822 | {4 * 1024, 16}, /* sector */ |
| 7823 | {4 * 1024, 16}, /* sector */ |
| 7824 | }, |
| 7825 | .block_erase = NULL, |
| 7826 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7827 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7828 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7829 | } |
| 7830 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7831 | .unlock = unlock_stm50flw0x0x, |
| 7832 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7833 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7834 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7835 | }, |
| 7836 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7837 | { |
| 7838 | .vendor = "ST", |
| 7839 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7840 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7841 | .manufacture_id = ST_ID, |
| 7842 | .model_id = ST_M50FLW080B, |
| 7843 | .total_size = 1024, |
| 7844 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7845 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7846 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7847 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7848 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7849 | .block_erasers = |
| 7850 | { |
| 7851 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7852 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7853 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7854 | {4 * 1024, 16}, /* sector */ |
| 7855 | {64 * 1024, 13}, /* block */ |
| 7856 | {4 * 1024, 16}, /* sector */ |
| 7857 | }, |
| 7858 | .block_erase = NULL, |
| 7859 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7860 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7861 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7862 | } |
| 7863 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7864 | .unlock = unlock_stm50flw0x0x, |
| 7865 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7866 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7867 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7868 | }, |
| 7869 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7870 | { |
| 7871 | .vendor = "ST", |
| 7872 | .name = "M50FW002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7873 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7874 | .manufacture_id = ST_ID, |
| 7875 | .model_id = ST_M50FW002, |
| 7876 | .total_size = 256, |
| 7877 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7878 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7879 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7880 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7881 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7882 | .block_erasers = |
| 7883 | { |
| 7884 | { |
| 7885 | .eraseblocks = { |
| 7886 | {64 * 1024, 3}, |
| 7887 | {32 * 1024, 1}, |
| 7888 | {8 * 1024, 2}, |
| 7889 | {16 * 1024, 1}, |
| 7890 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7891 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7892 | } |
| 7893 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7894 | .unlock = unlock_stm50flw0x0x, |
| 7895 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7896 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7897 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7898 | }, |
| 7899 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7900 | { |
| 7901 | .vendor = "ST", |
| 7902 | .name = "M50FW016", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7903 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7904 | .manufacture_id = ST_ID, |
| 7905 | .model_id = ST_M50FW016, |
| 7906 | .total_size = 2048, |
| 7907 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7908 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7909 | .tested = TEST_UNTESTED, |
| 7910 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7911 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7912 | .block_erasers = |
| 7913 | { |
| 7914 | { |
| 7915 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7916 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7917 | } |
| 7918 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7919 | .unlock = unlock_stm50flw0x0x, |
| 7920 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7921 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7922 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7923 | }, |
| 7924 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7925 | { |
| 7926 | .vendor = "ST", |
| 7927 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7928 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7929 | .manufacture_id = ST_ID, |
| 7930 | .model_id = ST_M50FW040, |
| 7931 | .total_size = 512, |
| 7932 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7933 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7934 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7935 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7936 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7937 | .block_erasers = |
| 7938 | { |
| 7939 | { |
| 7940 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7941 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7942 | } |
| 7943 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7944 | .unlock = unlock_stm50flw0x0x, |
| 7945 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7946 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7947 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7948 | }, |
| 7949 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7950 | { |
| 7951 | .vendor = "ST", |
| 7952 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7953 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7954 | .manufacture_id = ST_ID, |
| 7955 | .model_id = ST_M50FW080, |
| 7956 | .total_size = 1024, |
| 7957 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7958 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7959 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7960 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7961 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7962 | .block_erasers = |
| 7963 | { |
| 7964 | { |
| 7965 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7966 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7967 | } |
| 7968 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7969 | .unlock = unlock_stm50flw0x0x, |
| 7970 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7971 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7972 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7973 | }, |
| 7974 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7975 | { |
| 7976 | .vendor = "ST", |
| 7977 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7978 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7979 | .manufacture_id = ST_ID, |
| 7980 | .model_id = ST_M50LPW116, |
| 7981 | .total_size = 2048, |
| 7982 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7983 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7984 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7985 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7986 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7987 | .block_erasers = |
| 7988 | { |
| 7989 | { |
| 7990 | .eraseblocks = { |
| 7991 | {4 * 1024, 16}, |
| 7992 | {64 * 1024, 30}, |
| 7993 | {32 * 1024, 1}, |
| 7994 | {8 * 1024, 2}, |
| 7995 | {16 * 1024, 1}, |
| 7996 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7997 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7998 | } |
| 7999 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 8000 | .unlock = unlock_stm50flw0x0x, |
| 8001 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8002 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8003 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8004 | }, |
| 8005 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8006 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8007 | .vendor = "SyncMOS/MoselVitelic", |
| 8008 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8009 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8010 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8011 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8012 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8013 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8014 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8015 | .tested = TEST_UNTESTED, |
| 8016 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8017 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8018 | .block_erasers = |
| 8019 | { |
| 8020 | { |
| 8021 | .eraseblocks = { {512, 256} }, |
| 8022 | .block_erase = erase_sector_jedec, |
| 8023 | }, { |
| 8024 | .eraseblocks = { {128 * 1024, 1} }, |
| 8025 | .block_erase = erase_chip_block_jedec, |
| 8026 | }, |
| 8027 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8028 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8029 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8030 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8031 | }, |
| 8032 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8033 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8034 | .vendor = "SyncMOS/MoselVitelic", |
| 8035 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8036 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8037 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8038 | .model_id = SM_MVC_29C51001T, |
| 8039 | .total_size = 128, |
| 8040 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8041 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8042 | .tested = TEST_UNTESTED, |
| 8043 | .probe = probe_jedec, |
| 8044 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8045 | .block_erasers = |
| 8046 | { |
| 8047 | { |
| 8048 | .eraseblocks = { {512, 256} }, |
| 8049 | .block_erase = erase_sector_jedec, |
| 8050 | }, { |
| 8051 | .eraseblocks = { {128 * 1024, 1} }, |
| 8052 | .block_erase = erase_chip_block_jedec, |
| 8053 | }, |
| 8054 | }, |
| 8055 | .write = write_jedec_1, |
| 8056 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8057 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8058 | }, |
| 8059 | |
| 8060 | { |
| 8061 | .vendor = "SyncMOS/MoselVitelic", |
| 8062 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8063 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8064 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8065 | .model_id = SM_MVC_29C51002B, |
| 8066 | .total_size = 256, |
| 8067 | .page_size = 512, |
| 8068 | .feature_bits = FEATURE_EITHER_RESET, |
| 8069 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8070 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8071 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8072 | .block_erasers = |
| 8073 | { |
| 8074 | { |
| 8075 | .eraseblocks = { {512, 512} }, |
| 8076 | .block_erase = erase_sector_jedec, |
| 8077 | }, { |
| 8078 | .eraseblocks = { {256 * 1024, 1} }, |
| 8079 | .block_erase = erase_chip_block_jedec, |
| 8080 | }, |
| 8081 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8082 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8083 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8084 | }, |
| 8085 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8086 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8087 | .vendor = "SyncMOS/MoselVitelic", |
| 8088 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8089 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8090 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8091 | .model_id = SM_MVC_29C51002T, |
| 8092 | .total_size = 256, |
| 8093 | .page_size = 512, |
| 8094 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8095 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8096 | .probe = probe_jedec, |
| 8097 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8098 | .block_erasers = |
| 8099 | { |
| 8100 | { |
| 8101 | .eraseblocks = { {512, 512} }, |
| 8102 | .block_erase = erase_sector_jedec, |
| 8103 | }, { |
| 8104 | .eraseblocks = { {256 * 1024, 1} }, |
| 8105 | .block_erase = erase_chip_block_jedec, |
| 8106 | }, |
| 8107 | }, |
| 8108 | .write = write_jedec_1, |
| 8109 | .read = read_memmapped, |
| 8110 | }, |
| 8111 | |
| 8112 | { |
| 8113 | .vendor = "SyncMOS/MoselVitelic", |
| 8114 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8115 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8116 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8117 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8118 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8119 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8120 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8121 | .tested = TEST_UNTESTED, |
| 8122 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8123 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8124 | .block_erasers = |
| 8125 | { |
| 8126 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8127 | .eraseblocks = { {1024, 512} }, |
| 8128 | .block_erase = erase_sector_jedec, |
| 8129 | }, { |
| 8130 | .eraseblocks = { {512 * 1024, 1} }, |
| 8131 | .block_erase = erase_chip_block_jedec, |
| 8132 | }, |
| 8133 | }, |
| 8134 | .write = write_jedec_1, |
| 8135 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8136 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8137 | }, |
| 8138 | |
| 8139 | { |
| 8140 | .vendor = "SyncMOS/MoselVitelic", |
| 8141 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8142 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8143 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8144 | .model_id = SM_MVC_29C51004T, |
| 8145 | .total_size = 512, |
| 8146 | .page_size = 1024, |
| 8147 | .feature_bits = FEATURE_EITHER_RESET, |
| 8148 | .tested = TEST_UNTESTED, |
| 8149 | .probe = probe_jedec, |
| 8150 | .probe_timing = TIMING_ZERO, |
| 8151 | .block_erasers = |
| 8152 | { |
| 8153 | { |
| 8154 | .eraseblocks = { {1024, 512} }, |
| 8155 | .block_erase = erase_sector_jedec, |
| 8156 | }, { |
| 8157 | .eraseblocks = { {512 * 1024, 1} }, |
| 8158 | .block_erase = erase_chip_block_jedec, |
| 8159 | }, |
| 8160 | }, |
| 8161 | .write = write_jedec_1, |
| 8162 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8163 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8164 | }, |
| 8165 | |
| 8166 | { |
| 8167 | .vendor = "SyncMOS/MoselVitelic", |
| 8168 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8169 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8170 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8171 | .model_id = SM_MVC_29C31004B, |
| 8172 | .total_size = 512, |
| 8173 | .page_size = 1024, |
| 8174 | .feature_bits = FEATURE_EITHER_RESET, |
| 8175 | .tested = TEST_UNTESTED, |
| 8176 | .probe = probe_jedec, |
| 8177 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8178 | .block_erasers = |
| 8179 | { |
| 8180 | { |
| 8181 | .eraseblocks = { {1024, 512} }, |
| 8182 | .block_erase = erase_sector_jedec, |
| 8183 | }, { |
| 8184 | .eraseblocks = { {512 * 1024, 1} }, |
| 8185 | .block_erase = erase_chip_block_jedec, |
| 8186 | }, |
| 8187 | }, |
| 8188 | .write = write_jedec_1, |
| 8189 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8190 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8191 | }, |
| 8192 | |
| 8193 | { |
| 8194 | .vendor = "SyncMOS/MoselVitelic", |
| 8195 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8196 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8197 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8198 | .model_id = SM_MVC_29C31004T, |
| 8199 | .total_size = 512, |
| 8200 | .page_size = 1024, |
| 8201 | .feature_bits = FEATURE_EITHER_RESET, |
| 8202 | .tested = TEST_UNTESTED, |
| 8203 | .probe = probe_jedec, |
| 8204 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8205 | .block_erasers = |
| 8206 | { |
| 8207 | { |
| 8208 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8209 | .block_erase = erase_sector_jedec, |
| 8210 | }, { |
| 8211 | .eraseblocks = { {512 * 1024, 1} }, |
| 8212 | .block_erase = erase_chip_block_jedec, |
| 8213 | }, |
| 8214 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8215 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8216 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8217 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8218 | }, |
| 8219 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8220 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 8221 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8222 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8223 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8224 | .manufacture_id = TI_OLD_ID, |
| 8225 | .model_id = TI_TMS29F002RB, |
| 8226 | .total_size = 256, |
| 8227 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8228 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8229 | .tested = TEST_UNTESTED, |
| 8230 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8231 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8232 | .block_erasers = |
| 8233 | { |
| 8234 | { |
| 8235 | .eraseblocks = { |
| 8236 | {16 * 1024, 1}, |
| 8237 | {8 * 1024, 2}, |
| 8238 | {32 * 1024, 1}, |
| 8239 | {64 * 1024, 3}, |
| 8240 | }, |
| 8241 | .block_erase = erase_sector_jedec, |
| 8242 | }, { |
| 8243 | .eraseblocks = { {256 * 1024, 1} }, |
| 8244 | .block_erase = erase_chip_block_jedec, |
| 8245 | }, |
| 8246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8248 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8249 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8250 | }, |
| 8251 | |
| 8252 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 8253 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8254 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8255 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8256 | .manufacture_id = TI_OLD_ID, |
| 8257 | .model_id = TI_TMS29F002RT, |
| 8258 | .total_size = 256, |
| 8259 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8260 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8261 | .tested = TEST_UNTESTED, |
| 8262 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8263 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8264 | .block_erasers = |
| 8265 | { |
| 8266 | { |
| 8267 | .eraseblocks = { |
| 8268 | {64 * 1024, 3}, |
| 8269 | {32 * 1024, 1}, |
| 8270 | {8 * 1024, 2}, |
| 8271 | {16 * 1024, 1}, |
| 8272 | }, |
| 8273 | .block_erase = erase_sector_jedec, |
| 8274 | }, { |
| 8275 | .eraseblocks = { {256 * 1024, 1} }, |
| 8276 | .block_erase = erase_chip_block_jedec, |
| 8277 | }, |
| 8278 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8279 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8280 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8281 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8282 | }, |
| 8283 | |
| 8284 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8285 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8286 | .name = "W25Q80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8287 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8288 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8289 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8290 | .total_size = 1024, |
| 8291 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8292 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8293 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8294 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8295 | .probe = probe_spi_rdid, |
| 8296 | .probe_timing = TIMING_ZERO, |
| 8297 | .block_erasers = |
| 8298 | { |
| 8299 | { |
| 8300 | .eraseblocks = { {4 * 1024, 256} }, |
| 8301 | .block_erase = spi_block_erase_20, |
| 8302 | }, { |
| 8303 | .eraseblocks = { {32 * 1024, 32} }, |
| 8304 | .block_erase = spi_block_erase_52, |
| 8305 | }, { |
| 8306 | .eraseblocks = { {64 * 1024, 16} }, |
| 8307 | .block_erase = spi_block_erase_d8, |
| 8308 | }, { |
| 8309 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8310 | .block_erase = spi_block_erase_60, |
| 8311 | }, { |
| 8312 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8313 | .block_erase = spi_block_erase_c7, |
| 8314 | } |
| 8315 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8316 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8317 | .write = spi_chip_write_256, |
| 8318 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8319 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8320 | }, |
| 8321 | |
| 8322 | { |
| 8323 | .vendor = "Winbond", |
| 8324 | .name = "W25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8325 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8326 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8327 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8328 | .total_size = 2048, |
| 8329 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8330 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8331 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8332 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8333 | .probe = probe_spi_rdid, |
| 8334 | .probe_timing = TIMING_ZERO, |
| 8335 | .block_erasers = |
| 8336 | { |
| 8337 | { |
| 8338 | .eraseblocks = { {4 * 1024, 512} }, |
| 8339 | .block_erase = spi_block_erase_20, |
| 8340 | }, { |
| 8341 | .eraseblocks = { {32 * 1024, 64} }, |
| 8342 | .block_erase = spi_block_erase_52, |
| 8343 | }, { |
| 8344 | .eraseblocks = { {64 * 1024, 32} }, |
| 8345 | .block_erase = spi_block_erase_d8, |
| 8346 | }, { |
| 8347 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8348 | .block_erase = spi_block_erase_60, |
| 8349 | }, { |
| 8350 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8351 | .block_erase = spi_block_erase_c7, |
| 8352 | } |
| 8353 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8354 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8355 | .write = spi_chip_write_256, |
| 8356 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8357 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8358 | }, |
| 8359 | |
| 8360 | { |
| 8361 | .vendor = "Winbond", |
| 8362 | .name = "W25Q32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8363 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8364 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8365 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8366 | .total_size = 4096, |
| 8367 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8368 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8369 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8370 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8371 | .probe = probe_spi_rdid, |
| 8372 | .probe_timing = TIMING_ZERO, |
| 8373 | .block_erasers = |
| 8374 | { |
| 8375 | { |
| 8376 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8377 | .block_erase = spi_block_erase_20, |
| 8378 | }, { |
| 8379 | .eraseblocks = { {32 * 1024, 128} }, |
| 8380 | .block_erase = spi_block_erase_52, |
| 8381 | }, { |
| 8382 | .eraseblocks = { {64 * 1024, 64} }, |
| 8383 | .block_erase = spi_block_erase_d8, |
| 8384 | }, { |
| 8385 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8386 | .block_erase = spi_block_erase_60, |
| 8387 | }, { |
| 8388 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8389 | .block_erase = spi_block_erase_c7, |
| 8390 | } |
| 8391 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8392 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8393 | .write = spi_chip_write_256, |
| 8394 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8395 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8396 | }, |
| 8397 | |
| 8398 | { |
| 8399 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8400 | .name = "W25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8401 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8402 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8403 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8404 | .total_size = 8192, |
| 8405 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8406 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8407 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8408 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8409 | .probe = probe_spi_rdid, |
| 8410 | .probe_timing = TIMING_ZERO, |
| 8411 | .block_erasers = |
| 8412 | { |
| 8413 | { |
| 8414 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8415 | .block_erase = spi_block_erase_20, |
| 8416 | }, { |
| 8417 | .eraseblocks = { {32 * 1024, 256} }, |
| 8418 | .block_erase = spi_block_erase_52, |
| 8419 | }, { |
| 8420 | .eraseblocks = { {64 * 1024, 128} }, |
| 8421 | .block_erase = spi_block_erase_d8, |
| 8422 | }, { |
| 8423 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8424 | .block_erase = spi_block_erase_60, |
| 8425 | }, { |
| 8426 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8427 | .block_erase = spi_block_erase_c7, |
| 8428 | } |
| 8429 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8430 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8431 | .write = spi_chip_write_256, |
| 8432 | .read = spi_chip_read, |
| 8433 | }, |
| 8434 | |
| 8435 | { |
| 8436 | .vendor = "Winbond", |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8437 | .name = "W25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8438 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8439 | .manufacture_id = WINBOND_NEX_ID, |
| 8440 | .model_id = WINBOND_NEX_W25Q128, |
| 8441 | .total_size = 16384, |
| 8442 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8443 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8444 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8445 | .tested = TEST_OK_PROBE, |
| 8446 | .probe = probe_spi_rdid, |
| 8447 | .probe_timing = TIMING_ZERO, |
| 8448 | .block_erasers = |
| 8449 | { |
| 8450 | { |
| 8451 | .eraseblocks = { {4 * 1024, 4096} }, |
| 8452 | .block_erase = spi_block_erase_20, |
| 8453 | }, { |
| 8454 | .eraseblocks = { {32 * 1024, 512} }, |
| 8455 | .block_erase = spi_block_erase_52, |
| 8456 | }, { |
| 8457 | .eraseblocks = { {64 * 1024, 256} }, |
| 8458 | .block_erase = spi_block_erase_d8, |
| 8459 | }, { |
| 8460 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8461 | .block_erase = spi_block_erase_60, |
| 8462 | }, { |
| 8463 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8464 | .block_erase = spi_block_erase_c7, |
| 8465 | } |
| 8466 | }, |
| 8467 | .unlock = spi_disable_blockprotect, |
| 8468 | .write = spi_chip_write_256, |
| 8469 | .read = spi_chip_read, |
| 8470 | }, |
| 8471 | |
| 8472 | { |
| 8473 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8474 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8475 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8476 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8477 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8478 | .total_size = 128, |
| 8479 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8480 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8481 | .tested = TEST_UNTESTED, |
| 8482 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8483 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8484 | .block_erasers = |
| 8485 | { |
| 8486 | { |
| 8487 | .eraseblocks = { {4 * 1024, 32} }, |
| 8488 | .block_erase = spi_block_erase_20, |
| 8489 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8490 | .eraseblocks = { {64 * 1024, 2} }, |
| 8491 | .block_erase = spi_block_erase_d8, |
| 8492 | }, { |
| 8493 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8494 | .block_erase = spi_block_erase_c7, |
| 8495 | } |
| 8496 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8497 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8498 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8499 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8500 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8501 | }, |
| 8502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8503 | { |
| 8504 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8505 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8506 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8507 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8508 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8509 | .total_size = 256, |
| 8510 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8511 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8512 | .tested = TEST_UNTESTED, |
| 8513 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8514 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8515 | .block_erasers = |
| 8516 | { |
| 8517 | { |
| 8518 | .eraseblocks = { {4 * 1024, 64} }, |
| 8519 | .block_erase = spi_block_erase_20, |
| 8520 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8521 | .eraseblocks = { {64 * 1024, 4} }, |
| 8522 | .block_erase = spi_block_erase_d8, |
| 8523 | }, { |
| 8524 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8525 | .block_erase = spi_block_erase_c7, |
| 8526 | } |
| 8527 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8528 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8529 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8530 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8531 | .voltage = {2700, 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 = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8536 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8537 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8538 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8539 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8540 | .total_size = 512, |
| 8541 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8542 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8543 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8544 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8545 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8546 | .block_erasers = |
| 8547 | { |
| 8548 | { |
| 8549 | .eraseblocks = { {4 * 1024, 128} }, |
| 8550 | .block_erase = spi_block_erase_20, |
| 8551 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8552 | .eraseblocks = { {64 * 1024, 8} }, |
| 8553 | .block_erase = spi_block_erase_d8, |
| 8554 | }, { |
| 8555 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8556 | .block_erase = spi_block_erase_c7, |
| 8557 | } |
| 8558 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8559 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8560 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8561 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8562 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8563 | }, |
| 8564 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8565 | { |
| 8566 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8567 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8568 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8569 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8570 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8571 | .total_size = 1024, |
| 8572 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8573 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 8574 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8575 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8576 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8577 | .block_erasers = |
| 8578 | { |
| 8579 | { |
| 8580 | .eraseblocks = { {4 * 1024, 256} }, |
| 8581 | .block_erase = spi_block_erase_20, |
| 8582 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8583 | .eraseblocks = { {64 * 1024, 16} }, |
| 8584 | .block_erase = spi_block_erase_d8, |
| 8585 | }, { |
| 8586 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8587 | .block_erase = spi_block_erase_c7, |
| 8588 | } |
| 8589 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8590 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8591 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8592 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8593 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8594 | }, |
| 8595 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8596 | { |
| 8597 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8598 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8599 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8600 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8601 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8602 | .total_size = 2048, |
| 8603 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8604 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 8605 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8606 | .probe = probe_spi_rdid, |
| 8607 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8608 | .block_erasers = |
| 8609 | { |
| 8610 | { |
| 8611 | .eraseblocks = { {4 * 1024, 512} }, |
| 8612 | .block_erase = spi_block_erase_20, |
| 8613 | }, { |
| 8614 | .eraseblocks = { {32 * 1024, 64} }, |
| 8615 | .block_erase = spi_block_erase_52, |
| 8616 | }, { |
| 8617 | .eraseblocks = { {64 * 1024, 32} }, |
| 8618 | .block_erase = spi_block_erase_d8, |
| 8619 | }, { |
| 8620 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8621 | .block_erase = spi_block_erase_60, |
| 8622 | }, { |
| 8623 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8624 | .block_erase = spi_block_erase_c7, |
| 8625 | } |
| 8626 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8627 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8628 | .write = spi_chip_write_256, |
| 8629 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8630 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8631 | }, |
| 8632 | |
| 8633 | { |
| 8634 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8635 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8636 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8637 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8638 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8639 | .total_size = 4096, |
| 8640 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8641 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8642 | .tested = TEST_OK_PROBE, |
| 8643 | .probe = probe_spi_rdid, |
| 8644 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8645 | .block_erasers = |
| 8646 | { |
| 8647 | { |
| 8648 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8649 | .block_erase = spi_block_erase_20, |
| 8650 | }, { |
| 8651 | .eraseblocks = { {32 * 1024, 128} }, |
| 8652 | .block_erase = spi_block_erase_52, |
| 8653 | }, { |
| 8654 | .eraseblocks = { {64 * 1024, 64} }, |
| 8655 | .block_erase = spi_block_erase_d8, |
| 8656 | }, { |
| 8657 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8658 | .block_erase = spi_block_erase_60, |
| 8659 | }, { |
| 8660 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8661 | .block_erase = spi_block_erase_c7, |
| 8662 | } |
| 8663 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8664 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8665 | .write = spi_chip_write_256, |
| 8666 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8667 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8668 | }, |
| 8669 | |
| 8670 | { |
| 8671 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8672 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8673 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8674 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8675 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8676 | .total_size = 8192, |
| 8677 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8678 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8679 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8680 | .probe = probe_spi_rdid, |
| 8681 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8682 | .block_erasers = |
| 8683 | { |
| 8684 | { |
| 8685 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8686 | .block_erase = spi_block_erase_20, |
| 8687 | }, { |
| 8688 | .eraseblocks = { {32 * 1024, 256} }, |
| 8689 | .block_erase = spi_block_erase_52, |
| 8690 | }, { |
| 8691 | .eraseblocks = { {64 * 1024, 128} }, |
| 8692 | .block_erase = spi_block_erase_d8, |
| 8693 | }, { |
| 8694 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8695 | .block_erase = spi_block_erase_60, |
| 8696 | }, { |
| 8697 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8698 | .block_erase = spi_block_erase_c7, |
| 8699 | } |
| 8700 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8701 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8702 | .write = spi_chip_write_256, |
| 8703 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8704 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8705 | }, |
| 8706 | |
| 8707 | { |
| 8708 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8709 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8710 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8711 | .manufacture_id = WINBOND_ID, |
| 8712 | .model_id = WINBOND_W29C010, |
| 8713 | .total_size = 128, |
| 8714 | .page_size = 128, |
| 8715 | .feature_bits = FEATURE_LONG_RESET, |
| 8716 | .tested = TEST_OK_PRE, |
| 8717 | .probe = probe_w29ee011, |
| 8718 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 8719 | .block_erasers = |
| 8720 | { |
| 8721 | { |
| 8722 | .eraseblocks = { {128 * 1024, 1} }, |
| 8723 | .block_erase = erase_chip_block_jedec, |
| 8724 | } |
| 8725 | }, |
| 8726 | .write = write_jedec, |
| 8727 | .read = read_memmapped, |
| 8728 | }, |
| 8729 | |
| 8730 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 8731 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8732 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8733 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8734 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8735 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8736 | .total_size = 128, |
| 8737 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8738 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8739 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8740 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8741 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8742 | .block_erasers = |
| 8743 | { |
| 8744 | { |
| 8745 | .eraseblocks = { {128 * 1024, 1} }, |
| 8746 | .block_erase = erase_chip_block_jedec, |
| 8747 | } |
| 8748 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8749 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8750 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8751 | }, |
| 8752 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8753 | { |
| 8754 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8755 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8756 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8757 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8758 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8759 | .total_size = 256, |
| 8760 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8761 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8762 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8763 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8764 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8765 | .block_erasers = |
| 8766 | { |
| 8767 | { |
| 8768 | .eraseblocks = { {256 * 1024, 1} }, |
| 8769 | .block_erase = erase_chip_block_jedec, |
| 8770 | } |
| 8771 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8772 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8773 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8774 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8775 | }, |
| 8776 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8777 | { |
| 8778 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8779 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8780 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8781 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8782 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8783 | .total_size = 512, |
| 8784 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8785 | .feature_bits = FEATURE_LONG_RESET, |
| 8786 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8787 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8788 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8789 | .block_erasers = |
| 8790 | { |
| 8791 | { |
| 8792 | .eraseblocks = { {512 * 1024, 1} }, |
| 8793 | .block_erase = erase_chip_block_jedec, |
| 8794 | } |
| 8795 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8796 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8797 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8798 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8799 | }, |
| 8800 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8801 | { |
| 8802 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8803 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8804 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8805 | .manufacture_id = WINBOND_ID, |
| 8806 | .model_id = WINBOND_W39L040, |
| 8807 | .total_size = 512, |
| 8808 | .page_size = 64 * 1024, |
| 8809 | .feature_bits = FEATURE_EITHER_RESET, |
| 8810 | .tested = TEST_OK_PR, |
| 8811 | .probe = probe_jedec, |
| 8812 | .probe_timing = 10, |
| 8813 | .block_erasers = |
| 8814 | { |
| 8815 | { |
| 8816 | .eraseblocks = { {4 * 1024, 128} }, |
| 8817 | .block_erase = erase_block_jedec, |
| 8818 | }, { |
| 8819 | .eraseblocks = { {64 * 1024, 8} }, |
| 8820 | .block_erase = erase_sector_jedec, |
| 8821 | }, { |
| 8822 | .eraseblocks = { {512 * 1024, 1} }, |
| 8823 | .block_erase = erase_chip_block_jedec, |
| 8824 | } |
| 8825 | }, |
| 8826 | .printlock = printlock_w39l040, |
| 8827 | .write = write_jedec_1, |
| 8828 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8829 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8830 | }, |
| 8831 | |
| 8832 | { |
| 8833 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8834 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8835 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8836 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8837 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8838 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8839 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8840 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8841 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8842 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8843 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8844 | .block_erasers = |
| 8845 | { |
| 8846 | { |
| 8847 | .eraseblocks = { {64 * 1024, 8} }, |
| 8848 | .block_erase = erase_sector_jedec, |
| 8849 | }, { |
| 8850 | .eraseblocks = { {512 * 1024, 1} }, |
| 8851 | .block_erase = erase_chip_block_jedec, |
| 8852 | } |
| 8853 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8854 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8855 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8856 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8857 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8858 | }, |
| 8859 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8860 | { |
| 8861 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8862 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8863 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8864 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8865 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8866 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8867 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8868 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8869 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8870 | .probe = probe_jedec, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8871 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8872 | .block_erasers = |
| 8873 | { |
| 8874 | { |
| 8875 | .eraseblocks = { {64 * 1024, 8} }, |
| 8876 | .block_erase = erase_sector_jedec, |
| 8877 | }, { |
| 8878 | .eraseblocks = { {512 * 1024, 1} }, |
| 8879 | .block_erase = erase_chip_block_jedec, |
| 8880 | } |
| 8881 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8882 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8883 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8884 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8885 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8886 | }, |
| 8887 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8888 | { |
| 8889 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8890 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8891 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8892 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8893 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8894 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8895 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8896 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8897 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8898 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8899 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8900 | .block_erasers = |
| 8901 | { |
| 8902 | { |
| 8903 | .eraseblocks = { {64 * 1024, 8} }, |
| 8904 | .block_erase = erase_sector_jedec, |
| 8905 | }, { |
| 8906 | .eraseblocks = { {512 * 1024, 1} }, |
| 8907 | .block_erase = erase_chip_block_jedec, |
| 8908 | } |
| 8909 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 8910 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8911 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8912 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8913 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8914 | }, |
| 8915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8916 | { |
| 8917 | .vendor = "Winbond", |
| 8918 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8919 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8920 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8921 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8922 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8923 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8924 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8925 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8926 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8927 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8928 | .block_erasers = |
| 8929 | { |
| 8930 | { |
| 8931 | .eraseblocks = { {4 * 1024, 128} }, |
| 8932 | .block_erase = erase_block_jedec, |
| 8933 | }, { |
| 8934 | .eraseblocks = { {64 * 1024, 8} }, |
| 8935 | .block_erase = erase_sector_jedec, |
| 8936 | }, { |
| 8937 | .eraseblocks = { {512 * 1024, 1} }, |
| 8938 | .block_erase = erase_chip_block_jedec, |
| 8939 | } |
| 8940 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8941 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8942 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8943 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8944 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8945 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8946 | }, |
| 8947 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8948 | { |
| 8949 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8950 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8951 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8952 | .manufacture_id = WINBOND_ID, |
| 8953 | .model_id = WINBOND_W39V040B, |
| 8954 | .total_size = 512, |
| 8955 | .page_size = 64 * 1024, |
| 8956 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8957 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8958 | .probe = probe_jedec, |
| 8959 | .probe_timing = 10, |
| 8960 | .block_erasers = |
| 8961 | { |
| 8962 | { |
| 8963 | .eraseblocks = { {64 * 1024, 8} }, |
| 8964 | .block_erase = erase_sector_jedec, |
| 8965 | }, { |
| 8966 | .eraseblocks = { {512 * 1024, 1} }, |
| 8967 | .block_erase = erase_chip_block_jedec, |
| 8968 | } |
| 8969 | }, |
| 8970 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 8971 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8972 | .write = write_jedec_1, |
| 8973 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8974 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8975 | }, |
| 8976 | |
| 8977 | { |
| 8978 | .vendor = "Winbond", |
| 8979 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8980 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8981 | .manufacture_id = WINBOND_ID, |
| 8982 | .model_id = WINBOND_W39V040C, |
| 8983 | .total_size = 512, |
| 8984 | .page_size = 64 * 1024, |
| 8985 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 8986 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8987 | .probe = probe_jedec, |
| 8988 | .probe_timing = 10, |
| 8989 | .block_erasers = |
| 8990 | { |
| 8991 | { |
| 8992 | .eraseblocks = { {64 * 1024, 8} }, |
| 8993 | .block_erase = erase_sector_jedec, |
| 8994 | }, { |
| 8995 | .eraseblocks = { {512 * 1024, 1} }, |
| 8996 | .block_erase = erase_chip_block_jedec, |
| 8997 | } |
| 8998 | }, |
| 8999 | .printlock = printlock_w39v040fc, |
| 9000 | .write = write_jedec_1, |
| 9001 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9002 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9003 | }, |
| 9004 | |
| 9005 | { |
| 9006 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9007 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9008 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9009 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9010 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9011 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9012 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9013 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 9014 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9015 | .probe = probe_jedec, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 9016 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9017 | .block_erasers = |
| 9018 | { |
| 9019 | { |
| 9020 | .eraseblocks = { {64 * 1024, 16} }, |
| 9021 | .block_erase = erase_sector_jedec, |
| 9022 | }, { |
| 9023 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9024 | .block_erase = erase_chip_block_jedec, |
| 9025 | } |
| 9026 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9027 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9028 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9029 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9030 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9031 | }, |
| 9032 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9033 | { |
| 9034 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9035 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9036 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9037 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9038 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9039 | .total_size = 256, |
| 9040 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9041 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9042 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9043 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9044 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9045 | .block_erasers = |
| 9046 | { |
| 9047 | { |
| 9048 | .eraseblocks = { |
| 9049 | {128 * 1024, 1}, |
| 9050 | {96 * 1024, 1}, |
| 9051 | {8 * 1024, 2}, |
| 9052 | {16 * 1024, 1}, |
| 9053 | }, |
| 9054 | .block_erase = erase_sector_jedec, |
| 9055 | }, { |
| 9056 | .eraseblocks = { {256 * 1024, 1} }, |
| 9057 | .block_erase = erase_chip_block_jedec, |
| 9058 | } |
| 9059 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9060 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9061 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9062 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9063 | }, |
| 9064 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9065 | { |
| 9066 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9067 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9068 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9069 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9070 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9071 | .total_size = 256, |
| 9072 | .page_size = 128, |
| 9073 | .feature_bits = FEATURE_EITHER_RESET, |
| 9074 | .tested = TEST_OK_PROBE, |
| 9075 | .probe = probe_jedec, |
| 9076 | .probe_timing = 10, |
| 9077 | .block_erasers = |
| 9078 | { |
| 9079 | { |
| 9080 | .eraseblocks = { {256 * 1024, 1} }, |
| 9081 | .block_erase = erase_chip_block_jedec, |
| 9082 | } |
| 9083 | }, |
| 9084 | .write = write_jedec_1, |
| 9085 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9086 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9087 | }, |
| 9088 | |
| 9089 | { |
| 9090 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9091 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9092 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9093 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9094 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9095 | .total_size = 256, |
| 9096 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9097 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9098 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9099 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9100 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9101 | .block_erasers = |
| 9102 | { |
| 9103 | { |
| 9104 | .eraseblocks = { |
| 9105 | {64 * 1024, 3}, |
| 9106 | {32 * 1024, 1}, |
| 9107 | {8 * 1024, 2}, |
| 9108 | {16 * 1024, 1}, |
| 9109 | }, |
| 9110 | .block_erase = erase_sector_jedec, |
| 9111 | }, { |
| 9112 | .eraseblocks = { {256 * 1024, 1} }, |
| 9113 | .block_erase = erase_chip_block_jedec, |
| 9114 | } |
| 9115 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9116 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9117 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9118 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9119 | }, |
| 9120 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9121 | { |
| 9122 | .vendor = "Winbond", |
| 9123 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9124 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9125 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9126 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9127 | .total_size = 256, |
| 9128 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9129 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9130 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9131 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9132 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9133 | .block_erasers = |
| 9134 | { |
| 9135 | { |
| 9136 | .eraseblocks = { |
| 9137 | {64 * 1024, 3}, |
| 9138 | {32 * 1024, 1}, |
| 9139 | {8 * 1024, 2}, |
| 9140 | {16 * 1024, 1}, |
| 9141 | }, |
| 9142 | .block_erase = erase_sector_jedec, |
| 9143 | }, { |
| 9144 | .eraseblocks = { {256 * 1024, 1} }, |
| 9145 | .block_erase = erase_chip_block_jedec, |
| 9146 | } |
| 9147 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9148 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9149 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9150 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9151 | }, |
| 9152 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9153 | { |
| 9154 | .vendor = "Winbond", |
| 9155 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9156 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9157 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9158 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9159 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9160 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9161 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9162 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9163 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9164 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9165 | .block_erasers = |
| 9166 | { |
| 9167 | { |
| 9168 | .eraseblocks = { {64 * 1024, 16}, }, |
| 9169 | .block_erase = erase_sector_jedec, |
| 9170 | }, { |
| 9171 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9172 | .block_erase = erase_chip_block_jedec, |
| 9173 | } |
| 9174 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9175 | .printlock = printlock_w39v080fa, |
| 9176 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9177 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9178 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9179 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9180 | }, |
| 9181 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9182 | { |
| 9183 | .vendor = "Winbond", |
| 9184 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9185 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9186 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9187 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9188 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9189 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9190 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9191 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9192 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9193 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9194 | .block_erasers = |
| 9195 | { |
| 9196 | { |
| 9197 | .eraseblocks = { {64 * 1024, 8}, }, |
| 9198 | .block_erase = erase_sector_jedec, |
| 9199 | }, { |
| 9200 | .eraseblocks = { {512 * 1024, 1} }, |
| 9201 | .block_erase = erase_chip_block_jedec, |
| 9202 | } |
| 9203 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9204 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9205 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9206 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9207 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9208 | }, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 9209 | |
| 9210 | { |
| 9211 | .vendor = "Unknown", |
| 9212 | .name = "SFDP-capable chip", |
| 9213 | .bustype = BUS_SPI, |
| 9214 | .manufacture_id = GENERIC_MANUF_ID, |
| 9215 | .model_id = SFDP_DEVICE_ID, |
| 9216 | /* We present our own "report this" text hence we do not |
| 9217 | * want the default "This flash part has status UNTESTED..." |
| 9218 | * text to be printed. */ |
| 9219 | .tested = TEST_OK_PREW, |
| 9220 | .probe = probe_spi_sfdp, |
| 9221 | .unlock = spi_disable_blockprotect, /* is this safe? */ |
| 9222 | .read = spi_chip_read, |
| 9223 | /* FIXME: some vendor extensions define this */ |
| 9224 | .voltage = {}, |
| 9225 | /* Everything below will be set by the probing function. */ |
| 9226 | .write = NULL, |
| 9227 | .total_size = 0, |
| 9228 | .page_size = 0, |
| 9229 | .feature_bits = 0, |
| 9230 | .block_erasers = {}, |
| 9231 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9232 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9233 | { |
Carl-Daniel Hailfinger | 532c717 | 2011-11-04 21:35:26 +0000 | [diff] [blame] | 9234 | .vendor = "Programmer", |
| 9235 | .name = "Opaque flash chip", |
| 9236 | .bustype = BUS_PROG, |
| 9237 | .manufacture_id = PROGMANUF_ID, |
| 9238 | .model_id = PROGDEV_ID, |
| 9239 | .total_size = 0, |
| 9240 | .page_size = 256, |
| 9241 | /* probe is assumed to work, rest will be filled in by probe */ |
| 9242 | .tested = TEST_OK_PROBE, |
| 9243 | .probe = probe_opaque, |
| 9244 | /* eraseblock sizes will be set by the probing function */ |
| 9245 | .block_erasers = |
| 9246 | { |
| 9247 | { |
| 9248 | .block_erase = erase_opaque, |
| 9249 | } |
| 9250 | }, |
| 9251 | .write = write_opaque, |
| 9252 | .read = read_opaque, |
| 9253 | }, |
| 9254 | |
| 9255 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 9256 | .vendor = "AMIC", |
| 9257 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9258 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 9259 | .manufacture_id = AMIC_ID, |
| 9260 | .model_id = GENERIC_DEVICE_ID, |
| 9261 | .total_size = 0, |
| 9262 | .page_size = 256, |
| 9263 | .tested = TEST_BAD_PREW, |
| 9264 | .probe = probe_spi_rdid4, |
| 9265 | .probe_timing = TIMING_ZERO, |
| 9266 | .write = NULL, |
| 9267 | .read = NULL, |
| 9268 | }, |
| 9269 | |
| 9270 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9271 | .vendor = "Atmel", |
| 9272 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9273 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9274 | .manufacture_id = ATMEL_ID, |
| 9275 | .model_id = GENERIC_DEVICE_ID, |
| 9276 | .total_size = 0, |
| 9277 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9278 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9279 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9280 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9281 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9282 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9283 | }, |
| 9284 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9285 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 9286 | .vendor = "Eon", |
| 9287 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9288 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9289 | .manufacture_id = EON_ID_NOPREFIX, |
| 9290 | .model_id = GENERIC_DEVICE_ID, |
| 9291 | .total_size = 0, |
| 9292 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9293 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9294 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9295 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9296 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9297 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9298 | }, |
| 9299 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9300 | { |
| 9301 | .vendor = "Macronix", |
| 9302 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9303 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9304 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9305 | .model_id = GENERIC_DEVICE_ID, |
| 9306 | .total_size = 0, |
| 9307 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9308 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9309 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9310 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9311 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9312 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9313 | }, |
| 9314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9315 | { |
| 9316 | .vendor = "PMC", |
| 9317 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9318 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9319 | .manufacture_id = PMC_ID, |
| 9320 | .model_id = GENERIC_DEVICE_ID, |
| 9321 | .total_size = 0, |
| 9322 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9323 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9324 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9325 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9326 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9327 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9328 | }, |
| 9329 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9330 | { |
| 9331 | .vendor = "SST", |
| 9332 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9333 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9334 | .manufacture_id = SST_ID, |
| 9335 | .model_id = GENERIC_DEVICE_ID, |
| 9336 | .total_size = 0, |
| 9337 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9338 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9339 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9340 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9341 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9342 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9343 | }, |
| 9344 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9345 | { |
| 9346 | .vendor = "ST", |
| 9347 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9348 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9349 | .manufacture_id = ST_ID, |
| 9350 | .model_id = GENERIC_DEVICE_ID, |
| 9351 | .total_size = 0, |
| 9352 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9353 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9354 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9355 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9356 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9357 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9358 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 9359 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9360 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9361 | .vendor = "Sanyo", |
| 9362 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9363 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9364 | .manufacture_id = SANYO_ID, |
| 9365 | .model_id = GENERIC_DEVICE_ID, |
| 9366 | .total_size = 0, |
| 9367 | .page_size = 256, |
| 9368 | .tested = TEST_BAD_PREW, |
| 9369 | .probe = probe_spi_rdid, |
| 9370 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9371 | .write = NULL, |
| 9372 | .read = NULL, |
| 9373 | }, |
| 9374 | |
| 9375 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9376 | .vendor = "Generic", |
| 9377 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9378 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9379 | .manufacture_id = GENERIC_MANUF_ID, |
| 9380 | .model_id = GENERIC_DEVICE_ID, |
| 9381 | .total_size = 0, |
| 9382 | .page_size = 256, |
| 9383 | .tested = TEST_BAD_PREW, |
| 9384 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9385 | .write = NULL, |
| 9386 | }, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 9387 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9388 | { |
| 9389 | .vendor = "Generic", |
| 9390 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9391 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9392 | .manufacture_id = GENERIC_MANUF_ID, |
| 9393 | .model_id = GENERIC_DEVICE_ID, |
| 9394 | .total_size = 0, |
| 9395 | .page_size = 256, |
| 9396 | .tested = TEST_BAD_PREW, |
| 9397 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9398 | .write = NULL, |
| 9399 | }, |
| 9400 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9401 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 9402 | }; |