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 | { |
| 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 | { |
| 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 | { |
| 3583 | .vendor = "Fujitsu", |
| 3584 | .name = "MBM29F004BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3585 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3586 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3587 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3588 | .total_size = 512, |
| 3589 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3590 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3591 | .tested = TEST_UNTESTED, |
| 3592 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3593 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3594 | .block_erasers = |
| 3595 | { |
| 3596 | { |
| 3597 | .eraseblocks = { |
| 3598 | {16 * 1024, 1}, |
| 3599 | {8 * 1024, 2}, |
| 3600 | {32 * 1024, 1}, |
| 3601 | {64 * 1024, 7}, |
| 3602 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3603 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3604 | }, { |
| 3605 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3606 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3607 | }, |
| 3608 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3609 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3610 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3611 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3612 | }, |
| 3613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3614 | { |
| 3615 | .vendor = "Fujitsu", |
| 3616 | .name = "MBM29F004TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3617 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3618 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3619 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3620 | .total_size = 512, |
| 3621 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3622 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3623 | .tested = TEST_UNTESTED, |
| 3624 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3625 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3626 | .block_erasers = |
| 3627 | { |
| 3628 | { |
| 3629 | .eraseblocks = { |
| 3630 | {64 * 1024, 7}, |
| 3631 | {32 * 1024, 1}, |
| 3632 | {8 * 1024, 2}, |
| 3633 | {16 * 1024, 1}, |
| 3634 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3635 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3636 | }, { |
| 3637 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3638 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3639 | }, |
| 3640 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3641 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3642 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 3643 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3644 | }, |
| 3645 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3646 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3647 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3648 | .vendor = "Fujitsu", |
| 3649 | .name = "MBM29F400BC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3650 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3651 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3652 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3653 | .total_size = 512, |
| 3654 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3655 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3656 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3657 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3658 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3659 | .block_erasers = |
| 3660 | { |
| 3661 | { |
| 3662 | .eraseblocks = { |
| 3663 | {16 * 1024, 1}, |
| 3664 | {8 * 1024, 2}, |
| 3665 | {32 * 1024, 1}, |
| 3666 | {64 * 1024, 7}, |
| 3667 | }, |
| 3668 | .block_erase = block_erase_m29f400bt, |
| 3669 | }, { |
| 3670 | .eraseblocks = { {512 * 1024, 1} }, |
| 3671 | .block_erase = block_erase_chip_m29f400bt, |
| 3672 | }, |
| 3673 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3674 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3675 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3676 | .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] | 3677 | }, |
| 3678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3679 | { |
| 3680 | .vendor = "Fujitsu", |
| 3681 | .name = "MBM29F400TC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3682 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3683 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3684 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3685 | .total_size = 512, |
| 3686 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3687 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3688 | .tested = TEST_UNTESTED, |
| 3689 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 3690 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3691 | .block_erasers = |
| 3692 | { |
| 3693 | { |
| 3694 | .eraseblocks = { |
| 3695 | {64 * 1024, 7}, |
| 3696 | {32 * 1024, 1}, |
| 3697 | {8 * 1024, 2}, |
| 3698 | {16 * 1024, 1}, |
| 3699 | }, |
| 3700 | .block_erase = block_erase_m29f400bt, |
| 3701 | }, { |
| 3702 | .eraseblocks = { {512 * 1024, 1} }, |
| 3703 | .block_erase = block_erase_chip_m29f400bt, |
| 3704 | }, |
| 3705 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3706 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3707 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 3708 | .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] | 3709 | }, |
| 3710 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3711 | { |
Justin Chevrier | 1525b2a | 2012-04-14 21:59:23 +0000 | [diff] [blame^] | 3712 | .vendor = "GigaDevice", |
| 3713 | .name = "GD25Q20", |
| 3714 | .bustype = BUS_SPI, |
| 3715 | .manufacture_id = GIGADEVICE_ID, |
| 3716 | .model_id = GIGADEVICE_GD25Q20, |
| 3717 | .total_size = 256, |
| 3718 | .page_size = 256, |
| 3719 | .feature_bits = FEATURE_WRSR_WREN, |
| 3720 | .tested = TEST_UNTESTED, |
| 3721 | .probe = probe_spi_rdid, |
| 3722 | .probe_timing = TIMING_ZERO, |
| 3723 | .block_erasers = |
| 3724 | { |
| 3725 | { |
| 3726 | .eraseblocks = { {4 * 1024, 64} }, |
| 3727 | .block_erase = spi_block_erase_20, |
| 3728 | }, { |
| 3729 | .eraseblocks = { {32 * 1024, 8} }, |
| 3730 | .block_erase = spi_block_erase_52, |
| 3731 | }, { |
| 3732 | .eraseblocks = { {64 * 1024, 4} }, |
| 3733 | .block_erase = spi_block_erase_d8, |
| 3734 | }, { |
| 3735 | .eraseblocks = { {256 * 1024, 1} }, |
| 3736 | .block_erase = spi_block_erase_60, |
| 3737 | }, { |
| 3738 | .eraseblocks = { {256 * 1024, 1} }, |
| 3739 | .block_erase = spi_block_erase_c7, |
| 3740 | } |
| 3741 | }, |
| 3742 | .unlock = spi_disable_blockprotect, |
| 3743 | .write = spi_chip_write_256, |
| 3744 | .read = spi_chip_read, |
| 3745 | .voltage = {2700, 3600}, |
| 3746 | }, |
| 3747 | |
| 3748 | { |
| 3749 | .vendor = "GigaDevice", |
| 3750 | .name = "GD25Q40", |
| 3751 | .bustype = BUS_SPI, |
| 3752 | .manufacture_id = GIGADEVICE_ID, |
| 3753 | .model_id = GIGADEVICE_GD25Q40, |
| 3754 | .total_size = 512, |
| 3755 | .page_size = 256, |
| 3756 | .feature_bits = FEATURE_WRSR_WREN, |
| 3757 | .tested = TEST_UNTESTED, |
| 3758 | .probe = probe_spi_rdid, |
| 3759 | .probe_timing = TIMING_ZERO, |
| 3760 | .block_erasers = |
| 3761 | { |
| 3762 | { |
| 3763 | .eraseblocks = { {4 * 1024, 128} }, |
| 3764 | .block_erase = spi_block_erase_20, |
| 3765 | }, { |
| 3766 | .eraseblocks = { {32 * 1024, 16} }, |
| 3767 | .block_erase = spi_block_erase_52, |
| 3768 | }, { |
| 3769 | .eraseblocks = { {64 * 1024, 8} }, |
| 3770 | .block_erase = spi_block_erase_d8, |
| 3771 | }, { |
| 3772 | .eraseblocks = { {512 * 1024, 1} }, |
| 3773 | .block_erase = spi_block_erase_60, |
| 3774 | }, { |
| 3775 | .eraseblocks = { {512 * 1024, 1} }, |
| 3776 | .block_erase = spi_block_erase_c7, |
| 3777 | } |
| 3778 | }, |
| 3779 | .unlock = spi_disable_blockprotect, |
| 3780 | .write = spi_chip_write_256, |
| 3781 | .read = spi_chip_read, |
| 3782 | .voltage = {2700, 3600}, |
| 3783 | }, |
| 3784 | |
| 3785 | { |
| 3786 | .vendor = "GigaDevice", |
| 3787 | .name = "GD25Q80", |
| 3788 | .bustype = BUS_SPI, |
| 3789 | .manufacture_id = GIGADEVICE_ID, |
| 3790 | .model_id = GIGADEVICE_GD25Q80, |
| 3791 | .total_size = 1024, |
| 3792 | .page_size = 256, |
| 3793 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3794 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3795 | .tested = TEST_OK_PREW, |
| 3796 | .probe = probe_spi_rdid, |
| 3797 | .probe_timing = TIMING_ZERO, |
| 3798 | .block_erasers = |
| 3799 | { |
| 3800 | { |
| 3801 | .eraseblocks = { {4 * 1024, 256} }, |
| 3802 | .block_erase = spi_block_erase_20, |
| 3803 | }, { |
| 3804 | .eraseblocks = { {32 * 1024, 32} }, |
| 3805 | .block_erase = spi_block_erase_52, |
| 3806 | }, { |
| 3807 | .eraseblocks = { {64 * 1024, 16} }, |
| 3808 | .block_erase = spi_block_erase_d8, |
| 3809 | }, { |
| 3810 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3811 | .block_erase = spi_block_erase_60, |
| 3812 | }, { |
| 3813 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3814 | .block_erase = spi_block_erase_c7, |
| 3815 | } |
| 3816 | }, |
| 3817 | .unlock = spi_disable_blockprotect, |
| 3818 | .write = spi_chip_write_256, |
| 3819 | .read = spi_chip_read, |
| 3820 | .voltage = {2700, 3600}, |
| 3821 | }, |
| 3822 | |
| 3823 | { |
| 3824 | .vendor = "GigaDevice", |
| 3825 | .name = "GD25Q16", |
| 3826 | .bustype = BUS_SPI, |
| 3827 | .manufacture_id = GIGADEVICE_ID, |
| 3828 | .model_id = GIGADEVICE_GD25Q16, |
| 3829 | .total_size = 2048, |
| 3830 | .page_size = 256, |
| 3831 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3832 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3833 | .tested = TEST_UNTESTED, |
| 3834 | .probe = probe_spi_rdid, |
| 3835 | .probe_timing = TIMING_ZERO, |
| 3836 | .block_erasers = |
| 3837 | { |
| 3838 | { |
| 3839 | .eraseblocks = { {4 * 1024, 512} }, |
| 3840 | .block_erase = spi_block_erase_20, |
| 3841 | }, { |
| 3842 | .eraseblocks = { {32 * 1024, 64} }, |
| 3843 | .block_erase = spi_block_erase_52, |
| 3844 | }, { |
| 3845 | .eraseblocks = { {64 * 1024, 32} }, |
| 3846 | .block_erase = spi_block_erase_d8, |
| 3847 | }, { |
| 3848 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3849 | .block_erase = spi_block_erase_60, |
| 3850 | }, { |
| 3851 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3852 | .block_erase = spi_block_erase_c7, |
| 3853 | } |
| 3854 | }, |
| 3855 | .unlock = spi_disable_blockprotect, |
| 3856 | .write = spi_chip_write_256, |
| 3857 | .read = spi_chip_read, |
| 3858 | .voltage = {2700, 3600}, |
| 3859 | }, |
| 3860 | |
| 3861 | { |
| 3862 | .vendor = "GigaDevice", |
| 3863 | .name = "GD25Q32", |
| 3864 | .bustype = BUS_SPI, |
| 3865 | .manufacture_id = GIGADEVICE_ID, |
| 3866 | .model_id = GIGADEVICE_GD25Q32, |
| 3867 | .total_size = 4096, |
| 3868 | .page_size = 256, |
| 3869 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3870 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3871 | .tested = TEST_UNTESTED, |
| 3872 | .probe = probe_spi_rdid, |
| 3873 | .probe_timing = TIMING_ZERO, |
| 3874 | .block_erasers = |
| 3875 | { |
| 3876 | { |
| 3877 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3878 | .block_erase = spi_block_erase_20, |
| 3879 | }, { |
| 3880 | .eraseblocks = { {32 * 1024, 128} }, |
| 3881 | .block_erase = spi_block_erase_52, |
| 3882 | }, { |
| 3883 | .eraseblocks = { {64 * 1024, 64} }, |
| 3884 | .block_erase = spi_block_erase_d8, |
| 3885 | }, { |
| 3886 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3887 | .block_erase = spi_block_erase_60, |
| 3888 | }, { |
| 3889 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3890 | .block_erase = spi_block_erase_c7, |
| 3891 | } |
| 3892 | }, |
| 3893 | .unlock = spi_disable_blockprotect, |
| 3894 | .write = spi_chip_write_256, |
| 3895 | .read = spi_chip_read, |
| 3896 | .voltage = {2700, 3600}, |
| 3897 | }, |
| 3898 | |
| 3899 | { |
| 3900 | .vendor = "GigaDevice", |
| 3901 | .name = "GD25Q64", |
| 3902 | .bustype = BUS_SPI, |
| 3903 | .manufacture_id = GIGADEVICE_ID, |
| 3904 | .model_id = GIGADEVICE_GD25Q64, |
| 3905 | .total_size = 8192, |
| 3906 | .page_size = 256, |
| 3907 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3908 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3909 | .tested = TEST_UNTESTED, |
| 3910 | .probe = probe_spi_rdid, |
| 3911 | .probe_timing = TIMING_ZERO, |
| 3912 | .block_erasers = |
| 3913 | { |
| 3914 | { |
| 3915 | .eraseblocks = { {4 * 1024, 2048} }, |
| 3916 | .block_erase = spi_block_erase_20, |
| 3917 | }, { |
| 3918 | .eraseblocks = { {32 * 1024, 256} }, |
| 3919 | .block_erase = spi_block_erase_52, |
| 3920 | }, { |
| 3921 | .eraseblocks = { {64 * 1024, 128} }, |
| 3922 | .block_erase = spi_block_erase_d8, |
| 3923 | }, { |
| 3924 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3925 | .block_erase = spi_block_erase_60, |
| 3926 | }, { |
| 3927 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3928 | .block_erase = spi_block_erase_c7, |
| 3929 | } |
| 3930 | }, |
| 3931 | .unlock = spi_disable_blockprotect, |
| 3932 | .write = spi_chip_write_256, |
| 3933 | .read = spi_chip_read, |
| 3934 | }, |
| 3935 | |
| 3936 | { |
| 3937 | .vendor = "GigaDevice", |
| 3938 | .name = "GD25Q128", |
| 3939 | .bustype = BUS_SPI, |
| 3940 | .manufacture_id = GIGADEVICE_ID, |
| 3941 | .model_id = GIGADEVICE_GD25Q128, |
| 3942 | .total_size = 16384, |
| 3943 | .page_size = 256, |
| 3944 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 3945 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
| 3946 | .tested = TEST_UNTESTED, |
| 3947 | .probe = probe_spi_rdid, |
| 3948 | .probe_timing = TIMING_ZERO, |
| 3949 | .block_erasers = |
| 3950 | { |
| 3951 | { |
| 3952 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3953 | .block_erase = spi_block_erase_20, |
| 3954 | }, { |
| 3955 | .eraseblocks = { {32 * 1024, 512} }, |
| 3956 | .block_erase = spi_block_erase_52, |
| 3957 | }, { |
| 3958 | .eraseblocks = { {64 * 1024, 256} }, |
| 3959 | .block_erase = spi_block_erase_d8, |
| 3960 | }, { |
| 3961 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3962 | .block_erase = spi_block_erase_60, |
| 3963 | }, { |
| 3964 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3965 | .block_erase = spi_block_erase_c7, |
| 3966 | } |
| 3967 | }, |
| 3968 | .unlock = spi_disable_blockprotect, |
| 3969 | .write = spi_chip_write_256, |
| 3970 | .read = spi_chip_read, |
| 3971 | }, |
| 3972 | |
| 3973 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3974 | .vendor = "Hyundai", |
| 3975 | .name = "HY29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 3976 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3977 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3978 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3979 | .total_size = 256, |
| 3980 | .page_size = 256 * 1024, |
| 3981 | .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] | 3982 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3983 | .probe = probe_jedec, |
| 3984 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3985 | .block_erasers = |
| 3986 | { |
| 3987 | { |
| 3988 | .eraseblocks = { |
| 3989 | {64 * 1024, 3}, |
| 3990 | {32 * 1024, 1}, |
| 3991 | {8 * 1024, 2}, |
| 3992 | {16 * 1024, 1}, |
| 3993 | }, |
| 3994 | .block_erase = erase_sector_jedec, |
| 3995 | }, { |
| 3996 | .eraseblocks = { {256 * 1024, 1} }, |
| 3997 | .block_erase = erase_chip_block_jedec, |
| 3998 | }, |
| 3999 | }, |
| 4000 | .write = write_jedec_1, |
| 4001 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4002 | .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] | 4003 | }, |
| 4004 | |
| 4005 | { |
| 4006 | .vendor = "Hyundai", |
| 4007 | .name = "HY29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4008 | .bustype = BUS_PARALLEL, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4009 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4010 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 4011 | .total_size = 256, |
| 4012 | .page_size = 256 * 1024, |
| 4013 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 4014 | .tested = TEST_UNTESTED, |
| 4015 | .probe = probe_jedec, |
| 4016 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4017 | .block_erasers = |
| 4018 | { |
| 4019 | { |
| 4020 | .eraseblocks = { |
| 4021 | {16 * 1024, 1}, |
| 4022 | {8 * 1024, 2}, |
| 4023 | {32 * 1024, 1}, |
| 4024 | {64 * 1024, 3}, |
| 4025 | }, |
| 4026 | .block_erase = erase_sector_jedec, |
| 4027 | }, { |
| 4028 | .eraseblocks = { {256 * 1024, 1} }, |
| 4029 | .block_erase = erase_chip_block_jedec, |
| 4030 | }, |
| 4031 | }, |
| 4032 | .write = write_jedec_1, |
| 4033 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4034 | .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] | 4035 | }, |
| 4036 | |
| 4037 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4038 | .vendor = "Hyundai", |
| 4039 | .name = "HY29F040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4040 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4041 | .manufacture_id = HYUNDAI_ID, |
| 4042 | .model_id = HYUNDAI_HY29F040A, |
| 4043 | .total_size = 512, |
| 4044 | .page_size = 64 * 1024, |
| 4045 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4046 | .tested = TEST_UNTESTED, |
| 4047 | .probe = probe_jedec, |
| 4048 | .probe_timing = TIMING_ZERO, |
| 4049 | .block_erasers = |
| 4050 | { |
| 4051 | { |
| 4052 | .eraseblocks = { {64 * 1024, 8} }, |
| 4053 | .block_erase = erase_sector_jedec, |
| 4054 | }, { |
| 4055 | .eraseblocks = { {512 * 1024, 1} }, |
| 4056 | .block_erase = erase_chip_block_jedec, |
| 4057 | }, |
| 4058 | }, |
| 4059 | .write = write_jedec_1, |
| 4060 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4061 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4062 | }, |
| 4063 | |
| 4064 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4065 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4066 | .name = "28F001BN/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4067 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4068 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4069 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4070 | .total_size = 128, |
| 4071 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4072 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4073 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4074 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4075 | .block_erasers = |
| 4076 | { |
| 4077 | { |
| 4078 | .eraseblocks = { |
| 4079 | {8 * 1024, 1}, |
| 4080 | {4 * 1024, 2}, |
| 4081 | {112 * 1024, 1}, |
| 4082 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4083 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4084 | }, |
| 4085 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4086 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4087 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4088 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4089 | }, |
| 4090 | |
| 4091 | { |
| 4092 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4093 | .name = "28F001BN/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4094 | .bustype = BUS_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4095 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4096 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4097 | .total_size = 128, |
| 4098 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4099 | .tested = TEST_OK_PR, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4100 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4101 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4102 | .block_erasers = |
| 4103 | { |
| 4104 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4105 | .eraseblocks = { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4106 | {112 * 1024, 1}, |
| 4107 | {4 * 1024, 2}, |
| 4108 | {8 * 1024, 1}, |
| 4109 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4110 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4111 | }, |
| 4112 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4113 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4114 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4115 | .voltage = {4500, 5500}, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 4116 | }, |
| 4117 | |
| 4118 | { |
| 4119 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4120 | .name = "28F002BC/BL/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4121 | .bustype = BUS_PARALLEL, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4122 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4123 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4124 | .total_size = 256, |
| 4125 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4126 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 4127 | .probe = probe_82802ab, |
| 4128 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4129 | .block_erasers = |
| 4130 | { |
| 4131 | { |
| 4132 | .eraseblocks = { |
| 4133 | {128 * 1024, 1}, |
| 4134 | {96 * 1024, 1}, |
| 4135 | {8 * 1024, 2}, |
| 4136 | {16 * 1024, 1}, |
| 4137 | }, |
| 4138 | .block_erase = erase_block_82802ab, |
| 4139 | }, |
| 4140 | }, |
| 4141 | .write = write_82802ab, |
| 4142 | .read = read_memmapped, |
| 4143 | }, |
| 4144 | |
| 4145 | { |
| 4146 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4147 | .name = "28F008S3/S5/SC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4148 | .bustype = BUS_PARALLEL, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4149 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4150 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4151 | .total_size = 512, |
| 4152 | .page_size = 256, |
| 4153 | .tested = TEST_UNTESTED, |
| 4154 | .probe = probe_82802ab, |
| 4155 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4156 | .block_erasers = |
| 4157 | { |
| 4158 | { |
| 4159 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4160 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4161 | }, |
| 4162 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 4163 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 4164 | .write = write_82802ab, |
| 4165 | .read = read_memmapped, |
| 4166 | }, |
| 4167 | |
| 4168 | { |
| 4169 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4170 | .name = "28F004B5/BE/BV/BX-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4171 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4172 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4173 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4174 | .total_size = 512, |
| 4175 | .page_size = 128 * 1024, /* maximal block size */ |
| 4176 | .tested = TEST_UNTESTED, |
| 4177 | .probe = probe_82802ab, |
| 4178 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4179 | .block_erasers = |
| 4180 | { |
| 4181 | { |
| 4182 | .eraseblocks = { |
| 4183 | {16 * 1024, 1}, |
| 4184 | {8 * 1024, 2}, |
| 4185 | {96 * 1024, 1}, |
| 4186 | {128 * 1024, 3}, |
| 4187 | }, |
| 4188 | .block_erase = erase_block_82802ab, |
| 4189 | }, |
| 4190 | }, |
| 4191 | .write = write_82802ab, |
| 4192 | .read = read_memmapped, |
| 4193 | }, |
| 4194 | |
| 4195 | { |
| 4196 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4197 | .name = "28F004B5/BE/BV/BX-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4198 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4199 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4200 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4201 | .total_size = 512, |
| 4202 | .page_size = 128 * 1024, /* maximal block size */ |
| 4203 | .tested = TEST_UNTESTED, |
| 4204 | .probe = probe_82802ab, |
| 4205 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4206 | .block_erasers = |
| 4207 | { |
| 4208 | { |
| 4209 | .eraseblocks = { |
| 4210 | {128 * 1024, 3}, |
| 4211 | {96 * 1024, 1}, |
| 4212 | {8 * 1024, 2}, |
| 4213 | {16 * 1024, 1}, |
| 4214 | }, |
| 4215 | .block_erase = erase_block_82802ab, |
| 4216 | }, |
| 4217 | }, |
| 4218 | .write = write_82802ab, |
| 4219 | .read = read_memmapped, |
| 4220 | }, |
| 4221 | |
| 4222 | { |
| 4223 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4224 | .name = "28F400BV/BX/CE/CV-B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4225 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4226 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4227 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4228 | .total_size = 512, |
| 4229 | .page_size = 128 * 1024, /* maximal block size */ |
| 4230 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 4231 | .tested = TEST_UNTESTED, |
| 4232 | .probe = probe_82802ab, |
| 4233 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4234 | .block_erasers = |
| 4235 | { |
| 4236 | { |
| 4237 | .eraseblocks = { |
| 4238 | {16 * 1024, 1}, |
| 4239 | {8 * 1024, 2}, |
| 4240 | {96 * 1024, 1}, |
| 4241 | {128 * 1024, 3}, |
| 4242 | }, |
| 4243 | .block_erase = erase_block_82802ab, |
| 4244 | }, |
| 4245 | }, |
| 4246 | .write = write_82802ab, |
| 4247 | .read = read_memmapped, |
| 4248 | }, |
| 4249 | |
| 4250 | { |
| 4251 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4252 | .name = "28F400BV/BX/CE/CV-T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4253 | .bustype = BUS_PARALLEL, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4254 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4255 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 4256 | .total_size = 512, |
| 4257 | .page_size = 128 * 1024, /* maximal block size */ |
| 4258 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 4259 | .tested = TEST_UNTESTED, |
| 4260 | .probe = probe_82802ab, |
| 4261 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4262 | .block_erasers = |
| 4263 | { |
| 4264 | { |
| 4265 | .eraseblocks = { |
| 4266 | {128 * 1024, 3}, |
| 4267 | {96 * 1024, 1}, |
| 4268 | {8 * 1024, 2}, |
| 4269 | {16 * 1024, 1}, |
| 4270 | }, |
| 4271 | .block_erase = erase_block_82802ab, |
| 4272 | }, |
| 4273 | }, |
| 4274 | .write = write_82802ab, |
| 4275 | .read = read_memmapped, |
| 4276 | }, |
| 4277 | |
| 4278 | { |
| 4279 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4280 | .name = "82802AB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4281 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4282 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4283 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4284 | .total_size = 512, |
| 4285 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4286 | .feature_bits = FEATURE_REGISTERMAP, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 4287 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4288 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4289 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4290 | .block_erasers = |
| 4291 | { |
| 4292 | { |
| 4293 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4294 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4295 | }, |
| 4296 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4297 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4298 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4299 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4300 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4301 | }, |
| 4302 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4303 | { |
| 4304 | .vendor = "Intel", |
| 4305 | .name = "82802AC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4306 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4307 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 4308 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4309 | .total_size = 1024, |
| 4310 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4311 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4312 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4313 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4314 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4315 | .block_erasers = |
| 4316 | { |
| 4317 | { |
| 4318 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4319 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4320 | }, |
| 4321 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4322 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4323 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4324 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4325 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4326 | }, |
| 4327 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4328 | { |
| 4329 | .vendor = "Macronix", |
| 4330 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4331 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4332 | .manufacture_id = MACRONIX_ID, |
| 4333 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4334 | .total_size = 64, |
| 4335 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4336 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4337 | .tested = TEST_UNTESTED, |
| 4338 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4339 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4340 | .block_erasers = |
| 4341 | { |
| 4342 | { |
| 4343 | .eraseblocks = { {4 * 1024, 16} }, |
| 4344 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4345 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4346 | .eraseblocks = { {64 * 1024, 1} }, |
| 4347 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4348 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4349 | .eraseblocks = { {64 * 1024, 1} }, |
| 4350 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4351 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4352 | .eraseblocks = { {64 * 1024, 1} }, |
| 4353 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4354 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4355 | .eraseblocks = { {64 * 1024, 1} }, |
| 4356 | .block_erase = spi_block_erase_c7, |
| 4357 | }, |
| 4358 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4359 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4360 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4361 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4362 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4363 | }, |
| 4364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4365 | { |
| 4366 | .vendor = "Macronix", |
| 4367 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4368 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4369 | .manufacture_id = MACRONIX_ID, |
| 4370 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4371 | .total_size = 128, |
| 4372 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4373 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4374 | .tested = TEST_UNTESTED, |
| 4375 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4376 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4377 | .block_erasers = |
| 4378 | { |
| 4379 | { |
| 4380 | .eraseblocks = { {4 * 1024, 32} }, |
| 4381 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4382 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4383 | .eraseblocks = { {64 * 1024, 2} }, |
| 4384 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4385 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4386 | .eraseblocks = { {128 * 1024, 1} }, |
| 4387 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4388 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 4389 | .eraseblocks = { {128 * 1024, 1} }, |
| 4390 | .block_erase = spi_block_erase_c7, |
| 4391 | }, |
| 4392 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4393 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4394 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4395 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4396 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4397 | }, |
| 4398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4399 | { |
| 4400 | .vendor = "Macronix", |
| 4401 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4402 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4403 | .manufacture_id = MACRONIX_ID, |
| 4404 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4405 | .total_size = 256, |
| 4406 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4407 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4408 | .tested = TEST_UNTESTED, |
| 4409 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4410 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4411 | .block_erasers = |
| 4412 | { |
| 4413 | { |
| 4414 | .eraseblocks = { {4 * 1024, 64} }, |
| 4415 | .block_erase = spi_block_erase_20, |
| 4416 | }, { |
| 4417 | .eraseblocks = { {64 * 1024, 4} }, |
| 4418 | .block_erase = spi_block_erase_52, |
| 4419 | }, { |
| 4420 | .eraseblocks = { {64 * 1024, 4} }, |
| 4421 | .block_erase = spi_block_erase_d8, |
| 4422 | }, { |
| 4423 | .eraseblocks = { {256 * 1024, 1} }, |
| 4424 | .block_erase = spi_block_erase_60, |
| 4425 | }, { |
| 4426 | .eraseblocks = { {256 * 1024, 1} }, |
| 4427 | .block_erase = spi_block_erase_c7, |
| 4428 | }, |
| 4429 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4430 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4431 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4432 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4433 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4434 | }, |
| 4435 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4436 | { |
| 4437 | .vendor = "Macronix", |
| 4438 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4439 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4440 | .manufacture_id = MACRONIX_ID, |
| 4441 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4442 | .total_size = 512, |
| 4443 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4444 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 4445 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4446 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4447 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4448 | .block_erasers = |
| 4449 | { |
| 4450 | { |
| 4451 | .eraseblocks = { {4 * 1024, 128} }, |
| 4452 | .block_erase = spi_block_erase_20, |
| 4453 | }, { |
| 4454 | .eraseblocks = { {64 * 1024, 8} }, |
| 4455 | .block_erase = spi_block_erase_52, |
| 4456 | }, { |
| 4457 | .eraseblocks = { {64 * 1024, 8} }, |
| 4458 | .block_erase = spi_block_erase_d8, |
| 4459 | }, { |
| 4460 | .eraseblocks = { {512 * 1024, 1} }, |
| 4461 | .block_erase = spi_block_erase_60, |
| 4462 | }, { |
| 4463 | .eraseblocks = { {512 * 1024, 1} }, |
| 4464 | .block_erase = spi_block_erase_c7, |
| 4465 | }, |
| 4466 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4467 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4468 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4469 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4470 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4471 | }, |
| 4472 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4473 | { |
| 4474 | .vendor = "Macronix", |
| 4475 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4476 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4477 | .manufacture_id = MACRONIX_ID, |
| 4478 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4479 | .total_size = 1024, |
| 4480 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4481 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 4482 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4483 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4484 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4485 | .block_erasers = |
| 4486 | { |
| 4487 | { |
| 4488 | .eraseblocks = { {4 * 1024, 256} }, |
| 4489 | .block_erase = spi_block_erase_20, |
| 4490 | }, { |
| 4491 | .eraseblocks = { {64 * 1024, 16} }, |
| 4492 | .block_erase = spi_block_erase_52, |
| 4493 | }, { |
| 4494 | .eraseblocks = { {64 * 1024, 16} }, |
| 4495 | .block_erase = spi_block_erase_d8, |
| 4496 | }, { |
| 4497 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4498 | .block_erase = spi_block_erase_60, |
| 4499 | }, { |
| 4500 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4501 | .block_erase = spi_block_erase_c7, |
| 4502 | }, |
| 4503 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4504 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4505 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4506 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4507 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4508 | }, |
| 4509 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4510 | { |
| 4511 | .vendor = "Macronix", |
| 4512 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4513 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4514 | .manufacture_id = MACRONIX_ID, |
| 4515 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4516 | .total_size = 2048, |
| 4517 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4518 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 4519 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4520 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4521 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 4522 | .block_erasers = |
| 4523 | { |
| 4524 | { |
| 4525 | .eraseblocks = { {4 * 1024, 512} }, |
| 4526 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 4527 | }, { |
| 4528 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 4529 | .block_erase = spi_block_erase_52, |
| 4530 | }, { |
| 4531 | .eraseblocks = { {64 * 1024, 32} }, |
| 4532 | .block_erase = spi_block_erase_d8, |
| 4533 | }, { |
| 4534 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4535 | .block_erase = spi_block_erase_60, |
| 4536 | }, { |
| 4537 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4538 | .block_erase = spi_block_erase_c7, |
| 4539 | }, |
| 4540 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4541 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4542 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4543 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4544 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4545 | }, |
| 4546 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4547 | { |
| 4548 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4549 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4550 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4551 | .manufacture_id = MACRONIX_ID, |
| 4552 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4553 | .total_size = 2048, |
| 4554 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4555 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4556 | .tested = TEST_UNTESTED, |
| 4557 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4558 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4559 | .block_erasers = |
| 4560 | { |
| 4561 | { |
| 4562 | .eraseblocks = { {4 * 1024, 512} }, |
| 4563 | .block_erase = spi_block_erase_20, |
| 4564 | }, { |
| 4565 | .eraseblocks = { {64 * 1024, 32} }, |
| 4566 | .block_erase = spi_block_erase_d8, |
| 4567 | }, { |
| 4568 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4569 | .block_erase = spi_block_erase_60, |
| 4570 | }, { |
| 4571 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4572 | .block_erase = spi_block_erase_c7, |
| 4573 | } |
| 4574 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4575 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4576 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4577 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4578 | .voltage = {2700, 3600}, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4579 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 4580 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 4581 | { |
| 4582 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4583 | .name = "MX25L1635E", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4584 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4585 | .manufacture_id = MACRONIX_ID, |
| 4586 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4587 | .total_size = 2048, |
| 4588 | .page_size = 256, |
| 4589 | .feature_bits = FEATURE_WRSR_WREN, |
| 4590 | .tested = TEST_UNTESTED, |
| 4591 | .probe = probe_spi_rdid, |
| 4592 | .probe_timing = TIMING_ZERO, |
| 4593 | .block_erasers = |
| 4594 | { |
| 4595 | { |
| 4596 | .eraseblocks = { {4 * 1024, 512} }, |
| 4597 | .block_erase = spi_block_erase_20, |
| 4598 | }, { |
| 4599 | .eraseblocks = { {64 * 1024, 32} }, |
| 4600 | .block_erase = spi_block_erase_d8, |
| 4601 | }, { |
| 4602 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4603 | .block_erase = spi_block_erase_60, |
| 4604 | }, { |
| 4605 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4606 | .block_erase = spi_block_erase_c7, |
| 4607 | } |
| 4608 | }, |
| 4609 | .unlock = spi_disable_blockprotect, |
| 4610 | .write = spi_chip_write_256, |
| 4611 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4612 | .voltage = {2700, 3600}, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 4613 | }, |
| 4614 | |
| 4615 | { |
| 4616 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4617 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4618 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4619 | .manufacture_id = MACRONIX_ID, |
| 4620 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4621 | .total_size = 4096, |
| 4622 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4623 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 4624 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4625 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4626 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4627 | .block_erasers = |
| 4628 | { |
| 4629 | { |
| 4630 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4631 | .block_erase = spi_block_erase_20, |
| 4632 | }, { |
| 4633 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4634 | .block_erase = spi_block_erase_d8, |
| 4635 | }, { |
| 4636 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4637 | .block_erase = spi_block_erase_60, |
| 4638 | }, { |
| 4639 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4640 | .block_erase = spi_block_erase_c7, |
| 4641 | }, |
| 4642 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4643 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4644 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4645 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4646 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4647 | }, |
| 4648 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4649 | { |
| 4650 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4651 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4652 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4653 | .manufacture_id = MACRONIX_ID, |
| 4654 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4655 | .total_size = 4096, |
| 4656 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4657 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4658 | .tested = TEST_UNTESTED, |
| 4659 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4660 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4661 | .block_erasers = |
| 4662 | { |
| 4663 | { |
| 4664 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4665 | .block_erase = spi_block_erase_20, |
| 4666 | }, { |
| 4667 | .eraseblocks = { {64 * 1024, 64} }, |
| 4668 | .block_erase = spi_block_erase_d8, |
| 4669 | }, { |
| 4670 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4671 | .block_erase = spi_block_erase_60, |
| 4672 | }, { |
| 4673 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4674 | .block_erase = spi_block_erase_c7, |
| 4675 | } |
| 4676 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4677 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4678 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4679 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4680 | .voltage = {2700, 3600}, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 4681 | }, |
| 4682 | |
| 4683 | { |
| 4684 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4685 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4686 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4687 | .manufacture_id = MACRONIX_ID, |
| 4688 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4689 | .total_size = 8192, |
| 4690 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4691 | .feature_bits = FEATURE_WRSR_WREN, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 4692 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4693 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4694 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4695 | .block_erasers = |
| 4696 | { |
| 4697 | { |
| 4698 | .eraseblocks = { {64 * 1024, 128} }, |
| 4699 | .block_erase = spi_block_erase_20, |
| 4700 | }, { |
| 4701 | .eraseblocks = { {64 * 1024, 128} }, |
| 4702 | .block_erase = spi_block_erase_d8, |
| 4703 | }, { |
| 4704 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4705 | .block_erase = spi_block_erase_60, |
| 4706 | }, { |
| 4707 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4708 | .block_erase = spi_block_erase_c7, |
| 4709 | } |
| 4710 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4711 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4712 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4713 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4714 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4715 | }, |
| 4716 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4717 | { |
| 4718 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4719 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4720 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4721 | .manufacture_id = MACRONIX_ID, |
| 4722 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4723 | .total_size = 16384, |
| 4724 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4725 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4726 | .tested = TEST_UNTESTED, |
| 4727 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4728 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4729 | .block_erasers = |
| 4730 | { |
| 4731 | { |
| 4732 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4733 | .block_erase = spi_block_erase_20, |
| 4734 | }, { |
| 4735 | .eraseblocks = { {64 * 1024, 256} }, |
| 4736 | .block_erase = spi_block_erase_d8, |
| 4737 | }, { |
| 4738 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4739 | .block_erase = spi_block_erase_60, |
| 4740 | }, { |
| 4741 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4742 | .block_erase = spi_block_erase_c7, |
| 4743 | } |
| 4744 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4745 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4746 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4747 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4748 | .voltage = {2700, 3600}, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4749 | }, |
| 4750 | |
| 4751 | { |
| 4752 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4753 | .name = "MX29F001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4754 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4755 | .manufacture_id = MACRONIX_ID, |
| 4756 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4757 | .total_size = 128, |
| 4758 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4759 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4760 | .tested = TEST_UNTESTED, |
| 4761 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4762 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4763 | .block_erasers = |
| 4764 | { |
| 4765 | { |
| 4766 | .eraseblocks = { |
| 4767 | {8 * 1024, 1}, |
| 4768 | {4 * 1024, 2}, |
| 4769 | {8 * 1024, 2}, |
| 4770 | {32 * 1024, 1}, |
| 4771 | {64 * 1024, 1}, |
| 4772 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4773 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4774 | }, { |
| 4775 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4776 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4777 | } |
| 4778 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4779 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4780 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4781 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4782 | }, |
| 4783 | |
| 4784 | { |
| 4785 | .vendor = "Macronix", |
| 4786 | .name = "MX29F001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4787 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4788 | .manufacture_id = MACRONIX_ID, |
| 4789 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4790 | .total_size = 128, |
| 4791 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4792 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stefan Tauner | 74c6ec6 | 2011-05-18 01:31:46 +0000 | [diff] [blame] | 4793 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4794 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4795 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4796 | .block_erasers = |
| 4797 | { |
| 4798 | { |
| 4799 | .eraseblocks = { |
| 4800 | {64 * 1024, 1}, |
| 4801 | {32 * 1024, 1}, |
| 4802 | {8 * 1024, 2}, |
| 4803 | {4 * 1024, 2}, |
| 4804 | {8 * 1024, 1}, |
| 4805 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4806 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4807 | }, { |
| 4808 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4809 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4810 | } |
| 4811 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4812 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4813 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4814 | .voltage = {4500, 5500}, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4815 | }, |
| 4816 | |
| 4817 | { |
| 4818 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4819 | .name = "MX29F002(N)B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4820 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4821 | .manufacture_id = MACRONIX_ID, |
| 4822 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4823 | .total_size = 256, |
| 4824 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4825 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4826 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4827 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4828 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4829 | .block_erasers = |
| 4830 | { |
| 4831 | { |
| 4832 | .eraseblocks = { |
| 4833 | {16 * 1024, 1}, |
| 4834 | {8 * 1024, 2}, |
| 4835 | {32 * 1024, 1}, |
| 4836 | {64 * 1024, 3}, |
| 4837 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4838 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4839 | }, { |
| 4840 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4841 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4842 | }, |
| 4843 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4844 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4845 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4846 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4847 | }, |
| 4848 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4849 | { |
| 4850 | .vendor = "Macronix", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 4851 | .name = "MX29F002(N)T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4852 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4853 | .manufacture_id = MACRONIX_ID, |
| 4854 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4855 | .total_size = 256, |
| 4856 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4857 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 4858 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4859 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4860 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4861 | .block_erasers = |
| 4862 | { |
| 4863 | { |
| 4864 | .eraseblocks = { |
| 4865 | {64 * 1024, 3}, |
| 4866 | {32 * 1024, 1}, |
| 4867 | {8 * 1024, 2}, |
| 4868 | {16 * 1024, 1}, |
| 4869 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4870 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4871 | }, { |
| 4872 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4873 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4874 | }, |
| 4875 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4876 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4877 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4878 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4879 | }, |
| 4880 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4881 | { |
| 4882 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4883 | .name = "MX29F040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4884 | .bustype = BUS_PARALLEL, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4885 | .manufacture_id = MACRONIX_ID, |
| 4886 | .model_id = MACRONIX_MX29F040, |
| 4887 | .total_size = 512, |
| 4888 | .page_size = 64 * 1024, |
| 4889 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4890 | .tested = TEST_UNTESTED, |
| 4891 | .probe = probe_jedec, |
| 4892 | .probe_timing = TIMING_ZERO, |
| 4893 | .block_erasers = |
| 4894 | { |
| 4895 | { |
| 4896 | .eraseblocks = { {64 * 1024, 8} }, |
| 4897 | .block_erase = erase_sector_jedec, |
| 4898 | }, { |
| 4899 | .eraseblocks = { {512 * 1024, 1} }, |
| 4900 | .block_erase = erase_chip_block_jedec, |
| 4901 | }, |
| 4902 | }, |
| 4903 | .write = write_jedec_1, |
| 4904 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 4905 | .voltage = {4500, 5500}, |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4906 | }, |
| 4907 | |
| 4908 | { |
| 4909 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 4910 | .name = "MX29LV040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4911 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4912 | .manufacture_id = MACRONIX_ID, |
| 4913 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4914 | .total_size = 512, |
| 4915 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4916 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4917 | .tested = TEST_UNTESTED, |
| 4918 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4919 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4920 | .block_erasers = |
| 4921 | { |
| 4922 | { |
| 4923 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4924 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4925 | }, { |
| 4926 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4927 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4928 | }, |
| 4929 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4930 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4931 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4932 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 4933 | }, |
| 4934 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4935 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4936 | .vendor = "MoselVitelic", |
| 4937 | .name = "V29C51000B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4938 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4939 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4940 | .model_id = MVC_V29C51000B, |
| 4941 | .total_size = 64, |
| 4942 | .page_size = 512, |
| 4943 | .feature_bits = FEATURE_EITHER_RESET, |
| 4944 | .tested = TEST_UNTESTED, |
| 4945 | .probe = probe_jedec, |
| 4946 | .probe_timing = TIMING_ZERO, |
| 4947 | .block_erasers = |
| 4948 | { |
| 4949 | { |
| 4950 | .eraseblocks = { {512, 128} }, |
| 4951 | .block_erase = erase_sector_jedec, |
| 4952 | }, { |
| 4953 | .eraseblocks = { {64 * 1024, 1} }, |
| 4954 | .block_erase = erase_chip_block_jedec, |
| 4955 | }, |
| 4956 | }, |
| 4957 | .write = write_jedec_1, |
| 4958 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4959 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4960 | }, |
| 4961 | |
| 4962 | { |
| 4963 | .vendor = "MoselVitelic", |
| 4964 | .name = "V29C51000T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4965 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4966 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4967 | .model_id = MVC_V29C51000T, |
| 4968 | .total_size = 64, |
| 4969 | .page_size = 512, |
| 4970 | .feature_bits = FEATURE_EITHER_RESET, |
| 4971 | .tested = TEST_UNTESTED, |
| 4972 | .probe = probe_jedec, |
| 4973 | .probe_timing = TIMING_ZERO, |
| 4974 | .block_erasers = |
| 4975 | { |
| 4976 | { |
| 4977 | .eraseblocks = { {512, 128} }, |
| 4978 | .block_erase = erase_sector_jedec, |
| 4979 | }, { |
| 4980 | .eraseblocks = { {64 * 1024, 1} }, |
| 4981 | .block_erase = erase_chip_block_jedec, |
| 4982 | }, |
| 4983 | }, |
| 4984 | .write = write_jedec_1, |
| 4985 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 4986 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4987 | }, |
| 4988 | |
| 4989 | { |
| 4990 | .vendor = "MoselVitelic", |
| 4991 | .name = "V29C51400B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 4992 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4993 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4994 | .model_id = MVC_V29C51400B, |
| 4995 | .total_size = 512, |
| 4996 | .page_size = 1024, |
| 4997 | .feature_bits = FEATURE_EITHER_RESET, |
| 4998 | .tested = TEST_UNTESTED, |
| 4999 | .probe = probe_jedec, |
| 5000 | .probe_timing = TIMING_ZERO, |
| 5001 | .block_erasers = |
| 5002 | { |
| 5003 | { |
| 5004 | .eraseblocks = { {1024, 512} }, |
| 5005 | .block_erase = erase_sector_jedec, |
| 5006 | }, { |
| 5007 | .eraseblocks = { {512 * 1024, 1} }, |
| 5008 | .block_erase = erase_chip_block_jedec, |
| 5009 | }, |
| 5010 | }, |
| 5011 | .write = write_jedec_1, |
| 5012 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5013 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5014 | }, |
| 5015 | |
| 5016 | { |
| 5017 | .vendor = "MoselVitelic", |
| 5018 | .name = "V29C51400T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5019 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5020 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5021 | .model_id = MVC_V29C51400T, |
| 5022 | .total_size = 512, |
| 5023 | .page_size = 1024, |
| 5024 | .feature_bits = FEATURE_EITHER_RESET, |
| 5025 | .tested = TEST_UNTESTED, |
| 5026 | .probe = probe_jedec, |
| 5027 | .probe_timing = TIMING_ZERO, |
| 5028 | .block_erasers = |
| 5029 | { |
| 5030 | { |
| 5031 | .eraseblocks = { {1024, 512} }, |
| 5032 | .block_erase = erase_sector_jedec, |
| 5033 | }, { |
| 5034 | .eraseblocks = { {512 * 1024, 1} }, |
| 5035 | .block_erase = erase_chip_block_jedec, |
| 5036 | }, |
| 5037 | }, |
| 5038 | .write = write_jedec_1, |
| 5039 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5040 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5041 | }, |
| 5042 | |
| 5043 | { |
| 5044 | .vendor = "MoselVitelic", |
| 5045 | .name = "V29LC51000", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5046 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5047 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5048 | .model_id = MVC_V29LC51000, |
| 5049 | .total_size = 64, |
| 5050 | .page_size = 512, |
| 5051 | .feature_bits = FEATURE_EITHER_RESET, |
| 5052 | .tested = TEST_UNTESTED, |
| 5053 | .probe = probe_jedec, |
| 5054 | .probe_timing = TIMING_ZERO, |
| 5055 | .block_erasers = |
| 5056 | { |
| 5057 | { |
| 5058 | .eraseblocks = { {512, 128} }, |
| 5059 | .block_erase = erase_sector_jedec, |
| 5060 | }, { |
| 5061 | .eraseblocks = { {64 * 1024, 1} }, |
| 5062 | .block_erase = erase_chip_block_jedec, |
| 5063 | }, |
| 5064 | }, |
| 5065 | .write = write_jedec_1, |
| 5066 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5067 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5068 | }, |
| 5069 | |
| 5070 | { |
| 5071 | .vendor = "MoselVitelic", |
| 5072 | .name = "V29LC51001", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5073 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5074 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5075 | .model_id = MVC_V29LC51001, |
| 5076 | .total_size = 128, |
| 5077 | .page_size = 512, |
| 5078 | .feature_bits = FEATURE_EITHER_RESET, |
| 5079 | .tested = TEST_UNTESTED, |
| 5080 | .probe = probe_jedec, |
| 5081 | .probe_timing = TIMING_ZERO, |
| 5082 | .block_erasers = |
| 5083 | { |
| 5084 | { |
| 5085 | .eraseblocks = { {512, 256} }, |
| 5086 | .block_erase = erase_sector_jedec, |
| 5087 | }, { |
| 5088 | .eraseblocks = { {128 * 1024, 1} }, |
| 5089 | .block_erase = erase_chip_block_jedec, |
| 5090 | }, |
| 5091 | }, |
| 5092 | .write = write_jedec_1, |
| 5093 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5094 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5095 | }, |
| 5096 | |
| 5097 | { |
| 5098 | .vendor = "MoselVitelic", |
| 5099 | .name = "V29LC51002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5100 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5101 | .manufacture_id = SYNCMOS_MVC_ID, |
| 5102 | .model_id = MVC_V29LC51002, |
| 5103 | .total_size = 256, |
| 5104 | .page_size = 512, |
| 5105 | .feature_bits = FEATURE_EITHER_RESET, |
| 5106 | .tested = TEST_UNTESTED, |
| 5107 | .probe = probe_jedec, |
| 5108 | .probe_timing = TIMING_ZERO, |
| 5109 | .block_erasers = |
| 5110 | { |
| 5111 | { |
| 5112 | .eraseblocks = { {512, 512} }, |
| 5113 | .block_erase = erase_sector_jedec, |
| 5114 | }, { |
| 5115 | .eraseblocks = { {256 * 1024, 1} }, |
| 5116 | .block_erase = erase_chip_block_jedec, |
| 5117 | }, |
| 5118 | }, |
| 5119 | .write = write_jedec_1, |
| 5120 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5121 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 5122 | }, |
| 5123 | |
| 5124 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5125 | .vendor = "Numonyx", |
| 5126 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5127 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5128 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5129 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5130 | .total_size = 128, |
| 5131 | .page_size = 256, |
| 5132 | .tested = TEST_UNTESTED, |
| 5133 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5134 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5135 | .block_erasers = |
| 5136 | { |
| 5137 | { |
| 5138 | .eraseblocks = { {4 * 1024, 32} }, |
| 5139 | .block_erase = spi_block_erase_20, |
| 5140 | }, { |
| 5141 | .eraseblocks = { {64 * 1024, 2} }, |
| 5142 | .block_erase = spi_block_erase_d8, |
| 5143 | }, { |
| 5144 | .eraseblocks = { {128 * 1024, 1} }, |
| 5145 | .block_erase = spi_block_erase_c7, |
| 5146 | } |
| 5147 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5148 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5149 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5150 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5151 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5152 | }, |
| 5153 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5154 | { |
| 5155 | .vendor = "Numonyx", |
| 5156 | .name = "M25PE20", |
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_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5160 | .total_size = 256, |
| 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, 64} }, |
| 5169 | .block_erase = spi_block_erase_20, |
| 5170 | }, { |
| 5171 | .eraseblocks = { {64 * 1024, 4} }, |
| 5172 | .block_erase = spi_block_erase_d8, |
| 5173 | }, { |
| 5174 | .eraseblocks = { {256 * 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 = "M25PE40", |
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_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5190 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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, 128} }, |
| 5199 | .block_erase = spi_block_erase_20, |
| 5200 | }, { |
| 5201 | .eraseblocks = { {64 * 1024, 8} }, |
| 5202 | .block_erase = spi_block_erase_d8, |
| 5203 | }, { |
| 5204 | .eraseblocks = { {512 * 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 = "M25PE80", |
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_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5220 | .total_size = 1024, |
| 5221 | .page_size = 256, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 5222 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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, 256} }, |
| 5229 | .block_erase = spi_block_erase_20, |
| 5230 | }, { |
| 5231 | .eraseblocks = { {64 * 1024, 16} }, |
| 5232 | .block_erase = spi_block_erase_d8, |
| 5233 | }, { |
| 5234 | .eraseblocks = { {1024 * 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 = "M25PE16", |
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_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5250 | .total_size = 2048, |
| 5251 | .page_size = 256, |
| 5252 | .tested = TEST_UNTESTED, |
| 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, 512} }, |
| 5259 | .block_erase = spi_block_erase_20, |
| 5260 | }, { |
| 5261 | .eraseblocks = { {64 * 1024, 32} }, |
| 5262 | .block_erase = spi_block_erase_d8, |
| 5263 | }, { |
| 5264 | .eraseblocks = { {2 * 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 | { |
Niklas Söderlund | ae4294f | 2012-04-14 21:04:03 +0000 | [diff] [blame] | 5275 | .vendor = "Numonyx", |
| 5276 | .name = "N25Q064", |
| 5277 | .bustype = BUS_SPI, |
| 5278 | .manufacture_id = ST_ID, |
| 5279 | .model_id = ST_N25Q064, |
| 5280 | .total_size = 8192, |
| 5281 | .page_size = 256, |
| 5282 | .tested = TEST_OK_PREW, |
| 5283 | .probe = probe_spi_rdid, |
| 5284 | .probe_timing = TIMING_ZERO, |
| 5285 | .block_erasers = |
| 5286 | { |
| 5287 | { |
| 5288 | .eraseblocks = { {4 * 1024, 2048 } }, |
| 5289 | .block_erase = spi_block_erase_20, |
| 5290 | }, { |
| 5291 | .eraseblocks = { {64 * 1024, 128} }, |
| 5292 | .block_erase = spi_block_erase_d8, |
| 5293 | }, { |
| 5294 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5295 | .block_erase = spi_block_erase_c7, |
| 5296 | } |
| 5297 | }, |
| 5298 | .unlock = spi_disable_blockprotect, |
| 5299 | .write = spi_chip_write_256, |
| 5300 | .read = spi_chip_read, |
| 5301 | }, |
| 5302 | |
| 5303 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5304 | .vendor = "PMC", |
| 5305 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5306 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5307 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5308 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5309 | .total_size = 128, |
| 5310 | .page_size = 256, |
| 5311 | .tested = TEST_UNTESTED, |
| 5312 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5313 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5314 | .block_erasers = |
| 5315 | { |
| 5316 | { |
| 5317 | .eraseblocks = { {4 * 1024, 32} }, |
| 5318 | .block_erase = spi_block_erase_d7, |
| 5319 | }, { |
| 5320 | .eraseblocks = { {32 * 1024, 4} }, |
| 5321 | .block_erase = spi_block_erase_d8, |
| 5322 | }, { |
| 5323 | .eraseblocks = { {128 * 1024, 1} }, |
| 5324 | .block_erase = spi_block_erase_c7, |
| 5325 | } |
| 5326 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5327 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5328 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5329 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5330 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5331 | }, |
| 5332 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5333 | { |
| 5334 | .vendor = "PMC", |
| 5335 | .name = "Pm25LV016B", |
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_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5339 | .total_size = 2048, |
| 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, 512} }, |
| 5348 | .block_erase = spi_block_erase_d7, |
| 5349 | }, { |
| 5350 | .eraseblocks = { {4 * 1024, 512} }, |
| 5351 | .block_erase = spi_block_erase_20, |
| 5352 | }, { |
| 5353 | .eraseblocks = { {64 * 1024, 32} }, |
| 5354 | .block_erase = spi_block_erase_d8, |
| 5355 | }, { |
| 5356 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5357 | .block_erase = spi_block_erase_60, |
| 5358 | }, { |
| 5359 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5360 | .block_erase = spi_block_erase_c7, |
| 5361 | } |
| 5362 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5363 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5364 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5365 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5366 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5367 | }, |
| 5368 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5369 | { |
| 5370 | .vendor = "PMC", |
| 5371 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5372 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5373 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5374 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5375 | .total_size = 256, |
| 5376 | .page_size = 256, |
| 5377 | .tested = TEST_UNTESTED, |
| 5378 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5379 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5380 | .block_erasers = |
| 5381 | { |
| 5382 | { |
| 5383 | .eraseblocks = { {4 * 1024, 64} }, |
| 5384 | .block_erase = spi_block_erase_d7, |
| 5385 | }, { |
| 5386 | .eraseblocks = { {64 * 1024, 4} }, |
| 5387 | .block_erase = spi_block_erase_d8, |
| 5388 | }, { |
| 5389 | .eraseblocks = { {256 * 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 | cbe370e | 2011-06-03 07:26:31 +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 = "Pm25LV040", |
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_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5405 | .total_size = 512, |
| 5406 | .page_size = 256, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 5407 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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, 128} }, |
| 5414 | .block_erase = spi_block_erase_d7, |
| 5415 | }, { |
| 5416 | .eraseblocks = { {64 * 1024, 8} }, |
| 5417 | .block_erase = spi_block_erase_d8, |
| 5418 | }, { |
| 5419 | .eraseblocks = { {512 * 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 = "Pm25LV080B", |
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_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5435 | .total_size = 1024, |
| 5436 | .page_size = 256, |
| 5437 | .tested = TEST_UNTESTED, |
| 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, 256} }, |
| 5444 | .block_erase = spi_block_erase_d7, |
| 5445 | }, { |
| 5446 | .eraseblocks = { {4 * 1024, 256} }, |
| 5447 | .block_erase = spi_block_erase_20, |
| 5448 | }, { |
| 5449 | .eraseblocks = { {64 * 1024, 16} }, |
| 5450 | .block_erase = spi_block_erase_d8, |
| 5451 | }, { |
| 5452 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5453 | .block_erase = spi_block_erase_60, |
| 5454 | }, { |
| 5455 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5456 | .block_erase = spi_block_erase_c7, |
| 5457 | } |
| 5458 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5459 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5460 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5461 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5462 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5463 | }, |
| 5464 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5465 | { |
| 5466 | .vendor = "PMC", |
| 5467 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5468 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5469 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5470 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5471 | .total_size = 64, |
| 5472 | .page_size = 256, |
| 5473 | .tested = TEST_UNTESTED, |
| 5474 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5475 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5476 | .block_erasers = |
| 5477 | { |
| 5478 | { |
| 5479 | .eraseblocks = { {4 * 1024, 16} }, |
| 5480 | .block_erase = spi_block_erase_d7, |
| 5481 | }, { |
| 5482 | .eraseblocks = { {32 * 1024, 2} }, |
| 5483 | .block_erase = spi_block_erase_d8, |
| 5484 | }, { |
| 5485 | .eraseblocks = { {64 * 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 | 7d257b4 | 2011-07-19 08:50:18 +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", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5497 | .name = "Pm29F002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5498 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5499 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5500 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5501 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5502 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5503 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 5504 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5505 | .probe = probe_jedec, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 5506 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5507 | .block_erasers = |
| 5508 | { |
| 5509 | { |
| 5510 | .eraseblocks = { |
| 5511 | {128 * 1024, 1}, |
| 5512 | {96 * 1024, 1}, |
| 5513 | {8 * 1024, 2}, |
| 5514 | {16 * 1024, 1}, |
| 5515 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5516 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5517 | }, { |
| 5518 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5519 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5520 | }, |
| 5521 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5522 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5523 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5524 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5525 | }, |
| 5526 | |
| 5527 | { |
| 5528 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5529 | .name = "Pm29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5530 | .bustype = BUS_PARALLEL, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5531 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5532 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5533 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5534 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5535 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5536 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5537 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5538 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5539 | .block_erasers = |
| 5540 | { |
| 5541 | { |
| 5542 | .eraseblocks = { |
| 5543 | {16 * 1024, 1}, |
| 5544 | {8 * 1024, 2}, |
| 5545 | {96 * 1024, 1}, |
| 5546 | {128 * 1024, 1}, |
| 5547 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5548 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5549 | }, { |
| 5550 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5551 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5552 | }, |
| 5553 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5554 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5555 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5556 | .voltage = {4500, 5500}, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 5557 | }, |
| 5558 | |
| 5559 | { |
| 5560 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5561 | .name = "Pm39LV010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5562 | .bustype = BUS_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5563 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5564 | .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] | 5565 | .total_size = 128, |
| 5566 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5567 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5568 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5569 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5570 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5571 | .block_erasers = |
| 5572 | { |
| 5573 | { |
| 5574 | .eraseblocks = { {4 * 1024, 32} }, |
| 5575 | .block_erase = erase_sector_jedec, |
| 5576 | }, { |
| 5577 | .eraseblocks = { {64 * 1024, 2} }, |
| 5578 | .block_erase = erase_block_jedec, |
| 5579 | }, { |
| 5580 | .eraseblocks = { {128 * 1024, 1} }, |
| 5581 | .block_erase = erase_chip_block_jedec, |
| 5582 | } |
| 5583 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5584 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5585 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5586 | .voltage = {2700, 3600}, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 5587 | }, |
| 5588 | |
| 5589 | { |
| 5590 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5591 | .name = "Pm39LV020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5592 | .bustype = BUS_PARALLEL, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +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_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5595 | .total_size = 256, |
| 5596 | .page_size = 4096, |
| 5597 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5598 | .tested = TEST_UNTESTED, |
| 5599 | .probe = probe_jedec, |
| 5600 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5601 | .block_erasers = |
| 5602 | { |
| 5603 | { |
| 5604 | .eraseblocks = { {4 * 1024, 64} }, |
| 5605 | .block_erase = erase_sector_jedec, |
| 5606 | }, { |
| 5607 | .eraseblocks = { {64 * 1024, 4} }, |
| 5608 | .block_erase = erase_block_jedec, |
| 5609 | }, { |
| 5610 | .eraseblocks = { {256 * 1024, 1} }, |
| 5611 | .block_erase = erase_chip_block_jedec, |
| 5612 | } |
| 5613 | }, |
| 5614 | .write = write_jedec_1, |
| 5615 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5616 | .voltage = {2700, 3600}, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5617 | }, |
| 5618 | |
| 5619 | { |
| 5620 | .vendor = "PMC", |
| 5621 | .name = "Pm39LV040", |
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_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5625 | .total_size = 512, |
| 5626 | .page_size = 4096, |
| 5627 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 5628 | .tested = TEST_OK_PR, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 5629 | .probe = probe_jedec, |
| 5630 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 5631 | .block_erasers = |
| 5632 | { |
| 5633 | { |
| 5634 | .eraseblocks = { {4 * 1024, 128} }, |
| 5635 | .block_erase = erase_sector_jedec, |
| 5636 | }, { |
| 5637 | .eraseblocks = { {64 * 1024, 8} }, |
| 5638 | .block_erase = erase_block_jedec, |
| 5639 | }, { |
| 5640 | .eraseblocks = { {512 * 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", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5651 | .name = "Pm49FL002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5652 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +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_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5655 | .total_size = 256, |
| 5656 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5657 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | d06d941 | 2011-06-12 19:47:55 +0000 | [diff] [blame] | 5658 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5659 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5660 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5661 | .block_erasers = |
| 5662 | { |
| 5663 | { |
| 5664 | .eraseblocks = { {4 * 1024, 64} }, |
| 5665 | .block_erase = erase_sector_jedec, |
| 5666 | }, { |
| 5667 | .eraseblocks = { {16 * 1024, 16} }, |
| 5668 | .block_erase = erase_block_jedec, |
| 5669 | }, { |
| 5670 | .eraseblocks = { {256 * 1024, 1} }, |
| 5671 | .block_erase = erase_chip_block_jedec, |
| 5672 | } |
| 5673 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5674 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5675 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5676 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5677 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5678 | }, |
| 5679 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5680 | { |
| 5681 | .vendor = "PMC", |
| 5682 | .name = "Pm49FL004", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5683 | .bustype = BUS_LPC | BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5684 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5685 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5686 | .total_size = 512, |
| 5687 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5688 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 5689 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5690 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5691 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5692 | .block_erasers = |
| 5693 | { |
| 5694 | { |
| 5695 | .eraseblocks = { {4 * 1024, 128} }, |
| 5696 | .block_erase = erase_sector_jedec, |
| 5697 | }, { |
| 5698 | .eraseblocks = { {64 * 1024, 8} }, |
| 5699 | .block_erase = erase_block_jedec, |
| 5700 | }, { |
| 5701 | .eraseblocks = { {512 * 1024, 1} }, |
| 5702 | .block_erase = erase_chip_block_jedec, |
| 5703 | } |
| 5704 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5705 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 5706 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5707 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5708 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5709 | }, |
| 5710 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5711 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5712 | .vendor = "Sanyo", |
| 5713 | .name = "LF25FW203A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5714 | .bustype = BUS_SPI, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5715 | .manufacture_id = SANYO_ID, |
| 5716 | .model_id = SANYO_LE25FW203A, |
| 5717 | .total_size = 2048, |
| 5718 | .page_size = 256, |
| 5719 | .tested = TEST_UNTESTED, |
| 5720 | .probe = probe_spi_rdid, |
| 5721 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5722 | .block_erasers = |
| 5723 | { |
| 5724 | { |
| 5725 | .eraseblocks = { {64 * 1024, 32} }, |
| 5726 | .block_erase = spi_block_erase_d8, |
| 5727 | }, { |
| 5728 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5729 | .block_erase = spi_block_erase_c7, |
| 5730 | } |
| 5731 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5732 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 5733 | .write = spi_chip_write_256, |
| 5734 | .read = spi_chip_read, |
| 5735 | }, |
| 5736 | |
| 5737 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5738 | .vendor = "Sharp", |
Mattias Mattsson | fca3b01 | 2011-08-25 22:44:11 +0000 | [diff] [blame] | 5739 | .name = "LH28F008BJT-BTLZ1", |
| 5740 | .bustype = BUS_PARALLEL, |
| 5741 | .manufacture_id = SHARP_ID, |
| 5742 | .model_id = SHARP_LH28F008BJxxPB, |
| 5743 | .total_size = 1024, |
| 5744 | .page_size = 64 * 1024, |
| 5745 | .tested = TEST_OK_PREW, |
| 5746 | .probe = probe_82802ab, |
| 5747 | .probe_timing = TIMING_ZERO, |
| 5748 | .block_erasers = |
| 5749 | { |
| 5750 | { |
| 5751 | .eraseblocks = { |
| 5752 | {8 * 1024, 8}, |
| 5753 | {64 * 1024, 15} |
| 5754 | }, |
| 5755 | .block_erase = erase_block_82802ab, |
| 5756 | }, { |
| 5757 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5758 | .block_erase = erase_sector_49lfxxxc, |
| 5759 | } |
| 5760 | }, |
| 5761 | .unlock = unlock_lh28f008bjt, |
| 5762 | .write = write_82802ab, |
| 5763 | .read = read_memmapped, |
| 5764 | .voltage = {2700, 3600}, |
| 5765 | }, |
| 5766 | |
| 5767 | { |
| 5768 | .vendor = "Sharp", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5769 | .name = "LHF00L04", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5770 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5771 | .manufacture_id = SHARP_ID, |
| 5772 | .model_id = SHARP_LHF00L04, |
| 5773 | .total_size = 1024, |
| 5774 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5775 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5776 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5777 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5778 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5779 | .block_erasers = |
| 5780 | { |
| 5781 | { |
| 5782 | .eraseblocks = { |
| 5783 | {64 * 1024, 15}, |
| 5784 | {8 * 1024, 8} |
| 5785 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5786 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5787 | }, { |
| 5788 | .eraseblocks = { |
| 5789 | {1024 * 1024, 1} |
| 5790 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5791 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5792 | }, |
| 5793 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5794 | .unlock = unlock_82802ab, |
| 5795 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5796 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5797 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5798 | }, |
| 5799 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5800 | { |
| 5801 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5802 | .name = "S25FL004A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5803 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5804 | .manufacture_id = SPANSION_ID, |
| 5805 | .model_id = SPANSION_S25FL004A, |
| 5806 | .total_size = 512, |
| 5807 | .page_size = 256, |
| 5808 | .tested = TEST_UNTESTED, |
| 5809 | .probe = probe_spi_rdid, |
| 5810 | .probe_timing = TIMING_ZERO, |
| 5811 | .block_erasers = |
| 5812 | { |
| 5813 | { |
| 5814 | .eraseblocks = { {64 * 1024, 8} }, |
| 5815 | .block_erase = spi_block_erase_d8, |
| 5816 | }, { |
| 5817 | .eraseblocks = { {512 * 1024, 1} }, |
| 5818 | .block_erase = spi_block_erase_c7, |
| 5819 | } |
| 5820 | }, |
| 5821 | .unlock = spi_disable_blockprotect, |
| 5822 | .write = spi_chip_write_256, |
| 5823 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5824 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5825 | }, |
| 5826 | |
| 5827 | { |
| 5828 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5829 | .name = "S25FL008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5830 | .bustype = BUS_SPI, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5831 | .manufacture_id = SPANSION_ID, |
| 5832 | .model_id = SPANSION_S25FL008A, |
| 5833 | .total_size = 1024, |
| 5834 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5835 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5836 | .probe = probe_spi_rdid, |
| 5837 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5838 | .block_erasers = |
| 5839 | { |
| 5840 | { |
| 5841 | .eraseblocks = { {64 * 1024, 16} }, |
| 5842 | .block_erase = spi_block_erase_d8, |
| 5843 | }, { |
| 5844 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5845 | .block_erase = spi_block_erase_c7, |
| 5846 | } |
| 5847 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5848 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5849 | .write = spi_chip_write_256, |
| 5850 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5851 | .voltage = {2700, 3600}, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5852 | }, |
| 5853 | |
| 5854 | { |
| 5855 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5856 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5857 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5858 | .manufacture_id = SPANSION_ID, |
| 5859 | .model_id = SPANSION_S25FL016A, |
| 5860 | .total_size = 2048, |
| 5861 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5862 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5863 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5864 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5865 | .block_erasers = |
| 5866 | { |
| 5867 | { |
| 5868 | .eraseblocks = { {64 * 1024, 32} }, |
| 5869 | .block_erase = spi_block_erase_d8, |
| 5870 | }, { |
| 5871 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5872 | .block_erase = spi_block_erase_c7, |
| 5873 | } |
| 5874 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5875 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5876 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5877 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 5878 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5879 | }, |
| 5880 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5881 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5882 | .vendor = "Spansion", |
| 5883 | .name = "S25FL032A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5884 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5885 | .manufacture_id = SPANSION_ID, |
| 5886 | .model_id = SPANSION_S25FL032A, |
| 5887 | .total_size = 4096, |
| 5888 | .page_size = 256, |
| 5889 | .tested = TEST_UNTESTED, |
| 5890 | .probe = probe_spi_rdid, |
| 5891 | .probe_timing = TIMING_ZERO, |
| 5892 | .block_erasers = |
| 5893 | { |
| 5894 | { |
| 5895 | .eraseblocks = { {64 * 1024, 64} }, |
| 5896 | .block_erase = spi_block_erase_d8, |
| 5897 | }, { |
| 5898 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5899 | .block_erase = spi_block_erase_c7, |
| 5900 | } |
| 5901 | }, |
| 5902 | .unlock = spi_disable_blockprotect, |
| 5903 | .write = spi_chip_write_256, |
| 5904 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5905 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5906 | }, |
| 5907 | |
| 5908 | { |
| 5909 | .vendor = "Spansion", |
| 5910 | .name = "S25FL064A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5911 | .bustype = BUS_SPI, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5912 | .manufacture_id = SPANSION_ID, |
| 5913 | .model_id = SPANSION_S25FL064A, |
| 5914 | .total_size = 8192, |
| 5915 | .page_size = 256, |
| 5916 | .tested = TEST_OK_PREW, |
| 5917 | .probe = probe_spi_rdid, |
| 5918 | .probe_timing = TIMING_ZERO, |
| 5919 | .block_erasers = |
| 5920 | { |
| 5921 | { |
| 5922 | .eraseblocks = { {64 * 1024, 128} }, |
| 5923 | .block_erase = spi_block_erase_d8, |
| 5924 | }, { |
| 5925 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5926 | .block_erase = spi_block_erase_c7, |
| 5927 | } |
| 5928 | }, |
| 5929 | .unlock = spi_disable_blockprotect, |
| 5930 | .write = spi_chip_write_256, |
| 5931 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 5932 | .voltage = {2700, 3600}, |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5933 | }, |
| 5934 | |
| 5935 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5936 | .vendor = "SST", |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 5937 | .name = "SST25LF040A", |
| 5938 | .bustype = BUS_SPI, |
| 5939 | .manufacture_id = SST_ID, |
| 5940 | .model_id = SST_SST25VF040_REMS, |
| 5941 | .total_size = 512, |
| 5942 | .page_size = 256, |
Uwe Hermann | 4335ec8 | 2011-09-07 20:20:25 +0000 | [diff] [blame] | 5943 | .tested = TEST_OK_PREW, |
Zeus Castro | 33670ba | 2011-08-17 09:50:11 +0000 | [diff] [blame] | 5944 | .probe = probe_spi_res2, |
| 5945 | .probe_timing = TIMING_ZERO, |
| 5946 | .block_erasers = |
| 5947 | { |
| 5948 | { |
| 5949 | .eraseblocks = { {4 * 1024, 128} }, |
| 5950 | .block_erase = spi_block_erase_20, |
| 5951 | }, { |
| 5952 | .eraseblocks = { {32 * 1024, 16} }, |
| 5953 | .block_erase = spi_block_erase_52, |
| 5954 | }, { |
| 5955 | .eraseblocks = { {512 * 1024, 1} }, |
| 5956 | .block_erase = spi_block_erase_60, |
| 5957 | }, |
| 5958 | }, |
| 5959 | .unlock = spi_disable_blockprotect, |
| 5960 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
| 5961 | .read = spi_chip_read, |
| 5962 | .voltage = {3000, 3600}, |
| 5963 | }, |
| 5964 | |
| 5965 | { |
| 5966 | .vendor = "SST", |
| 5967 | .name = "SST25LF080A", |
| 5968 | .bustype = BUS_SPI, |
| 5969 | .manufacture_id = SST_ID, |
| 5970 | .model_id = SST_SST25VF080_REMS, |
| 5971 | .total_size = 1024, |
| 5972 | .page_size = 256, |
| 5973 | .tested = TEST_UNTESTED, |
| 5974 | .probe = probe_spi_res2, |
| 5975 | .probe_timing = TIMING_ZERO, |
| 5976 | .block_erasers = |
| 5977 | { |
| 5978 | { |
| 5979 | .eraseblocks = { {4 * 1024, 256} }, |
| 5980 | .block_erase = spi_block_erase_20, |
| 5981 | }, { |
| 5982 | .eraseblocks = { {32 * 1024, 32} }, |
| 5983 | .block_erase = spi_block_erase_52, |
| 5984 | }, { |
| 5985 | .eraseblocks = { {1024 * 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", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 5997 | .name = "SST25VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 5998 | .bustype = BUS_SPI, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5999 | .manufacture_id = SST_ID, |
| 6000 | .model_id = SST_SST25VF010_REMS, |
| 6001 | .total_size = 128, |
| 6002 | .page_size = 256, |
| 6003 | .tested = TEST_OK_PREW, |
| 6004 | .probe = probe_spi_rems, |
| 6005 | .probe_timing = TIMING_ZERO, |
| 6006 | .block_erasers = |
| 6007 | { |
| 6008 | { |
| 6009 | .eraseblocks = { {4 * 1024, 32} }, |
| 6010 | .block_erase = spi_block_erase_20, |
| 6011 | }, { |
| 6012 | .eraseblocks = { {32 * 1024, 4} }, |
| 6013 | .block_erase = spi_block_erase_52, |
| 6014 | }, { |
| 6015 | .eraseblocks = { {128 * 1024, 1} }, |
| 6016 | .block_erase = spi_block_erase_60, |
| 6017 | }, |
| 6018 | }, |
| 6019 | .unlock = spi_disable_blockprotect, |
| 6020 | .write = spi_chip_write_1, |
| 6021 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6022 | .voltage = {2700, 3600}, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6023 | }, |
| 6024 | |
| 6025 | { |
| 6026 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6027 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6028 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6029 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6030 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6031 | .total_size = 2048, |
| 6032 | .page_size = 256, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 6033 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6034 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6035 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6036 | .block_erasers = |
| 6037 | { |
| 6038 | { |
| 6039 | .eraseblocks = { {4 * 1024, 512} }, |
| 6040 | .block_erase = spi_block_erase_20, |
| 6041 | }, { |
| 6042 | .eraseblocks = { {32 * 1024, 64} }, |
| 6043 | .block_erase = spi_block_erase_52, |
| 6044 | }, { |
| 6045 | .eraseblocks = { {64 * 1024, 32} }, |
| 6046 | .block_erase = spi_block_erase_d8, |
| 6047 | }, { |
| 6048 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6049 | .block_erase = spi_block_erase_60, |
| 6050 | }, { |
| 6051 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6052 | .block_erase = spi_block_erase_c7, |
| 6053 | }, |
| 6054 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6055 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6056 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6057 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6058 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6059 | }, |
| 6060 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6061 | { |
| 6062 | .vendor = "SST", |
| 6063 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6064 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6065 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6066 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6067 | .total_size = 4096, |
| 6068 | .page_size = 256, |
Stefan Tauner | fcf6a8c | 2011-05-18 01:32:00 +0000 | [diff] [blame] | 6069 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6070 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6071 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6072 | .block_erasers = |
| 6073 | { |
| 6074 | { |
| 6075 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6076 | .block_erase = spi_block_erase_20, |
| 6077 | }, { |
| 6078 | .eraseblocks = { {32 * 1024, 128} }, |
| 6079 | .block_erase = spi_block_erase_52, |
| 6080 | }, { |
| 6081 | .eraseblocks = { {64 * 1024, 64} }, |
| 6082 | .block_erase = spi_block_erase_d8, |
| 6083 | }, { |
| 6084 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6085 | .block_erase = spi_block_erase_60, |
| 6086 | }, { |
| 6087 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6088 | .block_erase = spi_block_erase_c7, |
| 6089 | }, |
| 6090 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6091 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 6092 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6093 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6094 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6095 | }, |
| 6096 | |
| 6097 | { |
| 6098 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6099 | .name = "SST25VF064C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6100 | .bustype = BUS_SPI, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6101 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6102 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6103 | .total_size = 8192, |
| 6104 | .page_size = 256, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6105 | .tested = TEST_OK_PREW, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6106 | .probe = probe_spi_rdid, |
| 6107 | .probe_timing = TIMING_ZERO, |
| 6108 | .block_erasers = |
| 6109 | { |
| 6110 | { |
| 6111 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6112 | .block_erase = spi_block_erase_20, |
| 6113 | }, { |
| 6114 | .eraseblocks = { {32 * 1024, 256} }, |
| 6115 | .block_erase = spi_block_erase_52, |
| 6116 | }, { |
| 6117 | .eraseblocks = { {64 * 1024, 128} }, |
| 6118 | .block_erase = spi_block_erase_d8, |
| 6119 | }, { |
| 6120 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6121 | .block_erase = spi_block_erase_60, |
| 6122 | }, { |
| 6123 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6124 | .block_erase = spi_block_erase_c7, |
| 6125 | }, |
| 6126 | }, |
| 6127 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 6128 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6129 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6130 | .voltage = {2700, 3600}, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 6131 | }, |
| 6132 | |
| 6133 | { |
| 6134 | .vendor = "SST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6135 | .name = "SST25VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6136 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6137 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6138 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6139 | .total_size = 512, |
| 6140 | .page_size = 256, |
| 6141 | .tested = TEST_OK_PR, |
| 6142 | .probe = probe_spi_rems, |
| 6143 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6144 | .block_erasers = |
| 6145 | { |
| 6146 | { |
| 6147 | .eraseblocks = { {4 * 1024, 128} }, |
| 6148 | .block_erase = spi_block_erase_20, |
| 6149 | }, { |
| 6150 | .eraseblocks = { {32 * 1024, 16} }, |
| 6151 | .block_erase = spi_block_erase_52, |
| 6152 | }, { |
| 6153 | .eraseblocks = { {512 * 1024, 1} }, |
| 6154 | .block_erase = spi_block_erase_60, |
| 6155 | }, |
| 6156 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6157 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6158 | .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6159 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6160 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6161 | }, |
| 6162 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6163 | { |
| 6164 | .vendor = "SST", |
| 6165 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6166 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6167 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6168 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6169 | .total_size = 512, |
| 6170 | .page_size = 256, |
| 6171 | .tested = TEST_UNTESTED, |
| 6172 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 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 = { {64 * 1024, 8} }, |
| 6184 | .block_erase = spi_block_erase_d8, |
| 6185 | }, { |
| 6186 | .eraseblocks = { {512 * 1024, 1} }, |
| 6187 | .block_erase = spi_block_erase_60, |
| 6188 | }, { |
| 6189 | .eraseblocks = { {512 * 1024, 1} }, |
| 6190 | .block_erase = spi_block_erase_c7, |
| 6191 | }, |
| 6192 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6193 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6194 | .write = spi_aai_write, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 6195 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6196 | .voltage = {2700, 3600}, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 6197 | }, |
| 6198 | |
| 6199 | { |
| 6200 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6201 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6202 | .bustype = BUS_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6203 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6204 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6205 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6206 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6207 | .tested = TEST_OK_PR, |
| 6208 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6209 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6210 | .block_erasers = |
| 6211 | { |
| 6212 | { |
| 6213 | .eraseblocks = { {4 * 1024, 128} }, |
| 6214 | .block_erase = spi_block_erase_20, |
| 6215 | }, { |
| 6216 | .eraseblocks = { {32 * 1024, 16} }, |
| 6217 | .block_erase = spi_block_erase_52, |
| 6218 | }, { |
| 6219 | .eraseblocks = { {64 * 1024, 8} }, |
| 6220 | .block_erase = spi_block_erase_d8, |
| 6221 | }, { |
| 6222 | .eraseblocks = { {512 * 1024, 1} }, |
| 6223 | .block_erase = spi_block_erase_60, |
| 6224 | }, { |
| 6225 | .eraseblocks = { {512 * 1024, 1} }, |
| 6226 | .block_erase = spi_block_erase_c7, |
| 6227 | }, |
| 6228 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6229 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6230 | .write = spi_aai_write, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6231 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 6232 | .voltage = {2700, 3600}, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 6233 | }, |
| 6234 | |
| 6235 | { |
| 6236 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6237 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6238 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6239 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6240 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6241 | .total_size = 1024, |
| 6242 | .page_size = 256, |
John Schmerge | c965c2d | 2011-05-18 11:28:47 +0000 | [diff] [blame] | 6243 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6244 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6245 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 6246 | .block_erasers = |
| 6247 | { |
| 6248 | { |
| 6249 | .eraseblocks = { {4 * 1024, 256} }, |
| 6250 | .block_erase = spi_block_erase_20, |
| 6251 | }, { |
| 6252 | .eraseblocks = { {32 * 1024, 32} }, |
| 6253 | .block_erase = spi_block_erase_52, |
| 6254 | }, { |
| 6255 | .eraseblocks = { {64 * 1024, 16} }, |
| 6256 | .block_erase = spi_block_erase_d8, |
| 6257 | }, { |
| 6258 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6259 | .block_erase = spi_block_erase_60, |
| 6260 | }, { |
| 6261 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6262 | .block_erase = spi_block_erase_c7, |
| 6263 | }, |
| 6264 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6265 | .unlock = spi_disable_blockprotect, |
Joshua Roys | 87955bf | 2011-08-01 18:39:28 +0000 | [diff] [blame] | 6266 | .write = spi_aai_write, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6267 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6268 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6269 | }, |
| 6270 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6271 | { |
| 6272 | .vendor = "SST", |
| 6273 | .name = "SST28SF040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6274 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6275 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6276 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6277 | .total_size = 512, |
| 6278 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6279 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6280 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6281 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6282 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6283 | .block_erasers = |
| 6284 | { |
| 6285 | { |
| 6286 | .eraseblocks = { {128, 4096} }, |
| 6287 | .block_erase = erase_sector_28sf040, |
| 6288 | }, { |
| 6289 | .eraseblocks = { {512 * 1024, 1} }, |
| 6290 | .block_erase = erase_chip_28sf040, |
| 6291 | } |
| 6292 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6293 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6294 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6295 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6296 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6297 | }, |
| 6298 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6299 | { |
| 6300 | .vendor = "SST", |
| 6301 | .name = "SST29EE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6302 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6303 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6304 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6305 | .total_size = 128, |
| 6306 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6307 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6308 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6309 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6310 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6311 | .block_erasers = |
| 6312 | { |
| 6313 | { |
| 6314 | .eraseblocks = { {128 * 1024, 1} }, |
| 6315 | .block_erase = erase_chip_block_jedec, |
| 6316 | } |
| 6317 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6318 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6319 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6320 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6321 | }, |
| 6322 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6323 | { |
| 6324 | .vendor = "SST", |
| 6325 | .name = "SST29LE010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6326 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6327 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6328 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6329 | .total_size = 128, |
| 6330 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6331 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6332 | .tested = TEST_UNTESTED, |
| 6333 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6334 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6335 | .block_erasers = |
| 6336 | { |
| 6337 | { |
| 6338 | .eraseblocks = { {128 * 1024, 1} }, |
| 6339 | .block_erase = erase_chip_block_jedec, |
| 6340 | } |
| 6341 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6342 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6343 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6344 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6345 | }, |
| 6346 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6347 | { |
| 6348 | .vendor = "SST", |
| 6349 | .name = "SST29EE020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6350 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6351 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6352 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6353 | .total_size = 256, |
| 6354 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6355 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6356 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6357 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6358 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6359 | .block_erasers = |
| 6360 | { |
| 6361 | { |
| 6362 | .eraseblocks = { {256 * 1024, 1} }, |
| 6363 | .block_erase = erase_chip_block_jedec, |
| 6364 | } |
| 6365 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6366 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6367 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6368 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6369 | }, |
| 6370 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6371 | { |
| 6372 | .vendor = "SST", |
| 6373 | .name = "SST29LE020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6374 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6375 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6376 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6377 | .total_size = 256, |
| 6378 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6379 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6380 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6381 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6382 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6383 | .block_erasers = |
| 6384 | { |
| 6385 | { |
| 6386 | .eraseblocks = { {256 * 1024, 1} }, |
| 6387 | .block_erase = erase_chip_block_jedec, |
| 6388 | } |
| 6389 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6390 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6391 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6392 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6393 | }, |
| 6394 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6395 | { |
| 6396 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6397 | .name = "SST39SF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6398 | .bustype = BUS_PARALLEL, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6399 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6400 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6401 | .total_size = 64, |
| 6402 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6403 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 6404 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6405 | .probe = probe_jedec, |
| 6406 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6407 | .block_erasers = |
| 6408 | { |
| 6409 | { |
| 6410 | .eraseblocks = { {4 * 1024, 16} }, |
| 6411 | .block_erase = erase_sector_jedec, |
| 6412 | }, { |
| 6413 | .eraseblocks = { {64 * 1024, 1} }, |
| 6414 | .block_erase = erase_chip_block_jedec, |
| 6415 | } |
| 6416 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6417 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6418 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6419 | .voltage = {4500, 5500}, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 6420 | }, |
| 6421 | |
| 6422 | { |
| 6423 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6424 | .name = "SST39SF010A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6425 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6426 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6427 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6428 | .total_size = 128, |
| 6429 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6430 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 6431 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6432 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6433 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6434 | .block_erasers = |
| 6435 | { |
| 6436 | { |
| 6437 | .eraseblocks = { {4 * 1024, 32} }, |
| 6438 | .block_erase = erase_sector_jedec, |
| 6439 | }, { |
| 6440 | .eraseblocks = { {128 * 1024, 1} }, |
| 6441 | .block_erase = erase_chip_block_jedec, |
| 6442 | } |
| 6443 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6444 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6445 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6446 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6447 | }, |
| 6448 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6449 | { |
| 6450 | .vendor = "SST", |
| 6451 | .name = "SST39SF020A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6452 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6453 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6454 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6455 | .total_size = 256, |
| 6456 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6457 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 6458 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6459 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6460 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6461 | .block_erasers = |
| 6462 | { |
| 6463 | { |
| 6464 | .eraseblocks = { {4 * 1024, 64} }, |
| 6465 | .block_erase = erase_sector_jedec, |
| 6466 | }, { |
| 6467 | .eraseblocks = { {256 * 1024, 1} }, |
| 6468 | .block_erase = erase_chip_block_jedec, |
| 6469 | } |
| 6470 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6471 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6472 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6473 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6474 | }, |
| 6475 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6476 | { |
| 6477 | .vendor = "SST", |
| 6478 | .name = "SST39SF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6479 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6480 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6481 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6482 | .total_size = 512, |
| 6483 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6484 | .feature_bits = FEATURE_EITHER_RESET, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6485 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6486 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6487 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6488 | .block_erasers = |
| 6489 | { |
| 6490 | { |
| 6491 | .eraseblocks = { {4 * 1024, 128} }, |
| 6492 | .block_erase = erase_sector_jedec, |
| 6493 | }, { |
| 6494 | .eraseblocks = { {512 * 1024, 1} }, |
| 6495 | .block_erase = erase_chip_block_jedec, |
| 6496 | } |
| 6497 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6498 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6499 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6500 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6501 | }, |
| 6502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6503 | { |
| 6504 | .vendor = "SST", |
| 6505 | .name = "SST39VF512", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6506 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6507 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6508 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6509 | .total_size = 64, |
| 6510 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6511 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6512 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6513 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6514 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6515 | .block_erasers = |
| 6516 | { |
| 6517 | { |
| 6518 | .eraseblocks = { {4 * 1024, 16} }, |
| 6519 | .block_erase = erase_sector_jedec, |
| 6520 | }, { |
| 6521 | .eraseblocks = { {64 * 1024, 1} }, |
| 6522 | .block_erase = erase_chip_block_jedec, |
| 6523 | } |
| 6524 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6525 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6526 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6527 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6528 | }, |
| 6529 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6530 | { |
| 6531 | .vendor = "SST", |
| 6532 | .name = "SST39VF010", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6533 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6534 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6535 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6536 | .total_size = 128, |
| 6537 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6538 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6539 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6540 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6541 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6542 | .block_erasers = |
| 6543 | { |
| 6544 | { |
| 6545 | .eraseblocks = { {4 * 1024, 32} }, |
| 6546 | .block_erase = erase_sector_jedec, |
| 6547 | }, { |
| 6548 | .eraseblocks = { {128 * 1024, 1} }, |
| 6549 | .block_erase = erase_chip_block_jedec, |
| 6550 | } |
| 6551 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6552 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6553 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6554 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6555 | }, |
| 6556 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6557 | { |
| 6558 | .vendor = "SST", |
| 6559 | .name = "SST39VF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6560 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6561 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6562 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6563 | .total_size = 256, |
| 6564 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6565 | .feature_bits = FEATURE_EITHER_RESET, |
| 6566 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6567 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6568 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6569 | .block_erasers = |
| 6570 | { |
| 6571 | { |
| 6572 | .eraseblocks = { {4 * 1024, 64} }, |
| 6573 | .block_erase = erase_sector_jedec, |
| 6574 | }, { |
| 6575 | .eraseblocks = { {256 * 1024, 1} }, |
| 6576 | .block_erase = erase_chip_block_jedec, |
| 6577 | } |
| 6578 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6579 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6580 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6581 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6582 | }, |
| 6583 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6584 | { |
| 6585 | .vendor = "SST", |
| 6586 | .name = "SST39VF040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6587 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6588 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6589 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6590 | .total_size = 512, |
| 6591 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6592 | .feature_bits = FEATURE_EITHER_RESET, |
| 6593 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6594 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6595 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6596 | .block_erasers = |
| 6597 | { |
| 6598 | { |
| 6599 | .eraseblocks = { {4 * 1024, 128} }, |
| 6600 | .block_erase = erase_sector_jedec, |
| 6601 | }, { |
| 6602 | .eraseblocks = { {512 * 1024, 1} }, |
| 6603 | .block_erase = erase_chip_block_jedec, |
| 6604 | } |
| 6605 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6606 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6607 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6608 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 6609 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6610 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6611 | { |
| 6612 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6613 | .name = "SST39VF080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6614 | .bustype = BUS_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6615 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6616 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6617 | .total_size = 1024, |
| 6618 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6619 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6620 | .tested = TEST_UNTESTED, |
| 6621 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6622 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6623 | .block_erasers = |
| 6624 | { |
| 6625 | { |
| 6626 | .eraseblocks = { {4 * 1024, 256} }, |
| 6627 | .block_erase = erase_sector_jedec, |
| 6628 | }, { |
| 6629 | .eraseblocks = { {64 * 1024, 16} }, |
| 6630 | .block_erase = erase_block_jedec, |
| 6631 | }, { |
| 6632 | .eraseblocks = { {1024 * 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}, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 6639 | }, |
| 6640 | |
| 6641 | { |
| 6642 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6643 | .name = "SST49LF002A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6644 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6645 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6646 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6647 | .total_size = 256, |
| 6648 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6649 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6650 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6651 | .probe = probe_jedec, |
| 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, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6657 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6658 | }, { |
| 6659 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6660 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6661 | }, { |
| 6662 | .eraseblocks = { {256 * 1024, 1} }, |
| 6663 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6664 | } |
| 6665 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6666 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6667 | .unlock = unlock_sst_fwhub, |
| 6668 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6669 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6670 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6671 | }, |
| 6672 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6673 | { |
| 6674 | .vendor = "SST", |
| 6675 | .name = "SST49LF003A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6676 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6677 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6678 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6679 | .total_size = 384, |
| 6680 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6681 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 6682 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6683 | .probe = probe_jedec, |
| 6684 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6685 | .block_erasers = |
| 6686 | { |
| 6687 | { |
| 6688 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6689 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6690 | }, { |
| 6691 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6692 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6693 | }, { |
| 6694 | .eraseblocks = { {384 * 1024, 1} }, |
| 6695 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6696 | } |
| 6697 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6698 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6699 | .unlock = unlock_sst_fwhub, |
| 6700 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6701 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6702 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6703 | }, |
| 6704 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6705 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6706 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 6707 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 6708 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6709 | .vendor = "SST", |
| 6710 | .name = "SST49LF004A/B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6711 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6712 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6713 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6714 | .total_size = 512, |
| 6715 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6716 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 6717 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6718 | .probe = probe_jedec, |
| 6719 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6720 | .block_erasers = |
| 6721 | { |
| 6722 | { |
| 6723 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6724 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6725 | }, { |
| 6726 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6727 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 6728 | }, { |
| 6729 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6730 | .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] | 6731 | }, |
| 6732 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6733 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6734 | .unlock = unlock_sst_fwhub, |
| 6735 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6736 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6737 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6738 | }, |
| 6739 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6740 | { |
| 6741 | .vendor = "SST", |
| 6742 | .name = "SST49LF004C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6743 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6744 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6745 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6746 | .total_size = 512, |
| 6747 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6748 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6749 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6750 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6751 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6752 | .block_erasers = |
| 6753 | { |
| 6754 | { |
| 6755 | .eraseblocks = { {4 * 1024, 128} }, |
| 6756 | .block_erase = erase_sector_49lfxxxc, |
| 6757 | }, { |
| 6758 | .eraseblocks = { |
| 6759 | {64 * 1024, 7}, |
| 6760 | {32 * 1024, 1}, |
| 6761 | {8 * 1024, 2}, |
| 6762 | {16 * 1024, 1}, |
| 6763 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6764 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6765 | } |
| 6766 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6767 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6768 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6769 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6770 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6771 | }, |
| 6772 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6773 | { |
| 6774 | .vendor = "SST", |
| 6775 | .name = "SST49LF008A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6776 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6777 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6778 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6779 | .total_size = 1024, |
| 6780 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6781 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 6782 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6783 | .probe = probe_jedec, |
| 6784 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6785 | .block_erasers = |
| 6786 | { |
| 6787 | { |
| 6788 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6789 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6790 | }, { |
| 6791 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6792 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6793 | }, { |
| 6794 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6795 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 6796 | } |
| 6797 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6798 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 6799 | .unlock = unlock_sst_fwhub, |
| 6800 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6801 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6802 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6803 | }, |
| 6804 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6805 | { |
| 6806 | .vendor = "SST", |
| 6807 | .name = "SST49LF008C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6808 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6809 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6810 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6811 | .total_size = 1024, |
| 6812 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6813 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6814 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6815 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6816 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6817 | .block_erasers = |
| 6818 | { |
| 6819 | { |
| 6820 | .eraseblocks = { {4 * 1024, 256} }, |
| 6821 | .block_erase = erase_sector_49lfxxxc, |
| 6822 | }, { |
| 6823 | .eraseblocks = { |
| 6824 | {64 * 1024, 15}, |
| 6825 | {32 * 1024, 1}, |
| 6826 | {8 * 1024, 2}, |
| 6827 | {16 * 1024, 1}, |
| 6828 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6829 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6830 | } |
| 6831 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6832 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6833 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6834 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6835 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6836 | }, |
| 6837 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6838 | { |
| 6839 | .vendor = "SST", |
| 6840 | .name = "SST49LF016C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6841 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6842 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6843 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6844 | .total_size = 2048, |
| 6845 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6846 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6847 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6848 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 6849 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6850 | .block_erasers = |
| 6851 | { |
| 6852 | { |
| 6853 | .eraseblocks = { {4 * 1024, 512} }, |
| 6854 | .block_erase = erase_sector_49lfxxxc, |
| 6855 | }, { |
| 6856 | .eraseblocks = { |
| 6857 | {64 * 1024, 31}, |
| 6858 | {32 * 1024, 1}, |
| 6859 | {8 * 1024, 2}, |
| 6860 | {16 * 1024, 1}, |
| 6861 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6862 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6863 | } |
| 6864 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6865 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6866 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6867 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6868 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6869 | }, |
| 6870 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6871 | { |
| 6872 | .vendor = "SST", |
| 6873 | .name = "SST49LF020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6874 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6875 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6876 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6877 | .total_size = 256, |
| 6878 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6879 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 6880 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6881 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6882 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6883 | .block_erasers = |
| 6884 | { |
| 6885 | { |
| 6886 | .eraseblocks = { {4 * 1024, 64} }, |
| 6887 | .block_erase = erase_sector_jedec, |
| 6888 | }, { |
| 6889 | .eraseblocks = { {16 * 1024, 16} }, |
| 6890 | .block_erase = erase_block_jedec, |
| 6891 | }, { |
| 6892 | .eraseblocks = { {256 * 1024, 1} }, |
| 6893 | .block_erase = NULL, |
| 6894 | } |
| 6895 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6896 | .write = write_jedec_1, |
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}, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 6899 | }, |
| 6900 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6901 | { |
| 6902 | .vendor = "SST", |
| 6903 | .name = "SST49LF020A", |
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_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6907 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 6908 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6909 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6910 | .tested = TEST_OK_PRE, |
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}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6929 | }, |
| 6930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6931 | { |
| 6932 | .vendor = "SST", |
| 6933 | .name = "SST49LF040", |
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_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6937 | .total_size = 512, |
| 6938 | .page_size = 4096, |
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, 128} }, |
| 6947 | .block_erase = erase_sector_jedec, |
| 6948 | }, { |
| 6949 | .eraseblocks = { {64 * 1024, 8} }, |
| 6950 | .block_erase = erase_block_jedec, |
| 6951 | }, { |
| 6952 | .eraseblocks = { {512 * 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 = "SST49LF040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6964 | .bustype = BUS_LPC, /* A/A Mux */ |
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_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6967 | .total_size = 512, |
| 6968 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6969 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 6970 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6971 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6972 | .probe_timing = 1, /* 150ns */ |
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 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6986 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6987 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6988 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 6989 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6990 | }, |
| 6991 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6992 | { |
| 6993 | .vendor = "SST", |
| 6994 | .name = "SST49LF080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 6995 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6996 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6997 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6998 | .total_size = 1024, |
| 6999 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7000 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 7001 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7002 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7003 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7004 | .block_erasers = |
| 7005 | { |
| 7006 | { |
| 7007 | .eraseblocks = { {4 * 1024, 256} }, |
| 7008 | .block_erase = erase_sector_jedec, |
| 7009 | }, { |
| 7010 | .eraseblocks = { {64 * 1024, 16} }, |
| 7011 | .block_erase = erase_block_jedec, |
| 7012 | }, { |
| 7013 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7014 | .block_erase = NULL, |
| 7015 | } |
| 7016 | }, |
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 = "SST49LF160C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7025 | .bustype = BUS_LPC, |
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_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7028 | .total_size = 2048, |
| 7029 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7030 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7031 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7032 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7033 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7034 | .block_erasers = |
| 7035 | { |
| 7036 | { |
| 7037 | .eraseblocks = { {4 * 1024, 512} }, |
| 7038 | .block_erase = erase_sector_49lfxxxc, |
| 7039 | }, { |
| 7040 | .eraseblocks = { |
| 7041 | {64 * 1024, 31}, |
| 7042 | {32 * 1024, 1}, |
| 7043 | {8 * 1024, 2}, |
| 7044 | {16 * 1024, 1}, |
| 7045 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 7046 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 7047 | } |
| 7048 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7049 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7050 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7051 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7052 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7053 | }, |
| 7054 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7055 | { |
| 7056 | .vendor = "ST", |
| 7057 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7058 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7059 | .manufacture_id = ST_ID, |
| 7060 | .model_id = ST_M25P05A, |
| 7061 | .total_size = 64, |
| 7062 | .page_size = 256, |
| 7063 | .tested = TEST_UNTESTED, |
| 7064 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7065 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7066 | .block_erasers = |
| 7067 | { |
| 7068 | { |
| 7069 | .eraseblocks = { {32 * 1024, 2} }, |
| 7070 | .block_erase = spi_block_erase_d8, |
| 7071 | }, { |
| 7072 | .eraseblocks = { {64 * 1024, 1} }, |
| 7073 | .block_erase = spi_block_erase_c7, |
| 7074 | } |
| 7075 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7076 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7077 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7078 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7079 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7080 | }, |
| 7081 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7082 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 7083 | * 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] | 7084 | * 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] | 7085 | * only is successful if RDID does not work. |
| 7086 | */ |
| 7087 | { |
| 7088 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7089 | .name = "M25P05", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7090 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7091 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7092 | .model_id = ST_M25P05_RES, |
| 7093 | .total_size = 64, |
| 7094 | .page_size = 256, |
| 7095 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7096 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7097 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7098 | .block_erasers = |
| 7099 | { |
| 7100 | { |
| 7101 | .eraseblocks = { {32 * 1024, 2} }, |
| 7102 | .block_erase = spi_block_erase_d8, |
| 7103 | }, { |
| 7104 | .eraseblocks = { {64 * 1024, 1} }, |
| 7105 | .block_erase = spi_block_erase_c7, |
| 7106 | } |
| 7107 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7108 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7109 | .write = spi_chip_write_1, /* 128 */ |
| 7110 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7111 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7112 | }, |
| 7113 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7114 | { |
| 7115 | .vendor = "ST", |
| 7116 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7117 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7118 | .manufacture_id = ST_ID, |
| 7119 | .model_id = ST_M25P10A, |
| 7120 | .total_size = 128, |
| 7121 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7122 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7123 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7124 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7125 | .block_erasers = |
| 7126 | { |
| 7127 | { |
| 7128 | .eraseblocks = { {32 * 1024, 4} }, |
| 7129 | .block_erase = spi_block_erase_d8, |
| 7130 | }, { |
| 7131 | .eraseblocks = { {128 * 1024, 1} }, |
| 7132 | .block_erase = spi_block_erase_c7, |
| 7133 | } |
| 7134 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7135 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7136 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7137 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7138 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7139 | }, |
| 7140 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7141 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 7142 | { |
| 7143 | .vendor = "ST", |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7144 | .name = "M25P10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7145 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7146 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7147 | .model_id = ST_M25P10_RES, |
| 7148 | .total_size = 128, |
| 7149 | .page_size = 256, |
| 7150 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7151 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7152 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7153 | .block_erasers = |
| 7154 | { |
| 7155 | { |
| 7156 | .eraseblocks = { {32 * 1024, 4} }, |
| 7157 | .block_erase = spi_block_erase_d8, |
| 7158 | }, { |
| 7159 | .eraseblocks = { {128 * 1024, 1} }, |
| 7160 | .block_erase = spi_block_erase_c7, |
| 7161 | } |
| 7162 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7163 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7164 | .write = spi_chip_write_1, /* 128 */ |
| 7165 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7166 | .voltage = {2700, 3600}, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 7167 | }, |
| 7168 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7169 | { |
| 7170 | .vendor = "ST", |
| 7171 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7172 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7173 | .manufacture_id = ST_ID, |
| 7174 | .model_id = ST_M25P20, |
| 7175 | .total_size = 256, |
| 7176 | .page_size = 256, |
| 7177 | .tested = TEST_UNTESTED, |
| 7178 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7179 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7180 | .block_erasers = |
| 7181 | { |
| 7182 | { |
| 7183 | .eraseblocks = { {64 * 1024, 4} }, |
| 7184 | .block_erase = spi_block_erase_d8, |
| 7185 | }, { |
| 7186 | .eraseblocks = { {256 * 1024, 1} }, |
| 7187 | .block_erase = spi_block_erase_c7, |
| 7188 | } |
| 7189 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7190 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7191 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7192 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7193 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7194 | }, |
| 7195 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7196 | { |
Sylvain "ythier" Hitier | 3093f8f | 2011-09-03 11:22:27 +0000 | [diff] [blame] | 7197 | .vendor = "ST", /* Numonyx */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7198 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7199 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7200 | .manufacture_id = ST_ID, |
| 7201 | .model_id = ST_M25P40, |
| 7202 | .total_size = 512, |
| 7203 | .page_size = 256, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 7204 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7205 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7206 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7207 | .block_erasers = |
| 7208 | { |
| 7209 | { |
| 7210 | .eraseblocks = { {64 * 1024, 8} }, |
| 7211 | .block_erase = spi_block_erase_d8, |
| 7212 | }, { |
| 7213 | .eraseblocks = { {512 * 1024, 1} }, |
| 7214 | .block_erase = spi_block_erase_c7, |
| 7215 | } |
| 7216 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7217 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7218 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7219 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7220 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7221 | }, |
| 7222 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7223 | { |
| 7224 | .vendor = "ST", |
| 7225 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7226 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7227 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7228 | .model_id = ST_M25P40_RES, |
| 7229 | .total_size = 512, |
| 7230 | .page_size = 256, |
| 7231 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 7232 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7233 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7234 | .block_erasers = |
| 7235 | { |
| 7236 | { |
| 7237 | .eraseblocks = { {64 * 1024, 8} }, |
| 7238 | .block_erase = spi_block_erase_d8, |
| 7239 | }, { |
| 7240 | .eraseblocks = { {512 * 1024, 1} }, |
| 7241 | .block_erase = spi_block_erase_c7, |
| 7242 | } |
| 7243 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7244 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7245 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7246 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7247 | }, |
| 7248 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7249 | { |
| 7250 | .vendor = "ST", |
| 7251 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7252 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7253 | .manufacture_id = ST_ID, |
| 7254 | .model_id = ST_M25P80, |
| 7255 | .total_size = 1024, |
| 7256 | .page_size = 256, |
Uwe Hermann | 19f46f2 | 2011-06-18 22:56:14 +0000 | [diff] [blame] | 7257 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7258 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7259 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7260 | .block_erasers = |
| 7261 | { |
| 7262 | { |
| 7263 | .eraseblocks = { {64 * 1024, 16} }, |
| 7264 | .block_erase = spi_block_erase_d8, |
| 7265 | }, { |
| 7266 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7267 | .block_erase = spi_block_erase_c7, |
| 7268 | } |
| 7269 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7270 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7271 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7272 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7273 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7274 | }, |
| 7275 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7276 | { |
| 7277 | .vendor = "ST", |
| 7278 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7279 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7280 | .manufacture_id = ST_ID, |
| 7281 | .model_id = ST_M25P16, |
| 7282 | .total_size = 2048, |
| 7283 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7284 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7285 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7286 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7287 | .block_erasers = |
| 7288 | { |
| 7289 | { |
| 7290 | .eraseblocks = { {64 * 1024, 32} }, |
| 7291 | .block_erase = spi_block_erase_d8, |
| 7292 | }, { |
| 7293 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7294 | .block_erase = spi_block_erase_c7, |
| 7295 | } |
| 7296 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7297 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7298 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7299 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7300 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7301 | }, |
| 7302 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7303 | { |
| 7304 | .vendor = "ST", |
| 7305 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7306 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7307 | .manufacture_id = ST_ID, |
| 7308 | .model_id = ST_M25P32, |
| 7309 | .total_size = 4096, |
| 7310 | .page_size = 256, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7311 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7312 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7313 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7314 | .block_erasers = |
| 7315 | { |
| 7316 | { |
| 7317 | .eraseblocks = { {64 * 1024, 64} }, |
| 7318 | .block_erase = spi_block_erase_d8, |
| 7319 | }, { |
| 7320 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7321 | .block_erase = spi_block_erase_c7, |
| 7322 | } |
| 7323 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7324 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7325 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7326 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7327 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7328 | }, |
| 7329 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7330 | { |
| 7331 | .vendor = "ST", |
| 7332 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7333 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7334 | .manufacture_id = ST_ID, |
| 7335 | .model_id = ST_M25P64, |
| 7336 | .total_size = 8192, |
| 7337 | .page_size = 256, |
| 7338 | .tested = TEST_UNTESTED, |
| 7339 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7340 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7341 | .block_erasers = |
| 7342 | { |
| 7343 | { |
| 7344 | .eraseblocks = { {64 * 1024, 128} }, |
| 7345 | .block_erase = spi_block_erase_d8, |
| 7346 | }, { |
| 7347 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7348 | .block_erase = spi_block_erase_c7, |
| 7349 | } |
| 7350 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7351 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7352 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7353 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7354 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7355 | }, |
| 7356 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7357 | { |
| 7358 | .vendor = "ST", |
| 7359 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7360 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7361 | .manufacture_id = ST_ID, |
| 7362 | .model_id = ST_M25P128, |
| 7363 | .total_size = 16384, |
| 7364 | .page_size = 256, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 7365 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7366 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7367 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7368 | .block_erasers = |
| 7369 | { |
| 7370 | { |
| 7371 | .eraseblocks = { {256 * 1024, 64} }, |
| 7372 | .block_erase = spi_block_erase_d8, |
| 7373 | }, { |
| 7374 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 7375 | .block_erase = spi_block_erase_c7, |
| 7376 | } |
| 7377 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7378 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7379 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7380 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7381 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7382 | }, |
| 7383 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7384 | { |
| 7385 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7386 | .name = "M25PX16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7387 | .bustype = BUS_SPI, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7388 | .manufacture_id = ST_ID, |
| 7389 | .model_id = ST_M25PX16, |
| 7390 | .total_size = 2048, |
| 7391 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 7392 | /* OTP: 64B total; read 0x4B; write 0x42 */ |
| 7393 | .feature_bits = FEATURE_OTP, |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 7394 | .tested = TEST_OK_PREW, |
| 7395 | .probe = probe_spi_rdid, |
| 7396 | .probe_timing = TIMING_ZERO, |
| 7397 | .block_erasers = |
| 7398 | { |
| 7399 | { |
| 7400 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 7401 | .block_erase = spi_block_erase_20, |
| 7402 | }, { |
| 7403 | .eraseblocks = { {64 * 1024, 32} }, |
| 7404 | .block_erase = spi_block_erase_d8, |
| 7405 | }, { |
| 7406 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7407 | .block_erase = spi_block_erase_c7, |
| 7408 | } |
| 7409 | }, |
| 7410 | .unlock = spi_disable_blockprotect, |
| 7411 | .write = spi_chip_write_256, |
| 7412 | .read = spi_chip_read, |
| 7413 | }, |
| 7414 | |
| 7415 | { |
| 7416 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7417 | .name = "M25PX32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7418 | .bustype = BUS_SPI, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7419 | .manufacture_id = ST_ID, |
| 7420 | .model_id = ST_M25PX32, |
| 7421 | .total_size = 4096, |
| 7422 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7423 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7424 | .probe = probe_spi_rdid, |
| 7425 | .probe_timing = TIMING_ZERO, |
| 7426 | .block_erasers = |
| 7427 | { |
| 7428 | { |
| 7429 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 7430 | .block_erase = spi_block_erase_20, |
| 7431 | }, { |
| 7432 | .eraseblocks = { {64 * 1024, 64} }, |
| 7433 | .block_erase = spi_block_erase_d8, |
| 7434 | }, { |
| 7435 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7436 | .block_erase = spi_block_erase_c7, |
| 7437 | } |
| 7438 | }, |
| 7439 | .unlock = spi_disable_blockprotect, |
| 7440 | .write = spi_chip_write_256, |
| 7441 | .read = spi_chip_read, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7442 | .voltage = {2700, 3600}, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 7443 | }, |
| 7444 | |
| 7445 | { |
| 7446 | .vendor = "ST", |
| 7447 | .name = "M25PX64", |
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_M25PX64, |
| 7451 | .total_size = 8192, |
| 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, 2048 } }, |
| 7460 | .block_erase = spi_block_erase_20, |
| 7461 | }, { |
| 7462 | .eraseblocks = { {64 * 1024, 128} }, |
| 7463 | .block_erase = spi_block_erase_d8, |
| 7464 | }, { |
| 7465 | .eraseblocks = { {8 * 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, |
| 7472 | }, |
| 7473 | |
| 7474 | { |
| 7475 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7476 | .name = "M29F002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7477 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7478 | .manufacture_id = ST_ID, |
| 7479 | .model_id = ST_M29F002B, |
| 7480 | .total_size = 256, |
| 7481 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7482 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7483 | .tested = TEST_UNTESTED, |
| 7484 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7485 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7486 | .block_erasers = |
| 7487 | { |
| 7488 | { |
| 7489 | .eraseblocks = { |
| 7490 | {16 * 1024, 1}, |
| 7491 | {8 * 1024, 2}, |
| 7492 | {32 * 1024, 1}, |
| 7493 | {64 * 1024, 3}, |
| 7494 | }, |
| 7495 | .block_erase = erase_sector_jedec, |
| 7496 | }, { |
| 7497 | .eraseblocks = { {256 * 1024, 1} }, |
| 7498 | .block_erase = erase_chip_block_jedec, |
| 7499 | } |
| 7500 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7501 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7502 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7503 | .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] | 7504 | }, |
| 7505 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7506 | { |
| 7507 | .vendor = "ST", |
| 7508 | .name = "M29F002T/NT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7509 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7510 | .manufacture_id = ST_ID, |
| 7511 | .model_id = ST_M29F002T, |
| 7512 | .total_size = 256, |
| 7513 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7514 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 7515 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7516 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7517 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7518 | .block_erasers = |
| 7519 | { |
| 7520 | { |
| 7521 | .eraseblocks = { |
| 7522 | {64 * 1024, 3}, |
| 7523 | {32 * 1024, 1}, |
| 7524 | {8 * 1024, 2}, |
| 7525 | {16 * 1024, 1}, |
| 7526 | }, |
| 7527 | .block_erase = erase_sector_jedec, |
| 7528 | }, { |
| 7529 | .eraseblocks = { {256 * 1024, 1} }, |
| 7530 | .block_erase = erase_chip_block_jedec, |
| 7531 | } |
| 7532 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7533 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7534 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 7535 | .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] | 7536 | }, |
| 7537 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7538 | { |
| 7539 | .vendor = "ST", |
| 7540 | .name = "M29F040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7541 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7542 | .manufacture_id = ST_ID, |
| 7543 | .model_id = ST_M29F040B, |
| 7544 | .total_size = 512, |
| 7545 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7546 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 7547 | .tested = TEST_UNTESTED, |
| 7548 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 7549 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7550 | .block_erasers = |
| 7551 | { |
| 7552 | { |
| 7553 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7554 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7555 | }, { |
| 7556 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7557 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7558 | } |
| 7559 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7560 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7561 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7562 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7563 | }, |
| 7564 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7565 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7566 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7567 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7568 | .name = "M29F400BB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7569 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7570 | .manufacture_id = ST_ID, |
| 7571 | .model_id = ST_M29F400BB, |
| 7572 | .total_size = 512, |
| 7573 | .page_size = 64 * 1024, |
| 7574 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7575 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7576 | .probe = probe_m29f400bt, |
| 7577 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 7578 | .block_erasers = |
| 7579 | { |
| 7580 | { |
| 7581 | .eraseblocks = { |
| 7582 | {16 * 1024, 1}, |
| 7583 | {8 * 1024, 2}, |
| 7584 | {32 * 1024, 1}, |
| 7585 | {64 * 1024, 7}, |
| 7586 | }, |
| 7587 | .block_erase = block_erase_m29f400bt, |
| 7588 | }, { |
| 7589 | .eraseblocks = { {512 * 1024, 1} }, |
| 7590 | .block_erase = block_erase_chip_m29f400bt, |
| 7591 | } |
| 7592 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 7593 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7594 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7595 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7596 | }, |
| 7597 | { |
| 7598 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 7599 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7600 | .name = "M29F400BT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7601 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7602 | .manufacture_id = ST_ID, |
| 7603 | .model_id = ST_M29F400BT, |
| 7604 | .total_size = 512, |
| 7605 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7606 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7607 | .tested = TEST_UNTESTED, |
| 7608 | .probe = probe_m29f400bt, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7609 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7610 | .block_erasers = |
| 7611 | { |
| 7612 | { |
| 7613 | .eraseblocks = { |
| 7614 | {64 * 1024, 7}, |
| 7615 | {32 * 1024, 1}, |
| 7616 | {8 * 1024, 2}, |
| 7617 | {16 * 1024, 1}, |
| 7618 | }, |
| 7619 | .block_erase = block_erase_m29f400bt, |
| 7620 | }, { |
| 7621 | .eraseblocks = { {512 * 1024, 1} }, |
| 7622 | .block_erase = block_erase_chip_m29f400bt, |
| 7623 | } |
| 7624 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 7625 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7626 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7627 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7628 | }, |
| 7629 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7630 | { |
| 7631 | .vendor = "ST", |
| 7632 | .name = "M29W010B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7633 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7634 | .manufacture_id = ST_ID, |
| 7635 | .model_id = ST_M29W010B, |
| 7636 | .total_size = 128, |
| 7637 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7638 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7639 | .tested = TEST_UNTESTED, |
| 7640 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7641 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7642 | .block_erasers = |
| 7643 | { |
| 7644 | { |
| 7645 | .eraseblocks = { {16 * 1024, 8}, }, |
| 7646 | .block_erase = erase_sector_jedec, |
| 7647 | }, { |
| 7648 | .eraseblocks = { {128 * 1024, 1} }, |
| 7649 | .block_erase = erase_chip_block_jedec, |
| 7650 | } |
| 7651 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7652 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7653 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7654 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7655 | }, |
| 7656 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7657 | { |
| 7658 | .vendor = "ST", |
| 7659 | .name = "M29W040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7660 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7661 | .manufacture_id = ST_ID, |
| 7662 | .model_id = ST_M29W040B, |
| 7663 | .total_size = 512, |
| 7664 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7665 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7666 | .tested = TEST_UNTESTED, |
| 7667 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7668 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7669 | .block_erasers = |
| 7670 | { |
| 7671 | { |
| 7672 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7673 | .block_erase = erase_sector_jedec, |
| 7674 | }, { |
| 7675 | .eraseblocks = { {512 * 1024, 1} }, |
| 7676 | .block_erase = erase_chip_block_jedec, |
| 7677 | } |
| 7678 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7679 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7680 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7681 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7682 | }, |
| 7683 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7684 | { |
| 7685 | .vendor = "ST", |
| 7686 | .name = "M29W512B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7687 | .bustype = BUS_PARALLEL, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7688 | .manufacture_id = ST_ID, |
| 7689 | .model_id = ST_M29W512B, |
| 7690 | .total_size = 64, |
| 7691 | .page_size = 64 * 1024, |
| 7692 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7693 | .tested = TEST_OK_PRE, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7694 | .probe = probe_jedec, |
| 7695 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7696 | .block_erasers = |
| 7697 | { |
| 7698 | { |
| 7699 | .eraseblocks = { {64 * 1024, 1} }, |
| 7700 | .block_erase = erase_chip_block_jedec, |
| 7701 | } |
| 7702 | }, |
| 7703 | .write = write_jedec_1, |
| 7704 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7705 | .voltage = {2700, 3600}, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 7706 | }, |
| 7707 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7708 | { |
| 7709 | .vendor = "ST", |
| 7710 | .name = "M50FLW040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7711 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7712 | .manufacture_id = ST_ID, |
| 7713 | .model_id = ST_M50FLW040A, |
| 7714 | .total_size = 512, |
| 7715 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7716 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7717 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7718 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7719 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7720 | .block_erasers = |
| 7721 | { |
| 7722 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7723 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7724 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7725 | {64 * 1024, 5}, /* block */ |
| 7726 | {4 * 1024, 16}, /* sector */ |
| 7727 | {4 * 1024, 16}, /* sector */ |
| 7728 | }, |
| 7729 | .block_erase = NULL, |
| 7730 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7731 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7732 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7733 | } |
| 7734 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7735 | .unlock = unlock_stm50flw0x0x, |
| 7736 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7737 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7738 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7739 | }, |
| 7740 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7741 | { |
| 7742 | .vendor = "ST", |
| 7743 | .name = "M50FLW040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7744 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7745 | .manufacture_id = ST_ID, |
| 7746 | .model_id = ST_M50FLW040B, |
| 7747 | .total_size = 512, |
| 7748 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7749 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7750 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7751 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7752 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7753 | .block_erasers = |
| 7754 | { |
| 7755 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7756 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7757 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7758 | {4 * 1024, 16}, /* sector */ |
| 7759 | {64 * 1024, 5}, /* block */ |
| 7760 | {4 * 1024, 16}, /* sector */ |
| 7761 | }, |
| 7762 | .block_erase = NULL, |
| 7763 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7764 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7765 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7766 | } |
| 7767 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7768 | .unlock = unlock_stm50flw0x0x, |
| 7769 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7770 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7771 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7772 | }, |
| 7773 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7774 | { |
| 7775 | .vendor = "ST", |
| 7776 | .name = "M50FLW080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7777 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7778 | .manufacture_id = ST_ID, |
| 7779 | .model_id = ST_M50FLW080A, |
| 7780 | .total_size = 1024, |
| 7781 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7782 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7783 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7784 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7785 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7786 | .block_erasers = |
| 7787 | { |
| 7788 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7789 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7790 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7791 | {64 * 1024, 13}, /* block */ |
| 7792 | {4 * 1024, 16}, /* sector */ |
| 7793 | {4 * 1024, 16}, /* sector */ |
| 7794 | }, |
| 7795 | .block_erase = NULL, |
| 7796 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7797 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7798 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7799 | } |
| 7800 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7801 | .unlock = unlock_stm50flw0x0x, |
| 7802 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7803 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7804 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7805 | }, |
| 7806 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7807 | { |
| 7808 | .vendor = "ST", |
| 7809 | .name = "M50FLW080B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7810 | .bustype = BUS_FWH | BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7811 | .manufacture_id = ST_ID, |
| 7812 | .model_id = ST_M50FLW080B, |
| 7813 | .total_size = 1024, |
| 7814 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7815 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7816 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7817 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7818 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7819 | .block_erasers = |
| 7820 | { |
| 7821 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7822 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 7823 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 7824 | {4 * 1024, 16}, /* sector */ |
| 7825 | {64 * 1024, 13}, /* block */ |
| 7826 | {4 * 1024, 16}, /* sector */ |
| 7827 | }, |
| 7828 | .block_erase = NULL, |
| 7829 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7830 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7831 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7832 | } |
| 7833 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7834 | .unlock = unlock_stm50flw0x0x, |
| 7835 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7836 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7837 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7838 | }, |
| 7839 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7840 | { |
| 7841 | .vendor = "ST", |
| 7842 | .name = "M50FW002", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7843 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7844 | .manufacture_id = ST_ID, |
| 7845 | .model_id = ST_M50FW002, |
| 7846 | .total_size = 256, |
| 7847 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7848 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7849 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7850 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7851 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7852 | .block_erasers = |
| 7853 | { |
| 7854 | { |
| 7855 | .eraseblocks = { |
| 7856 | {64 * 1024, 3}, |
| 7857 | {32 * 1024, 1}, |
| 7858 | {8 * 1024, 2}, |
| 7859 | {16 * 1024, 1}, |
| 7860 | }, |
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 = "M50FW016", |
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_M50FW016, |
| 7876 | .total_size = 2048, |
| 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, |
| 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 (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7882 | .block_erasers = |
| 7883 | { |
| 7884 | { |
| 7885 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7886 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7887 | } |
| 7888 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7889 | .unlock = unlock_stm50flw0x0x, |
| 7890 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7891 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7892 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7893 | }, |
| 7894 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7895 | { |
| 7896 | .vendor = "ST", |
| 7897 | .name = "M50FW040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7898 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7899 | .manufacture_id = ST_ID, |
| 7900 | .model_id = ST_M50FW040, |
| 7901 | .total_size = 512, |
| 7902 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7903 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7904 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7905 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7906 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7907 | .block_erasers = |
| 7908 | { |
| 7909 | { |
| 7910 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7911 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7912 | } |
| 7913 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7914 | .unlock = unlock_stm50flw0x0x, |
| 7915 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7916 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7917 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7918 | }, |
| 7919 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7920 | { |
| 7921 | .vendor = "ST", |
| 7922 | .name = "M50FW080", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7923 | .bustype = BUS_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7924 | .manufacture_id = ST_ID, |
| 7925 | .model_id = ST_M50FW080, |
| 7926 | .total_size = 1024, |
| 7927 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7928 | .feature_bits = FEATURE_REGISTERMAP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 7929 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7930 | .probe = probe_82802ab, |
Paul Menzel | c07a41c | 2011-06-19 17:23:55 +0000 | [diff] [blame] | 7931 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7932 | .block_erasers = |
| 7933 | { |
| 7934 | { |
| 7935 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7936 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7937 | } |
| 7938 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7939 | .unlock = unlock_stm50flw0x0x, |
| 7940 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7941 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7942 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7943 | }, |
| 7944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7945 | { |
| 7946 | .vendor = "ST", |
| 7947 | .name = "M50LPW116", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7948 | .bustype = BUS_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7949 | .manufacture_id = ST_ID, |
| 7950 | .model_id = ST_M50LPW116, |
| 7951 | .total_size = 2048, |
| 7952 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7953 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7954 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7955 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7956 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7957 | .block_erasers = |
| 7958 | { |
| 7959 | { |
| 7960 | .eraseblocks = { |
| 7961 | {4 * 1024, 16}, |
| 7962 | {64 * 1024, 30}, |
| 7963 | {32 * 1024, 1}, |
| 7964 | {8 * 1024, 2}, |
| 7965 | {16 * 1024, 1}, |
| 7966 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7967 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7968 | } |
| 7969 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7970 | .unlock = unlock_stm50flw0x0x, |
| 7971 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7972 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 7973 | .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7974 | }, |
| 7975 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7976 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7977 | .vendor = "SyncMOS/MoselVitelic", |
| 7978 | .name = "{F,S,V}29C51001B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 7979 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7980 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7981 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7982 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7983 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7984 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7985 | .tested = TEST_UNTESTED, |
| 7986 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7987 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7988 | .block_erasers = |
| 7989 | { |
| 7990 | { |
| 7991 | .eraseblocks = { {512, 256} }, |
| 7992 | .block_erase = erase_sector_jedec, |
| 7993 | }, { |
| 7994 | .eraseblocks = { {128 * 1024, 1} }, |
| 7995 | .block_erase = erase_chip_block_jedec, |
| 7996 | }, |
| 7997 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7998 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7999 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8000 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8001 | }, |
| 8002 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8003 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8004 | .vendor = "SyncMOS/MoselVitelic", |
| 8005 | .name = "{F,S,V}29C51001T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8006 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8007 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8008 | .model_id = SM_MVC_29C51001T, |
| 8009 | .total_size = 128, |
| 8010 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8011 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8012 | .tested = TEST_UNTESTED, |
| 8013 | .probe = probe_jedec, |
| 8014 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8015 | .block_erasers = |
| 8016 | { |
| 8017 | { |
| 8018 | .eraseblocks = { {512, 256} }, |
| 8019 | .block_erase = erase_sector_jedec, |
| 8020 | }, { |
| 8021 | .eraseblocks = { {128 * 1024, 1} }, |
| 8022 | .block_erase = erase_chip_block_jedec, |
| 8023 | }, |
| 8024 | }, |
| 8025 | .write = write_jedec_1, |
| 8026 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8027 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8028 | }, |
| 8029 | |
| 8030 | { |
| 8031 | .vendor = "SyncMOS/MoselVitelic", |
| 8032 | .name = "{F,S,V}29C51002B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8033 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8034 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8035 | .model_id = SM_MVC_29C51002B, |
| 8036 | .total_size = 256, |
| 8037 | .page_size = 512, |
| 8038 | .feature_bits = FEATURE_EITHER_RESET, |
| 8039 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8040 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8041 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8042 | .block_erasers = |
| 8043 | { |
| 8044 | { |
| 8045 | .eraseblocks = { {512, 512} }, |
| 8046 | .block_erase = erase_sector_jedec, |
| 8047 | }, { |
| 8048 | .eraseblocks = { {256 * 1024, 1} }, |
| 8049 | .block_erase = erase_chip_block_jedec, |
| 8050 | }, |
| 8051 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8052 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8053 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8054 | }, |
| 8055 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8056 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8057 | .vendor = "SyncMOS/MoselVitelic", |
| 8058 | .name = "{F,S,V}29C51002T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8059 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8060 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8061 | .model_id = SM_MVC_29C51002T, |
| 8062 | .total_size = 256, |
| 8063 | .page_size = 512, |
| 8064 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8065 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8066 | .probe = probe_jedec, |
| 8067 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8068 | .block_erasers = |
| 8069 | { |
| 8070 | { |
| 8071 | .eraseblocks = { {512, 512} }, |
| 8072 | .block_erase = erase_sector_jedec, |
| 8073 | }, { |
| 8074 | .eraseblocks = { {256 * 1024, 1} }, |
| 8075 | .block_erase = erase_chip_block_jedec, |
| 8076 | }, |
| 8077 | }, |
| 8078 | .write = write_jedec_1, |
| 8079 | .read = read_memmapped, |
| 8080 | }, |
| 8081 | |
| 8082 | { |
| 8083 | .vendor = "SyncMOS/MoselVitelic", |
| 8084 | .name = "{F,S,V}29C51004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8085 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8086 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8087 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8088 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8089 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8090 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8091 | .tested = TEST_UNTESTED, |
| 8092 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8093 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8094 | .block_erasers = |
| 8095 | { |
| 8096 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8097 | .eraseblocks = { {1024, 512} }, |
| 8098 | .block_erase = erase_sector_jedec, |
| 8099 | }, { |
| 8100 | .eraseblocks = { {512 * 1024, 1} }, |
| 8101 | .block_erase = erase_chip_block_jedec, |
| 8102 | }, |
| 8103 | }, |
| 8104 | .write = write_jedec_1, |
| 8105 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8106 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8107 | }, |
| 8108 | |
| 8109 | { |
| 8110 | .vendor = "SyncMOS/MoselVitelic", |
| 8111 | .name = "{F,S,V}29C51004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8112 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8113 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8114 | .model_id = SM_MVC_29C51004T, |
| 8115 | .total_size = 512, |
| 8116 | .page_size = 1024, |
| 8117 | .feature_bits = FEATURE_EITHER_RESET, |
| 8118 | .tested = TEST_UNTESTED, |
| 8119 | .probe = probe_jedec, |
| 8120 | .probe_timing = TIMING_ZERO, |
| 8121 | .block_erasers = |
| 8122 | { |
| 8123 | { |
| 8124 | .eraseblocks = { {1024, 512} }, |
| 8125 | .block_erase = erase_sector_jedec, |
| 8126 | }, { |
| 8127 | .eraseblocks = { {512 * 1024, 1} }, |
| 8128 | .block_erase = erase_chip_block_jedec, |
| 8129 | }, |
| 8130 | }, |
| 8131 | .write = write_jedec_1, |
| 8132 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8133 | .voltage = {4500, 5500}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8134 | }, |
| 8135 | |
| 8136 | { |
| 8137 | .vendor = "SyncMOS/MoselVitelic", |
| 8138 | .name = "{S,V}29C31004B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8139 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8140 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8141 | .model_id = SM_MVC_29C31004B, |
| 8142 | .total_size = 512, |
| 8143 | .page_size = 1024, |
| 8144 | .feature_bits = FEATURE_EITHER_RESET, |
| 8145 | .tested = TEST_UNTESTED, |
| 8146 | .probe = probe_jedec, |
| 8147 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8148 | .block_erasers = |
| 8149 | { |
| 8150 | { |
| 8151 | .eraseblocks = { {1024, 512} }, |
| 8152 | .block_erase = erase_sector_jedec, |
| 8153 | }, { |
| 8154 | .eraseblocks = { {512 * 1024, 1} }, |
| 8155 | .block_erase = erase_chip_block_jedec, |
| 8156 | }, |
| 8157 | }, |
| 8158 | .write = write_jedec_1, |
| 8159 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8160 | .voltage = {3000, 3600}, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8161 | }, |
| 8162 | |
| 8163 | { |
| 8164 | .vendor = "SyncMOS/MoselVitelic", |
| 8165 | .name = "{S,V}29C31004T", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8166 | .bustype = BUS_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 8167 | .manufacture_id = SYNCMOS_MVC_ID, |
| 8168 | .model_id = SM_MVC_29C31004T, |
| 8169 | .total_size = 512, |
| 8170 | .page_size = 1024, |
| 8171 | .feature_bits = FEATURE_EITHER_RESET, |
| 8172 | .tested = TEST_UNTESTED, |
| 8173 | .probe = probe_jedec, |
| 8174 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 8175 | .block_erasers = |
| 8176 | { |
| 8177 | { |
| 8178 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8179 | .block_erase = erase_sector_jedec, |
| 8180 | }, { |
| 8181 | .eraseblocks = { {512 * 1024, 1} }, |
| 8182 | .block_erase = erase_chip_block_jedec, |
| 8183 | }, |
| 8184 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8185 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8186 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8187 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8188 | }, |
| 8189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8190 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 8191 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8192 | .name = "TMS29F002RB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8193 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8194 | .manufacture_id = TI_OLD_ID, |
| 8195 | .model_id = TI_TMS29F002RB, |
| 8196 | .total_size = 256, |
| 8197 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8198 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8199 | .tested = TEST_UNTESTED, |
| 8200 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8201 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8202 | .block_erasers = |
| 8203 | { |
| 8204 | { |
| 8205 | .eraseblocks = { |
| 8206 | {16 * 1024, 1}, |
| 8207 | {8 * 1024, 2}, |
| 8208 | {32 * 1024, 1}, |
| 8209 | {64 * 1024, 3}, |
| 8210 | }, |
| 8211 | .block_erase = erase_sector_jedec, |
| 8212 | }, { |
| 8213 | .eraseblocks = { {256 * 1024, 1} }, |
| 8214 | .block_erase = erase_chip_block_jedec, |
| 8215 | }, |
| 8216 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8217 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8218 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8219 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8220 | }, |
| 8221 | |
| 8222 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 8223 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8224 | .name = "TMS29F002RT", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8225 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8226 | .manufacture_id = TI_OLD_ID, |
| 8227 | .model_id = TI_TMS29F002RT, |
| 8228 | .total_size = 256, |
| 8229 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8230 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8231 | .tested = TEST_UNTESTED, |
| 8232 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8233 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 8234 | .block_erasers = |
| 8235 | { |
| 8236 | { |
| 8237 | .eraseblocks = { |
| 8238 | {64 * 1024, 3}, |
| 8239 | {32 * 1024, 1}, |
| 8240 | {8 * 1024, 2}, |
| 8241 | {16 * 1024, 1}, |
| 8242 | }, |
| 8243 | .block_erase = erase_sector_jedec, |
| 8244 | }, { |
| 8245 | .eraseblocks = { {256 * 1024, 1} }, |
| 8246 | .block_erase = erase_chip_block_jedec, |
| 8247 | }, |
| 8248 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8249 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8250 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8251 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 8252 | }, |
| 8253 | |
| 8254 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8255 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8256 | .name = "W25Q80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8257 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8258 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8259 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8260 | .total_size = 1024, |
| 8261 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8262 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8263 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8264 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8265 | .probe = probe_spi_rdid, |
| 8266 | .probe_timing = TIMING_ZERO, |
| 8267 | .block_erasers = |
| 8268 | { |
| 8269 | { |
| 8270 | .eraseblocks = { {4 * 1024, 256} }, |
| 8271 | .block_erase = spi_block_erase_20, |
| 8272 | }, { |
| 8273 | .eraseblocks = { {32 * 1024, 32} }, |
| 8274 | .block_erase = spi_block_erase_52, |
| 8275 | }, { |
| 8276 | .eraseblocks = { {64 * 1024, 16} }, |
| 8277 | .block_erase = spi_block_erase_d8, |
| 8278 | }, { |
| 8279 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8280 | .block_erase = spi_block_erase_60, |
| 8281 | }, { |
| 8282 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8283 | .block_erase = spi_block_erase_c7, |
| 8284 | } |
| 8285 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8286 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8287 | .write = spi_chip_write_256, |
| 8288 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8289 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8290 | }, |
| 8291 | |
| 8292 | { |
| 8293 | .vendor = "Winbond", |
| 8294 | .name = "W25Q16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8295 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8296 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8297 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8298 | .total_size = 2048, |
| 8299 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8300 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8301 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8302 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8303 | .probe = probe_spi_rdid, |
| 8304 | .probe_timing = TIMING_ZERO, |
| 8305 | .block_erasers = |
| 8306 | { |
| 8307 | { |
| 8308 | .eraseblocks = { {4 * 1024, 512} }, |
| 8309 | .block_erase = spi_block_erase_20, |
| 8310 | }, { |
| 8311 | .eraseblocks = { {32 * 1024, 64} }, |
| 8312 | .block_erase = spi_block_erase_52, |
| 8313 | }, { |
| 8314 | .eraseblocks = { {64 * 1024, 32} }, |
| 8315 | .block_erase = spi_block_erase_d8, |
| 8316 | }, { |
| 8317 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8318 | .block_erase = spi_block_erase_60, |
| 8319 | }, { |
| 8320 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8321 | .block_erase = spi_block_erase_c7, |
| 8322 | } |
| 8323 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8324 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8325 | .write = spi_chip_write_256, |
| 8326 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8327 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8328 | }, |
| 8329 | |
| 8330 | { |
| 8331 | .vendor = "Winbond", |
| 8332 | .name = "W25Q32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8333 | .bustype = BUS_SPI, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8334 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8335 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8336 | .total_size = 4096, |
| 8337 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8338 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8339 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8340 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8341 | .probe = probe_spi_rdid, |
| 8342 | .probe_timing = TIMING_ZERO, |
| 8343 | .block_erasers = |
| 8344 | { |
| 8345 | { |
| 8346 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8347 | .block_erase = spi_block_erase_20, |
| 8348 | }, { |
| 8349 | .eraseblocks = { {32 * 1024, 128} }, |
| 8350 | .block_erase = spi_block_erase_52, |
| 8351 | }, { |
| 8352 | .eraseblocks = { {64 * 1024, 64} }, |
| 8353 | .block_erase = spi_block_erase_d8, |
| 8354 | }, { |
| 8355 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8356 | .block_erase = spi_block_erase_60, |
| 8357 | }, { |
| 8358 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8359 | .block_erase = spi_block_erase_c7, |
| 8360 | } |
| 8361 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8362 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8363 | .write = spi_chip_write_256, |
| 8364 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8365 | .voltage = {2700, 3600}, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 8366 | }, |
| 8367 | |
| 8368 | { |
| 8369 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8370 | .name = "W25Q64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8371 | .bustype = BUS_SPI, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8372 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8373 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8374 | .total_size = 8192, |
| 8375 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8376 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8377 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 8378 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8379 | .probe = probe_spi_rdid, |
| 8380 | .probe_timing = TIMING_ZERO, |
| 8381 | .block_erasers = |
| 8382 | { |
| 8383 | { |
| 8384 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8385 | .block_erase = spi_block_erase_20, |
| 8386 | }, { |
| 8387 | .eraseblocks = { {32 * 1024, 256} }, |
| 8388 | .block_erase = spi_block_erase_52, |
| 8389 | }, { |
| 8390 | .eraseblocks = { {64 * 1024, 128} }, |
| 8391 | .block_erase = spi_block_erase_d8, |
| 8392 | }, { |
| 8393 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8394 | .block_erase = spi_block_erase_60, |
| 8395 | }, { |
| 8396 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8397 | .block_erase = spi_block_erase_c7, |
| 8398 | } |
| 8399 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8400 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 8401 | .write = spi_chip_write_256, |
| 8402 | .read = spi_chip_read, |
| 8403 | }, |
| 8404 | |
| 8405 | { |
| 8406 | .vendor = "Winbond", |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8407 | .name = "W25Q128", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8408 | .bustype = BUS_SPI, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8409 | .manufacture_id = WINBOND_NEX_ID, |
| 8410 | .model_id = WINBOND_NEX_W25Q128, |
| 8411 | .total_size = 16384, |
| 8412 | .page_size = 256, |
Daniel Lenski | 65922a3 | 2012-02-15 23:40:23 +0000 | [diff] [blame] | 8413 | /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */ |
| 8414 | .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8415 | .tested = TEST_OK_PROBE, |
| 8416 | .probe = probe_spi_rdid, |
| 8417 | .probe_timing = TIMING_ZERO, |
| 8418 | .block_erasers = |
| 8419 | { |
| 8420 | { |
| 8421 | .eraseblocks = { {4 * 1024, 4096} }, |
| 8422 | .block_erase = spi_block_erase_20, |
| 8423 | }, { |
| 8424 | .eraseblocks = { {32 * 1024, 512} }, |
| 8425 | .block_erase = spi_block_erase_52, |
| 8426 | }, { |
| 8427 | .eraseblocks = { {64 * 1024, 256} }, |
| 8428 | .block_erase = spi_block_erase_d8, |
| 8429 | }, { |
| 8430 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8431 | .block_erase = spi_block_erase_60, |
| 8432 | }, { |
| 8433 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 8434 | .block_erase = spi_block_erase_c7, |
| 8435 | } |
| 8436 | }, |
| 8437 | .unlock = spi_disable_blockprotect, |
| 8438 | .write = spi_chip_write_256, |
| 8439 | .read = spi_chip_read, |
| 8440 | }, |
| 8441 | |
| 8442 | { |
| 8443 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8444 | .name = "W25X10", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8445 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8446 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8447 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8448 | .total_size = 128, |
| 8449 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8450 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8451 | .tested = TEST_UNTESTED, |
| 8452 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8453 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8454 | .block_erasers = |
| 8455 | { |
| 8456 | { |
| 8457 | .eraseblocks = { {4 * 1024, 32} }, |
| 8458 | .block_erase = spi_block_erase_20, |
| 8459 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8460 | .eraseblocks = { {64 * 1024, 2} }, |
| 8461 | .block_erase = spi_block_erase_d8, |
| 8462 | }, { |
| 8463 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8464 | .block_erase = spi_block_erase_c7, |
| 8465 | } |
| 8466 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8467 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8468 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8469 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8470 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8471 | }, |
| 8472 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8473 | { |
| 8474 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8475 | .name = "W25X20", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8476 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8477 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8478 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8479 | .total_size = 256, |
| 8480 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8481 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8482 | .tested = TEST_UNTESTED, |
| 8483 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8484 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8485 | .block_erasers = |
| 8486 | { |
| 8487 | { |
| 8488 | .eraseblocks = { {4 * 1024, 64} }, |
| 8489 | .block_erase = spi_block_erase_20, |
| 8490 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8491 | .eraseblocks = { {64 * 1024, 4} }, |
| 8492 | .block_erase = spi_block_erase_d8, |
| 8493 | }, { |
| 8494 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8495 | .block_erase = spi_block_erase_c7, |
| 8496 | } |
| 8497 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8498 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8499 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8500 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8501 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8502 | }, |
| 8503 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8504 | { |
| 8505 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8506 | .name = "W25X40", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8507 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8508 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8509 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8510 | .total_size = 512, |
| 8511 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8512 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8513 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8514 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8515 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8516 | .block_erasers = |
| 8517 | { |
| 8518 | { |
| 8519 | .eraseblocks = { {4 * 1024, 128} }, |
| 8520 | .block_erase = spi_block_erase_20, |
| 8521 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8522 | .eraseblocks = { {64 * 1024, 8} }, |
| 8523 | .block_erase = spi_block_erase_d8, |
| 8524 | }, { |
| 8525 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8526 | .block_erase = spi_block_erase_c7, |
| 8527 | } |
| 8528 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8529 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8530 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8531 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8532 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8533 | }, |
| 8534 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8535 | { |
| 8536 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8537 | .name = "W25X80", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8538 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8539 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8540 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8541 | .total_size = 1024, |
| 8542 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8543 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 8544 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8545 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8546 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8547 | .block_erasers = |
| 8548 | { |
| 8549 | { |
| 8550 | .eraseblocks = { {4 * 1024, 256} }, |
| 8551 | .block_erase = spi_block_erase_20, |
| 8552 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8553 | .eraseblocks = { {64 * 1024, 16} }, |
| 8554 | .block_erase = spi_block_erase_d8, |
| 8555 | }, { |
| 8556 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8557 | .block_erase = spi_block_erase_c7, |
| 8558 | } |
| 8559 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8560 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 8561 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8562 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8563 | .voltage = {2700, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8564 | }, |
| 8565 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8566 | { |
| 8567 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8568 | .name = "W25X16", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8569 | .bustype = BUS_SPI, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8570 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8571 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8572 | .total_size = 2048, |
| 8573 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8574 | .feature_bits = FEATURE_WRSR_WREN, |
Stefan Tauner | 8179be5 | 2011-06-04 13:13:34 +0000 | [diff] [blame] | 8575 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8576 | .probe = probe_spi_rdid, |
| 8577 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8578 | .block_erasers = |
| 8579 | { |
| 8580 | { |
| 8581 | .eraseblocks = { {4 * 1024, 512} }, |
| 8582 | .block_erase = spi_block_erase_20, |
| 8583 | }, { |
| 8584 | .eraseblocks = { {32 * 1024, 64} }, |
| 8585 | .block_erase = spi_block_erase_52, |
| 8586 | }, { |
| 8587 | .eraseblocks = { {64 * 1024, 32} }, |
| 8588 | .block_erase = spi_block_erase_d8, |
| 8589 | }, { |
| 8590 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8591 | .block_erase = spi_block_erase_60, |
| 8592 | }, { |
| 8593 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 8594 | .block_erase = spi_block_erase_c7, |
| 8595 | } |
| 8596 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8597 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8598 | .write = spi_chip_write_256, |
| 8599 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8600 | .voltage = {2700, 3600}, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 8601 | }, |
| 8602 | |
| 8603 | { |
| 8604 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8605 | .name = "W25X32", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8606 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8607 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8608 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8609 | .total_size = 4096, |
| 8610 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8611 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8612 | .tested = TEST_OK_PROBE, |
| 8613 | .probe = probe_spi_rdid, |
| 8614 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8615 | .block_erasers = |
| 8616 | { |
| 8617 | { |
| 8618 | .eraseblocks = { {4 * 1024, 1024} }, |
| 8619 | .block_erase = spi_block_erase_20, |
| 8620 | }, { |
| 8621 | .eraseblocks = { {32 * 1024, 128} }, |
| 8622 | .block_erase = spi_block_erase_52, |
| 8623 | }, { |
| 8624 | .eraseblocks = { {64 * 1024, 64} }, |
| 8625 | .block_erase = spi_block_erase_d8, |
| 8626 | }, { |
| 8627 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8628 | .block_erase = spi_block_erase_60, |
| 8629 | }, { |
| 8630 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 8631 | .block_erase = spi_block_erase_c7, |
| 8632 | } |
| 8633 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8634 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8635 | .write = spi_chip_write_256, |
| 8636 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8637 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8638 | }, |
| 8639 | |
| 8640 | { |
| 8641 | .vendor = "Winbond", |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8642 | .name = "W25X64", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8643 | .bustype = BUS_SPI, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8644 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8645 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8646 | .total_size = 8192, |
| 8647 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 8648 | .feature_bits = FEATURE_WRSR_WREN, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8649 | .tested = TEST_OK_PROBE, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8650 | .probe = probe_spi_rdid, |
| 8651 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8652 | .block_erasers = |
| 8653 | { |
| 8654 | { |
| 8655 | .eraseblocks = { {4 * 1024, 2048} }, |
| 8656 | .block_erase = spi_block_erase_20, |
| 8657 | }, { |
| 8658 | .eraseblocks = { {32 * 1024, 256} }, |
| 8659 | .block_erase = spi_block_erase_52, |
| 8660 | }, { |
| 8661 | .eraseblocks = { {64 * 1024, 128} }, |
| 8662 | .block_erase = spi_block_erase_d8, |
| 8663 | }, { |
| 8664 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8665 | .block_erase = spi_block_erase_60, |
| 8666 | }, { |
| 8667 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 8668 | .block_erase = spi_block_erase_c7, |
| 8669 | } |
| 8670 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 8671 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8672 | .write = spi_chip_write_256, |
| 8673 | .read = spi_chip_read, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8674 | .voltage = {2700, 3600}, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 8675 | }, |
| 8676 | |
| 8677 | { |
| 8678 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8679 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012-old", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8680 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | 2e88a9f | 2011-07-26 14:18:52 +0000 | [diff] [blame] | 8681 | .manufacture_id = WINBOND_ID, |
| 8682 | .model_id = WINBOND_W29C010, |
| 8683 | .total_size = 128, |
| 8684 | .page_size = 128, |
| 8685 | .feature_bits = FEATURE_LONG_RESET, |
| 8686 | .tested = TEST_OK_PRE, |
| 8687 | .probe = probe_w29ee011, |
| 8688 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (w29ee011.c) */ |
| 8689 | .block_erasers = |
| 8690 | { |
| 8691 | { |
| 8692 | .eraseblocks = { {128 * 1024, 1} }, |
| 8693 | .block_erase = erase_chip_block_jedec, |
| 8694 | } |
| 8695 | }, |
| 8696 | .write = write_jedec, |
| 8697 | .read = read_memmapped, |
| 8698 | }, |
| 8699 | |
| 8700 | {/* W29EE011, W29EE012, W29C010M, W29C011A do not support probe_jedec according to the datasheet, but it works for newer(?) steppings. */ |
| 8701 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8702 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8703 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8704 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8705 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8706 | .total_size = 128, |
| 8707 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8708 | .feature_bits = FEATURE_LONG_RESET, |
David Hendricks | 567b7b8 | 2011-05-18 01:31:03 +0000 | [diff] [blame] | 8709 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8710 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8711 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8712 | .block_erasers = |
| 8713 | { |
| 8714 | { |
| 8715 | .eraseblocks = { {128 * 1024, 1} }, |
| 8716 | .block_erase = erase_chip_block_jedec, |
| 8717 | } |
| 8718 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8719 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8720 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8721 | }, |
| 8722 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8723 | { |
| 8724 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8725 | .name = "W29C020(C)/W29C022", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8726 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8727 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8728 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8729 | .total_size = 256, |
| 8730 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8731 | .feature_bits = FEATURE_LONG_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8732 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8733 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 8734 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8735 | .block_erasers = |
| 8736 | { |
| 8737 | { |
| 8738 | .eraseblocks = { {256 * 1024, 1} }, |
| 8739 | .block_erase = erase_chip_block_jedec, |
| 8740 | } |
| 8741 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8742 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8743 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8744 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8745 | }, |
| 8746 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8747 | { |
| 8748 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8749 | .name = "W29C040/P", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8750 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8751 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8752 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8753 | .total_size = 512, |
| 8754 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8755 | .feature_bits = FEATURE_LONG_RESET, |
| 8756 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8757 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8758 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8759 | .block_erasers = |
| 8760 | { |
| 8761 | { |
| 8762 | .eraseblocks = { {512 * 1024, 1} }, |
| 8763 | .block_erase = erase_chip_block_jedec, |
| 8764 | } |
| 8765 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8766 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8767 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8768 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8769 | }, |
| 8770 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8771 | { |
| 8772 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8773 | .name = "W39L040", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8774 | .bustype = BUS_PARALLEL, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8775 | .manufacture_id = WINBOND_ID, |
| 8776 | .model_id = WINBOND_W39L040, |
| 8777 | .total_size = 512, |
| 8778 | .page_size = 64 * 1024, |
| 8779 | .feature_bits = FEATURE_EITHER_RESET, |
| 8780 | .tested = TEST_OK_PR, |
| 8781 | .probe = probe_jedec, |
| 8782 | .probe_timing = 10, |
| 8783 | .block_erasers = |
| 8784 | { |
| 8785 | { |
| 8786 | .eraseblocks = { {4 * 1024, 128} }, |
| 8787 | .block_erase = erase_block_jedec, |
| 8788 | }, { |
| 8789 | .eraseblocks = { {64 * 1024, 8} }, |
| 8790 | .block_erase = erase_sector_jedec, |
| 8791 | }, { |
| 8792 | .eraseblocks = { {512 * 1024, 1} }, |
| 8793 | .block_erase = erase_chip_block_jedec, |
| 8794 | } |
| 8795 | }, |
| 8796 | .printlock = printlock_w39l040, |
| 8797 | .write = write_jedec_1, |
| 8798 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8799 | .voltage = {3000, 3600}, |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 8800 | }, |
| 8801 | |
| 8802 | { |
| 8803 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8804 | .name = "W39V040A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8805 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8806 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8807 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8808 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8809 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8810 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8811 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8812 | .probe = probe_jedec, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 8813 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8814 | .block_erasers = |
| 8815 | { |
| 8816 | { |
| 8817 | .eraseblocks = { {64 * 1024, 8} }, |
| 8818 | .block_erase = erase_sector_jedec, |
| 8819 | }, { |
| 8820 | .eraseblocks = { {512 * 1024, 1} }, |
| 8821 | .block_erase = erase_chip_block_jedec, |
| 8822 | } |
| 8823 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8824 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8825 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8826 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8827 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8828 | }, |
| 8829 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8830 | { |
| 8831 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8832 | .name = "W39V040B", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8833 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8834 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8835 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8836 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8837 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8838 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8839 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8840 | .probe = probe_jedec, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8841 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8842 | .block_erasers = |
| 8843 | { |
| 8844 | { |
| 8845 | .eraseblocks = { {64 * 1024, 8} }, |
| 8846 | .block_erase = erase_sector_jedec, |
| 8847 | }, { |
| 8848 | .eraseblocks = { {512 * 1024, 1} }, |
| 8849 | .block_erase = erase_chip_block_jedec, |
| 8850 | } |
| 8851 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8852 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8853 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8854 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8855 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8856 | }, |
| 8857 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8858 | { |
| 8859 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8860 | .name = "W39V040C", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8861 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8862 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8863 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8864 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8865 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8866 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | 018d482 | 2011-10-21 12:33:07 +0000 | [diff] [blame] | 8867 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8868 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8869 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8870 | .block_erasers = |
| 8871 | { |
| 8872 | { |
| 8873 | .eraseblocks = { {64 * 1024, 8} }, |
| 8874 | .block_erase = erase_sector_jedec, |
| 8875 | }, { |
| 8876 | .eraseblocks = { {512 * 1024, 1} }, |
| 8877 | .block_erase = erase_chip_block_jedec, |
| 8878 | } |
| 8879 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 8880 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8881 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8882 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8883 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8884 | }, |
| 8885 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8886 | { |
| 8887 | .vendor = "Winbond", |
| 8888 | .name = "W39V040FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8889 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8890 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8891 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8892 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8893 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8894 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8895 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8896 | .probe = probe_jedec, |
Antony Rheneus | 0fbba98 | 2011-05-26 14:28:51 +0000 | [diff] [blame] | 8897 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8898 | .block_erasers = |
| 8899 | { |
| 8900 | { |
| 8901 | .eraseblocks = { {4 * 1024, 128} }, |
| 8902 | .block_erase = erase_block_jedec, |
| 8903 | }, { |
| 8904 | .eraseblocks = { {64 * 1024, 8} }, |
| 8905 | .block_erase = erase_sector_jedec, |
| 8906 | }, { |
| 8907 | .eraseblocks = { {512 * 1024, 1} }, |
| 8908 | .block_erase = erase_chip_block_jedec, |
| 8909 | } |
| 8910 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8911 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 8912 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8913 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8914 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 8915 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8916 | }, |
| 8917 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8918 | { |
| 8919 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8920 | .name = "W39V040FB", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8921 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8922 | .manufacture_id = WINBOND_ID, |
| 8923 | .model_id = WINBOND_W39V040B, |
| 8924 | .total_size = 512, |
| 8925 | .page_size = 64 * 1024, |
| 8926 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 8927 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8928 | .probe = probe_jedec, |
| 8929 | .probe_timing = 10, |
| 8930 | .block_erasers = |
| 8931 | { |
| 8932 | { |
| 8933 | .eraseblocks = { {64 * 1024, 8} }, |
| 8934 | .block_erase = erase_sector_jedec, |
| 8935 | }, { |
| 8936 | .eraseblocks = { {512 * 1024, 1} }, |
| 8937 | .block_erase = erase_chip_block_jedec, |
| 8938 | } |
| 8939 | }, |
| 8940 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 8941 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8942 | .write = write_jedec_1, |
| 8943 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8944 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8945 | }, |
| 8946 | |
| 8947 | { |
| 8948 | .vendor = "Winbond", |
| 8949 | .name = "W39V040FC", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8950 | .bustype = BUS_FWH, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8951 | .manufacture_id = WINBOND_ID, |
| 8952 | .model_id = WINBOND_W39V040C, |
| 8953 | .total_size = 512, |
| 8954 | .page_size = 64 * 1024, |
| 8955 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 8956 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8957 | .probe = probe_jedec, |
| 8958 | .probe_timing = 10, |
| 8959 | .block_erasers = |
| 8960 | { |
| 8961 | { |
| 8962 | .eraseblocks = { {64 * 1024, 8} }, |
| 8963 | .block_erase = erase_sector_jedec, |
| 8964 | }, { |
| 8965 | .eraseblocks = { {512 * 1024, 1} }, |
| 8966 | .block_erase = erase_chip_block_jedec, |
| 8967 | } |
| 8968 | }, |
| 8969 | .printlock = printlock_w39v040fc, |
| 8970 | .write = write_jedec_1, |
| 8971 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 8972 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8973 | }, |
| 8974 | |
| 8975 | { |
| 8976 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8977 | .name = "W39V080A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 8978 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8979 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8980 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8981 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8982 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8983 | .feature_bits = FEATURE_EITHER_RESET, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 8984 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8985 | .probe = probe_jedec, |
Paul Menzel | ac427b2 | 2012-02-16 21:07:07 +0000 | [diff] [blame] | 8986 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8987 | .block_erasers = |
| 8988 | { |
| 8989 | { |
| 8990 | .eraseblocks = { {64 * 1024, 16} }, |
| 8991 | .block_erase = erase_sector_jedec, |
| 8992 | }, { |
| 8993 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8994 | .block_erase = erase_chip_block_jedec, |
| 8995 | } |
| 8996 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8997 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8998 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8999 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9000 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9001 | }, |
| 9002 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9003 | { |
| 9004 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9005 | .name = "W49F002U/N", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9006 | .bustype = BUS_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9007 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9008 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9009 | .total_size = 256, |
| 9010 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9011 | .feature_bits = FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9012 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9013 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9014 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9015 | .block_erasers = |
| 9016 | { |
| 9017 | { |
| 9018 | .eraseblocks = { |
| 9019 | {128 * 1024, 1}, |
| 9020 | {96 * 1024, 1}, |
| 9021 | {8 * 1024, 2}, |
| 9022 | {16 * 1024, 1}, |
| 9023 | }, |
| 9024 | .block_erase = erase_sector_jedec, |
| 9025 | }, { |
| 9026 | .eraseblocks = { {256 * 1024, 1} }, |
| 9027 | .block_erase = erase_chip_block_jedec, |
| 9028 | } |
| 9029 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9030 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9031 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9032 | .voltage = {4500, 5500}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9033 | }, |
| 9034 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9035 | { |
| 9036 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9037 | .name = "W49F020", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9038 | .bustype = BUS_PARALLEL, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9039 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9040 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9041 | .total_size = 256, |
| 9042 | .page_size = 128, |
| 9043 | .feature_bits = FEATURE_EITHER_RESET, |
| 9044 | .tested = TEST_OK_PROBE, |
| 9045 | .probe = probe_jedec, |
| 9046 | .probe_timing = 10, |
| 9047 | .block_erasers = |
| 9048 | { |
| 9049 | { |
| 9050 | .eraseblocks = { {256 * 1024, 1} }, |
| 9051 | .block_erase = erase_chip_block_jedec, |
| 9052 | } |
| 9053 | }, |
| 9054 | .write = write_jedec_1, |
| 9055 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9056 | .voltage = {4500, 5500}, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 9057 | }, |
| 9058 | |
| 9059 | { |
| 9060 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9061 | .name = "W49V002A", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9062 | .bustype = BUS_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9063 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9064 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9065 | .total_size = 256, |
| 9066 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9067 | .feature_bits = FEATURE_EITHER_RESET, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9068 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9069 | .probe = probe_jedec, |
Cristian Măgherușan-Stanciu | 9932c7b | 2011-07-07 19:56:58 +0000 | [diff] [blame] | 9070 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9071 | .block_erasers = |
| 9072 | { |
| 9073 | { |
| 9074 | .eraseblocks = { |
| 9075 | {64 * 1024, 3}, |
| 9076 | {32 * 1024, 1}, |
| 9077 | {8 * 1024, 2}, |
| 9078 | {16 * 1024, 1}, |
| 9079 | }, |
| 9080 | .block_erase = erase_sector_jedec, |
| 9081 | }, { |
| 9082 | .eraseblocks = { {256 * 1024, 1} }, |
| 9083 | .block_erase = erase_chip_block_jedec, |
| 9084 | } |
| 9085 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9086 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9087 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9088 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9089 | }, |
| 9090 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9091 | { |
| 9092 | .vendor = "Winbond", |
| 9093 | .name = "W49V002FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9094 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9095 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9096 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9097 | .total_size = 256, |
| 9098 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9099 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 9100 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9101 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 9102 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9103 | .block_erasers = |
| 9104 | { |
| 9105 | { |
| 9106 | .eraseblocks = { |
| 9107 | {64 * 1024, 3}, |
| 9108 | {32 * 1024, 1}, |
| 9109 | {8 * 1024, 2}, |
| 9110 | {16 * 1024, 1}, |
| 9111 | }, |
| 9112 | .block_erase = erase_sector_jedec, |
| 9113 | }, { |
| 9114 | .eraseblocks = { {256 * 1024, 1} }, |
| 9115 | .block_erase = erase_chip_block_jedec, |
| 9116 | } |
| 9117 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9118 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9119 | .read = read_memmapped, |
Steven Zakulec | cbe370e | 2011-06-03 07:26:31 +0000 | [diff] [blame] | 9120 | .voltage = {3000, 3600}, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9121 | }, |
| 9122 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9123 | { |
| 9124 | .vendor = "Winbond", |
| 9125 | .name = "W39V080FA", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9126 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9127 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9128 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9129 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9130 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9131 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stefan Tauner | 716e098 | 2011-07-25 20:38:52 +0000 | [diff] [blame] | 9132 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9133 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9134 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9135 | .block_erasers = |
| 9136 | { |
| 9137 | { |
| 9138 | .eraseblocks = { {64 * 1024, 16}, }, |
| 9139 | .block_erase = erase_sector_jedec, |
| 9140 | }, { |
| 9141 | .eraseblocks = { {1024 * 1024, 1} }, |
| 9142 | .block_erase = erase_chip_block_jedec, |
| 9143 | } |
| 9144 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9145 | .printlock = printlock_w39v080fa, |
| 9146 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9147 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9148 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9149 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9150 | }, |
| 9151 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9152 | { |
| 9153 | .vendor = "Winbond", |
| 9154 | .name = "W39V080FA (dual mode)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9155 | .bustype = BUS_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9156 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 9157 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9158 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 9159 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9160 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9161 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 9162 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9163 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 9164 | .block_erasers = |
| 9165 | { |
| 9166 | { |
| 9167 | .eraseblocks = { {64 * 1024, 8}, }, |
| 9168 | .block_erase = erase_sector_jedec, |
| 9169 | }, { |
| 9170 | .eraseblocks = { {512 * 1024, 1} }, |
| 9171 | .block_erase = erase_chip_block_jedec, |
| 9172 | } |
| 9173 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 9174 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 9175 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9176 | .read = read_memmapped, |
Steven Zakulec | 7d257b4 | 2011-07-19 08:50:18 +0000 | [diff] [blame] | 9177 | .voltage = {3000, 3600}, /* Also has 12V fast program */ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9178 | }, |
Stefan Tauner | ac1b4c8 | 2012-02-17 14:51:04 +0000 | [diff] [blame] | 9179 | |
| 9180 | { |
| 9181 | .vendor = "Unknown", |
| 9182 | .name = "SFDP-capable chip", |
| 9183 | .bustype = BUS_SPI, |
| 9184 | .manufacture_id = GENERIC_MANUF_ID, |
| 9185 | .model_id = SFDP_DEVICE_ID, |
| 9186 | /* We present our own "report this" text hence we do not |
| 9187 | * want the default "This flash part has status UNTESTED..." |
| 9188 | * text to be printed. */ |
| 9189 | .tested = TEST_OK_PREW, |
| 9190 | .probe = probe_spi_sfdp, |
| 9191 | .unlock = spi_disable_blockprotect, /* is this safe? */ |
| 9192 | .read = spi_chip_read, |
| 9193 | /* FIXME: some vendor extensions define this */ |
| 9194 | .voltage = {}, |
| 9195 | /* Everything below will be set by the probing function. */ |
| 9196 | .write = NULL, |
| 9197 | .total_size = 0, |
| 9198 | .page_size = 0, |
| 9199 | .feature_bits = 0, |
| 9200 | .block_erasers = {}, |
| 9201 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9202 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9203 | { |
Carl-Daniel Hailfinger | 532c717 | 2011-11-04 21:35:26 +0000 | [diff] [blame] | 9204 | .vendor = "Programmer", |
| 9205 | .name = "Opaque flash chip", |
| 9206 | .bustype = BUS_PROG, |
| 9207 | .manufacture_id = PROGMANUF_ID, |
| 9208 | .model_id = PROGDEV_ID, |
| 9209 | .total_size = 0, |
| 9210 | .page_size = 256, |
| 9211 | /* probe is assumed to work, rest will be filled in by probe */ |
| 9212 | .tested = TEST_OK_PROBE, |
| 9213 | .probe = probe_opaque, |
| 9214 | /* eraseblock sizes will be set by the probing function */ |
| 9215 | .block_erasers = |
| 9216 | { |
| 9217 | { |
| 9218 | .block_erase = erase_opaque, |
| 9219 | } |
| 9220 | }, |
| 9221 | .write = write_opaque, |
| 9222 | .read = read_opaque, |
| 9223 | }, |
| 9224 | |
| 9225 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 9226 | .vendor = "AMIC", |
| 9227 | .name = "unknown AMIC SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9228 | .bustype = BUS_SPI, |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 9229 | .manufacture_id = AMIC_ID, |
| 9230 | .model_id = GENERIC_DEVICE_ID, |
| 9231 | .total_size = 0, |
| 9232 | .page_size = 256, |
| 9233 | .tested = TEST_BAD_PREW, |
| 9234 | .probe = probe_spi_rdid4, |
| 9235 | .probe_timing = TIMING_ZERO, |
| 9236 | .write = NULL, |
| 9237 | .read = NULL, |
| 9238 | }, |
| 9239 | |
| 9240 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9241 | .vendor = "Atmel", |
| 9242 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9243 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9244 | .manufacture_id = ATMEL_ID, |
| 9245 | .model_id = GENERIC_DEVICE_ID, |
| 9246 | .total_size = 0, |
| 9247 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9248 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9249 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9250 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9251 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9252 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9253 | }, |
| 9254 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9255 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 9256 | .vendor = "Eon", |
| 9257 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9258 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9259 | .manufacture_id = EON_ID_NOPREFIX, |
| 9260 | .model_id = GENERIC_DEVICE_ID, |
| 9261 | .total_size = 0, |
| 9262 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 9263 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9264 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 9265 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9266 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 9267 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 9268 | }, |
| 9269 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9270 | { |
| 9271 | .vendor = "Macronix", |
| 9272 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9273 | .bustype = BUS_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 9274 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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 | { |
| 9286 | .vendor = "PMC", |
| 9287 | .name = "unknown PMC 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 = PMC_ID, |
| 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 = "SST", |
| 9302 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9303 | .bustype = BUS_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9304 | .manufacture_id = SST_ID, |
| 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 = "ST", |
| 9317 | .name = "unknown ST 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 = ST_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 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 9329 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9330 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9331 | .vendor = "Sanyo", |
| 9332 | .name = "unknown Sanyo SPI chip", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9333 | .bustype = BUS_SPI, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9334 | .manufacture_id = SANYO_ID, |
| 9335 | .model_id = GENERIC_DEVICE_ID, |
| 9336 | .total_size = 0, |
| 9337 | .page_size = 256, |
| 9338 | .tested = TEST_BAD_PREW, |
| 9339 | .probe = probe_spi_rdid, |
| 9340 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 9341 | .write = NULL, |
| 9342 | .read = NULL, |
| 9343 | }, |
| 9344 | |
| 9345 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9346 | .vendor = "Generic", |
| 9347 | .name = "unknown SPI chip (RDID)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9348 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9349 | .manufacture_id = GENERIC_MANUF_ID, |
| 9350 | .model_id = GENERIC_DEVICE_ID, |
| 9351 | .total_size = 0, |
| 9352 | .page_size = 256, |
| 9353 | .tested = TEST_BAD_PREW, |
| 9354 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9355 | .write = NULL, |
| 9356 | }, |
Stefan Tauner | af2db61 | 2011-12-02 21:48:17 +0000 | [diff] [blame] | 9357 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9358 | { |
| 9359 | .vendor = "Generic", |
| 9360 | .name = "unknown SPI chip (REMS)", |
Carl-Daniel Hailfinger | 1a22795 | 2011-07-27 07:13:06 +0000 | [diff] [blame] | 9361 | .bustype = BUS_SPI, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9362 | .manufacture_id = GENERIC_MANUF_ID, |
| 9363 | .model_id = GENERIC_DEVICE_ID, |
| 9364 | .total_size = 0, |
| 9365 | .page_size = 256, |
| 9366 | .tested = TEST_BAD_PREW, |
| 9367 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 9368 | .write = NULL, |
| 9369 | }, |
| 9370 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 9371 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 9372 | }; |