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, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 68 | .tested = TEST_OK_PREW, |
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, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 158 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
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, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
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", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 227 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 228 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 229 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 230 | .model_id = AMD_AM29LV040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 231 | .total_size = 512, |
| 232 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 234 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 235 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 236 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 237 | .block_erasers = |
| 238 | { |
| 239 | { |
| 240 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 241 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 242 | }, { |
| 243 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 244 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 245 | }, |
| 246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 249 | }, |
| 250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 251 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 252 | .vendor = "AMD", |
| 253 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 255 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 256 | .model_id = AMD_AM29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .total_size = 1024, |
| 258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 259 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 260 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 261 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 262 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 263 | .block_erasers = |
| 264 | { |
| 265 | { |
| 266 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 267 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | }, { |
| 269 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 270 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 271 | }, |
| 272 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 273 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 274 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 275 | }, |
| 276 | |
| 277 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 278 | .vendor = "AMIC", |
| 279 | .name = "A25L05PT", |
| 280 | .bustype = CHIP_BUSTYPE_SPI, |
| 281 | .manufacture_id = AMIC_ID, |
| 282 | .model_id = AMIC_A25L05PT, |
| 283 | .total_size = 64, |
| 284 | .page_size = 256, |
| 285 | .tested = TEST_UNTESTED, |
| 286 | .probe = probe_spi_rdid4, |
| 287 | .probe_timing = TIMING_ZERO, |
| 288 | .block_erasers = |
| 289 | { |
| 290 | { |
| 291 | .eraseblocks = { |
| 292 | {32 * 1024, 1}, |
| 293 | {16 * 1024, 1}, |
| 294 | {8 * 1024, 1}, |
| 295 | {4 * 1024, 2}, |
| 296 | }, |
| 297 | .block_erase = spi_block_erase_d8, |
| 298 | }, { |
| 299 | .eraseblocks = { {64 * 1024, 1} }, |
| 300 | .block_erase = spi_block_erase_c7, |
| 301 | } |
| 302 | }, |
| 303 | .unlock = spi_disable_blockprotect, |
| 304 | .write = spi_chip_write_256, |
| 305 | .read = spi_chip_read, |
| 306 | }, |
| 307 | |
| 308 | { |
| 309 | .vendor = "AMIC", |
| 310 | .name = "A25L05PU", |
| 311 | .bustype = CHIP_BUSTYPE_SPI, |
| 312 | .manufacture_id = AMIC_ID, |
| 313 | .model_id = AMIC_A25L05PU, |
| 314 | .total_size = 64, |
| 315 | .page_size = 256, |
| 316 | .tested = TEST_UNTESTED, |
| 317 | .probe = probe_spi_rdid4, |
| 318 | .probe_timing = TIMING_ZERO, |
| 319 | .block_erasers = |
| 320 | { |
| 321 | { |
| 322 | .eraseblocks = { |
| 323 | {4 * 1024, 2}, |
| 324 | {8 * 1024, 1}, |
| 325 | {16 * 1024, 1}, |
| 326 | {32 * 1024, 1}, |
| 327 | }, |
| 328 | .block_erase = spi_block_erase_d8, |
| 329 | }, { |
| 330 | .eraseblocks = { {64 * 1024, 1} }, |
| 331 | .block_erase = spi_block_erase_c7, |
| 332 | } |
| 333 | }, |
| 334 | .unlock = spi_disable_blockprotect, |
| 335 | .write = spi_chip_write_256, |
| 336 | .read = spi_chip_read, |
| 337 | }, |
| 338 | |
| 339 | { |
| 340 | .vendor = "AMIC", |
| 341 | .name = "A25L10PT", |
| 342 | .bustype = CHIP_BUSTYPE_SPI, |
| 343 | .manufacture_id = AMIC_ID, |
| 344 | .model_id = AMIC_A25L10PT, |
| 345 | .total_size = 128, |
| 346 | .page_size = 256, |
| 347 | .tested = TEST_UNTESTED, |
| 348 | .probe = probe_spi_rdid4, |
| 349 | .probe_timing = TIMING_ZERO, |
| 350 | .block_erasers = |
| 351 | { |
| 352 | { |
| 353 | .eraseblocks = { |
| 354 | {64 * 1024, 1}, |
| 355 | {32 * 1024, 1}, |
| 356 | {16 * 1024, 1}, |
| 357 | {8 * 1024, 1}, |
| 358 | {4 * 1024, 2}, |
| 359 | }, |
| 360 | .block_erase = spi_block_erase_d8, |
| 361 | }, { |
| 362 | .eraseblocks = { {128 * 1024, 1} }, |
| 363 | .block_erase = spi_block_erase_c7, |
| 364 | } |
| 365 | }, |
| 366 | .unlock = spi_disable_blockprotect, |
| 367 | .write = spi_chip_write_256, |
| 368 | .read = spi_chip_read, |
| 369 | }, |
| 370 | |
| 371 | { |
| 372 | .vendor = "AMIC", |
| 373 | .name = "A25L10PU", |
| 374 | .bustype = CHIP_BUSTYPE_SPI, |
| 375 | .manufacture_id = AMIC_ID, |
| 376 | .model_id = AMIC_A25L10PU, |
| 377 | .total_size = 128, |
| 378 | .page_size = 256, |
| 379 | .tested = TEST_UNTESTED, |
| 380 | .probe = probe_spi_rdid4, |
| 381 | .probe_timing = TIMING_ZERO, |
| 382 | .block_erasers = |
| 383 | { |
| 384 | { |
| 385 | .eraseblocks = { |
| 386 | {4 * 1024, 2}, |
| 387 | {8 * 1024, 1}, |
| 388 | {16 * 1024, 1}, |
| 389 | {32 * 1024, 1}, |
| 390 | {64 * 1024, 1}, |
| 391 | }, |
| 392 | .block_erase = spi_block_erase_d8, |
| 393 | }, { |
| 394 | .eraseblocks = { {128 * 1024, 1} }, |
| 395 | .block_erase = spi_block_erase_c7, |
| 396 | } |
| 397 | }, |
| 398 | .unlock = spi_disable_blockprotect, |
| 399 | .write = spi_chip_write_256, |
| 400 | .read = spi_chip_read, |
| 401 | }, |
| 402 | |
| 403 | { |
| 404 | .vendor = "AMIC", |
| 405 | .name = "A25L20PT", |
| 406 | .bustype = CHIP_BUSTYPE_SPI, |
| 407 | .manufacture_id = AMIC_ID, |
| 408 | .model_id = AMIC_A25L20PT, |
| 409 | .total_size = 256, |
| 410 | .page_size = 256, |
| 411 | .tested = TEST_UNTESTED, |
| 412 | .probe = probe_spi_rdid4, |
| 413 | .probe_timing = TIMING_ZERO, |
| 414 | .block_erasers = |
| 415 | { |
| 416 | { |
| 417 | .eraseblocks = { |
| 418 | {64 * 1024, 3}, |
| 419 | {32 * 1024, 1}, |
| 420 | {16 * 1024, 1}, |
| 421 | {8 * 1024, 1}, |
| 422 | {4 * 1024, 2}, |
| 423 | }, |
| 424 | .block_erase = spi_block_erase_d8, |
| 425 | }, { |
| 426 | .eraseblocks = { {256 * 1024, 1} }, |
| 427 | .block_erase = spi_block_erase_c7, |
| 428 | } |
| 429 | }, |
| 430 | .unlock = spi_disable_blockprotect, |
| 431 | .write = spi_chip_write_256, |
| 432 | .read = spi_chip_read, |
| 433 | }, |
| 434 | |
| 435 | { |
| 436 | .vendor = "AMIC", |
| 437 | .name = "A25L20PU", |
| 438 | .bustype = CHIP_BUSTYPE_SPI, |
| 439 | .manufacture_id = AMIC_ID, |
| 440 | .model_id = AMIC_A25L20PU, |
| 441 | .total_size = 256, |
| 442 | .page_size = 256, |
| 443 | .tested = TEST_UNTESTED, |
| 444 | .probe = probe_spi_rdid4, |
| 445 | .probe_timing = TIMING_ZERO, |
| 446 | .block_erasers = |
| 447 | { |
| 448 | { |
| 449 | .eraseblocks = { |
| 450 | {4 * 1024, 2}, |
| 451 | {8 * 1024, 1}, |
| 452 | {16 * 1024, 1}, |
| 453 | {32 * 1024, 1}, |
| 454 | {64 * 1024, 3}, |
| 455 | }, |
| 456 | .block_erase = spi_block_erase_d8, |
| 457 | }, { |
| 458 | .eraseblocks = { {256 * 1024, 1} }, |
| 459 | .block_erase = spi_block_erase_c7, |
| 460 | } |
| 461 | }, |
| 462 | .unlock = spi_disable_blockprotect, |
| 463 | .write = spi_chip_write_256, |
| 464 | .read = spi_chip_read, |
| 465 | }, |
| 466 | |
| 467 | /* The A25L40P{T,U} chips are distinguished by their |
| 468 | * erase block layouts, but without any distinction in RDID. |
| 469 | * This inexplicable quirk was verified by Rudolf Marek |
| 470 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 471 | */ |
| 472 | { |
| 473 | .vendor = "AMIC", |
| 474 | .name = "A25L40PT", |
| 475 | .bustype = CHIP_BUSTYPE_SPI, |
| 476 | .manufacture_id = AMIC_ID, |
| 477 | .model_id = AMIC_A25L40PT, |
| 478 | .total_size = 512, |
| 479 | .page_size = 256, |
| 480 | .tested = TEST_OK_PRW, |
| 481 | .probe = probe_spi_rdid4, |
| 482 | .probe_timing = TIMING_ZERO, |
| 483 | .block_erasers = |
| 484 | { |
| 485 | { |
| 486 | .eraseblocks = { |
| 487 | {64 * 1024, 7}, |
| 488 | {32 * 1024, 1}, |
| 489 | {16 * 1024, 1}, |
| 490 | {8 * 1024, 1}, |
| 491 | {4 * 1024, 2}, |
| 492 | }, |
| 493 | .block_erase = spi_block_erase_d8, |
| 494 | }, { |
| 495 | .eraseblocks = { {512 * 1024, 1} }, |
| 496 | .block_erase = spi_block_erase_c7, |
| 497 | } |
| 498 | }, |
| 499 | .unlock = spi_disable_blockprotect, |
| 500 | .write = spi_chip_write_256, |
| 501 | .read = spi_chip_read, |
| 502 | }, |
| 503 | |
| 504 | { |
| 505 | .vendor = "AMIC", |
| 506 | .name = "A25L40PU", |
| 507 | .bustype = CHIP_BUSTYPE_SPI, |
| 508 | .manufacture_id = AMIC_ID, |
| 509 | .model_id = AMIC_A25L40PU, |
| 510 | .total_size = 512, |
| 511 | .page_size = 256, |
| 512 | .tested = TEST_OK_PRW, |
| 513 | .probe = probe_spi_rdid4, |
| 514 | .probe_timing = TIMING_ZERO, |
| 515 | .block_erasers = |
| 516 | { |
| 517 | { |
| 518 | .eraseblocks = { |
| 519 | {4 * 1024, 2}, |
| 520 | {8 * 1024, 1}, |
| 521 | {16 * 1024, 1}, |
| 522 | {32 * 1024, 1}, |
| 523 | {64 * 1024, 7}, |
| 524 | }, |
| 525 | .block_erase = spi_block_erase_d8, |
| 526 | }, { |
| 527 | .eraseblocks = { {512 * 1024, 1} }, |
| 528 | .block_erase = spi_block_erase_c7, |
| 529 | } |
| 530 | }, |
| 531 | .unlock = spi_disable_blockprotect, |
| 532 | .write = spi_chip_write_256, |
| 533 | .read = spi_chip_read, |
| 534 | }, |
| 535 | |
| 536 | { |
| 537 | .vendor = "AMIC", |
| 538 | .name = "A25L80P", |
| 539 | .bustype = CHIP_BUSTYPE_SPI, |
| 540 | .manufacture_id = AMIC_ID, |
| 541 | .model_id = AMIC_A25L80P, |
| 542 | .total_size = 1024, |
| 543 | .page_size = 256, |
| 544 | .tested = TEST_OK_PREW, |
| 545 | .probe = probe_spi_rdid4, |
| 546 | .probe_timing = TIMING_ZERO, |
| 547 | .block_erasers = |
| 548 | { |
| 549 | { |
| 550 | .eraseblocks = { |
| 551 | {4 * 1024, 2}, |
| 552 | {8 * 1024, 1}, |
| 553 | {16 * 1024, 1}, |
| 554 | {32 * 1024, 1}, |
| 555 | {64 * 1024, 15}, |
| 556 | }, |
| 557 | .block_erase = spi_block_erase_d8, |
| 558 | }, { |
| 559 | .eraseblocks = { {1024 * 1024, 1} }, |
| 560 | .block_erase = spi_block_erase_c7, |
| 561 | } |
| 562 | }, |
| 563 | .unlock = spi_disable_blockprotect, |
| 564 | .write = spi_chip_write_256, |
| 565 | .read = spi_chip_read, |
| 566 | }, |
| 567 | |
| 568 | { |
| 569 | .vendor = "AMIC", |
| 570 | .name = "A25L16PT", |
| 571 | .bustype = CHIP_BUSTYPE_SPI, |
| 572 | .manufacture_id = AMIC_ID, |
| 573 | .model_id = AMIC_A25L16PT, |
| 574 | .total_size = 2048, |
| 575 | .page_size = 256, |
| 576 | .tested = TEST_UNTESTED, |
| 577 | .probe = probe_spi_rdid4, |
| 578 | .probe_timing = TIMING_ZERO, |
| 579 | .block_erasers = |
| 580 | { |
| 581 | { |
| 582 | .eraseblocks = { |
| 583 | {64 * 1024, 31}, |
| 584 | {32 * 1024, 1}, |
| 585 | {16 * 1024, 1}, |
| 586 | {8 * 1024, 1}, |
| 587 | {4 * 1024, 2}, |
| 588 | }, |
| 589 | .block_erase = spi_block_erase_d8, |
| 590 | }, { |
| 591 | .eraseblocks = { {2048 * 1024, 1} }, |
| 592 | .block_erase = spi_block_erase_60, |
| 593 | }, { |
| 594 | .eraseblocks = { {2048 * 1024, 1} }, |
| 595 | .block_erase = spi_block_erase_c7, |
| 596 | } |
| 597 | }, |
| 598 | .unlock = spi_disable_blockprotect, |
| 599 | .write = spi_chip_write_256, |
| 600 | .read = spi_chip_read, |
| 601 | }, |
| 602 | |
| 603 | { |
| 604 | .vendor = "AMIC", |
| 605 | .name = "A25L16PU", |
| 606 | .bustype = CHIP_BUSTYPE_SPI, |
| 607 | .manufacture_id = AMIC_ID, |
| 608 | .model_id = AMIC_A25L16PU, |
| 609 | .total_size = 2048, |
| 610 | .page_size = 256, |
| 611 | .tested = TEST_OK_PRW, |
| 612 | .probe = probe_spi_rdid4, |
| 613 | .probe_timing = TIMING_ZERO, |
| 614 | .block_erasers = |
| 615 | { |
| 616 | { |
| 617 | .eraseblocks = { |
| 618 | {4 * 1024, 2}, |
| 619 | {8 * 1024, 1}, |
| 620 | {16 * 1024, 1}, |
| 621 | {32 * 1024, 1}, |
| 622 | {64 * 1024, 31}, |
| 623 | }, |
| 624 | .block_erase = spi_block_erase_d8, |
| 625 | }, { |
| 626 | .eraseblocks = { {2048 * 1024, 1} }, |
| 627 | .block_erase = spi_block_erase_60, |
| 628 | }, { |
| 629 | .eraseblocks = { {2048 * 1024, 1} }, |
| 630 | .block_erase = spi_block_erase_c7, |
| 631 | } |
| 632 | }, |
| 633 | .unlock = spi_disable_blockprotect, |
| 634 | .write = spi_chip_write_256, |
| 635 | .read = spi_chip_read, |
| 636 | }, |
| 637 | |
| 638 | { |
| 639 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 640 | .name = "A25L512", |
| 641 | .bustype = CHIP_BUSTYPE_SPI, |
| 642 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 643 | .model_id = AMIC_A25L512, |
| 644 | .total_size = 64, |
| 645 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 646 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 647 | .tested = TEST_UNTESTED, |
| 648 | .probe = probe_spi_rdid, |
| 649 | .probe_timing = TIMING_ZERO, |
| 650 | .block_erasers = |
| 651 | { |
| 652 | { |
| 653 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 654 | .block_erase = spi_block_erase_20, |
| 655 | }, { |
| 656 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 657 | .block_erase = spi_block_erase_d8, |
| 658 | }, { |
| 659 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 660 | .block_erase = spi_block_erase_c7, |
| 661 | } |
| 662 | }, |
| 663 | .unlock = spi_disable_blockprotect, |
| 664 | .write = spi_chip_write_256, |
| 665 | .read = spi_chip_read, |
| 666 | }, |
| 667 | |
| 668 | { |
| 669 | .vendor = "AMIC", |
| 670 | .name = "A25L010", |
| 671 | .bustype = CHIP_BUSTYPE_SPI, |
| 672 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 673 | .model_id = AMIC_A25L010, |
| 674 | .total_size = 128, |
| 675 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 676 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 677 | .tested = TEST_UNTESTED, |
| 678 | .probe = probe_spi_rdid, |
| 679 | .probe_timing = TIMING_ZERO, |
| 680 | .block_erasers = |
| 681 | { |
| 682 | { |
| 683 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 684 | .block_erase = spi_block_erase_20, |
| 685 | }, { |
| 686 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 687 | .block_erase = spi_block_erase_d8, |
| 688 | }, { |
| 689 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 690 | .block_erase = spi_block_erase_c7, |
| 691 | } |
| 692 | }, |
| 693 | .unlock = spi_disable_blockprotect, |
| 694 | .write = spi_chip_write_256, |
| 695 | .read = spi_chip_read, |
| 696 | }, |
| 697 | |
| 698 | { |
| 699 | .vendor = "AMIC", |
| 700 | .name = "A25L020", |
| 701 | .bustype = CHIP_BUSTYPE_SPI, |
| 702 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 703 | .model_id = AMIC_A25L020, |
| 704 | .total_size = 256, |
| 705 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 706 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 707 | .tested = TEST_UNTESTED, |
| 708 | .probe = probe_spi_rdid, |
| 709 | .probe_timing = TIMING_ZERO, |
| 710 | .block_erasers = |
| 711 | { |
| 712 | { |
| 713 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 714 | .block_erase = spi_block_erase_20, |
| 715 | }, { |
| 716 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 717 | .block_erase = spi_block_erase_d8, |
| 718 | }, { |
| 719 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 720 | .block_erase = spi_block_erase_c7, |
| 721 | } |
| 722 | }, |
| 723 | .unlock = spi_disable_blockprotect, |
| 724 | .write = spi_chip_write_256, |
| 725 | .read = spi_chip_read, |
| 726 | }, |
| 727 | |
| 728 | { |
| 729 | .vendor = "AMIC", |
| 730 | .name = "A25L040", |
| 731 | .bustype = CHIP_BUSTYPE_SPI, |
| 732 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 733 | .model_id = AMIC_A25L040, |
| 734 | .total_size = 512, |
| 735 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 736 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 737 | .tested = TEST_UNTESTED, |
| 738 | .probe = probe_spi_rdid, |
| 739 | .probe_timing = TIMING_ZERO, |
| 740 | .block_erasers = |
| 741 | { |
| 742 | { |
| 743 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 744 | .block_erase = spi_block_erase_20, |
| 745 | }, { |
| 746 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 747 | .block_erase = spi_block_erase_d8, |
| 748 | }, { |
| 749 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 750 | .block_erase = spi_block_erase_c7, |
| 751 | } |
| 752 | }, |
| 753 | .unlock = spi_disable_blockprotect, |
| 754 | .write = spi_chip_write_256, |
| 755 | .read = spi_chip_read, |
| 756 | }, |
| 757 | |
| 758 | { |
| 759 | .vendor = "AMIC", |
| 760 | .name = "A25L080", |
| 761 | .bustype = CHIP_BUSTYPE_SPI, |
| 762 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 763 | .model_id = AMIC_A25L080, |
| 764 | .total_size = 1024, |
| 765 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 766 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 767 | .tested = TEST_UNTESTED, |
| 768 | .probe = probe_spi_rdid, |
| 769 | .probe_timing = TIMING_ZERO, |
| 770 | .block_erasers = |
| 771 | { |
| 772 | { |
| 773 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 774 | .block_erase = spi_block_erase_20, |
| 775 | }, { |
| 776 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 777 | .block_erase = spi_block_erase_d8, |
| 778 | }, { |
| 779 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 780 | .block_erase = spi_block_erase_c7, |
| 781 | } |
| 782 | }, |
| 783 | .unlock = spi_disable_blockprotect, |
| 784 | .write = spi_chip_write_256, |
| 785 | .read = spi_chip_read, |
| 786 | }, |
| 787 | |
| 788 | { |
| 789 | .vendor = "AMIC", |
| 790 | .name = "A25L016", |
| 791 | .bustype = CHIP_BUSTYPE_SPI, |
| 792 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 793 | .model_id = AMIC_A25L016, |
| 794 | .total_size = 2048, |
| 795 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 796 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 797 | .tested = TEST_UNTESTED, |
| 798 | .probe = probe_spi_rdid, |
| 799 | .probe_timing = TIMING_ZERO, |
| 800 | .block_erasers = |
| 801 | { |
| 802 | { |
| 803 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 804 | .block_erase = spi_block_erase_20, |
| 805 | }, { |
| 806 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 807 | .block_erase = spi_block_erase_d8, |
| 808 | }, { |
| 809 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 810 | .block_erase = spi_block_erase_c7, |
| 811 | } |
| 812 | }, |
| 813 | .unlock = spi_disable_blockprotect, |
| 814 | .write = spi_chip_write_256, |
| 815 | .read = spi_chip_read, |
| 816 | }, |
| 817 | |
| 818 | { |
| 819 | .vendor = "AMIC", |
| 820 | .name = "A25L032", |
| 821 | .bustype = CHIP_BUSTYPE_SPI, |
| 822 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 823 | .model_id = AMIC_A25L032, |
| 824 | .total_size = 4096, |
| 825 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 826 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 827 | .tested = TEST_UNTESTED, |
| 828 | .probe = probe_spi_rdid, |
| 829 | .probe_timing = TIMING_ZERO, |
| 830 | .block_erasers = |
| 831 | { |
| 832 | { |
| 833 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 834 | .block_erase = spi_block_erase_20, |
| 835 | }, { |
| 836 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 837 | .block_erase = spi_block_erase_52, |
| 838 | }, { |
| 839 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 840 | .block_erase = spi_block_erase_d8, |
| 841 | }, { |
| 842 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 843 | .block_erase = spi_block_erase_60, |
| 844 | }, { |
| 845 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 846 | .block_erase = spi_block_erase_c7, |
| 847 | } |
| 848 | }, |
| 849 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 850 | .write = spi_chip_write_256, |
| 851 | .read = spi_chip_read, |
| 852 | }, |
| 853 | |
| 854 | { |
| 855 | .vendor = "AMIC", |
| 856 | .name = "A25LQ032", |
| 857 | .bustype = CHIP_BUSTYPE_SPI, |
| 858 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 859 | .model_id = AMIC_A25LQ032, |
| 860 | .total_size = 4096, |
| 861 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 862 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 863 | .tested = TEST_UNTESTED, |
| 864 | .probe = probe_spi_rdid, |
| 865 | .probe_timing = TIMING_ZERO, |
| 866 | .block_erasers = |
| 867 | { |
| 868 | { |
| 869 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 870 | .block_erase = spi_block_erase_20, |
| 871 | }, { |
| 872 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 873 | .block_erase = spi_block_erase_52, |
| 874 | }, { |
| 875 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 876 | .block_erase = spi_block_erase_d8, |
| 877 | }, { |
| 878 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 879 | .block_erase = spi_block_erase_60, |
| 880 | }, { |
| 881 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 882 | .block_erase = spi_block_erase_c7, |
| 883 | } |
| 884 | }, |
| 885 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 886 | .write = spi_chip_write_256, |
| 887 | .read = spi_chip_read, |
| 888 | }, |
| 889 | |
| 890 | { |
| 891 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 892 | .name = "A29002B", |
| 893 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 894 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 895 | .model_id = AMIC_A29002B, |
| 896 | .total_size = 256, |
| 897 | .page_size = 64 * 1024, |
| 898 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 899 | .tested = TEST_UNTESTED, |
| 900 | .probe = probe_jedec, |
| 901 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 902 | .block_erasers = |
| 903 | { |
| 904 | { |
| 905 | .eraseblocks = { |
| 906 | {16 * 1024, 1}, |
| 907 | {8 * 1024, 2}, |
| 908 | {32 * 1024, 1}, |
| 909 | {64 * 1024, 3}, |
| 910 | }, |
| 911 | .block_erase = erase_sector_jedec, |
| 912 | }, { |
| 913 | .eraseblocks = { {256 * 1024, 1} }, |
| 914 | .block_erase = erase_chip_block_jedec, |
| 915 | }, |
| 916 | }, |
| 917 | .write = write_jedec_1, |
| 918 | .read = read_memmapped, |
| 919 | }, |
| 920 | |
| 921 | { |
| 922 | .vendor = "AMIC", |
| 923 | .name = "A29002T", |
| 924 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 925 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 926 | .model_id = AMIC_A29002T, |
| 927 | .total_size = 256, |
| 928 | .page_size = 64 * 1024, |
| 929 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 930 | .tested = TEST_OK_PRW, |
| 931 | .probe = probe_jedec, |
| 932 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 933 | .block_erasers = |
| 934 | { |
| 935 | { |
| 936 | .eraseblocks = { |
| 937 | {64 * 1024, 3}, |
| 938 | {32 * 1024, 1}, |
| 939 | {8 * 1024, 2}, |
| 940 | {16 * 1024, 1}, |
| 941 | }, |
| 942 | .block_erase = erase_sector_jedec, |
| 943 | }, { |
| 944 | .eraseblocks = { {256 * 1024, 1} }, |
| 945 | .block_erase = erase_chip_block_jedec, |
| 946 | }, |
| 947 | }, |
| 948 | .write = write_jedec_1, |
| 949 | .read = read_memmapped, |
| 950 | }, |
| 951 | |
| 952 | { |
| 953 | .vendor = "AMIC", |
| 954 | .name = "A29040B", |
| 955 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 956 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 957 | .model_id = AMIC_A29040B, |
| 958 | .total_size = 512, |
| 959 | .page_size = 64 * 1024, |
| 960 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 961 | .tested = TEST_UNTESTED, |
| 962 | .probe = probe_jedec, |
| 963 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
| 964 | .block_erasers = |
| 965 | { |
| 966 | { |
| 967 | .eraseblocks = { {64 * 1024, 8} }, |
| 968 | .block_erase = erase_sector_jedec, |
| 969 | }, { |
| 970 | .eraseblocks = { {512 * 1024, 1} }, |
| 971 | .block_erase = erase_chip_block_jedec, |
| 972 | }, |
| 973 | }, |
| 974 | .write = write_jedec_1, |
| 975 | .read = read_memmapped, |
| 976 | }, |
| 977 | |
| 978 | { |
| 979 | .vendor = "AMIC", |
| 980 | .name = "A49LF040A", |
| 981 | .bustype = CHIP_BUSTYPE_LPC, |
| 982 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 983 | .model_id = AMIC_A49LF040A, |
| 984 | .total_size = 512, |
| 985 | .page_size = 64 * 1024, |
| 986 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 987 | .tested = TEST_OK_PREW, |
| 988 | .probe = probe_jedec, |
| 989 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 990 | .block_erasers = |
| 991 | { |
| 992 | { |
| 993 | .eraseblocks = { {64 * 1024, 8} }, |
| 994 | .block_erase = erase_block_jedec, |
| 995 | }, { |
| 996 | .eraseblocks = { {512 * 1024, 1} }, |
| 997 | .block_erase = erase_chip_block_jedec, |
| 998 | } |
| 999 | }, |
| 1000 | .unlock = unlock_49fl00x, |
| 1001 | .write = write_jedec_1, |
| 1002 | .read = read_memmapped, |
| 1003 | }, |
| 1004 | |
| 1005 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1006 | .vendor = "Atmel", |
| 1007 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1008 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1009 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1010 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1011 | .total_size = 256, |
| 1012 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1013 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1014 | .tested = TEST_UNTESTED, |
| 1015 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1016 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1017 | .block_erasers = |
| 1018 | { |
| 1019 | { |
| 1020 | .eraseblocks = { {4 * 1024, 64} }, |
| 1021 | .block_erase = spi_block_erase_20, |
| 1022 | }, { |
| 1023 | .eraseblocks = { {32 * 1024, 8} }, |
| 1024 | .block_erase = spi_block_erase_52, |
| 1025 | }, { |
| 1026 | .eraseblocks = { {64 * 1024, 4} }, |
| 1027 | .block_erase = spi_block_erase_d8, |
| 1028 | }, { |
| 1029 | .eraseblocks = { {256 * 1024, 1} }, |
| 1030 | .block_erase = spi_block_erase_60, |
| 1031 | }, { |
| 1032 | .eraseblocks = { {256 * 1024, 1} }, |
| 1033 | .block_erase = spi_block_erase_c7, |
| 1034 | } |
| 1035 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1036 | .printlock = spi_prettyprint_status_register_at25df, |
| 1037 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1038 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1039 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1040 | }, |
| 1041 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1042 | { |
| 1043 | .vendor = "Atmel", |
| 1044 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1045 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1046 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1047 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1048 | .total_size = 512, |
| 1049 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1050 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1051 | .tested = TEST_UNTESTED, |
| 1052 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1053 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1054 | .block_erasers = |
| 1055 | { |
| 1056 | { |
| 1057 | .eraseblocks = { {4 * 1024, 128} }, |
| 1058 | .block_erase = spi_block_erase_20, |
| 1059 | }, { |
| 1060 | .eraseblocks = { {32 * 1024, 16} }, |
| 1061 | .block_erase = spi_block_erase_52, |
| 1062 | }, { |
| 1063 | .eraseblocks = { {64 * 1024, 8} }, |
| 1064 | .block_erase = spi_block_erase_d8, |
| 1065 | }, { |
| 1066 | .eraseblocks = { {512 * 1024, 1} }, |
| 1067 | .block_erase = spi_block_erase_60, |
| 1068 | }, { |
| 1069 | .eraseblocks = { {512 * 1024, 1} }, |
| 1070 | .block_erase = spi_block_erase_c7, |
| 1071 | } |
| 1072 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1073 | .printlock = spi_prettyprint_status_register_at25df, |
| 1074 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1075 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1076 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1077 | }, |
| 1078 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1079 | { |
| 1080 | .vendor = "Atmel", |
| 1081 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1082 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1083 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1084 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1085 | .total_size = 1024, |
| 1086 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1087 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1088 | .tested = TEST_UNTESTED, |
| 1089 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1090 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1091 | .block_erasers = |
| 1092 | { |
| 1093 | { |
| 1094 | .eraseblocks = { {4 * 1024, 256} }, |
| 1095 | .block_erase = spi_block_erase_20, |
| 1096 | }, { |
| 1097 | .eraseblocks = { {32 * 1024, 32} }, |
| 1098 | .block_erase = spi_block_erase_52, |
| 1099 | }, { |
| 1100 | .eraseblocks = { {64 * 1024, 16} }, |
| 1101 | .block_erase = spi_block_erase_d8, |
| 1102 | }, { |
| 1103 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1104 | .block_erase = spi_block_erase_60, |
| 1105 | }, { |
| 1106 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1107 | .block_erase = spi_block_erase_c7, |
| 1108 | } |
| 1109 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1110 | .printlock = spi_prettyprint_status_register_at25df, |
| 1111 | .unlock = spi_disable_blockprotect_at25df, |
| 1112 | .write = spi_chip_write_256, |
| 1113 | .read = spi_chip_read, |
| 1114 | }, |
| 1115 | |
| 1116 | { |
| 1117 | .vendor = "Atmel", |
| 1118 | .name = "AT25DF081A", |
| 1119 | .bustype = CHIP_BUSTYPE_SPI, |
| 1120 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1121 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1122 | .total_size = 1024, |
| 1123 | .page_size = 256, |
| 1124 | .feature_bits = FEATURE_WRSR_WREN, |
| 1125 | .tested = TEST_UNTESTED, |
| 1126 | .probe = probe_spi_rdid, |
| 1127 | .probe_timing = TIMING_ZERO, |
| 1128 | .block_erasers = |
| 1129 | { |
| 1130 | { |
| 1131 | .eraseblocks = { {4 * 1024, 256} }, |
| 1132 | .block_erase = spi_block_erase_20, |
| 1133 | }, { |
| 1134 | .eraseblocks = { {32 * 1024, 32} }, |
| 1135 | .block_erase = spi_block_erase_52, |
| 1136 | }, { |
| 1137 | .eraseblocks = { {64 * 1024, 16} }, |
| 1138 | .block_erase = spi_block_erase_d8, |
| 1139 | }, { |
| 1140 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1141 | .block_erase = spi_block_erase_60, |
| 1142 | }, { |
| 1143 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1144 | .block_erase = spi_block_erase_c7, |
| 1145 | } |
| 1146 | }, |
| 1147 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1148 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1149 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1150 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1151 | }, |
| 1152 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1153 | { |
| 1154 | .vendor = "Atmel", |
| 1155 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1156 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1157 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1158 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1159 | .total_size = 2048, |
| 1160 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1161 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1162 | .tested = TEST_UNTESTED, |
| 1163 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1164 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1165 | .block_erasers = |
| 1166 | { |
| 1167 | { |
| 1168 | .eraseblocks = { {4 * 1024, 512} }, |
| 1169 | .block_erase = spi_block_erase_20, |
| 1170 | }, { |
| 1171 | .eraseblocks = { {32 * 1024, 64} }, |
| 1172 | .block_erase = spi_block_erase_52, |
| 1173 | }, { |
| 1174 | .eraseblocks = { {64 * 1024, 32} }, |
| 1175 | .block_erase = spi_block_erase_d8, |
| 1176 | }, { |
| 1177 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1178 | .block_erase = spi_block_erase_60, |
| 1179 | }, { |
| 1180 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1181 | .block_erase = spi_block_erase_c7, |
| 1182 | } |
| 1183 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1184 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1185 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1186 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1187 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1188 | }, |
| 1189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1190 | { |
| 1191 | .vendor = "Atmel", |
| 1192 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1193 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1194 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1195 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1196 | .total_size = 4096, |
| 1197 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1198 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 1199 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1200 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1201 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1202 | .block_erasers = |
| 1203 | { |
| 1204 | { |
| 1205 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1206 | .block_erase = spi_block_erase_20, |
| 1207 | }, { |
| 1208 | .eraseblocks = { {32 * 1024, 128} }, |
| 1209 | .block_erase = spi_block_erase_52, |
| 1210 | }, { |
| 1211 | .eraseblocks = { {64 * 1024, 64} }, |
| 1212 | .block_erase = spi_block_erase_d8, |
| 1213 | }, { |
| 1214 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1215 | .block_erase = spi_block_erase_60, |
| 1216 | }, { |
| 1217 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1218 | .block_erase = spi_block_erase_c7, |
| 1219 | } |
| 1220 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1221 | .printlock = spi_prettyprint_status_register_at25df, |
| 1222 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1223 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1224 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1225 | }, |
| 1226 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1227 | { |
| 1228 | .vendor = "Atmel", |
| 1229 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1230 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1231 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1232 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1233 | .total_size = 4096, |
| 1234 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1235 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1236 | .tested = TEST_UNTESTED, |
| 1237 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1238 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1239 | .block_erasers = |
| 1240 | { |
| 1241 | { |
| 1242 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1243 | .block_erase = spi_block_erase_20, |
| 1244 | }, { |
| 1245 | .eraseblocks = { {32 * 1024, 128} }, |
| 1246 | .block_erase = spi_block_erase_52, |
| 1247 | }, { |
| 1248 | .eraseblocks = { {64 * 1024, 64} }, |
| 1249 | .block_erase = spi_block_erase_d8, |
| 1250 | }, { |
| 1251 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1252 | .block_erase = spi_block_erase_60, |
| 1253 | }, { |
| 1254 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1255 | .block_erase = spi_block_erase_c7, |
| 1256 | } |
| 1257 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1258 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1259 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1260 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1261 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1262 | }, |
| 1263 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1264 | { |
| 1265 | .vendor = "Atmel", |
| 1266 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1267 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1268 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1269 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1270 | .total_size = 8192, |
| 1271 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1272 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1273 | .tested = TEST_UNTESTED, |
| 1274 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1275 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1276 | .block_erasers = |
| 1277 | { |
| 1278 | { |
| 1279 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1280 | .block_erase = spi_block_erase_20, |
| 1281 | }, { |
| 1282 | .eraseblocks = { {32 * 1024, 256} }, |
| 1283 | .block_erase = spi_block_erase_52, |
| 1284 | }, { |
| 1285 | .eraseblocks = { {64 * 1024, 128} }, |
| 1286 | .block_erase = spi_block_erase_d8, |
| 1287 | }, { |
| 1288 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1289 | .block_erase = spi_block_erase_60, |
| 1290 | }, { |
| 1291 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1292 | .block_erase = spi_block_erase_c7, |
| 1293 | } |
| 1294 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1295 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1296 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1297 | .write = spi_chip_write_256, |
| 1298 | .read = spi_chip_read, |
| 1299 | }, |
| 1300 | |
| 1301 | { |
| 1302 | .vendor = "Atmel", |
| 1303 | .name = "AT25DQ161", |
| 1304 | .bustype = CHIP_BUSTYPE_SPI, |
| 1305 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1306 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1307 | .total_size = 2048, |
| 1308 | .page_size = 256, |
| 1309 | .feature_bits = FEATURE_WRSR_WREN, |
| 1310 | .tested = TEST_UNTESTED, |
| 1311 | .probe = probe_spi_rdid, |
| 1312 | .probe_timing = TIMING_ZERO, |
| 1313 | .block_erasers = |
| 1314 | { |
| 1315 | { |
| 1316 | .eraseblocks = { {4 * 1024, 512} }, |
| 1317 | .block_erase = spi_block_erase_20, |
| 1318 | }, { |
| 1319 | .eraseblocks = { {32 * 1024, 64} }, |
| 1320 | .block_erase = spi_block_erase_52, |
| 1321 | }, { |
| 1322 | .eraseblocks = { {64 * 1024, 32} }, |
| 1323 | .block_erase = spi_block_erase_d8, |
| 1324 | }, { |
| 1325 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1326 | .block_erase = spi_block_erase_60, |
| 1327 | }, { |
| 1328 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1329 | .block_erase = spi_block_erase_c7, |
| 1330 | } |
| 1331 | }, |
| 1332 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1333 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1334 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1335 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1336 | }, |
| 1337 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1338 | { |
| 1339 | .vendor = "Atmel", |
| 1340 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1341 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1342 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1343 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1344 | .total_size = 64, |
| 1345 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1346 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1347 | .tested = TEST_UNTESTED, |
| 1348 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1350 | .block_erasers = |
| 1351 | { |
| 1352 | { |
| 1353 | .eraseblocks = { {4 * 1024, 16} }, |
| 1354 | .block_erase = spi_block_erase_20, |
| 1355 | }, { |
| 1356 | .eraseblocks = { {32 * 1024, 2} }, |
| 1357 | .block_erase = spi_block_erase_52, |
| 1358 | }, { |
| 1359 | .eraseblocks = { {32 * 1024, 2} }, |
| 1360 | .block_erase = spi_block_erase_d8, |
| 1361 | }, { |
| 1362 | .eraseblocks = { {64 * 1024, 1} }, |
| 1363 | .block_erase = spi_block_erase_60, |
| 1364 | }, { |
| 1365 | .eraseblocks = { {64 * 1024, 1} }, |
| 1366 | .block_erase = spi_block_erase_c7, |
| 1367 | } |
| 1368 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1369 | .printlock = spi_prettyprint_status_register_at25f, |
| 1370 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1371 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1372 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1373 | }, |
| 1374 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1375 | { |
| 1376 | .vendor = "Atmel", |
| 1377 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1378 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1379 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1380 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1381 | .total_size = 128, |
| 1382 | .page_size = 256, |
| 1383 | .tested = TEST_UNTESTED, |
| 1384 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1385 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1386 | .block_erasers = |
| 1387 | { |
| 1388 | { |
| 1389 | .eraseblocks = { {4 * 1024, 32} }, |
| 1390 | .block_erase = spi_block_erase_20, |
| 1391 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1392 | .eraseblocks = { {4 * 1024, 32} }, |
| 1393 | .block_erase = spi_block_erase_d7, |
| 1394 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1395 | .eraseblocks = { {32 * 1024, 4} }, |
| 1396 | .block_erase = spi_block_erase_52, |
| 1397 | }, { |
| 1398 | .eraseblocks = { {32 * 1024, 4} }, |
| 1399 | .block_erase = spi_block_erase_d8, |
| 1400 | }, { |
| 1401 | .eraseblocks = { {128 * 1024, 1} }, |
| 1402 | .block_erase = spi_block_erase_60, |
| 1403 | }, { |
| 1404 | .eraseblocks = { {128 * 1024, 1} }, |
| 1405 | .block_erase = spi_block_erase_c7, |
| 1406 | } |
| 1407 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1408 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1409 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1410 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1411 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1412 | }, |
| 1413 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1414 | { |
| 1415 | .vendor = "Atmel", |
| 1416 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1417 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1418 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1419 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1420 | .total_size = 512, |
| 1421 | .page_size = 256, |
| 1422 | .tested = TEST_UNTESTED, |
| 1423 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1424 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1425 | .block_erasers = |
| 1426 | { |
| 1427 | { |
| 1428 | .eraseblocks = { {4 * 1024, 128} }, |
| 1429 | .block_erase = spi_block_erase_20, |
| 1430 | }, { |
| 1431 | .eraseblocks = { {64 * 1024, 8} }, |
| 1432 | .block_erase = spi_block_erase_52, |
| 1433 | }, { |
| 1434 | .eraseblocks = { {64 * 1024, 8} }, |
| 1435 | .block_erase = spi_block_erase_d8, |
| 1436 | }, { |
| 1437 | .eraseblocks = { {512 * 1024, 1} }, |
| 1438 | .block_erase = spi_block_erase_60, |
| 1439 | }, { |
| 1440 | .eraseblocks = { {512 * 1024, 1} }, |
| 1441 | .block_erase = spi_block_erase_c7, |
| 1442 | } |
| 1443 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1444 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1445 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1446 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1447 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1448 | }, |
| 1449 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1450 | { |
| 1451 | .vendor = "Atmel", |
| 1452 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1453 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1454 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1455 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1456 | .total_size = 512, |
| 1457 | .page_size = 256, |
| 1458 | .tested = TEST_UNTESTED, |
| 1459 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1460 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1461 | .block_erasers = |
| 1462 | { |
| 1463 | { |
| 1464 | .eraseblocks = { {4 * 1024, 128} }, |
| 1465 | .block_erase = spi_block_erase_20, |
| 1466 | } |
| 1467 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1468 | .write = NULL /* Incompatible Page write */, |
| 1469 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1470 | }, |
| 1471 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1472 | { |
| 1473 | .vendor = "Atmel", |
| 1474 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1475 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1476 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1477 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1478 | .total_size = 1024, |
| 1479 | .page_size = 256, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 1480 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1481 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1482 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1483 | .block_erasers = |
| 1484 | { |
| 1485 | { |
| 1486 | .eraseblocks = { {4 * 1024, 256} }, |
| 1487 | .block_erase = spi_block_erase_20, |
| 1488 | }, { |
| 1489 | .eraseblocks = { {32 * 1024, 32} }, |
| 1490 | .block_erase = spi_block_erase_52, |
| 1491 | }, { |
| 1492 | .eraseblocks = { {64 * 1024, 16} }, |
| 1493 | .block_erase = spi_block_erase_d8, |
| 1494 | }, { |
| 1495 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1496 | .block_erase = spi_block_erase_60, |
| 1497 | }, { |
| 1498 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1499 | .block_erase = spi_block_erase_c7, |
| 1500 | } |
| 1501 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1502 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1503 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1504 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1505 | }, |
| 1506 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1507 | { |
| 1508 | .vendor = "Atmel", |
| 1509 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1510 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1511 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1512 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1513 | .total_size = 2048, |
| 1514 | .page_size = 256, |
| 1515 | .tested = TEST_UNTESTED, |
| 1516 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1517 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1518 | .block_erasers = |
| 1519 | { |
| 1520 | { |
| 1521 | .eraseblocks = { {4 * 1024, 512} }, |
| 1522 | .block_erase = spi_block_erase_20, |
| 1523 | }, { |
| 1524 | .eraseblocks = { {32 * 1024, 64} }, |
| 1525 | .block_erase = spi_block_erase_52, |
| 1526 | }, { |
| 1527 | .eraseblocks = { {64 * 1024, 32} }, |
| 1528 | .block_erase = spi_block_erase_d8, |
| 1529 | }, { |
| 1530 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1531 | .block_erase = spi_block_erase_60, |
| 1532 | }, { |
| 1533 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1534 | .block_erase = spi_block_erase_c7, |
| 1535 | } |
| 1536 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1537 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1538 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1539 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1540 | }, |
| 1541 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1542 | { |
| 1543 | .vendor = "Atmel", |
| 1544 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1545 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1546 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1547 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1548 | .total_size = 2048, |
| 1549 | .page_size = 256, |
| 1550 | .tested = TEST_UNTESTED, |
| 1551 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1552 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1553 | .block_erasers = |
| 1554 | { |
| 1555 | { |
| 1556 | .eraseblocks = { {4 * 1024, 512} }, |
| 1557 | .block_erase = spi_block_erase_20, |
| 1558 | }, { |
| 1559 | .eraseblocks = { {32 * 1024, 64} }, |
| 1560 | .block_erase = spi_block_erase_52, |
| 1561 | }, { |
| 1562 | .eraseblocks = { {64 * 1024, 32} }, |
| 1563 | .block_erase = spi_block_erase_d8, |
| 1564 | }, { |
| 1565 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1566 | .block_erase = spi_block_erase_60, |
| 1567 | }, { |
| 1568 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1569 | .block_erase = spi_block_erase_c7, |
| 1570 | } |
| 1571 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1572 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1573 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1574 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1575 | }, |
| 1576 | |
| 1577 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1578 | /*{ |
| 1579 | .vendor = "Atmel", |
| 1580 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1581 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1582 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1583 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1584 | .total_size = 4096, |
| 1585 | .page_size = 256, |
| 1586 | .tested = TEST_UNTESTED, |
| 1587 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1588 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1589 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1590 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1591 | .read = spi_chip_read, |
| 1592 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1593 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1594 | { |
| 1595 | .vendor = "Atmel", |
| 1596 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1597 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1598 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1599 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1600 | .total_size = 512, |
| 1601 | .page_size = 256, |
| 1602 | .tested = TEST_UNTESTED, |
| 1603 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1604 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1605 | .block_erasers = |
| 1606 | { |
| 1607 | { |
| 1608 | .eraseblocks = { {4 * 1024, 128} }, |
| 1609 | .block_erase = spi_block_erase_20, |
| 1610 | }, { |
| 1611 | .eraseblocks = { {32 * 1024, 16} }, |
| 1612 | .block_erase = spi_block_erase_52, |
| 1613 | }, { |
| 1614 | .eraseblocks = { {64 * 1024, 8} }, |
| 1615 | .block_erase = spi_block_erase_d8, |
| 1616 | }, { |
| 1617 | .eraseblocks = { {512 * 1024, 1} }, |
| 1618 | .block_erase = spi_block_erase_60, |
| 1619 | }, { |
| 1620 | .eraseblocks = { {512 * 1024, 1} }, |
| 1621 | .block_erase = spi_block_erase_c7, |
| 1622 | } |
| 1623 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1624 | .write = NULL /* Incompatible Page write */, |
| 1625 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1626 | }, |
| 1627 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1628 | { |
| 1629 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1630 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1631 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1632 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1633 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1634 | .total_size = 64, |
| 1635 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1636 | .feature_bits = FEATURE_LONG_RESET, |
| 1637 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1638 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1639 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1640 | .block_erasers = |
| 1641 | { |
| 1642 | { |
| 1643 | .eraseblocks = { {64 * 1024, 1} }, |
| 1644 | .block_erase = erase_chip_block_jedec, |
| 1645 | } |
| 1646 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1647 | .write = write_jedec, |
| 1648 | .read = read_memmapped, |
| 1649 | |
| 1650 | }, |
| 1651 | |
| 1652 | { |
| 1653 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1654 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1655 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1656 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1657 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1658 | .total_size = 128, |
| 1659 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1660 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 1661 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1662 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1663 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1664 | .block_erasers = |
| 1665 | { |
| 1666 | { |
| 1667 | .eraseblocks = { {128 * 1024, 1} }, |
| 1668 | .block_erase = erase_chip_block_jedec, |
| 1669 | } |
| 1670 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1671 | .write = write_jedec, /* FIXME */ |
| 1672 | .read = read_memmapped, |
| 1673 | }, |
| 1674 | |
| 1675 | { |
| 1676 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1677 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1678 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1679 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1680 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1681 | .total_size = 256, |
| 1682 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1683 | .feature_bits = FEATURE_LONG_RESET, |
| 1684 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1685 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 1686 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1687 | .block_erasers = |
| 1688 | { |
| 1689 | { |
| 1690 | .eraseblocks = { {256 * 1024, 1} }, |
| 1691 | .block_erase = erase_chip_block_jedec, |
| 1692 | } |
| 1693 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1694 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1695 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1696 | }, |
| 1697 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1698 | { |
| 1699 | .vendor = "Atmel", |
| 1700 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1701 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1702 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1703 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1704 | .total_size = 512, |
| 1705 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1706 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1707 | .tested = TEST_UNTESTED, |
| 1708 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 1709 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1710 | .block_erasers = |
| 1711 | { |
| 1712 | { |
| 1713 | .eraseblocks = { {512 * 1024, 1} }, |
| 1714 | .block_erase = erase_chip_block_jedec, |
| 1715 | } |
| 1716 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1717 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1718 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1719 | }, |
| 1720 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1721 | { |
| 1722 | .vendor = "Atmel", |
| 1723 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1724 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1725 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1726 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1727 | .total_size = 16896 /* No power of two sizes */, |
| 1728 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1729 | .tested = TEST_BAD_READ, |
| 1730 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1731 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1732 | .write = NULL /* Incompatible Page write */, |
| 1733 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1734 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1735 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1736 | { |
| 1737 | .vendor = "Atmel", |
| 1738 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1739 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1740 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1741 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1742 | .total_size = 128 /* Size can only be determined from status register */, |
| 1743 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1744 | .tested = TEST_BAD_READ, |
| 1745 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1746 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1747 | .write = NULL, |
| 1748 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1749 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1750 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1751 | { |
| 1752 | .vendor = "Atmel", |
| 1753 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1754 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1755 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1756 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1757 | .total_size = 256 /* Size can only be determined from status register */, |
| 1758 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1759 | .tested = TEST_BAD_READ, |
| 1760 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1761 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1762 | .write = NULL, |
| 1763 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1764 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1765 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1766 | { |
| 1767 | .vendor = "Atmel", |
| 1768 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1769 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1770 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1771 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1772 | .total_size = 512 /* Size can only be determined from status register */, |
| 1773 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1774 | .tested = TEST_BAD_READ, |
| 1775 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1776 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1777 | .write = NULL, |
| 1778 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1779 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1780 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1781 | { |
| 1782 | .vendor = "Atmel", |
| 1783 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1784 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1785 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1786 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1787 | .total_size = 1024 /* Size can only be determined from status register */, |
| 1788 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1789 | .tested = TEST_BAD_READ, |
| 1790 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1791 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1792 | .write = NULL, |
| 1793 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1794 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1795 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1796 | { |
| 1797 | .vendor = "Atmel", |
| 1798 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1799 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1800 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1801 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1802 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1803 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1804 | .tested = TEST_BAD_READ, |
| 1805 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1806 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1807 | .write = NULL, |
| 1808 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1809 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1810 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1811 | { |
| 1812 | .vendor = "Atmel", |
| 1813 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1814 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1815 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1816 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1817 | .total_size = 4224 /* No power of two sizes */, |
| 1818 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1819 | .tested = TEST_BAD_READ, |
| 1820 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1821 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1822 | .write = NULL, |
| 1823 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1824 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1825 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1826 | { |
| 1827 | .vendor = "Atmel", |
| 1828 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1829 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1830 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1831 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1832 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1833 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1834 | .tested = TEST_BAD_READ, |
| 1835 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1836 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1837 | .write = NULL, |
| 1838 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 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 = "AT45DB642D", |
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_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1847 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1848 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1849 | .tested = TEST_BAD_READ, |
| 1850 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1851 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1852 | .write = NULL, |
| 1853 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1854 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1855 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1856 | { |
| 1857 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1858 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1859 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1860 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1861 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1862 | .total_size = 64, |
| 1863 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1864 | .feature_bits = FEATURE_EITHER_RESET, |
| 1865 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1866 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1867 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1868 | .block_erasers = |
| 1869 | { |
| 1870 | { |
| 1871 | .eraseblocks = { {64 * 1024, 1} }, |
| 1872 | .block_erase = erase_chip_block_jedec, |
| 1873 | } |
| 1874 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1875 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1876 | .read = read_memmapped, |
| 1877 | }, |
| 1878 | |
| 1879 | { |
| 1880 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1881 | .name = "AT49F020", |
| 1882 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1883 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1884 | .model_id = ATMEL_AT49F020, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1885 | .total_size = 256, |
| 1886 | .page_size = 256, |
| 1887 | .feature_bits = FEATURE_EITHER_RESET, |
| 1888 | .tested = TEST_OK_PREW, |
| 1889 | .probe = probe_jedec, |
| 1890 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 1891 | .block_erasers = |
| 1892 | { |
| 1893 | { |
| 1894 | .eraseblocks = { {256 * 1024, 1} }, |
| 1895 | .block_erase = erase_chip_block_jedec, |
| 1896 | } |
| 1897 | }, |
| 1898 | .write = write_jedec_1, |
| 1899 | .read = read_memmapped, |
| 1900 | }, |
| 1901 | |
| 1902 | { |
| 1903 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1904 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1905 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1906 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1907 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1908 | .total_size = 256, |
| 1909 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1910 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1911 | .tested = TEST_UNTESTED, |
| 1912 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1913 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1914 | .block_erasers = |
| 1915 | { |
| 1916 | { |
| 1917 | .eraseblocks = { |
| 1918 | {16 * 1024, 1}, |
| 1919 | {8 * 1024, 2}, |
| 1920 | {96 * 1024, 1}, |
| 1921 | {128 * 1024, 1}, |
| 1922 | }, |
| 1923 | .block_erase = erase_sector_jedec, |
| 1924 | }, { |
| 1925 | .eraseblocks = { {256 * 1024, 1} }, |
| 1926 | .block_erase = erase_chip_block_jedec, |
| 1927 | } |
| 1928 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1929 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1930 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1931 | }, |
| 1932 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1933 | { |
| 1934 | .vendor = "Atmel", |
| 1935 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1936 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1937 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 1938 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1939 | .total_size = 256, |
| 1940 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1941 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1942 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1943 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1944 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1945 | .block_erasers = |
| 1946 | { |
| 1947 | { |
| 1948 | .eraseblocks = { |
| 1949 | {128 * 1024, 1}, |
| 1950 | {96 * 1024, 1}, |
| 1951 | {8 * 1024, 2}, |
| 1952 | {16 * 1024, 1}, |
| 1953 | }, |
| 1954 | .block_erase = erase_sector_jedec, |
| 1955 | }, { |
| 1956 | .eraseblocks = { {256 * 1024, 1} }, |
| 1957 | .block_erase = erase_chip_block_jedec, |
| 1958 | } |
| 1959 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1960 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1961 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1962 | }, |
| 1963 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1964 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1965 | .vendor = "EMST", |
| 1966 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1967 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1968 | .manufacture_id = EMST_ID, |
| 1969 | .model_id = EMST_F49B002UA, |
| 1970 | .total_size = 256, |
| 1971 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1972 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1973 | .tested = TEST_UNTESTED, |
| 1974 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1975 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1976 | .block_erasers = |
| 1977 | { |
| 1978 | { |
| 1979 | .eraseblocks = { |
| 1980 | {128 * 1024, 1}, |
| 1981 | {96 * 1024, 1}, |
| 1982 | {8 * 1024, 2}, |
| 1983 | {16 * 1024, 1}, |
| 1984 | }, |
| 1985 | .block_erase = erase_sector_jedec, |
| 1986 | }, { |
| 1987 | .eraseblocks = { {256 * 1024, 1} }, |
| 1988 | .block_erase = erase_chip_block_jedec, |
| 1989 | } |
| 1990 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1991 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1992 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1993 | }, |
| 1994 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1995 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 1996 | .vendor = "EMST", |
| 1997 | .name = "F25L008A", |
| 1998 | .bustype = CHIP_BUSTYPE_SPI, |
| 1999 | .manufacture_id = EMST_ID, |
| 2000 | .model_id = EMST_F25L008A, |
| 2001 | .total_size = 1024, |
| 2002 | .page_size = 256, |
| 2003 | .tested = TEST_UNTESTED, |
| 2004 | .probe = probe_spi_rdid, |
| 2005 | .probe_timing = TIMING_ZERO, |
| 2006 | .block_erasers = |
| 2007 | { |
| 2008 | { |
| 2009 | .eraseblocks = { {4 * 1024, 256} }, |
| 2010 | .block_erase = spi_block_erase_20, |
| 2011 | }, { |
| 2012 | .eraseblocks = { {64 * 1024, 16} }, |
| 2013 | .block_erase = spi_block_erase_d8, |
| 2014 | }, { |
| 2015 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2016 | .block_erase = spi_block_erase_60, |
| 2017 | }, { |
| 2018 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2019 | .block_erase = spi_block_erase_c7, |
| 2020 | } |
| 2021 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2022 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2023 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2024 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2025 | }, |
| 2026 | |
| 2027 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2028 | .vendor = "Eon", |
| 2029 | .name = "EN25B05", |
| 2030 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2031 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2032 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2033 | .total_size = 64, |
| 2034 | .page_size = 256, |
| 2035 | .tested = TEST_UNTESTED, |
| 2036 | .probe = probe_spi_rdid, |
| 2037 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2038 | .block_erasers = |
| 2039 | { |
| 2040 | { |
| 2041 | .eraseblocks = { |
| 2042 | {4 * 1024, 2}, |
| 2043 | {8 * 1024, 1}, |
| 2044 | {16 * 1024, 1}, |
| 2045 | {32 * 1024, 1}, |
| 2046 | }, |
| 2047 | .block_erase = spi_block_erase_d8, |
| 2048 | }, { |
| 2049 | .eraseblocks = { {64 * 1024, 1} }, |
| 2050 | .block_erase = spi_block_erase_c7, |
| 2051 | } |
| 2052 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2053 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2054 | .write = spi_chip_write_256, |
| 2055 | .read = spi_chip_read, |
| 2056 | }, |
| 2057 | |
| 2058 | { |
| 2059 | .vendor = "Eon", |
| 2060 | .name = "EN25B05T", |
| 2061 | .bustype = CHIP_BUSTYPE_SPI, |
| 2062 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2063 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2064 | .total_size = 64, |
| 2065 | .page_size = 256, |
| 2066 | .tested = TEST_UNTESTED, |
| 2067 | .probe = probe_spi_rdid, |
| 2068 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2069 | .block_erasers = |
| 2070 | { |
| 2071 | { |
| 2072 | .eraseblocks = { |
| 2073 | {32 * 1024, 1}, |
| 2074 | {16 * 1024, 1}, |
| 2075 | {8 * 1024, 1}, |
| 2076 | {4 * 1024, 2}, |
| 2077 | }, |
| 2078 | .block_erase = spi_block_erase_d8, |
| 2079 | }, { |
| 2080 | .eraseblocks = { {64 * 1024, 1} }, |
| 2081 | .block_erase = spi_block_erase_c7, |
| 2082 | } |
| 2083 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2084 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2085 | .write = spi_chip_write_256, |
| 2086 | .read = spi_chip_read, |
| 2087 | }, |
| 2088 | |
| 2089 | { |
| 2090 | .vendor = "Eon", |
| 2091 | .name = "EN25B10", |
| 2092 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2093 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2094 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2095 | .total_size = 128, |
| 2096 | .page_size = 256, |
| 2097 | .tested = TEST_UNTESTED, |
| 2098 | .probe = probe_spi_rdid, |
| 2099 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2100 | .block_erasers = |
| 2101 | { |
| 2102 | { |
| 2103 | .eraseblocks = { |
| 2104 | {4 * 1024, 2}, |
| 2105 | {8 * 1024, 1}, |
| 2106 | {16 * 1024, 1}, |
| 2107 | {32 * 1024, 3}, |
| 2108 | }, |
| 2109 | .block_erase = spi_block_erase_d8, |
| 2110 | }, { |
| 2111 | .eraseblocks = { {128 * 1024, 1} }, |
| 2112 | .block_erase = spi_block_erase_c7, |
| 2113 | } |
| 2114 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2115 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2116 | .write = spi_chip_write_256, |
| 2117 | .read = spi_chip_read, |
| 2118 | }, |
| 2119 | |
| 2120 | { |
| 2121 | .vendor = "Eon", |
| 2122 | .name = "EN25B10T", |
| 2123 | .bustype = CHIP_BUSTYPE_SPI, |
| 2124 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2125 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2126 | .total_size = 128, |
| 2127 | .page_size = 256, |
| 2128 | .tested = TEST_UNTESTED, |
| 2129 | .probe = probe_spi_rdid, |
| 2130 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2131 | .block_erasers = |
| 2132 | { |
| 2133 | { |
| 2134 | .eraseblocks = { |
| 2135 | {32 * 1024, 3}, |
| 2136 | {16 * 1024, 1}, |
| 2137 | {8 * 1024, 1}, |
| 2138 | {4 * 1024, 2}, |
| 2139 | }, |
| 2140 | .block_erase = spi_block_erase_d8, |
| 2141 | }, { |
| 2142 | .eraseblocks = { {128 * 1024, 1} }, |
| 2143 | .block_erase = spi_block_erase_c7, |
| 2144 | } |
| 2145 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2146 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2147 | .write = spi_chip_write_256, |
| 2148 | .read = spi_chip_read, |
| 2149 | }, |
| 2150 | |
| 2151 | { |
| 2152 | .vendor = "Eon", |
| 2153 | .name = "EN25B20", |
| 2154 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2155 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2156 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2157 | .total_size = 256, |
| 2158 | .page_size = 256, |
| 2159 | .tested = TEST_UNTESTED, |
| 2160 | .probe = probe_spi_rdid, |
| 2161 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2162 | .block_erasers = |
| 2163 | { |
| 2164 | { |
| 2165 | .eraseblocks = { |
| 2166 | {4 * 1024, 2}, |
| 2167 | {8 * 1024, 1}, |
| 2168 | {16 * 1024, 1}, |
| 2169 | {32 * 1024, 1}, |
| 2170 | {64 * 1024, 3} |
| 2171 | }, |
| 2172 | .block_erase = spi_block_erase_d8, |
| 2173 | }, { |
| 2174 | .eraseblocks = { {256 * 1024, 1} }, |
| 2175 | .block_erase = spi_block_erase_c7, |
| 2176 | } |
| 2177 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2178 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2179 | .write = spi_chip_write_256, |
| 2180 | .read = spi_chip_read, |
| 2181 | }, |
| 2182 | |
| 2183 | { |
| 2184 | .vendor = "Eon", |
| 2185 | .name = "EN25B20T", |
| 2186 | .bustype = CHIP_BUSTYPE_SPI, |
| 2187 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2188 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2189 | .total_size = 256, |
| 2190 | .page_size = 256, |
| 2191 | .tested = TEST_UNTESTED, |
| 2192 | .probe = probe_spi_rdid, |
| 2193 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2194 | .block_erasers = |
| 2195 | { |
| 2196 | { |
| 2197 | .eraseblocks = { |
| 2198 | {64 * 1024, 3}, |
| 2199 | {32 * 1024, 1}, |
| 2200 | {16 * 1024, 1}, |
| 2201 | {8 * 1024, 1}, |
| 2202 | {4 * 1024, 2}, |
| 2203 | }, |
| 2204 | .block_erase = spi_block_erase_d8, |
| 2205 | }, { |
| 2206 | .eraseblocks = { {256 * 1024, 1} }, |
| 2207 | .block_erase = spi_block_erase_c7, |
| 2208 | } |
| 2209 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2210 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2211 | .write = spi_chip_write_256, |
| 2212 | .read = spi_chip_read, |
| 2213 | }, |
| 2214 | |
| 2215 | { |
| 2216 | .vendor = "Eon", |
| 2217 | .name = "EN25B40", |
| 2218 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2219 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2220 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2221 | .total_size = 512, |
| 2222 | .page_size = 256, |
| 2223 | .tested = TEST_UNTESTED, |
| 2224 | .probe = probe_spi_rdid, |
| 2225 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2226 | .block_erasers = |
| 2227 | { |
| 2228 | { |
| 2229 | .eraseblocks = { |
| 2230 | {4 * 1024, 2}, |
| 2231 | {8 * 1024, 1}, |
| 2232 | {16 * 1024, 1}, |
| 2233 | {32 * 1024, 1}, |
| 2234 | {64 * 1024, 7} |
| 2235 | }, |
| 2236 | .block_erase = spi_block_erase_d8, |
| 2237 | }, { |
| 2238 | .eraseblocks = { {512 * 1024, 1} }, |
| 2239 | .block_erase = spi_block_erase_c7, |
| 2240 | } |
| 2241 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2242 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2243 | .write = spi_chip_write_256, |
| 2244 | .read = spi_chip_read, |
| 2245 | }, |
| 2246 | |
| 2247 | { |
| 2248 | .vendor = "Eon", |
| 2249 | .name = "EN25B40T", |
| 2250 | .bustype = CHIP_BUSTYPE_SPI, |
| 2251 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2252 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2253 | .total_size = 512, |
| 2254 | .page_size = 256, |
| 2255 | .tested = TEST_UNTESTED, |
| 2256 | .probe = probe_spi_rdid, |
| 2257 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2258 | .block_erasers = |
| 2259 | { |
| 2260 | { |
| 2261 | .eraseblocks = { |
| 2262 | {64 * 1024, 7}, |
| 2263 | {32 * 1024, 1}, |
| 2264 | {16 * 1024, 1}, |
| 2265 | {8 * 1024, 1}, |
| 2266 | {4 * 1024, 2}, |
| 2267 | }, |
| 2268 | .block_erase = spi_block_erase_d8, |
| 2269 | }, { |
| 2270 | .eraseblocks = { {512 * 1024, 1} }, |
| 2271 | .block_erase = spi_block_erase_c7, |
| 2272 | } |
| 2273 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2274 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2275 | .write = spi_chip_write_256, |
| 2276 | .read = spi_chip_read, |
| 2277 | }, |
| 2278 | |
| 2279 | { |
| 2280 | .vendor = "Eon", |
| 2281 | .name = "EN25B80", |
| 2282 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2283 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2284 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2285 | .total_size = 1024, |
| 2286 | .page_size = 256, |
| 2287 | .tested = TEST_UNTESTED, |
| 2288 | .probe = probe_spi_rdid, |
| 2289 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2290 | .block_erasers = |
| 2291 | { |
| 2292 | { |
| 2293 | .eraseblocks = { |
| 2294 | {4 * 1024, 2}, |
| 2295 | {8 * 1024, 1}, |
| 2296 | {16 * 1024, 1}, |
| 2297 | {32 * 1024, 1}, |
| 2298 | {64 * 1024, 15} |
| 2299 | }, |
| 2300 | .block_erase = spi_block_erase_d8, |
| 2301 | }, { |
| 2302 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2303 | .block_erase = spi_block_erase_c7, |
| 2304 | } |
| 2305 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2306 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2307 | .write = spi_chip_write_256, |
| 2308 | .read = spi_chip_read, |
| 2309 | }, |
| 2310 | |
| 2311 | { |
| 2312 | .vendor = "Eon", |
| 2313 | .name = "EN25B80T", |
| 2314 | .bustype = CHIP_BUSTYPE_SPI, |
| 2315 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2316 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2317 | .total_size = 1024, |
| 2318 | .page_size = 256, |
| 2319 | .tested = TEST_UNTESTED, |
| 2320 | .probe = probe_spi_rdid, |
| 2321 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2322 | .block_erasers = |
| 2323 | { |
| 2324 | { |
| 2325 | .eraseblocks = { |
| 2326 | {64 * 1024, 15}, |
| 2327 | {32 * 1024, 1}, |
| 2328 | {16 * 1024, 1}, |
| 2329 | {8 * 1024, 1}, |
| 2330 | {4 * 1024, 2}, |
| 2331 | }, |
| 2332 | .block_erase = spi_block_erase_d8, |
| 2333 | }, { |
| 2334 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2335 | .block_erase = spi_block_erase_c7, |
| 2336 | } |
| 2337 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2338 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2339 | .write = spi_chip_write_256, |
| 2340 | .read = spi_chip_read, |
| 2341 | }, |
| 2342 | |
| 2343 | { |
| 2344 | .vendor = "Eon", |
| 2345 | .name = "EN25B16", |
| 2346 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2347 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2348 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2349 | .total_size = 2048, |
| 2350 | .page_size = 256, |
| 2351 | .tested = TEST_UNTESTED, |
| 2352 | .probe = probe_spi_rdid, |
| 2353 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2354 | .block_erasers = |
| 2355 | { |
| 2356 | { |
| 2357 | .eraseblocks = { |
| 2358 | {4 * 1024, 2}, |
| 2359 | {8 * 1024, 1}, |
| 2360 | {16 * 1024, 1}, |
| 2361 | {32 * 1024, 1}, |
| 2362 | {64 * 1024, 31}, |
| 2363 | }, |
| 2364 | .block_erase = spi_block_erase_d8, |
| 2365 | }, { |
| 2366 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2367 | .block_erase = spi_block_erase_c7, |
| 2368 | } |
| 2369 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2370 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2371 | .write = spi_chip_write_256, |
| 2372 | .read = spi_chip_read, |
| 2373 | }, |
| 2374 | |
| 2375 | { |
| 2376 | .vendor = "Eon", |
| 2377 | .name = "EN25B16T", |
| 2378 | .bustype = CHIP_BUSTYPE_SPI, |
| 2379 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2380 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2381 | .total_size = 2048, |
| 2382 | .page_size = 256, |
| 2383 | .tested = TEST_UNTESTED, |
| 2384 | .probe = probe_spi_rdid, |
| 2385 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2386 | .block_erasers = |
| 2387 | { |
| 2388 | { |
| 2389 | .eraseblocks = { |
| 2390 | {64 * 1024, 31}, |
| 2391 | {32 * 1024, 1}, |
| 2392 | {16 * 1024, 1}, |
| 2393 | {8 * 1024, 1}, |
| 2394 | {4 * 1024, 2}, |
| 2395 | }, |
| 2396 | .block_erase = spi_block_erase_d8, |
| 2397 | }, { |
| 2398 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2399 | .block_erase = spi_block_erase_c7, |
| 2400 | } |
| 2401 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2402 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2403 | .write = spi_chip_write_256, |
| 2404 | .read = spi_chip_read, |
| 2405 | }, |
| 2406 | |
| 2407 | { |
| 2408 | .vendor = "Eon", |
| 2409 | .name = "EN25B32", |
| 2410 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2411 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2412 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2413 | .total_size = 4096, |
| 2414 | .page_size = 256, |
| 2415 | .tested = TEST_UNTESTED, |
| 2416 | .probe = probe_spi_rdid, |
| 2417 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2418 | .block_erasers = |
| 2419 | { |
| 2420 | { |
| 2421 | .eraseblocks = { |
| 2422 | {4 * 1024, 2}, |
| 2423 | {8 * 1024, 1}, |
| 2424 | {16 * 1024, 1}, |
| 2425 | {32 * 1024, 1}, |
| 2426 | {64 * 1024, 63}, |
| 2427 | }, |
| 2428 | .block_erase = spi_block_erase_d8, |
| 2429 | }, { |
| 2430 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2431 | .block_erase = spi_block_erase_c7, |
| 2432 | } |
| 2433 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2434 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2435 | .write = spi_chip_write_256, |
| 2436 | .read = spi_chip_read, |
| 2437 | }, |
| 2438 | |
| 2439 | { |
| 2440 | .vendor = "Eon", |
| 2441 | .name = "EN25B32T", |
| 2442 | .bustype = CHIP_BUSTYPE_SPI, |
| 2443 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2444 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2445 | .total_size = 4096, |
| 2446 | .page_size = 256, |
| 2447 | .tested = TEST_UNTESTED, |
| 2448 | .probe = probe_spi_rdid, |
| 2449 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2450 | .block_erasers = |
| 2451 | { |
| 2452 | { |
| 2453 | .eraseblocks = { |
| 2454 | {64 * 1024, 63}, |
| 2455 | {32 * 1024, 1}, |
| 2456 | {16 * 1024, 1}, |
| 2457 | {8 * 1024, 1}, |
| 2458 | {4 * 1024, 2}, |
| 2459 | }, |
| 2460 | .block_erase = spi_block_erase_d8, |
| 2461 | }, { |
| 2462 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2463 | .block_erase = spi_block_erase_c7, |
| 2464 | } |
| 2465 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2466 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2467 | .write = spi_chip_write_256, |
| 2468 | .read = spi_chip_read, |
| 2469 | }, |
| 2470 | |
| 2471 | { |
| 2472 | .vendor = "Eon", |
| 2473 | .name = "EN25B64", |
| 2474 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2475 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2476 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2477 | .total_size = 8192, |
| 2478 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2479 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2480 | .tested = TEST_UNTESTED, |
| 2481 | .probe = probe_spi_rdid, |
| 2482 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2483 | .block_erasers = |
| 2484 | { |
| 2485 | { |
| 2486 | .eraseblocks = { |
| 2487 | {4 * 1024, 2}, |
| 2488 | {8 * 1024, 1}, |
| 2489 | {16 * 1024, 1}, |
| 2490 | {32 * 1024, 1}, |
| 2491 | {64 * 1024, 127}, |
| 2492 | }, |
| 2493 | .block_erase = spi_block_erase_d8, |
| 2494 | }, { |
| 2495 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2496 | .block_erase = spi_block_erase_c7, |
| 2497 | } |
| 2498 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2499 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2500 | .write = spi_chip_write_256, |
| 2501 | .read = spi_chip_read, |
| 2502 | }, |
| 2503 | |
| 2504 | { |
| 2505 | .vendor = "Eon", |
| 2506 | .name = "EN25B64T", |
| 2507 | .bustype = CHIP_BUSTYPE_SPI, |
| 2508 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2509 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2510 | .total_size = 8192, |
| 2511 | .page_size = 256, |
| 2512 | .tested = TEST_UNTESTED, |
| 2513 | .probe = probe_spi_rdid, |
| 2514 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2515 | .block_erasers = |
| 2516 | { |
| 2517 | { |
| 2518 | .eraseblocks = { |
| 2519 | {64 * 1024, 127}, |
| 2520 | {32 * 1024, 1}, |
| 2521 | {16 * 1024, 1}, |
| 2522 | {8 * 1024, 1}, |
| 2523 | {4 * 1024, 2}, |
| 2524 | }, |
| 2525 | .block_erase = spi_block_erase_d8, |
| 2526 | }, { |
| 2527 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2528 | .block_erase = spi_block_erase_c7, |
| 2529 | } |
| 2530 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2531 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2532 | .write = spi_chip_write_256, |
| 2533 | .read = spi_chip_read, |
| 2534 | }, |
| 2535 | |
| 2536 | { |
| 2537 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2538 | .name = "EN25D16", |
| 2539 | .bustype = CHIP_BUSTYPE_SPI, |
| 2540 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2541 | .model_id = EON_EN25D16, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2542 | .total_size = 2048, |
| 2543 | .page_size = 256, |
| 2544 | .tested = TEST_UNTESTED, |
| 2545 | .probe = probe_spi_rdid, |
| 2546 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2547 | .block_erasers = |
| 2548 | { |
| 2549 | { |
| 2550 | .eraseblocks = { {4 * 1024, 512} }, |
| 2551 | .block_erase = spi_block_erase_20, |
| 2552 | }, { |
| 2553 | .eraseblocks = { {64 * 1024, 32} }, |
| 2554 | .block_erase = spi_block_erase_d8, |
| 2555 | }, { |
| 2556 | .eraseblocks = { {64 * 1024, 32} }, |
| 2557 | .block_erase = spi_block_erase_52, |
| 2558 | }, { |
| 2559 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2560 | .block_erase = spi_block_erase_60, |
| 2561 | }, { |
| 2562 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2563 | .block_erase = spi_block_erase_c7, |
| 2564 | } |
| 2565 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2566 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2567 | .write = spi_chip_write_256, |
| 2568 | .read = spi_chip_read, |
| 2569 | }, |
| 2570 | |
| 2571 | { |
| 2572 | .vendor = "Eon", |
| 2573 | .name = "EN25F05", |
| 2574 | .bustype = CHIP_BUSTYPE_SPI, |
| 2575 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2576 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2577 | .total_size = 64, |
| 2578 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2579 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2580 | .tested = TEST_UNTESTED, |
| 2581 | .probe = probe_spi_rdid, |
| 2582 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2583 | .block_erasers = |
| 2584 | { |
| 2585 | { |
| 2586 | .eraseblocks = { {4 * 1024, 16} }, |
| 2587 | .block_erase = spi_block_erase_20, |
| 2588 | }, { |
| 2589 | .eraseblocks = { {32 * 1024, 2} }, |
| 2590 | .block_erase = spi_block_erase_d8, |
| 2591 | }, { |
| 2592 | .eraseblocks = { {32 * 1024, 2} }, |
| 2593 | .block_erase = spi_block_erase_52, |
| 2594 | }, { |
| 2595 | .eraseblocks = { {64 * 1024, 1} }, |
| 2596 | .block_erase = spi_block_erase_60, |
| 2597 | }, { |
| 2598 | .eraseblocks = { {64 * 1024, 1} }, |
| 2599 | .block_erase = spi_block_erase_c7, |
| 2600 | } |
| 2601 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2602 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2603 | .write = spi_chip_write_256, |
| 2604 | .read = spi_chip_read, |
| 2605 | }, |
| 2606 | |
| 2607 | { |
| 2608 | .vendor = "Eon", |
| 2609 | .name = "EN25F10", |
| 2610 | .bustype = CHIP_BUSTYPE_SPI, |
| 2611 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2612 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2613 | .total_size = 128, |
| 2614 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2615 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2616 | .tested = TEST_UNTESTED, |
| 2617 | .probe = probe_spi_rdid, |
| 2618 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2619 | .block_erasers = |
| 2620 | { |
| 2621 | { |
| 2622 | .eraseblocks = { {4 * 1024, 32} }, |
| 2623 | .block_erase = spi_block_erase_20, |
| 2624 | }, { |
| 2625 | .eraseblocks = { {32 * 1024, 4} }, |
| 2626 | .block_erase = spi_block_erase_d8, |
| 2627 | }, { |
| 2628 | .eraseblocks = { {32 * 1024, 4} }, |
| 2629 | .block_erase = spi_block_erase_52, |
| 2630 | }, { |
| 2631 | .eraseblocks = { {128 * 1024, 1} }, |
| 2632 | .block_erase = spi_block_erase_60, |
| 2633 | }, { |
| 2634 | .eraseblocks = { {128 * 1024, 1} }, |
| 2635 | .block_erase = spi_block_erase_c7, |
| 2636 | } |
| 2637 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2638 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2639 | .write = spi_chip_write_256, |
| 2640 | .read = spi_chip_read, |
| 2641 | }, |
| 2642 | |
| 2643 | { |
| 2644 | .vendor = "Eon", |
| 2645 | .name = "EN25F20", |
| 2646 | .bustype = CHIP_BUSTYPE_SPI, |
| 2647 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2648 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2649 | .total_size = 256, |
| 2650 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2651 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2652 | .tested = TEST_UNTESTED, |
| 2653 | .probe = probe_spi_rdid, |
| 2654 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2655 | .block_erasers = |
| 2656 | { |
| 2657 | { |
| 2658 | .eraseblocks = { {4 * 1024, 64} }, |
| 2659 | .block_erase = spi_block_erase_20, |
| 2660 | }, { |
| 2661 | .eraseblocks = { {64 * 1024, 4} }, |
| 2662 | .block_erase = spi_block_erase_d8, |
| 2663 | }, { |
| 2664 | .eraseblocks = { {64 * 1024, 4} }, |
| 2665 | .block_erase = spi_block_erase_52, |
| 2666 | }, { |
| 2667 | .eraseblocks = { {256 * 1024, 1} }, |
| 2668 | .block_erase = spi_block_erase_60, |
| 2669 | }, { |
| 2670 | .eraseblocks = { {256 * 1024, 1} }, |
| 2671 | .block_erase = spi_block_erase_c7, |
| 2672 | } |
| 2673 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2674 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2675 | .write = spi_chip_write_256, |
| 2676 | .read = spi_chip_read, |
| 2677 | }, |
| 2678 | |
| 2679 | { |
| 2680 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2681 | .name = "EN25F40", |
| 2682 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2683 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2684 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2685 | .total_size = 512, |
| 2686 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2687 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2688 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2689 | .probe = probe_spi_rdid, |
| 2690 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2691 | .block_erasers = |
| 2692 | { |
| 2693 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2694 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2695 | .block_erase = spi_block_erase_20, |
| 2696 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2697 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2698 | .block_erase = spi_block_erase_d8, |
| 2699 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2700 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2701 | .block_erase = spi_block_erase_60, |
| 2702 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2703 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2708 | .write = spi_chip_write_256, |
| 2709 | .read = spi_chip_read, |
| 2710 | }, |
| 2711 | |
| 2712 | { |
| 2713 | .vendor = "Eon", |
| 2714 | .name = "EN25F80", |
| 2715 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2716 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2717 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2718 | .total_size = 1024, |
| 2719 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2720 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2721 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2722 | .probe = probe_spi_rdid, |
| 2723 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2724 | .block_erasers = |
| 2725 | { |
| 2726 | { |
| 2727 | .eraseblocks = { {4 * 1024, 256} }, |
| 2728 | .block_erase = spi_block_erase_20, |
| 2729 | }, { |
| 2730 | .eraseblocks = { {64 * 1024, 16} }, |
| 2731 | .block_erase = spi_block_erase_d8, |
| 2732 | }, { |
| 2733 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2734 | .block_erase = spi_block_erase_60, |
| 2735 | }, { |
| 2736 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2737 | .block_erase = spi_block_erase_c7, |
| 2738 | } |
| 2739 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2740 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2741 | .write = spi_chip_write_256, |
| 2742 | .read = spi_chip_read, |
| 2743 | }, |
| 2744 | |
| 2745 | { |
| 2746 | .vendor = "Eon", |
| 2747 | .name = "EN25F16", |
| 2748 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2749 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2750 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2751 | .total_size = 2048, |
| 2752 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2753 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2754 | .tested = TEST_UNTESTED, |
| 2755 | .probe = probe_spi_rdid, |
| 2756 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2757 | .block_erasers = |
| 2758 | { |
| 2759 | { |
| 2760 | .eraseblocks = { {4 * 1024, 512} }, |
| 2761 | .block_erase = spi_block_erase_20, |
| 2762 | }, { |
| 2763 | .eraseblocks = { {64 * 1024, 32} }, |
| 2764 | .block_erase = spi_block_erase_d8, |
| 2765 | }, { |
| 2766 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2767 | .block_erase = spi_block_erase_60, |
| 2768 | }, { |
| 2769 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2770 | .block_erase = spi_block_erase_c7, |
| 2771 | } |
| 2772 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2773 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2774 | .write = spi_chip_write_256, |
| 2775 | .read = spi_chip_read, |
| 2776 | }, |
| 2777 | |
| 2778 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2779 | .vendor = "Eon", |
| 2780 | .name = "EN25F32", |
| 2781 | .bustype = CHIP_BUSTYPE_SPI, |
| 2782 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2783 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2784 | .total_size = 4096, |
| 2785 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2786 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2787 | .tested = TEST_UNTESTED, |
| 2788 | .probe = probe_spi_rdid, |
| 2789 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2790 | .block_erasers = |
| 2791 | { |
| 2792 | { |
| 2793 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2794 | .block_erase = spi_block_erase_20, |
| 2795 | }, { |
| 2796 | .eraseblocks = { {64 * 1024, 64} }, |
| 2797 | .block_erase = spi_block_erase_d8, |
| 2798 | }, { |
| 2799 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2800 | .block_erase = spi_block_erase_60, |
| 2801 | }, { |
| 2802 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2803 | .block_erase = spi_block_erase_c7, |
| 2804 | } |
| 2805 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2806 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2807 | .write = spi_chip_write_256, |
| 2808 | .read = spi_chip_read, |
| 2809 | }, |
| 2810 | |
| 2811 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2812 | .vendor = "Eon", |
| 2813 | .name = "EN29F010", |
| 2814 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2815 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2816 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2817 | .total_size = 128, |
| 2818 | .page_size = 128, |
| 2819 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2820 | .tested = TEST_OK_PREW, |
| 2821 | .probe = probe_jedec, |
| 2822 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2823 | .block_erasers = |
| 2824 | { |
| 2825 | { |
| 2826 | .eraseblocks = { {16 * 1024, 8} }, |
| 2827 | .block_erase = erase_sector_jedec, |
| 2828 | }, |
| 2829 | { |
| 2830 | .eraseblocks = { {128 * 1024, 1} }, |
| 2831 | .block_erase = erase_chip_block_jedec, |
| 2832 | }, |
| 2833 | }, |
| 2834 | .write = write_jedec_1, |
| 2835 | .read = read_memmapped, |
| 2836 | }, |
| 2837 | |
| 2838 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2839 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2840 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2841 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2842 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2843 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2844 | .total_size = 256, |
| 2845 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2846 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2847 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2848 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2849 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2850 | .block_erasers = |
| 2851 | { |
| 2852 | { |
| 2853 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2854 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2855 | {8 * 1024, 2}, |
| 2856 | {32 * 1024, 1}, |
| 2857 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2858 | }, |
| 2859 | .block_erase = erase_sector_jedec, |
| 2860 | }, { |
| 2861 | .eraseblocks = { {256 * 1024, 1} }, |
| 2862 | .block_erase = erase_chip_block_jedec, |
| 2863 | }, |
| 2864 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2865 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2866 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2867 | }, |
| 2868 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2869 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2870 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2871 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2872 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2873 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2874 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2875 | .total_size = 256, |
| 2876 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2877 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2878 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2879 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2880 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2881 | .block_erasers = |
| 2882 | { |
| 2883 | { |
| 2884 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2885 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2886 | {32 * 1024, 1}, |
| 2887 | {8 * 1024, 2}, |
| 2888 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2889 | }, |
| 2890 | .block_erase = erase_sector_jedec, |
| 2891 | }, { |
| 2892 | .eraseblocks = { {256 * 1024, 1} }, |
| 2893 | .block_erase = erase_chip_block_jedec, |
| 2894 | }, |
| 2895 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2896 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2897 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2898 | }, |
| 2899 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2900 | { |
| 2901 | .vendor = "Fujitsu", |
| 2902 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2903 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2904 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2905 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2906 | .total_size = 512, |
| 2907 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2908 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2909 | .tested = TEST_UNTESTED, |
| 2910 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2911 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2912 | .block_erasers = |
| 2913 | { |
| 2914 | { |
| 2915 | .eraseblocks = { |
| 2916 | {16 * 1024, 1}, |
| 2917 | {8 * 1024, 2}, |
| 2918 | {32 * 1024, 1}, |
| 2919 | {64 * 1024, 7}, |
| 2920 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2921 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2922 | }, { |
| 2923 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2924 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2925 | }, |
| 2926 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2927 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2928 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2929 | }, |
| 2930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2931 | { |
| 2932 | .vendor = "Fujitsu", |
| 2933 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2934 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2935 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2936 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2937 | .total_size = 512, |
| 2938 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2939 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2940 | .tested = TEST_UNTESTED, |
| 2941 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2942 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2943 | .block_erasers = |
| 2944 | { |
| 2945 | { |
| 2946 | .eraseblocks = { |
| 2947 | {64 * 1024, 7}, |
| 2948 | {32 * 1024, 1}, |
| 2949 | {8 * 1024, 2}, |
| 2950 | {16 * 1024, 1}, |
| 2951 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2952 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2953 | }, { |
| 2954 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2955 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2956 | }, |
| 2957 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2958 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2959 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2960 | }, |
| 2961 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2962 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2963 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2964 | .vendor = "Fujitsu", |
| 2965 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2966 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2967 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2968 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2969 | .total_size = 512, |
| 2970 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2971 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2972 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2973 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2974 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2975 | .block_erasers = |
| 2976 | { |
| 2977 | { |
| 2978 | .eraseblocks = { |
| 2979 | {16 * 1024, 1}, |
| 2980 | {8 * 1024, 2}, |
| 2981 | {32 * 1024, 1}, |
| 2982 | {64 * 1024, 7}, |
| 2983 | }, |
| 2984 | .block_erase = block_erase_m29f400bt, |
| 2985 | }, { |
| 2986 | .eraseblocks = { {512 * 1024, 1} }, |
| 2987 | .block_erase = block_erase_chip_m29f400bt, |
| 2988 | }, |
| 2989 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2990 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2991 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2992 | }, |
| 2993 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2994 | { |
| 2995 | .vendor = "Fujitsu", |
| 2996 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2997 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2998 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 2999 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3000 | .total_size = 512, |
| 3001 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3002 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3003 | .tested = TEST_UNTESTED, |
| 3004 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3005 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3006 | .block_erasers = |
| 3007 | { |
| 3008 | { |
| 3009 | .eraseblocks = { |
| 3010 | {64 * 1024, 7}, |
| 3011 | {32 * 1024, 1}, |
| 3012 | {8 * 1024, 2}, |
| 3013 | {16 * 1024, 1}, |
| 3014 | }, |
| 3015 | .block_erase = block_erase_m29f400bt, |
| 3016 | }, { |
| 3017 | .eraseblocks = { {512 * 1024, 1} }, |
| 3018 | .block_erase = block_erase_chip_m29f400bt, |
| 3019 | }, |
| 3020 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3021 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3022 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3023 | }, |
| 3024 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3025 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3026 | .vendor = "Hyundai", |
| 3027 | .name = "HY29F002T", |
| 3028 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3029 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3030 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3031 | .total_size = 256, |
| 3032 | .page_size = 256 * 1024, |
| 3033 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3034 | .tested = TEST_OK_PREW, |
| 3035 | .probe = probe_jedec, |
| 3036 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3037 | .block_erasers = |
| 3038 | { |
| 3039 | { |
| 3040 | .eraseblocks = { |
| 3041 | {64 * 1024, 3}, |
| 3042 | {32 * 1024, 1}, |
| 3043 | {8 * 1024, 2}, |
| 3044 | {16 * 1024, 1}, |
| 3045 | }, |
| 3046 | .block_erase = erase_sector_jedec, |
| 3047 | }, { |
| 3048 | .eraseblocks = { {256 * 1024, 1} }, |
| 3049 | .block_erase = erase_chip_block_jedec, |
| 3050 | }, |
| 3051 | }, |
| 3052 | .write = write_jedec_1, |
| 3053 | .read = read_memmapped, |
| 3054 | }, |
| 3055 | |
| 3056 | { |
| 3057 | .vendor = "Hyundai", |
| 3058 | .name = "HY29F002B", |
| 3059 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3060 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3061 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3062 | .total_size = 256, |
| 3063 | .page_size = 256 * 1024, |
| 3064 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3065 | .tested = TEST_UNTESTED, |
| 3066 | .probe = probe_jedec, |
| 3067 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3068 | .block_erasers = |
| 3069 | { |
| 3070 | { |
| 3071 | .eraseblocks = { |
| 3072 | {16 * 1024, 1}, |
| 3073 | {8 * 1024, 2}, |
| 3074 | {32 * 1024, 1}, |
| 3075 | {64 * 1024, 3}, |
| 3076 | }, |
| 3077 | .block_erase = erase_sector_jedec, |
| 3078 | }, { |
| 3079 | .eraseblocks = { {256 * 1024, 1} }, |
| 3080 | .block_erase = erase_chip_block_jedec, |
| 3081 | }, |
| 3082 | }, |
| 3083 | .write = write_jedec_1, |
| 3084 | .read = read_memmapped, |
| 3085 | }, |
| 3086 | |
| 3087 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3088 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3089 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3090 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3091 | .manufacture_id = INTEL_ID, |
| 3092 | .model_id = P28F001BXB, |
| 3093 | .total_size = 128, |
| 3094 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3095 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3096 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3097 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3098 | .block_erasers = |
| 3099 | { |
| 3100 | { |
| 3101 | .eraseblocks = { |
| 3102 | {8 * 1024, 1}, |
| 3103 | {4 * 1024, 2}, |
| 3104 | {112 * 1024, 1}, |
| 3105 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3106 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3107 | }, |
| 3108 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3109 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3110 | .read = read_memmapped, |
| 3111 | }, |
| 3112 | |
| 3113 | { |
| 3114 | .vendor = "Intel", |
| 3115 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3116 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3117 | .manufacture_id = INTEL_ID, |
| 3118 | .model_id = P28F001BXT, |
| 3119 | .total_size = 128, |
| 3120 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3121 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3122 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3123 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3124 | .block_erasers = |
| 3125 | { |
| 3126 | { |
| 3127 | .eraseblocks = { |
| 3128 | {112 * 1024, 1}, |
| 3129 | {4 * 1024, 2}, |
| 3130 | {8 * 1024, 1}, |
| 3131 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3132 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3133 | }, |
| 3134 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3135 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3136 | .read = read_memmapped, |
| 3137 | }, |
| 3138 | |
| 3139 | { |
| 3140 | .vendor = "Intel", |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3141 | .name = "28F002BC-T", |
| 3142 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3143 | .manufacture_id = INTEL_ID, |
| 3144 | .model_id = P28F002BC, |
| 3145 | .total_size = 256, |
| 3146 | .page_size = 256 * 1024, |
| 3147 | .tested = TEST_UNTESTED, |
| 3148 | .probe = probe_82802ab, |
| 3149 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3150 | .block_erasers = |
| 3151 | { |
| 3152 | { |
| 3153 | .eraseblocks = { |
| 3154 | {128 * 1024, 1}, |
| 3155 | {96 * 1024, 1}, |
| 3156 | {8 * 1024, 2}, |
| 3157 | {16 * 1024, 1}, |
| 3158 | }, |
| 3159 | .block_erase = erase_block_82802ab, |
| 3160 | }, |
| 3161 | }, |
| 3162 | .write = write_82802ab, |
| 3163 | .read = read_memmapped, |
| 3164 | }, |
| 3165 | |
| 3166 | { |
| 3167 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3168 | .name = "28F004S5", |
| 3169 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3170 | .manufacture_id = INTEL_ID, |
| 3171 | .model_id = E_28F004S5, |
| 3172 | .total_size = 512, |
| 3173 | .page_size = 256, |
| 3174 | .tested = TEST_UNTESTED, |
| 3175 | .probe = probe_82802ab, |
| 3176 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3177 | .block_erasers = |
| 3178 | { |
| 3179 | { |
| 3180 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3181 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3182 | }, |
| 3183 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3184 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3185 | .write = write_82802ab, |
| 3186 | .read = read_memmapped, |
| 3187 | }, |
| 3188 | |
| 3189 | { |
| 3190 | .vendor = "Intel", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3191 | .name = "28F004BV/BE-B", |
| 3192 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3193 | .manufacture_id = INTEL_ID, |
| 3194 | .model_id = P28F004BB, |
| 3195 | .total_size = 512, |
| 3196 | .page_size = 128 * 1024, /* maximal block size */ |
| 3197 | .tested = TEST_UNTESTED, |
| 3198 | .probe = probe_82802ab, |
| 3199 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3200 | .block_erasers = |
| 3201 | { |
| 3202 | { |
| 3203 | .eraseblocks = { |
| 3204 | {16 * 1024, 1}, |
| 3205 | {8 * 1024, 2}, |
| 3206 | {96 * 1024, 1}, |
| 3207 | {128 * 1024, 3}, |
| 3208 | }, |
| 3209 | .block_erase = erase_block_82802ab, |
| 3210 | }, |
| 3211 | }, |
| 3212 | .write = write_82802ab, |
| 3213 | .read = read_memmapped, |
| 3214 | }, |
| 3215 | |
| 3216 | { |
| 3217 | .vendor = "Intel", |
| 3218 | .name = "28F004BV/BE-T", |
| 3219 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3220 | .manufacture_id = INTEL_ID, |
| 3221 | .model_id = P28F004BT, |
| 3222 | .total_size = 512, |
| 3223 | .page_size = 128 * 1024, /* maximal block size */ |
| 3224 | .tested = TEST_UNTESTED, |
| 3225 | .probe = probe_82802ab, |
| 3226 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3227 | .block_erasers = |
| 3228 | { |
| 3229 | { |
| 3230 | .eraseblocks = { |
| 3231 | {128 * 1024, 3}, |
| 3232 | {96 * 1024, 1}, |
| 3233 | {8 * 1024, 2}, |
| 3234 | {16 * 1024, 1}, |
| 3235 | }, |
| 3236 | .block_erase = erase_block_82802ab, |
| 3237 | }, |
| 3238 | }, |
| 3239 | .write = write_82802ab, |
| 3240 | .read = read_memmapped, |
| 3241 | }, |
| 3242 | |
| 3243 | { |
| 3244 | .vendor = "Intel", |
| 3245 | .name = "28F400BV/CV/CE-B", |
| 3246 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3247 | .manufacture_id = INTEL_ID, |
| 3248 | .model_id = P28F400BB, |
| 3249 | .total_size = 512, |
| 3250 | .page_size = 128 * 1024, /* maximal block size */ |
| 3251 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3252 | .tested = TEST_UNTESTED, |
| 3253 | .probe = probe_82802ab, |
| 3254 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3255 | .block_erasers = |
| 3256 | { |
| 3257 | { |
| 3258 | .eraseblocks = { |
| 3259 | {16 * 1024, 1}, |
| 3260 | {8 * 1024, 2}, |
| 3261 | {96 * 1024, 1}, |
| 3262 | {128 * 1024, 3}, |
| 3263 | }, |
| 3264 | .block_erase = erase_block_82802ab, |
| 3265 | }, |
| 3266 | }, |
| 3267 | .write = write_82802ab, |
| 3268 | .read = read_memmapped, |
| 3269 | }, |
| 3270 | |
| 3271 | { |
| 3272 | .vendor = "Intel", |
| 3273 | .name = "28F400BV/CV/CE-T", |
| 3274 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3275 | .manufacture_id = INTEL_ID, |
| 3276 | .model_id = P28F400BT, |
| 3277 | .total_size = 512, |
| 3278 | .page_size = 128 * 1024, /* maximal block size */ |
| 3279 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3280 | .tested = TEST_UNTESTED, |
| 3281 | .probe = probe_82802ab, |
| 3282 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3283 | .block_erasers = |
| 3284 | { |
| 3285 | { |
| 3286 | .eraseblocks = { |
| 3287 | {128 * 1024, 3}, |
| 3288 | {96 * 1024, 1}, |
| 3289 | {8 * 1024, 2}, |
| 3290 | {16 * 1024, 1}, |
| 3291 | }, |
| 3292 | .block_erase = erase_block_82802ab, |
| 3293 | }, |
| 3294 | }, |
| 3295 | .write = write_82802ab, |
| 3296 | .read = read_memmapped, |
| 3297 | }, |
| 3298 | |
| 3299 | { |
| 3300 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3301 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3302 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3303 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3304 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3305 | .total_size = 512, |
| 3306 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3307 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3308 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3309 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3310 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3311 | .block_erasers = |
| 3312 | { |
| 3313 | { |
| 3314 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3315 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3316 | }, |
| 3317 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3318 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3319 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3320 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3321 | }, |
| 3322 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3323 | { |
| 3324 | .vendor = "Intel", |
| 3325 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3326 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3327 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3328 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3329 | .total_size = 1024, |
| 3330 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3331 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3332 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3333 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3334 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3335 | .block_erasers = |
| 3336 | { |
| 3337 | { |
| 3338 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3339 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3340 | }, |
| 3341 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3342 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3343 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3344 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3345 | }, |
| 3346 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3347 | { |
| 3348 | .vendor = "Macronix", |
| 3349 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3350 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3351 | .manufacture_id = MACRONIX_ID, |
| 3352 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3353 | .total_size = 64, |
| 3354 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3355 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3356 | .tested = TEST_UNTESTED, |
| 3357 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3358 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3359 | .block_erasers = |
| 3360 | { |
| 3361 | { |
| 3362 | .eraseblocks = { {4 * 1024, 16} }, |
| 3363 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3364 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3365 | .eraseblocks = { {64 * 1024, 1} }, |
| 3366 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3367 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3368 | .eraseblocks = { {64 * 1024, 1} }, |
| 3369 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3370 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3371 | .eraseblocks = { {64 * 1024, 1} }, |
| 3372 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3373 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3374 | .eraseblocks = { {64 * 1024, 1} }, |
| 3375 | .block_erase = spi_block_erase_c7, |
| 3376 | }, |
| 3377 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3378 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3379 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3380 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3381 | }, |
| 3382 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3383 | { |
| 3384 | .vendor = "Macronix", |
| 3385 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3386 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3387 | .manufacture_id = MACRONIX_ID, |
| 3388 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3389 | .total_size = 128, |
| 3390 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3391 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3392 | .tested = TEST_UNTESTED, |
| 3393 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3394 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3395 | .block_erasers = |
| 3396 | { |
| 3397 | { |
| 3398 | .eraseblocks = { {4 * 1024, 32} }, |
| 3399 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3400 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3401 | .eraseblocks = { {64 * 1024, 2} }, |
| 3402 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3403 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3404 | .eraseblocks = { {128 * 1024, 1} }, |
| 3405 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3406 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3407 | .eraseblocks = { {128 * 1024, 1} }, |
| 3408 | .block_erase = spi_block_erase_c7, |
| 3409 | }, |
| 3410 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3411 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3412 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3413 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3414 | }, |
| 3415 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3416 | { |
| 3417 | .vendor = "Macronix", |
| 3418 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3419 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3420 | .manufacture_id = MACRONIX_ID, |
| 3421 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3422 | .total_size = 256, |
| 3423 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3424 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3425 | .tested = TEST_UNTESTED, |
| 3426 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3427 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3428 | .block_erasers = |
| 3429 | { |
| 3430 | { |
| 3431 | .eraseblocks = { {4 * 1024, 64} }, |
| 3432 | .block_erase = spi_block_erase_20, |
| 3433 | }, { |
| 3434 | .eraseblocks = { {64 * 1024, 4} }, |
| 3435 | .block_erase = spi_block_erase_52, |
| 3436 | }, { |
| 3437 | .eraseblocks = { {64 * 1024, 4} }, |
| 3438 | .block_erase = spi_block_erase_d8, |
| 3439 | }, { |
| 3440 | .eraseblocks = { {256 * 1024, 1} }, |
| 3441 | .block_erase = spi_block_erase_60, |
| 3442 | }, { |
| 3443 | .eraseblocks = { {256 * 1024, 1} }, |
| 3444 | .block_erase = spi_block_erase_c7, |
| 3445 | }, |
| 3446 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3447 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3448 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3449 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3450 | }, |
| 3451 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3452 | { |
| 3453 | .vendor = "Macronix", |
| 3454 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3455 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3456 | .manufacture_id = MACRONIX_ID, |
| 3457 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3458 | .total_size = 512, |
| 3459 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3460 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3461 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3462 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3463 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3464 | .block_erasers = |
| 3465 | { |
| 3466 | { |
| 3467 | .eraseblocks = { {4 * 1024, 128} }, |
| 3468 | .block_erase = spi_block_erase_20, |
| 3469 | }, { |
| 3470 | .eraseblocks = { {64 * 1024, 8} }, |
| 3471 | .block_erase = spi_block_erase_52, |
| 3472 | }, { |
| 3473 | .eraseblocks = { {64 * 1024, 8} }, |
| 3474 | .block_erase = spi_block_erase_d8, |
| 3475 | }, { |
| 3476 | .eraseblocks = { {512 * 1024, 1} }, |
| 3477 | .block_erase = spi_block_erase_60, |
| 3478 | }, { |
| 3479 | .eraseblocks = { {512 * 1024, 1} }, |
| 3480 | .block_erase = spi_block_erase_c7, |
| 3481 | }, |
| 3482 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3483 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3484 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3485 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3486 | }, |
| 3487 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3488 | { |
| 3489 | .vendor = "Macronix", |
| 3490 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3491 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3492 | .manufacture_id = MACRONIX_ID, |
| 3493 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3494 | .total_size = 1024, |
| 3495 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3496 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 3497 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3498 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3499 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3500 | .block_erasers = |
| 3501 | { |
| 3502 | { |
| 3503 | .eraseblocks = { {4 * 1024, 256} }, |
| 3504 | .block_erase = spi_block_erase_20, |
| 3505 | }, { |
| 3506 | .eraseblocks = { {64 * 1024, 16} }, |
| 3507 | .block_erase = spi_block_erase_52, |
| 3508 | }, { |
| 3509 | .eraseblocks = { {64 * 1024, 16} }, |
| 3510 | .block_erase = spi_block_erase_d8, |
| 3511 | }, { |
| 3512 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3513 | .block_erase = spi_block_erase_60, |
| 3514 | }, { |
| 3515 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3516 | .block_erase = spi_block_erase_c7, |
| 3517 | }, |
| 3518 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3519 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3520 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3521 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3522 | }, |
| 3523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3524 | { |
| 3525 | .vendor = "Macronix", |
| 3526 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3527 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3528 | .manufacture_id = MACRONIX_ID, |
| 3529 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3530 | .total_size = 2048, |
| 3531 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3532 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3533 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3534 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3535 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3536 | .block_erasers = |
| 3537 | { |
| 3538 | { |
| 3539 | .eraseblocks = { {4 * 1024, 512} }, |
| 3540 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3541 | }, { |
| 3542 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3543 | .block_erase = spi_block_erase_52, |
| 3544 | }, { |
| 3545 | .eraseblocks = { {64 * 1024, 32} }, |
| 3546 | .block_erase = spi_block_erase_d8, |
| 3547 | }, { |
| 3548 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3549 | .block_erase = spi_block_erase_60, |
| 3550 | }, { |
| 3551 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3552 | .block_erase = spi_block_erase_c7, |
| 3553 | }, |
| 3554 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3555 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3556 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3557 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3558 | }, |
| 3559 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3560 | { |
| 3561 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3562 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3563 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3564 | .manufacture_id = MACRONIX_ID, |
| 3565 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3566 | .total_size = 2048, |
| 3567 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3568 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3569 | .tested = TEST_UNTESTED, |
| 3570 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3571 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3572 | .block_erasers = |
| 3573 | { |
| 3574 | { |
| 3575 | .eraseblocks = { {4 * 1024, 512} }, |
| 3576 | .block_erase = spi_block_erase_20, |
| 3577 | }, { |
| 3578 | .eraseblocks = { {64 * 1024, 32} }, |
| 3579 | .block_erase = spi_block_erase_d8, |
| 3580 | }, { |
| 3581 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3582 | .block_erase = spi_block_erase_60, |
| 3583 | }, { |
| 3584 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3585 | .block_erase = spi_block_erase_c7, |
| 3586 | } |
| 3587 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3588 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3589 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3590 | .read = spi_chip_read, |
| 3591 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 3592 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3593 | { |
| 3594 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 3595 | .name = "MX25L1635E", |
| 3596 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3597 | .manufacture_id = MACRONIX_ID, |
| 3598 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 3599 | .total_size = 2048, |
| 3600 | .page_size = 256, |
| 3601 | .feature_bits = FEATURE_WRSR_WREN, |
| 3602 | .tested = TEST_UNTESTED, |
| 3603 | .probe = probe_spi_rdid, |
| 3604 | .probe_timing = TIMING_ZERO, |
| 3605 | .block_erasers = |
| 3606 | { |
| 3607 | { |
| 3608 | .eraseblocks = { {4 * 1024, 512} }, |
| 3609 | .block_erase = spi_block_erase_20, |
| 3610 | }, { |
| 3611 | .eraseblocks = { {64 * 1024, 32} }, |
| 3612 | .block_erase = spi_block_erase_d8, |
| 3613 | }, { |
| 3614 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3615 | .block_erase = spi_block_erase_60, |
| 3616 | }, { |
| 3617 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3618 | .block_erase = spi_block_erase_c7, |
| 3619 | } |
| 3620 | }, |
| 3621 | .unlock = spi_disable_blockprotect, |
| 3622 | .write = spi_chip_write_256, |
| 3623 | .read = spi_chip_read, |
| 3624 | }, |
| 3625 | |
| 3626 | { |
| 3627 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3628 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3629 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3630 | .manufacture_id = MACRONIX_ID, |
| 3631 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3632 | .total_size = 4096, |
| 3633 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3634 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3635 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3636 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3637 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3638 | .block_erasers = |
| 3639 | { |
| 3640 | { |
| 3641 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3642 | .block_erase = spi_block_erase_20, |
| 3643 | }, { |
| 3644 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3645 | .block_erase = spi_block_erase_d8, |
| 3646 | }, { |
| 3647 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3648 | .block_erase = spi_block_erase_60, |
| 3649 | }, { |
| 3650 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3651 | .block_erase = spi_block_erase_c7, |
| 3652 | }, |
| 3653 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3654 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3655 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3656 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3657 | }, |
| 3658 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3659 | { |
| 3660 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3661 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3662 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3663 | .manufacture_id = MACRONIX_ID, |
| 3664 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3665 | .total_size = 4096, |
| 3666 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3667 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3668 | .tested = TEST_UNTESTED, |
| 3669 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3670 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3671 | .block_erasers = |
| 3672 | { |
| 3673 | { |
| 3674 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3675 | .block_erase = spi_block_erase_20, |
| 3676 | }, { |
| 3677 | .eraseblocks = { {64 * 1024, 64} }, |
| 3678 | .block_erase = spi_block_erase_d8, |
| 3679 | }, { |
| 3680 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3681 | .block_erase = spi_block_erase_60, |
| 3682 | }, { |
| 3683 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3684 | .block_erase = spi_block_erase_c7, |
| 3685 | } |
| 3686 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3687 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3688 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3689 | .read = spi_chip_read, |
| 3690 | }, |
| 3691 | |
| 3692 | { |
| 3693 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3694 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3695 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3696 | .manufacture_id = MACRONIX_ID, |
| 3697 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3698 | .total_size = 8192, |
| 3699 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3700 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 3701 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3702 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3703 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3704 | .block_erasers = |
| 3705 | { |
| 3706 | { |
| 3707 | .eraseblocks = { {64 * 1024, 128} }, |
| 3708 | .block_erase = spi_block_erase_20, |
| 3709 | }, { |
| 3710 | .eraseblocks = { {64 * 1024, 128} }, |
| 3711 | .block_erase = spi_block_erase_d8, |
| 3712 | }, { |
| 3713 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3714 | .block_erase = spi_block_erase_60, |
| 3715 | }, { |
| 3716 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3717 | .block_erase = spi_block_erase_c7, |
| 3718 | } |
| 3719 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3720 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3721 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3722 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3723 | }, |
| 3724 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3725 | { |
| 3726 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3727 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3728 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3729 | .manufacture_id = MACRONIX_ID, |
| 3730 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3731 | .total_size = 16384, |
| 3732 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3733 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3734 | .tested = TEST_UNTESTED, |
| 3735 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3736 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3737 | .block_erasers = |
| 3738 | { |
| 3739 | { |
| 3740 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3741 | .block_erase = spi_block_erase_20, |
| 3742 | }, { |
| 3743 | .eraseblocks = { {64 * 1024, 256} }, |
| 3744 | .block_erase = spi_block_erase_d8, |
| 3745 | }, { |
| 3746 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3747 | .block_erase = spi_block_erase_60, |
| 3748 | }, { |
| 3749 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3750 | .block_erase = spi_block_erase_c7, |
| 3751 | } |
| 3752 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3753 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3754 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3755 | .read = spi_chip_read, |
| 3756 | }, |
| 3757 | |
| 3758 | { |
| 3759 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3760 | .name = "MX29F001B", |
| 3761 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3762 | .manufacture_id = MACRONIX_ID, |
| 3763 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3764 | .total_size = 128, |
| 3765 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3766 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3767 | .tested = TEST_UNTESTED, |
| 3768 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3769 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3770 | .block_erasers = |
| 3771 | { |
| 3772 | { |
| 3773 | .eraseblocks = { |
| 3774 | {8 * 1024, 1}, |
| 3775 | {4 * 1024, 2}, |
| 3776 | {8 * 1024, 2}, |
| 3777 | {32 * 1024, 1}, |
| 3778 | {64 * 1024, 1}, |
| 3779 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3780 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3781 | }, { |
| 3782 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3783 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3784 | } |
| 3785 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3786 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3787 | .read = read_memmapped, |
| 3788 | }, |
| 3789 | |
| 3790 | { |
| 3791 | .vendor = "Macronix", |
| 3792 | .name = "MX29F001T", |
| 3793 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3794 | .manufacture_id = MACRONIX_ID, |
| 3795 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3796 | .total_size = 128, |
| 3797 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3798 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3799 | .tested = TEST_UNTESTED, |
| 3800 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3801 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3802 | .block_erasers = |
| 3803 | { |
| 3804 | { |
| 3805 | .eraseblocks = { |
| 3806 | {64 * 1024, 1}, |
| 3807 | {32 * 1024, 1}, |
| 3808 | {8 * 1024, 2}, |
| 3809 | {4 * 1024, 2}, |
| 3810 | {8 * 1024, 1}, |
| 3811 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3812 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3813 | }, { |
| 3814 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3815 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3816 | } |
| 3817 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3818 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3819 | .read = read_memmapped, |
| 3820 | }, |
| 3821 | |
| 3822 | { |
| 3823 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3824 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3825 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3826 | .manufacture_id = MACRONIX_ID, |
| 3827 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3828 | .total_size = 256, |
| 3829 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3830 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3831 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3832 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3833 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3834 | .block_erasers = |
| 3835 | { |
| 3836 | { |
| 3837 | .eraseblocks = { |
| 3838 | {16 * 1024, 1}, |
| 3839 | {8 * 1024, 2}, |
| 3840 | {32 * 1024, 1}, |
| 3841 | {64 * 1024, 3}, |
| 3842 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3843 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3844 | }, { |
| 3845 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3846 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3847 | }, |
| 3848 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3849 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3850 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3851 | }, |
| 3852 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3853 | { |
| 3854 | .vendor = "Macronix", |
| 3855 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3856 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3857 | .manufacture_id = MACRONIX_ID, |
| 3858 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3859 | .total_size = 256, |
| 3860 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3861 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3862 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3863 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3864 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3865 | .block_erasers = |
| 3866 | { |
| 3867 | { |
| 3868 | .eraseblocks = { |
| 3869 | {64 * 1024, 3}, |
| 3870 | {32 * 1024, 1}, |
| 3871 | {8 * 1024, 2}, |
| 3872 | {16 * 1024, 1}, |
| 3873 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3874 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3875 | }, { |
| 3876 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3877 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3878 | }, |
| 3879 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3880 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3881 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3882 | }, |
| 3883 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3884 | { |
| 3885 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3886 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3887 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 3888 | .manufacture_id = MACRONIX_ID, |
| 3889 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3890 | .total_size = 512, |
| 3891 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3892 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3893 | .tested = TEST_UNTESTED, |
| 3894 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3895 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3896 | .block_erasers = |
| 3897 | { |
| 3898 | { |
| 3899 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3900 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3901 | }, { |
| 3902 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3903 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3904 | }, |
| 3905 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3906 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3907 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3908 | }, |
| 3909 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3910 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 3911 | .vendor = "MoselVitelic", |
| 3912 | .name = "V29C51000B", |
| 3913 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3914 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3915 | .model_id = MVC_V29C51000B, |
| 3916 | .total_size = 64, |
| 3917 | .page_size = 512, |
| 3918 | .feature_bits = FEATURE_EITHER_RESET, |
| 3919 | .tested = TEST_UNTESTED, |
| 3920 | .probe = probe_jedec, |
| 3921 | .probe_timing = TIMING_ZERO, |
| 3922 | .block_erasers = |
| 3923 | { |
| 3924 | { |
| 3925 | .eraseblocks = { {512, 128} }, |
| 3926 | .block_erase = erase_sector_jedec, |
| 3927 | }, { |
| 3928 | .eraseblocks = { {64 * 1024, 1} }, |
| 3929 | .block_erase = erase_chip_block_jedec, |
| 3930 | }, |
| 3931 | }, |
| 3932 | .write = write_jedec_1, |
| 3933 | .read = read_memmapped, |
| 3934 | }, |
| 3935 | |
| 3936 | { |
| 3937 | .vendor = "MoselVitelic", |
| 3938 | .name = "V29C51000T", |
| 3939 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3940 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3941 | .model_id = MVC_V29C51000T, |
| 3942 | .total_size = 64, |
| 3943 | .page_size = 512, |
| 3944 | .feature_bits = FEATURE_EITHER_RESET, |
| 3945 | .tested = TEST_UNTESTED, |
| 3946 | .probe = probe_jedec, |
| 3947 | .probe_timing = TIMING_ZERO, |
| 3948 | .block_erasers = |
| 3949 | { |
| 3950 | { |
| 3951 | .eraseblocks = { {512, 128} }, |
| 3952 | .block_erase = erase_sector_jedec, |
| 3953 | }, { |
| 3954 | .eraseblocks = { {64 * 1024, 1} }, |
| 3955 | .block_erase = erase_chip_block_jedec, |
| 3956 | }, |
| 3957 | }, |
| 3958 | .write = write_jedec_1, |
| 3959 | .read = read_memmapped, |
| 3960 | }, |
| 3961 | |
| 3962 | { |
| 3963 | .vendor = "MoselVitelic", |
| 3964 | .name = "V29C51400B", |
| 3965 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3966 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3967 | .model_id = MVC_V29C51400B, |
| 3968 | .total_size = 512, |
| 3969 | .page_size = 1024, |
| 3970 | .feature_bits = FEATURE_EITHER_RESET, |
| 3971 | .tested = TEST_UNTESTED, |
| 3972 | .probe = probe_jedec, |
| 3973 | .probe_timing = TIMING_ZERO, |
| 3974 | .block_erasers = |
| 3975 | { |
| 3976 | { |
| 3977 | .eraseblocks = { {1024, 512} }, |
| 3978 | .block_erase = erase_sector_jedec, |
| 3979 | }, { |
| 3980 | .eraseblocks = { {512 * 1024, 1} }, |
| 3981 | .block_erase = erase_chip_block_jedec, |
| 3982 | }, |
| 3983 | }, |
| 3984 | .write = write_jedec_1, |
| 3985 | .read = read_memmapped, |
| 3986 | }, |
| 3987 | |
| 3988 | { |
| 3989 | .vendor = "MoselVitelic", |
| 3990 | .name = "V29C51400T", |
| 3991 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3992 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3993 | .model_id = MVC_V29C51400T, |
| 3994 | .total_size = 512, |
| 3995 | .page_size = 1024, |
| 3996 | .feature_bits = FEATURE_EITHER_RESET, |
| 3997 | .tested = TEST_UNTESTED, |
| 3998 | .probe = probe_jedec, |
| 3999 | .probe_timing = TIMING_ZERO, |
| 4000 | .block_erasers = |
| 4001 | { |
| 4002 | { |
| 4003 | .eraseblocks = { {1024, 512} }, |
| 4004 | .block_erase = erase_sector_jedec, |
| 4005 | }, { |
| 4006 | .eraseblocks = { {512 * 1024, 1} }, |
| 4007 | .block_erase = erase_chip_block_jedec, |
| 4008 | }, |
| 4009 | }, |
| 4010 | .write = write_jedec_1, |
| 4011 | .read = read_memmapped, |
| 4012 | }, |
| 4013 | |
| 4014 | { |
| 4015 | .vendor = "MoselVitelic", |
| 4016 | .name = "V29LC51000", |
| 4017 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4018 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4019 | .model_id = MVC_V29LC51000, |
| 4020 | .total_size = 64, |
| 4021 | .page_size = 512, |
| 4022 | .feature_bits = FEATURE_EITHER_RESET, |
| 4023 | .tested = TEST_UNTESTED, |
| 4024 | .probe = probe_jedec, |
| 4025 | .probe_timing = TIMING_ZERO, |
| 4026 | .block_erasers = |
| 4027 | { |
| 4028 | { |
| 4029 | .eraseblocks = { {512, 128} }, |
| 4030 | .block_erase = erase_sector_jedec, |
| 4031 | }, { |
| 4032 | .eraseblocks = { {64 * 1024, 1} }, |
| 4033 | .block_erase = erase_chip_block_jedec, |
| 4034 | }, |
| 4035 | }, |
| 4036 | .write = write_jedec_1, |
| 4037 | .read = read_memmapped, |
| 4038 | }, |
| 4039 | |
| 4040 | { |
| 4041 | .vendor = "MoselVitelic", |
| 4042 | .name = "V29LC51001", |
| 4043 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4044 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4045 | .model_id = MVC_V29LC51001, |
| 4046 | .total_size = 128, |
| 4047 | .page_size = 512, |
| 4048 | .feature_bits = FEATURE_EITHER_RESET, |
| 4049 | .tested = TEST_UNTESTED, |
| 4050 | .probe = probe_jedec, |
| 4051 | .probe_timing = TIMING_ZERO, |
| 4052 | .block_erasers = |
| 4053 | { |
| 4054 | { |
| 4055 | .eraseblocks = { {512, 256} }, |
| 4056 | .block_erase = erase_sector_jedec, |
| 4057 | }, { |
| 4058 | .eraseblocks = { {128 * 1024, 1} }, |
| 4059 | .block_erase = erase_chip_block_jedec, |
| 4060 | }, |
| 4061 | }, |
| 4062 | .write = write_jedec_1, |
| 4063 | .read = read_memmapped, |
| 4064 | }, |
| 4065 | |
| 4066 | { |
| 4067 | .vendor = "MoselVitelic", |
| 4068 | .name = "V29LC51002", |
| 4069 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4070 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4071 | .model_id = MVC_V29LC51002, |
| 4072 | .total_size = 256, |
| 4073 | .page_size = 512, |
| 4074 | .feature_bits = FEATURE_EITHER_RESET, |
| 4075 | .tested = TEST_UNTESTED, |
| 4076 | .probe = probe_jedec, |
| 4077 | .probe_timing = TIMING_ZERO, |
| 4078 | .block_erasers = |
| 4079 | { |
| 4080 | { |
| 4081 | .eraseblocks = { {512, 512} }, |
| 4082 | .block_erase = erase_sector_jedec, |
| 4083 | }, { |
| 4084 | .eraseblocks = { {256 * 1024, 1} }, |
| 4085 | .block_erase = erase_chip_block_jedec, |
| 4086 | }, |
| 4087 | }, |
| 4088 | .write = write_jedec_1, |
| 4089 | .read = read_memmapped, |
| 4090 | }, |
| 4091 | |
| 4092 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4093 | .vendor = "Numonyx", |
| 4094 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4095 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4096 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4097 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4098 | .total_size = 128, |
| 4099 | .page_size = 256, |
| 4100 | .tested = TEST_UNTESTED, |
| 4101 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4102 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4103 | .block_erasers = |
| 4104 | { |
| 4105 | { |
| 4106 | .eraseblocks = { {4 * 1024, 32} }, |
| 4107 | .block_erase = spi_block_erase_20, |
| 4108 | }, { |
| 4109 | .eraseblocks = { {64 * 1024, 2} }, |
| 4110 | .block_erase = spi_block_erase_d8, |
| 4111 | }, { |
| 4112 | .eraseblocks = { {128 * 1024, 1} }, |
| 4113 | .block_erase = spi_block_erase_c7, |
| 4114 | } |
| 4115 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4116 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4117 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4118 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4119 | }, |
| 4120 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4121 | { |
| 4122 | .vendor = "Numonyx", |
| 4123 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4124 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4125 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4126 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4127 | .total_size = 256, |
| 4128 | .page_size = 256, |
| 4129 | .tested = TEST_UNTESTED, |
| 4130 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4131 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4132 | .block_erasers = |
| 4133 | { |
| 4134 | { |
| 4135 | .eraseblocks = { {4 * 1024, 64} }, |
| 4136 | .block_erase = spi_block_erase_20, |
| 4137 | }, { |
| 4138 | .eraseblocks = { {64 * 1024, 4} }, |
| 4139 | .block_erase = spi_block_erase_d8, |
| 4140 | }, { |
| 4141 | .eraseblocks = { {256 * 1024, 1} }, |
| 4142 | .block_erase = spi_block_erase_c7, |
| 4143 | } |
| 4144 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4145 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4146 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4147 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4148 | }, |
| 4149 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4150 | { |
| 4151 | .vendor = "Numonyx", |
| 4152 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4153 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4154 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4155 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4156 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4157 | .page_size = 256, |
| 4158 | .tested = TEST_UNTESTED, |
| 4159 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4160 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4161 | .block_erasers = |
| 4162 | { |
| 4163 | { |
| 4164 | .eraseblocks = { {4 * 1024, 128} }, |
| 4165 | .block_erase = spi_block_erase_20, |
| 4166 | }, { |
| 4167 | .eraseblocks = { {64 * 1024, 8} }, |
| 4168 | .block_erase = spi_block_erase_d8, |
| 4169 | }, { |
| 4170 | .eraseblocks = { {512 * 1024, 1} }, |
| 4171 | .block_erase = spi_block_erase_c7, |
| 4172 | } |
| 4173 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4174 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4175 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4176 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4177 | }, |
| 4178 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4179 | { |
| 4180 | .vendor = "Numonyx", |
| 4181 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4182 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4183 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4184 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4185 | .total_size = 1024, |
| 4186 | .page_size = 256, |
| 4187 | .tested = TEST_OK_PREW, |
| 4188 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4189 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4190 | .block_erasers = |
| 4191 | { |
| 4192 | { |
| 4193 | .eraseblocks = { {4 * 1024, 256} }, |
| 4194 | .block_erase = spi_block_erase_20, |
| 4195 | }, { |
| 4196 | .eraseblocks = { {64 * 1024, 16} }, |
| 4197 | .block_erase = spi_block_erase_d8, |
| 4198 | }, { |
| 4199 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4200 | .block_erase = spi_block_erase_c7, |
| 4201 | } |
| 4202 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4203 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4204 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4205 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4206 | }, |
| 4207 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4208 | { |
| 4209 | .vendor = "Numonyx", |
| 4210 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4211 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4212 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4213 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4214 | .total_size = 2048, |
| 4215 | .page_size = 256, |
| 4216 | .tested = TEST_UNTESTED, |
| 4217 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4218 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4219 | .block_erasers = |
| 4220 | { |
| 4221 | { |
| 4222 | .eraseblocks = { {4 * 1024, 512} }, |
| 4223 | .block_erase = spi_block_erase_20, |
| 4224 | }, { |
| 4225 | .eraseblocks = { {64 * 1024, 32} }, |
| 4226 | .block_erase = spi_block_erase_d8, |
| 4227 | }, { |
| 4228 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4229 | .block_erase = spi_block_erase_c7, |
| 4230 | } |
| 4231 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4232 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4233 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4234 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4235 | }, |
| 4236 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4237 | { |
| 4238 | .vendor = "PMC", |
| 4239 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4240 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4241 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4242 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4243 | .total_size = 128, |
| 4244 | .page_size = 256, |
| 4245 | .tested = TEST_UNTESTED, |
| 4246 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4247 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4248 | .block_erasers = |
| 4249 | { |
| 4250 | { |
| 4251 | .eraseblocks = { {4 * 1024, 32} }, |
| 4252 | .block_erase = spi_block_erase_d7, |
| 4253 | }, { |
| 4254 | .eraseblocks = { {32 * 1024, 4} }, |
| 4255 | .block_erase = spi_block_erase_d8, |
| 4256 | }, { |
| 4257 | .eraseblocks = { {128 * 1024, 1} }, |
| 4258 | .block_erase = spi_block_erase_c7, |
| 4259 | } |
| 4260 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4261 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4262 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4263 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4264 | }, |
| 4265 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4266 | { |
| 4267 | .vendor = "PMC", |
| 4268 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4269 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4270 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4271 | .model_id = PMC_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4272 | .total_size = 2048, |
| 4273 | .page_size = 256, |
| 4274 | .tested = TEST_UNTESTED, |
| 4275 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4276 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4277 | .block_erasers = |
| 4278 | { |
| 4279 | { |
| 4280 | .eraseblocks = { {4 * 1024, 512} }, |
| 4281 | .block_erase = spi_block_erase_d7, |
| 4282 | }, { |
| 4283 | .eraseblocks = { {4 * 1024, 512} }, |
| 4284 | .block_erase = spi_block_erase_20, |
| 4285 | }, { |
| 4286 | .eraseblocks = { {64 * 1024, 32} }, |
| 4287 | .block_erase = spi_block_erase_d8, |
| 4288 | }, { |
| 4289 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4290 | .block_erase = spi_block_erase_60, |
| 4291 | }, { |
| 4292 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4293 | .block_erase = spi_block_erase_c7, |
| 4294 | } |
| 4295 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4296 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4297 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4298 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4299 | }, |
| 4300 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4301 | { |
| 4302 | .vendor = "PMC", |
| 4303 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4304 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4305 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4306 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4307 | .total_size = 256, |
| 4308 | .page_size = 256, |
| 4309 | .tested = TEST_UNTESTED, |
| 4310 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4311 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4312 | .block_erasers = |
| 4313 | { |
| 4314 | { |
| 4315 | .eraseblocks = { {4 * 1024, 64} }, |
| 4316 | .block_erase = spi_block_erase_d7, |
| 4317 | }, { |
| 4318 | .eraseblocks = { {64 * 1024, 4} }, |
| 4319 | .block_erase = spi_block_erase_d8, |
| 4320 | }, { |
| 4321 | .eraseblocks = { {256 * 1024, 1} }, |
| 4322 | .block_erase = spi_block_erase_c7, |
| 4323 | } |
| 4324 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4325 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4326 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4327 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4328 | }, |
| 4329 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4330 | { |
| 4331 | .vendor = "PMC", |
| 4332 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4333 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4334 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4335 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4336 | .total_size = 512, |
| 4337 | .page_size = 256, |
| 4338 | .tested = TEST_UNTESTED, |
| 4339 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4340 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4341 | .block_erasers = |
| 4342 | { |
| 4343 | { |
| 4344 | .eraseblocks = { {4 * 1024, 128} }, |
| 4345 | .block_erase = spi_block_erase_d7, |
| 4346 | }, { |
| 4347 | .eraseblocks = { {64 * 1024, 8} }, |
| 4348 | .block_erase = spi_block_erase_d8, |
| 4349 | }, { |
| 4350 | .eraseblocks = { {512 * 1024, 1} }, |
| 4351 | .block_erase = spi_block_erase_c7, |
| 4352 | } |
| 4353 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4354 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4355 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4356 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4357 | }, |
| 4358 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4359 | { |
| 4360 | .vendor = "PMC", |
| 4361 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4362 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4363 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4364 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4365 | .total_size = 1024, |
| 4366 | .page_size = 256, |
| 4367 | .tested = TEST_UNTESTED, |
| 4368 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4369 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4370 | .block_erasers = |
| 4371 | { |
| 4372 | { |
| 4373 | .eraseblocks = { {4 * 1024, 256} }, |
| 4374 | .block_erase = spi_block_erase_d7, |
| 4375 | }, { |
| 4376 | .eraseblocks = { {4 * 1024, 256} }, |
| 4377 | .block_erase = spi_block_erase_20, |
| 4378 | }, { |
| 4379 | .eraseblocks = { {64 * 1024, 16} }, |
| 4380 | .block_erase = spi_block_erase_d8, |
| 4381 | }, { |
| 4382 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4383 | .block_erase = spi_block_erase_60, |
| 4384 | }, { |
| 4385 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4386 | .block_erase = spi_block_erase_c7, |
| 4387 | } |
| 4388 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4389 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4390 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4391 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4392 | }, |
| 4393 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4394 | { |
| 4395 | .vendor = "PMC", |
| 4396 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4397 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4398 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4399 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4400 | .total_size = 64, |
| 4401 | .page_size = 256, |
| 4402 | .tested = TEST_UNTESTED, |
| 4403 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4404 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4405 | .block_erasers = |
| 4406 | { |
| 4407 | { |
| 4408 | .eraseblocks = { {4 * 1024, 16} }, |
| 4409 | .block_erase = spi_block_erase_d7, |
| 4410 | }, { |
| 4411 | .eraseblocks = { {32 * 1024, 2} }, |
| 4412 | .block_erase = spi_block_erase_d8, |
| 4413 | }, { |
| 4414 | .eraseblocks = { {64 * 1024, 1} }, |
| 4415 | .block_erase = spi_block_erase_c7, |
| 4416 | } |
| 4417 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4418 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4419 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4420 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4421 | }, |
| 4422 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4423 | { |
| 4424 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4425 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4426 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4427 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4428 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4429 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4430 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4431 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4432 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4433 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4434 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4435 | .block_erasers = |
| 4436 | { |
| 4437 | { |
| 4438 | .eraseblocks = { |
| 4439 | {128 * 1024, 1}, |
| 4440 | {96 * 1024, 1}, |
| 4441 | {8 * 1024, 2}, |
| 4442 | {16 * 1024, 1}, |
| 4443 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4444 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4445 | }, { |
| 4446 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4447 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4448 | }, |
| 4449 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4450 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4451 | .read = read_memmapped, |
| 4452 | }, |
| 4453 | |
| 4454 | { |
| 4455 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4456 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4457 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4458 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4459 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4460 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4461 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4462 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4463 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4464 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4465 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4466 | .block_erasers = |
| 4467 | { |
| 4468 | { |
| 4469 | .eraseblocks = { |
| 4470 | {16 * 1024, 1}, |
| 4471 | {8 * 1024, 2}, |
| 4472 | {96 * 1024, 1}, |
| 4473 | {128 * 1024, 1}, |
| 4474 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4475 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4476 | }, { |
| 4477 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4478 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4479 | }, |
| 4480 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4481 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4482 | .read = read_memmapped, |
| 4483 | }, |
| 4484 | |
| 4485 | { |
| 4486 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4487 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4488 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4489 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4490 | .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] | 4491 | .total_size = 128, |
| 4492 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4493 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4494 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4495 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4496 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4497 | .block_erasers = |
| 4498 | { |
| 4499 | { |
| 4500 | .eraseblocks = { {4 * 1024, 32} }, |
| 4501 | .block_erase = erase_sector_jedec, |
| 4502 | }, { |
| 4503 | .eraseblocks = { {64 * 1024, 2} }, |
| 4504 | .block_erase = erase_block_jedec, |
| 4505 | }, { |
| 4506 | .eraseblocks = { {128 * 1024, 1} }, |
| 4507 | .block_erase = erase_chip_block_jedec, |
| 4508 | } |
| 4509 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4510 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4511 | .read = read_memmapped, |
| 4512 | }, |
| 4513 | |
| 4514 | { |
| 4515 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4516 | .name = "Pm39LV020", |
| 4517 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4518 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4519 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4520 | .total_size = 256, |
| 4521 | .page_size = 4096, |
| 4522 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4523 | .tested = TEST_UNTESTED, |
| 4524 | .probe = probe_jedec, |
| 4525 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4526 | .block_erasers = |
| 4527 | { |
| 4528 | { |
| 4529 | .eraseblocks = { {4 * 1024, 64} }, |
| 4530 | .block_erase = erase_sector_jedec, |
| 4531 | }, { |
| 4532 | .eraseblocks = { {64 * 1024, 4} }, |
| 4533 | .block_erase = erase_block_jedec, |
| 4534 | }, { |
| 4535 | .eraseblocks = { {256 * 1024, 1} }, |
| 4536 | .block_erase = erase_chip_block_jedec, |
| 4537 | } |
| 4538 | }, |
| 4539 | .write = write_jedec_1, |
| 4540 | .read = read_memmapped, |
| 4541 | }, |
| 4542 | |
| 4543 | { |
| 4544 | .vendor = "PMC", |
| 4545 | .name = "Pm39LV040", |
| 4546 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4547 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4548 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4549 | .total_size = 512, |
| 4550 | .page_size = 4096, |
| 4551 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4552 | .tested = TEST_UNTESTED, |
| 4553 | .probe = probe_jedec, |
| 4554 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4555 | .block_erasers = |
| 4556 | { |
| 4557 | { |
| 4558 | .eraseblocks = { {4 * 1024, 128} }, |
| 4559 | .block_erase = erase_sector_jedec, |
| 4560 | }, { |
| 4561 | .eraseblocks = { {64 * 1024, 8} }, |
| 4562 | .block_erase = erase_block_jedec, |
| 4563 | }, { |
| 4564 | .eraseblocks = { {512 * 1024, 1} }, |
| 4565 | .block_erase = erase_chip_block_jedec, |
| 4566 | } |
| 4567 | }, |
| 4568 | .write = write_jedec_1, |
| 4569 | .read = read_memmapped, |
| 4570 | }, |
| 4571 | |
| 4572 | { |
| 4573 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4574 | .name = "Pm49FL002", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4575 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4576 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4577 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4578 | .total_size = 256, |
| 4579 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4580 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 4581 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4582 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4583 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4584 | .block_erasers = |
| 4585 | { |
| 4586 | { |
| 4587 | .eraseblocks = { {4 * 1024, 64} }, |
| 4588 | .block_erase = erase_sector_jedec, |
| 4589 | }, { |
| 4590 | .eraseblocks = { {16 * 1024, 16} }, |
| 4591 | .block_erase = erase_block_jedec, |
| 4592 | }, { |
| 4593 | .eraseblocks = { {256 * 1024, 1} }, |
| 4594 | .block_erase = erase_chip_block_jedec, |
| 4595 | } |
| 4596 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4597 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4598 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4599 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4600 | }, |
| 4601 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4602 | { |
| 4603 | .vendor = "PMC", |
| 4604 | .name = "Pm49FL004", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4605 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4606 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4607 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4608 | .total_size = 512, |
| 4609 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4610 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4611 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4612 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4613 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4614 | .block_erasers = |
| 4615 | { |
| 4616 | { |
| 4617 | .eraseblocks = { {4 * 1024, 128} }, |
| 4618 | .block_erase = erase_sector_jedec, |
| 4619 | }, { |
| 4620 | .eraseblocks = { {64 * 1024, 8} }, |
| 4621 | .block_erase = erase_block_jedec, |
| 4622 | }, { |
| 4623 | .eraseblocks = { {512 * 1024, 1} }, |
| 4624 | .block_erase = erase_chip_block_jedec, |
| 4625 | } |
| 4626 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4627 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4628 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4629 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4630 | }, |
| 4631 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4632 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4633 | .vendor = "Sanyo", |
| 4634 | .name = "LF25FW203A", |
| 4635 | .bustype = CHIP_BUSTYPE_SPI, |
| 4636 | .manufacture_id = SANYO_ID, |
| 4637 | .model_id = SANYO_LE25FW203A, |
| 4638 | .total_size = 2048, |
| 4639 | .page_size = 256, |
| 4640 | .tested = TEST_UNTESTED, |
| 4641 | .probe = probe_spi_rdid, |
| 4642 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4643 | .block_erasers = |
| 4644 | { |
| 4645 | { |
| 4646 | .eraseblocks = { {64 * 1024, 32} }, |
| 4647 | .block_erase = spi_block_erase_d8, |
| 4648 | }, { |
| 4649 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4650 | .block_erase = spi_block_erase_c7, |
| 4651 | } |
| 4652 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4653 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4654 | .write = spi_chip_write_256, |
| 4655 | .read = spi_chip_read, |
| 4656 | }, |
| 4657 | |
| 4658 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4659 | .vendor = "Sharp", |
| 4660 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4661 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4662 | .manufacture_id = SHARP_ID, |
| 4663 | .model_id = SHARP_LHF00L04, |
| 4664 | .total_size = 1024, |
| 4665 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4666 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4667 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4668 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4669 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4670 | .block_erasers = |
| 4671 | { |
| 4672 | { |
| 4673 | .eraseblocks = { |
| 4674 | {64 * 1024, 15}, |
| 4675 | {8 * 1024, 8} |
| 4676 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4677 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4678 | }, { |
| 4679 | .eraseblocks = { |
| 4680 | {1024 * 1024, 1} |
| 4681 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4682 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4683 | }, |
| 4684 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4685 | .unlock = unlock_82802ab, |
| 4686 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4687 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4688 | }, |
| 4689 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4690 | { |
| 4691 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4692 | .name = "S25FL008A", |
| 4693 | .bustype = CHIP_BUSTYPE_SPI, |
| 4694 | .manufacture_id = SPANSION_ID, |
| 4695 | .model_id = SPANSION_S25FL008A, |
| 4696 | .total_size = 1024, |
| 4697 | .page_size = 256, |
| 4698 | .tested = TEST_OK_PREW, |
| 4699 | .probe = probe_spi_rdid, |
| 4700 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4701 | .block_erasers = |
| 4702 | { |
| 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_c7, |
| 4709 | } |
| 4710 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4711 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4712 | .write = spi_chip_write_256, |
| 4713 | .read = spi_chip_read, |
| 4714 | }, |
| 4715 | |
| 4716 | { |
| 4717 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4718 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4719 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4720 | .manufacture_id = SPANSION_ID, |
| 4721 | .model_id = SPANSION_S25FL016A, |
| 4722 | .total_size = 2048, |
| 4723 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4724 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4725 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4726 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4727 | .block_erasers = |
| 4728 | { |
| 4729 | { |
| 4730 | .eraseblocks = { {64 * 1024, 32} }, |
| 4731 | .block_erase = spi_block_erase_d8, |
| 4732 | }, { |
| 4733 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4734 | .block_erase = spi_block_erase_c7, |
| 4735 | } |
| 4736 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4737 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4738 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4739 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4740 | }, |
| 4741 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4742 | { |
| 4743 | .vendor = "SST", |
| 4744 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4745 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4746 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4747 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4748 | .total_size = 2048, |
| 4749 | .page_size = 256, |
Uwe Hermann | a347324 | 2010-09-14 22:59:39 +0000 | [diff] [blame] | 4750 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4751 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4752 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4753 | .block_erasers = |
| 4754 | { |
| 4755 | { |
| 4756 | .eraseblocks = { {4 * 1024, 512} }, |
| 4757 | .block_erase = spi_block_erase_20, |
| 4758 | }, { |
| 4759 | .eraseblocks = { {32 * 1024, 64} }, |
| 4760 | .block_erase = spi_block_erase_52, |
| 4761 | }, { |
| 4762 | .eraseblocks = { {64 * 1024, 32} }, |
| 4763 | .block_erase = spi_block_erase_d8, |
| 4764 | }, { |
| 4765 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4766 | .block_erase = spi_block_erase_60, |
| 4767 | }, { |
| 4768 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4769 | .block_erase = spi_block_erase_c7, |
| 4770 | }, |
| 4771 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4772 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4773 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4774 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4775 | }, |
| 4776 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4777 | { |
| 4778 | .vendor = "SST", |
| 4779 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4780 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4781 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4782 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4783 | .total_size = 4096, |
| 4784 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4785 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4786 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4787 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4788 | .block_erasers = |
| 4789 | { |
| 4790 | { |
| 4791 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4792 | .block_erase = spi_block_erase_20, |
| 4793 | }, { |
| 4794 | .eraseblocks = { {32 * 1024, 128} }, |
| 4795 | .block_erase = spi_block_erase_52, |
| 4796 | }, { |
| 4797 | .eraseblocks = { {64 * 1024, 64} }, |
| 4798 | .block_erase = spi_block_erase_d8, |
| 4799 | }, { |
| 4800 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4801 | .block_erase = spi_block_erase_60, |
| 4802 | }, { |
| 4803 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4804 | .block_erase = spi_block_erase_c7, |
| 4805 | }, |
| 4806 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4807 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4808 | .write = spi_chip_write_1, |
| 4809 | .read = spi_chip_read, |
| 4810 | }, |
| 4811 | |
| 4812 | { |
| 4813 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4814 | .name = "SST25VF064C", |
| 4815 | .bustype = CHIP_BUSTYPE_SPI, |
| 4816 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4817 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4818 | .total_size = 8192, |
| 4819 | .page_size = 256, |
| 4820 | .tested = TEST_OK_PREW, |
| 4821 | .probe = probe_spi_rdid, |
| 4822 | .probe_timing = TIMING_ZERO, |
| 4823 | .block_erasers = |
| 4824 | { |
| 4825 | { |
| 4826 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4827 | .block_erase = spi_block_erase_20, |
| 4828 | }, { |
| 4829 | .eraseblocks = { {32 * 1024, 256} }, |
| 4830 | .block_erase = spi_block_erase_52, |
| 4831 | }, { |
| 4832 | .eraseblocks = { {64 * 1024, 128} }, |
| 4833 | .block_erase = spi_block_erase_d8, |
| 4834 | }, { |
| 4835 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4836 | .block_erase = spi_block_erase_60, |
| 4837 | }, { |
| 4838 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4839 | .block_erase = spi_block_erase_c7, |
| 4840 | }, |
| 4841 | }, |
| 4842 | .unlock = spi_disable_blockprotect, |
| 4843 | .write = spi_chip_write_1, |
| 4844 | .read = spi_chip_read, |
| 4845 | }, |
| 4846 | |
| 4847 | { |
| 4848 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4849 | .name = "SST25VF040.REMS", |
| 4850 | .bustype = CHIP_BUSTYPE_SPI, |
| 4851 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4852 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4853 | .total_size = 512, |
| 4854 | .page_size = 256, |
| 4855 | .tested = TEST_OK_PR, |
| 4856 | .probe = probe_spi_rems, |
| 4857 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4858 | .block_erasers = |
| 4859 | { |
| 4860 | { |
| 4861 | .eraseblocks = { {4 * 1024, 128} }, |
| 4862 | .block_erase = spi_block_erase_20, |
| 4863 | }, { |
| 4864 | .eraseblocks = { {32 * 1024, 16} }, |
| 4865 | .block_erase = spi_block_erase_52, |
| 4866 | }, { |
| 4867 | .eraseblocks = { {512 * 1024, 1} }, |
| 4868 | .block_erase = spi_block_erase_60, |
| 4869 | }, |
| 4870 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4871 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4872 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4873 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4874 | }, |
| 4875 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4876 | { |
| 4877 | .vendor = "SST", |
| 4878 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4879 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4880 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4881 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4882 | .total_size = 512, |
| 4883 | .page_size = 256, |
| 4884 | .tested = TEST_UNTESTED, |
| 4885 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4886 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4887 | .block_erasers = |
| 4888 | { |
| 4889 | { |
| 4890 | .eraseblocks = { {4 * 1024, 128} }, |
| 4891 | .block_erase = spi_block_erase_20, |
| 4892 | }, { |
| 4893 | .eraseblocks = { {32 * 1024, 16} }, |
| 4894 | .block_erase = spi_block_erase_52, |
| 4895 | }, { |
| 4896 | .eraseblocks = { {64 * 1024, 8} }, |
| 4897 | .block_erase = spi_block_erase_d8, |
| 4898 | }, { |
| 4899 | .eraseblocks = { {512 * 1024, 1} }, |
| 4900 | .block_erase = spi_block_erase_60, |
| 4901 | }, { |
| 4902 | .eraseblocks = { {512 * 1024, 1} }, |
| 4903 | .block_erase = spi_block_erase_c7, |
| 4904 | }, |
| 4905 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4906 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4907 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 4908 | .read = spi_chip_read, |
| 4909 | }, |
| 4910 | |
| 4911 | { |
| 4912 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4913 | .name = "SST25LF040A.RES", |
| 4914 | .bustype = CHIP_BUSTYPE_SPI, |
| 4915 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4916 | .model_id = SST_SST25VF040_REMS, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4917 | .total_size = 512, |
| 4918 | .page_size = 256, |
| 4919 | .tested = TEST_OK_PROBE, |
| 4920 | .probe = probe_spi_res2, |
| 4921 | .probe_timing = TIMING_ZERO, |
| 4922 | .block_erasers = |
| 4923 | { |
| 4924 | { |
| 4925 | .eraseblocks = { {4 * 1024, 128} }, |
| 4926 | .block_erase = spi_block_erase_20, |
| 4927 | }, { |
| 4928 | .eraseblocks = { {32 * 1024, 16} }, |
| 4929 | .block_erase = spi_block_erase_52, |
| 4930 | }, { |
| 4931 | .eraseblocks = { {512 * 1024, 1} }, |
| 4932 | .block_erase = spi_block_erase_60, |
| 4933 | }, |
| 4934 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4935 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4936 | .write = spi_chip_write_1, |
| 4937 | .read = spi_chip_read, |
| 4938 | }, |
| 4939 | |
| 4940 | { |
| 4941 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4942 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4943 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4944 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4945 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4946 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4947 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4948 | .tested = TEST_OK_PR, |
| 4949 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4950 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4951 | .block_erasers = |
| 4952 | { |
| 4953 | { |
| 4954 | .eraseblocks = { {4 * 1024, 128} }, |
| 4955 | .block_erase = spi_block_erase_20, |
| 4956 | }, { |
| 4957 | .eraseblocks = { {32 * 1024, 16} }, |
| 4958 | .block_erase = spi_block_erase_52, |
| 4959 | }, { |
| 4960 | .eraseblocks = { {64 * 1024, 8} }, |
| 4961 | .block_erase = spi_block_erase_d8, |
| 4962 | }, { |
| 4963 | .eraseblocks = { {512 * 1024, 1} }, |
| 4964 | .block_erase = spi_block_erase_60, |
| 4965 | }, { |
| 4966 | .eraseblocks = { {512 * 1024, 1} }, |
| 4967 | .block_erase = spi_block_erase_c7, |
| 4968 | }, |
| 4969 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4970 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4971 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4972 | .read = spi_chip_read, |
| 4973 | }, |
| 4974 | |
| 4975 | { |
| 4976 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4977 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4978 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4979 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 4980 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4981 | .total_size = 1024, |
| 4982 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 4983 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4984 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4985 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4986 | .block_erasers = |
| 4987 | { |
| 4988 | { |
| 4989 | .eraseblocks = { {4 * 1024, 256} }, |
| 4990 | .block_erase = spi_block_erase_20, |
| 4991 | }, { |
| 4992 | .eraseblocks = { {32 * 1024, 32} }, |
| 4993 | .block_erase = spi_block_erase_52, |
| 4994 | }, { |
| 4995 | .eraseblocks = { {64 * 1024, 16} }, |
| 4996 | .block_erase = spi_block_erase_d8, |
| 4997 | }, { |
| 4998 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4999 | .block_erase = spi_block_erase_60, |
| 5000 | }, { |
| 5001 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5002 | .block_erase = spi_block_erase_c7, |
| 5003 | }, |
| 5004 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5005 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5006 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5007 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5008 | }, |
| 5009 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5010 | { |
| 5011 | .vendor = "SST", |
| 5012 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5013 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5014 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5015 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5016 | .total_size = 512, |
| 5017 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5018 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5019 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5020 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5021 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5022 | .block_erasers = |
| 5023 | { |
| 5024 | { |
| 5025 | .eraseblocks = { {128, 4096} }, |
| 5026 | .block_erase = erase_sector_28sf040, |
| 5027 | }, { |
| 5028 | .eraseblocks = { {512 * 1024, 1} }, |
| 5029 | .block_erase = erase_chip_28sf040, |
| 5030 | } |
| 5031 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5032 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5033 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5034 | }, |
| 5035 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5036 | { |
| 5037 | .vendor = "SST", |
| 5038 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5039 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5040 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5041 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5042 | .total_size = 128, |
| 5043 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5044 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5045 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5046 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5047 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5048 | .block_erasers = |
| 5049 | { |
| 5050 | { |
| 5051 | .eraseblocks = { {128 * 1024, 1} }, |
| 5052 | .block_erase = erase_chip_block_jedec, |
| 5053 | } |
| 5054 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5055 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5056 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5057 | }, |
| 5058 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5059 | { |
| 5060 | .vendor = "SST", |
| 5061 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5062 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5063 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5064 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5065 | .total_size = 128, |
| 5066 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5067 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5068 | .tested = TEST_UNTESTED, |
| 5069 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5070 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5071 | .block_erasers = |
| 5072 | { |
| 5073 | { |
| 5074 | .eraseblocks = { {128 * 1024, 1} }, |
| 5075 | .block_erase = erase_chip_block_jedec, |
| 5076 | } |
| 5077 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5078 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5079 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5080 | }, |
| 5081 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5082 | { |
| 5083 | .vendor = "SST", |
| 5084 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5085 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5086 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5087 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5088 | .total_size = 256, |
| 5089 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5090 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5091 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5092 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5093 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5094 | .block_erasers = |
| 5095 | { |
| 5096 | { |
| 5097 | .eraseblocks = { {256 * 1024, 1} }, |
| 5098 | .block_erase = erase_chip_block_jedec, |
| 5099 | } |
| 5100 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5101 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5102 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5103 | }, |
| 5104 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5105 | { |
| 5106 | .vendor = "SST", |
| 5107 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5108 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5109 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5110 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5111 | .total_size = 256, |
| 5112 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5113 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 5114 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5115 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5116 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5117 | .block_erasers = |
| 5118 | { |
| 5119 | { |
| 5120 | .eraseblocks = { {256 * 1024, 1} }, |
| 5121 | .block_erase = erase_chip_block_jedec, |
| 5122 | } |
| 5123 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5124 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5125 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5126 | }, |
| 5127 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5128 | { |
| 5129 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5130 | .name = "SST39SF512", |
| 5131 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5132 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5133 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5134 | .total_size = 64, |
| 5135 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5136 | .feature_bits = FEATURE_EITHER_RESET, |
| 5137 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5138 | .probe = probe_jedec, |
| 5139 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5140 | .block_erasers = |
| 5141 | { |
| 5142 | { |
| 5143 | .eraseblocks = { {4 * 1024, 16} }, |
| 5144 | .block_erase = erase_sector_jedec, |
| 5145 | }, { |
| 5146 | .eraseblocks = { {64 * 1024, 1} }, |
| 5147 | .block_erase = erase_chip_block_jedec, |
| 5148 | } |
| 5149 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5150 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5151 | .read = read_memmapped, |
| 5152 | }, |
| 5153 | |
| 5154 | { |
| 5155 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5156 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5157 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5158 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5159 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5160 | .total_size = 128, |
| 5161 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5162 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5163 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5164 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5165 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5166 | .block_erasers = |
| 5167 | { |
| 5168 | { |
| 5169 | .eraseblocks = { {4 * 1024, 32} }, |
| 5170 | .block_erase = erase_sector_jedec, |
| 5171 | }, { |
| 5172 | .eraseblocks = { {128 * 1024, 1} }, |
| 5173 | .block_erase = erase_chip_block_jedec, |
| 5174 | } |
| 5175 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5176 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5177 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5178 | }, |
| 5179 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5180 | { |
| 5181 | .vendor = "SST", |
| 5182 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5183 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5184 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5185 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5186 | .total_size = 256, |
| 5187 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5188 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5189 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5190 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5191 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5192 | .block_erasers = |
| 5193 | { |
| 5194 | { |
| 5195 | .eraseblocks = { {4 * 1024, 64} }, |
| 5196 | .block_erase = erase_sector_jedec, |
| 5197 | }, { |
| 5198 | .eraseblocks = { {256 * 1024, 1} }, |
| 5199 | .block_erase = erase_chip_block_jedec, |
| 5200 | } |
| 5201 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5202 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5203 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5204 | }, |
| 5205 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5206 | { |
| 5207 | .vendor = "SST", |
| 5208 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5209 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5210 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5211 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5212 | .total_size = 512, |
| 5213 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5214 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5215 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5216 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5217 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5218 | .block_erasers = |
| 5219 | { |
| 5220 | { |
| 5221 | .eraseblocks = { {4 * 1024, 128} }, |
| 5222 | .block_erase = erase_sector_jedec, |
| 5223 | }, { |
| 5224 | .eraseblocks = { {512 * 1024, 1} }, |
| 5225 | .block_erase = erase_chip_block_jedec, |
| 5226 | } |
| 5227 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5228 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5229 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5230 | }, |
| 5231 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5232 | { |
| 5233 | .vendor = "SST", |
| 5234 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5235 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5236 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5237 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5238 | .total_size = 64, |
| 5239 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5240 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 5241 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5242 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5243 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5244 | .block_erasers = |
| 5245 | { |
| 5246 | { |
| 5247 | .eraseblocks = { {4 * 1024, 16} }, |
| 5248 | .block_erase = erase_sector_jedec, |
| 5249 | }, { |
| 5250 | .eraseblocks = { {64 * 1024, 1} }, |
| 5251 | .block_erase = erase_chip_block_jedec, |
| 5252 | } |
| 5253 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5254 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5255 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5256 | }, |
| 5257 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5258 | { |
| 5259 | .vendor = "SST", |
| 5260 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5261 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5262 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5263 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5264 | .total_size = 128, |
| 5265 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5266 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5267 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5268 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5269 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5270 | .block_erasers = |
| 5271 | { |
| 5272 | { |
| 5273 | .eraseblocks = { {4 * 1024, 32} }, |
| 5274 | .block_erase = erase_sector_jedec, |
| 5275 | }, { |
| 5276 | .eraseblocks = { {128 * 1024, 1} }, |
| 5277 | .block_erase = erase_chip_block_jedec, |
| 5278 | } |
| 5279 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5280 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5281 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5282 | }, |
| 5283 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5284 | { |
| 5285 | .vendor = "SST", |
| 5286 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5287 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5288 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5289 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5290 | .total_size = 256, |
| 5291 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5292 | .feature_bits = FEATURE_EITHER_RESET, |
| 5293 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5294 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5295 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5296 | .block_erasers = |
| 5297 | { |
| 5298 | { |
| 5299 | .eraseblocks = { {4 * 1024, 64} }, |
| 5300 | .block_erase = erase_sector_jedec, |
| 5301 | }, { |
| 5302 | .eraseblocks = { {256 * 1024, 1} }, |
| 5303 | .block_erase = erase_chip_block_jedec, |
| 5304 | } |
| 5305 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5306 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5307 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5308 | }, |
| 5309 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5310 | { |
| 5311 | .vendor = "SST", |
| 5312 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5313 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5314 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5315 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5316 | .total_size = 512, |
| 5317 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5318 | .feature_bits = FEATURE_EITHER_RESET, |
| 5319 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5320 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5321 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5322 | .block_erasers = |
| 5323 | { |
| 5324 | { |
| 5325 | .eraseblocks = { {4 * 1024, 128} }, |
| 5326 | .block_erase = erase_sector_jedec, |
| 5327 | }, { |
| 5328 | .eraseblocks = { {512 * 1024, 1} }, |
| 5329 | .block_erase = erase_chip_block_jedec, |
| 5330 | } |
| 5331 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5332 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5333 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 5334 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5335 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5336 | { |
| 5337 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5338 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5339 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5340 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5341 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5342 | .total_size = 1024, |
| 5343 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5344 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5345 | .tested = TEST_UNTESTED, |
| 5346 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5347 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5348 | .block_erasers = |
| 5349 | { |
| 5350 | { |
| 5351 | .eraseblocks = { {4 * 1024, 256} }, |
| 5352 | .block_erase = erase_sector_jedec, |
| 5353 | }, { |
| 5354 | .eraseblocks = { {64 * 1024, 16} }, |
| 5355 | .block_erase = erase_block_jedec, |
| 5356 | }, { |
| 5357 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5358 | .block_erase = erase_chip_block_jedec, |
| 5359 | } |
| 5360 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5361 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5362 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5363 | }, |
| 5364 | |
| 5365 | { |
| 5366 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5367 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5368 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5369 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5370 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5371 | .total_size = 256, |
| 5372 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5373 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5374 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5375 | .probe = probe_jedec, |
| 5376 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5377 | .block_erasers = |
| 5378 | { |
| 5379 | { |
| 5380 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5381 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5382 | }, { |
| 5383 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5384 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5385 | }, { |
| 5386 | .eraseblocks = { {256 * 1024, 1} }, |
| 5387 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5388 | } |
| 5389 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5390 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5391 | .unlock = unlock_sst_fwhub, |
| 5392 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5393 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5394 | }, |
| 5395 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5396 | { |
| 5397 | .vendor = "SST", |
| 5398 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5399 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5400 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5401 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5402 | .total_size = 384, |
| 5403 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5404 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 5405 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5406 | .probe = probe_jedec, |
| 5407 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5408 | .block_erasers = |
| 5409 | { |
| 5410 | { |
| 5411 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5412 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5413 | }, { |
| 5414 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5415 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5416 | }, { |
| 5417 | .eraseblocks = { {384 * 1024, 1} }, |
| 5418 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5419 | } |
| 5420 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5421 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5422 | .unlock = unlock_sst_fwhub, |
| 5423 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5424 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5425 | }, |
| 5426 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5427 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5428 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 5429 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 5430 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5431 | .vendor = "SST", |
| 5432 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5433 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5434 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5435 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5436 | .total_size = 512, |
| 5437 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5438 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5439 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5440 | .probe = probe_jedec, |
| 5441 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5442 | .block_erasers = |
| 5443 | { |
| 5444 | { |
| 5445 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5446 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5447 | }, { |
| 5448 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5449 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5450 | }, { |
| 5451 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5452 | .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] | 5453 | }, |
| 5454 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5455 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5456 | .unlock = unlock_sst_fwhub, |
| 5457 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5458 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5459 | }, |
| 5460 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5461 | { |
| 5462 | .vendor = "SST", |
| 5463 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5464 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5465 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5466 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5467 | .total_size = 512, |
| 5468 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5469 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5470 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5471 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5472 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5473 | .block_erasers = |
| 5474 | { |
| 5475 | { |
| 5476 | .eraseblocks = { {4 * 1024, 128} }, |
| 5477 | .block_erase = erase_sector_49lfxxxc, |
| 5478 | }, { |
| 5479 | .eraseblocks = { |
| 5480 | {64 * 1024, 7}, |
| 5481 | {32 * 1024, 1}, |
| 5482 | {8 * 1024, 2}, |
| 5483 | {16 * 1024, 1}, |
| 5484 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5485 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5486 | } |
| 5487 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5488 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5489 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5490 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5491 | }, |
| 5492 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5493 | { |
| 5494 | .vendor = "SST", |
| 5495 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5496 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5497 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5498 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5499 | .total_size = 1024, |
| 5500 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5501 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5502 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5503 | .probe = probe_jedec, |
| 5504 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5505 | .block_erasers = |
| 5506 | { |
| 5507 | { |
| 5508 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5509 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5510 | }, { |
| 5511 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5512 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5513 | }, { |
| 5514 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5515 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5516 | } |
| 5517 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5518 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5519 | .unlock = unlock_sst_fwhub, |
| 5520 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5521 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5522 | }, |
| 5523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5524 | { |
| 5525 | .vendor = "SST", |
| 5526 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5527 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5528 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5529 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5530 | .total_size = 1024, |
| 5531 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5532 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5533 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5534 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5535 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5536 | .block_erasers = |
| 5537 | { |
| 5538 | { |
| 5539 | .eraseblocks = { {4 * 1024, 256} }, |
| 5540 | .block_erase = erase_sector_49lfxxxc, |
| 5541 | }, { |
| 5542 | .eraseblocks = { |
| 5543 | {64 * 1024, 15}, |
| 5544 | {32 * 1024, 1}, |
| 5545 | {8 * 1024, 2}, |
| 5546 | {16 * 1024, 1}, |
| 5547 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5548 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5549 | } |
| 5550 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5551 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5552 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5553 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5554 | }, |
| 5555 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5556 | { |
| 5557 | .vendor = "SST", |
| 5558 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5559 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5560 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5561 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5562 | .total_size = 2048, |
| 5563 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5564 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5565 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5566 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5567 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5568 | .block_erasers = |
| 5569 | { |
| 5570 | { |
| 5571 | .eraseblocks = { {4 * 1024, 512} }, |
| 5572 | .block_erase = erase_sector_49lfxxxc, |
| 5573 | }, { |
| 5574 | .eraseblocks = { |
| 5575 | {64 * 1024, 31}, |
| 5576 | {32 * 1024, 1}, |
| 5577 | {8 * 1024, 2}, |
| 5578 | {16 * 1024, 1}, |
| 5579 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5580 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5581 | } |
| 5582 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5583 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5584 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5585 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5586 | }, |
| 5587 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5588 | { |
| 5589 | .vendor = "SST", |
| 5590 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5591 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5592 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5593 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5594 | .total_size = 256, |
| 5595 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5596 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5597 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5598 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5599 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5600 | .block_erasers = |
| 5601 | { |
| 5602 | { |
| 5603 | .eraseblocks = { {4 * 1024, 64} }, |
| 5604 | .block_erase = erase_sector_jedec, |
| 5605 | }, { |
| 5606 | .eraseblocks = { {16 * 1024, 16} }, |
| 5607 | .block_erase = erase_block_jedec, |
| 5608 | }, { |
| 5609 | .eraseblocks = { {256 * 1024, 1} }, |
| 5610 | .block_erase = NULL, |
| 5611 | } |
| 5612 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5613 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5614 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 5615 | }, |
| 5616 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5617 | { |
| 5618 | .vendor = "SST", |
| 5619 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5620 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5621 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5622 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5623 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 5624 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5625 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5626 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5627 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5628 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5629 | .block_erasers = |
| 5630 | { |
| 5631 | { |
| 5632 | .eraseblocks = { {4 * 1024, 64} }, |
| 5633 | .block_erase = erase_sector_jedec, |
| 5634 | }, { |
| 5635 | .eraseblocks = { {16 * 1024, 16} }, |
| 5636 | .block_erase = erase_block_jedec, |
| 5637 | }, { |
| 5638 | .eraseblocks = { {256 * 1024, 1} }, |
| 5639 | .block_erase = NULL, |
| 5640 | } |
| 5641 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5642 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5643 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5644 | }, |
| 5645 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5646 | { |
| 5647 | .vendor = "SST", |
| 5648 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5649 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5650 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5651 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5652 | .total_size = 512, |
| 5653 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5654 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 5655 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5656 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5657 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5658 | .block_erasers = |
| 5659 | { |
| 5660 | { |
| 5661 | .eraseblocks = { {4 * 1024, 128} }, |
| 5662 | .block_erase = erase_sector_jedec, |
| 5663 | }, { |
| 5664 | .eraseblocks = { {64 * 1024, 8} }, |
| 5665 | .block_erase = erase_block_jedec, |
| 5666 | }, { |
| 5667 | .eraseblocks = { {512 * 1024, 1} }, |
| 5668 | .block_erase = NULL, |
| 5669 | } |
| 5670 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5671 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5672 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5673 | }, |
| 5674 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5675 | { |
| 5676 | .vendor = "SST", |
| 5677 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5678 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5679 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5680 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5681 | .total_size = 512, |
| 5682 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5683 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
| 5684 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5685 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5686 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5687 | .block_erasers = |
| 5688 | { |
| 5689 | { |
| 5690 | .eraseblocks = { {4 * 1024, 128} }, |
| 5691 | .block_erase = erase_sector_jedec, |
| 5692 | }, { |
| 5693 | .eraseblocks = { {64 * 1024, 8} }, |
| 5694 | .block_erase = erase_block_jedec, |
| 5695 | }, { |
| 5696 | .eraseblocks = { {512 * 1024, 1} }, |
| 5697 | .block_erase = NULL, |
| 5698 | } |
| 5699 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5700 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5701 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5702 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5703 | }, |
| 5704 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5705 | { |
| 5706 | .vendor = "SST", |
| 5707 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5708 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5709 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5710 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5711 | .total_size = 1024, |
| 5712 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5713 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5714 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5715 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5716 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5717 | .block_erasers = |
| 5718 | { |
| 5719 | { |
| 5720 | .eraseblocks = { {4 * 1024, 256} }, |
| 5721 | .block_erase = erase_sector_jedec, |
| 5722 | }, { |
| 5723 | .eraseblocks = { {64 * 1024, 16} }, |
| 5724 | .block_erase = erase_block_jedec, |
| 5725 | }, { |
| 5726 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5727 | .block_erase = NULL, |
| 5728 | } |
| 5729 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5730 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5731 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5732 | }, |
| 5733 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5734 | { |
| 5735 | .vendor = "SST", |
| 5736 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5737 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5738 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 5739 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5740 | .total_size = 2048, |
| 5741 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5742 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5743 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5744 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5745 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5746 | .block_erasers = |
| 5747 | { |
| 5748 | { |
| 5749 | .eraseblocks = { {4 * 1024, 512} }, |
| 5750 | .block_erase = erase_sector_49lfxxxc, |
| 5751 | }, { |
| 5752 | .eraseblocks = { |
| 5753 | {64 * 1024, 31}, |
| 5754 | {32 * 1024, 1}, |
| 5755 | {8 * 1024, 2}, |
| 5756 | {16 * 1024, 1}, |
| 5757 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5758 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5759 | } |
| 5760 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5761 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5762 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5763 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5764 | }, |
| 5765 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5766 | { |
| 5767 | .vendor = "ST", |
| 5768 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5769 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5770 | .manufacture_id = ST_ID, |
| 5771 | .model_id = ST_M25P05A, |
| 5772 | .total_size = 64, |
| 5773 | .page_size = 256, |
| 5774 | .tested = TEST_UNTESTED, |
| 5775 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5776 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5777 | .block_erasers = |
| 5778 | { |
| 5779 | { |
| 5780 | .eraseblocks = { {32 * 1024, 2} }, |
| 5781 | .block_erase = spi_block_erase_d8, |
| 5782 | }, { |
| 5783 | .eraseblocks = { {64 * 1024, 1} }, |
| 5784 | .block_erase = spi_block_erase_c7, |
| 5785 | } |
| 5786 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5787 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5788 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5789 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5790 | }, |
| 5791 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5792 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 5793 | * 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] | 5794 | * 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] | 5795 | * only is successful if RDID does not work. |
| 5796 | */ |
| 5797 | { |
| 5798 | .vendor = "ST", |
| 5799 | .name = "M25P05.RES", |
| 5800 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5801 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5802 | .model_id = ST_M25P05_RES, |
| 5803 | .total_size = 64, |
| 5804 | .page_size = 256, |
| 5805 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5806 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5807 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5808 | .block_erasers = |
| 5809 | { |
| 5810 | { |
| 5811 | .eraseblocks = { {32 * 1024, 2} }, |
| 5812 | .block_erase = spi_block_erase_d8, |
| 5813 | }, { |
| 5814 | .eraseblocks = { {64 * 1024, 1} }, |
| 5815 | .block_erase = spi_block_erase_c7, |
| 5816 | } |
| 5817 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5818 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5819 | .write = spi_chip_write_1, /* 128 */ |
| 5820 | .read = spi_chip_read, |
| 5821 | }, |
| 5822 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5823 | { |
| 5824 | .vendor = "ST", |
| 5825 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5826 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5827 | .manufacture_id = ST_ID, |
| 5828 | .model_id = ST_M25P10A, |
| 5829 | .total_size = 128, |
| 5830 | .page_size = 256, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5831 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5832 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5833 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5834 | .block_erasers = |
| 5835 | { |
| 5836 | { |
| 5837 | .eraseblocks = { {32 * 1024, 4} }, |
| 5838 | .block_erase = spi_block_erase_d8, |
| 5839 | }, { |
| 5840 | .eraseblocks = { {128 * 1024, 1} }, |
| 5841 | .block_erase = spi_block_erase_c7, |
| 5842 | } |
| 5843 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5844 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5845 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5846 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5847 | }, |
| 5848 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5849 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 5850 | { |
| 5851 | .vendor = "ST", |
| 5852 | .name = "M25P10.RES", |
| 5853 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5854 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5855 | .model_id = ST_M25P10_RES, |
| 5856 | .total_size = 128, |
| 5857 | .page_size = 256, |
| 5858 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5859 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5860 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5861 | .block_erasers = |
| 5862 | { |
| 5863 | { |
| 5864 | .eraseblocks = { {32 * 1024, 4} }, |
| 5865 | .block_erase = spi_block_erase_d8, |
| 5866 | }, { |
| 5867 | .eraseblocks = { {128 * 1024, 1} }, |
| 5868 | .block_erase = spi_block_erase_c7, |
| 5869 | } |
| 5870 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5871 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5872 | .write = spi_chip_write_1, /* 128 */ |
| 5873 | .read = spi_chip_read, |
| 5874 | }, |
| 5875 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5876 | { |
| 5877 | .vendor = "ST", |
| 5878 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5879 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5880 | .manufacture_id = ST_ID, |
| 5881 | .model_id = ST_M25P20, |
| 5882 | .total_size = 256, |
| 5883 | .page_size = 256, |
| 5884 | .tested = TEST_UNTESTED, |
| 5885 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5886 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5887 | .block_erasers = |
| 5888 | { |
| 5889 | { |
| 5890 | .eraseblocks = { {64 * 1024, 4} }, |
| 5891 | .block_erase = spi_block_erase_d8, |
| 5892 | }, { |
| 5893 | .eraseblocks = { {256 * 1024, 1} }, |
| 5894 | .block_erase = spi_block_erase_c7, |
| 5895 | } |
| 5896 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5897 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5898 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5899 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5900 | }, |
| 5901 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5902 | { |
| 5903 | .vendor = "ST", |
| 5904 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5905 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5906 | .manufacture_id = ST_ID, |
| 5907 | .model_id = ST_M25P40, |
| 5908 | .total_size = 512, |
| 5909 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5910 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5911 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5912 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5913 | .block_erasers = |
| 5914 | { |
| 5915 | { |
| 5916 | .eraseblocks = { {64 * 1024, 8} }, |
| 5917 | .block_erase = spi_block_erase_d8, |
| 5918 | }, { |
| 5919 | .eraseblocks = { {512 * 1024, 1} }, |
| 5920 | .block_erase = spi_block_erase_c7, |
| 5921 | } |
| 5922 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5923 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5924 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5925 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5926 | }, |
| 5927 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5928 | { |
| 5929 | .vendor = "ST", |
| 5930 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5931 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5932 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5933 | .model_id = ST_M25P40_RES, |
| 5934 | .total_size = 512, |
| 5935 | .page_size = 256, |
| 5936 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5937 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5938 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5939 | .block_erasers = |
| 5940 | { |
| 5941 | { |
| 5942 | .eraseblocks = { {64 * 1024, 8} }, |
| 5943 | .block_erase = spi_block_erase_d8, |
| 5944 | }, { |
| 5945 | .eraseblocks = { {512 * 1024, 1} }, |
| 5946 | .block_erase = spi_block_erase_c7, |
| 5947 | } |
| 5948 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5949 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5950 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5951 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5952 | }, |
| 5953 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5954 | { |
| 5955 | .vendor = "ST", |
| 5956 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5957 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5958 | .manufacture_id = ST_ID, |
| 5959 | .model_id = ST_M25P80, |
| 5960 | .total_size = 1024, |
| 5961 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5962 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5963 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5964 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5965 | .block_erasers = |
| 5966 | { |
| 5967 | { |
| 5968 | .eraseblocks = { {64 * 1024, 16} }, |
| 5969 | .block_erase = spi_block_erase_d8, |
| 5970 | }, { |
| 5971 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5972 | .block_erase = spi_block_erase_c7, |
| 5973 | } |
| 5974 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5975 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5976 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5977 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5978 | }, |
| 5979 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5980 | { |
| 5981 | .vendor = "ST", |
| 5982 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5983 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5984 | .manufacture_id = ST_ID, |
| 5985 | .model_id = ST_M25P16, |
| 5986 | .total_size = 2048, |
| 5987 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5988 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5989 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5990 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5991 | .block_erasers = |
| 5992 | { |
| 5993 | { |
| 5994 | .eraseblocks = { {64 * 1024, 32} }, |
| 5995 | .block_erase = spi_block_erase_d8, |
| 5996 | }, { |
| 5997 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5998 | .block_erase = spi_block_erase_c7, |
| 5999 | } |
| 6000 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6001 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6002 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6003 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6004 | }, |
| 6005 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6006 | { |
| 6007 | .vendor = "ST", |
| 6008 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6009 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6010 | .manufacture_id = ST_ID, |
| 6011 | .model_id = ST_M25P32, |
| 6012 | .total_size = 4096, |
| 6013 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6014 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6015 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6016 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6017 | .block_erasers = |
| 6018 | { |
| 6019 | { |
| 6020 | .eraseblocks = { {64 * 1024, 64} }, |
| 6021 | .block_erase = spi_block_erase_d8, |
| 6022 | }, { |
| 6023 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6024 | .block_erase = spi_block_erase_c7, |
| 6025 | } |
| 6026 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6027 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6028 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6029 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6030 | }, |
| 6031 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6032 | { |
| 6033 | .vendor = "ST", |
| 6034 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6035 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6036 | .manufacture_id = ST_ID, |
| 6037 | .model_id = ST_M25P64, |
| 6038 | .total_size = 8192, |
| 6039 | .page_size = 256, |
| 6040 | .tested = TEST_UNTESTED, |
| 6041 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6042 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6043 | .block_erasers = |
| 6044 | { |
| 6045 | { |
| 6046 | .eraseblocks = { {64 * 1024, 128} }, |
| 6047 | .block_erase = spi_block_erase_d8, |
| 6048 | }, { |
| 6049 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6050 | .block_erase = spi_block_erase_c7, |
| 6051 | } |
| 6052 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6053 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6054 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6055 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6056 | }, |
| 6057 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6058 | { |
| 6059 | .vendor = "ST", |
| 6060 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6061 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6062 | .manufacture_id = ST_ID, |
| 6063 | .model_id = ST_M25P128, |
| 6064 | .total_size = 16384, |
| 6065 | .page_size = 256, |
| 6066 | .tested = TEST_UNTESTED, |
| 6067 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6068 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6069 | .block_erasers = |
| 6070 | { |
| 6071 | { |
| 6072 | .eraseblocks = { {256 * 1024, 64} }, |
| 6073 | .block_erase = spi_block_erase_d8, |
| 6074 | }, { |
| 6075 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6076 | .block_erase = spi_block_erase_c7, |
| 6077 | } |
| 6078 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6079 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6080 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6081 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6082 | }, |
| 6083 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6084 | { |
| 6085 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6086 | .name = "M25PX32", |
| 6087 | .bustype = CHIP_BUSTYPE_SPI, |
| 6088 | .manufacture_id = ST_ID, |
| 6089 | .model_id = ST_M25PX32, |
| 6090 | .total_size = 4096, |
| 6091 | .page_size = 256, |
| 6092 | .tested = TEST_OK_PREW, |
| 6093 | .probe = probe_spi_rdid, |
| 6094 | .probe_timing = TIMING_ZERO, |
| 6095 | .block_erasers = |
| 6096 | { |
| 6097 | { |
| 6098 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 6099 | .block_erase = spi_block_erase_20, |
| 6100 | }, { |
| 6101 | .eraseblocks = { {64 * 1024, 64} }, |
| 6102 | .block_erase = spi_block_erase_d8, |
| 6103 | }, { |
| 6104 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6105 | .block_erase = spi_block_erase_c7, |
| 6106 | } |
| 6107 | }, |
| 6108 | .unlock = spi_disable_blockprotect, |
| 6109 | .write = spi_chip_write_256, |
| 6110 | .read = spi_chip_read, |
| 6111 | }, |
| 6112 | |
| 6113 | { |
| 6114 | .vendor = "ST", |
| 6115 | .name = "M25PX64", |
| 6116 | .bustype = CHIP_BUSTYPE_SPI, |
| 6117 | .manufacture_id = ST_ID, |
| 6118 | .model_id = ST_M25PX64, |
| 6119 | .total_size = 8192, |
| 6120 | .page_size = 256, |
| 6121 | .tested = TEST_OK_PREW, |
| 6122 | .probe = probe_spi_rdid, |
| 6123 | .probe_timing = TIMING_ZERO, |
| 6124 | .block_erasers = |
| 6125 | { |
| 6126 | { |
| 6127 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 6128 | .block_erase = spi_block_erase_20, |
| 6129 | }, { |
| 6130 | .eraseblocks = { {64 * 1024, 128} }, |
| 6131 | .block_erase = spi_block_erase_d8, |
| 6132 | }, { |
| 6133 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6134 | .block_erase = spi_block_erase_c7, |
| 6135 | } |
| 6136 | }, |
| 6137 | .unlock = spi_disable_blockprotect, |
| 6138 | .write = spi_chip_write_256, |
| 6139 | .read = spi_chip_read, |
| 6140 | }, |
| 6141 | |
| 6142 | { |
| 6143 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6144 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6145 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6146 | .manufacture_id = ST_ID, |
| 6147 | .model_id = ST_M29F002B, |
| 6148 | .total_size = 256, |
| 6149 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6150 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6151 | .tested = TEST_UNTESTED, |
| 6152 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6153 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6154 | .block_erasers = |
| 6155 | { |
| 6156 | { |
| 6157 | .eraseblocks = { |
| 6158 | {16 * 1024, 1}, |
| 6159 | {8 * 1024, 2}, |
| 6160 | {32 * 1024, 1}, |
| 6161 | {64 * 1024, 3}, |
| 6162 | }, |
| 6163 | .block_erase = erase_sector_jedec, |
| 6164 | }, { |
| 6165 | .eraseblocks = { {256 * 1024, 1} }, |
| 6166 | .block_erase = erase_chip_block_jedec, |
| 6167 | } |
| 6168 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6171 | }, |
| 6172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6173 | { |
| 6174 | .vendor = "ST", |
| 6175 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6177 | .manufacture_id = ST_ID, |
| 6178 | .model_id = ST_M29F002T, |
| 6179 | .total_size = 256, |
| 6180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6181 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 6182 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6183 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6184 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6185 | .block_erasers = |
| 6186 | { |
| 6187 | { |
| 6188 | .eraseblocks = { |
| 6189 | {64 * 1024, 3}, |
| 6190 | {32 * 1024, 1}, |
| 6191 | {8 * 1024, 2}, |
| 6192 | {16 * 1024, 1}, |
| 6193 | }, |
| 6194 | .block_erase = erase_sector_jedec, |
| 6195 | }, { |
| 6196 | .eraseblocks = { {256 * 1024, 1} }, |
| 6197 | .block_erase = erase_chip_block_jedec, |
| 6198 | } |
| 6199 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6200 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6201 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6202 | }, |
| 6203 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6204 | { |
| 6205 | .vendor = "ST", |
| 6206 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6207 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6208 | .manufacture_id = ST_ID, |
| 6209 | .model_id = ST_M29F040B, |
| 6210 | .total_size = 512, |
| 6211 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6212 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6213 | .tested = TEST_UNTESTED, |
| 6214 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6215 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6216 | .block_erasers = |
| 6217 | { |
| 6218 | { |
| 6219 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6220 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6221 | }, { |
| 6222 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6223 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6224 | } |
| 6225 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6226 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6227 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6228 | }, |
| 6229 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6230 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6231 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6232 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6233 | .name = "M29F400BB", |
| 6234 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6235 | .manufacture_id = ST_ID, |
| 6236 | .model_id = ST_M29F400BB, |
| 6237 | .total_size = 512, |
| 6238 | .page_size = 64 * 1024, |
| 6239 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
| 6240 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
| 6241 | .probe = probe_m29f400bt, |
| 6242 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 6243 | .block_erasers = |
| 6244 | { |
| 6245 | { |
| 6246 | .eraseblocks = { |
| 6247 | {16 * 1024, 1}, |
| 6248 | {8 * 1024, 2}, |
| 6249 | {32 * 1024, 1}, |
| 6250 | {64 * 1024, 7}, |
| 6251 | }, |
| 6252 | .block_erase = block_erase_m29f400bt, |
| 6253 | }, { |
| 6254 | .eraseblocks = { {512 * 1024, 1} }, |
| 6255 | .block_erase = block_erase_chip_m29f400bt, |
| 6256 | } |
| 6257 | }, |
| 6258 | .write = NULL, |
| 6259 | .read = read_memmapped, |
| 6260 | }, |
| 6261 | { |
| 6262 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 6263 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6264 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6265 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6266 | .manufacture_id = ST_ID, |
| 6267 | .model_id = ST_M29F400BT, |
| 6268 | .total_size = 512, |
| 6269 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6270 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6271 | .tested = TEST_UNTESTED, |
| 6272 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6273 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6274 | .block_erasers = |
| 6275 | { |
| 6276 | { |
| 6277 | .eraseblocks = { |
| 6278 | {64 * 1024, 7}, |
| 6279 | {32 * 1024, 1}, |
| 6280 | {8 * 1024, 2}, |
| 6281 | {16 * 1024, 1}, |
| 6282 | }, |
| 6283 | .block_erase = block_erase_m29f400bt, |
| 6284 | }, { |
| 6285 | .eraseblocks = { {512 * 1024, 1} }, |
| 6286 | .block_erase = block_erase_chip_m29f400bt, |
| 6287 | } |
| 6288 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6289 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6290 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6291 | }, |
| 6292 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6293 | { |
| 6294 | .vendor = "ST", |
| 6295 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6296 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6297 | .manufacture_id = ST_ID, |
| 6298 | .model_id = ST_M29W010B, |
| 6299 | .total_size = 128, |
| 6300 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6301 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6302 | .tested = TEST_UNTESTED, |
| 6303 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6304 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6305 | .block_erasers = |
| 6306 | { |
| 6307 | { |
| 6308 | .eraseblocks = { {16 * 1024, 8}, }, |
| 6309 | .block_erase = erase_sector_jedec, |
| 6310 | }, { |
| 6311 | .eraseblocks = { {128 * 1024, 1} }, |
| 6312 | .block_erase = erase_chip_block_jedec, |
| 6313 | } |
| 6314 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6315 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6316 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6317 | }, |
| 6318 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6319 | { |
| 6320 | .vendor = "ST", |
| 6321 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6322 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6323 | .manufacture_id = ST_ID, |
| 6324 | .model_id = ST_M29W040B, |
| 6325 | .total_size = 512, |
| 6326 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6327 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6328 | .tested = TEST_UNTESTED, |
| 6329 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6330 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6331 | .block_erasers = |
| 6332 | { |
| 6333 | { |
| 6334 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6335 | .block_erase = erase_sector_jedec, |
| 6336 | }, { |
| 6337 | .eraseblocks = { {512 * 1024, 1} }, |
| 6338 | .block_erase = erase_chip_block_jedec, |
| 6339 | } |
| 6340 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6341 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6342 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6343 | }, |
| 6344 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6345 | { |
| 6346 | .vendor = "ST", |
| 6347 | .name = "M29W512B", |
| 6348 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6349 | .manufacture_id = ST_ID, |
| 6350 | .model_id = ST_M29W512B, |
| 6351 | .total_size = 64, |
| 6352 | .page_size = 64 * 1024, |
| 6353 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6354 | .tested = TEST_OK_PREW, |
| 6355 | .probe = probe_jedec, |
| 6356 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6357 | .block_erasers = |
| 6358 | { |
| 6359 | { |
| 6360 | .eraseblocks = { {64 * 1024, 1} }, |
| 6361 | .block_erase = erase_chip_block_jedec, |
| 6362 | } |
| 6363 | }, |
| 6364 | .write = write_jedec_1, |
| 6365 | .read = read_memmapped, |
| 6366 | }, |
| 6367 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6368 | { |
| 6369 | .vendor = "ST", |
| 6370 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6371 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6372 | .manufacture_id = ST_ID, |
| 6373 | .model_id = ST_M50FLW040A, |
| 6374 | .total_size = 512, |
| 6375 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6376 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6377 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6378 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6379 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6380 | .block_erasers = |
| 6381 | { |
| 6382 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6383 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6384 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6385 | {64 * 1024, 5}, /* block */ |
| 6386 | {4 * 1024, 16}, /* sector */ |
| 6387 | {4 * 1024, 16}, /* sector */ |
| 6388 | }, |
| 6389 | .block_erase = NULL, |
| 6390 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6391 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6392 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6393 | }, { |
| 6394 | .eraseblocks = { {512 * 1024, 1} }, |
| 6395 | .block_erase = erase_chip_stm50flw0x0x, |
| 6396 | } |
| 6397 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6398 | .unlock = unlock_stm50flw0x0x, |
| 6399 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6400 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6401 | }, |
| 6402 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6403 | { |
| 6404 | .vendor = "ST", |
| 6405 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6406 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6407 | .manufacture_id = ST_ID, |
| 6408 | .model_id = ST_M50FLW040B, |
| 6409 | .total_size = 512, |
| 6410 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6411 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6412 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6413 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6414 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6415 | .block_erasers = |
| 6416 | { |
| 6417 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6418 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6419 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6420 | {4 * 1024, 16}, /* sector */ |
| 6421 | {64 * 1024, 5}, /* block */ |
| 6422 | {4 * 1024, 16}, /* sector */ |
| 6423 | }, |
| 6424 | .block_erase = NULL, |
| 6425 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6426 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6427 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6428 | }, { |
| 6429 | .eraseblocks = { {512 * 1024, 1} }, |
| 6430 | .block_erase = erase_chip_stm50flw0x0x, |
| 6431 | } |
| 6432 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6433 | .unlock = unlock_stm50flw0x0x, |
| 6434 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6435 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6436 | }, |
| 6437 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6438 | { |
| 6439 | .vendor = "ST", |
| 6440 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6441 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6442 | .manufacture_id = ST_ID, |
| 6443 | .model_id = ST_M50FLW080A, |
| 6444 | .total_size = 1024, |
| 6445 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6446 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 6447 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6448 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6449 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6450 | .block_erasers = |
| 6451 | { |
| 6452 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6453 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6454 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6455 | {64 * 1024, 13}, /* block */ |
| 6456 | {4 * 1024, 16}, /* sector */ |
| 6457 | {4 * 1024, 16}, /* sector */ |
| 6458 | }, |
| 6459 | .block_erase = NULL, |
| 6460 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6461 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6462 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6463 | }, { |
| 6464 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6465 | .block_erase = erase_chip_stm50flw0x0x, |
| 6466 | } |
| 6467 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6468 | .unlock = unlock_stm50flw0x0x, |
| 6469 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6470 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6471 | }, |
| 6472 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6473 | { |
| 6474 | .vendor = "ST", |
| 6475 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6476 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6477 | .manufacture_id = ST_ID, |
| 6478 | .model_id = ST_M50FLW080B, |
| 6479 | .total_size = 1024, |
| 6480 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6481 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6482 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6483 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6484 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6485 | .block_erasers = |
| 6486 | { |
| 6487 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6488 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6489 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6490 | {4 * 1024, 16}, /* sector */ |
| 6491 | {64 * 1024, 13}, /* block */ |
| 6492 | {4 * 1024, 16}, /* sector */ |
| 6493 | }, |
| 6494 | .block_erase = NULL, |
| 6495 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6496 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6497 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6498 | }, { |
| 6499 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6500 | .block_erase = erase_chip_stm50flw0x0x, |
| 6501 | } |
| 6502 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6503 | .unlock = unlock_stm50flw0x0x, |
| 6504 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6505 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6506 | }, |
| 6507 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6508 | { |
| 6509 | .vendor = "ST", |
| 6510 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6511 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6512 | .manufacture_id = ST_ID, |
| 6513 | .model_id = ST_M50FW002, |
| 6514 | .total_size = 256, |
| 6515 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6516 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6517 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6518 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6519 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6520 | .block_erasers = |
| 6521 | { |
| 6522 | { |
| 6523 | .eraseblocks = { |
| 6524 | {64 * 1024, 3}, |
| 6525 | {32 * 1024, 1}, |
| 6526 | {8 * 1024, 2}, |
| 6527 | {16 * 1024, 1}, |
| 6528 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6529 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6530 | }, { |
| 6531 | .eraseblocks = { {256 * 1024, 1} }, |
| 6532 | .block_erase = erase_chip_stm50flw0x0x, |
| 6533 | } |
| 6534 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6535 | .unlock = unlock_stm50flw0x0x, |
| 6536 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6537 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6538 | }, |
| 6539 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6540 | { |
| 6541 | .vendor = "ST", |
| 6542 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6543 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6544 | .manufacture_id = ST_ID, |
| 6545 | .model_id = ST_M50FW016, |
| 6546 | .total_size = 2048, |
| 6547 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6548 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6549 | .tested = TEST_UNTESTED, |
| 6550 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6551 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6552 | .block_erasers = |
| 6553 | { |
| 6554 | { |
| 6555 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6556 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6557 | }, { |
| 6558 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6559 | .block_erase = erase_chip_stm50flw0x0x, |
| 6560 | } |
| 6561 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6562 | .unlock = unlock_stm50flw0x0x, |
| 6563 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6564 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6565 | }, |
| 6566 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6567 | { |
| 6568 | .vendor = "ST", |
| 6569 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6570 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6571 | .manufacture_id = ST_ID, |
| 6572 | .model_id = ST_M50FW040, |
| 6573 | .total_size = 512, |
| 6574 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6575 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6576 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6577 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6578 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6579 | .block_erasers = |
| 6580 | { |
| 6581 | { |
| 6582 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6583 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6584 | }, { |
| 6585 | .eraseblocks = { {512 * 1024, 1} }, |
| 6586 | .block_erase = erase_chip_stm50flw0x0x, |
| 6587 | } |
| 6588 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6589 | .unlock = unlock_stm50flw0x0x, |
| 6590 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6591 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6592 | }, |
| 6593 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6594 | { |
| 6595 | .vendor = "ST", |
| 6596 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6597 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6598 | .manufacture_id = ST_ID, |
| 6599 | .model_id = ST_M50FW080, |
| 6600 | .total_size = 1024, |
| 6601 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6602 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6603 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6604 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6605 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6606 | .block_erasers = |
| 6607 | { |
| 6608 | { |
| 6609 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6610 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6611 | }, { |
| 6612 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6613 | .block_erase = erase_chip_stm50flw0x0x, |
| 6614 | } |
| 6615 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6616 | .unlock = unlock_stm50flw0x0x, |
| 6617 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6618 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6619 | }, |
| 6620 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6621 | { |
| 6622 | .vendor = "ST", |
| 6623 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6624 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6625 | .manufacture_id = ST_ID, |
| 6626 | .model_id = ST_M50LPW116, |
| 6627 | .total_size = 2048, |
| 6628 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6629 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6630 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6631 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6632 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6633 | .block_erasers = |
| 6634 | { |
| 6635 | { |
| 6636 | .eraseblocks = { |
| 6637 | {4 * 1024, 16}, |
| 6638 | {64 * 1024, 30}, |
| 6639 | {32 * 1024, 1}, |
| 6640 | {8 * 1024, 2}, |
| 6641 | {16 * 1024, 1}, |
| 6642 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6643 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6644 | }, { |
| 6645 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6646 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6647 | } |
| 6648 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6649 | .unlock = unlock_stm50flw0x0x, |
| 6650 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6651 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6652 | }, |
| 6653 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6654 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6655 | .vendor = "SyncMOS/MoselVitelic", |
| 6656 | .name = "{F,S,V}29C51001B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6657 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6658 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6659 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6660 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6661 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6662 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6663 | .tested = TEST_UNTESTED, |
| 6664 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6665 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6666 | .block_erasers = |
| 6667 | { |
| 6668 | { |
| 6669 | .eraseblocks = { {512, 256} }, |
| 6670 | .block_erase = erase_sector_jedec, |
| 6671 | }, { |
| 6672 | .eraseblocks = { {128 * 1024, 1} }, |
| 6673 | .block_erase = erase_chip_block_jedec, |
| 6674 | }, |
| 6675 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6676 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6677 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6678 | }, |
| 6679 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6680 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6681 | .vendor = "SyncMOS/MoselVitelic", |
| 6682 | .name = "{F,S,V}29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6683 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6684 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6685 | .model_id = SM_MVC_29C51001T, |
| 6686 | .total_size = 128, |
| 6687 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6688 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6689 | .tested = TEST_UNTESTED, |
| 6690 | .probe = probe_jedec, |
| 6691 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6692 | .block_erasers = |
| 6693 | { |
| 6694 | { |
| 6695 | .eraseblocks = { {512, 256} }, |
| 6696 | .block_erase = erase_sector_jedec, |
| 6697 | }, { |
| 6698 | .eraseblocks = { {128 * 1024, 1} }, |
| 6699 | .block_erase = erase_chip_block_jedec, |
| 6700 | }, |
| 6701 | }, |
| 6702 | .write = write_jedec_1, |
| 6703 | .read = read_memmapped, |
| 6704 | }, |
| 6705 | |
| 6706 | { |
| 6707 | .vendor = "SyncMOS/MoselVitelic", |
| 6708 | .name = "{F,S,V}29C51002B", |
| 6709 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6710 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6711 | .model_id = SM_MVC_29C51002B, |
| 6712 | .total_size = 256, |
| 6713 | .page_size = 512, |
| 6714 | .feature_bits = FEATURE_EITHER_RESET, |
| 6715 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6716 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6717 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6718 | .block_erasers = |
| 6719 | { |
| 6720 | { |
| 6721 | .eraseblocks = { {512, 512} }, |
| 6722 | .block_erase = erase_sector_jedec, |
| 6723 | }, { |
| 6724 | .eraseblocks = { {256 * 1024, 1} }, |
| 6725 | .block_erase = erase_chip_block_jedec, |
| 6726 | }, |
| 6727 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6728 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6729 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6730 | }, |
| 6731 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6732 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6733 | .vendor = "SyncMOS/MoselVitelic", |
| 6734 | .name = "{F,S,V}29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6735 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6736 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6737 | .model_id = SM_MVC_29C51002T, |
| 6738 | .total_size = 256, |
| 6739 | .page_size = 512, |
| 6740 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6741 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6742 | .probe = probe_jedec, |
| 6743 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6744 | .block_erasers = |
| 6745 | { |
| 6746 | { |
| 6747 | .eraseblocks = { {512, 512} }, |
| 6748 | .block_erase = erase_sector_jedec, |
| 6749 | }, { |
| 6750 | .eraseblocks = { {256 * 1024, 1} }, |
| 6751 | .block_erase = erase_chip_block_jedec, |
| 6752 | }, |
| 6753 | }, |
| 6754 | .write = write_jedec_1, |
| 6755 | .read = read_memmapped, |
| 6756 | }, |
| 6757 | |
| 6758 | { |
| 6759 | .vendor = "SyncMOS/MoselVitelic", |
| 6760 | .name = "{F,S,V}29C51004B", |
| 6761 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6762 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6763 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6764 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6765 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6766 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6767 | .tested = TEST_UNTESTED, |
| 6768 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6769 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6770 | .block_erasers = |
| 6771 | { |
| 6772 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6773 | .eraseblocks = { {1024, 512} }, |
| 6774 | .block_erase = erase_sector_jedec, |
| 6775 | }, { |
| 6776 | .eraseblocks = { {512 * 1024, 1} }, |
| 6777 | .block_erase = erase_chip_block_jedec, |
| 6778 | }, |
| 6779 | }, |
| 6780 | .write = write_jedec_1, |
| 6781 | .read = read_memmapped, |
| 6782 | }, |
| 6783 | |
| 6784 | { |
| 6785 | .vendor = "SyncMOS/MoselVitelic", |
| 6786 | .name = "{F,S,V}29C51004T", |
| 6787 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6788 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6789 | .model_id = SM_MVC_29C51004T, |
| 6790 | .total_size = 512, |
| 6791 | .page_size = 1024, |
| 6792 | .feature_bits = FEATURE_EITHER_RESET, |
| 6793 | .tested = TEST_UNTESTED, |
| 6794 | .probe = probe_jedec, |
| 6795 | .probe_timing = TIMING_ZERO, |
| 6796 | .block_erasers = |
| 6797 | { |
| 6798 | { |
| 6799 | .eraseblocks = { {1024, 512} }, |
| 6800 | .block_erase = erase_sector_jedec, |
| 6801 | }, { |
| 6802 | .eraseblocks = { {512 * 1024, 1} }, |
| 6803 | .block_erase = erase_chip_block_jedec, |
| 6804 | }, |
| 6805 | }, |
| 6806 | .write = write_jedec_1, |
| 6807 | .read = read_memmapped, |
| 6808 | }, |
| 6809 | |
| 6810 | { |
| 6811 | .vendor = "SyncMOS/MoselVitelic", |
| 6812 | .name = "{S,V}29C31004B", |
| 6813 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6814 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6815 | .model_id = SM_MVC_29C31004B, |
| 6816 | .total_size = 512, |
| 6817 | .page_size = 1024, |
| 6818 | .feature_bits = FEATURE_EITHER_RESET, |
| 6819 | .tested = TEST_UNTESTED, |
| 6820 | .probe = probe_jedec, |
| 6821 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6822 | .block_erasers = |
| 6823 | { |
| 6824 | { |
| 6825 | .eraseblocks = { {1024, 512} }, |
| 6826 | .block_erase = erase_sector_jedec, |
| 6827 | }, { |
| 6828 | .eraseblocks = { {512 * 1024, 1} }, |
| 6829 | .block_erase = erase_chip_block_jedec, |
| 6830 | }, |
| 6831 | }, |
| 6832 | .write = write_jedec_1, |
| 6833 | .read = read_memmapped, |
| 6834 | }, |
| 6835 | |
| 6836 | { |
| 6837 | .vendor = "SyncMOS/MoselVitelic", |
| 6838 | .name = "{S,V}29C31004T", |
| 6839 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6840 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6841 | .model_id = SM_MVC_29C31004T, |
| 6842 | .total_size = 512, |
| 6843 | .page_size = 1024, |
| 6844 | .feature_bits = FEATURE_EITHER_RESET, |
| 6845 | .tested = TEST_UNTESTED, |
| 6846 | .probe = probe_jedec, |
| 6847 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6848 | .block_erasers = |
| 6849 | { |
| 6850 | { |
| 6851 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6852 | .block_erase = erase_sector_jedec, |
| 6853 | }, { |
| 6854 | .eraseblocks = { {512 * 1024, 1} }, |
| 6855 | .block_erase = erase_chip_block_jedec, |
| 6856 | }, |
| 6857 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6858 | .write = write_jedec_1, |
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 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6863 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6864 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6865 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6866 | .manufacture_id = TI_OLD_ID, |
| 6867 | .model_id = TI_TMS29F002RB, |
| 6868 | .total_size = 256, |
| 6869 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6870 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6871 | .tested = TEST_UNTESTED, |
| 6872 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6873 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6874 | .block_erasers = |
| 6875 | { |
| 6876 | { |
| 6877 | .eraseblocks = { |
| 6878 | {16 * 1024, 1}, |
| 6879 | {8 * 1024, 2}, |
| 6880 | {32 * 1024, 1}, |
| 6881 | {64 * 1024, 3}, |
| 6882 | }, |
| 6883 | .block_erase = erase_sector_jedec, |
| 6884 | }, { |
| 6885 | .eraseblocks = { {256 * 1024, 1} }, |
| 6886 | .block_erase = erase_chip_block_jedec, |
| 6887 | }, |
| 6888 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6889 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6890 | .read = read_memmapped, |
| 6891 | }, |
| 6892 | |
| 6893 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6894 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6895 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6896 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6897 | .manufacture_id = TI_OLD_ID, |
| 6898 | .model_id = TI_TMS29F002RT, |
| 6899 | .total_size = 256, |
| 6900 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6901 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6902 | .tested = TEST_UNTESTED, |
| 6903 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6904 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6905 | .block_erasers = |
| 6906 | { |
| 6907 | { |
| 6908 | .eraseblocks = { |
| 6909 | {64 * 1024, 3}, |
| 6910 | {32 * 1024, 1}, |
| 6911 | {8 * 1024, 2}, |
| 6912 | {16 * 1024, 1}, |
| 6913 | }, |
| 6914 | .block_erase = erase_sector_jedec, |
| 6915 | }, { |
| 6916 | .eraseblocks = { {256 * 1024, 1} }, |
| 6917 | .block_erase = erase_chip_block_jedec, |
| 6918 | }, |
| 6919 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6920 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6921 | .read = read_memmapped, |
| 6922 | }, |
| 6923 | |
| 6924 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6925 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6926 | .name = "W25Q80", |
| 6927 | .bustype = CHIP_BUSTYPE_SPI, |
| 6928 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 6929 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6930 | .total_size = 1024, |
| 6931 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 6932 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 6933 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6934 | .probe = probe_spi_rdid, |
| 6935 | .probe_timing = TIMING_ZERO, |
| 6936 | .block_erasers = |
| 6937 | { |
| 6938 | { |
| 6939 | .eraseblocks = { {4 * 1024, 256} }, |
| 6940 | .block_erase = spi_block_erase_20, |
| 6941 | }, { |
| 6942 | .eraseblocks = { {32 * 1024, 32} }, |
| 6943 | .block_erase = spi_block_erase_52, |
| 6944 | }, { |
| 6945 | .eraseblocks = { {64 * 1024, 16} }, |
| 6946 | .block_erase = spi_block_erase_d8, |
| 6947 | }, { |
| 6948 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6949 | .block_erase = spi_block_erase_60, |
| 6950 | }, { |
| 6951 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6952 | .block_erase = spi_block_erase_c7, |
| 6953 | } |
| 6954 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6955 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6956 | .write = spi_chip_write_256, |
| 6957 | .read = spi_chip_read, |
| 6958 | }, |
| 6959 | |
| 6960 | { |
| 6961 | .vendor = "Winbond", |
| 6962 | .name = "W25Q16", |
| 6963 | .bustype = CHIP_BUSTYPE_SPI, |
| 6964 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 6965 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6966 | .total_size = 2048, |
| 6967 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 6968 | .feature_bits = FEATURE_WRSR_WREN, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6969 | .tested = TEST_UNTESTED, |
| 6970 | .probe = probe_spi_rdid, |
| 6971 | .probe_timing = TIMING_ZERO, |
| 6972 | .block_erasers = |
| 6973 | { |
| 6974 | { |
| 6975 | .eraseblocks = { {4 * 1024, 512} }, |
| 6976 | .block_erase = spi_block_erase_20, |
| 6977 | }, { |
| 6978 | .eraseblocks = { {32 * 1024, 64} }, |
| 6979 | .block_erase = spi_block_erase_52, |
| 6980 | }, { |
| 6981 | .eraseblocks = { {64 * 1024, 32} }, |
| 6982 | .block_erase = spi_block_erase_d8, |
| 6983 | }, { |
| 6984 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6985 | .block_erase = spi_block_erase_60, |
| 6986 | }, { |
| 6987 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6988 | .block_erase = spi_block_erase_c7, |
| 6989 | } |
| 6990 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6991 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 6992 | .write = spi_chip_write_256, |
| 6993 | .read = spi_chip_read, |
| 6994 | }, |
| 6995 | |
| 6996 | { |
| 6997 | .vendor = "Winbond", |
| 6998 | .name = "W25Q32", |
| 6999 | .bustype = CHIP_BUSTYPE_SPI, |
| 7000 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7001 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7002 | .total_size = 4096, |
| 7003 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7004 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 7005 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7006 | .probe = probe_spi_rdid, |
| 7007 | .probe_timing = TIMING_ZERO, |
| 7008 | .block_erasers = |
| 7009 | { |
| 7010 | { |
| 7011 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7012 | .block_erase = spi_block_erase_20, |
| 7013 | }, { |
| 7014 | .eraseblocks = { {32 * 1024, 128} }, |
| 7015 | .block_erase = spi_block_erase_52, |
| 7016 | }, { |
| 7017 | .eraseblocks = { {64 * 1024, 64} }, |
| 7018 | .block_erase = spi_block_erase_d8, |
| 7019 | }, { |
| 7020 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7021 | .block_erase = spi_block_erase_60, |
| 7022 | }, { |
| 7023 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7024 | .block_erase = spi_block_erase_c7, |
| 7025 | } |
| 7026 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7027 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7028 | .write = spi_chip_write_256, |
| 7029 | .read = spi_chip_read, |
| 7030 | }, |
| 7031 | |
| 7032 | { |
| 7033 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7034 | .name = "W25Q64", |
| 7035 | .bustype = CHIP_BUSTYPE_SPI, |
| 7036 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7037 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7038 | .total_size = 8192, |
| 7039 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7040 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7041 | .tested = TEST_OK_PRW, |
| 7042 | .probe = probe_spi_rdid, |
| 7043 | .probe_timing = TIMING_ZERO, |
| 7044 | .block_erasers = |
| 7045 | { |
| 7046 | { |
| 7047 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7048 | .block_erase = spi_block_erase_20, |
| 7049 | }, { |
| 7050 | .eraseblocks = { {32 * 1024, 256} }, |
| 7051 | .block_erase = spi_block_erase_52, |
| 7052 | }, { |
| 7053 | .eraseblocks = { {64 * 1024, 128} }, |
| 7054 | .block_erase = spi_block_erase_d8, |
| 7055 | }, { |
| 7056 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7057 | .block_erase = spi_block_erase_60, |
| 7058 | }, { |
| 7059 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7060 | .block_erase = spi_block_erase_c7, |
| 7061 | } |
| 7062 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7063 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7064 | .write = spi_chip_write_256, |
| 7065 | .read = spi_chip_read, |
| 7066 | }, |
| 7067 | |
| 7068 | { |
| 7069 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7070 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7071 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7072 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7073 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7074 | .total_size = 128, |
| 7075 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7076 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7077 | .tested = TEST_UNTESTED, |
| 7078 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7079 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7080 | .block_erasers = |
| 7081 | { |
| 7082 | { |
| 7083 | .eraseblocks = { {4 * 1024, 32} }, |
| 7084 | .block_erase = spi_block_erase_20, |
| 7085 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7086 | .eraseblocks = { {64 * 1024, 2} }, |
| 7087 | .block_erase = spi_block_erase_d8, |
| 7088 | }, { |
| 7089 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7090 | .block_erase = spi_block_erase_c7, |
| 7091 | } |
| 7092 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7093 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7094 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7095 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7096 | }, |
| 7097 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7098 | { |
| 7099 | .vendor = "Winbond", |
| 7100 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7101 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7102 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7103 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7104 | .total_size = 256, |
| 7105 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7106 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7107 | .tested = TEST_UNTESTED, |
| 7108 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7109 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7110 | .block_erasers = |
| 7111 | { |
| 7112 | { |
| 7113 | .eraseblocks = { {4 * 1024, 64} }, |
| 7114 | .block_erase = spi_block_erase_20, |
| 7115 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7116 | .eraseblocks = { {64 * 1024, 4} }, |
| 7117 | .block_erase = spi_block_erase_d8, |
| 7118 | }, { |
| 7119 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7120 | .block_erase = spi_block_erase_c7, |
| 7121 | } |
| 7122 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7123 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7124 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7125 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7126 | }, |
| 7127 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7128 | { |
| 7129 | .vendor = "Winbond", |
| 7130 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7131 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7132 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7133 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7134 | .total_size = 512, |
| 7135 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7136 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7137 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7138 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7139 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7140 | .block_erasers = |
| 7141 | { |
| 7142 | { |
| 7143 | .eraseblocks = { {4 * 1024, 128} }, |
| 7144 | .block_erase = spi_block_erase_20, |
| 7145 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7146 | .eraseblocks = { {64 * 1024, 8} }, |
| 7147 | .block_erase = spi_block_erase_d8, |
| 7148 | }, { |
| 7149 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7150 | .block_erase = spi_block_erase_c7, |
| 7151 | } |
| 7152 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7153 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7154 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7155 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7156 | }, |
| 7157 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7158 | { |
| 7159 | .vendor = "Winbond", |
| 7160 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7161 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7162 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7163 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7164 | .total_size = 1024, |
| 7165 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7166 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7167 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7168 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7169 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7170 | .block_erasers = |
| 7171 | { |
| 7172 | { |
| 7173 | .eraseblocks = { {4 * 1024, 256} }, |
| 7174 | .block_erase = spi_block_erase_20, |
| 7175 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7176 | .eraseblocks = { {64 * 1024, 16} }, |
| 7177 | .block_erase = spi_block_erase_d8, |
| 7178 | }, { |
| 7179 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7180 | .block_erase = spi_block_erase_c7, |
| 7181 | } |
| 7182 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7183 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7184 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7185 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7186 | }, |
| 7187 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7188 | { |
| 7189 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7190 | .name = "W25x16", |
| 7191 | .bustype = CHIP_BUSTYPE_SPI, |
| 7192 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7193 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7194 | .total_size = 2048, |
| 7195 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7196 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7197 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7198 | .probe = probe_spi_rdid, |
| 7199 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7200 | .block_erasers = |
| 7201 | { |
| 7202 | { |
| 7203 | .eraseblocks = { {4 * 1024, 512} }, |
| 7204 | .block_erase = spi_block_erase_20, |
| 7205 | }, { |
| 7206 | .eraseblocks = { {32 * 1024, 64} }, |
| 7207 | .block_erase = spi_block_erase_52, |
| 7208 | }, { |
| 7209 | .eraseblocks = { {64 * 1024, 32} }, |
| 7210 | .block_erase = spi_block_erase_d8, |
| 7211 | }, { |
| 7212 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7213 | .block_erase = spi_block_erase_60, |
| 7214 | }, { |
| 7215 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7216 | .block_erase = spi_block_erase_c7, |
| 7217 | } |
| 7218 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7219 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7220 | .write = spi_chip_write_256, |
| 7221 | .read = spi_chip_read, |
| 7222 | }, |
| 7223 | |
| 7224 | { |
| 7225 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7226 | .name = "W25x32", |
| 7227 | .bustype = CHIP_BUSTYPE_SPI, |
| 7228 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7229 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7230 | .total_size = 4096, |
| 7231 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7232 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7233 | .tested = TEST_OK_PROBE, |
| 7234 | .probe = probe_spi_rdid, |
| 7235 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7236 | .block_erasers = |
| 7237 | { |
| 7238 | { |
| 7239 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7240 | .block_erase = spi_block_erase_20, |
| 7241 | }, { |
| 7242 | .eraseblocks = { {32 * 1024, 128} }, |
| 7243 | .block_erase = spi_block_erase_52, |
| 7244 | }, { |
| 7245 | .eraseblocks = { {64 * 1024, 64} }, |
| 7246 | .block_erase = spi_block_erase_d8, |
| 7247 | }, { |
| 7248 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7249 | .block_erase = spi_block_erase_60, |
| 7250 | }, { |
| 7251 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7252 | .block_erase = spi_block_erase_c7, |
| 7253 | } |
| 7254 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7255 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7256 | .write = spi_chip_write_256, |
| 7257 | .read = spi_chip_read, |
| 7258 | }, |
| 7259 | |
| 7260 | { |
| 7261 | .vendor = "Winbond", |
| 7262 | .name = "W25x64", |
| 7263 | .bustype = CHIP_BUSTYPE_SPI, |
| 7264 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7265 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7266 | .total_size = 8192, |
| 7267 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7268 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7269 | .tested = TEST_UNTESTED, |
| 7270 | .probe = probe_spi_rdid, |
| 7271 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7272 | .block_erasers = |
| 7273 | { |
| 7274 | { |
| 7275 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7276 | .block_erase = spi_block_erase_20, |
| 7277 | }, { |
| 7278 | .eraseblocks = { {32 * 1024, 256} }, |
| 7279 | .block_erase = spi_block_erase_52, |
| 7280 | }, { |
| 7281 | .eraseblocks = { {64 * 1024, 128} }, |
| 7282 | .block_erase = spi_block_erase_d8, |
| 7283 | }, { |
| 7284 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7285 | .block_erase = spi_block_erase_60, |
| 7286 | }, { |
| 7287 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7288 | .block_erase = spi_block_erase_c7, |
| 7289 | } |
| 7290 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7291 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7292 | .write = spi_chip_write_256, |
| 7293 | .read = spi_chip_read, |
| 7294 | }, |
| 7295 | |
| 7296 | { |
| 7297 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7298 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7299 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7300 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7301 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7302 | .total_size = 128, |
| 7303 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7304 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 7305 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7306 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7307 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7308 | .block_erasers = |
| 7309 | { |
| 7310 | { |
| 7311 | .eraseblocks = { {128 * 1024, 1} }, |
| 7312 | .block_erase = erase_chip_block_jedec, |
| 7313 | } |
| 7314 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7315 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7316 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7317 | }, |
| 7318 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7319 | { |
| 7320 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7321 | .name = "W29C020(C)/W29C022", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7322 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7323 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7324 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7325 | .total_size = 256, |
| 7326 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7327 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7328 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7329 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7330 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7331 | .block_erasers = |
| 7332 | { |
| 7333 | { |
| 7334 | .eraseblocks = { {256 * 1024, 1} }, |
| 7335 | .block_erase = erase_chip_block_jedec, |
| 7336 | } |
| 7337 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7338 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7339 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7340 | }, |
| 7341 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7342 | { |
| 7343 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7344 | .name = "W29C040/P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7345 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7346 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7347 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7348 | .total_size = 512, |
| 7349 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7350 | .feature_bits = FEATURE_LONG_RESET, |
| 7351 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7352 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7353 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7354 | .block_erasers = |
| 7355 | { |
| 7356 | { |
| 7357 | .eraseblocks = { {512 * 1024, 1} }, |
| 7358 | .block_erase = erase_chip_block_jedec, |
| 7359 | } |
| 7360 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7361 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7362 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7363 | }, |
| 7364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7365 | { |
| 7366 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7367 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7368 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7369 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7370 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7371 | .total_size = 128, |
| 7372 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7373 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 7374 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7375 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7376 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7377 | .block_erasers = |
| 7378 | { |
| 7379 | { |
| 7380 | .eraseblocks = { {128 * 1024, 1} }, |
| 7381 | .block_erase = erase_chip_block_jedec, |
| 7382 | } |
| 7383 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7384 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7385 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7386 | }, |
| 7387 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7388 | { |
| 7389 | .vendor = "Winbond", |
| 7390 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7391 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7392 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7393 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7394 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7395 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7396 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 7397 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7398 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7399 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7400 | .block_erasers = |
| 7401 | { |
| 7402 | { |
| 7403 | .eraseblocks = { {64 * 1024, 8} }, |
| 7404 | .block_erase = erase_sector_jedec, |
| 7405 | }, { |
| 7406 | .eraseblocks = { {512 * 1024, 1} }, |
| 7407 | .block_erase = erase_chip_block_jedec, |
| 7408 | } |
| 7409 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7410 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7411 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7412 | }, |
| 7413 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7414 | { |
| 7415 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7416 | .name = "W39V040(F)B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7417 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7418 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7419 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7420 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7421 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7422 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 7423 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7424 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7425 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7426 | .block_erasers = |
| 7427 | { |
| 7428 | { |
| 7429 | .eraseblocks = { {64 * 1024, 8} }, |
| 7430 | .block_erase = erase_sector_jedec, |
| 7431 | }, { |
| 7432 | .eraseblocks = { {512 * 1024, 1} }, |
| 7433 | .block_erase = erase_chip_block_jedec, |
| 7434 | } |
| 7435 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7436 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7437 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7438 | }, |
| 7439 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7440 | { |
| 7441 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7442 | .name = "W39V040(F)C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7443 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7444 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7445 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7446 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7447 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7448 | .feature_bits = FEATURE_EITHER_RESET, |
| 7449 | .tested = TEST_UNTESTED, |
| 7450 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7451 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7452 | .block_erasers = |
| 7453 | { |
| 7454 | { |
| 7455 | .eraseblocks = { {64 * 1024, 8} }, |
| 7456 | .block_erase = erase_sector_jedec, |
| 7457 | }, { |
| 7458 | .eraseblocks = { {512 * 1024, 1} }, |
| 7459 | .block_erase = erase_chip_block_jedec, |
| 7460 | } |
| 7461 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7462 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7463 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7464 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7465 | }, |
| 7466 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7467 | { |
| 7468 | .vendor = "Winbond", |
| 7469 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7470 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7471 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7472 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7473 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7474 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7475 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 7476 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7477 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7478 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7479 | .block_erasers = |
| 7480 | { |
| 7481 | { |
| 7482 | .eraseblocks = { {4 * 1024, 128} }, |
| 7483 | .block_erase = erase_block_jedec, |
| 7484 | }, { |
| 7485 | .eraseblocks = { {64 * 1024, 8} }, |
| 7486 | .block_erase = erase_sector_jedec, |
| 7487 | }, { |
| 7488 | .eraseblocks = { {512 * 1024, 1} }, |
| 7489 | .block_erase = erase_chip_block_jedec, |
| 7490 | } |
| 7491 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7492 | .printlock = printlock_sst_fwhub, |
| 7493 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7494 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7495 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7496 | }, |
| 7497 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7498 | { |
| 7499 | .vendor = "Winbond", |
| 7500 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7501 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7502 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7503 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7504 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7505 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7506 | .feature_bits = FEATURE_EITHER_RESET, |
| 7507 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7508 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7509 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7510 | .block_erasers = |
| 7511 | { |
| 7512 | { |
| 7513 | .eraseblocks = { {64 * 1024, 16} }, |
| 7514 | .block_erase = erase_sector_jedec, |
| 7515 | }, { |
| 7516 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7517 | .block_erase = erase_chip_block_jedec, |
| 7518 | } |
| 7519 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7520 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7521 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7522 | }, |
| 7523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7524 | { |
| 7525 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7526 | .name = "W49F002U/N", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7527 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7528 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7529 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7530 | .total_size = 256, |
| 7531 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7532 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 7533 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7534 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7535 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7536 | .block_erasers = |
| 7537 | { |
| 7538 | { |
| 7539 | .eraseblocks = { |
| 7540 | {128 * 1024, 1}, |
| 7541 | {96 * 1024, 1}, |
| 7542 | {8 * 1024, 2}, |
| 7543 | {16 * 1024, 1}, |
| 7544 | }, |
| 7545 | .block_erase = erase_sector_jedec, |
| 7546 | }, { |
| 7547 | .eraseblocks = { {256 * 1024, 1} }, |
| 7548 | .block_erase = erase_chip_block_jedec, |
| 7549 | } |
| 7550 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7551 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7552 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7553 | }, |
| 7554 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7555 | { |
| 7556 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7557 | .name = "W49F020", |
| 7558 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7559 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7560 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7561 | .total_size = 256, |
| 7562 | .page_size = 128, |
| 7563 | .feature_bits = FEATURE_EITHER_RESET, |
| 7564 | .tested = TEST_OK_PROBE, |
| 7565 | .probe = probe_jedec, |
| 7566 | .probe_timing = 10, |
| 7567 | .block_erasers = |
| 7568 | { |
| 7569 | { |
| 7570 | .eraseblocks = { {256 * 1024, 1} }, |
| 7571 | .block_erase = erase_chip_block_jedec, |
| 7572 | } |
| 7573 | }, |
| 7574 | .write = write_jedec_1, |
| 7575 | .read = read_memmapped, |
| 7576 | }, |
| 7577 | |
| 7578 | { |
| 7579 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7580 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7581 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7582 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7583 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7584 | .total_size = 256, |
| 7585 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7586 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7587 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7588 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7589 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7590 | .block_erasers = |
| 7591 | { |
| 7592 | { |
| 7593 | .eraseblocks = { |
| 7594 | {64 * 1024, 3}, |
| 7595 | {32 * 1024, 1}, |
| 7596 | {8 * 1024, 2}, |
| 7597 | {16 * 1024, 1}, |
| 7598 | }, |
| 7599 | .block_erase = erase_sector_jedec, |
| 7600 | }, { |
| 7601 | .eraseblocks = { {256 * 1024, 1} }, |
| 7602 | .block_erase = erase_chip_block_jedec, |
| 7603 | } |
| 7604 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7605 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7606 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7607 | }, |
| 7608 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7609 | { |
| 7610 | .vendor = "Winbond", |
| 7611 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7612 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7613 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7614 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7615 | .total_size = 256, |
| 7616 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7617 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 7618 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7619 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7620 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7621 | .block_erasers = |
| 7622 | { |
| 7623 | { |
| 7624 | .eraseblocks = { |
| 7625 | {64 * 1024, 3}, |
| 7626 | {32 * 1024, 1}, |
| 7627 | {8 * 1024, 2}, |
| 7628 | {16 * 1024, 1}, |
| 7629 | }, |
| 7630 | .block_erase = erase_sector_jedec, |
| 7631 | }, { |
| 7632 | .eraseblocks = { {256 * 1024, 1} }, |
| 7633 | .block_erase = erase_chip_block_jedec, |
| 7634 | } |
| 7635 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7636 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7637 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7638 | }, |
| 7639 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7640 | { |
| 7641 | .vendor = "Winbond", |
| 7642 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7643 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7644 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7645 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7646 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7647 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7648 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7649 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7650 | .probe = probe_jedec, |
| 7651 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7652 | .block_erasers = |
| 7653 | { |
| 7654 | { |
| 7655 | .eraseblocks = { {64 * 1024, 16}, }, |
| 7656 | .block_erase = erase_sector_jedec, |
| 7657 | }, { |
| 7658 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7659 | .block_erase = erase_chip_block_jedec, |
| 7660 | } |
| 7661 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7662 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7663 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7664 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7665 | }, |
| 7666 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7667 | { |
| 7668 | .vendor = "Winbond", |
| 7669 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7670 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7671 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7672 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7673 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7674 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7675 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7676 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7677 | .probe = probe_jedec, |
| 7678 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7679 | .block_erasers = |
| 7680 | { |
| 7681 | { |
| 7682 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7683 | .block_erase = erase_sector_jedec, |
| 7684 | }, { |
| 7685 | .eraseblocks = { {512 * 1024, 1} }, |
| 7686 | .block_erase = erase_chip_block_jedec, |
| 7687 | } |
| 7688 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7689 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7690 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7691 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7692 | }, |
| 7693 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7694 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 7695 | .vendor = "AMIC", |
| 7696 | .name = "unknown AMIC SPI chip", |
| 7697 | .bustype = CHIP_BUSTYPE_SPI, |
| 7698 | .manufacture_id = AMIC_ID, |
| 7699 | .model_id = GENERIC_DEVICE_ID, |
| 7700 | .total_size = 0, |
| 7701 | .page_size = 256, |
| 7702 | .tested = TEST_BAD_PREW, |
| 7703 | .probe = probe_spi_rdid4, |
| 7704 | .probe_timing = TIMING_ZERO, |
| 7705 | .write = NULL, |
| 7706 | .read = NULL, |
| 7707 | }, |
| 7708 | |
| 7709 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7710 | .vendor = "Atmel", |
| 7711 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7712 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7713 | .manufacture_id = ATMEL_ID, |
| 7714 | .model_id = GENERIC_DEVICE_ID, |
| 7715 | .total_size = 0, |
| 7716 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7717 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7718 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7719 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7720 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7721 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7722 | }, |
| 7723 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7724 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 7725 | .vendor = "Eon", |
| 7726 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7727 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7728 | .manufacture_id = EON_ID_NOPREFIX, |
| 7729 | .model_id = GENERIC_DEVICE_ID, |
| 7730 | .total_size = 0, |
| 7731 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7732 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7733 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7734 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7735 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7736 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7737 | }, |
| 7738 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7739 | { |
| 7740 | .vendor = "Macronix", |
| 7741 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7742 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame^] | 7743 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7744 | .model_id = GENERIC_DEVICE_ID, |
| 7745 | .total_size = 0, |
| 7746 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7747 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7748 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7749 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7750 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7751 | .read = NULL, |
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 = "PMC", |
| 7756 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7757 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7758 | .manufacture_id = PMC_ID, |
| 7759 | .model_id = GENERIC_DEVICE_ID, |
| 7760 | .total_size = 0, |
| 7761 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7762 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7763 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7764 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7765 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7766 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7767 | }, |
| 7768 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7769 | { |
| 7770 | .vendor = "SST", |
| 7771 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7772 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7773 | .manufacture_id = SST_ID, |
| 7774 | .model_id = GENERIC_DEVICE_ID, |
| 7775 | .total_size = 0, |
| 7776 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7777 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7778 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7779 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7780 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7781 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7782 | }, |
| 7783 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7784 | { |
| 7785 | .vendor = "ST", |
| 7786 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7787 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7788 | .manufacture_id = ST_ID, |
| 7789 | .model_id = GENERIC_DEVICE_ID, |
| 7790 | .total_size = 0, |
| 7791 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7792 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7793 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7794 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7795 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7796 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7797 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 7798 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7799 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7800 | .vendor = "Sanyo", |
| 7801 | .name = "unknown Sanyo SPI chip", |
| 7802 | .bustype = CHIP_BUSTYPE_SPI, |
| 7803 | .manufacture_id = SANYO_ID, |
| 7804 | .model_id = GENERIC_DEVICE_ID, |
| 7805 | .total_size = 0, |
| 7806 | .page_size = 256, |
| 7807 | .tested = TEST_BAD_PREW, |
| 7808 | .probe = probe_spi_rdid, |
| 7809 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7810 | .write = NULL, |
| 7811 | .read = NULL, |
| 7812 | }, |
| 7813 | |
| 7814 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7815 | .vendor = "Generic", |
| 7816 | .name = "unknown SPI chip (RDID)", |
| 7817 | .bustype = CHIP_BUSTYPE_SPI, |
| 7818 | .manufacture_id = GENERIC_MANUF_ID, |
| 7819 | .model_id = GENERIC_DEVICE_ID, |
| 7820 | .total_size = 0, |
| 7821 | .page_size = 256, |
| 7822 | .tested = TEST_BAD_PREW, |
| 7823 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7824 | .write = NULL, |
| 7825 | }, |
| 7826 | { |
| 7827 | .vendor = "Generic", |
| 7828 | .name = "unknown SPI chip (REMS)", |
| 7829 | .bustype = CHIP_BUSTYPE_SPI, |
| 7830 | .manufacture_id = GENERIC_MANUF_ID, |
| 7831 | .model_id = GENERIC_DEVICE_ID, |
| 7832 | .total_size = 0, |
| 7833 | .page_size = 256, |
| 7834 | .tested = TEST_BAD_PREW, |
| 7835 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7836 | .write = NULL, |
| 7837 | }, |
| 7838 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7839 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 7840 | }; |