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 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 35 | 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 |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 57 | */ |
| 58 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 59 | { |
| 60 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 61 | .name = "Am29F010A/B", |
| 62 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 63 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 64 | .model_id = AMD_AM29F010B, /* Same as Am29F010A */ |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 65 | .total_size = 128, |
| 66 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 67 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 68 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 69 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 70 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 71 | .block_erasers = |
| 72 | { |
| 73 | { |
| 74 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 75 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 76 | }, { |
| 77 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 78 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 79 | }, |
| 80 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 81 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 82 | .read = read_memmapped, |
| 83 | }, |
| 84 | |
| 85 | { |
| 86 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 87 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 88 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 90 | .model_id = AMD_AM29F002BB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 91 | .total_size = 256, |
| 92 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 93 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 94 | .tested = TEST_UNTESTED, |
| 95 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 96 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 97 | .block_erasers = |
| 98 | { |
| 99 | { |
| 100 | .eraseblocks = { |
| 101 | {16 * 1024, 1}, |
| 102 | {8 * 1024, 2}, |
| 103 | {32 * 1024, 1}, |
| 104 | {64 * 1024, 3}, |
| 105 | }, |
| 106 | .block_erase = erase_sector_jedec, |
| 107 | }, { |
| 108 | .eraseblocks = { {256 * 1024, 1} }, |
| 109 | .block_erase = erase_chip_block_jedec, |
| 110 | }, |
| 111 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 114 | }, |
| 115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 116 | { |
| 117 | .vendor = "AMD", |
| 118 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 120 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 121 | .model_id = AMD_AM29F002BT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 122 | .total_size = 256, |
| 123 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 124 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 125 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 126 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 128 | .block_erasers = |
| 129 | { |
| 130 | { |
| 131 | .eraseblocks = { |
| 132 | {64 * 1024, 3}, |
| 133 | {32 * 1024, 1}, |
| 134 | {8 * 1024, 2}, |
| 135 | {16 * 1024, 1}, |
| 136 | }, |
| 137 | .block_erase = erase_sector_jedec, |
| 138 | }, { |
| 139 | .eraseblocks = { {256 * 1024, 1} }, |
| 140 | .block_erase = erase_chip_block_jedec, |
| 141 | }, |
| 142 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 143 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 145 | }, |
| 146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 147 | { |
| 148 | .vendor = "AMD", |
| 149 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 150 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 152 | .model_id = AMD_AM29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 153 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 155 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 156 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 157 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 158 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 159 | .block_erasers = |
| 160 | { |
| 161 | { |
| 162 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 163 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 164 | }, { |
| 165 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 167 | }, |
| 168 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 171 | }, |
| 172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 173 | { |
| 174 | .vendor = "AMD", |
| 175 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 178 | .model_id = AMD_AM29F040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 179 | .total_size = 512, |
| 180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 182 | .tested = TEST_UNTESTED, |
| 183 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 184 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 185 | .block_erasers = |
| 186 | { |
| 187 | { |
| 188 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 189 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | }, { |
| 191 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 193 | }, |
| 194 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 196 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 197 | }, |
| 198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 199 | { |
| 200 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 201 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 202 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 203 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 204 | .model_id = AMD_AM29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 205 | .total_size = 1024, |
| 206 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 207 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 208 | .tested = TEST_UNTESTED, |
| 209 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 211 | .block_erasers = |
| 212 | { |
| 213 | { |
| 214 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 215 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | }, { |
| 217 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 218 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 219 | }, |
| 220 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 222 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 223 | }, |
| 224 | |
| 225 | { |
| 226 | .vendor = "AMD", |
Carl-Daniel Hailfinger | c753e5b | 2011-02-05 12:11:17 +0000 | [diff] [blame] | 227 | .name = "Am29LV001BB", |
| 228 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 229 | .manufacture_id = AMD_ID, |
| 230 | .model_id = AMD_AM29LV001BB, |
| 231 | .total_size = 128, |
| 232 | .page_size = 64 * 1024, /* unused */ |
| 233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 234 | .tested = TEST_OK_PREW, |
| 235 | .probe = probe_jedec, |
| 236 | .probe_timing = TIMING_ZERO, |
| 237 | .block_erasers = |
| 238 | { |
| 239 | { |
| 240 | .eraseblocks = { |
| 241 | {8 * 1024, 1}, |
| 242 | {4 * 1024, 2}, |
| 243 | {16 * 1024, 7}, |
| 244 | }, |
| 245 | .block_erase = erase_sector_jedec, |
| 246 | }, { |
| 247 | .eraseblocks = { {128 * 1024, 1} }, |
| 248 | .block_erase = erase_chip_block_jedec, |
| 249 | }, |
| 250 | }, |
| 251 | .write = write_jedec_1, |
| 252 | .read = read_memmapped, |
| 253 | }, |
| 254 | |
| 255 | { |
| 256 | .vendor = "AMD", |
| 257 | .name = "Am29LV001BT", |
| 258 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 259 | .manufacture_id = AMD_ID, |
| 260 | .model_id = AMD_AM29LV001BT, |
| 261 | .total_size = 128, |
| 262 | .page_size = 64 * 1024, /* unused */ |
| 263 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 264 | .tested = TEST_UNTESTED, |
| 265 | .probe = probe_jedec, |
| 266 | .probe_timing = TIMING_ZERO, |
| 267 | .block_erasers = |
| 268 | { |
| 269 | { |
| 270 | .eraseblocks = { |
| 271 | {16 * 1024, 7}, |
| 272 | {4 * 1024, 2}, |
| 273 | {8 * 1024, 1}, |
| 274 | }, |
| 275 | .block_erase = erase_sector_jedec, |
| 276 | }, { |
| 277 | .eraseblocks = { {128 * 1024, 1} }, |
| 278 | .block_erase = erase_chip_block_jedec, |
| 279 | }, |
| 280 | }, |
| 281 | .write = write_jedec_1, |
| 282 | .read = read_memmapped, |
| 283 | }, |
| 284 | |
| 285 | { |
| 286 | .vendor = "AMD", |
| 287 | .name = "Am29LV002BB", |
| 288 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 289 | .manufacture_id = AMD_ID, |
| 290 | .model_id = AMD_AM29LV002BB, |
| 291 | .total_size = 256, |
| 292 | .page_size = 64 * 1024, /* unused */ |
| 293 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 294 | .tested = TEST_UNTESTED, |
| 295 | .probe = probe_jedec, |
| 296 | .probe_timing = TIMING_ZERO, |
| 297 | .block_erasers = |
| 298 | { |
| 299 | { |
| 300 | .eraseblocks = { |
| 301 | {16 * 1024, 1}, |
| 302 | {8 * 1024, 2}, |
| 303 | {32 * 1024, 1}, |
| 304 | {64 * 1024, 3}, |
| 305 | }, |
| 306 | .block_erase = erase_sector_jedec, |
| 307 | }, { |
| 308 | .eraseblocks = { {256 * 1024, 1} }, |
| 309 | .block_erase = erase_chip_block_jedec, |
| 310 | }, |
| 311 | }, |
| 312 | .write = write_jedec_1, |
| 313 | .read = read_memmapped, |
| 314 | }, |
| 315 | |
| 316 | { |
| 317 | .vendor = "AMD", |
| 318 | .name = "Am29LV002BT", |
| 319 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 320 | .manufacture_id = AMD_ID, |
| 321 | .model_id = AMD_AM29LV002BT, |
| 322 | .total_size = 256, |
| 323 | .page_size = 64 * 1024, /* unused */ |
| 324 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 325 | .tested = TEST_UNTESTED, |
| 326 | .probe = probe_jedec, |
| 327 | .probe_timing = TIMING_ZERO, |
| 328 | .block_erasers = |
| 329 | { |
| 330 | { |
| 331 | .eraseblocks = { |
| 332 | {64 * 1024, 3}, |
| 333 | {32 * 1024, 1}, |
| 334 | {8 * 1024, 2}, |
| 335 | {16 * 1024, 1}, |
| 336 | }, |
| 337 | .block_erase = erase_sector_jedec, |
| 338 | }, { |
| 339 | .eraseblocks = { {256 * 1024, 1} }, |
| 340 | .block_erase = erase_chip_block_jedec, |
| 341 | }, |
| 342 | }, |
| 343 | .write = write_jedec_1, |
| 344 | .read = read_memmapped, |
| 345 | }, |
| 346 | |
| 347 | { |
| 348 | .vendor = "AMD", |
| 349 | .name = "Am29LV004BB", |
| 350 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 351 | .manufacture_id = AMD_ID, |
| 352 | .model_id = AMD_AM29LV004BB, |
| 353 | .total_size = 512, |
| 354 | .page_size = 64 * 1024, /* unused */ |
| 355 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 356 | .tested = TEST_UNTESTED, |
| 357 | .probe = probe_jedec, |
| 358 | .probe_timing = TIMING_ZERO, |
| 359 | .block_erasers = |
| 360 | { |
| 361 | { |
| 362 | .eraseblocks = { |
| 363 | {16 * 1024, 1}, |
| 364 | {8 * 1024, 2}, |
| 365 | {32 * 1024, 1}, |
| 366 | {64 * 1024, 7}, |
| 367 | }, |
| 368 | .block_erase = erase_sector_jedec, |
| 369 | }, { |
| 370 | .eraseblocks = { {512 * 1024, 1} }, |
| 371 | .block_erase = erase_chip_block_jedec, |
| 372 | }, |
| 373 | }, |
| 374 | .write = write_jedec_1, |
| 375 | .read = read_memmapped, |
| 376 | }, |
| 377 | |
| 378 | { |
| 379 | .vendor = "AMD", |
| 380 | .name = "Am29LV004BT", |
| 381 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 382 | .manufacture_id = AMD_ID, |
| 383 | .model_id = AMD_AM29LV004BT, |
| 384 | .total_size = 512, |
| 385 | .page_size = 64 * 1024, /* unused */ |
| 386 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 387 | .tested = TEST_UNTESTED, |
| 388 | .probe = probe_jedec, |
| 389 | .probe_timing = TIMING_ZERO, |
| 390 | .block_erasers = |
| 391 | { |
| 392 | { |
| 393 | .eraseblocks = { |
| 394 | {64 * 1024, 7}, |
| 395 | {32 * 1024, 1}, |
| 396 | {8 * 1024, 2}, |
| 397 | {16 * 1024, 1}, |
| 398 | }, |
| 399 | .block_erase = erase_sector_jedec, |
| 400 | }, { |
| 401 | .eraseblocks = { {512 * 1024, 1} }, |
| 402 | .block_erase = erase_chip_block_jedec, |
| 403 | }, |
| 404 | }, |
| 405 | .write = write_jedec_1, |
| 406 | .read = read_memmapped, |
| 407 | }, |
| 408 | |
| 409 | { |
| 410 | .vendor = "AMD", |
| 411 | .name = "Am29LV008BB", |
| 412 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 413 | .manufacture_id = AMD_ID, |
| 414 | .model_id = AMD_AM29LV008BB, |
| 415 | .total_size = 1024, |
| 416 | .page_size = 64 * 1024, /* unused */ |
| 417 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 418 | .tested = TEST_UNTESTED, |
| 419 | .probe = probe_jedec, |
| 420 | .probe_timing = TIMING_ZERO, |
| 421 | .block_erasers = |
| 422 | { |
| 423 | { |
| 424 | .eraseblocks = { |
| 425 | {16 * 1024, 1}, |
| 426 | {8 * 1024, 2}, |
| 427 | {32 * 1024, 1}, |
| 428 | {64 * 1024, 15}, |
| 429 | }, |
| 430 | .block_erase = erase_sector_jedec, |
| 431 | }, { |
| 432 | .eraseblocks = { {1024 * 1024, 1} }, |
| 433 | .block_erase = erase_chip_block_jedec, |
| 434 | }, |
| 435 | }, |
| 436 | .write = write_jedec_1, |
| 437 | .read = read_memmapped, |
| 438 | }, |
| 439 | |
| 440 | { |
| 441 | .vendor = "AMD", |
| 442 | .name = "Am29LV008BT", |
| 443 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 444 | .manufacture_id = AMD_ID, |
| 445 | .model_id = AMD_AM29LV008BT, |
| 446 | .total_size = 1024, |
| 447 | .page_size = 64 * 1024, /* unused */ |
| 448 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 449 | .tested = TEST_UNTESTED, |
| 450 | .probe = probe_jedec, |
| 451 | .probe_timing = TIMING_ZERO, |
| 452 | .block_erasers = |
| 453 | { |
| 454 | { |
| 455 | .eraseblocks = { |
| 456 | {64 * 1024, 15}, |
| 457 | {32 * 1024, 1}, |
| 458 | {8 * 1024, 2}, |
| 459 | {16 * 1024, 1}, |
| 460 | }, |
| 461 | .block_erase = erase_sector_jedec, |
| 462 | }, { |
| 463 | .eraseblocks = { {1024 * 1024, 1} }, |
| 464 | .block_erase = erase_chip_block_jedec, |
| 465 | }, |
| 466 | }, |
| 467 | .write = write_jedec_1, |
| 468 | .read = read_memmapped, |
| 469 | }, |
| 470 | |
| 471 | { |
| 472 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 473 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 474 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 475 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 476 | .model_id = AMD_AM29LV040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 477 | .total_size = 512, |
| 478 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 479 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 480 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 481 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 482 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 483 | .block_erasers = |
| 484 | { |
| 485 | { |
| 486 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 487 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 488 | }, { |
| 489 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 490 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 491 | }, |
| 492 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 493 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 494 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 495 | }, |
| 496 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 497 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 498 | .vendor = "AMD", |
| 499 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 500 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 501 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 502 | .model_id = AMD_AM29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 503 | .total_size = 1024, |
| 504 | .page_size = 64 * 1024, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 505 | .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] | 506 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 507 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 508 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 509 | .block_erasers = |
| 510 | { |
| 511 | { |
| 512 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 513 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 514 | }, { |
| 515 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 516 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 517 | }, |
| 518 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 519 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 520 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 521 | }, |
| 522 | |
| 523 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 524 | .vendor = "AMIC", |
| 525 | .name = "A25L05PT", |
| 526 | .bustype = CHIP_BUSTYPE_SPI, |
| 527 | .manufacture_id = AMIC_ID, |
| 528 | .model_id = AMIC_A25L05PT, |
| 529 | .total_size = 64, |
| 530 | .page_size = 256, |
| 531 | .tested = TEST_UNTESTED, |
| 532 | .probe = probe_spi_rdid4, |
| 533 | .probe_timing = TIMING_ZERO, |
| 534 | .block_erasers = |
| 535 | { |
| 536 | { |
| 537 | .eraseblocks = { |
| 538 | {32 * 1024, 1}, |
| 539 | {16 * 1024, 1}, |
| 540 | {8 * 1024, 1}, |
| 541 | {4 * 1024, 2}, |
| 542 | }, |
| 543 | .block_erase = spi_block_erase_d8, |
| 544 | }, { |
| 545 | .eraseblocks = { {64 * 1024, 1} }, |
| 546 | .block_erase = spi_block_erase_c7, |
| 547 | } |
| 548 | }, |
| 549 | .unlock = spi_disable_blockprotect, |
| 550 | .write = spi_chip_write_256, |
| 551 | .read = spi_chip_read, |
| 552 | }, |
| 553 | |
| 554 | { |
| 555 | .vendor = "AMIC", |
| 556 | .name = "A25L05PU", |
| 557 | .bustype = CHIP_BUSTYPE_SPI, |
| 558 | .manufacture_id = AMIC_ID, |
| 559 | .model_id = AMIC_A25L05PU, |
| 560 | .total_size = 64, |
| 561 | .page_size = 256, |
| 562 | .tested = TEST_UNTESTED, |
| 563 | .probe = probe_spi_rdid4, |
| 564 | .probe_timing = TIMING_ZERO, |
| 565 | .block_erasers = |
| 566 | { |
| 567 | { |
| 568 | .eraseblocks = { |
| 569 | {4 * 1024, 2}, |
| 570 | {8 * 1024, 1}, |
| 571 | {16 * 1024, 1}, |
| 572 | {32 * 1024, 1}, |
| 573 | }, |
| 574 | .block_erase = spi_block_erase_d8, |
| 575 | }, { |
| 576 | .eraseblocks = { {64 * 1024, 1} }, |
| 577 | .block_erase = spi_block_erase_c7, |
| 578 | } |
| 579 | }, |
| 580 | .unlock = spi_disable_blockprotect, |
| 581 | .write = spi_chip_write_256, |
| 582 | .read = spi_chip_read, |
| 583 | }, |
| 584 | |
| 585 | { |
| 586 | .vendor = "AMIC", |
| 587 | .name = "A25L10PT", |
| 588 | .bustype = CHIP_BUSTYPE_SPI, |
| 589 | .manufacture_id = AMIC_ID, |
| 590 | .model_id = AMIC_A25L10PT, |
| 591 | .total_size = 128, |
| 592 | .page_size = 256, |
| 593 | .tested = TEST_UNTESTED, |
| 594 | .probe = probe_spi_rdid4, |
| 595 | .probe_timing = TIMING_ZERO, |
| 596 | .block_erasers = |
| 597 | { |
| 598 | { |
| 599 | .eraseblocks = { |
| 600 | {64 * 1024, 1}, |
| 601 | {32 * 1024, 1}, |
| 602 | {16 * 1024, 1}, |
| 603 | {8 * 1024, 1}, |
| 604 | {4 * 1024, 2}, |
| 605 | }, |
| 606 | .block_erase = spi_block_erase_d8, |
| 607 | }, { |
| 608 | .eraseblocks = { {128 * 1024, 1} }, |
| 609 | .block_erase = spi_block_erase_c7, |
| 610 | } |
| 611 | }, |
| 612 | .unlock = spi_disable_blockprotect, |
| 613 | .write = spi_chip_write_256, |
| 614 | .read = spi_chip_read, |
| 615 | }, |
| 616 | |
| 617 | { |
| 618 | .vendor = "AMIC", |
| 619 | .name = "A25L10PU", |
| 620 | .bustype = CHIP_BUSTYPE_SPI, |
| 621 | .manufacture_id = AMIC_ID, |
| 622 | .model_id = AMIC_A25L10PU, |
| 623 | .total_size = 128, |
| 624 | .page_size = 256, |
| 625 | .tested = TEST_UNTESTED, |
| 626 | .probe = probe_spi_rdid4, |
| 627 | .probe_timing = TIMING_ZERO, |
| 628 | .block_erasers = |
| 629 | { |
| 630 | { |
| 631 | .eraseblocks = { |
| 632 | {4 * 1024, 2}, |
| 633 | {8 * 1024, 1}, |
| 634 | {16 * 1024, 1}, |
| 635 | {32 * 1024, 1}, |
| 636 | {64 * 1024, 1}, |
| 637 | }, |
| 638 | .block_erase = spi_block_erase_d8, |
| 639 | }, { |
| 640 | .eraseblocks = { {128 * 1024, 1} }, |
| 641 | .block_erase = spi_block_erase_c7, |
| 642 | } |
| 643 | }, |
| 644 | .unlock = spi_disable_blockprotect, |
| 645 | .write = spi_chip_write_256, |
| 646 | .read = spi_chip_read, |
| 647 | }, |
| 648 | |
| 649 | { |
| 650 | .vendor = "AMIC", |
| 651 | .name = "A25L20PT", |
| 652 | .bustype = CHIP_BUSTYPE_SPI, |
| 653 | .manufacture_id = AMIC_ID, |
| 654 | .model_id = AMIC_A25L20PT, |
| 655 | .total_size = 256, |
| 656 | .page_size = 256, |
| 657 | .tested = TEST_UNTESTED, |
| 658 | .probe = probe_spi_rdid4, |
| 659 | .probe_timing = TIMING_ZERO, |
| 660 | .block_erasers = |
| 661 | { |
| 662 | { |
| 663 | .eraseblocks = { |
| 664 | {64 * 1024, 3}, |
| 665 | {32 * 1024, 1}, |
| 666 | {16 * 1024, 1}, |
| 667 | {8 * 1024, 1}, |
| 668 | {4 * 1024, 2}, |
| 669 | }, |
| 670 | .block_erase = spi_block_erase_d8, |
| 671 | }, { |
| 672 | .eraseblocks = { {256 * 1024, 1} }, |
| 673 | .block_erase = spi_block_erase_c7, |
| 674 | } |
| 675 | }, |
| 676 | .unlock = spi_disable_blockprotect, |
| 677 | .write = spi_chip_write_256, |
| 678 | .read = spi_chip_read, |
| 679 | }, |
| 680 | |
| 681 | { |
| 682 | .vendor = "AMIC", |
| 683 | .name = "A25L20PU", |
| 684 | .bustype = CHIP_BUSTYPE_SPI, |
| 685 | .manufacture_id = AMIC_ID, |
| 686 | .model_id = AMIC_A25L20PU, |
| 687 | .total_size = 256, |
| 688 | .page_size = 256, |
| 689 | .tested = TEST_UNTESTED, |
| 690 | .probe = probe_spi_rdid4, |
| 691 | .probe_timing = TIMING_ZERO, |
| 692 | .block_erasers = |
| 693 | { |
| 694 | { |
| 695 | .eraseblocks = { |
| 696 | {4 * 1024, 2}, |
| 697 | {8 * 1024, 1}, |
| 698 | {16 * 1024, 1}, |
| 699 | {32 * 1024, 1}, |
| 700 | {64 * 1024, 3}, |
| 701 | }, |
| 702 | .block_erase = spi_block_erase_d8, |
| 703 | }, { |
| 704 | .eraseblocks = { {256 * 1024, 1} }, |
| 705 | .block_erase = spi_block_erase_c7, |
| 706 | } |
| 707 | }, |
| 708 | .unlock = spi_disable_blockprotect, |
| 709 | .write = spi_chip_write_256, |
| 710 | .read = spi_chip_read, |
| 711 | }, |
| 712 | |
| 713 | /* The A25L40P{T,U} chips are distinguished by their |
| 714 | * erase block layouts, but without any distinction in RDID. |
| 715 | * This inexplicable quirk was verified by Rudolf Marek |
| 716 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 717 | */ |
| 718 | { |
| 719 | .vendor = "AMIC", |
| 720 | .name = "A25L40PT", |
| 721 | .bustype = CHIP_BUSTYPE_SPI, |
| 722 | .manufacture_id = AMIC_ID, |
| 723 | .model_id = AMIC_A25L40PT, |
| 724 | .total_size = 512, |
| 725 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 726 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 727 | .probe = probe_spi_rdid4, |
| 728 | .probe_timing = TIMING_ZERO, |
| 729 | .block_erasers = |
| 730 | { |
| 731 | { |
| 732 | .eraseblocks = { |
| 733 | {64 * 1024, 7}, |
| 734 | {32 * 1024, 1}, |
| 735 | {16 * 1024, 1}, |
| 736 | {8 * 1024, 1}, |
| 737 | {4 * 1024, 2}, |
| 738 | }, |
| 739 | .block_erase = spi_block_erase_d8, |
| 740 | }, { |
| 741 | .eraseblocks = { {512 * 1024, 1} }, |
| 742 | .block_erase = spi_block_erase_c7, |
| 743 | } |
| 744 | }, |
| 745 | .unlock = spi_disable_blockprotect, |
| 746 | .write = spi_chip_write_256, |
| 747 | .read = spi_chip_read, |
| 748 | }, |
| 749 | |
| 750 | { |
| 751 | .vendor = "AMIC", |
| 752 | .name = "A25L40PU", |
| 753 | .bustype = CHIP_BUSTYPE_SPI, |
| 754 | .manufacture_id = AMIC_ID, |
| 755 | .model_id = AMIC_A25L40PU, |
| 756 | .total_size = 512, |
| 757 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 758 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 759 | .probe = probe_spi_rdid4, |
| 760 | .probe_timing = TIMING_ZERO, |
| 761 | .block_erasers = |
| 762 | { |
| 763 | { |
| 764 | .eraseblocks = { |
| 765 | {4 * 1024, 2}, |
| 766 | {8 * 1024, 1}, |
| 767 | {16 * 1024, 1}, |
| 768 | {32 * 1024, 1}, |
| 769 | {64 * 1024, 7}, |
| 770 | }, |
| 771 | .block_erase = spi_block_erase_d8, |
| 772 | }, { |
| 773 | .eraseblocks = { {512 * 1024, 1} }, |
| 774 | .block_erase = spi_block_erase_c7, |
| 775 | } |
| 776 | }, |
| 777 | .unlock = spi_disable_blockprotect, |
| 778 | .write = spi_chip_write_256, |
| 779 | .read = spi_chip_read, |
| 780 | }, |
| 781 | |
| 782 | { |
| 783 | .vendor = "AMIC", |
| 784 | .name = "A25L80P", |
| 785 | .bustype = CHIP_BUSTYPE_SPI, |
| 786 | .manufacture_id = AMIC_ID, |
| 787 | .model_id = AMIC_A25L80P, |
| 788 | .total_size = 1024, |
| 789 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 790 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 791 | .probe = probe_spi_rdid4, |
| 792 | .probe_timing = TIMING_ZERO, |
| 793 | .block_erasers = |
| 794 | { |
| 795 | { |
| 796 | .eraseblocks = { |
| 797 | {4 * 1024, 2}, |
| 798 | {8 * 1024, 1}, |
| 799 | {16 * 1024, 1}, |
| 800 | {32 * 1024, 1}, |
| 801 | {64 * 1024, 15}, |
| 802 | }, |
| 803 | .block_erase = spi_block_erase_d8, |
| 804 | }, { |
| 805 | .eraseblocks = { {1024 * 1024, 1} }, |
| 806 | .block_erase = spi_block_erase_c7, |
| 807 | } |
| 808 | }, |
| 809 | .unlock = spi_disable_blockprotect, |
| 810 | .write = spi_chip_write_256, |
| 811 | .read = spi_chip_read, |
| 812 | }, |
| 813 | |
| 814 | { |
| 815 | .vendor = "AMIC", |
| 816 | .name = "A25L16PT", |
| 817 | .bustype = CHIP_BUSTYPE_SPI, |
| 818 | .manufacture_id = AMIC_ID, |
| 819 | .model_id = AMIC_A25L16PT, |
| 820 | .total_size = 2048, |
| 821 | .page_size = 256, |
| 822 | .tested = TEST_UNTESTED, |
| 823 | .probe = probe_spi_rdid4, |
| 824 | .probe_timing = TIMING_ZERO, |
| 825 | .block_erasers = |
| 826 | { |
| 827 | { |
| 828 | .eraseblocks = { |
| 829 | {64 * 1024, 31}, |
| 830 | {32 * 1024, 1}, |
| 831 | {16 * 1024, 1}, |
| 832 | {8 * 1024, 1}, |
| 833 | {4 * 1024, 2}, |
| 834 | }, |
| 835 | .block_erase = spi_block_erase_d8, |
| 836 | }, { |
| 837 | .eraseblocks = { {2048 * 1024, 1} }, |
| 838 | .block_erase = spi_block_erase_60, |
| 839 | }, { |
| 840 | .eraseblocks = { {2048 * 1024, 1} }, |
| 841 | .block_erase = spi_block_erase_c7, |
| 842 | } |
| 843 | }, |
| 844 | .unlock = spi_disable_blockprotect, |
| 845 | .write = spi_chip_write_256, |
| 846 | .read = spi_chip_read, |
| 847 | }, |
| 848 | |
| 849 | { |
| 850 | .vendor = "AMIC", |
| 851 | .name = "A25L16PU", |
| 852 | .bustype = CHIP_BUSTYPE_SPI, |
| 853 | .manufacture_id = AMIC_ID, |
| 854 | .model_id = AMIC_A25L16PU, |
| 855 | .total_size = 2048, |
| 856 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 857 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 858 | .probe = probe_spi_rdid4, |
| 859 | .probe_timing = TIMING_ZERO, |
| 860 | .block_erasers = |
| 861 | { |
| 862 | { |
| 863 | .eraseblocks = { |
| 864 | {4 * 1024, 2}, |
| 865 | {8 * 1024, 1}, |
| 866 | {16 * 1024, 1}, |
| 867 | {32 * 1024, 1}, |
| 868 | {64 * 1024, 31}, |
| 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 | }, |
| 879 | .unlock = spi_disable_blockprotect, |
| 880 | .write = spi_chip_write_256, |
| 881 | .read = spi_chip_read, |
| 882 | }, |
| 883 | |
| 884 | { |
| 885 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 886 | .name = "A25L512", |
| 887 | .bustype = CHIP_BUSTYPE_SPI, |
| 888 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 889 | .model_id = AMIC_A25L512, |
| 890 | .total_size = 64, |
| 891 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 892 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 893 | .tested = TEST_UNTESTED, |
| 894 | .probe = probe_spi_rdid, |
| 895 | .probe_timing = TIMING_ZERO, |
| 896 | .block_erasers = |
| 897 | { |
| 898 | { |
| 899 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 900 | .block_erase = spi_block_erase_20, |
| 901 | }, { |
| 902 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 903 | .block_erase = spi_block_erase_d8, |
| 904 | }, { |
| 905 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 906 | .block_erase = spi_block_erase_c7, |
| 907 | } |
| 908 | }, |
| 909 | .unlock = spi_disable_blockprotect, |
| 910 | .write = spi_chip_write_256, |
| 911 | .read = spi_chip_read, |
| 912 | }, |
| 913 | |
| 914 | { |
| 915 | .vendor = "AMIC", |
| 916 | .name = "A25L010", |
| 917 | .bustype = CHIP_BUSTYPE_SPI, |
| 918 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 919 | .model_id = AMIC_A25L010, |
| 920 | .total_size = 128, |
| 921 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 922 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 923 | .tested = TEST_UNTESTED, |
| 924 | .probe = probe_spi_rdid, |
| 925 | .probe_timing = TIMING_ZERO, |
| 926 | .block_erasers = |
| 927 | { |
| 928 | { |
| 929 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 930 | .block_erase = spi_block_erase_20, |
| 931 | }, { |
| 932 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 933 | .block_erase = spi_block_erase_d8, |
| 934 | }, { |
| 935 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 936 | .block_erase = spi_block_erase_c7, |
| 937 | } |
| 938 | }, |
| 939 | .unlock = spi_disable_blockprotect, |
| 940 | .write = spi_chip_write_256, |
| 941 | .read = spi_chip_read, |
| 942 | }, |
| 943 | |
| 944 | { |
| 945 | .vendor = "AMIC", |
| 946 | .name = "A25L020", |
| 947 | .bustype = CHIP_BUSTYPE_SPI, |
| 948 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 949 | .model_id = AMIC_A25L020, |
| 950 | .total_size = 256, |
| 951 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 952 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 953 | .tested = TEST_UNTESTED, |
| 954 | .probe = probe_spi_rdid, |
| 955 | .probe_timing = TIMING_ZERO, |
| 956 | .block_erasers = |
| 957 | { |
| 958 | { |
| 959 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 960 | .block_erase = spi_block_erase_20, |
| 961 | }, { |
| 962 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 963 | .block_erase = spi_block_erase_d8, |
| 964 | }, { |
| 965 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 966 | .block_erase = spi_block_erase_c7, |
| 967 | } |
| 968 | }, |
| 969 | .unlock = spi_disable_blockprotect, |
| 970 | .write = spi_chip_write_256, |
| 971 | .read = spi_chip_read, |
| 972 | }, |
| 973 | |
| 974 | { |
| 975 | .vendor = "AMIC", |
| 976 | .name = "A25L040", |
| 977 | .bustype = CHIP_BUSTYPE_SPI, |
| 978 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 979 | .model_id = AMIC_A25L040, |
| 980 | .total_size = 512, |
| 981 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 982 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 983 | .tested = TEST_UNTESTED, |
| 984 | .probe = probe_spi_rdid, |
| 985 | .probe_timing = TIMING_ZERO, |
| 986 | .block_erasers = |
| 987 | { |
| 988 | { |
| 989 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 990 | .block_erase = spi_block_erase_20, |
| 991 | }, { |
| 992 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 993 | .block_erase = spi_block_erase_d8, |
| 994 | }, { |
| 995 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 996 | .block_erase = spi_block_erase_c7, |
| 997 | } |
| 998 | }, |
| 999 | .unlock = spi_disable_blockprotect, |
| 1000 | .write = spi_chip_write_256, |
| 1001 | .read = spi_chip_read, |
| 1002 | }, |
| 1003 | |
| 1004 | { |
| 1005 | .vendor = "AMIC", |
| 1006 | .name = "A25L080", |
| 1007 | .bustype = CHIP_BUSTYPE_SPI, |
| 1008 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1009 | .model_id = AMIC_A25L080, |
| 1010 | .total_size = 1024, |
| 1011 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1012 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1013 | .tested = TEST_UNTESTED, |
| 1014 | .probe = probe_spi_rdid, |
| 1015 | .probe_timing = TIMING_ZERO, |
| 1016 | .block_erasers = |
| 1017 | { |
| 1018 | { |
| 1019 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 1020 | .block_erase = spi_block_erase_20, |
| 1021 | }, { |
| 1022 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 1023 | .block_erase = spi_block_erase_d8, |
| 1024 | }, { |
| 1025 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 1026 | .block_erase = spi_block_erase_c7, |
| 1027 | } |
| 1028 | }, |
| 1029 | .unlock = spi_disable_blockprotect, |
| 1030 | .write = spi_chip_write_256, |
| 1031 | .read = spi_chip_read, |
| 1032 | }, |
| 1033 | |
| 1034 | { |
| 1035 | .vendor = "AMIC", |
| 1036 | .name = "A25L016", |
| 1037 | .bustype = CHIP_BUSTYPE_SPI, |
| 1038 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1039 | .model_id = AMIC_A25L016, |
| 1040 | .total_size = 2048, |
| 1041 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1042 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1043 | .tested = TEST_UNTESTED, |
| 1044 | .probe = probe_spi_rdid, |
| 1045 | .probe_timing = TIMING_ZERO, |
| 1046 | .block_erasers = |
| 1047 | { |
| 1048 | { |
| 1049 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 1050 | .block_erase = spi_block_erase_20, |
| 1051 | }, { |
| 1052 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 1053 | .block_erase = spi_block_erase_d8, |
| 1054 | }, { |
| 1055 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 1056 | .block_erase = spi_block_erase_c7, |
| 1057 | } |
| 1058 | }, |
| 1059 | .unlock = spi_disable_blockprotect, |
| 1060 | .write = spi_chip_write_256, |
| 1061 | .read = spi_chip_read, |
| 1062 | }, |
| 1063 | |
| 1064 | { |
| 1065 | .vendor = "AMIC", |
| 1066 | .name = "A25L032", |
| 1067 | .bustype = CHIP_BUSTYPE_SPI, |
| 1068 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1069 | .model_id = AMIC_A25L032, |
| 1070 | .total_size = 4096, |
| 1071 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1072 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1073 | .tested = TEST_UNTESTED, |
| 1074 | .probe = probe_spi_rdid, |
| 1075 | .probe_timing = TIMING_ZERO, |
| 1076 | .block_erasers = |
| 1077 | { |
| 1078 | { |
| 1079 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1080 | .block_erase = spi_block_erase_20, |
| 1081 | }, { |
| 1082 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1083 | .block_erase = spi_block_erase_52, |
| 1084 | }, { |
| 1085 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1086 | .block_erase = spi_block_erase_d8, |
| 1087 | }, { |
| 1088 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1089 | .block_erase = spi_block_erase_60, |
| 1090 | }, { |
| 1091 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1092 | .block_erase = spi_block_erase_c7, |
| 1093 | } |
| 1094 | }, |
| 1095 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1096 | .write = spi_chip_write_256, |
| 1097 | .read = spi_chip_read, |
| 1098 | }, |
| 1099 | |
| 1100 | { |
| 1101 | .vendor = "AMIC", |
| 1102 | .name = "A25LQ032", |
| 1103 | .bustype = CHIP_BUSTYPE_SPI, |
| 1104 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1105 | .model_id = AMIC_A25LQ032, |
| 1106 | .total_size = 4096, |
| 1107 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 1108 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 1109 | .tested = TEST_UNTESTED, |
| 1110 | .probe = probe_spi_rdid, |
| 1111 | .probe_timing = TIMING_ZERO, |
| 1112 | .block_erasers = |
| 1113 | { |
| 1114 | { |
| 1115 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 1116 | .block_erase = spi_block_erase_20, |
| 1117 | }, { |
| 1118 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1119 | .block_erase = spi_block_erase_52, |
| 1120 | }, { |
| 1121 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 1122 | .block_erase = spi_block_erase_d8, |
| 1123 | }, { |
| 1124 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1125 | .block_erase = spi_block_erase_60, |
| 1126 | }, { |
| 1127 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 1128 | .block_erase = spi_block_erase_c7, |
| 1129 | } |
| 1130 | }, |
| 1131 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 1132 | .write = spi_chip_write_256, |
| 1133 | .read = spi_chip_read, |
| 1134 | }, |
| 1135 | |
| 1136 | { |
| 1137 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1138 | .name = "A29002B", |
| 1139 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1140 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1141 | .model_id = AMIC_A29002B, |
| 1142 | .total_size = 256, |
| 1143 | .page_size = 64 * 1024, |
| 1144 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1145 | .tested = TEST_UNTESTED, |
| 1146 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1147 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1148 | .block_erasers = |
| 1149 | { |
| 1150 | { |
| 1151 | .eraseblocks = { |
| 1152 | {16 * 1024, 1}, |
| 1153 | {8 * 1024, 2}, |
| 1154 | {32 * 1024, 1}, |
| 1155 | {64 * 1024, 3}, |
| 1156 | }, |
| 1157 | .block_erase = erase_sector_jedec, |
| 1158 | }, { |
| 1159 | .eraseblocks = { {256 * 1024, 1} }, |
| 1160 | .block_erase = erase_chip_block_jedec, |
| 1161 | }, |
| 1162 | }, |
| 1163 | .write = write_jedec_1, |
| 1164 | .read = read_memmapped, |
| 1165 | }, |
| 1166 | |
| 1167 | { |
| 1168 | .vendor = "AMIC", |
| 1169 | .name = "A29002T", |
| 1170 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1171 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1172 | .model_id = AMIC_A29002T, |
| 1173 | .total_size = 256, |
| 1174 | .page_size = 64 * 1024, |
| 1175 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1176 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1177 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1178 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1179 | .block_erasers = |
| 1180 | { |
| 1181 | { |
| 1182 | .eraseblocks = { |
| 1183 | {64 * 1024, 3}, |
| 1184 | {32 * 1024, 1}, |
| 1185 | {8 * 1024, 2}, |
| 1186 | {16 * 1024, 1}, |
| 1187 | }, |
| 1188 | .block_erase = erase_sector_jedec, |
| 1189 | }, { |
| 1190 | .eraseblocks = { {256 * 1024, 1} }, |
| 1191 | .block_erase = erase_chip_block_jedec, |
| 1192 | }, |
| 1193 | }, |
| 1194 | .write = write_jedec_1, |
| 1195 | .read = read_memmapped, |
| 1196 | }, |
| 1197 | |
| 1198 | { |
| 1199 | .vendor = "AMIC", |
| 1200 | .name = "A29040B", |
| 1201 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1202 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1203 | .model_id = AMIC_A29040B, |
| 1204 | .total_size = 512, |
| 1205 | .page_size = 64 * 1024, |
| 1206 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1207 | .tested = TEST_UNTESTED, |
| 1208 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 1209 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1210 | .block_erasers = |
| 1211 | { |
| 1212 | { |
| 1213 | .eraseblocks = { {64 * 1024, 8} }, |
| 1214 | .block_erase = erase_sector_jedec, |
| 1215 | }, { |
| 1216 | .eraseblocks = { {512 * 1024, 1} }, |
| 1217 | .block_erase = erase_chip_block_jedec, |
| 1218 | }, |
| 1219 | }, |
| 1220 | .write = write_jedec_1, |
| 1221 | .read = read_memmapped, |
| 1222 | }, |
| 1223 | |
| 1224 | { |
| 1225 | .vendor = "AMIC", |
| 1226 | .name = "A49LF040A", |
| 1227 | .bustype = CHIP_BUSTYPE_LPC, |
| 1228 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1229 | .model_id = AMIC_A49LF040A, |
| 1230 | .total_size = 512, |
| 1231 | .page_size = 64 * 1024, |
| 1232 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1233 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 1234 | .probe = probe_jedec, |
| 1235 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 1236 | .block_erasers = |
| 1237 | { |
| 1238 | { |
| 1239 | .eraseblocks = { {64 * 1024, 8} }, |
| 1240 | .block_erase = erase_block_jedec, |
| 1241 | }, { |
| 1242 | .eraseblocks = { {512 * 1024, 1} }, |
| 1243 | .block_erase = erase_chip_block_jedec, |
| 1244 | } |
| 1245 | }, |
| 1246 | .unlock = unlock_49fl00x, |
| 1247 | .write = write_jedec_1, |
| 1248 | .read = read_memmapped, |
| 1249 | }, |
| 1250 | |
| 1251 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1252 | .vendor = "Atmel", |
| 1253 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1254 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1255 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1256 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1257 | .total_size = 256, |
| 1258 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1259 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1260 | .tested = TEST_UNTESTED, |
| 1261 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1262 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1263 | .block_erasers = |
| 1264 | { |
| 1265 | { |
| 1266 | .eraseblocks = { {4 * 1024, 64} }, |
| 1267 | .block_erase = spi_block_erase_20, |
| 1268 | }, { |
| 1269 | .eraseblocks = { {32 * 1024, 8} }, |
| 1270 | .block_erase = spi_block_erase_52, |
| 1271 | }, { |
| 1272 | .eraseblocks = { {64 * 1024, 4} }, |
| 1273 | .block_erase = spi_block_erase_d8, |
| 1274 | }, { |
| 1275 | .eraseblocks = { {256 * 1024, 1} }, |
| 1276 | .block_erase = spi_block_erase_60, |
| 1277 | }, { |
| 1278 | .eraseblocks = { {256 * 1024, 1} }, |
| 1279 | .block_erase = spi_block_erase_c7, |
| 1280 | } |
| 1281 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1282 | .printlock = spi_prettyprint_status_register_at25df, |
| 1283 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1284 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1285 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1286 | }, |
| 1287 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1288 | { |
| 1289 | .vendor = "Atmel", |
| 1290 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1291 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1292 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1293 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1294 | .total_size = 512, |
| 1295 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1296 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1297 | .tested = TEST_UNTESTED, |
| 1298 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1299 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1300 | .block_erasers = |
| 1301 | { |
| 1302 | { |
| 1303 | .eraseblocks = { {4 * 1024, 128} }, |
| 1304 | .block_erase = spi_block_erase_20, |
| 1305 | }, { |
| 1306 | .eraseblocks = { {32 * 1024, 16} }, |
| 1307 | .block_erase = spi_block_erase_52, |
| 1308 | }, { |
| 1309 | .eraseblocks = { {64 * 1024, 8} }, |
| 1310 | .block_erase = spi_block_erase_d8, |
| 1311 | }, { |
| 1312 | .eraseblocks = { {512 * 1024, 1} }, |
| 1313 | .block_erase = spi_block_erase_60, |
| 1314 | }, { |
| 1315 | .eraseblocks = { {512 * 1024, 1} }, |
| 1316 | .block_erase = spi_block_erase_c7, |
| 1317 | } |
| 1318 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1319 | .printlock = spi_prettyprint_status_register_at25df, |
| 1320 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1321 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1322 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1323 | }, |
| 1324 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1325 | { |
| 1326 | .vendor = "Atmel", |
| 1327 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1328 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1329 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1330 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1331 | .total_size = 1024, |
| 1332 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1333 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1334 | .tested = TEST_UNTESTED, |
| 1335 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1336 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1337 | .block_erasers = |
| 1338 | { |
| 1339 | { |
| 1340 | .eraseblocks = { {4 * 1024, 256} }, |
| 1341 | .block_erase = spi_block_erase_20, |
| 1342 | }, { |
| 1343 | .eraseblocks = { {32 * 1024, 32} }, |
| 1344 | .block_erase = spi_block_erase_52, |
| 1345 | }, { |
| 1346 | .eraseblocks = { {64 * 1024, 16} }, |
| 1347 | .block_erase = spi_block_erase_d8, |
| 1348 | }, { |
| 1349 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1350 | .block_erase = spi_block_erase_60, |
| 1351 | }, { |
| 1352 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1353 | .block_erase = spi_block_erase_c7, |
| 1354 | } |
| 1355 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1356 | .printlock = spi_prettyprint_status_register_at25df, |
| 1357 | .unlock = spi_disable_blockprotect_at25df, |
| 1358 | .write = spi_chip_write_256, |
| 1359 | .read = spi_chip_read, |
| 1360 | }, |
| 1361 | |
| 1362 | { |
| 1363 | .vendor = "Atmel", |
| 1364 | .name = "AT25DF081A", |
| 1365 | .bustype = CHIP_BUSTYPE_SPI, |
| 1366 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1367 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1368 | .total_size = 1024, |
| 1369 | .page_size = 256, |
| 1370 | .feature_bits = FEATURE_WRSR_WREN, |
| 1371 | .tested = TEST_UNTESTED, |
| 1372 | .probe = probe_spi_rdid, |
| 1373 | .probe_timing = TIMING_ZERO, |
| 1374 | .block_erasers = |
| 1375 | { |
| 1376 | { |
| 1377 | .eraseblocks = { {4 * 1024, 256} }, |
| 1378 | .block_erase = spi_block_erase_20, |
| 1379 | }, { |
| 1380 | .eraseblocks = { {32 * 1024, 32} }, |
| 1381 | .block_erase = spi_block_erase_52, |
| 1382 | }, { |
| 1383 | .eraseblocks = { {64 * 1024, 16} }, |
| 1384 | .block_erase = spi_block_erase_d8, |
| 1385 | }, { |
| 1386 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1387 | .block_erase = spi_block_erase_60, |
| 1388 | }, { |
| 1389 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1390 | .block_erase = spi_block_erase_c7, |
| 1391 | } |
| 1392 | }, |
| 1393 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1394 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1395 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1396 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1397 | }, |
| 1398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1399 | { |
| 1400 | .vendor = "Atmel", |
| 1401 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1402 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1403 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1404 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1405 | .total_size = 2048, |
| 1406 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1407 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1408 | .tested = TEST_UNTESTED, |
| 1409 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1410 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1411 | .block_erasers = |
| 1412 | { |
| 1413 | { |
| 1414 | .eraseblocks = { {4 * 1024, 512} }, |
| 1415 | .block_erase = spi_block_erase_20, |
| 1416 | }, { |
| 1417 | .eraseblocks = { {32 * 1024, 64} }, |
| 1418 | .block_erase = spi_block_erase_52, |
| 1419 | }, { |
| 1420 | .eraseblocks = { {64 * 1024, 32} }, |
| 1421 | .block_erase = spi_block_erase_d8, |
| 1422 | }, { |
| 1423 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1424 | .block_erase = spi_block_erase_60, |
| 1425 | }, { |
| 1426 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1427 | .block_erase = spi_block_erase_c7, |
| 1428 | } |
| 1429 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1430 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1431 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1432 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1433 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1434 | }, |
| 1435 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1436 | { |
| 1437 | .vendor = "Atmel", |
| 1438 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1439 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1440 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1441 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1442 | .total_size = 4096, |
| 1443 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1444 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1445 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1446 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1447 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1448 | .block_erasers = |
| 1449 | { |
| 1450 | { |
| 1451 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1452 | .block_erase = spi_block_erase_20, |
| 1453 | }, { |
| 1454 | .eraseblocks = { {32 * 1024, 128} }, |
| 1455 | .block_erase = spi_block_erase_52, |
| 1456 | }, { |
| 1457 | .eraseblocks = { {64 * 1024, 64} }, |
| 1458 | .block_erase = spi_block_erase_d8, |
| 1459 | }, { |
| 1460 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1461 | .block_erase = spi_block_erase_60, |
| 1462 | }, { |
| 1463 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1464 | .block_erase = spi_block_erase_c7, |
| 1465 | } |
| 1466 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1467 | .printlock = spi_prettyprint_status_register_at25df, |
| 1468 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1469 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1470 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1471 | }, |
| 1472 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1473 | { |
| 1474 | .vendor = "Atmel", |
| 1475 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1476 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1477 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1478 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1479 | .total_size = 4096, |
| 1480 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1481 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1482 | .tested = TEST_UNTESTED, |
| 1483 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1484 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1485 | .block_erasers = |
| 1486 | { |
| 1487 | { |
| 1488 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1489 | .block_erase = spi_block_erase_20, |
| 1490 | }, { |
| 1491 | .eraseblocks = { {32 * 1024, 128} }, |
| 1492 | .block_erase = spi_block_erase_52, |
| 1493 | }, { |
| 1494 | .eraseblocks = { {64 * 1024, 64} }, |
| 1495 | .block_erase = spi_block_erase_d8, |
| 1496 | }, { |
| 1497 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1498 | .block_erase = spi_block_erase_60, |
| 1499 | }, { |
| 1500 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1501 | .block_erase = spi_block_erase_c7, |
| 1502 | } |
| 1503 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1504 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1505 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1506 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1507 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1508 | }, |
| 1509 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1510 | { |
| 1511 | .vendor = "Atmel", |
| 1512 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1513 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1514 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1515 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1516 | .total_size = 8192, |
| 1517 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1518 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1519 | .tested = TEST_UNTESTED, |
| 1520 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1521 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1522 | .block_erasers = |
| 1523 | { |
| 1524 | { |
| 1525 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1526 | .block_erase = spi_block_erase_20, |
| 1527 | }, { |
| 1528 | .eraseblocks = { {32 * 1024, 256} }, |
| 1529 | .block_erase = spi_block_erase_52, |
| 1530 | }, { |
| 1531 | .eraseblocks = { {64 * 1024, 128} }, |
| 1532 | .block_erase = spi_block_erase_d8, |
| 1533 | }, { |
| 1534 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1535 | .block_erase = spi_block_erase_60, |
| 1536 | }, { |
| 1537 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1538 | .block_erase = spi_block_erase_c7, |
| 1539 | } |
| 1540 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1541 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1542 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1543 | .write = spi_chip_write_256, |
| 1544 | .read = spi_chip_read, |
| 1545 | }, |
| 1546 | |
| 1547 | { |
| 1548 | .vendor = "Atmel", |
| 1549 | .name = "AT25DQ161", |
| 1550 | .bustype = CHIP_BUSTYPE_SPI, |
| 1551 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1552 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1553 | .total_size = 2048, |
| 1554 | .page_size = 256, |
| 1555 | .feature_bits = FEATURE_WRSR_WREN, |
| 1556 | .tested = TEST_UNTESTED, |
| 1557 | .probe = probe_spi_rdid, |
| 1558 | .probe_timing = TIMING_ZERO, |
| 1559 | .block_erasers = |
| 1560 | { |
| 1561 | { |
| 1562 | .eraseblocks = { {4 * 1024, 512} }, |
| 1563 | .block_erase = spi_block_erase_20, |
| 1564 | }, { |
| 1565 | .eraseblocks = { {32 * 1024, 64} }, |
| 1566 | .block_erase = spi_block_erase_52, |
| 1567 | }, { |
| 1568 | .eraseblocks = { {64 * 1024, 32} }, |
| 1569 | .block_erase = spi_block_erase_d8, |
| 1570 | }, { |
| 1571 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1572 | .block_erase = spi_block_erase_60, |
| 1573 | }, { |
| 1574 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1575 | .block_erase = spi_block_erase_c7, |
| 1576 | } |
| 1577 | }, |
| 1578 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1579 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1580 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1581 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1582 | }, |
| 1583 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1584 | { |
| 1585 | .vendor = "Atmel", |
| 1586 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1587 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1588 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1589 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1590 | .total_size = 64, |
| 1591 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1592 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1593 | .tested = TEST_UNTESTED, |
| 1594 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1595 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1596 | .block_erasers = |
| 1597 | { |
| 1598 | { |
| 1599 | .eraseblocks = { {4 * 1024, 16} }, |
| 1600 | .block_erase = spi_block_erase_20, |
| 1601 | }, { |
| 1602 | .eraseblocks = { {32 * 1024, 2} }, |
| 1603 | .block_erase = spi_block_erase_52, |
| 1604 | }, { |
| 1605 | .eraseblocks = { {32 * 1024, 2} }, |
| 1606 | .block_erase = spi_block_erase_d8, |
| 1607 | }, { |
| 1608 | .eraseblocks = { {64 * 1024, 1} }, |
| 1609 | .block_erase = spi_block_erase_60, |
| 1610 | }, { |
| 1611 | .eraseblocks = { {64 * 1024, 1} }, |
| 1612 | .block_erase = spi_block_erase_c7, |
| 1613 | } |
| 1614 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1615 | .printlock = spi_prettyprint_status_register_at25f, |
| 1616 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1617 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1618 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1619 | }, |
| 1620 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1621 | { |
| 1622 | .vendor = "Atmel", |
| 1623 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1624 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1625 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1626 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1627 | .total_size = 128, |
| 1628 | .page_size = 256, |
| 1629 | .tested = TEST_UNTESTED, |
| 1630 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1631 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1632 | .block_erasers = |
| 1633 | { |
| 1634 | { |
| 1635 | .eraseblocks = { {4 * 1024, 32} }, |
| 1636 | .block_erase = spi_block_erase_20, |
| 1637 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1638 | .eraseblocks = { {4 * 1024, 32} }, |
| 1639 | .block_erase = spi_block_erase_d7, |
| 1640 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1641 | .eraseblocks = { {32 * 1024, 4} }, |
| 1642 | .block_erase = spi_block_erase_52, |
| 1643 | }, { |
| 1644 | .eraseblocks = { {32 * 1024, 4} }, |
| 1645 | .block_erase = spi_block_erase_d8, |
| 1646 | }, { |
| 1647 | .eraseblocks = { {128 * 1024, 1} }, |
| 1648 | .block_erase = spi_block_erase_60, |
| 1649 | }, { |
| 1650 | .eraseblocks = { {128 * 1024, 1} }, |
| 1651 | .block_erase = spi_block_erase_c7, |
| 1652 | } |
| 1653 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1654 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1655 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1656 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1657 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1658 | }, |
| 1659 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1660 | { |
| 1661 | .vendor = "Atmel", |
| 1662 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1663 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1664 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1665 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1666 | .total_size = 512, |
| 1667 | .page_size = 256, |
| 1668 | .tested = TEST_UNTESTED, |
| 1669 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1670 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1671 | .block_erasers = |
| 1672 | { |
| 1673 | { |
| 1674 | .eraseblocks = { {4 * 1024, 128} }, |
| 1675 | .block_erase = spi_block_erase_20, |
| 1676 | }, { |
| 1677 | .eraseblocks = { {64 * 1024, 8} }, |
| 1678 | .block_erase = spi_block_erase_52, |
| 1679 | }, { |
| 1680 | .eraseblocks = { {64 * 1024, 8} }, |
| 1681 | .block_erase = spi_block_erase_d8, |
| 1682 | }, { |
| 1683 | .eraseblocks = { {512 * 1024, 1} }, |
| 1684 | .block_erase = spi_block_erase_60, |
| 1685 | }, { |
| 1686 | .eraseblocks = { {512 * 1024, 1} }, |
| 1687 | .block_erase = spi_block_erase_c7, |
| 1688 | } |
| 1689 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1690 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1691 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1692 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1693 | .read = spi_chip_read, |
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 = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1699 | .bustype = CHIP_BUSTYPE_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_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1702 | .total_size = 512, |
| 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, 128} }, |
| 1711 | .block_erase = spi_block_erase_20, |
| 1712 | } |
| 1713 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1714 | .write = NULL /* Incompatible Page write */, |
| 1715 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1716 | }, |
| 1717 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1718 | { |
| 1719 | .vendor = "Atmel", |
| 1720 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1721 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1722 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1723 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1724 | .total_size = 1024, |
| 1725 | .page_size = 256, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1726 | .feature_bits = FEATURE_WRSR_WREN, |
| 1727 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1728 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1729 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1730 | .block_erasers = |
| 1731 | { |
| 1732 | { |
| 1733 | .eraseblocks = { {4 * 1024, 256} }, |
| 1734 | .block_erase = spi_block_erase_20, |
| 1735 | }, { |
| 1736 | .eraseblocks = { {32 * 1024, 32} }, |
| 1737 | .block_erase = spi_block_erase_52, |
| 1738 | }, { |
| 1739 | .eraseblocks = { {64 * 1024, 16} }, |
| 1740 | .block_erase = spi_block_erase_d8, |
| 1741 | }, { |
| 1742 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1743 | .block_erase = spi_block_erase_60, |
| 1744 | }, { |
| 1745 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1746 | .block_erase = spi_block_erase_c7, |
| 1747 | } |
| 1748 | }, |
Mathias Krause | 2c3afa3 | 2011-01-17 07:45:54 +0000 | [diff] [blame] | 1749 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1750 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1751 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1752 | }, |
| 1753 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1754 | { |
| 1755 | .vendor = "Atmel", |
| 1756 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1757 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1758 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1759 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1760 | .total_size = 2048, |
| 1761 | .page_size = 256, |
| 1762 | .tested = TEST_UNTESTED, |
| 1763 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1764 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1765 | .block_erasers = |
| 1766 | { |
| 1767 | { |
| 1768 | .eraseblocks = { {4 * 1024, 512} }, |
| 1769 | .block_erase = spi_block_erase_20, |
| 1770 | }, { |
| 1771 | .eraseblocks = { {32 * 1024, 64} }, |
| 1772 | .block_erase = spi_block_erase_52, |
| 1773 | }, { |
| 1774 | .eraseblocks = { {64 * 1024, 32} }, |
| 1775 | .block_erase = spi_block_erase_d8, |
| 1776 | }, { |
| 1777 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1778 | .block_erase = spi_block_erase_60, |
| 1779 | }, { |
| 1780 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1781 | .block_erase = spi_block_erase_c7, |
| 1782 | } |
| 1783 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1784 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1785 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1786 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1787 | }, |
| 1788 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1789 | { |
| 1790 | .vendor = "Atmel", |
| 1791 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1792 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1793 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1794 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1795 | .total_size = 2048, |
| 1796 | .page_size = 256, |
| 1797 | .tested = TEST_UNTESTED, |
| 1798 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1799 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1800 | .block_erasers = |
| 1801 | { |
| 1802 | { |
| 1803 | .eraseblocks = { {4 * 1024, 512} }, |
| 1804 | .block_erase = spi_block_erase_20, |
| 1805 | }, { |
| 1806 | .eraseblocks = { {32 * 1024, 64} }, |
| 1807 | .block_erase = spi_block_erase_52, |
| 1808 | }, { |
| 1809 | .eraseblocks = { {64 * 1024, 32} }, |
| 1810 | .block_erase = spi_block_erase_d8, |
| 1811 | }, { |
| 1812 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1813 | .block_erase = spi_block_erase_60, |
| 1814 | }, { |
| 1815 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1816 | .block_erase = spi_block_erase_c7, |
| 1817 | } |
| 1818 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1819 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1820 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1821 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1822 | }, |
| 1823 | |
| 1824 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1825 | /*{ |
| 1826 | .vendor = "Atmel", |
| 1827 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1828 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1829 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1830 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1831 | .total_size = 4096, |
| 1832 | .page_size = 256, |
| 1833 | .tested = TEST_UNTESTED, |
| 1834 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1835 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1836 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1837 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1838 | .read = spi_chip_read, |
| 1839 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1840 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1841 | { |
| 1842 | .vendor = "Atmel", |
| 1843 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1844 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1845 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1846 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1847 | .total_size = 512, |
| 1848 | .page_size = 256, |
| 1849 | .tested = TEST_UNTESTED, |
| 1850 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1851 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1852 | .block_erasers = |
| 1853 | { |
| 1854 | { |
| 1855 | .eraseblocks = { {4 * 1024, 128} }, |
| 1856 | .block_erase = spi_block_erase_20, |
| 1857 | }, { |
| 1858 | .eraseblocks = { {32 * 1024, 16} }, |
| 1859 | .block_erase = spi_block_erase_52, |
| 1860 | }, { |
| 1861 | .eraseblocks = { {64 * 1024, 8} }, |
| 1862 | .block_erase = spi_block_erase_d8, |
| 1863 | }, { |
| 1864 | .eraseblocks = { {512 * 1024, 1} }, |
| 1865 | .block_erase = spi_block_erase_60, |
| 1866 | }, { |
| 1867 | .eraseblocks = { {512 * 1024, 1} }, |
| 1868 | .block_erase = spi_block_erase_c7, |
| 1869 | } |
| 1870 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1871 | .write = NULL /* Incompatible Page write */, |
| 1872 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1873 | }, |
| 1874 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1875 | { |
| 1876 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1877 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1878 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1879 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1880 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1881 | .total_size = 64, |
| 1882 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1883 | .feature_bits = FEATURE_LONG_RESET, |
| 1884 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1885 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1886 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1887 | .block_erasers = |
| 1888 | { |
| 1889 | { |
| 1890 | .eraseblocks = { {64 * 1024, 1} }, |
| 1891 | .block_erase = erase_chip_block_jedec, |
| 1892 | } |
| 1893 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1894 | .write = write_jedec, |
| 1895 | .read = read_memmapped, |
| 1896 | |
| 1897 | }, |
| 1898 | |
| 1899 | { |
| 1900 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1901 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1902 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1903 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1904 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1905 | .total_size = 128, |
| 1906 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1907 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1908 | .tested = TEST_OK_PRE, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1909 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1910 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1911 | .block_erasers = |
| 1912 | { |
| 1913 | { |
| 1914 | .eraseblocks = { {128 * 1024, 1} }, |
| 1915 | .block_erase = erase_chip_block_jedec, |
| 1916 | } |
| 1917 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1918 | .write = write_jedec, /* FIXME */ |
| 1919 | .read = read_memmapped, |
| 1920 | }, |
| 1921 | |
| 1922 | { |
| 1923 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1924 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1925 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1926 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1927 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1928 | .total_size = 256, |
| 1929 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1930 | .feature_bits = FEATURE_LONG_RESET, |
| 1931 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1932 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 1933 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1934 | .block_erasers = |
| 1935 | { |
| 1936 | { |
| 1937 | .eraseblocks = { {256 * 1024, 1} }, |
| 1938 | .block_erase = erase_chip_block_jedec, |
| 1939 | } |
| 1940 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1941 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1942 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1943 | }, |
| 1944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1945 | { |
| 1946 | .vendor = "Atmel", |
| 1947 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1948 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1949 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1950 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1951 | .total_size = 512, |
| 1952 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1953 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1954 | .tested = TEST_UNTESTED, |
| 1955 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 1956 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1957 | .block_erasers = |
| 1958 | { |
| 1959 | { |
| 1960 | .eraseblocks = { {512 * 1024, 1} }, |
| 1961 | .block_erase = erase_chip_block_jedec, |
| 1962 | } |
| 1963 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1964 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1965 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1966 | }, |
| 1967 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1968 | { |
| 1969 | .vendor = "Atmel", |
| 1970 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1971 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1972 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1973 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1974 | .total_size = 16896 /* No power of two sizes */, |
| 1975 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1976 | .tested = TEST_BAD_READ, |
| 1977 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1978 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1979 | .write = NULL /* Incompatible Page write */, |
| 1980 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1981 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1982 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1983 | { |
| 1984 | .vendor = "Atmel", |
| 1985 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1986 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1987 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1988 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1989 | .total_size = 128 /* Size can only be determined from status register */, |
| 1990 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1991 | .tested = TEST_BAD_READ, |
| 1992 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1993 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1994 | .write = NULL, |
| 1995 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1996 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1997 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1998 | { |
| 1999 | .vendor = "Atmel", |
| 2000 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2001 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2002 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2003 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2004 | .total_size = 256 /* Size can only be determined from status register */, |
| 2005 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2006 | .tested = TEST_BAD_READ, |
| 2007 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2008 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2009 | .write = NULL, |
| 2010 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2011 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2012 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2013 | { |
| 2014 | .vendor = "Atmel", |
| 2015 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2016 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2017 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2018 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2019 | .total_size = 512 /* Size can only be determined from status register */, |
| 2020 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2021 | .tested = TEST_BAD_READ, |
| 2022 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2023 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2024 | .write = NULL, |
| 2025 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2026 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2027 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2028 | { |
| 2029 | .vendor = "Atmel", |
| 2030 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2031 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2032 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2033 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2034 | .total_size = 1024 /* Size can only be determined from status register */, |
| 2035 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2036 | .tested = TEST_BAD_READ, |
| 2037 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2038 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2039 | .write = NULL, |
| 2040 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2041 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2042 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2043 | { |
| 2044 | .vendor = "Atmel", |
| 2045 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2046 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2047 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2048 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2049 | .total_size = 2048 /* Size can only be determined from status register */, |
| 2050 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2051 | .tested = TEST_BAD_READ, |
| 2052 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2053 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2054 | .write = NULL, |
| 2055 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2056 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2057 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2058 | { |
| 2059 | .vendor = "Atmel", |
| 2060 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2061 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2062 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2063 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2064 | .total_size = 4224 /* No power of two sizes */, |
| 2065 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2066 | .tested = TEST_BAD_READ, |
| 2067 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2068 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2069 | .write = NULL, |
| 2070 | .read = NULL /* Incompatible read */, |
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 = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2076 | .bustype = CHIP_BUSTYPE_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_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2079 | .total_size = 4096 /* Size can only be determined from status register */, |
| 2080 | .page_size = 512 /* 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, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2086 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2087 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2088 | { |
| 2089 | .vendor = "Atmel", |
| 2090 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2091 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2092 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2093 | .model_id = ATMEL_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2094 | .total_size = 8192 /* Size can only be determined from status register */, |
| 2095 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2096 | .tested = TEST_BAD_READ, |
| 2097 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2098 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | .write = NULL, |
| 2100 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 2101 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2102 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2103 | { |
| 2104 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2105 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2106 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2107 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2108 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2109 | .total_size = 64, |
| 2110 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2111 | .feature_bits = FEATURE_EITHER_RESET, |
| 2112 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2113 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2114 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2115 | .block_erasers = |
| 2116 | { |
| 2117 | { |
| 2118 | .eraseblocks = { {64 * 1024, 1} }, |
| 2119 | .block_erase = erase_chip_block_jedec, |
| 2120 | } |
| 2121 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2122 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 2123 | .read = read_memmapped, |
| 2124 | }, |
| 2125 | |
| 2126 | { |
| 2127 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2128 | .name = "AT49F020", |
| 2129 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2130 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2131 | .model_id = ATMEL_AT49F020, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2132 | .total_size = 256, |
| 2133 | .page_size = 256, |
| 2134 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2135 | .tested = TEST_OK_PRE, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 2136 | .probe = probe_jedec, |
| 2137 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2138 | .block_erasers = |
| 2139 | { |
| 2140 | { |
| 2141 | .eraseblocks = { {256 * 1024, 1} }, |
| 2142 | .block_erase = erase_chip_block_jedec, |
| 2143 | } |
| 2144 | }, |
| 2145 | .write = write_jedec_1, |
| 2146 | .read = read_memmapped, |
| 2147 | }, |
| 2148 | |
| 2149 | { |
| 2150 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2151 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2152 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2153 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2154 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2155 | .total_size = 256, |
| 2156 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2157 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2158 | .tested = TEST_UNTESTED, |
| 2159 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2160 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2161 | .block_erasers = |
| 2162 | { |
| 2163 | { |
| 2164 | .eraseblocks = { |
| 2165 | {16 * 1024, 1}, |
| 2166 | {8 * 1024, 2}, |
| 2167 | {96 * 1024, 1}, |
| 2168 | {128 * 1024, 1}, |
| 2169 | }, |
| 2170 | .block_erase = erase_sector_jedec, |
| 2171 | }, { |
| 2172 | .eraseblocks = { {256 * 1024, 1} }, |
| 2173 | .block_erase = erase_chip_block_jedec, |
| 2174 | } |
| 2175 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2176 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2177 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2178 | }, |
| 2179 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2180 | { |
| 2181 | .vendor = "Atmel", |
| 2182 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2183 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2184 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2185 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2186 | .total_size = 256, |
| 2187 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2188 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2189 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2190 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2191 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 2192 | .block_erasers = |
| 2193 | { |
| 2194 | { |
| 2195 | .eraseblocks = { |
| 2196 | {128 * 1024, 1}, |
| 2197 | {96 * 1024, 1}, |
| 2198 | {8 * 1024, 2}, |
| 2199 | {16 * 1024, 1}, |
| 2200 | }, |
| 2201 | .block_erase = erase_sector_jedec, |
| 2202 | }, { |
| 2203 | .eraseblocks = { {256 * 1024, 1} }, |
| 2204 | .block_erase = erase_chip_block_jedec, |
| 2205 | } |
| 2206 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2207 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2208 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2209 | }, |
| 2210 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 2211 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 2212 | .vendor = "Bright", |
| 2213 | .name = "BM29F040", |
| 2214 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2215 | .manufacture_id = BRIGHT_ID, |
| 2216 | .model_id = BRIGHT_BM29F040, |
| 2217 | .total_size = 512, |
| 2218 | .page_size = 64 * 1024, |
| 2219 | .feature_bits = FEATURE_EITHER_RESET, |
| 2220 | .tested = TEST_OK_PR, |
| 2221 | .probe = probe_jedec, |
| 2222 | .probe_timing = TIMING_ZERO, |
| 2223 | .block_erasers = |
| 2224 | { |
| 2225 | { |
| 2226 | .eraseblocks = { {64 * 1024, 8} }, |
| 2227 | .block_erase = erase_sector_jedec, |
| 2228 | }, { |
| 2229 | .eraseblocks = { {512 * 1024, 1} }, |
| 2230 | .block_erase = erase_chip_block_jedec, |
| 2231 | }, |
| 2232 | }, |
| 2233 | .write = write_jedec_1, |
| 2234 | .read = read_memmapped, |
| 2235 | }, |
| 2236 | |
| 2237 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2238 | .vendor = "EMST", |
| 2239 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2240 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2241 | .manufacture_id = EMST_ID, |
| 2242 | .model_id = EMST_F49B002UA, |
| 2243 | .total_size = 256, |
| 2244 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2245 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2246 | .tested = TEST_UNTESTED, |
| 2247 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2248 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2249 | .block_erasers = |
| 2250 | { |
| 2251 | { |
| 2252 | .eraseblocks = { |
| 2253 | {128 * 1024, 1}, |
| 2254 | {96 * 1024, 1}, |
| 2255 | {8 * 1024, 2}, |
| 2256 | {16 * 1024, 1}, |
| 2257 | }, |
| 2258 | .block_erase = erase_sector_jedec, |
| 2259 | }, { |
| 2260 | .eraseblocks = { {256 * 1024, 1} }, |
| 2261 | .block_erase = erase_chip_block_jedec, |
| 2262 | } |
| 2263 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2264 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2265 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2266 | }, |
| 2267 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2268 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2269 | .vendor = "EMST", |
| 2270 | .name = "F25L008A", |
| 2271 | .bustype = CHIP_BUSTYPE_SPI, |
| 2272 | .manufacture_id = EMST_ID, |
| 2273 | .model_id = EMST_F25L008A, |
| 2274 | .total_size = 1024, |
| 2275 | .page_size = 256, |
| 2276 | .tested = TEST_UNTESTED, |
| 2277 | .probe = probe_spi_rdid, |
| 2278 | .probe_timing = TIMING_ZERO, |
| 2279 | .block_erasers = |
| 2280 | { |
| 2281 | { |
| 2282 | .eraseblocks = { {4 * 1024, 256} }, |
| 2283 | .block_erase = spi_block_erase_20, |
| 2284 | }, { |
| 2285 | .eraseblocks = { {64 * 1024, 16} }, |
| 2286 | .block_erase = spi_block_erase_d8, |
| 2287 | }, { |
| 2288 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2289 | .block_erase = spi_block_erase_60, |
| 2290 | }, { |
| 2291 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2292 | .block_erase = spi_block_erase_c7, |
| 2293 | } |
| 2294 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2295 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2296 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2297 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2298 | }, |
| 2299 | |
| 2300 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2301 | .vendor = "Eon", |
| 2302 | .name = "EN25B05", |
| 2303 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2304 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2305 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2306 | .total_size = 64, |
| 2307 | .page_size = 256, |
| 2308 | .tested = TEST_UNTESTED, |
| 2309 | .probe = probe_spi_rdid, |
| 2310 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2311 | .block_erasers = |
| 2312 | { |
| 2313 | { |
| 2314 | .eraseblocks = { |
| 2315 | {4 * 1024, 2}, |
| 2316 | {8 * 1024, 1}, |
| 2317 | {16 * 1024, 1}, |
| 2318 | {32 * 1024, 1}, |
| 2319 | }, |
| 2320 | .block_erase = spi_block_erase_d8, |
| 2321 | }, { |
| 2322 | .eraseblocks = { {64 * 1024, 1} }, |
| 2323 | .block_erase = spi_block_erase_c7, |
| 2324 | } |
| 2325 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2326 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2327 | .write = spi_chip_write_256, |
| 2328 | .read = spi_chip_read, |
| 2329 | }, |
| 2330 | |
| 2331 | { |
| 2332 | .vendor = "Eon", |
| 2333 | .name = "EN25B05T", |
| 2334 | .bustype = CHIP_BUSTYPE_SPI, |
| 2335 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2336 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2337 | .total_size = 64, |
| 2338 | .page_size = 256, |
| 2339 | .tested = TEST_UNTESTED, |
| 2340 | .probe = probe_spi_rdid, |
| 2341 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2342 | .block_erasers = |
| 2343 | { |
| 2344 | { |
| 2345 | .eraseblocks = { |
| 2346 | {32 * 1024, 1}, |
| 2347 | {16 * 1024, 1}, |
| 2348 | {8 * 1024, 1}, |
| 2349 | {4 * 1024, 2}, |
| 2350 | }, |
| 2351 | .block_erase = spi_block_erase_d8, |
| 2352 | }, { |
| 2353 | .eraseblocks = { {64 * 1024, 1} }, |
| 2354 | .block_erase = spi_block_erase_c7, |
| 2355 | } |
| 2356 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2357 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2358 | .write = spi_chip_write_256, |
| 2359 | .read = spi_chip_read, |
| 2360 | }, |
| 2361 | |
| 2362 | { |
| 2363 | .vendor = "Eon", |
| 2364 | .name = "EN25B10", |
| 2365 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2366 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2367 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2368 | .total_size = 128, |
| 2369 | .page_size = 256, |
| 2370 | .tested = TEST_UNTESTED, |
| 2371 | .probe = probe_spi_rdid, |
| 2372 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2373 | .block_erasers = |
| 2374 | { |
| 2375 | { |
| 2376 | .eraseblocks = { |
| 2377 | {4 * 1024, 2}, |
| 2378 | {8 * 1024, 1}, |
| 2379 | {16 * 1024, 1}, |
| 2380 | {32 * 1024, 3}, |
| 2381 | }, |
| 2382 | .block_erase = spi_block_erase_d8, |
| 2383 | }, { |
| 2384 | .eraseblocks = { {128 * 1024, 1} }, |
| 2385 | .block_erase = spi_block_erase_c7, |
| 2386 | } |
| 2387 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2388 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2389 | .write = spi_chip_write_256, |
| 2390 | .read = spi_chip_read, |
| 2391 | }, |
| 2392 | |
| 2393 | { |
| 2394 | .vendor = "Eon", |
| 2395 | .name = "EN25B10T", |
| 2396 | .bustype = CHIP_BUSTYPE_SPI, |
| 2397 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2398 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2399 | .total_size = 128, |
| 2400 | .page_size = 256, |
| 2401 | .tested = TEST_UNTESTED, |
| 2402 | .probe = probe_spi_rdid, |
| 2403 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2404 | .block_erasers = |
| 2405 | { |
| 2406 | { |
| 2407 | .eraseblocks = { |
| 2408 | {32 * 1024, 3}, |
| 2409 | {16 * 1024, 1}, |
| 2410 | {8 * 1024, 1}, |
| 2411 | {4 * 1024, 2}, |
| 2412 | }, |
| 2413 | .block_erase = spi_block_erase_d8, |
| 2414 | }, { |
| 2415 | .eraseblocks = { {128 * 1024, 1} }, |
| 2416 | .block_erase = spi_block_erase_c7, |
| 2417 | } |
| 2418 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2419 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2420 | .write = spi_chip_write_256, |
| 2421 | .read = spi_chip_read, |
| 2422 | }, |
| 2423 | |
| 2424 | { |
| 2425 | .vendor = "Eon", |
| 2426 | .name = "EN25B20", |
| 2427 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2428 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2429 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2430 | .total_size = 256, |
| 2431 | .page_size = 256, |
| 2432 | .tested = TEST_UNTESTED, |
| 2433 | .probe = probe_spi_rdid, |
| 2434 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2435 | .block_erasers = |
| 2436 | { |
| 2437 | { |
| 2438 | .eraseblocks = { |
| 2439 | {4 * 1024, 2}, |
| 2440 | {8 * 1024, 1}, |
| 2441 | {16 * 1024, 1}, |
| 2442 | {32 * 1024, 1}, |
| 2443 | {64 * 1024, 3} |
| 2444 | }, |
| 2445 | .block_erase = spi_block_erase_d8, |
| 2446 | }, { |
| 2447 | .eraseblocks = { {256 * 1024, 1} }, |
| 2448 | .block_erase = spi_block_erase_c7, |
| 2449 | } |
| 2450 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2451 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2452 | .write = spi_chip_write_256, |
| 2453 | .read = spi_chip_read, |
| 2454 | }, |
| 2455 | |
| 2456 | { |
| 2457 | .vendor = "Eon", |
| 2458 | .name = "EN25B20T", |
| 2459 | .bustype = CHIP_BUSTYPE_SPI, |
| 2460 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2461 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2462 | .total_size = 256, |
| 2463 | .page_size = 256, |
| 2464 | .tested = TEST_UNTESTED, |
| 2465 | .probe = probe_spi_rdid, |
| 2466 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2467 | .block_erasers = |
| 2468 | { |
| 2469 | { |
| 2470 | .eraseblocks = { |
| 2471 | {64 * 1024, 3}, |
| 2472 | {32 * 1024, 1}, |
| 2473 | {16 * 1024, 1}, |
| 2474 | {8 * 1024, 1}, |
| 2475 | {4 * 1024, 2}, |
| 2476 | }, |
| 2477 | .block_erase = spi_block_erase_d8, |
| 2478 | }, { |
| 2479 | .eraseblocks = { {256 * 1024, 1} }, |
| 2480 | .block_erase = spi_block_erase_c7, |
| 2481 | } |
| 2482 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2483 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2484 | .write = spi_chip_write_256, |
| 2485 | .read = spi_chip_read, |
| 2486 | }, |
| 2487 | |
| 2488 | { |
| 2489 | .vendor = "Eon", |
| 2490 | .name = "EN25B40", |
| 2491 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2492 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2493 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2494 | .total_size = 512, |
| 2495 | .page_size = 256, |
| 2496 | .tested = TEST_UNTESTED, |
| 2497 | .probe = probe_spi_rdid, |
| 2498 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2499 | .block_erasers = |
| 2500 | { |
| 2501 | { |
| 2502 | .eraseblocks = { |
| 2503 | {4 * 1024, 2}, |
| 2504 | {8 * 1024, 1}, |
| 2505 | {16 * 1024, 1}, |
| 2506 | {32 * 1024, 1}, |
| 2507 | {64 * 1024, 7} |
| 2508 | }, |
| 2509 | .block_erase = spi_block_erase_d8, |
| 2510 | }, { |
| 2511 | .eraseblocks = { {512 * 1024, 1} }, |
| 2512 | .block_erase = spi_block_erase_c7, |
| 2513 | } |
| 2514 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2515 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2516 | .write = spi_chip_write_256, |
| 2517 | .read = spi_chip_read, |
| 2518 | }, |
| 2519 | |
| 2520 | { |
| 2521 | .vendor = "Eon", |
| 2522 | .name = "EN25B40T", |
| 2523 | .bustype = CHIP_BUSTYPE_SPI, |
| 2524 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2525 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2526 | .total_size = 512, |
| 2527 | .page_size = 256, |
| 2528 | .tested = TEST_UNTESTED, |
| 2529 | .probe = probe_spi_rdid, |
| 2530 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2531 | .block_erasers = |
| 2532 | { |
| 2533 | { |
| 2534 | .eraseblocks = { |
| 2535 | {64 * 1024, 7}, |
| 2536 | {32 * 1024, 1}, |
| 2537 | {16 * 1024, 1}, |
| 2538 | {8 * 1024, 1}, |
| 2539 | {4 * 1024, 2}, |
| 2540 | }, |
| 2541 | .block_erase = spi_block_erase_d8, |
| 2542 | }, { |
| 2543 | .eraseblocks = { {512 * 1024, 1} }, |
| 2544 | .block_erase = spi_block_erase_c7, |
| 2545 | } |
| 2546 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2547 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2548 | .write = spi_chip_write_256, |
| 2549 | .read = spi_chip_read, |
| 2550 | }, |
| 2551 | |
| 2552 | { |
| 2553 | .vendor = "Eon", |
| 2554 | .name = "EN25B80", |
| 2555 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2556 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2557 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2558 | .total_size = 1024, |
| 2559 | .page_size = 256, |
| 2560 | .tested = TEST_UNTESTED, |
| 2561 | .probe = probe_spi_rdid, |
| 2562 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2563 | .block_erasers = |
| 2564 | { |
| 2565 | { |
| 2566 | .eraseblocks = { |
| 2567 | {4 * 1024, 2}, |
| 2568 | {8 * 1024, 1}, |
| 2569 | {16 * 1024, 1}, |
| 2570 | {32 * 1024, 1}, |
| 2571 | {64 * 1024, 15} |
| 2572 | }, |
| 2573 | .block_erase = spi_block_erase_d8, |
| 2574 | }, { |
| 2575 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2576 | .block_erase = spi_block_erase_c7, |
| 2577 | } |
| 2578 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2579 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2580 | .write = spi_chip_write_256, |
| 2581 | .read = spi_chip_read, |
| 2582 | }, |
| 2583 | |
| 2584 | { |
| 2585 | .vendor = "Eon", |
| 2586 | .name = "EN25B80T", |
| 2587 | .bustype = CHIP_BUSTYPE_SPI, |
| 2588 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2589 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2590 | .total_size = 1024, |
| 2591 | .page_size = 256, |
| 2592 | .tested = TEST_UNTESTED, |
| 2593 | .probe = probe_spi_rdid, |
| 2594 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2595 | .block_erasers = |
| 2596 | { |
| 2597 | { |
| 2598 | .eraseblocks = { |
| 2599 | {64 * 1024, 15}, |
| 2600 | {32 * 1024, 1}, |
| 2601 | {16 * 1024, 1}, |
| 2602 | {8 * 1024, 1}, |
| 2603 | {4 * 1024, 2}, |
| 2604 | }, |
| 2605 | .block_erase = spi_block_erase_d8, |
| 2606 | }, { |
| 2607 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2608 | .block_erase = spi_block_erase_c7, |
| 2609 | } |
| 2610 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2611 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2612 | .write = spi_chip_write_256, |
| 2613 | .read = spi_chip_read, |
| 2614 | }, |
| 2615 | |
| 2616 | { |
| 2617 | .vendor = "Eon", |
| 2618 | .name = "EN25B16", |
| 2619 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2620 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2621 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2622 | .total_size = 2048, |
| 2623 | .page_size = 256, |
| 2624 | .tested = TEST_UNTESTED, |
| 2625 | .probe = probe_spi_rdid, |
| 2626 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2627 | .block_erasers = |
| 2628 | { |
| 2629 | { |
| 2630 | .eraseblocks = { |
| 2631 | {4 * 1024, 2}, |
| 2632 | {8 * 1024, 1}, |
| 2633 | {16 * 1024, 1}, |
| 2634 | {32 * 1024, 1}, |
| 2635 | {64 * 1024, 31}, |
| 2636 | }, |
| 2637 | .block_erase = spi_block_erase_d8, |
| 2638 | }, { |
| 2639 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2640 | .block_erase = spi_block_erase_c7, |
| 2641 | } |
| 2642 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2643 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2644 | .write = spi_chip_write_256, |
| 2645 | .read = spi_chip_read, |
| 2646 | }, |
| 2647 | |
| 2648 | { |
| 2649 | .vendor = "Eon", |
| 2650 | .name = "EN25B16T", |
| 2651 | .bustype = CHIP_BUSTYPE_SPI, |
| 2652 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2653 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2654 | .total_size = 2048, |
| 2655 | .page_size = 256, |
| 2656 | .tested = TEST_UNTESTED, |
| 2657 | .probe = probe_spi_rdid, |
| 2658 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2659 | .block_erasers = |
| 2660 | { |
| 2661 | { |
| 2662 | .eraseblocks = { |
| 2663 | {64 * 1024, 31}, |
| 2664 | {32 * 1024, 1}, |
| 2665 | {16 * 1024, 1}, |
| 2666 | {8 * 1024, 1}, |
| 2667 | {4 * 1024, 2}, |
| 2668 | }, |
| 2669 | .block_erase = spi_block_erase_d8, |
| 2670 | }, { |
| 2671 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2672 | .block_erase = spi_block_erase_c7, |
| 2673 | } |
| 2674 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2675 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2676 | .write = spi_chip_write_256, |
| 2677 | .read = spi_chip_read, |
| 2678 | }, |
| 2679 | |
| 2680 | { |
| 2681 | .vendor = "Eon", |
| 2682 | .name = "EN25B32", |
| 2683 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2684 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2685 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2686 | .total_size = 4096, |
| 2687 | .page_size = 256, |
| 2688 | .tested = TEST_UNTESTED, |
| 2689 | .probe = probe_spi_rdid, |
| 2690 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2691 | .block_erasers = |
| 2692 | { |
| 2693 | { |
| 2694 | .eraseblocks = { |
| 2695 | {4 * 1024, 2}, |
| 2696 | {8 * 1024, 1}, |
| 2697 | {16 * 1024, 1}, |
| 2698 | {32 * 1024, 1}, |
| 2699 | {64 * 1024, 63}, |
| 2700 | }, |
| 2701 | .block_erase = spi_block_erase_d8, |
| 2702 | }, { |
| 2703 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2704 | .block_erase = spi_block_erase_c7, |
| 2705 | } |
| 2706 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2707 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2708 | .write = spi_chip_write_256, |
| 2709 | .read = spi_chip_read, |
| 2710 | }, |
| 2711 | |
| 2712 | { |
| 2713 | .vendor = "Eon", |
| 2714 | .name = "EN25B32T", |
| 2715 | .bustype = CHIP_BUSTYPE_SPI, |
| 2716 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2717 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2718 | .total_size = 4096, |
| 2719 | .page_size = 256, |
| 2720 | .tested = TEST_UNTESTED, |
| 2721 | .probe = probe_spi_rdid, |
| 2722 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2723 | .block_erasers = |
| 2724 | { |
| 2725 | { |
| 2726 | .eraseblocks = { |
| 2727 | {64 * 1024, 63}, |
| 2728 | {32 * 1024, 1}, |
| 2729 | {16 * 1024, 1}, |
| 2730 | {8 * 1024, 1}, |
| 2731 | {4 * 1024, 2}, |
| 2732 | }, |
| 2733 | .block_erase = spi_block_erase_d8, |
| 2734 | }, { |
| 2735 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2736 | .block_erase = spi_block_erase_c7, |
| 2737 | } |
| 2738 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2739 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2740 | .write = spi_chip_write_256, |
| 2741 | .read = spi_chip_read, |
| 2742 | }, |
| 2743 | |
| 2744 | { |
| 2745 | .vendor = "Eon", |
| 2746 | .name = "EN25B64", |
| 2747 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2748 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2749 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2750 | .total_size = 8192, |
| 2751 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2752 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2753 | .tested = TEST_UNTESTED, |
| 2754 | .probe = probe_spi_rdid, |
| 2755 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2756 | .block_erasers = |
| 2757 | { |
| 2758 | { |
| 2759 | .eraseblocks = { |
| 2760 | {4 * 1024, 2}, |
| 2761 | {8 * 1024, 1}, |
| 2762 | {16 * 1024, 1}, |
| 2763 | {32 * 1024, 1}, |
| 2764 | {64 * 1024, 127}, |
| 2765 | }, |
| 2766 | .block_erase = spi_block_erase_d8, |
| 2767 | }, { |
| 2768 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2769 | .block_erase = spi_block_erase_c7, |
| 2770 | } |
| 2771 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2772 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2773 | .write = spi_chip_write_256, |
| 2774 | .read = spi_chip_read, |
| 2775 | }, |
| 2776 | |
| 2777 | { |
| 2778 | .vendor = "Eon", |
| 2779 | .name = "EN25B64T", |
| 2780 | .bustype = CHIP_BUSTYPE_SPI, |
| 2781 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2782 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2783 | .total_size = 8192, |
| 2784 | .page_size = 256, |
| 2785 | .tested = TEST_UNTESTED, |
| 2786 | .probe = probe_spi_rdid, |
| 2787 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2788 | .block_erasers = |
| 2789 | { |
| 2790 | { |
| 2791 | .eraseblocks = { |
| 2792 | {64 * 1024, 127}, |
| 2793 | {32 * 1024, 1}, |
| 2794 | {16 * 1024, 1}, |
| 2795 | {8 * 1024, 1}, |
| 2796 | {4 * 1024, 2}, |
| 2797 | }, |
| 2798 | .block_erase = spi_block_erase_d8, |
| 2799 | }, { |
| 2800 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2801 | .block_erase = spi_block_erase_c7, |
| 2802 | } |
| 2803 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2804 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2805 | .write = spi_chip_write_256, |
| 2806 | .read = spi_chip_read, |
| 2807 | }, |
| 2808 | |
| 2809 | { |
| 2810 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2811 | .name = "EN25D16", |
| 2812 | .bustype = CHIP_BUSTYPE_SPI, |
| 2813 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2814 | .model_id = EON_EN25D16, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2815 | .total_size = 2048, |
| 2816 | .page_size = 256, |
| 2817 | .tested = TEST_UNTESTED, |
| 2818 | .probe = probe_spi_rdid, |
| 2819 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2820 | .block_erasers = |
| 2821 | { |
| 2822 | { |
| 2823 | .eraseblocks = { {4 * 1024, 512} }, |
| 2824 | .block_erase = spi_block_erase_20, |
| 2825 | }, { |
| 2826 | .eraseblocks = { {64 * 1024, 32} }, |
| 2827 | .block_erase = spi_block_erase_d8, |
| 2828 | }, { |
| 2829 | .eraseblocks = { {64 * 1024, 32} }, |
| 2830 | .block_erase = spi_block_erase_52, |
| 2831 | }, { |
| 2832 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2833 | .block_erase = spi_block_erase_60, |
| 2834 | }, { |
| 2835 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2836 | .block_erase = spi_block_erase_c7, |
| 2837 | } |
| 2838 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2839 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2840 | .write = spi_chip_write_256, |
| 2841 | .read = spi_chip_read, |
| 2842 | }, |
| 2843 | |
| 2844 | { |
| 2845 | .vendor = "Eon", |
| 2846 | .name = "EN25F05", |
| 2847 | .bustype = CHIP_BUSTYPE_SPI, |
| 2848 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2849 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2850 | .total_size = 64, |
| 2851 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2852 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2853 | .tested = TEST_UNTESTED, |
| 2854 | .probe = probe_spi_rdid, |
| 2855 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2856 | .block_erasers = |
| 2857 | { |
| 2858 | { |
| 2859 | .eraseblocks = { {4 * 1024, 16} }, |
| 2860 | .block_erase = spi_block_erase_20, |
| 2861 | }, { |
| 2862 | .eraseblocks = { {32 * 1024, 2} }, |
| 2863 | .block_erase = spi_block_erase_d8, |
| 2864 | }, { |
| 2865 | .eraseblocks = { {32 * 1024, 2} }, |
| 2866 | .block_erase = spi_block_erase_52, |
| 2867 | }, { |
| 2868 | .eraseblocks = { {64 * 1024, 1} }, |
| 2869 | .block_erase = spi_block_erase_60, |
| 2870 | }, { |
| 2871 | .eraseblocks = { {64 * 1024, 1} }, |
| 2872 | .block_erase = spi_block_erase_c7, |
| 2873 | } |
| 2874 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2875 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2876 | .write = spi_chip_write_256, |
| 2877 | .read = spi_chip_read, |
| 2878 | }, |
| 2879 | |
| 2880 | { |
| 2881 | .vendor = "Eon", |
| 2882 | .name = "EN25F10", |
| 2883 | .bustype = CHIP_BUSTYPE_SPI, |
| 2884 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2885 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2886 | .total_size = 128, |
| 2887 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2888 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2889 | .tested = TEST_UNTESTED, |
| 2890 | .probe = probe_spi_rdid, |
| 2891 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2892 | .block_erasers = |
| 2893 | { |
| 2894 | { |
| 2895 | .eraseblocks = { {4 * 1024, 32} }, |
| 2896 | .block_erase = spi_block_erase_20, |
| 2897 | }, { |
| 2898 | .eraseblocks = { {32 * 1024, 4} }, |
| 2899 | .block_erase = spi_block_erase_d8, |
| 2900 | }, { |
| 2901 | .eraseblocks = { {32 * 1024, 4} }, |
| 2902 | .block_erase = spi_block_erase_52, |
| 2903 | }, { |
| 2904 | .eraseblocks = { {128 * 1024, 1} }, |
| 2905 | .block_erase = spi_block_erase_60, |
| 2906 | }, { |
| 2907 | .eraseblocks = { {128 * 1024, 1} }, |
| 2908 | .block_erase = spi_block_erase_c7, |
| 2909 | } |
| 2910 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2911 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2912 | .write = spi_chip_write_256, |
| 2913 | .read = spi_chip_read, |
| 2914 | }, |
| 2915 | |
| 2916 | { |
| 2917 | .vendor = "Eon", |
| 2918 | .name = "EN25F20", |
| 2919 | .bustype = CHIP_BUSTYPE_SPI, |
| 2920 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2921 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2922 | .total_size = 256, |
| 2923 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2924 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2925 | .tested = TEST_UNTESTED, |
| 2926 | .probe = probe_spi_rdid, |
| 2927 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2928 | .block_erasers = |
| 2929 | { |
| 2930 | { |
| 2931 | .eraseblocks = { {4 * 1024, 64} }, |
| 2932 | .block_erase = spi_block_erase_20, |
| 2933 | }, { |
| 2934 | .eraseblocks = { {64 * 1024, 4} }, |
| 2935 | .block_erase = spi_block_erase_d8, |
| 2936 | }, { |
| 2937 | .eraseblocks = { {64 * 1024, 4} }, |
| 2938 | .block_erase = spi_block_erase_52, |
| 2939 | }, { |
| 2940 | .eraseblocks = { {256 * 1024, 1} }, |
| 2941 | .block_erase = spi_block_erase_60, |
| 2942 | }, { |
| 2943 | .eraseblocks = { {256 * 1024, 1} }, |
| 2944 | .block_erase = spi_block_erase_c7, |
| 2945 | } |
| 2946 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2947 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2948 | .write = spi_chip_write_256, |
| 2949 | .read = spi_chip_read, |
| 2950 | }, |
| 2951 | |
| 2952 | { |
| 2953 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2954 | .name = "EN25F40", |
| 2955 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2956 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2957 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2958 | .total_size = 512, |
| 2959 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2960 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2961 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2962 | .probe = probe_spi_rdid, |
| 2963 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2964 | .block_erasers = |
| 2965 | { |
| 2966 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2967 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2968 | .block_erase = spi_block_erase_20, |
| 2969 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2970 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2971 | .block_erase = spi_block_erase_d8, |
| 2972 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2973 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2974 | .block_erase = spi_block_erase_60, |
| 2975 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2976 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2977 | .block_erase = spi_block_erase_c7, |
| 2978 | }, |
| 2979 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2980 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2981 | .write = spi_chip_write_256, |
| 2982 | .read = spi_chip_read, |
| 2983 | }, |
| 2984 | |
| 2985 | { |
| 2986 | .vendor = "Eon", |
| 2987 | .name = "EN25F80", |
| 2988 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2989 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2990 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2991 | .total_size = 1024, |
| 2992 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2993 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2994 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2995 | .probe = probe_spi_rdid, |
| 2996 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2997 | .block_erasers = |
| 2998 | { |
| 2999 | { |
| 3000 | .eraseblocks = { {4 * 1024, 256} }, |
| 3001 | .block_erase = spi_block_erase_20, |
| 3002 | }, { |
| 3003 | .eraseblocks = { {64 * 1024, 16} }, |
| 3004 | .block_erase = spi_block_erase_d8, |
| 3005 | }, { |
| 3006 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3007 | .block_erase = spi_block_erase_60, |
| 3008 | }, { |
| 3009 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3010 | .block_erase = spi_block_erase_c7, |
| 3011 | } |
| 3012 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3013 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3014 | .write = spi_chip_write_256, |
| 3015 | .read = spi_chip_read, |
| 3016 | }, |
| 3017 | |
| 3018 | { |
| 3019 | .vendor = "Eon", |
| 3020 | .name = "EN25F16", |
| 3021 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3022 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3023 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3024 | .total_size = 2048, |
| 3025 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3026 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3027 | .tested = TEST_UNTESTED, |
| 3028 | .probe = probe_spi_rdid, |
| 3029 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3030 | .block_erasers = |
| 3031 | { |
| 3032 | { |
| 3033 | .eraseblocks = { {4 * 1024, 512} }, |
| 3034 | .block_erase = spi_block_erase_20, |
| 3035 | }, { |
| 3036 | .eraseblocks = { {64 * 1024, 32} }, |
| 3037 | .block_erase = spi_block_erase_d8, |
| 3038 | }, { |
| 3039 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3040 | .block_erase = spi_block_erase_60, |
| 3041 | }, { |
| 3042 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3043 | .block_erase = spi_block_erase_c7, |
| 3044 | } |
| 3045 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3046 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 3047 | .write = spi_chip_write_256, |
| 3048 | .read = spi_chip_read, |
| 3049 | }, |
| 3050 | |
| 3051 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3052 | .vendor = "Eon", |
| 3053 | .name = "EN25F32", |
| 3054 | .bustype = CHIP_BUSTYPE_SPI, |
| 3055 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3056 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3057 | .total_size = 4096, |
| 3058 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 3059 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3060 | .tested = TEST_UNTESTED, |
| 3061 | .probe = probe_spi_rdid, |
| 3062 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3063 | .block_erasers = |
| 3064 | { |
| 3065 | { |
| 3066 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3067 | .block_erase = spi_block_erase_20, |
| 3068 | }, { |
| 3069 | .eraseblocks = { {64 * 1024, 64} }, |
| 3070 | .block_erase = spi_block_erase_d8, |
| 3071 | }, { |
| 3072 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3073 | .block_erase = spi_block_erase_60, |
| 3074 | }, { |
| 3075 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3076 | .block_erase = spi_block_erase_c7, |
| 3077 | } |
| 3078 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3079 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 3080 | .write = spi_chip_write_256, |
| 3081 | .read = spi_chip_read, |
| 3082 | }, |
| 3083 | |
| 3084 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3085 | .vendor = "Eon", |
| 3086 | .name = "EN29F010", |
| 3087 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3088 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3089 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3090 | .total_size = 128, |
| 3091 | .page_size = 128, |
| 3092 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3093 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 3094 | .probe = probe_jedec, |
| 3095 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3096 | .block_erasers = |
| 3097 | { |
| 3098 | { |
| 3099 | .eraseblocks = { {16 * 1024, 8} }, |
| 3100 | .block_erase = erase_sector_jedec, |
| 3101 | }, |
| 3102 | { |
| 3103 | .eraseblocks = { {128 * 1024, 1} }, |
| 3104 | .block_erase = erase_chip_block_jedec, |
| 3105 | }, |
| 3106 | }, |
| 3107 | .write = write_jedec_1, |
| 3108 | .read = read_memmapped, |
| 3109 | }, |
| 3110 | |
| 3111 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3112 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3113 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3114 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3115 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3116 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3117 | .total_size = 256, |
| 3118 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3119 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3120 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3121 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3122 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3123 | .block_erasers = |
| 3124 | { |
| 3125 | { |
| 3126 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3127 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3128 | {8 * 1024, 2}, |
| 3129 | {32 * 1024, 1}, |
| 3130 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3131 | }, |
| 3132 | .block_erase = erase_sector_jedec, |
| 3133 | }, { |
| 3134 | .eraseblocks = { {256 * 1024, 1} }, |
| 3135 | .block_erase = erase_chip_block_jedec, |
| 3136 | }, |
| 3137 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3138 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3139 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3140 | }, |
| 3141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3142 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 3143 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3144 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3145 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3146 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3147 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3148 | .total_size = 256, |
| 3149 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3150 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3151 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3152 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3153 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3154 | .block_erasers = |
| 3155 | { |
| 3156 | { |
| 3157 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3158 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 3159 | {32 * 1024, 1}, |
| 3160 | {8 * 1024, 2}, |
| 3161 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3162 | }, |
| 3163 | .block_erase = erase_sector_jedec, |
| 3164 | }, { |
| 3165 | .eraseblocks = { {256 * 1024, 1} }, |
| 3166 | .block_erase = erase_chip_block_jedec, |
| 3167 | }, |
| 3168 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3171 | }, |
| 3172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3173 | { |
| 3174 | .vendor = "Fujitsu", |
| 3175 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3177 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3178 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3179 | .total_size = 512, |
| 3180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3182 | .tested = TEST_UNTESTED, |
| 3183 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3184 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3185 | .block_erasers = |
| 3186 | { |
| 3187 | { |
| 3188 | .eraseblocks = { |
| 3189 | {16 * 1024, 1}, |
| 3190 | {8 * 1024, 2}, |
| 3191 | {32 * 1024, 1}, |
| 3192 | {64 * 1024, 7}, |
| 3193 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3194 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3195 | }, { |
| 3196 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3197 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3198 | }, |
| 3199 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3200 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3201 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3202 | }, |
| 3203 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3204 | { |
| 3205 | .vendor = "Fujitsu", |
| 3206 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3207 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3208 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3209 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3210 | .total_size = 512, |
| 3211 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3212 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3213 | .tested = TEST_UNTESTED, |
| 3214 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3215 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3216 | .block_erasers = |
| 3217 | { |
| 3218 | { |
| 3219 | .eraseblocks = { |
| 3220 | {64 * 1024, 7}, |
| 3221 | {32 * 1024, 1}, |
| 3222 | {8 * 1024, 2}, |
| 3223 | {16 * 1024, 1}, |
| 3224 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3225 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3226 | }, { |
| 3227 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3228 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3229 | }, |
| 3230 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3231 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3232 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3233 | }, |
| 3234 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3235 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3236 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3237 | .vendor = "Fujitsu", |
| 3238 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3239 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3240 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3241 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3242 | .total_size = 512, |
| 3243 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3244 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3245 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3246 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3247 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3248 | .block_erasers = |
| 3249 | { |
| 3250 | { |
| 3251 | .eraseblocks = { |
| 3252 | {16 * 1024, 1}, |
| 3253 | {8 * 1024, 2}, |
| 3254 | {32 * 1024, 1}, |
| 3255 | {64 * 1024, 7}, |
| 3256 | }, |
| 3257 | .block_erase = block_erase_m29f400bt, |
| 3258 | }, { |
| 3259 | .eraseblocks = { {512 * 1024, 1} }, |
| 3260 | .block_erase = block_erase_chip_m29f400bt, |
| 3261 | }, |
| 3262 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3263 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3264 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3265 | }, |
| 3266 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3267 | { |
| 3268 | .vendor = "Fujitsu", |
| 3269 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3270 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3271 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3272 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3273 | .total_size = 512, |
| 3274 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3275 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3276 | .tested = TEST_UNTESTED, |
| 3277 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3278 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3279 | .block_erasers = |
| 3280 | { |
| 3281 | { |
| 3282 | .eraseblocks = { |
| 3283 | {64 * 1024, 7}, |
| 3284 | {32 * 1024, 1}, |
| 3285 | {8 * 1024, 2}, |
| 3286 | {16 * 1024, 1}, |
| 3287 | }, |
| 3288 | .block_erase = block_erase_m29f400bt, |
| 3289 | }, { |
| 3290 | .eraseblocks = { {512 * 1024, 1} }, |
| 3291 | .block_erase = block_erase_chip_m29f400bt, |
| 3292 | }, |
| 3293 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3294 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3295 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3296 | }, |
| 3297 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3298 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3299 | .vendor = "Hyundai", |
| 3300 | .name = "HY29F002T", |
| 3301 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3302 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3303 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3304 | .total_size = 256, |
| 3305 | .page_size = 256 * 1024, |
| 3306 | .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] | 3307 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3308 | .probe = probe_jedec, |
| 3309 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3310 | .block_erasers = |
| 3311 | { |
| 3312 | { |
| 3313 | .eraseblocks = { |
| 3314 | {64 * 1024, 3}, |
| 3315 | {32 * 1024, 1}, |
| 3316 | {8 * 1024, 2}, |
| 3317 | {16 * 1024, 1}, |
| 3318 | }, |
| 3319 | .block_erase = erase_sector_jedec, |
| 3320 | }, { |
| 3321 | .eraseblocks = { {256 * 1024, 1} }, |
| 3322 | .block_erase = erase_chip_block_jedec, |
| 3323 | }, |
| 3324 | }, |
| 3325 | .write = write_jedec_1, |
| 3326 | .read = read_memmapped, |
| 3327 | }, |
| 3328 | |
| 3329 | { |
| 3330 | .vendor = "Hyundai", |
| 3331 | .name = "HY29F002B", |
| 3332 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3333 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3334 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3335 | .total_size = 256, |
| 3336 | .page_size = 256 * 1024, |
| 3337 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3338 | .tested = TEST_UNTESTED, |
| 3339 | .probe = probe_jedec, |
| 3340 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3341 | .block_erasers = |
| 3342 | { |
| 3343 | { |
| 3344 | .eraseblocks = { |
| 3345 | {16 * 1024, 1}, |
| 3346 | {8 * 1024, 2}, |
| 3347 | {32 * 1024, 1}, |
| 3348 | {64 * 1024, 3}, |
| 3349 | }, |
| 3350 | .block_erase = erase_sector_jedec, |
| 3351 | }, { |
| 3352 | .eraseblocks = { {256 * 1024, 1} }, |
| 3353 | .block_erase = erase_chip_block_jedec, |
| 3354 | }, |
| 3355 | }, |
| 3356 | .write = write_jedec_1, |
| 3357 | .read = read_memmapped, |
| 3358 | }, |
| 3359 | |
| 3360 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3361 | .vendor = "Hyundai", |
| 3362 | .name = "HY29F040A", |
| 3363 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3364 | .manufacture_id = HYUNDAI_ID, |
| 3365 | .model_id = HYUNDAI_HY29F040A, |
| 3366 | .total_size = 512, |
| 3367 | .page_size = 64 * 1024, |
| 3368 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3369 | .tested = TEST_UNTESTED, |
| 3370 | .probe = probe_jedec, |
| 3371 | .probe_timing = TIMING_ZERO, |
| 3372 | .block_erasers = |
| 3373 | { |
| 3374 | { |
| 3375 | .eraseblocks = { {64 * 1024, 8} }, |
| 3376 | .block_erase = erase_sector_jedec, |
| 3377 | }, { |
| 3378 | .eraseblocks = { {512 * 1024, 1} }, |
| 3379 | .block_erase = erase_chip_block_jedec, |
| 3380 | }, |
| 3381 | }, |
| 3382 | .write = write_jedec_1, |
| 3383 | .read = read_memmapped, |
| 3384 | }, |
| 3385 | |
| 3386 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3387 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3388 | .name = "28F001BN/BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3389 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3390 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3391 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3392 | .total_size = 128, |
| 3393 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3394 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3395 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3396 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3397 | .block_erasers = |
| 3398 | { |
| 3399 | { |
| 3400 | .eraseblocks = { |
| 3401 | {8 * 1024, 1}, |
| 3402 | {4 * 1024, 2}, |
| 3403 | {112 * 1024, 1}, |
| 3404 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3405 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3406 | }, |
| 3407 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3408 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3409 | .read = read_memmapped, |
| 3410 | }, |
| 3411 | |
| 3412 | { |
| 3413 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3414 | .name = "28F001BN/BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3415 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3416 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3417 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3418 | .total_size = 128, |
| 3419 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3420 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3421 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3422 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3423 | .block_erasers = |
| 3424 | { |
| 3425 | { |
| 3426 | .eraseblocks = { |
| 3427 | {112 * 1024, 1}, |
| 3428 | {4 * 1024, 2}, |
| 3429 | {8 * 1024, 1}, |
| 3430 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3431 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3432 | }, |
| 3433 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3434 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3435 | .read = read_memmapped, |
| 3436 | }, |
| 3437 | |
| 3438 | { |
| 3439 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3440 | .name = "28F002BC/BL/BV/BX-T", |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3441 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3442 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3443 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3444 | .total_size = 256, |
| 3445 | .page_size = 256 * 1024, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3446 | .tested = TEST_OK_PRE, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3447 | .probe = probe_82802ab, |
| 3448 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3449 | .block_erasers = |
| 3450 | { |
| 3451 | { |
| 3452 | .eraseblocks = { |
| 3453 | {128 * 1024, 1}, |
| 3454 | {96 * 1024, 1}, |
| 3455 | {8 * 1024, 2}, |
| 3456 | {16 * 1024, 1}, |
| 3457 | }, |
| 3458 | .block_erase = erase_block_82802ab, |
| 3459 | }, |
| 3460 | }, |
| 3461 | .write = write_82802ab, |
| 3462 | .read = read_memmapped, |
| 3463 | }, |
| 3464 | |
| 3465 | { |
| 3466 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3467 | .name = "28F008S3/S5/SC", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3468 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3469 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3470 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3471 | .total_size = 512, |
| 3472 | .page_size = 256, |
| 3473 | .tested = TEST_UNTESTED, |
| 3474 | .probe = probe_82802ab, |
| 3475 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3476 | .block_erasers = |
| 3477 | { |
| 3478 | { |
| 3479 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3480 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3481 | }, |
| 3482 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3483 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3484 | .write = write_82802ab, |
| 3485 | .read = read_memmapped, |
| 3486 | }, |
| 3487 | |
| 3488 | { |
| 3489 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3490 | .name = "28F004B5/BE/BV/BX-B", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3491 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3492 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3493 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3494 | .total_size = 512, |
| 3495 | .page_size = 128 * 1024, /* maximal block size */ |
| 3496 | .tested = TEST_UNTESTED, |
| 3497 | .probe = probe_82802ab, |
| 3498 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3499 | .block_erasers = |
| 3500 | { |
| 3501 | { |
| 3502 | .eraseblocks = { |
| 3503 | {16 * 1024, 1}, |
| 3504 | {8 * 1024, 2}, |
| 3505 | {96 * 1024, 1}, |
| 3506 | {128 * 1024, 3}, |
| 3507 | }, |
| 3508 | .block_erase = erase_block_82802ab, |
| 3509 | }, |
| 3510 | }, |
| 3511 | .write = write_82802ab, |
| 3512 | .read = read_memmapped, |
| 3513 | }, |
| 3514 | |
| 3515 | { |
| 3516 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3517 | .name = "28F004B5/BE/BV/BX-T", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3518 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3519 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3520 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3521 | .total_size = 512, |
| 3522 | .page_size = 128 * 1024, /* maximal block size */ |
| 3523 | .tested = TEST_UNTESTED, |
| 3524 | .probe = probe_82802ab, |
| 3525 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3526 | .block_erasers = |
| 3527 | { |
| 3528 | { |
| 3529 | .eraseblocks = { |
| 3530 | {128 * 1024, 3}, |
| 3531 | {96 * 1024, 1}, |
| 3532 | {8 * 1024, 2}, |
| 3533 | {16 * 1024, 1}, |
| 3534 | }, |
| 3535 | .block_erase = erase_block_82802ab, |
| 3536 | }, |
| 3537 | }, |
| 3538 | .write = write_82802ab, |
| 3539 | .read = read_memmapped, |
| 3540 | }, |
| 3541 | |
| 3542 | { |
| 3543 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3544 | .name = "28F400BV/BX/CE/CV-B", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3545 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3546 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3547 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3548 | .total_size = 512, |
| 3549 | .page_size = 128 * 1024, /* maximal block size */ |
| 3550 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3551 | .tested = TEST_UNTESTED, |
| 3552 | .probe = probe_82802ab, |
| 3553 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3554 | .block_erasers = |
| 3555 | { |
| 3556 | { |
| 3557 | .eraseblocks = { |
| 3558 | {16 * 1024, 1}, |
| 3559 | {8 * 1024, 2}, |
| 3560 | {96 * 1024, 1}, |
| 3561 | {128 * 1024, 3}, |
| 3562 | }, |
| 3563 | .block_erase = erase_block_82802ab, |
| 3564 | }, |
| 3565 | }, |
| 3566 | .write = write_82802ab, |
| 3567 | .read = read_memmapped, |
| 3568 | }, |
| 3569 | |
| 3570 | { |
| 3571 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3572 | .name = "28F400BV/BX/CE/CV-T", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3573 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3574 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3575 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3576 | .total_size = 512, |
| 3577 | .page_size = 128 * 1024, /* maximal block size */ |
| 3578 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3579 | .tested = TEST_UNTESTED, |
| 3580 | .probe = probe_82802ab, |
| 3581 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3582 | .block_erasers = |
| 3583 | { |
| 3584 | { |
| 3585 | .eraseblocks = { |
| 3586 | {128 * 1024, 3}, |
| 3587 | {96 * 1024, 1}, |
| 3588 | {8 * 1024, 2}, |
| 3589 | {16 * 1024, 1}, |
| 3590 | }, |
| 3591 | .block_erase = erase_block_82802ab, |
| 3592 | }, |
| 3593 | }, |
| 3594 | .write = write_82802ab, |
| 3595 | .read = read_memmapped, |
| 3596 | }, |
| 3597 | |
| 3598 | { |
| 3599 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3600 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3601 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3602 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3603 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3604 | .total_size = 512, |
| 3605 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3606 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3607 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3608 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3609 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3610 | .block_erasers = |
| 3611 | { |
| 3612 | { |
| 3613 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3614 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3615 | }, |
| 3616 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3617 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3618 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3619 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3620 | }, |
| 3621 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3622 | { |
| 3623 | .vendor = "Intel", |
| 3624 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3625 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3626 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3627 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3628 | .total_size = 1024, |
| 3629 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3630 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3631 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3632 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3633 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3634 | .block_erasers = |
| 3635 | { |
| 3636 | { |
| 3637 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3638 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3639 | }, |
| 3640 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3641 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3642 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3643 | .read = read_memmapped, |
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 | { |
| 3647 | .vendor = "Macronix", |
| 3648 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3649 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3650 | .manufacture_id = MACRONIX_ID, |
| 3651 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3652 | .total_size = 64, |
| 3653 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3654 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3655 | .tested = TEST_UNTESTED, |
| 3656 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3657 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3658 | .block_erasers = |
| 3659 | { |
| 3660 | { |
| 3661 | .eraseblocks = { {4 * 1024, 16} }, |
| 3662 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3663 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3664 | .eraseblocks = { {64 * 1024, 1} }, |
| 3665 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3666 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3667 | .eraseblocks = { {64 * 1024, 1} }, |
| 3668 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3669 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3670 | .eraseblocks = { {64 * 1024, 1} }, |
| 3671 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3672 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3673 | .eraseblocks = { {64 * 1024, 1} }, |
| 3674 | .block_erase = spi_block_erase_c7, |
| 3675 | }, |
| 3676 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3677 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3678 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3679 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3680 | }, |
| 3681 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3682 | { |
| 3683 | .vendor = "Macronix", |
| 3684 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3685 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3686 | .manufacture_id = MACRONIX_ID, |
| 3687 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3688 | .total_size = 128, |
| 3689 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3690 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3691 | .tested = TEST_UNTESTED, |
| 3692 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3693 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3694 | .block_erasers = |
| 3695 | { |
| 3696 | { |
| 3697 | .eraseblocks = { {4 * 1024, 32} }, |
| 3698 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3699 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3700 | .eraseblocks = { {64 * 1024, 2} }, |
| 3701 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3702 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3703 | .eraseblocks = { {128 * 1024, 1} }, |
| 3704 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3705 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3706 | .eraseblocks = { {128 * 1024, 1} }, |
| 3707 | .block_erase = spi_block_erase_c7, |
| 3708 | }, |
| 3709 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3710 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3711 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3712 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3713 | }, |
| 3714 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3715 | { |
| 3716 | .vendor = "Macronix", |
| 3717 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3718 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3719 | .manufacture_id = MACRONIX_ID, |
| 3720 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3721 | .total_size = 256, |
| 3722 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3723 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3724 | .tested = TEST_UNTESTED, |
| 3725 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3726 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3727 | .block_erasers = |
| 3728 | { |
| 3729 | { |
| 3730 | .eraseblocks = { {4 * 1024, 64} }, |
| 3731 | .block_erase = spi_block_erase_20, |
| 3732 | }, { |
| 3733 | .eraseblocks = { {64 * 1024, 4} }, |
| 3734 | .block_erase = spi_block_erase_52, |
| 3735 | }, { |
| 3736 | .eraseblocks = { {64 * 1024, 4} }, |
| 3737 | .block_erase = spi_block_erase_d8, |
| 3738 | }, { |
| 3739 | .eraseblocks = { {256 * 1024, 1} }, |
| 3740 | .block_erase = spi_block_erase_60, |
| 3741 | }, { |
| 3742 | .eraseblocks = { {256 * 1024, 1} }, |
| 3743 | .block_erase = spi_block_erase_c7, |
| 3744 | }, |
| 3745 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3746 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3747 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3748 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3749 | }, |
| 3750 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3751 | { |
| 3752 | .vendor = "Macronix", |
| 3753 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3754 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3755 | .manufacture_id = MACRONIX_ID, |
| 3756 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3757 | .total_size = 512, |
| 3758 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3759 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3760 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3761 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3762 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3763 | .block_erasers = |
| 3764 | { |
| 3765 | { |
| 3766 | .eraseblocks = { {4 * 1024, 128} }, |
| 3767 | .block_erase = spi_block_erase_20, |
| 3768 | }, { |
| 3769 | .eraseblocks = { {64 * 1024, 8} }, |
| 3770 | .block_erase = spi_block_erase_52, |
| 3771 | }, { |
| 3772 | .eraseblocks = { {64 * 1024, 8} }, |
| 3773 | .block_erase = spi_block_erase_d8, |
| 3774 | }, { |
| 3775 | .eraseblocks = { {512 * 1024, 1} }, |
| 3776 | .block_erase = spi_block_erase_60, |
| 3777 | }, { |
| 3778 | .eraseblocks = { {512 * 1024, 1} }, |
| 3779 | .block_erase = spi_block_erase_c7, |
| 3780 | }, |
| 3781 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3782 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3783 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3784 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3785 | }, |
| 3786 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3787 | { |
| 3788 | .vendor = "Macronix", |
| 3789 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3790 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3791 | .manufacture_id = MACRONIX_ID, |
| 3792 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3793 | .total_size = 1024, |
| 3794 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3795 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3796 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3797 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3798 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3799 | .block_erasers = |
| 3800 | { |
| 3801 | { |
| 3802 | .eraseblocks = { {4 * 1024, 256} }, |
| 3803 | .block_erase = spi_block_erase_20, |
| 3804 | }, { |
| 3805 | .eraseblocks = { {64 * 1024, 16} }, |
| 3806 | .block_erase = spi_block_erase_52, |
| 3807 | }, { |
| 3808 | .eraseblocks = { {64 * 1024, 16} }, |
| 3809 | .block_erase = spi_block_erase_d8, |
| 3810 | }, { |
| 3811 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3812 | .block_erase = spi_block_erase_60, |
| 3813 | }, { |
| 3814 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3815 | .block_erase = spi_block_erase_c7, |
| 3816 | }, |
| 3817 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3818 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3819 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3820 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3821 | }, |
| 3822 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3823 | { |
| 3824 | .vendor = "Macronix", |
| 3825 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3826 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3827 | .manufacture_id = MACRONIX_ID, |
| 3828 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3829 | .total_size = 2048, |
| 3830 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3831 | .feature_bits = FEATURE_WRSR_WREN, |
Sven Schnelle | 4bd8a40 | 2011-03-07 10:59:06 +0000 | [diff] [blame] | 3832 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3833 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3834 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3835 | .block_erasers = |
| 3836 | { |
| 3837 | { |
| 3838 | .eraseblocks = { {4 * 1024, 512} }, |
| 3839 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3840 | }, { |
| 3841 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3842 | .block_erase = spi_block_erase_52, |
| 3843 | }, { |
| 3844 | .eraseblocks = { {64 * 1024, 32} }, |
| 3845 | .block_erase = spi_block_erase_d8, |
| 3846 | }, { |
| 3847 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3848 | .block_erase = spi_block_erase_60, |
| 3849 | }, { |
| 3850 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3851 | .block_erase = spi_block_erase_c7, |
| 3852 | }, |
| 3853 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3854 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3855 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3856 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3857 | }, |
| 3858 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3859 | { |
| 3860 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3861 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3862 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3863 | .manufacture_id = MACRONIX_ID, |
| 3864 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3865 | .total_size = 2048, |
| 3866 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3867 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3868 | .tested = TEST_UNTESTED, |
| 3869 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3870 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3871 | .block_erasers = |
| 3872 | { |
| 3873 | { |
| 3874 | .eraseblocks = { {4 * 1024, 512} }, |
| 3875 | .block_erase = spi_block_erase_20, |
| 3876 | }, { |
| 3877 | .eraseblocks = { {64 * 1024, 32} }, |
| 3878 | .block_erase = spi_block_erase_d8, |
| 3879 | }, { |
| 3880 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3881 | .block_erase = spi_block_erase_60, |
| 3882 | }, { |
| 3883 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3884 | .block_erase = spi_block_erase_c7, |
| 3885 | } |
| 3886 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3887 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3888 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3889 | .read = spi_chip_read, |
| 3890 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 3891 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3892 | { |
| 3893 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 3894 | .name = "MX25L1635E", |
| 3895 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3896 | .manufacture_id = MACRONIX_ID, |
| 3897 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 3898 | .total_size = 2048, |
| 3899 | .page_size = 256, |
| 3900 | .feature_bits = FEATURE_WRSR_WREN, |
| 3901 | .tested = TEST_UNTESTED, |
| 3902 | .probe = probe_spi_rdid, |
| 3903 | .probe_timing = TIMING_ZERO, |
| 3904 | .block_erasers = |
| 3905 | { |
| 3906 | { |
| 3907 | .eraseblocks = { {4 * 1024, 512} }, |
| 3908 | .block_erase = spi_block_erase_20, |
| 3909 | }, { |
| 3910 | .eraseblocks = { {64 * 1024, 32} }, |
| 3911 | .block_erase = spi_block_erase_d8, |
| 3912 | }, { |
| 3913 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3914 | .block_erase = spi_block_erase_60, |
| 3915 | }, { |
| 3916 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3917 | .block_erase = spi_block_erase_c7, |
| 3918 | } |
| 3919 | }, |
| 3920 | .unlock = spi_disable_blockprotect, |
| 3921 | .write = spi_chip_write_256, |
| 3922 | .read = spi_chip_read, |
| 3923 | }, |
| 3924 | |
| 3925 | { |
| 3926 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3927 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3928 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3929 | .manufacture_id = MACRONIX_ID, |
| 3930 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3931 | .total_size = 4096, |
| 3932 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3933 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 3934 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3935 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3936 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3937 | .block_erasers = |
| 3938 | { |
| 3939 | { |
| 3940 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3941 | .block_erase = spi_block_erase_20, |
| 3942 | }, { |
| 3943 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3944 | .block_erase = spi_block_erase_d8, |
| 3945 | }, { |
| 3946 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3947 | .block_erase = spi_block_erase_60, |
| 3948 | }, { |
| 3949 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3950 | .block_erase = spi_block_erase_c7, |
| 3951 | }, |
| 3952 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3953 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3954 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3955 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3956 | }, |
| 3957 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3958 | { |
| 3959 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3960 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3961 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3962 | .manufacture_id = MACRONIX_ID, |
| 3963 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3964 | .total_size = 4096, |
| 3965 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3966 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3967 | .tested = TEST_UNTESTED, |
| 3968 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3969 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3970 | .block_erasers = |
| 3971 | { |
| 3972 | { |
| 3973 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3974 | .block_erase = spi_block_erase_20, |
| 3975 | }, { |
| 3976 | .eraseblocks = { {64 * 1024, 64} }, |
| 3977 | .block_erase = spi_block_erase_d8, |
| 3978 | }, { |
| 3979 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3980 | .block_erase = spi_block_erase_60, |
| 3981 | }, { |
| 3982 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3983 | .block_erase = spi_block_erase_c7, |
| 3984 | } |
| 3985 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3986 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3987 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3988 | .read = spi_chip_read, |
| 3989 | }, |
| 3990 | |
| 3991 | { |
| 3992 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3993 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3994 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3995 | .manufacture_id = MACRONIX_ID, |
| 3996 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3997 | .total_size = 8192, |
| 3998 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3999 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 4000 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4001 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4002 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4003 | .block_erasers = |
| 4004 | { |
| 4005 | { |
| 4006 | .eraseblocks = { {64 * 1024, 128} }, |
| 4007 | .block_erase = spi_block_erase_20, |
| 4008 | }, { |
| 4009 | .eraseblocks = { {64 * 1024, 128} }, |
| 4010 | .block_erase = spi_block_erase_d8, |
| 4011 | }, { |
| 4012 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4013 | .block_erase = spi_block_erase_60, |
| 4014 | }, { |
| 4015 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4016 | .block_erase = spi_block_erase_c7, |
| 4017 | } |
| 4018 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4019 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4020 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4021 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4022 | }, |
| 4023 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4024 | { |
| 4025 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4026 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4027 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4028 | .manufacture_id = MACRONIX_ID, |
| 4029 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4030 | .total_size = 16384, |
| 4031 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 4032 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4033 | .tested = TEST_UNTESTED, |
| 4034 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4035 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4036 | .block_erasers = |
| 4037 | { |
| 4038 | { |
| 4039 | .eraseblocks = { {4 * 1024, 4096} }, |
| 4040 | .block_erase = spi_block_erase_20, |
| 4041 | }, { |
| 4042 | .eraseblocks = { {64 * 1024, 256} }, |
| 4043 | .block_erase = spi_block_erase_d8, |
| 4044 | }, { |
| 4045 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4046 | .block_erase = spi_block_erase_60, |
| 4047 | }, { |
| 4048 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4049 | .block_erase = spi_block_erase_c7, |
| 4050 | } |
| 4051 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4052 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4053 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 4054 | .read = spi_chip_read, |
| 4055 | }, |
| 4056 | |
| 4057 | { |
| 4058 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4059 | .name = "MX29F001B", |
| 4060 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4061 | .manufacture_id = MACRONIX_ID, |
| 4062 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4063 | .total_size = 128, |
| 4064 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4065 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4066 | .tested = TEST_UNTESTED, |
| 4067 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4068 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4069 | .block_erasers = |
| 4070 | { |
| 4071 | { |
| 4072 | .eraseblocks = { |
| 4073 | {8 * 1024, 1}, |
| 4074 | {4 * 1024, 2}, |
| 4075 | {8 * 1024, 2}, |
| 4076 | {32 * 1024, 1}, |
| 4077 | {64 * 1024, 1}, |
| 4078 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4079 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4080 | }, { |
| 4081 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4082 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4083 | } |
| 4084 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4085 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4086 | .read = read_memmapped, |
| 4087 | }, |
| 4088 | |
| 4089 | { |
| 4090 | .vendor = "Macronix", |
| 4091 | .name = "MX29F001T", |
| 4092 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4093 | .manufacture_id = MACRONIX_ID, |
| 4094 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4095 | .total_size = 128, |
| 4096 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4097 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4098 | .tested = TEST_UNTESTED, |
| 4099 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4100 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4101 | .block_erasers = |
| 4102 | { |
| 4103 | { |
| 4104 | .eraseblocks = { |
| 4105 | {64 * 1024, 1}, |
| 4106 | {32 * 1024, 1}, |
| 4107 | {8 * 1024, 2}, |
| 4108 | {4 * 1024, 2}, |
| 4109 | {8 * 1024, 1}, |
| 4110 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4111 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4112 | }, { |
| 4113 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4114 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4115 | } |
| 4116 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4117 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 4118 | .read = read_memmapped, |
| 4119 | }, |
| 4120 | |
| 4121 | { |
| 4122 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4123 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4124 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4125 | .manufacture_id = MACRONIX_ID, |
| 4126 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4127 | .total_size = 256, |
| 4128 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4129 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4130 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4131 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4132 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4133 | .block_erasers = |
| 4134 | { |
| 4135 | { |
| 4136 | .eraseblocks = { |
| 4137 | {16 * 1024, 1}, |
| 4138 | {8 * 1024, 2}, |
| 4139 | {32 * 1024, 1}, |
| 4140 | {64 * 1024, 3}, |
| 4141 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4142 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4143 | }, { |
| 4144 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4145 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4146 | }, |
| 4147 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4148 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4149 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4150 | }, |
| 4151 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4152 | { |
| 4153 | .vendor = "Macronix", |
| 4154 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4155 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4156 | .manufacture_id = MACRONIX_ID, |
| 4157 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4158 | .total_size = 256, |
| 4159 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4160 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4161 | .tested = TEST_OK_PR, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4162 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4163 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4164 | .block_erasers = |
| 4165 | { |
| 4166 | { |
| 4167 | .eraseblocks = { |
| 4168 | {64 * 1024, 3}, |
| 4169 | {32 * 1024, 1}, |
| 4170 | {8 * 1024, 2}, |
| 4171 | {16 * 1024, 1}, |
| 4172 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4173 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4174 | }, { |
| 4175 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4176 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 4177 | }, |
| 4178 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4179 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4180 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4181 | }, |
| 4182 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4183 | { |
| 4184 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 4185 | .name = "MX29F040", |
| 4186 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4187 | .manufacture_id = MACRONIX_ID, |
| 4188 | .model_id = MACRONIX_MX29F040, |
| 4189 | .total_size = 512, |
| 4190 | .page_size = 64 * 1024, |
| 4191 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4192 | .tested = TEST_UNTESTED, |
| 4193 | .probe = probe_jedec, |
| 4194 | .probe_timing = TIMING_ZERO, |
| 4195 | .block_erasers = |
| 4196 | { |
| 4197 | { |
| 4198 | .eraseblocks = { {64 * 1024, 8} }, |
| 4199 | .block_erase = erase_sector_jedec, |
| 4200 | }, { |
| 4201 | .eraseblocks = { {512 * 1024, 1} }, |
| 4202 | .block_erase = erase_chip_block_jedec, |
| 4203 | }, |
| 4204 | }, |
| 4205 | .write = write_jedec_1, |
| 4206 | .read = read_memmapped, |
| 4207 | }, |
| 4208 | |
| 4209 | { |
| 4210 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 4211 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4212 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4213 | .manufacture_id = MACRONIX_ID, |
| 4214 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4215 | .total_size = 512, |
| 4216 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4217 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 4218 | .tested = TEST_UNTESTED, |
| 4219 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 4220 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4221 | .block_erasers = |
| 4222 | { |
| 4223 | { |
| 4224 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4225 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4226 | }, { |
| 4227 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4228 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 4229 | }, |
| 4230 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 4231 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4232 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 4233 | }, |
| 4234 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4235 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 4236 | .vendor = "MoselVitelic", |
| 4237 | .name = "V29C51000B", |
| 4238 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4239 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4240 | .model_id = MVC_V29C51000B, |
| 4241 | .total_size = 64, |
| 4242 | .page_size = 512, |
| 4243 | .feature_bits = FEATURE_EITHER_RESET, |
| 4244 | .tested = TEST_UNTESTED, |
| 4245 | .probe = probe_jedec, |
| 4246 | .probe_timing = TIMING_ZERO, |
| 4247 | .block_erasers = |
| 4248 | { |
| 4249 | { |
| 4250 | .eraseblocks = { {512, 128} }, |
| 4251 | .block_erase = erase_sector_jedec, |
| 4252 | }, { |
| 4253 | .eraseblocks = { {64 * 1024, 1} }, |
| 4254 | .block_erase = erase_chip_block_jedec, |
| 4255 | }, |
| 4256 | }, |
| 4257 | .write = write_jedec_1, |
| 4258 | .read = read_memmapped, |
| 4259 | }, |
| 4260 | |
| 4261 | { |
| 4262 | .vendor = "MoselVitelic", |
| 4263 | .name = "V29C51000T", |
| 4264 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4265 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4266 | .model_id = MVC_V29C51000T, |
| 4267 | .total_size = 64, |
| 4268 | .page_size = 512, |
| 4269 | .feature_bits = FEATURE_EITHER_RESET, |
| 4270 | .tested = TEST_UNTESTED, |
| 4271 | .probe = probe_jedec, |
| 4272 | .probe_timing = TIMING_ZERO, |
| 4273 | .block_erasers = |
| 4274 | { |
| 4275 | { |
| 4276 | .eraseblocks = { {512, 128} }, |
| 4277 | .block_erase = erase_sector_jedec, |
| 4278 | }, { |
| 4279 | .eraseblocks = { {64 * 1024, 1} }, |
| 4280 | .block_erase = erase_chip_block_jedec, |
| 4281 | }, |
| 4282 | }, |
| 4283 | .write = write_jedec_1, |
| 4284 | .read = read_memmapped, |
| 4285 | }, |
| 4286 | |
| 4287 | { |
| 4288 | .vendor = "MoselVitelic", |
| 4289 | .name = "V29C51400B", |
| 4290 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4291 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4292 | .model_id = MVC_V29C51400B, |
| 4293 | .total_size = 512, |
| 4294 | .page_size = 1024, |
| 4295 | .feature_bits = FEATURE_EITHER_RESET, |
| 4296 | .tested = TEST_UNTESTED, |
| 4297 | .probe = probe_jedec, |
| 4298 | .probe_timing = TIMING_ZERO, |
| 4299 | .block_erasers = |
| 4300 | { |
| 4301 | { |
| 4302 | .eraseblocks = { {1024, 512} }, |
| 4303 | .block_erase = erase_sector_jedec, |
| 4304 | }, { |
| 4305 | .eraseblocks = { {512 * 1024, 1} }, |
| 4306 | .block_erase = erase_chip_block_jedec, |
| 4307 | }, |
| 4308 | }, |
| 4309 | .write = write_jedec_1, |
| 4310 | .read = read_memmapped, |
| 4311 | }, |
| 4312 | |
| 4313 | { |
| 4314 | .vendor = "MoselVitelic", |
| 4315 | .name = "V29C51400T", |
| 4316 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4317 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4318 | .model_id = MVC_V29C51400T, |
| 4319 | .total_size = 512, |
| 4320 | .page_size = 1024, |
| 4321 | .feature_bits = FEATURE_EITHER_RESET, |
| 4322 | .tested = TEST_UNTESTED, |
| 4323 | .probe = probe_jedec, |
| 4324 | .probe_timing = TIMING_ZERO, |
| 4325 | .block_erasers = |
| 4326 | { |
| 4327 | { |
| 4328 | .eraseblocks = { {1024, 512} }, |
| 4329 | .block_erase = erase_sector_jedec, |
| 4330 | }, { |
| 4331 | .eraseblocks = { {512 * 1024, 1} }, |
| 4332 | .block_erase = erase_chip_block_jedec, |
| 4333 | }, |
| 4334 | }, |
| 4335 | .write = write_jedec_1, |
| 4336 | .read = read_memmapped, |
| 4337 | }, |
| 4338 | |
| 4339 | { |
| 4340 | .vendor = "MoselVitelic", |
| 4341 | .name = "V29LC51000", |
| 4342 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4343 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4344 | .model_id = MVC_V29LC51000, |
| 4345 | .total_size = 64, |
| 4346 | .page_size = 512, |
| 4347 | .feature_bits = FEATURE_EITHER_RESET, |
| 4348 | .tested = TEST_UNTESTED, |
| 4349 | .probe = probe_jedec, |
| 4350 | .probe_timing = TIMING_ZERO, |
| 4351 | .block_erasers = |
| 4352 | { |
| 4353 | { |
| 4354 | .eraseblocks = { {512, 128} }, |
| 4355 | .block_erase = erase_sector_jedec, |
| 4356 | }, { |
| 4357 | .eraseblocks = { {64 * 1024, 1} }, |
| 4358 | .block_erase = erase_chip_block_jedec, |
| 4359 | }, |
| 4360 | }, |
| 4361 | .write = write_jedec_1, |
| 4362 | .read = read_memmapped, |
| 4363 | }, |
| 4364 | |
| 4365 | { |
| 4366 | .vendor = "MoselVitelic", |
| 4367 | .name = "V29LC51001", |
| 4368 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4369 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4370 | .model_id = MVC_V29LC51001, |
| 4371 | .total_size = 128, |
| 4372 | .page_size = 512, |
| 4373 | .feature_bits = FEATURE_EITHER_RESET, |
| 4374 | .tested = TEST_UNTESTED, |
| 4375 | .probe = probe_jedec, |
| 4376 | .probe_timing = TIMING_ZERO, |
| 4377 | .block_erasers = |
| 4378 | { |
| 4379 | { |
| 4380 | .eraseblocks = { {512, 256} }, |
| 4381 | .block_erase = erase_sector_jedec, |
| 4382 | }, { |
| 4383 | .eraseblocks = { {128 * 1024, 1} }, |
| 4384 | .block_erase = erase_chip_block_jedec, |
| 4385 | }, |
| 4386 | }, |
| 4387 | .write = write_jedec_1, |
| 4388 | .read = read_memmapped, |
| 4389 | }, |
| 4390 | |
| 4391 | { |
| 4392 | .vendor = "MoselVitelic", |
| 4393 | .name = "V29LC51002", |
| 4394 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4395 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4396 | .model_id = MVC_V29LC51002, |
| 4397 | .total_size = 256, |
| 4398 | .page_size = 512, |
| 4399 | .feature_bits = FEATURE_EITHER_RESET, |
| 4400 | .tested = TEST_UNTESTED, |
| 4401 | .probe = probe_jedec, |
| 4402 | .probe_timing = TIMING_ZERO, |
| 4403 | .block_erasers = |
| 4404 | { |
| 4405 | { |
| 4406 | .eraseblocks = { {512, 512} }, |
| 4407 | .block_erase = erase_sector_jedec, |
| 4408 | }, { |
| 4409 | .eraseblocks = { {256 * 1024, 1} }, |
| 4410 | .block_erase = erase_chip_block_jedec, |
| 4411 | }, |
| 4412 | }, |
| 4413 | .write = write_jedec_1, |
| 4414 | .read = read_memmapped, |
| 4415 | }, |
| 4416 | |
| 4417 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4418 | .vendor = "Numonyx", |
| 4419 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4420 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4421 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4422 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4423 | .total_size = 128, |
| 4424 | .page_size = 256, |
| 4425 | .tested = TEST_UNTESTED, |
| 4426 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4427 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4428 | .block_erasers = |
| 4429 | { |
| 4430 | { |
| 4431 | .eraseblocks = { {4 * 1024, 32} }, |
| 4432 | .block_erase = spi_block_erase_20, |
| 4433 | }, { |
| 4434 | .eraseblocks = { {64 * 1024, 2} }, |
| 4435 | .block_erase = spi_block_erase_d8, |
| 4436 | }, { |
| 4437 | .eraseblocks = { {128 * 1024, 1} }, |
| 4438 | .block_erase = spi_block_erase_c7, |
| 4439 | } |
| 4440 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4441 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4442 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4443 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4444 | }, |
| 4445 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4446 | { |
| 4447 | .vendor = "Numonyx", |
| 4448 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4449 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4450 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4451 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4452 | .total_size = 256, |
| 4453 | .page_size = 256, |
| 4454 | .tested = TEST_UNTESTED, |
| 4455 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4456 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4457 | .block_erasers = |
| 4458 | { |
| 4459 | { |
| 4460 | .eraseblocks = { {4 * 1024, 64} }, |
| 4461 | .block_erase = spi_block_erase_20, |
| 4462 | }, { |
| 4463 | .eraseblocks = { {64 * 1024, 4} }, |
| 4464 | .block_erase = spi_block_erase_d8, |
| 4465 | }, { |
| 4466 | .eraseblocks = { {256 * 1024, 1} }, |
| 4467 | .block_erase = spi_block_erase_c7, |
| 4468 | } |
| 4469 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4470 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4471 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4472 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4473 | }, |
| 4474 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4475 | { |
| 4476 | .vendor = "Numonyx", |
| 4477 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4478 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4479 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4480 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4481 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4482 | .page_size = 256, |
| 4483 | .tested = TEST_UNTESTED, |
| 4484 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4485 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4486 | .block_erasers = |
| 4487 | { |
| 4488 | { |
| 4489 | .eraseblocks = { {4 * 1024, 128} }, |
| 4490 | .block_erase = spi_block_erase_20, |
| 4491 | }, { |
| 4492 | .eraseblocks = { {64 * 1024, 8} }, |
| 4493 | .block_erase = spi_block_erase_d8, |
| 4494 | }, { |
| 4495 | .eraseblocks = { {512 * 1024, 1} }, |
| 4496 | .block_erase = spi_block_erase_c7, |
| 4497 | } |
| 4498 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4499 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4500 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4501 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4502 | }, |
| 4503 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4504 | { |
| 4505 | .vendor = "Numonyx", |
| 4506 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4507 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4508 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4509 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4510 | .total_size = 1024, |
| 4511 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4512 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4513 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4514 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4515 | .block_erasers = |
| 4516 | { |
| 4517 | { |
| 4518 | .eraseblocks = { {4 * 1024, 256} }, |
| 4519 | .block_erase = spi_block_erase_20, |
| 4520 | }, { |
| 4521 | .eraseblocks = { {64 * 1024, 16} }, |
| 4522 | .block_erase = spi_block_erase_d8, |
| 4523 | }, { |
| 4524 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4525 | .block_erase = spi_block_erase_c7, |
| 4526 | } |
| 4527 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4528 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4529 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4530 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4531 | }, |
| 4532 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4533 | { |
| 4534 | .vendor = "Numonyx", |
| 4535 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4536 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4537 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4538 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4539 | .total_size = 2048, |
| 4540 | .page_size = 256, |
| 4541 | .tested = TEST_UNTESTED, |
| 4542 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4543 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4544 | .block_erasers = |
| 4545 | { |
| 4546 | { |
| 4547 | .eraseblocks = { {4 * 1024, 512} }, |
| 4548 | .block_erase = spi_block_erase_20, |
| 4549 | }, { |
| 4550 | .eraseblocks = { {64 * 1024, 32} }, |
| 4551 | .block_erase = spi_block_erase_d8, |
| 4552 | }, { |
| 4553 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4554 | .block_erase = spi_block_erase_c7, |
| 4555 | } |
| 4556 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4557 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4558 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4559 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4560 | }, |
| 4561 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4562 | { |
| 4563 | .vendor = "PMC", |
| 4564 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4565 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4566 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4567 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4568 | .total_size = 128, |
| 4569 | .page_size = 256, |
| 4570 | .tested = TEST_UNTESTED, |
| 4571 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4572 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4573 | .block_erasers = |
| 4574 | { |
| 4575 | { |
| 4576 | .eraseblocks = { {4 * 1024, 32} }, |
| 4577 | .block_erase = spi_block_erase_d7, |
| 4578 | }, { |
| 4579 | .eraseblocks = { {32 * 1024, 4} }, |
| 4580 | .block_erase = spi_block_erase_d8, |
| 4581 | }, { |
| 4582 | .eraseblocks = { {128 * 1024, 1} }, |
| 4583 | .block_erase = spi_block_erase_c7, |
| 4584 | } |
| 4585 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4586 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4587 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4588 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4589 | }, |
| 4590 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4591 | { |
| 4592 | .vendor = "PMC", |
| 4593 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4594 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4595 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4596 | .model_id = PMC_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4597 | .total_size = 2048, |
| 4598 | .page_size = 256, |
| 4599 | .tested = TEST_UNTESTED, |
| 4600 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4601 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4602 | .block_erasers = |
| 4603 | { |
| 4604 | { |
| 4605 | .eraseblocks = { {4 * 1024, 512} }, |
| 4606 | .block_erase = spi_block_erase_d7, |
| 4607 | }, { |
| 4608 | .eraseblocks = { {4 * 1024, 512} }, |
| 4609 | .block_erase = spi_block_erase_20, |
| 4610 | }, { |
| 4611 | .eraseblocks = { {64 * 1024, 32} }, |
| 4612 | .block_erase = spi_block_erase_d8, |
| 4613 | }, { |
| 4614 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4615 | .block_erase = spi_block_erase_60, |
| 4616 | }, { |
| 4617 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4618 | .block_erase = spi_block_erase_c7, |
| 4619 | } |
| 4620 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4621 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4622 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4623 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4624 | }, |
| 4625 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4626 | { |
| 4627 | .vendor = "PMC", |
| 4628 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4629 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4630 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4631 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4632 | .total_size = 256, |
| 4633 | .page_size = 256, |
| 4634 | .tested = TEST_UNTESTED, |
| 4635 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4636 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4637 | .block_erasers = |
| 4638 | { |
| 4639 | { |
| 4640 | .eraseblocks = { {4 * 1024, 64} }, |
| 4641 | .block_erase = spi_block_erase_d7, |
| 4642 | }, { |
| 4643 | .eraseblocks = { {64 * 1024, 4} }, |
| 4644 | .block_erase = spi_block_erase_d8, |
| 4645 | }, { |
| 4646 | .eraseblocks = { {256 * 1024, 1} }, |
| 4647 | .block_erase = spi_block_erase_c7, |
| 4648 | } |
| 4649 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4650 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4651 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4652 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4653 | }, |
| 4654 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4655 | { |
| 4656 | .vendor = "PMC", |
| 4657 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4658 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4659 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4660 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4661 | .total_size = 512, |
| 4662 | .page_size = 256, |
| 4663 | .tested = TEST_UNTESTED, |
| 4664 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4665 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4666 | .block_erasers = |
| 4667 | { |
| 4668 | { |
| 4669 | .eraseblocks = { {4 * 1024, 128} }, |
| 4670 | .block_erase = spi_block_erase_d7, |
| 4671 | }, { |
| 4672 | .eraseblocks = { {64 * 1024, 8} }, |
| 4673 | .block_erase = spi_block_erase_d8, |
| 4674 | }, { |
| 4675 | .eraseblocks = { {512 * 1024, 1} }, |
| 4676 | .block_erase = spi_block_erase_c7, |
| 4677 | } |
| 4678 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4679 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4680 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4681 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4682 | }, |
| 4683 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4684 | { |
| 4685 | .vendor = "PMC", |
| 4686 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4687 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4688 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4689 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4690 | .total_size = 1024, |
| 4691 | .page_size = 256, |
| 4692 | .tested = TEST_UNTESTED, |
| 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 | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4695 | .block_erasers = |
| 4696 | { |
| 4697 | { |
| 4698 | .eraseblocks = { {4 * 1024, 256} }, |
| 4699 | .block_erase = spi_block_erase_d7, |
| 4700 | }, { |
| 4701 | .eraseblocks = { {4 * 1024, 256} }, |
| 4702 | .block_erase = spi_block_erase_20, |
| 4703 | }, { |
| 4704 | .eraseblocks = { {64 * 1024, 16} }, |
| 4705 | .block_erase = spi_block_erase_d8, |
| 4706 | }, { |
| 4707 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4708 | .block_erase = spi_block_erase_60, |
| 4709 | }, { |
| 4710 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4711 | .block_erase = spi_block_erase_c7, |
| 4712 | } |
| 4713 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4714 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4715 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4716 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4717 | }, |
| 4718 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4719 | { |
| 4720 | .vendor = "PMC", |
| 4721 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4722 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4723 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4724 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4725 | .total_size = 64, |
| 4726 | .page_size = 256, |
| 4727 | .tested = TEST_UNTESTED, |
| 4728 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4729 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4730 | .block_erasers = |
| 4731 | { |
| 4732 | { |
| 4733 | .eraseblocks = { {4 * 1024, 16} }, |
| 4734 | .block_erase = spi_block_erase_d7, |
| 4735 | }, { |
| 4736 | .eraseblocks = { {32 * 1024, 2} }, |
| 4737 | .block_erase = spi_block_erase_d8, |
| 4738 | }, { |
| 4739 | .eraseblocks = { {64 * 1024, 1} }, |
| 4740 | .block_erase = spi_block_erase_c7, |
| 4741 | } |
| 4742 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4743 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4744 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4745 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4746 | }, |
| 4747 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4748 | { |
| 4749 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4750 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4751 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4752 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4753 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4754 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4755 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4756 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4757 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4758 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4759 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4760 | .block_erasers = |
| 4761 | { |
| 4762 | { |
| 4763 | .eraseblocks = { |
| 4764 | {128 * 1024, 1}, |
| 4765 | {96 * 1024, 1}, |
| 4766 | {8 * 1024, 2}, |
| 4767 | {16 * 1024, 1}, |
| 4768 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4769 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4770 | }, { |
| 4771 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4772 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4773 | }, |
| 4774 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4775 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4776 | .read = read_memmapped, |
| 4777 | }, |
| 4778 | |
| 4779 | { |
| 4780 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4781 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4782 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4783 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4784 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4785 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4786 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4787 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4788 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4789 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4790 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4791 | .block_erasers = |
| 4792 | { |
| 4793 | { |
| 4794 | .eraseblocks = { |
| 4795 | {16 * 1024, 1}, |
| 4796 | {8 * 1024, 2}, |
| 4797 | {96 * 1024, 1}, |
| 4798 | {128 * 1024, 1}, |
| 4799 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4800 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4801 | }, { |
| 4802 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4803 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4804 | }, |
| 4805 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4806 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4807 | .read = read_memmapped, |
| 4808 | }, |
| 4809 | |
| 4810 | { |
| 4811 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4812 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4813 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4814 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4815 | .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] | 4816 | .total_size = 128, |
| 4817 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4818 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4819 | .tested = TEST_OK_PRE, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4820 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4821 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4822 | .block_erasers = |
| 4823 | { |
| 4824 | { |
| 4825 | .eraseblocks = { {4 * 1024, 32} }, |
| 4826 | .block_erase = erase_sector_jedec, |
| 4827 | }, { |
| 4828 | .eraseblocks = { {64 * 1024, 2} }, |
| 4829 | .block_erase = erase_block_jedec, |
| 4830 | }, { |
| 4831 | .eraseblocks = { {128 * 1024, 1} }, |
| 4832 | .block_erase = erase_chip_block_jedec, |
| 4833 | } |
| 4834 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4835 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4836 | .read = read_memmapped, |
| 4837 | }, |
| 4838 | |
| 4839 | { |
| 4840 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4841 | .name = "Pm39LV020", |
| 4842 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4843 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4844 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4845 | .total_size = 256, |
| 4846 | .page_size = 4096, |
| 4847 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4848 | .tested = TEST_UNTESTED, |
| 4849 | .probe = probe_jedec, |
| 4850 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4851 | .block_erasers = |
| 4852 | { |
| 4853 | { |
| 4854 | .eraseblocks = { {4 * 1024, 64} }, |
| 4855 | .block_erase = erase_sector_jedec, |
| 4856 | }, { |
| 4857 | .eraseblocks = { {64 * 1024, 4} }, |
| 4858 | .block_erase = erase_block_jedec, |
| 4859 | }, { |
| 4860 | .eraseblocks = { {256 * 1024, 1} }, |
| 4861 | .block_erase = erase_chip_block_jedec, |
| 4862 | } |
| 4863 | }, |
| 4864 | .write = write_jedec_1, |
| 4865 | .read = read_memmapped, |
| 4866 | }, |
| 4867 | |
| 4868 | { |
| 4869 | .vendor = "PMC", |
| 4870 | .name = "Pm39LV040", |
| 4871 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4872 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4873 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4874 | .total_size = 512, |
| 4875 | .page_size = 4096, |
| 4876 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4877 | .tested = TEST_UNTESTED, |
| 4878 | .probe = probe_jedec, |
| 4879 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4880 | .block_erasers = |
| 4881 | { |
| 4882 | { |
| 4883 | .eraseblocks = { {4 * 1024, 128} }, |
| 4884 | .block_erase = erase_sector_jedec, |
| 4885 | }, { |
| 4886 | .eraseblocks = { {64 * 1024, 8} }, |
| 4887 | .block_erase = erase_block_jedec, |
| 4888 | }, { |
| 4889 | .eraseblocks = { {512 * 1024, 1} }, |
| 4890 | .block_erase = erase_chip_block_jedec, |
| 4891 | } |
| 4892 | }, |
| 4893 | .write = write_jedec_1, |
| 4894 | .read = read_memmapped, |
| 4895 | }, |
| 4896 | |
| 4897 | { |
| 4898 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4899 | .name = "Pm49FL002", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4900 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4901 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4902 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4903 | .total_size = 256, |
| 4904 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4905 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4906 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4907 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4908 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4909 | .block_erasers = |
| 4910 | { |
| 4911 | { |
| 4912 | .eraseblocks = { {4 * 1024, 64} }, |
| 4913 | .block_erase = erase_sector_jedec, |
| 4914 | }, { |
| 4915 | .eraseblocks = { {16 * 1024, 16} }, |
| 4916 | .block_erase = erase_block_jedec, |
| 4917 | }, { |
| 4918 | .eraseblocks = { {256 * 1024, 1} }, |
| 4919 | .block_erase = erase_chip_block_jedec, |
| 4920 | } |
| 4921 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4922 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4923 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4924 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4925 | }, |
| 4926 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4927 | { |
| 4928 | .vendor = "PMC", |
| 4929 | .name = "Pm49FL004", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4930 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4931 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4932 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4933 | .total_size = 512, |
| 4934 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4935 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 4936 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4937 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4938 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4939 | .block_erasers = |
| 4940 | { |
| 4941 | { |
| 4942 | .eraseblocks = { {4 * 1024, 128} }, |
| 4943 | .block_erase = erase_sector_jedec, |
| 4944 | }, { |
| 4945 | .eraseblocks = { {64 * 1024, 8} }, |
| 4946 | .block_erase = erase_block_jedec, |
| 4947 | }, { |
| 4948 | .eraseblocks = { {512 * 1024, 1} }, |
| 4949 | .block_erase = erase_chip_block_jedec, |
| 4950 | } |
| 4951 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4952 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4953 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4954 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4955 | }, |
| 4956 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4957 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4958 | .vendor = "Sanyo", |
| 4959 | .name = "LF25FW203A", |
| 4960 | .bustype = CHIP_BUSTYPE_SPI, |
| 4961 | .manufacture_id = SANYO_ID, |
| 4962 | .model_id = SANYO_LE25FW203A, |
| 4963 | .total_size = 2048, |
| 4964 | .page_size = 256, |
| 4965 | .tested = TEST_UNTESTED, |
| 4966 | .probe = probe_spi_rdid, |
| 4967 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4968 | .block_erasers = |
| 4969 | { |
| 4970 | { |
| 4971 | .eraseblocks = { {64 * 1024, 32} }, |
| 4972 | .block_erase = spi_block_erase_d8, |
| 4973 | }, { |
| 4974 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4975 | .block_erase = spi_block_erase_c7, |
| 4976 | } |
| 4977 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4978 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4979 | .write = spi_chip_write_256, |
| 4980 | .read = spi_chip_read, |
| 4981 | }, |
| 4982 | |
| 4983 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4984 | .vendor = "Sharp", |
| 4985 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4986 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4987 | .manufacture_id = SHARP_ID, |
| 4988 | .model_id = SHARP_LHF00L04, |
| 4989 | .total_size = 1024, |
| 4990 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4991 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4992 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4993 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4994 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4995 | .block_erasers = |
| 4996 | { |
| 4997 | { |
| 4998 | .eraseblocks = { |
| 4999 | {64 * 1024, 15}, |
| 5000 | {8 * 1024, 8} |
| 5001 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5002 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5003 | }, { |
| 5004 | .eraseblocks = { |
| 5005 | {1024 * 1024, 1} |
| 5006 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5007 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 5008 | }, |
| 5009 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5010 | .unlock = unlock_82802ab, |
| 5011 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5012 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5013 | }, |
| 5014 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5015 | { |
| 5016 | .vendor = "Spansion", |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5017 | .name = "S25FL004A", |
| 5018 | .bustype = CHIP_BUSTYPE_SPI, |
| 5019 | .manufacture_id = SPANSION_ID, |
| 5020 | .model_id = SPANSION_S25FL004A, |
| 5021 | .total_size = 512, |
| 5022 | .page_size = 256, |
| 5023 | .tested = TEST_UNTESTED, |
| 5024 | .probe = probe_spi_rdid, |
| 5025 | .probe_timing = TIMING_ZERO, |
| 5026 | .block_erasers = |
| 5027 | { |
| 5028 | { |
| 5029 | .eraseblocks = { {64 * 1024, 8} }, |
| 5030 | .block_erase = spi_block_erase_d8, |
| 5031 | }, { |
| 5032 | .eraseblocks = { {512 * 1024, 1} }, |
| 5033 | .block_erase = spi_block_erase_c7, |
| 5034 | } |
| 5035 | }, |
| 5036 | .unlock = spi_disable_blockprotect, |
| 5037 | .write = spi_chip_write_256, |
| 5038 | .read = spi_chip_read, |
| 5039 | }, |
| 5040 | |
| 5041 | { |
| 5042 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5043 | .name = "S25FL008A", |
| 5044 | .bustype = CHIP_BUSTYPE_SPI, |
| 5045 | .manufacture_id = SPANSION_ID, |
| 5046 | .model_id = SPANSION_S25FL008A, |
| 5047 | .total_size = 1024, |
| 5048 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5049 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5050 | .probe = probe_spi_rdid, |
| 5051 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5052 | .block_erasers = |
| 5053 | { |
| 5054 | { |
| 5055 | .eraseblocks = { {64 * 1024, 16} }, |
| 5056 | .block_erase = spi_block_erase_d8, |
| 5057 | }, { |
| 5058 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5059 | .block_erase = spi_block_erase_c7, |
| 5060 | } |
| 5061 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5062 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 5063 | .write = spi_chip_write_256, |
| 5064 | .read = spi_chip_read, |
| 5065 | }, |
| 5066 | |
| 5067 | { |
| 5068 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5069 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5070 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5071 | .manufacture_id = SPANSION_ID, |
| 5072 | .model_id = SPANSION_S25FL016A, |
| 5073 | .total_size = 2048, |
| 5074 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5075 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5076 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5077 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 5078 | .block_erasers = |
| 5079 | { |
| 5080 | { |
| 5081 | .eraseblocks = { {64 * 1024, 32} }, |
| 5082 | .block_erase = spi_block_erase_d8, |
| 5083 | }, { |
| 5084 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5085 | .block_erase = spi_block_erase_c7, |
| 5086 | } |
| 5087 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5088 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5089 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5090 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5091 | }, |
| 5092 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5093 | { |
Rudy Host | f4e5777 | 2010-11-29 00:37:49 +0000 | [diff] [blame] | 5094 | .vendor = "Spansion", |
| 5095 | .name = "S25FL032A", |
| 5096 | .bustype = CHIP_BUSTYPE_SPI, |
| 5097 | .manufacture_id = SPANSION_ID, |
| 5098 | .model_id = SPANSION_S25FL032A, |
| 5099 | .total_size = 4096, |
| 5100 | .page_size = 256, |
| 5101 | .tested = TEST_UNTESTED, |
| 5102 | .probe = probe_spi_rdid, |
| 5103 | .probe_timing = TIMING_ZERO, |
| 5104 | .block_erasers = |
| 5105 | { |
| 5106 | { |
| 5107 | .eraseblocks = { {64 * 1024, 64} }, |
| 5108 | .block_erase = spi_block_erase_d8, |
| 5109 | }, { |
| 5110 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5111 | .block_erase = spi_block_erase_c7, |
| 5112 | } |
| 5113 | }, |
| 5114 | .unlock = spi_disable_blockprotect, |
| 5115 | .write = spi_chip_write_256, |
| 5116 | .read = spi_chip_read, |
| 5117 | }, |
| 5118 | |
| 5119 | { |
| 5120 | .vendor = "Spansion", |
| 5121 | .name = "S25FL064A", |
| 5122 | .bustype = CHIP_BUSTYPE_SPI, |
| 5123 | .manufacture_id = SPANSION_ID, |
| 5124 | .model_id = SPANSION_S25FL064A, |
| 5125 | .total_size = 8192, |
| 5126 | .page_size = 256, |
| 5127 | .tested = TEST_OK_PREW, |
| 5128 | .probe = probe_spi_rdid, |
| 5129 | .probe_timing = TIMING_ZERO, |
| 5130 | .block_erasers = |
| 5131 | { |
| 5132 | { |
| 5133 | .eraseblocks = { {64 * 1024, 128} }, |
| 5134 | .block_erase = spi_block_erase_d8, |
| 5135 | }, { |
| 5136 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5137 | .block_erase = spi_block_erase_c7, |
| 5138 | } |
| 5139 | }, |
| 5140 | .unlock = spi_disable_blockprotect, |
| 5141 | .write = spi_chip_write_256, |
| 5142 | .read = spi_chip_read, |
| 5143 | }, |
| 5144 | |
| 5145 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5146 | .vendor = "SST", |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5147 | .name = "SST25VF010.REMS", |
| 5148 | .bustype = CHIP_BUSTYPE_SPI, |
| 5149 | .manufacture_id = SST_ID, |
| 5150 | .model_id = SST_SST25VF010_REMS, |
| 5151 | .total_size = 128, |
| 5152 | .page_size = 256, |
| 5153 | .tested = TEST_OK_PREW, |
| 5154 | .probe = probe_spi_rems, |
| 5155 | .probe_timing = TIMING_ZERO, |
| 5156 | .block_erasers = |
| 5157 | { |
| 5158 | { |
| 5159 | .eraseblocks = { {4 * 1024, 32} }, |
| 5160 | .block_erase = spi_block_erase_20, |
| 5161 | }, { |
| 5162 | .eraseblocks = { {32 * 1024, 4} }, |
| 5163 | .block_erase = spi_block_erase_52, |
| 5164 | }, { |
| 5165 | .eraseblocks = { {128 * 1024, 1} }, |
| 5166 | .block_erase = spi_block_erase_60, |
| 5167 | }, |
| 5168 | }, |
| 5169 | .unlock = spi_disable_blockprotect, |
| 5170 | .write = spi_chip_write_1, |
| 5171 | .read = spi_chip_read, |
| 5172 | }, |
| 5173 | |
| 5174 | { |
| 5175 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5176 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5177 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5178 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5179 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5180 | .total_size = 2048, |
| 5181 | .page_size = 256, |
Mark Marshall | 90021f2 | 2010-12-03 14:48:11 +0000 | [diff] [blame] | 5182 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5183 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5184 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5185 | .block_erasers = |
| 5186 | { |
| 5187 | { |
| 5188 | .eraseblocks = { {4 * 1024, 512} }, |
| 5189 | .block_erase = spi_block_erase_20, |
| 5190 | }, { |
| 5191 | .eraseblocks = { {32 * 1024, 64} }, |
| 5192 | .block_erase = spi_block_erase_52, |
| 5193 | }, { |
| 5194 | .eraseblocks = { {64 * 1024, 32} }, |
| 5195 | .block_erase = spi_block_erase_d8, |
| 5196 | }, { |
| 5197 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5198 | .block_erase = spi_block_erase_60, |
| 5199 | }, { |
| 5200 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5201 | .block_erase = spi_block_erase_c7, |
| 5202 | }, |
| 5203 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5204 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5205 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5206 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5207 | }, |
| 5208 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5209 | { |
| 5210 | .vendor = "SST", |
| 5211 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5212 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5213 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5214 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5215 | .total_size = 4096, |
| 5216 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5217 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5218 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5219 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5220 | .block_erasers = |
| 5221 | { |
| 5222 | { |
| 5223 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5224 | .block_erase = spi_block_erase_20, |
| 5225 | }, { |
| 5226 | .eraseblocks = { {32 * 1024, 128} }, |
| 5227 | .block_erase = spi_block_erase_52, |
| 5228 | }, { |
| 5229 | .eraseblocks = { {64 * 1024, 64} }, |
| 5230 | .block_erase = spi_block_erase_d8, |
| 5231 | }, { |
| 5232 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5233 | .block_erase = spi_block_erase_60, |
| 5234 | }, { |
| 5235 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5236 | .block_erase = spi_block_erase_c7, |
| 5237 | }, |
| 5238 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5239 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5240 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5241 | .read = spi_chip_read, |
| 5242 | }, |
| 5243 | |
| 5244 | { |
| 5245 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5246 | .name = "SST25VF064C", |
| 5247 | .bustype = CHIP_BUSTYPE_SPI, |
| 5248 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5249 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5250 | .total_size = 8192, |
| 5251 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5252 | .tested = TEST_OK_PRE, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5253 | .probe = probe_spi_rdid, |
| 5254 | .probe_timing = TIMING_ZERO, |
| 5255 | .block_erasers = |
| 5256 | { |
| 5257 | { |
| 5258 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5259 | .block_erase = spi_block_erase_20, |
| 5260 | }, { |
| 5261 | .eraseblocks = { {32 * 1024, 256} }, |
| 5262 | .block_erase = spi_block_erase_52, |
| 5263 | }, { |
| 5264 | .eraseblocks = { {64 * 1024, 128} }, |
| 5265 | .block_erase = spi_block_erase_d8, |
| 5266 | }, { |
| 5267 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5268 | .block_erase = spi_block_erase_60, |
| 5269 | }, { |
| 5270 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5271 | .block_erase = spi_block_erase_c7, |
| 5272 | }, |
| 5273 | }, |
| 5274 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 5275 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 5276 | .read = spi_chip_read, |
| 5277 | }, |
| 5278 | |
| 5279 | { |
| 5280 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5281 | .name = "SST25VF040.REMS", |
| 5282 | .bustype = CHIP_BUSTYPE_SPI, |
| 5283 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5284 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5285 | .total_size = 512, |
| 5286 | .page_size = 256, |
| 5287 | .tested = TEST_OK_PR, |
| 5288 | .probe = probe_spi_rems, |
| 5289 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5290 | .block_erasers = |
| 5291 | { |
| 5292 | { |
| 5293 | .eraseblocks = { {4 * 1024, 128} }, |
| 5294 | .block_erase = spi_block_erase_20, |
| 5295 | }, { |
| 5296 | .eraseblocks = { {32 * 1024, 16} }, |
| 5297 | .block_erase = spi_block_erase_52, |
| 5298 | }, { |
| 5299 | .eraseblocks = { {512 * 1024, 1} }, |
| 5300 | .block_erase = spi_block_erase_60, |
| 5301 | }, |
| 5302 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5303 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5304 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5305 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5306 | }, |
| 5307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5308 | { |
| 5309 | .vendor = "SST", |
| 5310 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5311 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5312 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5313 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5314 | .total_size = 512, |
| 5315 | .page_size = 256, |
| 5316 | .tested = TEST_UNTESTED, |
| 5317 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5318 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5319 | .block_erasers = |
| 5320 | { |
| 5321 | { |
| 5322 | .eraseblocks = { {4 * 1024, 128} }, |
| 5323 | .block_erase = spi_block_erase_20, |
| 5324 | }, { |
| 5325 | .eraseblocks = { {32 * 1024, 16} }, |
| 5326 | .block_erase = spi_block_erase_52, |
| 5327 | }, { |
| 5328 | .eraseblocks = { {64 * 1024, 8} }, |
| 5329 | .block_erase = spi_block_erase_d8, |
| 5330 | }, { |
| 5331 | .eraseblocks = { {512 * 1024, 1} }, |
| 5332 | .block_erase = spi_block_erase_60, |
| 5333 | }, { |
| 5334 | .eraseblocks = { {512 * 1024, 1} }, |
| 5335 | .block_erase = spi_block_erase_c7, |
| 5336 | }, |
| 5337 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5338 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5339 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 5340 | .read = spi_chip_read, |
| 5341 | }, |
| 5342 | |
| 5343 | { |
| 5344 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 5345 | .name = "SST25LF040A.RES", |
| 5346 | .bustype = CHIP_BUSTYPE_SPI, |
| 5347 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5348 | .model_id = SST_SST25VF040_REMS, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 5349 | .total_size = 512, |
| 5350 | .page_size = 256, |
| 5351 | .tested = TEST_OK_PROBE, |
| 5352 | .probe = probe_spi_res2, |
| 5353 | .probe_timing = TIMING_ZERO, |
| 5354 | .block_erasers = |
| 5355 | { |
| 5356 | { |
| 5357 | .eraseblocks = { {4 * 1024, 128} }, |
| 5358 | .block_erase = spi_block_erase_20, |
| 5359 | }, { |
| 5360 | .eraseblocks = { {32 * 1024, 16} }, |
| 5361 | .block_erase = spi_block_erase_52, |
| 5362 | }, { |
| 5363 | .eraseblocks = { {512 * 1024, 1} }, |
| 5364 | .block_erase = spi_block_erase_60, |
| 5365 | }, |
| 5366 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5367 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 5368 | .write = spi_chip_write_1, |
| 5369 | .read = spi_chip_read, |
| 5370 | }, |
| 5371 | |
| 5372 | { |
| 5373 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5374 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5375 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5376 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5377 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5378 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5379 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5380 | .tested = TEST_OK_PR, |
| 5381 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5382 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5383 | .block_erasers = |
| 5384 | { |
| 5385 | { |
| 5386 | .eraseblocks = { {4 * 1024, 128} }, |
| 5387 | .block_erase = spi_block_erase_20, |
| 5388 | }, { |
| 5389 | .eraseblocks = { {32 * 1024, 16} }, |
| 5390 | .block_erase = spi_block_erase_52, |
| 5391 | }, { |
| 5392 | .eraseblocks = { {64 * 1024, 8} }, |
| 5393 | .block_erase = spi_block_erase_d8, |
| 5394 | }, { |
| 5395 | .eraseblocks = { {512 * 1024, 1} }, |
| 5396 | .block_erase = spi_block_erase_60, |
| 5397 | }, { |
| 5398 | .eraseblocks = { {512 * 1024, 1} }, |
| 5399 | .block_erase = spi_block_erase_c7, |
| 5400 | }, |
| 5401 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5402 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5403 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5404 | .read = spi_chip_read, |
| 5405 | }, |
| 5406 | |
| 5407 | { |
| 5408 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5409 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5410 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5411 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5412 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5413 | .total_size = 1024, |
| 5414 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5415 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5416 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5417 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5418 | .block_erasers = |
| 5419 | { |
| 5420 | { |
| 5421 | .eraseblocks = { {4 * 1024, 256} }, |
| 5422 | .block_erase = spi_block_erase_20, |
| 5423 | }, { |
| 5424 | .eraseblocks = { {32 * 1024, 32} }, |
| 5425 | .block_erase = spi_block_erase_52, |
| 5426 | }, { |
| 5427 | .eraseblocks = { {64 * 1024, 16} }, |
| 5428 | .block_erase = spi_block_erase_d8, |
| 5429 | }, { |
| 5430 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5431 | .block_erase = spi_block_erase_60, |
| 5432 | }, { |
| 5433 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5434 | .block_erase = spi_block_erase_c7, |
| 5435 | }, |
| 5436 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5437 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5438 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5439 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5440 | }, |
| 5441 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5442 | { |
| 5443 | .vendor = "SST", |
| 5444 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5445 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5446 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5447 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5448 | .total_size = 512, |
| 5449 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5450 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5451 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5452 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5453 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5454 | .block_erasers = |
| 5455 | { |
| 5456 | { |
| 5457 | .eraseblocks = { {128, 4096} }, |
| 5458 | .block_erase = erase_sector_28sf040, |
| 5459 | }, { |
| 5460 | .eraseblocks = { {512 * 1024, 1} }, |
| 5461 | .block_erase = erase_chip_28sf040, |
| 5462 | } |
| 5463 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5464 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5465 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5466 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5467 | }, |
| 5468 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5469 | { |
| 5470 | .vendor = "SST", |
| 5471 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5472 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5473 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5474 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5475 | .total_size = 128, |
| 5476 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5477 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5478 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5479 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5480 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5481 | .block_erasers = |
| 5482 | { |
| 5483 | { |
| 5484 | .eraseblocks = { {128 * 1024, 1} }, |
| 5485 | .block_erase = erase_chip_block_jedec, |
| 5486 | } |
| 5487 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5488 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5489 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5490 | }, |
| 5491 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5492 | { |
| 5493 | .vendor = "SST", |
| 5494 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5495 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5496 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5497 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5498 | .total_size = 128, |
| 5499 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5500 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5501 | .tested = TEST_UNTESTED, |
| 5502 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5503 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5504 | .block_erasers = |
| 5505 | { |
| 5506 | { |
| 5507 | .eraseblocks = { {128 * 1024, 1} }, |
| 5508 | .block_erase = erase_chip_block_jedec, |
| 5509 | } |
| 5510 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5511 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5512 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5513 | }, |
| 5514 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5515 | { |
| 5516 | .vendor = "SST", |
| 5517 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5518 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5519 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5520 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5521 | .total_size = 256, |
| 5522 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5523 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5524 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5525 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5526 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5527 | .block_erasers = |
| 5528 | { |
| 5529 | { |
| 5530 | .eraseblocks = { {256 * 1024, 1} }, |
| 5531 | .block_erase = erase_chip_block_jedec, |
| 5532 | } |
| 5533 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5534 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5535 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5536 | }, |
| 5537 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5538 | { |
| 5539 | .vendor = "SST", |
| 5540 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5541 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5542 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5543 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5544 | .total_size = 256, |
| 5545 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5546 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5547 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5548 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5549 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5550 | .block_erasers = |
| 5551 | { |
| 5552 | { |
| 5553 | .eraseblocks = { {256 * 1024, 1} }, |
| 5554 | .block_erase = erase_chip_block_jedec, |
| 5555 | } |
| 5556 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5557 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5558 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5559 | }, |
| 5560 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5561 | { |
| 5562 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5563 | .name = "SST39SF512", |
| 5564 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5565 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5566 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5567 | .total_size = 64, |
| 5568 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5569 | .feature_bits = FEATURE_EITHER_RESET, |
Idwer Vollering | 7913fb4 | 2011-03-07 15:32:58 +0000 | [diff] [blame] | 5570 | .tested = TEST_OK_PREW, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5571 | .probe = probe_jedec, |
| 5572 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5573 | .block_erasers = |
| 5574 | { |
| 5575 | { |
| 5576 | .eraseblocks = { {4 * 1024, 16} }, |
| 5577 | .block_erase = erase_sector_jedec, |
| 5578 | }, { |
| 5579 | .eraseblocks = { {64 * 1024, 1} }, |
| 5580 | .block_erase = erase_chip_block_jedec, |
| 5581 | } |
| 5582 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5583 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5584 | .read = read_memmapped, |
| 5585 | }, |
| 5586 | |
| 5587 | { |
| 5588 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5589 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5590 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5591 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5592 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5593 | .total_size = 128, |
| 5594 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5595 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5596 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5597 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5598 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5599 | .block_erasers = |
| 5600 | { |
| 5601 | { |
| 5602 | .eraseblocks = { {4 * 1024, 32} }, |
| 5603 | .block_erase = erase_sector_jedec, |
| 5604 | }, { |
| 5605 | .eraseblocks = { {128 * 1024, 1} }, |
| 5606 | .block_erase = erase_chip_block_jedec, |
| 5607 | } |
| 5608 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5609 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5610 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5611 | }, |
| 5612 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5613 | { |
| 5614 | .vendor = "SST", |
| 5615 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5616 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5617 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5618 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5619 | .total_size = 256, |
| 5620 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5621 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5622 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5623 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5624 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5625 | .block_erasers = |
| 5626 | { |
| 5627 | { |
| 5628 | .eraseblocks = { {4 * 1024, 64} }, |
| 5629 | .block_erase = erase_sector_jedec, |
| 5630 | }, { |
| 5631 | .eraseblocks = { {256 * 1024, 1} }, |
| 5632 | .block_erase = erase_chip_block_jedec, |
| 5633 | } |
| 5634 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5635 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5636 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5637 | }, |
| 5638 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5639 | { |
| 5640 | .vendor = "SST", |
| 5641 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5642 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5643 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5644 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5645 | .total_size = 512, |
| 5646 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5647 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5648 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5649 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5650 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5651 | .block_erasers = |
| 5652 | { |
| 5653 | { |
| 5654 | .eraseblocks = { {4 * 1024, 128} }, |
| 5655 | .block_erase = erase_sector_jedec, |
| 5656 | }, { |
| 5657 | .eraseblocks = { {512 * 1024, 1} }, |
| 5658 | .block_erase = erase_chip_block_jedec, |
| 5659 | } |
| 5660 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5661 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5662 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5663 | }, |
| 5664 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5665 | { |
| 5666 | .vendor = "SST", |
| 5667 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5668 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5669 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5670 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5671 | .total_size = 64, |
| 5672 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5673 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5674 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5675 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5676 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5677 | .block_erasers = |
| 5678 | { |
| 5679 | { |
| 5680 | .eraseblocks = { {4 * 1024, 16} }, |
| 5681 | .block_erase = erase_sector_jedec, |
| 5682 | }, { |
| 5683 | .eraseblocks = { {64 * 1024, 1} }, |
| 5684 | .block_erase = erase_chip_block_jedec, |
| 5685 | } |
| 5686 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5687 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5688 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5689 | }, |
| 5690 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5691 | { |
| 5692 | .vendor = "SST", |
| 5693 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5694 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5695 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5696 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5697 | .total_size = 128, |
| 5698 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5699 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5700 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5701 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5702 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5703 | .block_erasers = |
| 5704 | { |
| 5705 | { |
| 5706 | .eraseblocks = { {4 * 1024, 32} }, |
| 5707 | .block_erase = erase_sector_jedec, |
| 5708 | }, { |
| 5709 | .eraseblocks = { {128 * 1024, 1} }, |
| 5710 | .block_erase = erase_chip_block_jedec, |
| 5711 | } |
| 5712 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5713 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5714 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5715 | }, |
| 5716 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5717 | { |
| 5718 | .vendor = "SST", |
| 5719 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5720 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5721 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5722 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5723 | .total_size = 256, |
| 5724 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5725 | .feature_bits = FEATURE_EITHER_RESET, |
| 5726 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5727 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5728 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5729 | .block_erasers = |
| 5730 | { |
| 5731 | { |
| 5732 | .eraseblocks = { {4 * 1024, 64} }, |
| 5733 | .block_erase = erase_sector_jedec, |
| 5734 | }, { |
| 5735 | .eraseblocks = { {256 * 1024, 1} }, |
| 5736 | .block_erase = erase_chip_block_jedec, |
| 5737 | } |
| 5738 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5739 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5740 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5741 | }, |
| 5742 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5743 | { |
| 5744 | .vendor = "SST", |
| 5745 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5746 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5747 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5748 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5749 | .total_size = 512, |
| 5750 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5751 | .feature_bits = FEATURE_EITHER_RESET, |
| 5752 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5753 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5754 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5755 | .block_erasers = |
| 5756 | { |
| 5757 | { |
| 5758 | .eraseblocks = { {4 * 1024, 128} }, |
| 5759 | .block_erase = erase_sector_jedec, |
| 5760 | }, { |
| 5761 | .eraseblocks = { {512 * 1024, 1} }, |
| 5762 | .block_erase = erase_chip_block_jedec, |
| 5763 | } |
| 5764 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5765 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5766 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 5767 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5768 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5769 | { |
| 5770 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5771 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5772 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5773 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5774 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5775 | .total_size = 1024, |
| 5776 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5777 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5778 | .tested = TEST_UNTESTED, |
| 5779 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5780 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5781 | .block_erasers = |
| 5782 | { |
| 5783 | { |
| 5784 | .eraseblocks = { {4 * 1024, 256} }, |
| 5785 | .block_erase = erase_sector_jedec, |
| 5786 | }, { |
| 5787 | .eraseblocks = { {64 * 1024, 16} }, |
| 5788 | .block_erase = erase_block_jedec, |
| 5789 | }, { |
| 5790 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5791 | .block_erase = erase_chip_block_jedec, |
| 5792 | } |
| 5793 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5794 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5795 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5796 | }, |
| 5797 | |
| 5798 | { |
| 5799 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5800 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5801 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5802 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5803 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5804 | .total_size = 256, |
| 5805 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5806 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 5807 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5808 | .probe = probe_jedec, |
| 5809 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5810 | .block_erasers = |
| 5811 | { |
| 5812 | { |
| 5813 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5814 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5815 | }, { |
| 5816 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5817 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5818 | }, { |
| 5819 | .eraseblocks = { {256 * 1024, 1} }, |
| 5820 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5821 | } |
| 5822 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5823 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5824 | .unlock = unlock_sst_fwhub, |
| 5825 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5826 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5827 | }, |
| 5828 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5829 | { |
| 5830 | .vendor = "SST", |
| 5831 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5832 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5833 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5834 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5835 | .total_size = 384, |
| 5836 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5837 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 5838 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5839 | .probe = probe_jedec, |
| 5840 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5841 | .block_erasers = |
| 5842 | { |
| 5843 | { |
| 5844 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5845 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5846 | }, { |
| 5847 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5848 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5849 | }, { |
| 5850 | .eraseblocks = { {384 * 1024, 1} }, |
| 5851 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5852 | } |
| 5853 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5854 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5855 | .unlock = unlock_sst_fwhub, |
| 5856 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5857 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5858 | }, |
| 5859 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5860 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5861 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 5862 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 5863 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5864 | .vendor = "SST", |
| 5865 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5866 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5867 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5868 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5869 | .total_size = 512, |
| 5870 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5871 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 5872 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5873 | .probe = probe_jedec, |
| 5874 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5875 | .block_erasers = |
| 5876 | { |
| 5877 | { |
| 5878 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5879 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5880 | }, { |
| 5881 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5882 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5883 | }, { |
| 5884 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5885 | .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] | 5886 | }, |
| 5887 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5888 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5889 | .unlock = unlock_sst_fwhub, |
| 5890 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5891 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5892 | }, |
| 5893 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5894 | { |
| 5895 | .vendor = "SST", |
| 5896 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5897 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5898 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5899 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5900 | .total_size = 512, |
| 5901 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5902 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5903 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5904 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5905 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5906 | .block_erasers = |
| 5907 | { |
| 5908 | { |
| 5909 | .eraseblocks = { {4 * 1024, 128} }, |
| 5910 | .block_erase = erase_sector_49lfxxxc, |
| 5911 | }, { |
| 5912 | .eraseblocks = { |
| 5913 | {64 * 1024, 7}, |
| 5914 | {32 * 1024, 1}, |
| 5915 | {8 * 1024, 2}, |
| 5916 | {16 * 1024, 1}, |
| 5917 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5918 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5919 | } |
| 5920 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5921 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5922 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5923 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5924 | }, |
| 5925 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5926 | { |
| 5927 | .vendor = "SST", |
| 5928 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5929 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5930 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5931 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5932 | .total_size = 1024, |
| 5933 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5934 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5935 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5936 | .probe = probe_jedec, |
| 5937 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5938 | .block_erasers = |
| 5939 | { |
| 5940 | { |
| 5941 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5942 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5943 | }, { |
| 5944 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5945 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5946 | }, { |
| 5947 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5948 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5949 | } |
| 5950 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5951 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5952 | .unlock = unlock_sst_fwhub, |
| 5953 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5954 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5955 | }, |
| 5956 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5957 | { |
| 5958 | .vendor = "SST", |
| 5959 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5960 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5961 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5962 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5963 | .total_size = 1024, |
| 5964 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5965 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5966 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5967 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5968 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5969 | .block_erasers = |
| 5970 | { |
| 5971 | { |
| 5972 | .eraseblocks = { {4 * 1024, 256} }, |
| 5973 | .block_erase = erase_sector_49lfxxxc, |
| 5974 | }, { |
| 5975 | .eraseblocks = { |
| 5976 | {64 * 1024, 15}, |
| 5977 | {32 * 1024, 1}, |
| 5978 | {8 * 1024, 2}, |
| 5979 | {16 * 1024, 1}, |
| 5980 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5981 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5982 | } |
| 5983 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5984 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5985 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5986 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5987 | }, |
| 5988 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5989 | { |
| 5990 | .vendor = "SST", |
| 5991 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5992 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5993 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5994 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5995 | .total_size = 2048, |
| 5996 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5997 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5998 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5999 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6000 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6001 | .block_erasers = |
| 6002 | { |
| 6003 | { |
| 6004 | .eraseblocks = { {4 * 1024, 512} }, |
| 6005 | .block_erase = erase_sector_49lfxxxc, |
| 6006 | }, { |
| 6007 | .eraseblocks = { |
| 6008 | {64 * 1024, 31}, |
| 6009 | {32 * 1024, 1}, |
| 6010 | {8 * 1024, 2}, |
| 6011 | {16 * 1024, 1}, |
| 6012 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6013 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6014 | } |
| 6015 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6016 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6017 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6018 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6019 | }, |
| 6020 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6021 | { |
| 6022 | .vendor = "SST", |
| 6023 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6024 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6025 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6026 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6027 | .total_size = 256, |
| 6028 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6029 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6030 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6031 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6032 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6033 | .block_erasers = |
| 6034 | { |
| 6035 | { |
| 6036 | .eraseblocks = { {4 * 1024, 64} }, |
| 6037 | .block_erase = erase_sector_jedec, |
| 6038 | }, { |
| 6039 | .eraseblocks = { {16 * 1024, 16} }, |
| 6040 | .block_erase = erase_block_jedec, |
| 6041 | }, { |
| 6042 | .eraseblocks = { {256 * 1024, 1} }, |
| 6043 | .block_erase = NULL, |
| 6044 | } |
| 6045 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6046 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6047 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 6048 | }, |
| 6049 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6050 | { |
| 6051 | .vendor = "SST", |
| 6052 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6053 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6054 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6055 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6056 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 6057 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6058 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6059 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6060 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6061 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6062 | .block_erasers = |
| 6063 | { |
| 6064 | { |
| 6065 | .eraseblocks = { {4 * 1024, 64} }, |
| 6066 | .block_erase = erase_sector_jedec, |
| 6067 | }, { |
| 6068 | .eraseblocks = { {16 * 1024, 16} }, |
| 6069 | .block_erase = erase_block_jedec, |
| 6070 | }, { |
| 6071 | .eraseblocks = { {256 * 1024, 1} }, |
| 6072 | .block_erase = NULL, |
| 6073 | } |
| 6074 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6075 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6076 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6077 | }, |
| 6078 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6079 | { |
| 6080 | .vendor = "SST", |
| 6081 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6082 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6083 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6084 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6085 | .total_size = 512, |
| 6086 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6087 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6088 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6089 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6090 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6091 | .block_erasers = |
| 6092 | { |
| 6093 | { |
| 6094 | .eraseblocks = { {4 * 1024, 128} }, |
| 6095 | .block_erase = erase_sector_jedec, |
| 6096 | }, { |
| 6097 | .eraseblocks = { {64 * 1024, 8} }, |
| 6098 | .block_erase = erase_block_jedec, |
| 6099 | }, { |
| 6100 | .eraseblocks = { {512 * 1024, 1} }, |
| 6101 | .block_erase = NULL, |
| 6102 | } |
| 6103 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6104 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6105 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6106 | }, |
| 6107 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6108 | { |
| 6109 | .vendor = "SST", |
| 6110 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6111 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6112 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6113 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6114 | .total_size = 512, |
| 6115 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6116 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6117 | .tested = TEST_OK_PRE, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6118 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6119 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6120 | .block_erasers = |
| 6121 | { |
| 6122 | { |
| 6123 | .eraseblocks = { {4 * 1024, 128} }, |
| 6124 | .block_erase = erase_sector_jedec, |
| 6125 | }, { |
| 6126 | .eraseblocks = { {64 * 1024, 8} }, |
| 6127 | .block_erase = erase_block_jedec, |
| 6128 | }, { |
| 6129 | .eraseblocks = { {512 * 1024, 1} }, |
| 6130 | .block_erase = NULL, |
| 6131 | } |
| 6132 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 6133 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6134 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6135 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6136 | }, |
| 6137 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6138 | { |
| 6139 | .vendor = "SST", |
| 6140 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6141 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6142 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6143 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6144 | .total_size = 1024, |
| 6145 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6146 | .feature_bits = FEATURE_EITHER_RESET, |
Brandon Dowdy | f07bf32 | 2011-03-06 18:31:11 +0000 | [diff] [blame] | 6147 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6148 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6149 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6150 | .block_erasers = |
| 6151 | { |
| 6152 | { |
| 6153 | .eraseblocks = { {4 * 1024, 256} }, |
| 6154 | .block_erase = erase_sector_jedec, |
| 6155 | }, { |
| 6156 | .eraseblocks = { {64 * 1024, 16} }, |
| 6157 | .block_erase = erase_block_jedec, |
| 6158 | }, { |
| 6159 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6160 | .block_erase = NULL, |
| 6161 | } |
| 6162 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6163 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6164 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6165 | }, |
| 6166 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6167 | { |
| 6168 | .vendor = "SST", |
| 6169 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6170 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6171 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 6172 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6173 | .total_size = 2048, |
| 6174 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6175 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6176 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6177 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6178 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6179 | .block_erasers = |
| 6180 | { |
| 6181 | { |
| 6182 | .eraseblocks = { {4 * 1024, 512} }, |
| 6183 | .block_erase = erase_sector_49lfxxxc, |
| 6184 | }, { |
| 6185 | .eraseblocks = { |
| 6186 | {64 * 1024, 31}, |
| 6187 | {32 * 1024, 1}, |
| 6188 | {8 * 1024, 2}, |
| 6189 | {16 * 1024, 1}, |
| 6190 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 6191 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 6192 | } |
| 6193 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6194 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6195 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6196 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6197 | }, |
| 6198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6199 | { |
| 6200 | .vendor = "ST", |
| 6201 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6202 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6203 | .manufacture_id = ST_ID, |
| 6204 | .model_id = ST_M25P05A, |
| 6205 | .total_size = 64, |
| 6206 | .page_size = 256, |
| 6207 | .tested = TEST_UNTESTED, |
| 6208 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6209 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6210 | .block_erasers = |
| 6211 | { |
| 6212 | { |
| 6213 | .eraseblocks = { {32 * 1024, 2} }, |
| 6214 | .block_erase = spi_block_erase_d8, |
| 6215 | }, { |
| 6216 | .eraseblocks = { {64 * 1024, 1} }, |
| 6217 | .block_erase = spi_block_erase_c7, |
| 6218 | } |
| 6219 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6220 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6221 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6222 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6223 | }, |
| 6224 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6225 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 6226 | * 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] | 6227 | * 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] | 6228 | * only is successful if RDID does not work. |
| 6229 | */ |
| 6230 | { |
| 6231 | .vendor = "ST", |
| 6232 | .name = "M25P05.RES", |
| 6233 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6234 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6235 | .model_id = ST_M25P05_RES, |
| 6236 | .total_size = 64, |
| 6237 | .page_size = 256, |
| 6238 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6239 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6240 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6241 | .block_erasers = |
| 6242 | { |
| 6243 | { |
| 6244 | .eraseblocks = { {32 * 1024, 2} }, |
| 6245 | .block_erase = spi_block_erase_d8, |
| 6246 | }, { |
| 6247 | .eraseblocks = { {64 * 1024, 1} }, |
| 6248 | .block_erase = spi_block_erase_c7, |
| 6249 | } |
| 6250 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6251 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6252 | .write = spi_chip_write_1, /* 128 */ |
| 6253 | .read = spi_chip_read, |
| 6254 | }, |
| 6255 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6256 | { |
| 6257 | .vendor = "ST", |
| 6258 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6259 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6260 | .manufacture_id = ST_ID, |
| 6261 | .model_id = ST_M25P10A, |
| 6262 | .total_size = 128, |
| 6263 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6264 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6265 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6266 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6267 | .block_erasers = |
| 6268 | { |
| 6269 | { |
| 6270 | .eraseblocks = { {32 * 1024, 4} }, |
| 6271 | .block_erase = spi_block_erase_d8, |
| 6272 | }, { |
| 6273 | .eraseblocks = { {128 * 1024, 1} }, |
| 6274 | .block_erase = spi_block_erase_c7, |
| 6275 | } |
| 6276 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6277 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6278 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6279 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6280 | }, |
| 6281 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6282 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 6283 | { |
| 6284 | .vendor = "ST", |
| 6285 | .name = "M25P10.RES", |
| 6286 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6287 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6288 | .model_id = ST_M25P10_RES, |
| 6289 | .total_size = 128, |
| 6290 | .page_size = 256, |
| 6291 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6292 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6293 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6294 | .block_erasers = |
| 6295 | { |
| 6296 | { |
| 6297 | .eraseblocks = { {32 * 1024, 4} }, |
| 6298 | .block_erase = spi_block_erase_d8, |
| 6299 | }, { |
| 6300 | .eraseblocks = { {128 * 1024, 1} }, |
| 6301 | .block_erase = spi_block_erase_c7, |
| 6302 | } |
| 6303 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6304 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 6305 | .write = spi_chip_write_1, /* 128 */ |
| 6306 | .read = spi_chip_read, |
| 6307 | }, |
| 6308 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6309 | { |
| 6310 | .vendor = "ST", |
| 6311 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6312 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6313 | .manufacture_id = ST_ID, |
| 6314 | .model_id = ST_M25P20, |
| 6315 | .total_size = 256, |
| 6316 | .page_size = 256, |
| 6317 | .tested = TEST_UNTESTED, |
| 6318 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6319 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6320 | .block_erasers = |
| 6321 | { |
| 6322 | { |
| 6323 | .eraseblocks = { {64 * 1024, 4} }, |
| 6324 | .block_erase = spi_block_erase_d8, |
| 6325 | }, { |
| 6326 | .eraseblocks = { {256 * 1024, 1} }, |
| 6327 | .block_erase = spi_block_erase_c7, |
| 6328 | } |
| 6329 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6330 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6331 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6332 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6333 | }, |
| 6334 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6335 | { |
| 6336 | .vendor = "ST", |
| 6337 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6338 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6339 | .manufacture_id = ST_ID, |
| 6340 | .model_id = ST_M25P40, |
| 6341 | .total_size = 512, |
| 6342 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6343 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6344 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6345 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6346 | .block_erasers = |
| 6347 | { |
| 6348 | { |
| 6349 | .eraseblocks = { {64 * 1024, 8} }, |
| 6350 | .block_erase = spi_block_erase_d8, |
| 6351 | }, { |
| 6352 | .eraseblocks = { {512 * 1024, 1} }, |
| 6353 | .block_erase = spi_block_erase_c7, |
| 6354 | } |
| 6355 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6356 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6357 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6358 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6359 | }, |
| 6360 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6361 | { |
| 6362 | .vendor = "ST", |
| 6363 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6364 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6365 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6366 | .model_id = ST_M25P40_RES, |
| 6367 | .total_size = 512, |
| 6368 | .page_size = 256, |
| 6369 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6370 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6371 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6372 | .block_erasers = |
| 6373 | { |
| 6374 | { |
| 6375 | .eraseblocks = { {64 * 1024, 8} }, |
| 6376 | .block_erase = spi_block_erase_d8, |
| 6377 | }, { |
| 6378 | .eraseblocks = { {512 * 1024, 1} }, |
| 6379 | .block_erase = spi_block_erase_c7, |
| 6380 | } |
| 6381 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6382 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6383 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6384 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6385 | }, |
| 6386 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6387 | { |
| 6388 | .vendor = "ST", |
| 6389 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6390 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6391 | .manufacture_id = ST_ID, |
| 6392 | .model_id = ST_M25P80, |
| 6393 | .total_size = 1024, |
| 6394 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6395 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6396 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6397 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6398 | .block_erasers = |
| 6399 | { |
| 6400 | { |
| 6401 | .eraseblocks = { {64 * 1024, 16} }, |
| 6402 | .block_erase = spi_block_erase_d8, |
| 6403 | }, { |
| 6404 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6405 | .block_erase = spi_block_erase_c7, |
| 6406 | } |
| 6407 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6408 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6409 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6410 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6411 | }, |
| 6412 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6413 | { |
| 6414 | .vendor = "ST", |
| 6415 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6416 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6417 | .manufacture_id = ST_ID, |
| 6418 | .model_id = ST_M25P16, |
| 6419 | .total_size = 2048, |
| 6420 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6421 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6422 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6423 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6424 | .block_erasers = |
| 6425 | { |
| 6426 | { |
| 6427 | .eraseblocks = { {64 * 1024, 32} }, |
| 6428 | .block_erase = spi_block_erase_d8, |
| 6429 | }, { |
| 6430 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6431 | .block_erase = spi_block_erase_c7, |
| 6432 | } |
| 6433 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6434 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6435 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6436 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6437 | }, |
| 6438 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6439 | { |
| 6440 | .vendor = "ST", |
| 6441 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6442 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6443 | .manufacture_id = ST_ID, |
| 6444 | .model_id = ST_M25P32, |
| 6445 | .total_size = 4096, |
| 6446 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6447 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6448 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6449 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6450 | .block_erasers = |
| 6451 | { |
| 6452 | { |
| 6453 | .eraseblocks = { {64 * 1024, 64} }, |
| 6454 | .block_erase = spi_block_erase_d8, |
| 6455 | }, { |
| 6456 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6457 | .block_erase = spi_block_erase_c7, |
| 6458 | } |
| 6459 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6460 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6461 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6462 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6463 | }, |
| 6464 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6465 | { |
| 6466 | .vendor = "ST", |
| 6467 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6468 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6469 | .manufacture_id = ST_ID, |
| 6470 | .model_id = ST_M25P64, |
| 6471 | .total_size = 8192, |
| 6472 | .page_size = 256, |
| 6473 | .tested = TEST_UNTESTED, |
| 6474 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6475 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6476 | .block_erasers = |
| 6477 | { |
| 6478 | { |
| 6479 | .eraseblocks = { {64 * 1024, 128} }, |
| 6480 | .block_erase = spi_block_erase_d8, |
| 6481 | }, { |
| 6482 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6483 | .block_erase = spi_block_erase_c7, |
| 6484 | } |
| 6485 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6486 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6487 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6488 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6489 | }, |
| 6490 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6491 | { |
| 6492 | .vendor = "ST", |
| 6493 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6494 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6495 | .manufacture_id = ST_ID, |
| 6496 | .model_id = ST_M25P128, |
| 6497 | .total_size = 16384, |
| 6498 | .page_size = 256, |
| 6499 | .tested = TEST_UNTESTED, |
| 6500 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6501 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6502 | .block_erasers = |
| 6503 | { |
| 6504 | { |
| 6505 | .eraseblocks = { {256 * 1024, 64} }, |
| 6506 | .block_erase = spi_block_erase_d8, |
| 6507 | }, { |
| 6508 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6509 | .block_erase = spi_block_erase_c7, |
| 6510 | } |
| 6511 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6512 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6513 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6514 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6515 | }, |
| 6516 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6517 | { |
| 6518 | .vendor = "ST", |
Carl Worth | d1dd72c | 2011-03-06 18:45:40 +0000 | [diff] [blame] | 6519 | .name = "M25PX16", |
| 6520 | .bustype = CHIP_BUSTYPE_SPI, |
| 6521 | .manufacture_id = ST_ID, |
| 6522 | .model_id = ST_M25PX16, |
| 6523 | .total_size = 2048, |
| 6524 | .page_size = 256, |
| 6525 | .tested = TEST_OK_PREW, |
| 6526 | .probe = probe_spi_rdid, |
| 6527 | .probe_timing = TIMING_ZERO, |
| 6528 | .block_erasers = |
| 6529 | { |
| 6530 | { |
| 6531 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 6532 | .block_erase = spi_block_erase_20, |
| 6533 | }, { |
| 6534 | .eraseblocks = { {64 * 1024, 32} }, |
| 6535 | .block_erase = spi_block_erase_d8, |
| 6536 | }, { |
| 6537 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6538 | .block_erase = spi_block_erase_c7, |
| 6539 | } |
| 6540 | }, |
| 6541 | .unlock = spi_disable_blockprotect, |
| 6542 | .write = spi_chip_write_256, |
| 6543 | .read = spi_chip_read, |
| 6544 | }, |
| 6545 | |
| 6546 | { |
| 6547 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6548 | .name = "M25PX32", |
| 6549 | .bustype = CHIP_BUSTYPE_SPI, |
| 6550 | .manufacture_id = ST_ID, |
| 6551 | .model_id = ST_M25PX32, |
| 6552 | .total_size = 4096, |
| 6553 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6554 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6555 | .probe = probe_spi_rdid, |
| 6556 | .probe_timing = TIMING_ZERO, |
| 6557 | .block_erasers = |
| 6558 | { |
| 6559 | { |
| 6560 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 6561 | .block_erase = spi_block_erase_20, |
| 6562 | }, { |
| 6563 | .eraseblocks = { {64 * 1024, 64} }, |
| 6564 | .block_erase = spi_block_erase_d8, |
| 6565 | }, { |
| 6566 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6567 | .block_erase = spi_block_erase_c7, |
| 6568 | } |
| 6569 | }, |
| 6570 | .unlock = spi_disable_blockprotect, |
| 6571 | .write = spi_chip_write_256, |
| 6572 | .read = spi_chip_read, |
| 6573 | }, |
| 6574 | |
| 6575 | { |
| 6576 | .vendor = "ST", |
| 6577 | .name = "M25PX64", |
| 6578 | .bustype = CHIP_BUSTYPE_SPI, |
| 6579 | .manufacture_id = ST_ID, |
| 6580 | .model_id = ST_M25PX64, |
| 6581 | .total_size = 8192, |
| 6582 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6583 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6584 | .probe = probe_spi_rdid, |
| 6585 | .probe_timing = TIMING_ZERO, |
| 6586 | .block_erasers = |
| 6587 | { |
| 6588 | { |
| 6589 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 6590 | .block_erase = spi_block_erase_20, |
| 6591 | }, { |
| 6592 | .eraseblocks = { {64 * 1024, 128} }, |
| 6593 | .block_erase = spi_block_erase_d8, |
| 6594 | }, { |
| 6595 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6596 | .block_erase = spi_block_erase_c7, |
| 6597 | } |
| 6598 | }, |
| 6599 | .unlock = spi_disable_blockprotect, |
| 6600 | .write = spi_chip_write_256, |
| 6601 | .read = spi_chip_read, |
| 6602 | }, |
| 6603 | |
| 6604 | { |
| 6605 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6606 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6607 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6608 | .manufacture_id = ST_ID, |
| 6609 | .model_id = ST_M29F002B, |
| 6610 | .total_size = 256, |
| 6611 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6612 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6613 | .tested = TEST_UNTESTED, |
| 6614 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6615 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6616 | .block_erasers = |
| 6617 | { |
| 6618 | { |
| 6619 | .eraseblocks = { |
| 6620 | {16 * 1024, 1}, |
| 6621 | {8 * 1024, 2}, |
| 6622 | {32 * 1024, 1}, |
| 6623 | {64 * 1024, 3}, |
| 6624 | }, |
| 6625 | .block_erase = erase_sector_jedec, |
| 6626 | }, { |
| 6627 | .eraseblocks = { {256 * 1024, 1} }, |
| 6628 | .block_erase = erase_chip_block_jedec, |
| 6629 | } |
| 6630 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6631 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6632 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6633 | }, |
| 6634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6635 | { |
| 6636 | .vendor = "ST", |
| 6637 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6638 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6639 | .manufacture_id = ST_ID, |
| 6640 | .model_id = ST_M29F002T, |
| 6641 | .total_size = 256, |
| 6642 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6643 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 6644 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6645 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6646 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6647 | .block_erasers = |
| 6648 | { |
| 6649 | { |
| 6650 | .eraseblocks = { |
| 6651 | {64 * 1024, 3}, |
| 6652 | {32 * 1024, 1}, |
| 6653 | {8 * 1024, 2}, |
| 6654 | {16 * 1024, 1}, |
| 6655 | }, |
| 6656 | .block_erase = erase_sector_jedec, |
| 6657 | }, { |
| 6658 | .eraseblocks = { {256 * 1024, 1} }, |
| 6659 | .block_erase = erase_chip_block_jedec, |
| 6660 | } |
| 6661 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6662 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6663 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6664 | }, |
| 6665 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6666 | { |
| 6667 | .vendor = "ST", |
| 6668 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6669 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6670 | .manufacture_id = ST_ID, |
| 6671 | .model_id = ST_M29F040B, |
| 6672 | .total_size = 512, |
| 6673 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6674 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6675 | .tested = TEST_UNTESTED, |
| 6676 | .probe = probe_jedec, |
David Borg | 204f465 | 2010-12-04 03:26:40 +0000 | [diff] [blame] | 6677 | .probe_timing = TIMING_ZERO, /* datasheet specifies no timing */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6678 | .block_erasers = |
| 6679 | { |
| 6680 | { |
| 6681 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6682 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6683 | }, { |
| 6684 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6685 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6686 | } |
| 6687 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6688 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6689 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6690 | }, |
| 6691 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6692 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6693 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6694 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6695 | .name = "M29F400BB", |
| 6696 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6697 | .manufacture_id = ST_ID, |
| 6698 | .model_id = ST_M29F400BB, |
| 6699 | .total_size = 512, |
| 6700 | .page_size = 64 * 1024, |
| 6701 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6702 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6703 | .probe = probe_m29f400bt, |
| 6704 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 6705 | .block_erasers = |
| 6706 | { |
| 6707 | { |
| 6708 | .eraseblocks = { |
| 6709 | {16 * 1024, 1}, |
| 6710 | {8 * 1024, 2}, |
| 6711 | {32 * 1024, 1}, |
| 6712 | {64 * 1024, 7}, |
| 6713 | }, |
| 6714 | .block_erase = block_erase_m29f400bt, |
| 6715 | }, { |
| 6716 | .eraseblocks = { {512 * 1024, 1} }, |
| 6717 | .block_erase = block_erase_chip_m29f400bt, |
| 6718 | } |
| 6719 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6720 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6721 | .read = read_memmapped, |
| 6722 | }, |
| 6723 | { |
| 6724 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 6725 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6726 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6727 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6728 | .manufacture_id = ST_ID, |
| 6729 | .model_id = ST_M29F400BT, |
| 6730 | .total_size = 512, |
| 6731 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6732 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6733 | .tested = TEST_UNTESTED, |
| 6734 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6735 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6736 | .block_erasers = |
| 6737 | { |
| 6738 | { |
| 6739 | .eraseblocks = { |
| 6740 | {64 * 1024, 7}, |
| 6741 | {32 * 1024, 1}, |
| 6742 | {8 * 1024, 2}, |
| 6743 | {16 * 1024, 1}, |
| 6744 | }, |
| 6745 | .block_erase = block_erase_m29f400bt, |
| 6746 | }, { |
| 6747 | .eraseblocks = { {512 * 1024, 1} }, |
| 6748 | .block_erase = block_erase_chip_m29f400bt, |
| 6749 | } |
| 6750 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6751 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6752 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6753 | }, |
| 6754 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6755 | { |
| 6756 | .vendor = "ST", |
| 6757 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6758 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6759 | .manufacture_id = ST_ID, |
| 6760 | .model_id = ST_M29W010B, |
| 6761 | .total_size = 128, |
| 6762 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6763 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6764 | .tested = TEST_UNTESTED, |
| 6765 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6766 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6767 | .block_erasers = |
| 6768 | { |
| 6769 | { |
| 6770 | .eraseblocks = { {16 * 1024, 8}, }, |
| 6771 | .block_erase = erase_sector_jedec, |
| 6772 | }, { |
| 6773 | .eraseblocks = { {128 * 1024, 1} }, |
| 6774 | .block_erase = erase_chip_block_jedec, |
| 6775 | } |
| 6776 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6777 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6778 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6779 | }, |
| 6780 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6781 | { |
| 6782 | .vendor = "ST", |
| 6783 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6784 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6785 | .manufacture_id = ST_ID, |
| 6786 | .model_id = ST_M29W040B, |
| 6787 | .total_size = 512, |
| 6788 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6789 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6790 | .tested = TEST_UNTESTED, |
| 6791 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6792 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6793 | .block_erasers = |
| 6794 | { |
| 6795 | { |
| 6796 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6797 | .block_erase = erase_sector_jedec, |
| 6798 | }, { |
| 6799 | .eraseblocks = { {512 * 1024, 1} }, |
| 6800 | .block_erase = erase_chip_block_jedec, |
| 6801 | } |
| 6802 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6803 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6804 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6805 | }, |
| 6806 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6807 | { |
| 6808 | .vendor = "ST", |
| 6809 | .name = "M29W512B", |
| 6810 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6811 | .manufacture_id = ST_ID, |
| 6812 | .model_id = ST_M29W512B, |
| 6813 | .total_size = 64, |
| 6814 | .page_size = 64 * 1024, |
| 6815 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6816 | .tested = TEST_OK_PRE, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6817 | .probe = probe_jedec, |
| 6818 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6819 | .block_erasers = |
| 6820 | { |
| 6821 | { |
| 6822 | .eraseblocks = { {64 * 1024, 1} }, |
| 6823 | .block_erase = erase_chip_block_jedec, |
| 6824 | } |
| 6825 | }, |
| 6826 | .write = write_jedec_1, |
| 6827 | .read = read_memmapped, |
| 6828 | }, |
| 6829 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6830 | { |
| 6831 | .vendor = "ST", |
| 6832 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6833 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6834 | .manufacture_id = ST_ID, |
| 6835 | .model_id = ST_M50FLW040A, |
| 6836 | .total_size = 512, |
| 6837 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6838 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6839 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6840 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6841 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6842 | .block_erasers = |
| 6843 | { |
| 6844 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6845 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6846 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6847 | {64 * 1024, 5}, /* block */ |
| 6848 | {4 * 1024, 16}, /* sector */ |
| 6849 | {4 * 1024, 16}, /* sector */ |
| 6850 | }, |
| 6851 | .block_erase = NULL, |
| 6852 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6853 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6854 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6855 | } |
| 6856 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6857 | .unlock = unlock_stm50flw0x0x, |
| 6858 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6859 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6860 | }, |
| 6861 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6862 | { |
| 6863 | .vendor = "ST", |
| 6864 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6865 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6866 | .manufacture_id = ST_ID, |
| 6867 | .model_id = ST_M50FLW040B, |
| 6868 | .total_size = 512, |
| 6869 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6870 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6871 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6872 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6873 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6874 | .block_erasers = |
| 6875 | { |
| 6876 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6877 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6878 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6879 | {4 * 1024, 16}, /* sector */ |
| 6880 | {64 * 1024, 5}, /* block */ |
| 6881 | {4 * 1024, 16}, /* sector */ |
| 6882 | }, |
| 6883 | .block_erase = NULL, |
| 6884 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6885 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6886 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6887 | } |
| 6888 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6889 | .unlock = unlock_stm50flw0x0x, |
| 6890 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6891 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6892 | }, |
| 6893 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6894 | { |
| 6895 | .vendor = "ST", |
| 6896 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6897 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6898 | .manufacture_id = ST_ID, |
| 6899 | .model_id = ST_M50FLW080A, |
| 6900 | .total_size = 1024, |
| 6901 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6902 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6903 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6904 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6905 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6906 | .block_erasers = |
| 6907 | { |
| 6908 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6909 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6910 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6911 | {64 * 1024, 13}, /* block */ |
| 6912 | {4 * 1024, 16}, /* sector */ |
| 6913 | {4 * 1024, 16}, /* sector */ |
| 6914 | }, |
| 6915 | .block_erase = NULL, |
| 6916 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6917 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6918 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6919 | } |
| 6920 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6921 | .unlock = unlock_stm50flw0x0x, |
| 6922 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6923 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6924 | }, |
| 6925 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6926 | { |
| 6927 | .vendor = "ST", |
| 6928 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6929 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6930 | .manufacture_id = ST_ID, |
| 6931 | .model_id = ST_M50FLW080B, |
| 6932 | .total_size = 1024, |
| 6933 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6934 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6935 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6936 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6937 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6938 | .block_erasers = |
| 6939 | { |
| 6940 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6941 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6942 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6943 | {4 * 1024, 16}, /* sector */ |
| 6944 | {64 * 1024, 13}, /* block */ |
| 6945 | {4 * 1024, 16}, /* sector */ |
| 6946 | }, |
| 6947 | .block_erase = NULL, |
| 6948 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6949 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6950 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6951 | } |
| 6952 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6953 | .unlock = unlock_stm50flw0x0x, |
| 6954 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6955 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6956 | }, |
| 6957 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6958 | { |
| 6959 | .vendor = "ST", |
| 6960 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6961 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6962 | .manufacture_id = ST_ID, |
| 6963 | .model_id = ST_M50FW002, |
| 6964 | .total_size = 256, |
| 6965 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6966 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6967 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6968 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6969 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6970 | .block_erasers = |
| 6971 | { |
| 6972 | { |
| 6973 | .eraseblocks = { |
| 6974 | {64 * 1024, 3}, |
| 6975 | {32 * 1024, 1}, |
| 6976 | {8 * 1024, 2}, |
| 6977 | {16 * 1024, 1}, |
| 6978 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6979 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6980 | } |
| 6981 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6982 | .unlock = unlock_stm50flw0x0x, |
| 6983 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6984 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6985 | }, |
| 6986 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6987 | { |
| 6988 | .vendor = "ST", |
| 6989 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6990 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6991 | .manufacture_id = ST_ID, |
| 6992 | .model_id = ST_M50FW016, |
| 6993 | .total_size = 2048, |
| 6994 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6995 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6996 | .tested = TEST_UNTESTED, |
| 6997 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6998 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6999 | .block_erasers = |
| 7000 | { |
| 7001 | { |
| 7002 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7003 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7004 | } |
| 7005 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7006 | .unlock = unlock_stm50flw0x0x, |
| 7007 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7008 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7009 | }, |
| 7010 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7011 | { |
| 7012 | .vendor = "ST", |
| 7013 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7014 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7015 | .manufacture_id = ST_ID, |
| 7016 | .model_id = ST_M50FW040, |
| 7017 | .total_size = 512, |
| 7018 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7019 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7020 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7021 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7022 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7023 | .block_erasers = |
| 7024 | { |
| 7025 | { |
| 7026 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7027 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7028 | } |
| 7029 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7030 | .unlock = unlock_stm50flw0x0x, |
| 7031 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7032 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7033 | }, |
| 7034 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7035 | { |
| 7036 | .vendor = "ST", |
| 7037 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7038 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7039 | .manufacture_id = ST_ID, |
| 7040 | .model_id = ST_M50FW080, |
| 7041 | .total_size = 1024, |
| 7042 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7043 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7044 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7045 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7046 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7047 | .block_erasers = |
| 7048 | { |
| 7049 | { |
| 7050 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7051 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7052 | } |
| 7053 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7054 | .unlock = unlock_stm50flw0x0x, |
| 7055 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7056 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7057 | }, |
| 7058 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7059 | { |
| 7060 | .vendor = "ST", |
| 7061 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7062 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7063 | .manufacture_id = ST_ID, |
| 7064 | .model_id = ST_M50LPW116, |
| 7065 | .total_size = 2048, |
| 7066 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 7067 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7068 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7069 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7070 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7071 | .block_erasers = |
| 7072 | { |
| 7073 | { |
| 7074 | .eraseblocks = { |
| 7075 | {4 * 1024, 16}, |
| 7076 | {64 * 1024, 30}, |
| 7077 | {32 * 1024, 1}, |
| 7078 | {8 * 1024, 2}, |
| 7079 | {16 * 1024, 1}, |
| 7080 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7081 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7082 | } |
| 7083 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 7084 | .unlock = unlock_stm50flw0x0x, |
| 7085 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7086 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7087 | }, |
| 7088 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7089 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7090 | .vendor = "SyncMOS/MoselVitelic", |
| 7091 | .name = "{F,S,V}29C51001B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7092 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7093 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7094 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7095 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7096 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7097 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7098 | .tested = TEST_UNTESTED, |
| 7099 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7100 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7101 | .block_erasers = |
| 7102 | { |
| 7103 | { |
| 7104 | .eraseblocks = { {512, 256} }, |
| 7105 | .block_erase = erase_sector_jedec, |
| 7106 | }, { |
| 7107 | .eraseblocks = { {128 * 1024, 1} }, |
| 7108 | .block_erase = erase_chip_block_jedec, |
| 7109 | }, |
| 7110 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7111 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7112 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7113 | }, |
| 7114 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7115 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7116 | .vendor = "SyncMOS/MoselVitelic", |
| 7117 | .name = "{F,S,V}29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7118 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7119 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7120 | .model_id = SM_MVC_29C51001T, |
| 7121 | .total_size = 128, |
| 7122 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7123 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7124 | .tested = TEST_UNTESTED, |
| 7125 | .probe = probe_jedec, |
| 7126 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7127 | .block_erasers = |
| 7128 | { |
| 7129 | { |
| 7130 | .eraseblocks = { {512, 256} }, |
| 7131 | .block_erase = erase_sector_jedec, |
| 7132 | }, { |
| 7133 | .eraseblocks = { {128 * 1024, 1} }, |
| 7134 | .block_erase = erase_chip_block_jedec, |
| 7135 | }, |
| 7136 | }, |
| 7137 | .write = write_jedec_1, |
| 7138 | .read = read_memmapped, |
| 7139 | }, |
| 7140 | |
| 7141 | { |
| 7142 | .vendor = "SyncMOS/MoselVitelic", |
| 7143 | .name = "{F,S,V}29C51002B", |
| 7144 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7145 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7146 | .model_id = SM_MVC_29C51002B, |
| 7147 | .total_size = 256, |
| 7148 | .page_size = 512, |
| 7149 | .feature_bits = FEATURE_EITHER_RESET, |
| 7150 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7151 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7152 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7153 | .block_erasers = |
| 7154 | { |
| 7155 | { |
| 7156 | .eraseblocks = { {512, 512} }, |
| 7157 | .block_erase = erase_sector_jedec, |
| 7158 | }, { |
| 7159 | .eraseblocks = { {256 * 1024, 1} }, |
| 7160 | .block_erase = erase_chip_block_jedec, |
| 7161 | }, |
| 7162 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7163 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7164 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7165 | }, |
| 7166 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7167 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7168 | .vendor = "SyncMOS/MoselVitelic", |
| 7169 | .name = "{F,S,V}29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7170 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7171 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7172 | .model_id = SM_MVC_29C51002T, |
| 7173 | .total_size = 256, |
| 7174 | .page_size = 512, |
| 7175 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7176 | .tested = TEST_OK_PRE, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7177 | .probe = probe_jedec, |
| 7178 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7179 | .block_erasers = |
| 7180 | { |
| 7181 | { |
| 7182 | .eraseblocks = { {512, 512} }, |
| 7183 | .block_erase = erase_sector_jedec, |
| 7184 | }, { |
| 7185 | .eraseblocks = { {256 * 1024, 1} }, |
| 7186 | .block_erase = erase_chip_block_jedec, |
| 7187 | }, |
| 7188 | }, |
| 7189 | .write = write_jedec_1, |
| 7190 | .read = read_memmapped, |
| 7191 | }, |
| 7192 | |
| 7193 | { |
| 7194 | .vendor = "SyncMOS/MoselVitelic", |
| 7195 | .name = "{F,S,V}29C51004B", |
| 7196 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7197 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7198 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7199 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7200 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7201 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7202 | .tested = TEST_UNTESTED, |
| 7203 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7204 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7205 | .block_erasers = |
| 7206 | { |
| 7207 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 7208 | .eraseblocks = { {1024, 512} }, |
| 7209 | .block_erase = erase_sector_jedec, |
| 7210 | }, { |
| 7211 | .eraseblocks = { {512 * 1024, 1} }, |
| 7212 | .block_erase = erase_chip_block_jedec, |
| 7213 | }, |
| 7214 | }, |
| 7215 | .write = write_jedec_1, |
| 7216 | .read = read_memmapped, |
| 7217 | }, |
| 7218 | |
| 7219 | { |
| 7220 | .vendor = "SyncMOS/MoselVitelic", |
| 7221 | .name = "{F,S,V}29C51004T", |
| 7222 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7223 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7224 | .model_id = SM_MVC_29C51004T, |
| 7225 | .total_size = 512, |
| 7226 | .page_size = 1024, |
| 7227 | .feature_bits = FEATURE_EITHER_RESET, |
| 7228 | .tested = TEST_UNTESTED, |
| 7229 | .probe = probe_jedec, |
| 7230 | .probe_timing = TIMING_ZERO, |
| 7231 | .block_erasers = |
| 7232 | { |
| 7233 | { |
| 7234 | .eraseblocks = { {1024, 512} }, |
| 7235 | .block_erase = erase_sector_jedec, |
| 7236 | }, { |
| 7237 | .eraseblocks = { {512 * 1024, 1} }, |
| 7238 | .block_erase = erase_chip_block_jedec, |
| 7239 | }, |
| 7240 | }, |
| 7241 | .write = write_jedec_1, |
| 7242 | .read = read_memmapped, |
| 7243 | }, |
| 7244 | |
| 7245 | { |
| 7246 | .vendor = "SyncMOS/MoselVitelic", |
| 7247 | .name = "{S,V}29C31004B", |
| 7248 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7249 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7250 | .model_id = SM_MVC_29C31004B, |
| 7251 | .total_size = 512, |
| 7252 | .page_size = 1024, |
| 7253 | .feature_bits = FEATURE_EITHER_RESET, |
| 7254 | .tested = TEST_UNTESTED, |
| 7255 | .probe = probe_jedec, |
| 7256 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7257 | .block_erasers = |
| 7258 | { |
| 7259 | { |
| 7260 | .eraseblocks = { {1024, 512} }, |
| 7261 | .block_erase = erase_sector_jedec, |
| 7262 | }, { |
| 7263 | .eraseblocks = { {512 * 1024, 1} }, |
| 7264 | .block_erase = erase_chip_block_jedec, |
| 7265 | }, |
| 7266 | }, |
| 7267 | .write = write_jedec_1, |
| 7268 | .read = read_memmapped, |
| 7269 | }, |
| 7270 | |
| 7271 | { |
| 7272 | .vendor = "SyncMOS/MoselVitelic", |
| 7273 | .name = "{S,V}29C31004T", |
| 7274 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7275 | .manufacture_id = SYNCMOS_MVC_ID, |
| 7276 | .model_id = SM_MVC_29C31004T, |
| 7277 | .total_size = 512, |
| 7278 | .page_size = 1024, |
| 7279 | .feature_bits = FEATURE_EITHER_RESET, |
| 7280 | .tested = TEST_UNTESTED, |
| 7281 | .probe = probe_jedec, |
| 7282 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 7283 | .block_erasers = |
| 7284 | { |
| 7285 | { |
| 7286 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7287 | .block_erase = erase_sector_jedec, |
| 7288 | }, { |
| 7289 | .eraseblocks = { {512 * 1024, 1} }, |
| 7290 | .block_erase = erase_chip_block_jedec, |
| 7291 | }, |
| 7292 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7293 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7294 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7295 | }, |
| 7296 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7297 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7298 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7299 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7300 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7301 | .manufacture_id = TI_OLD_ID, |
| 7302 | .model_id = TI_TMS29F002RB, |
| 7303 | .total_size = 256, |
| 7304 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7305 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7306 | .tested = TEST_UNTESTED, |
| 7307 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7308 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7309 | .block_erasers = |
| 7310 | { |
| 7311 | { |
| 7312 | .eraseblocks = { |
| 7313 | {16 * 1024, 1}, |
| 7314 | {8 * 1024, 2}, |
| 7315 | {32 * 1024, 1}, |
| 7316 | {64 * 1024, 3}, |
| 7317 | }, |
| 7318 | .block_erase = erase_sector_jedec, |
| 7319 | }, { |
| 7320 | .eraseblocks = { {256 * 1024, 1} }, |
| 7321 | .block_erase = erase_chip_block_jedec, |
| 7322 | }, |
| 7323 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7324 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7325 | .read = read_memmapped, |
| 7326 | }, |
| 7327 | |
| 7328 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 7329 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7330 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7331 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7332 | .manufacture_id = TI_OLD_ID, |
| 7333 | .model_id = TI_TMS29F002RT, |
| 7334 | .total_size = 256, |
| 7335 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7336 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7337 | .tested = TEST_UNTESTED, |
| 7338 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7339 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 7340 | .block_erasers = |
| 7341 | { |
| 7342 | { |
| 7343 | .eraseblocks = { |
| 7344 | {64 * 1024, 3}, |
| 7345 | {32 * 1024, 1}, |
| 7346 | {8 * 1024, 2}, |
| 7347 | {16 * 1024, 1}, |
| 7348 | }, |
| 7349 | .block_erase = erase_sector_jedec, |
| 7350 | }, { |
| 7351 | .eraseblocks = { {256 * 1024, 1} }, |
| 7352 | .block_erase = erase_chip_block_jedec, |
| 7353 | }, |
| 7354 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7355 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7356 | .read = read_memmapped, |
| 7357 | }, |
| 7358 | |
| 7359 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7360 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7361 | .name = "W25Q80", |
| 7362 | .bustype = CHIP_BUSTYPE_SPI, |
| 7363 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7364 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7365 | .total_size = 1024, |
| 7366 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7367 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7368 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7369 | .probe = probe_spi_rdid, |
| 7370 | .probe_timing = TIMING_ZERO, |
| 7371 | .block_erasers = |
| 7372 | { |
| 7373 | { |
| 7374 | .eraseblocks = { {4 * 1024, 256} }, |
| 7375 | .block_erase = spi_block_erase_20, |
| 7376 | }, { |
| 7377 | .eraseblocks = { {32 * 1024, 32} }, |
| 7378 | .block_erase = spi_block_erase_52, |
| 7379 | }, { |
| 7380 | .eraseblocks = { {64 * 1024, 16} }, |
| 7381 | .block_erase = spi_block_erase_d8, |
| 7382 | }, { |
| 7383 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7384 | .block_erase = spi_block_erase_60, |
| 7385 | }, { |
| 7386 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7387 | .block_erase = spi_block_erase_c7, |
| 7388 | } |
| 7389 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7390 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7391 | .write = spi_chip_write_256, |
| 7392 | .read = spi_chip_read, |
| 7393 | }, |
| 7394 | |
| 7395 | { |
| 7396 | .vendor = "Winbond", |
| 7397 | .name = "W25Q16", |
| 7398 | .bustype = CHIP_BUSTYPE_SPI, |
| 7399 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7400 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7401 | .total_size = 2048, |
| 7402 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7403 | .feature_bits = FEATURE_WRSR_WREN, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7404 | .tested = TEST_UNTESTED, |
| 7405 | .probe = probe_spi_rdid, |
| 7406 | .probe_timing = TIMING_ZERO, |
| 7407 | .block_erasers = |
| 7408 | { |
| 7409 | { |
| 7410 | .eraseblocks = { {4 * 1024, 512} }, |
| 7411 | .block_erase = spi_block_erase_20, |
| 7412 | }, { |
| 7413 | .eraseblocks = { {32 * 1024, 64} }, |
| 7414 | .block_erase = spi_block_erase_52, |
| 7415 | }, { |
| 7416 | .eraseblocks = { {64 * 1024, 32} }, |
| 7417 | .block_erase = spi_block_erase_d8, |
| 7418 | }, { |
| 7419 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7420 | .block_erase = spi_block_erase_60, |
| 7421 | }, { |
| 7422 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7423 | .block_erase = spi_block_erase_c7, |
| 7424 | } |
| 7425 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7426 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7427 | .write = spi_chip_write_256, |
| 7428 | .read = spi_chip_read, |
| 7429 | }, |
| 7430 | |
| 7431 | { |
| 7432 | .vendor = "Winbond", |
| 7433 | .name = "W25Q32", |
| 7434 | .bustype = CHIP_BUSTYPE_SPI, |
| 7435 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7436 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7437 | .total_size = 4096, |
| 7438 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7439 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7440 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7441 | .probe = probe_spi_rdid, |
| 7442 | .probe_timing = TIMING_ZERO, |
| 7443 | .block_erasers = |
| 7444 | { |
| 7445 | { |
| 7446 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7447 | .block_erase = spi_block_erase_20, |
| 7448 | }, { |
| 7449 | .eraseblocks = { {32 * 1024, 128} }, |
| 7450 | .block_erase = spi_block_erase_52, |
| 7451 | }, { |
| 7452 | .eraseblocks = { {64 * 1024, 64} }, |
| 7453 | .block_erase = spi_block_erase_d8, |
| 7454 | }, { |
| 7455 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7456 | .block_erase = spi_block_erase_60, |
| 7457 | }, { |
| 7458 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7459 | .block_erase = spi_block_erase_c7, |
| 7460 | } |
| 7461 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7462 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7463 | .write = spi_chip_write_256, |
| 7464 | .read = spi_chip_read, |
| 7465 | }, |
| 7466 | |
| 7467 | { |
| 7468 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7469 | .name = "W25Q64", |
| 7470 | .bustype = CHIP_BUSTYPE_SPI, |
| 7471 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7472 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7473 | .total_size = 8192, |
| 7474 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7475 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | 22e0532 | 2010-12-13 23:54:59 +0000 | [diff] [blame] | 7476 | .tested = TEST_OK_PREW, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7477 | .probe = probe_spi_rdid, |
| 7478 | .probe_timing = TIMING_ZERO, |
| 7479 | .block_erasers = |
| 7480 | { |
| 7481 | { |
| 7482 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7483 | .block_erase = spi_block_erase_20, |
| 7484 | }, { |
| 7485 | .eraseblocks = { {32 * 1024, 256} }, |
| 7486 | .block_erase = spi_block_erase_52, |
| 7487 | }, { |
| 7488 | .eraseblocks = { {64 * 1024, 128} }, |
| 7489 | .block_erase = spi_block_erase_d8, |
| 7490 | }, { |
| 7491 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7492 | .block_erase = spi_block_erase_60, |
| 7493 | }, { |
| 7494 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7495 | .block_erase = spi_block_erase_c7, |
| 7496 | } |
| 7497 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7498 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7499 | .write = spi_chip_write_256, |
| 7500 | .read = spi_chip_read, |
| 7501 | }, |
| 7502 | |
| 7503 | { |
| 7504 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7505 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7506 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7507 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7508 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7509 | .total_size = 128, |
| 7510 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7511 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7512 | .tested = TEST_UNTESTED, |
| 7513 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7514 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7515 | .block_erasers = |
| 7516 | { |
| 7517 | { |
| 7518 | .eraseblocks = { {4 * 1024, 32} }, |
| 7519 | .block_erase = spi_block_erase_20, |
| 7520 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7521 | .eraseblocks = { {64 * 1024, 2} }, |
| 7522 | .block_erase = spi_block_erase_d8, |
| 7523 | }, { |
| 7524 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7525 | .block_erase = spi_block_erase_c7, |
| 7526 | } |
| 7527 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7528 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7529 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7530 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7531 | }, |
| 7532 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7533 | { |
| 7534 | .vendor = "Winbond", |
| 7535 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7536 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7537 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7538 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7539 | .total_size = 256, |
| 7540 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7541 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7542 | .tested = TEST_UNTESTED, |
| 7543 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7544 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7545 | .block_erasers = |
| 7546 | { |
| 7547 | { |
| 7548 | .eraseblocks = { {4 * 1024, 64} }, |
| 7549 | .block_erase = spi_block_erase_20, |
| 7550 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7551 | .eraseblocks = { {64 * 1024, 4} }, |
| 7552 | .block_erase = spi_block_erase_d8, |
| 7553 | }, { |
| 7554 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7555 | .block_erase = spi_block_erase_c7, |
| 7556 | } |
| 7557 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7558 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7559 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7560 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7561 | }, |
| 7562 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7563 | { |
| 7564 | .vendor = "Winbond", |
| 7565 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7566 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7567 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7568 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7569 | .total_size = 512, |
| 7570 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7571 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7572 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7573 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7574 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7575 | .block_erasers = |
| 7576 | { |
| 7577 | { |
| 7578 | .eraseblocks = { {4 * 1024, 128} }, |
| 7579 | .block_erase = spi_block_erase_20, |
| 7580 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7581 | .eraseblocks = { {64 * 1024, 8} }, |
| 7582 | .block_erase = spi_block_erase_d8, |
| 7583 | }, { |
| 7584 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7585 | .block_erase = spi_block_erase_c7, |
| 7586 | } |
| 7587 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7588 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7589 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7590 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7591 | }, |
| 7592 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7593 | { |
| 7594 | .vendor = "Winbond", |
| 7595 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7596 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7597 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7598 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7599 | .total_size = 1024, |
| 7600 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7601 | .feature_bits = FEATURE_WRSR_WREN, |
Yul Rottmann | 6d6ab74 | 2011-03-05 16:31:57 +0000 | [diff] [blame] | 7602 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7603 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7604 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7605 | .block_erasers = |
| 7606 | { |
| 7607 | { |
| 7608 | .eraseblocks = { {4 * 1024, 256} }, |
| 7609 | .block_erase = spi_block_erase_20, |
| 7610 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7611 | .eraseblocks = { {64 * 1024, 16} }, |
| 7612 | .block_erase = spi_block_erase_d8, |
| 7613 | }, { |
| 7614 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7615 | .block_erase = spi_block_erase_c7, |
| 7616 | } |
| 7617 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7618 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7619 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7620 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7621 | }, |
| 7622 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7623 | { |
| 7624 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7625 | .name = "W25x16", |
| 7626 | .bustype = CHIP_BUSTYPE_SPI, |
| 7627 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7628 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7629 | .total_size = 2048, |
| 7630 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7631 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7632 | .tested = TEST_OK_PRE, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7633 | .probe = probe_spi_rdid, |
| 7634 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7635 | .block_erasers = |
| 7636 | { |
| 7637 | { |
| 7638 | .eraseblocks = { {4 * 1024, 512} }, |
| 7639 | .block_erase = spi_block_erase_20, |
| 7640 | }, { |
| 7641 | .eraseblocks = { {32 * 1024, 64} }, |
| 7642 | .block_erase = spi_block_erase_52, |
| 7643 | }, { |
| 7644 | .eraseblocks = { {64 * 1024, 32} }, |
| 7645 | .block_erase = spi_block_erase_d8, |
| 7646 | }, { |
| 7647 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7648 | .block_erase = spi_block_erase_60, |
| 7649 | }, { |
| 7650 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7651 | .block_erase = spi_block_erase_c7, |
| 7652 | } |
| 7653 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7654 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7655 | .write = spi_chip_write_256, |
| 7656 | .read = spi_chip_read, |
| 7657 | }, |
| 7658 | |
| 7659 | { |
| 7660 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7661 | .name = "W25x32", |
| 7662 | .bustype = CHIP_BUSTYPE_SPI, |
| 7663 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7664 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7665 | .total_size = 4096, |
| 7666 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7667 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7668 | .tested = TEST_OK_PROBE, |
| 7669 | .probe = probe_spi_rdid, |
| 7670 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7671 | .block_erasers = |
| 7672 | { |
| 7673 | { |
| 7674 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7675 | .block_erase = spi_block_erase_20, |
| 7676 | }, { |
| 7677 | .eraseblocks = { {32 * 1024, 128} }, |
| 7678 | .block_erase = spi_block_erase_52, |
| 7679 | }, { |
| 7680 | .eraseblocks = { {64 * 1024, 64} }, |
| 7681 | .block_erase = spi_block_erase_d8, |
| 7682 | }, { |
| 7683 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7684 | .block_erase = spi_block_erase_60, |
| 7685 | }, { |
| 7686 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7687 | .block_erase = spi_block_erase_c7, |
| 7688 | } |
| 7689 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7690 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7691 | .write = spi_chip_write_256, |
| 7692 | .read = spi_chip_read, |
| 7693 | }, |
| 7694 | |
| 7695 | { |
| 7696 | .vendor = "Winbond", |
| 7697 | .name = "W25x64", |
| 7698 | .bustype = CHIP_BUSTYPE_SPI, |
| 7699 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7700 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7701 | .total_size = 8192, |
| 7702 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7703 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7704 | .tested = TEST_UNTESTED, |
| 7705 | .probe = probe_spi_rdid, |
| 7706 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7707 | .block_erasers = |
| 7708 | { |
| 7709 | { |
| 7710 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7711 | .block_erase = spi_block_erase_20, |
| 7712 | }, { |
| 7713 | .eraseblocks = { {32 * 1024, 256} }, |
| 7714 | .block_erase = spi_block_erase_52, |
| 7715 | }, { |
| 7716 | .eraseblocks = { {64 * 1024, 128} }, |
| 7717 | .block_erase = spi_block_erase_d8, |
| 7718 | }, { |
| 7719 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7720 | .block_erase = spi_block_erase_60, |
| 7721 | }, { |
| 7722 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7723 | .block_erase = spi_block_erase_c7, |
| 7724 | } |
| 7725 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7726 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7727 | .write = spi_chip_write_256, |
| 7728 | .read = spi_chip_read, |
| 7729 | }, |
| 7730 | |
| 7731 | { |
| 7732 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7733 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7734 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7735 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7736 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7737 | .total_size = 128, |
| 7738 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7739 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7740 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7741 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7742 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7743 | .block_erasers = |
| 7744 | { |
| 7745 | { |
| 7746 | .eraseblocks = { {128 * 1024, 1} }, |
| 7747 | .block_erase = erase_chip_block_jedec, |
| 7748 | } |
| 7749 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7750 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7751 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7752 | }, |
| 7753 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7754 | { |
| 7755 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7756 | .name = "W29C020(C)/W29C022", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7757 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7758 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7759 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7760 | .total_size = 256, |
| 7761 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7762 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7763 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7764 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7765 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7766 | .block_erasers = |
| 7767 | { |
| 7768 | { |
| 7769 | .eraseblocks = { {256 * 1024, 1} }, |
| 7770 | .block_erase = erase_chip_block_jedec, |
| 7771 | } |
| 7772 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7773 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7774 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7775 | }, |
| 7776 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7777 | { |
| 7778 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7779 | .name = "W29C040/P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7780 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7781 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7782 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7783 | .total_size = 512, |
| 7784 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7785 | .feature_bits = FEATURE_LONG_RESET, |
| 7786 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7787 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7788 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7789 | .block_erasers = |
| 7790 | { |
| 7791 | { |
| 7792 | .eraseblocks = { {512 * 1024, 1} }, |
| 7793 | .block_erase = erase_chip_block_jedec, |
| 7794 | } |
| 7795 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7796 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7797 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7798 | }, |
| 7799 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7800 | { |
| 7801 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7802 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7803 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7804 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7805 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7806 | .total_size = 128, |
| 7807 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7808 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7809 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7810 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7811 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7812 | .block_erasers = |
| 7813 | { |
| 7814 | { |
| 7815 | .eraseblocks = { {128 * 1024, 1} }, |
| 7816 | .block_erase = erase_chip_block_jedec, |
| 7817 | } |
| 7818 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7819 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7820 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7821 | }, |
| 7822 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7823 | { |
| 7824 | .vendor = "Winbond", |
Michael Karcher | 19e0aac | 2011-03-06 17:58:05 +0000 | [diff] [blame] | 7825 | .name = "W39L040", |
| 7826 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7827 | .manufacture_id = WINBOND_ID, |
| 7828 | .model_id = WINBOND_W39L040, |
| 7829 | .total_size = 512, |
| 7830 | .page_size = 64 * 1024, |
| 7831 | .feature_bits = FEATURE_EITHER_RESET, |
| 7832 | .tested = TEST_OK_PR, |
| 7833 | .probe = probe_jedec, |
| 7834 | .probe_timing = 10, |
| 7835 | .block_erasers = |
| 7836 | { |
| 7837 | { |
| 7838 | .eraseblocks = { {4 * 1024, 128} }, |
| 7839 | .block_erase = erase_block_jedec, |
| 7840 | }, { |
| 7841 | .eraseblocks = { {64 * 1024, 8} }, |
| 7842 | .block_erase = erase_sector_jedec, |
| 7843 | }, { |
| 7844 | .eraseblocks = { {512 * 1024, 1} }, |
| 7845 | .block_erase = erase_chip_block_jedec, |
| 7846 | } |
| 7847 | }, |
| 7848 | .printlock = printlock_w39l040, |
| 7849 | .write = write_jedec_1, |
| 7850 | .read = read_memmapped, |
| 7851 | }, |
| 7852 | |
| 7853 | { |
| 7854 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7855 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7856 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7857 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7858 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7859 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7860 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7861 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7862 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7863 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7864 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7865 | .block_erasers = |
| 7866 | { |
| 7867 | { |
| 7868 | .eraseblocks = { {64 * 1024, 8} }, |
| 7869 | .block_erase = erase_sector_jedec, |
| 7870 | }, { |
| 7871 | .eraseblocks = { {512 * 1024, 1} }, |
| 7872 | .block_erase = erase_chip_block_jedec, |
| 7873 | } |
| 7874 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7875 | .printlock = printlock_w39v040a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7876 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7877 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7878 | }, |
| 7879 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7880 | { |
| 7881 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7882 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7883 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7884 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7885 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7886 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7887 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7888 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7889 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7890 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7891 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7892 | .block_erasers = |
| 7893 | { |
| 7894 | { |
| 7895 | .eraseblocks = { {64 * 1024, 8} }, |
| 7896 | .block_erase = erase_sector_jedec, |
| 7897 | }, { |
| 7898 | .eraseblocks = { {512 * 1024, 1} }, |
| 7899 | .block_erase = erase_chip_block_jedec, |
| 7900 | } |
| 7901 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7902 | .printlock = printlock_w39v040b, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7903 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7904 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7905 | }, |
| 7906 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7907 | { |
| 7908 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7909 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7910 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7911 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7912 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7913 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7914 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7915 | .feature_bits = FEATURE_EITHER_RESET, |
| 7916 | .tested = TEST_UNTESTED, |
| 7917 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7918 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7919 | .block_erasers = |
| 7920 | { |
| 7921 | { |
| 7922 | .eraseblocks = { {64 * 1024, 8} }, |
| 7923 | .block_erase = erase_sector_jedec, |
| 7924 | }, { |
| 7925 | .eraseblocks = { {512 * 1024, 1} }, |
| 7926 | .block_erase = erase_chip_block_jedec, |
| 7927 | } |
| 7928 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7929 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7930 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7931 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7932 | }, |
| 7933 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7934 | { |
| 7935 | .vendor = "Winbond", |
| 7936 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7937 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7938 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7939 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7940 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7941 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7942 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7943 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7944 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7945 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7946 | .block_erasers = |
| 7947 | { |
| 7948 | { |
| 7949 | .eraseblocks = { {4 * 1024, 128} }, |
| 7950 | .block_erase = erase_block_jedec, |
| 7951 | }, { |
| 7952 | .eraseblocks = { {64 * 1024, 8} }, |
| 7953 | .block_erase = erase_sector_jedec, |
| 7954 | }, { |
| 7955 | .eraseblocks = { {512 * 1024, 1} }, |
| 7956 | .block_erase = erase_chip_block_jedec, |
| 7957 | } |
| 7958 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7959 | .printlock = printlock_w39v040fa, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7960 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7961 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7962 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7963 | }, |
| 7964 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7965 | { |
| 7966 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7967 | .name = "W39V040FB", |
| 7968 | .bustype = CHIP_BUSTYPE_FWH, |
| 7969 | .manufacture_id = WINBOND_ID, |
| 7970 | .model_id = WINBOND_W39V040B, |
| 7971 | .total_size = 512, |
| 7972 | .page_size = 64 * 1024, |
| 7973 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Idwer Vollering | 67f2814 | 2011-03-06 22:26:23 +0000 | [diff] [blame] | 7974 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7975 | .probe = probe_jedec, |
| 7976 | .probe_timing = 10, |
| 7977 | .block_erasers = |
| 7978 | { |
| 7979 | { |
| 7980 | .eraseblocks = { {64 * 1024, 8} }, |
| 7981 | .block_erase = erase_sector_jedec, |
| 7982 | }, { |
| 7983 | .eraseblocks = { {512 * 1024, 1} }, |
| 7984 | .block_erase = erase_chip_block_jedec, |
| 7985 | } |
| 7986 | }, |
| 7987 | .printlock = printlock_w39v040fb, |
Idwer Vollering | ecc6707 | 2010-12-26 23:55:12 +0000 | [diff] [blame] | 7988 | .unlock = unlock_w39v040fb, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 7989 | .write = write_jedec_1, |
| 7990 | .read = read_memmapped, |
| 7991 | }, |
| 7992 | |
| 7993 | { |
| 7994 | .vendor = "Winbond", |
| 7995 | .name = "W39V040FC", |
| 7996 | .bustype = CHIP_BUSTYPE_FWH, |
| 7997 | .manufacture_id = WINBOND_ID, |
| 7998 | .model_id = WINBOND_W39V040C, |
| 7999 | .total_size = 512, |
| 8000 | .page_size = 64 * 1024, |
| 8001 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 8002 | .tested = TEST_UNTESTED, |
| 8003 | .probe = probe_jedec, |
| 8004 | .probe_timing = 10, |
| 8005 | .block_erasers = |
| 8006 | { |
| 8007 | { |
| 8008 | .eraseblocks = { {64 * 1024, 8} }, |
| 8009 | .block_erase = erase_sector_jedec, |
| 8010 | }, { |
| 8011 | .eraseblocks = { {512 * 1024, 1} }, |
| 8012 | .block_erase = erase_chip_block_jedec, |
| 8013 | } |
| 8014 | }, |
| 8015 | .printlock = printlock_w39v040fc, |
| 8016 | .write = write_jedec_1, |
| 8017 | .read = read_memmapped, |
| 8018 | }, |
| 8019 | |
| 8020 | { |
| 8021 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8022 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8023 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8024 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8025 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8026 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8027 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8028 | .feature_bits = FEATURE_EITHER_RESET, |
| 8029 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8030 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8031 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8032 | .block_erasers = |
| 8033 | { |
| 8034 | { |
| 8035 | .eraseblocks = { {64 * 1024, 16} }, |
| 8036 | .block_erase = erase_sector_jedec, |
| 8037 | }, { |
| 8038 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8039 | .block_erase = erase_chip_block_jedec, |
| 8040 | } |
| 8041 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8042 | .printlock = printlock_w39v080a, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8043 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8044 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8045 | }, |
| 8046 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8047 | { |
| 8048 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8049 | .name = "W49F002U/N", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 8050 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8051 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8052 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8053 | .total_size = 256, |
| 8054 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8055 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8056 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8057 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8058 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8059 | .block_erasers = |
| 8060 | { |
| 8061 | { |
| 8062 | .eraseblocks = { |
| 8063 | {128 * 1024, 1}, |
| 8064 | {96 * 1024, 1}, |
| 8065 | {8 * 1024, 2}, |
| 8066 | {16 * 1024, 1}, |
| 8067 | }, |
| 8068 | .block_erase = erase_sector_jedec, |
| 8069 | }, { |
| 8070 | .eraseblocks = { {256 * 1024, 1} }, |
| 8071 | .block_erase = erase_chip_block_jedec, |
| 8072 | } |
| 8073 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8074 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8075 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8076 | }, |
| 8077 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8078 | { |
| 8079 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8080 | .name = "W49F020", |
| 8081 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 8082 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8083 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 8084 | .total_size = 256, |
| 8085 | .page_size = 128, |
| 8086 | .feature_bits = FEATURE_EITHER_RESET, |
| 8087 | .tested = TEST_OK_PROBE, |
| 8088 | .probe = probe_jedec, |
| 8089 | .probe_timing = 10, |
| 8090 | .block_erasers = |
| 8091 | { |
| 8092 | { |
| 8093 | .eraseblocks = { {256 * 1024, 1} }, |
| 8094 | .block_erase = erase_chip_block_jedec, |
| 8095 | } |
| 8096 | }, |
| 8097 | .write = write_jedec_1, |
| 8098 | .read = read_memmapped, |
| 8099 | }, |
| 8100 | |
| 8101 | { |
| 8102 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8103 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8104 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8105 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8106 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8107 | .total_size = 256, |
| 8108 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8109 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8110 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8111 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8112 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8113 | .block_erasers = |
| 8114 | { |
| 8115 | { |
| 8116 | .eraseblocks = { |
| 8117 | {64 * 1024, 3}, |
| 8118 | {32 * 1024, 1}, |
| 8119 | {8 * 1024, 2}, |
| 8120 | {16 * 1024, 1}, |
| 8121 | }, |
| 8122 | .block_erase = erase_sector_jedec, |
| 8123 | }, { |
| 8124 | .eraseblocks = { {256 * 1024, 1} }, |
| 8125 | .block_erase = erase_chip_block_jedec, |
| 8126 | } |
| 8127 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8128 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8129 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8130 | }, |
| 8131 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8132 | { |
| 8133 | .vendor = "Winbond", |
| 8134 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8135 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8136 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8137 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8138 | .total_size = 256, |
| 8139 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8140 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8141 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8142 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 8143 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8144 | .block_erasers = |
| 8145 | { |
| 8146 | { |
| 8147 | .eraseblocks = { |
| 8148 | {64 * 1024, 3}, |
| 8149 | {32 * 1024, 1}, |
| 8150 | {8 * 1024, 2}, |
| 8151 | {16 * 1024, 1}, |
| 8152 | }, |
| 8153 | .block_erase = erase_sector_jedec, |
| 8154 | }, { |
| 8155 | .eraseblocks = { {256 * 1024, 1} }, |
| 8156 | .block_erase = erase_chip_block_jedec, |
| 8157 | } |
| 8158 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8159 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8160 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8161 | }, |
| 8162 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8163 | { |
| 8164 | .vendor = "Winbond", |
| 8165 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8166 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8167 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8168 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8169 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8170 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8171 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 8172 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8173 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8174 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8175 | .block_erasers = |
| 8176 | { |
| 8177 | { |
| 8178 | .eraseblocks = { {64 * 1024, 16}, }, |
| 8179 | .block_erase = erase_sector_jedec, |
| 8180 | }, { |
| 8181 | .eraseblocks = { {1024 * 1024, 1} }, |
| 8182 | .block_erase = erase_chip_block_jedec, |
| 8183 | } |
| 8184 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8185 | .printlock = printlock_w39v080fa, |
| 8186 | .unlock = unlock_w39v080fa, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8187 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8188 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8189 | }, |
| 8190 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8191 | { |
| 8192 | .vendor = "Winbond", |
| 8193 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 8194 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8195 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 8196 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8197 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 8198 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8199 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8200 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 8201 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8202 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 8203 | .block_erasers = |
| 8204 | { |
| 8205 | { |
| 8206 | .eraseblocks = { {64 * 1024, 8}, }, |
| 8207 | .block_erase = erase_sector_jedec, |
| 8208 | }, { |
| 8209 | .eraseblocks = { {512 * 1024, 1} }, |
| 8210 | .block_erase = erase_chip_block_jedec, |
| 8211 | } |
| 8212 | }, |
Carl-Daniel Hailfinger | 9188240 | 2010-12-05 16:33:59 +0000 | [diff] [blame] | 8213 | .printlock = printlock_w39v080fa_dual, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 8214 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8215 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8216 | }, |
| 8217 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8218 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 8219 | .vendor = "AMIC", |
| 8220 | .name = "unknown AMIC SPI chip", |
| 8221 | .bustype = CHIP_BUSTYPE_SPI, |
| 8222 | .manufacture_id = AMIC_ID, |
| 8223 | .model_id = GENERIC_DEVICE_ID, |
| 8224 | .total_size = 0, |
| 8225 | .page_size = 256, |
| 8226 | .tested = TEST_BAD_PREW, |
| 8227 | .probe = probe_spi_rdid4, |
| 8228 | .probe_timing = TIMING_ZERO, |
| 8229 | .write = NULL, |
| 8230 | .read = NULL, |
| 8231 | }, |
| 8232 | |
| 8233 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8234 | .vendor = "Atmel", |
| 8235 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8236 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8237 | .manufacture_id = ATMEL_ID, |
| 8238 | .model_id = GENERIC_DEVICE_ID, |
| 8239 | .total_size = 0, |
| 8240 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8241 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8242 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8243 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8244 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8245 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8246 | }, |
| 8247 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8248 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 8249 | .vendor = "Eon", |
| 8250 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8251 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8252 | .manufacture_id = EON_ID_NOPREFIX, |
| 8253 | .model_id = GENERIC_DEVICE_ID, |
| 8254 | .total_size = 0, |
| 8255 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8256 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8257 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8258 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8259 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8260 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8261 | }, |
| 8262 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8263 | { |
| 8264 | .vendor = "Macronix", |
| 8265 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8266 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 8267 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8268 | .model_id = GENERIC_DEVICE_ID, |
| 8269 | .total_size = 0, |
| 8270 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8271 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8272 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8273 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8274 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8275 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8276 | }, |
| 8277 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8278 | { |
| 8279 | .vendor = "PMC", |
| 8280 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8281 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8282 | .manufacture_id = PMC_ID, |
| 8283 | .model_id = GENERIC_DEVICE_ID, |
| 8284 | .total_size = 0, |
| 8285 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8286 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8287 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8288 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8289 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8290 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8291 | }, |
| 8292 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8293 | { |
| 8294 | .vendor = "SST", |
| 8295 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8296 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8297 | .manufacture_id = SST_ID, |
| 8298 | .model_id = GENERIC_DEVICE_ID, |
| 8299 | .total_size = 0, |
| 8300 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8301 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8302 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8303 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8304 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8305 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8306 | }, |
| 8307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8308 | { |
| 8309 | .vendor = "ST", |
| 8310 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 8311 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8312 | .manufacture_id = ST_ID, |
| 8313 | .model_id = GENERIC_DEVICE_ID, |
| 8314 | .total_size = 0, |
| 8315 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 8316 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8317 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 8318 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8319 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 8320 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 8321 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 8322 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8323 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8324 | .vendor = "Sanyo", |
| 8325 | .name = "unknown Sanyo SPI chip", |
| 8326 | .bustype = CHIP_BUSTYPE_SPI, |
| 8327 | .manufacture_id = SANYO_ID, |
| 8328 | .model_id = GENERIC_DEVICE_ID, |
| 8329 | .total_size = 0, |
| 8330 | .page_size = 256, |
| 8331 | .tested = TEST_BAD_PREW, |
| 8332 | .probe = probe_spi_rdid, |
| 8333 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 8334 | .write = NULL, |
| 8335 | .read = NULL, |
| 8336 | }, |
| 8337 | |
| 8338 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8339 | .vendor = "Generic", |
| 8340 | .name = "unknown SPI chip (RDID)", |
| 8341 | .bustype = CHIP_BUSTYPE_SPI, |
| 8342 | .manufacture_id = GENERIC_MANUF_ID, |
| 8343 | .model_id = GENERIC_DEVICE_ID, |
| 8344 | .total_size = 0, |
| 8345 | .page_size = 256, |
| 8346 | .tested = TEST_BAD_PREW, |
| 8347 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8348 | .write = NULL, |
| 8349 | }, |
| 8350 | { |
| 8351 | .vendor = "Generic", |
| 8352 | .name = "unknown SPI chip (REMS)", |
| 8353 | .bustype = CHIP_BUSTYPE_SPI, |
| 8354 | .manufacture_id = GENERIC_MANUF_ID, |
| 8355 | .model_id = GENERIC_DEVICE_ID, |
| 8356 | .total_size = 0, |
| 8357 | .page_size = 256, |
| 8358 | .tested = TEST_BAD_PREW, |
| 8359 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 8360 | .write = NULL, |
| 8361 | }, |
| 8362 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 8363 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 8364 | }; |