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, |
| 64 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 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, |
| 68 | .tested = TEST_UNTESTED, |
| 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, |
| 90 | .model_id = AM_29F002BB, |
| 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, |
| 121 | .model_id = AM_29F002BT, |
| 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, |
| 152 | .model_id = AM_29F016D, |
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, |
| 178 | .model_id = AM_29F040B, |
| 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, |
| 204 | .model_id = AM_29F080B, |
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, |
| 230 | .model_id = AM_29LV040B, |
| 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, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 234 | .tested = TEST_UNTESTED, |
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, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 256 | .model_id = AM_29LV080B, |
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 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 278 | .vendor = "ASD", |
| 279 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 280 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 281 | .manufacture_id = ASD_ID, |
| 282 | .model_id = ASD_AE49F2008, |
| 283 | .total_size = 256, |
| 284 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 285 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 286 | .tested = TEST_UNTESTED, |
| 287 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 288 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 289 | .block_erasers = |
| 290 | { |
| 291 | { |
| 292 | .eraseblocks = { |
| 293 | {128 * 1024, 1}, |
| 294 | {96 * 1024, 1}, |
| 295 | {8 * 1024, 2}, |
| 296 | {16 * 1024, 1}, |
| 297 | }, |
| 298 | .block_erase = erase_sector_jedec, |
| 299 | }, { |
| 300 | .eraseblocks = { {256 * 1024, 1} }, |
| 301 | .block_erase = erase_chip_block_jedec, |
| 302 | } |
| 303 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 304 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 305 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 306 | }, |
| 307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 308 | { |
| 309 | .vendor = "Atmel", |
| 310 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 311 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 312 | .manufacture_id = ATMEL_ID, |
| 313 | .model_id = AT_25DF021, |
| 314 | .total_size = 256, |
| 315 | .page_size = 256, |
| 316 | .tested = TEST_UNTESTED, |
| 317 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 318 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 319 | .block_erasers = |
| 320 | { |
| 321 | { |
| 322 | .eraseblocks = { {4 * 1024, 64} }, |
| 323 | .block_erase = spi_block_erase_20, |
| 324 | }, { |
| 325 | .eraseblocks = { {32 * 1024, 8} }, |
| 326 | .block_erase = spi_block_erase_52, |
| 327 | }, { |
| 328 | .eraseblocks = { {64 * 1024, 4} }, |
| 329 | .block_erase = spi_block_erase_d8, |
| 330 | }, { |
| 331 | .eraseblocks = { {256 * 1024, 1} }, |
| 332 | .block_erase = spi_block_erase_60, |
| 333 | }, { |
| 334 | .eraseblocks = { {256 * 1024, 1} }, |
| 335 | .block_erase = spi_block_erase_c7, |
| 336 | } |
| 337 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 338 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 339 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 340 | }, |
| 341 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 342 | { |
| 343 | .vendor = "Atmel", |
| 344 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 345 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 346 | .manufacture_id = ATMEL_ID, |
| 347 | .model_id = AT_25DF041A, |
| 348 | .total_size = 512, |
| 349 | .page_size = 256, |
| 350 | .tested = TEST_UNTESTED, |
| 351 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 352 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 353 | .block_erasers = |
| 354 | { |
| 355 | { |
| 356 | .eraseblocks = { {4 * 1024, 128} }, |
| 357 | .block_erase = spi_block_erase_20, |
| 358 | }, { |
| 359 | .eraseblocks = { {32 * 1024, 16} }, |
| 360 | .block_erase = spi_block_erase_52, |
| 361 | }, { |
| 362 | .eraseblocks = { {64 * 1024, 8} }, |
| 363 | .block_erase = spi_block_erase_d8, |
| 364 | }, { |
| 365 | .eraseblocks = { {512 * 1024, 1} }, |
| 366 | .block_erase = spi_block_erase_60, |
| 367 | }, { |
| 368 | .eraseblocks = { {512 * 1024, 1} }, |
| 369 | .block_erase = spi_block_erase_c7, |
| 370 | } |
| 371 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 372 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 373 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 374 | }, |
| 375 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 376 | { |
| 377 | .vendor = "Atmel", |
| 378 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 379 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 380 | .manufacture_id = ATMEL_ID, |
| 381 | .model_id = AT_25DF081, |
| 382 | .total_size = 1024, |
| 383 | .page_size = 256, |
| 384 | .tested = TEST_UNTESTED, |
| 385 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 386 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 387 | .block_erasers = |
| 388 | { |
| 389 | { |
| 390 | .eraseblocks = { {4 * 1024, 256} }, |
| 391 | .block_erase = spi_block_erase_20, |
| 392 | }, { |
| 393 | .eraseblocks = { {32 * 1024, 32} }, |
| 394 | .block_erase = spi_block_erase_52, |
| 395 | }, { |
| 396 | .eraseblocks = { {64 * 1024, 16} }, |
| 397 | .block_erase = spi_block_erase_d8, |
| 398 | }, { |
| 399 | .eraseblocks = { {1024 * 1024, 1} }, |
| 400 | .block_erase = spi_block_erase_60, |
| 401 | }, { |
| 402 | .eraseblocks = { {1024 * 1024, 1} }, |
| 403 | .block_erase = spi_block_erase_c7, |
| 404 | } |
| 405 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 406 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 407 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 408 | }, |
| 409 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 410 | { |
| 411 | .vendor = "Atmel", |
| 412 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 413 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 414 | .manufacture_id = ATMEL_ID, |
| 415 | .model_id = AT_25DF161, |
| 416 | .total_size = 2048, |
| 417 | .page_size = 256, |
| 418 | .tested = TEST_UNTESTED, |
| 419 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 420 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 421 | .block_erasers = |
| 422 | { |
| 423 | { |
| 424 | .eraseblocks = { {4 * 1024, 512} }, |
| 425 | .block_erase = spi_block_erase_20, |
| 426 | }, { |
| 427 | .eraseblocks = { {32 * 1024, 64} }, |
| 428 | .block_erase = spi_block_erase_52, |
| 429 | }, { |
| 430 | .eraseblocks = { {64 * 1024, 32} }, |
| 431 | .block_erase = spi_block_erase_d8, |
| 432 | }, { |
| 433 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 434 | .block_erase = spi_block_erase_60, |
| 435 | }, { |
| 436 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 437 | .block_erase = spi_block_erase_c7, |
| 438 | } |
| 439 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 440 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 441 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 442 | }, |
| 443 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 444 | { |
| 445 | .vendor = "Atmel", |
| 446 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 447 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 448 | .manufacture_id = ATMEL_ID, |
| 449 | .model_id = AT_25DF321, |
| 450 | .total_size = 4096, |
| 451 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 452 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 453 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 454 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 455 | .block_erasers = |
| 456 | { |
| 457 | { |
| 458 | .eraseblocks = { {4 * 1024, 1024} }, |
| 459 | .block_erase = spi_block_erase_20, |
| 460 | }, { |
| 461 | .eraseblocks = { {32 * 1024, 128} }, |
| 462 | .block_erase = spi_block_erase_52, |
| 463 | }, { |
| 464 | .eraseblocks = { {64 * 1024, 64} }, |
| 465 | .block_erase = spi_block_erase_d8, |
| 466 | }, { |
| 467 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 468 | .block_erase = spi_block_erase_60, |
| 469 | }, { |
| 470 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 471 | .block_erase = spi_block_erase_c7, |
| 472 | } |
| 473 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 474 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 475 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 476 | }, |
| 477 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 478 | { |
| 479 | .vendor = "Atmel", |
| 480 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 481 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 482 | .manufacture_id = ATMEL_ID, |
| 483 | .model_id = AT_25DF321A, |
| 484 | .total_size = 4096, |
| 485 | .page_size = 256, |
| 486 | .tested = TEST_UNTESTED, |
| 487 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 488 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 489 | .block_erasers = |
| 490 | { |
| 491 | { |
| 492 | .eraseblocks = { {4 * 1024, 1024} }, |
| 493 | .block_erase = spi_block_erase_20, |
| 494 | }, { |
| 495 | .eraseblocks = { {32 * 1024, 128} }, |
| 496 | .block_erase = spi_block_erase_52, |
| 497 | }, { |
| 498 | .eraseblocks = { {64 * 1024, 64} }, |
| 499 | .block_erase = spi_block_erase_d8, |
| 500 | }, { |
| 501 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 502 | .block_erase = spi_block_erase_60, |
| 503 | }, { |
| 504 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 505 | .block_erase = spi_block_erase_c7, |
| 506 | } |
| 507 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 508 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 509 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 510 | }, |
| 511 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 512 | { |
| 513 | .vendor = "Atmel", |
| 514 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 515 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 516 | .manufacture_id = ATMEL_ID, |
| 517 | .model_id = AT_25DF641, |
| 518 | .total_size = 8192, |
| 519 | .page_size = 256, |
| 520 | .tested = TEST_UNTESTED, |
| 521 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 522 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 523 | .block_erasers = |
| 524 | { |
| 525 | { |
| 526 | .eraseblocks = { {4 * 1024, 2048} }, |
| 527 | .block_erase = spi_block_erase_20, |
| 528 | }, { |
| 529 | .eraseblocks = { {32 * 1024, 256} }, |
| 530 | .block_erase = spi_block_erase_52, |
| 531 | }, { |
| 532 | .eraseblocks = { {64 * 1024, 128} }, |
| 533 | .block_erase = spi_block_erase_d8, |
| 534 | }, { |
| 535 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 536 | .block_erase = spi_block_erase_60, |
| 537 | }, { |
| 538 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 539 | .block_erase = spi_block_erase_c7, |
| 540 | } |
| 541 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 542 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 543 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 544 | }, |
| 545 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 546 | { |
| 547 | .vendor = "Atmel", |
| 548 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 549 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 550 | .manufacture_id = ATMEL_ID, |
| 551 | .model_id = AT_25F512B, |
| 552 | .total_size = 64, |
| 553 | .page_size = 256, |
| 554 | .tested = TEST_UNTESTED, |
| 555 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 556 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 557 | .block_erasers = |
| 558 | { |
| 559 | { |
| 560 | .eraseblocks = { {4 * 1024, 16} }, |
| 561 | .block_erase = spi_block_erase_20, |
| 562 | }, { |
| 563 | .eraseblocks = { {32 * 1024, 2} }, |
| 564 | .block_erase = spi_block_erase_52, |
| 565 | }, { |
| 566 | .eraseblocks = { {32 * 1024, 2} }, |
| 567 | .block_erase = spi_block_erase_d8, |
| 568 | }, { |
| 569 | .eraseblocks = { {64 * 1024, 1} }, |
| 570 | .block_erase = spi_block_erase_60, |
| 571 | }, { |
| 572 | .eraseblocks = { {64 * 1024, 1} }, |
| 573 | .block_erase = spi_block_erase_c7, |
| 574 | } |
| 575 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 576 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 577 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 578 | }, |
| 579 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 580 | { |
| 581 | .vendor = "Atmel", |
| 582 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 583 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 584 | .manufacture_id = ATMEL_ID, |
| 585 | .model_id = AT_25FS010, |
| 586 | .total_size = 128, |
| 587 | .page_size = 256, |
| 588 | .tested = TEST_UNTESTED, |
| 589 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 590 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 591 | .block_erasers = |
| 592 | { |
| 593 | { |
| 594 | .eraseblocks = { {4 * 1024, 32} }, |
| 595 | .block_erase = spi_block_erase_20, |
| 596 | }, { |
| 597 | .eraseblocks = { {32 * 1024, 4} }, |
| 598 | .block_erase = spi_block_erase_52, |
| 599 | }, { |
| 600 | .eraseblocks = { {32 * 1024, 4} }, |
| 601 | .block_erase = spi_block_erase_d8, |
| 602 | }, { |
| 603 | .eraseblocks = { {128 * 1024, 1} }, |
| 604 | .block_erase = spi_block_erase_60, |
| 605 | }, { |
| 606 | .eraseblocks = { {128 * 1024, 1} }, |
| 607 | .block_erase = spi_block_erase_c7, |
| 608 | } |
| 609 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 610 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 611 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 612 | }, |
| 613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 614 | { |
| 615 | .vendor = "Atmel", |
| 616 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 617 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 618 | .manufacture_id = ATMEL_ID, |
| 619 | .model_id = AT_25FS040, |
| 620 | .total_size = 512, |
| 621 | .page_size = 256, |
| 622 | .tested = TEST_UNTESTED, |
| 623 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 624 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 625 | .block_erasers = |
| 626 | { |
| 627 | { |
| 628 | .eraseblocks = { {4 * 1024, 128} }, |
| 629 | .block_erase = spi_block_erase_20, |
| 630 | }, { |
| 631 | .eraseblocks = { {64 * 1024, 8} }, |
| 632 | .block_erase = spi_block_erase_52, |
| 633 | }, { |
| 634 | .eraseblocks = { {64 * 1024, 8} }, |
| 635 | .block_erase = spi_block_erase_d8, |
| 636 | }, { |
| 637 | .eraseblocks = { {512 * 1024, 1} }, |
| 638 | .block_erase = spi_block_erase_60, |
| 639 | }, { |
| 640 | .eraseblocks = { {512 * 1024, 1} }, |
| 641 | .block_erase = spi_block_erase_c7, |
| 642 | } |
| 643 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 644 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 645 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 646 | }, |
| 647 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 648 | { |
| 649 | .vendor = "Atmel", |
| 650 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 651 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 652 | .manufacture_id = ATMEL_ID, |
| 653 | .model_id = AT_26DF041, |
| 654 | .total_size = 512, |
| 655 | .page_size = 256, |
| 656 | .tested = TEST_UNTESTED, |
| 657 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 658 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 659 | .block_erasers = |
| 660 | { |
| 661 | { |
| 662 | .eraseblocks = { {4 * 1024, 128} }, |
| 663 | .block_erase = spi_block_erase_20, |
| 664 | } |
| 665 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 666 | .write = NULL /* Incompatible Page write */, |
| 667 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 668 | }, |
| 669 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 670 | { |
| 671 | .vendor = "Atmel", |
| 672 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 673 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 674 | .manufacture_id = ATMEL_ID, |
| 675 | .model_id = AT_26DF081A, |
| 676 | .total_size = 1024, |
| 677 | .page_size = 256, |
| 678 | .tested = TEST_UNTESTED, |
| 679 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 680 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 681 | .block_erasers = |
| 682 | { |
| 683 | { |
| 684 | .eraseblocks = { {4 * 1024, 256} }, |
| 685 | .block_erase = spi_block_erase_20, |
| 686 | }, { |
| 687 | .eraseblocks = { {32 * 1024, 32} }, |
| 688 | .block_erase = spi_block_erase_52, |
| 689 | }, { |
| 690 | .eraseblocks = { {64 * 1024, 16} }, |
| 691 | .block_erase = spi_block_erase_d8, |
| 692 | }, { |
| 693 | .eraseblocks = { {1024 * 1024, 1} }, |
| 694 | .block_erase = spi_block_erase_60, |
| 695 | }, { |
| 696 | .eraseblocks = { {1024 * 1024, 1} }, |
| 697 | .block_erase = spi_block_erase_c7, |
| 698 | } |
| 699 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 700 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 701 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 702 | }, |
| 703 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 704 | { |
| 705 | .vendor = "Atmel", |
| 706 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 707 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 708 | .manufacture_id = ATMEL_ID, |
| 709 | .model_id = AT_26DF161, |
| 710 | .total_size = 2048, |
| 711 | .page_size = 256, |
| 712 | .tested = TEST_UNTESTED, |
| 713 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 714 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 715 | .block_erasers = |
| 716 | { |
| 717 | { |
| 718 | .eraseblocks = { {4 * 1024, 512} }, |
| 719 | .block_erase = spi_block_erase_20, |
| 720 | }, { |
| 721 | .eraseblocks = { {32 * 1024, 64} }, |
| 722 | .block_erase = spi_block_erase_52, |
| 723 | }, { |
| 724 | .eraseblocks = { {64 * 1024, 32} }, |
| 725 | .block_erase = spi_block_erase_d8, |
| 726 | }, { |
| 727 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 728 | .block_erase = spi_block_erase_60, |
| 729 | }, { |
| 730 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 731 | .block_erase = spi_block_erase_c7, |
| 732 | } |
| 733 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 734 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 735 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 736 | }, |
| 737 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 738 | { |
| 739 | .vendor = "Atmel", |
| 740 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 741 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 742 | .manufacture_id = ATMEL_ID, |
| 743 | .model_id = AT_26DF161A, |
| 744 | .total_size = 2048, |
| 745 | .page_size = 256, |
| 746 | .tested = TEST_UNTESTED, |
| 747 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 748 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 749 | .block_erasers = |
| 750 | { |
| 751 | { |
| 752 | .eraseblocks = { {4 * 1024, 512} }, |
| 753 | .block_erase = spi_block_erase_20, |
| 754 | }, { |
| 755 | .eraseblocks = { {32 * 1024, 64} }, |
| 756 | .block_erase = spi_block_erase_52, |
| 757 | }, { |
| 758 | .eraseblocks = { {64 * 1024, 32} }, |
| 759 | .block_erase = spi_block_erase_d8, |
| 760 | }, { |
| 761 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 762 | .block_erase = spi_block_erase_60, |
| 763 | }, { |
| 764 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 765 | .block_erase = spi_block_erase_c7, |
| 766 | } |
| 767 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 768 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 769 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 770 | }, |
| 771 | |
| 772 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 773 | /*{ |
| 774 | .vendor = "Atmel", |
| 775 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 776 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 777 | .manufacture_id = ATMEL_ID, |
| 778 | .model_id = AT_26DF321, |
| 779 | .total_size = 4096, |
| 780 | .page_size = 256, |
| 781 | .tested = TEST_UNTESTED, |
| 782 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 783 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 784 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 785 | .read = spi_chip_read, |
| 786 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 787 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 788 | { |
| 789 | .vendor = "Atmel", |
| 790 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 791 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 792 | .manufacture_id = ATMEL_ID, |
| 793 | .model_id = AT_26F004, |
| 794 | .total_size = 512, |
| 795 | .page_size = 256, |
| 796 | .tested = TEST_UNTESTED, |
| 797 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 798 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 799 | .block_erasers = |
| 800 | { |
| 801 | { |
| 802 | .eraseblocks = { {4 * 1024, 128} }, |
| 803 | .block_erase = spi_block_erase_20, |
| 804 | }, { |
| 805 | .eraseblocks = { {32 * 1024, 16} }, |
| 806 | .block_erase = spi_block_erase_52, |
| 807 | }, { |
| 808 | .eraseblocks = { {64 * 1024, 8} }, |
| 809 | .block_erase = spi_block_erase_d8, |
| 810 | }, { |
| 811 | .eraseblocks = { {512 * 1024, 1} }, |
| 812 | .block_erase = spi_block_erase_60, |
| 813 | }, { |
| 814 | .eraseblocks = { {512 * 1024, 1} }, |
| 815 | .block_erase = spi_block_erase_c7, |
| 816 | } |
| 817 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 818 | .write = NULL /* Incompatible Page write */, |
| 819 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 820 | }, |
| 821 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 822 | { |
| 823 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 824 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 825 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 826 | .manufacture_id = ATMEL_ID, |
| 827 | .model_id = AT_29C512, |
| 828 | .total_size = 64, |
| 829 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 830 | .feature_bits = FEATURE_LONG_RESET, |
| 831 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 832 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 833 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 834 | .block_erasers = |
| 835 | { |
| 836 | { |
| 837 | .eraseblocks = { {64 * 1024, 1} }, |
| 838 | .block_erase = erase_chip_block_jedec, |
| 839 | } |
| 840 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 841 | .write = write_jedec, |
| 842 | .read = read_memmapped, |
| 843 | |
| 844 | }, |
| 845 | |
| 846 | { |
| 847 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 848 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 849 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 850 | .manufacture_id = ATMEL_ID, |
| 851 | .model_id = AT_29C010A, |
| 852 | .total_size = 128, |
| 853 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 854 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 855 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 856 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 857 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 858 | .block_erasers = |
| 859 | { |
| 860 | { |
| 861 | .eraseblocks = { {128 * 1024, 1} }, |
| 862 | .block_erase = erase_chip_block_jedec, |
| 863 | } |
| 864 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 865 | .write = write_jedec, /* FIXME */ |
| 866 | .read = read_memmapped, |
| 867 | }, |
| 868 | |
| 869 | { |
| 870 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 871 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 872 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 873 | .manufacture_id = ATMEL_ID, |
| 874 | .model_id = AT_29C020, |
| 875 | .total_size = 256, |
| 876 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 877 | .feature_bits = FEATURE_LONG_RESET, |
| 878 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 879 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 880 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 881 | .block_erasers = |
| 882 | { |
| 883 | { |
| 884 | .eraseblocks = { {256 * 1024, 1} }, |
| 885 | .block_erase = erase_chip_block_jedec, |
| 886 | } |
| 887 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 888 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 889 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 890 | }, |
| 891 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 892 | { |
| 893 | .vendor = "Atmel", |
| 894 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 895 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 896 | .manufacture_id = ATMEL_ID, |
| 897 | .model_id = AT_29C040A, |
| 898 | .total_size = 512, |
| 899 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 900 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 901 | .tested = TEST_UNTESTED, |
| 902 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 903 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 904 | .block_erasers = |
| 905 | { |
| 906 | { |
| 907 | .eraseblocks = { {512 * 1024, 1} }, |
| 908 | .block_erase = erase_chip_block_jedec, |
| 909 | } |
| 910 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 911 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 912 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 913 | }, |
| 914 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 915 | { |
| 916 | .vendor = "Atmel", |
| 917 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 918 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 919 | .manufacture_id = ATMEL_ID, |
| 920 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 921 | .total_size = 16896 /* No power of two sizes */, |
| 922 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 923 | .tested = TEST_BAD_READ, |
| 924 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 925 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 926 | .write = NULL /* Incompatible Page write */, |
| 927 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 928 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 929 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 930 | { |
| 931 | .vendor = "Atmel", |
| 932 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 933 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 934 | .manufacture_id = ATMEL_ID, |
| 935 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 936 | .total_size = 128 /* Size can only be determined from status register */, |
| 937 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 938 | .tested = TEST_BAD_READ, |
| 939 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 940 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 941 | .write = NULL, |
| 942 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 943 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 945 | { |
| 946 | .vendor = "Atmel", |
| 947 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 948 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 949 | .manufacture_id = ATMEL_ID, |
| 950 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 951 | .total_size = 256 /* Size can only be determined from status register */, |
| 952 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 953 | .tested = TEST_BAD_READ, |
| 954 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 955 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 956 | .write = NULL, |
| 957 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 958 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 959 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 960 | { |
| 961 | .vendor = "Atmel", |
| 962 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 963 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 964 | .manufacture_id = ATMEL_ID, |
| 965 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 966 | .total_size = 512 /* Size can only be determined from status register */, |
| 967 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 968 | .tested = TEST_BAD_READ, |
| 969 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 970 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 971 | .write = NULL, |
| 972 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 973 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 974 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 975 | { |
| 976 | .vendor = "Atmel", |
| 977 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 978 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 979 | .manufacture_id = ATMEL_ID, |
| 980 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 981 | .total_size = 1024 /* Size can only be determined from status register */, |
| 982 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 983 | .tested = TEST_BAD_READ, |
| 984 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 985 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 986 | .write = NULL, |
| 987 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 988 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 989 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 990 | { |
| 991 | .vendor = "Atmel", |
| 992 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 993 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 994 | .manufacture_id = ATMEL_ID, |
| 995 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 996 | .total_size = 2048 /* Size can only be determined from status register */, |
| 997 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 998 | .tested = TEST_BAD_READ, |
| 999 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1000 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1001 | .write = NULL, |
| 1002 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1003 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1004 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1005 | { |
| 1006 | .vendor = "Atmel", |
| 1007 | .name = "AT45DB321C", |
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, |
| 1010 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1011 | .total_size = 4224 /* No power of two sizes */, |
| 1012 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1013 | .tested = TEST_BAD_READ, |
| 1014 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1015 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1016 | .write = NULL, |
| 1017 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1018 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1019 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1020 | { |
| 1021 | .vendor = "Atmel", |
| 1022 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1023 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1024 | .manufacture_id = ATMEL_ID, |
| 1025 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1026 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1027 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1028 | .tested = TEST_BAD_READ, |
| 1029 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1030 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1031 | .write = NULL, |
| 1032 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1033 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1034 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1035 | { |
| 1036 | .vendor = "Atmel", |
| 1037 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1038 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1039 | .manufacture_id = ATMEL_ID, |
| 1040 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1041 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1042 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1043 | .tested = TEST_BAD_READ, |
| 1044 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1045 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1046 | .write = NULL, |
| 1047 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1048 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1049 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1050 | { |
| 1051 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1052 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1053 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1054 | .manufacture_id = ATMEL_ID, |
| 1055 | .model_id = AT_49BV512, |
| 1056 | .total_size = 64, |
| 1057 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1058 | .feature_bits = FEATURE_EITHER_RESET, |
| 1059 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1060 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1061 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1062 | .block_erasers = |
| 1063 | { |
| 1064 | { |
| 1065 | .eraseblocks = { {64 * 1024, 1} }, |
| 1066 | .block_erase = erase_chip_block_jedec, |
| 1067 | } |
| 1068 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1069 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1070 | .read = read_memmapped, |
| 1071 | }, |
| 1072 | |
| 1073 | { |
| 1074 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1075 | .name = "AT49F020", |
| 1076 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1077 | .manufacture_id = ATMEL_ID, |
| 1078 | .model_id = AT_49F020, |
| 1079 | .total_size = 256, |
| 1080 | .page_size = 256, |
| 1081 | .feature_bits = FEATURE_EITHER_RESET, |
| 1082 | .tested = TEST_OK_PREW, |
| 1083 | .probe = probe_jedec, |
| 1084 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 1085 | .block_erasers = |
| 1086 | { |
| 1087 | { |
| 1088 | .eraseblocks = { {256 * 1024, 1} }, |
| 1089 | .block_erase = erase_chip_block_jedec, |
| 1090 | } |
| 1091 | }, |
| 1092 | .write = write_jedec_1, |
| 1093 | .read = read_memmapped, |
| 1094 | }, |
| 1095 | |
| 1096 | { |
| 1097 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1098 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1099 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1100 | .manufacture_id = ATMEL_ID, |
| 1101 | .model_id = AT_49F002N, |
| 1102 | .total_size = 256, |
| 1103 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1104 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1105 | .tested = TEST_UNTESTED, |
| 1106 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1107 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1108 | .block_erasers = |
| 1109 | { |
| 1110 | { |
| 1111 | .eraseblocks = { |
| 1112 | {16 * 1024, 1}, |
| 1113 | {8 * 1024, 2}, |
| 1114 | {96 * 1024, 1}, |
| 1115 | {128 * 1024, 1}, |
| 1116 | }, |
| 1117 | .block_erase = erase_sector_jedec, |
| 1118 | }, { |
| 1119 | .eraseblocks = { {256 * 1024, 1} }, |
| 1120 | .block_erase = erase_chip_block_jedec, |
| 1121 | } |
| 1122 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1123 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1124 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1125 | }, |
| 1126 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1127 | { |
| 1128 | .vendor = "Atmel", |
| 1129 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1130 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1131 | .manufacture_id = ATMEL_ID, |
| 1132 | .model_id = AT_49F002NT, |
| 1133 | .total_size = 256, |
| 1134 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1135 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1136 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1137 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1138 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1139 | .block_erasers = |
| 1140 | { |
| 1141 | { |
| 1142 | .eraseblocks = { |
| 1143 | {128 * 1024, 1}, |
| 1144 | {96 * 1024, 1}, |
| 1145 | {8 * 1024, 2}, |
| 1146 | {16 * 1024, 1}, |
| 1147 | }, |
| 1148 | .block_erase = erase_sector_jedec, |
| 1149 | }, { |
| 1150 | .eraseblocks = { {256 * 1024, 1} }, |
| 1151 | .block_erase = erase_chip_block_jedec, |
| 1152 | } |
| 1153 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1154 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1155 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1156 | }, |
| 1157 | |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1158 | /* The next two chip definitions have top/bottom boot blocks, but has no |
Uwe Hermann | 4e3d0b3 | 2010-03-25 23:18:41 +0000 | [diff] [blame] | 1159 | device differentiation between the two */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1160 | { |
| 1161 | .vendor = "AMIC", |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1162 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1163 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1164 | .manufacture_id = AMIC_ID, |
| 1165 | .model_id = AMIC_A25L40P, |
| 1166 | .total_size = 512, |
| 1167 | .page_size = 256, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1168 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1169 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1170 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1171 | .block_erasers = |
| 1172 | { |
| 1173 | { |
| 1174 | .eraseblocks = { |
| 1175 | {64 * 1024, 7}, |
| 1176 | {32 * 1024, 1}, |
| 1177 | {16 * 1024, 1}, |
| 1178 | {8 * 1024, 1}, |
| 1179 | {4 * 1024, 2}, |
| 1180 | }, |
| 1181 | .block_erase = spi_block_erase_d8, |
| 1182 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1183 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1184 | .block_erase = spi_block_erase_c7, |
| 1185 | } |
| 1186 | }, |
| 1187 | .write = spi_chip_write_256, |
| 1188 | .read = spi_chip_read, |
| 1189 | }, |
| 1190 | |
| 1191 | { |
| 1192 | .vendor = "AMIC", |
| 1193 | .name = "A25L40PU", |
| 1194 | .bustype = CHIP_BUSTYPE_SPI, |
| 1195 | .manufacture_id = AMIC_ID, |
| 1196 | .model_id = AMIC_A25L40P, |
| 1197 | .total_size = 512, |
| 1198 | .page_size = 256, |
| 1199 | .tested = TEST_OK_PRW, |
| 1200 | .probe = probe_spi_rdid4, |
| 1201 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1202 | .block_erasers = |
| 1203 | { |
| 1204 | { |
| 1205 | .eraseblocks = { |
| 1206 | {4 * 1024, 2}, |
| 1207 | {8 * 1024, 1}, |
| 1208 | {16 * 1024, 1}, |
| 1209 | {32 * 1024, 1}, |
| 1210 | {64 * 1024, 7}, |
| 1211 | }, |
| 1212 | .block_erase = spi_block_erase_d8, |
| 1213 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1214 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1215 | .block_erase = spi_block_erase_c7, |
| 1216 | } |
| 1217 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1218 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1219 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1220 | }, |
| 1221 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1222 | { |
| 1223 | .vendor = "AMIC", |
Daniel Lenski | 550f5c8 | 2010-07-11 21:33:31 +0000 | [diff] [blame] | 1224 | .name = "A25L80P", |
| 1225 | .bustype = CHIP_BUSTYPE_SPI, |
| 1226 | .manufacture_id = AMIC_ID, |
| 1227 | .model_id = AMIC_A25L80P, |
| 1228 | .total_size = 1024, |
| 1229 | .page_size = 256, |
| 1230 | .tested = TEST_OK_PREW, |
| 1231 | .probe = probe_spi_rdid4, |
| 1232 | .probe_timing = TIMING_ZERO, |
| 1233 | .block_erasers = |
| 1234 | { |
| 1235 | { |
| 1236 | .eraseblocks = { |
| 1237 | {4 * 1024, 2}, |
| 1238 | {8 * 1024, 1}, |
| 1239 | {16 * 1024, 1}, |
| 1240 | {32 * 1024, 1}, |
| 1241 | {64 * 1024, 15}, |
| 1242 | }, |
| 1243 | .block_erase = spi_block_erase_d8, |
| 1244 | }, { |
| 1245 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1246 | .block_erase = spi_block_erase_c7, |
| 1247 | } |
| 1248 | }, |
| 1249 | .write = spi_chip_write_256, |
| 1250 | .read = spi_chip_read, |
| 1251 | }, |
| 1252 | |
| 1253 | { |
| 1254 | .vendor = "AMIC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1255 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1256 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1257 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1258 | .model_id = AMIC_A29002B, |
| 1259 | .total_size = 256, |
| 1260 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1261 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1262 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1263 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1264 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1265 | .block_erasers = |
| 1266 | { |
| 1267 | { |
| 1268 | .eraseblocks = { |
| 1269 | {16 * 1024, 1}, |
| 1270 | {8 * 1024, 2}, |
| 1271 | {32 * 1024, 1}, |
| 1272 | {64 * 1024, 3}, |
| 1273 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1274 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1275 | }, { |
| 1276 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1277 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1278 | }, |
| 1279 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1280 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1281 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1282 | }, |
| 1283 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1284 | { |
| 1285 | .vendor = "AMIC", |
| 1286 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1287 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1288 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1289 | .model_id = AMIC_A29002T, |
| 1290 | .total_size = 256, |
| 1291 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1292 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1293 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1294 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1295 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1296 | .block_erasers = |
| 1297 | { |
| 1298 | { |
| 1299 | .eraseblocks = { |
| 1300 | {64 * 1024, 3}, |
| 1301 | {32 * 1024, 1}, |
| 1302 | {8 * 1024, 2}, |
| 1303 | {16 * 1024, 1}, |
| 1304 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1305 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1306 | }, { |
| 1307 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1308 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1309 | }, |
| 1310 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1311 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1312 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1313 | }, |
| 1314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1315 | { |
| 1316 | .vendor = "AMIC", |
| 1317 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1318 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1319 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1320 | .model_id = AMIC_A29040B, |
| 1321 | .total_size = 512, |
| 1322 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1323 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1324 | .tested = TEST_UNTESTED, |
| 1325 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1326 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1327 | .block_erasers = |
| 1328 | { |
| 1329 | { |
| 1330 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1331 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1332 | }, { |
| 1333 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1334 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1335 | }, |
| 1336 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1337 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1338 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1339 | }, |
| 1340 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1341 | { |
| 1342 | .vendor = "AMIC", |
| 1343 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1344 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1345 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1346 | .model_id = AMIC_A49LF040A, |
| 1347 | .total_size = 512, |
| 1348 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1349 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 1350 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1351 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1352 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1353 | .block_erasers = |
| 1354 | { |
| 1355 | { |
| 1356 | .eraseblocks = { {64 * 1024, 8} }, |
| 1357 | .block_erase = erase_block_jedec, |
| 1358 | }, { |
| 1359 | .eraseblocks = { {512 * 1024, 1} }, |
| 1360 | .block_erase = erase_chip_block_jedec, |
| 1361 | } |
| 1362 | }, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 1363 | .unlock = unlock_49fl00x, |
| 1364 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1365 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1366 | }, |
| 1367 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1368 | { |
| 1369 | .vendor = "EMST", |
| 1370 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1371 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1372 | .manufacture_id = EMST_ID, |
| 1373 | .model_id = EMST_F49B002UA, |
| 1374 | .total_size = 256, |
| 1375 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1376 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1377 | .tested = TEST_UNTESTED, |
| 1378 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1379 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1380 | .block_erasers = |
| 1381 | { |
| 1382 | { |
| 1383 | .eraseblocks = { |
| 1384 | {128 * 1024, 1}, |
| 1385 | {96 * 1024, 1}, |
| 1386 | {8 * 1024, 2}, |
| 1387 | {16 * 1024, 1}, |
| 1388 | }, |
| 1389 | .block_erase = erase_sector_jedec, |
| 1390 | }, { |
| 1391 | .eraseblocks = { {256 * 1024, 1} }, |
| 1392 | .block_erase = erase_chip_block_jedec, |
| 1393 | } |
| 1394 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1395 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1396 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1397 | }, |
| 1398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1399 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 1400 | .vendor = "EMST", |
| 1401 | .name = "F25L008A", |
| 1402 | .bustype = CHIP_BUSTYPE_SPI, |
| 1403 | .manufacture_id = EMST_ID, |
| 1404 | .model_id = EMST_F25L008A, |
| 1405 | .total_size = 1024, |
| 1406 | .page_size = 256, |
| 1407 | .tested = TEST_UNTESTED, |
| 1408 | .probe = probe_spi_rdid, |
| 1409 | .probe_timing = TIMING_ZERO, |
| 1410 | .block_erasers = |
| 1411 | { |
| 1412 | { |
| 1413 | .eraseblocks = { {4 * 1024, 256} }, |
| 1414 | .block_erase = spi_block_erase_20, |
| 1415 | }, { |
| 1416 | .eraseblocks = { {64 * 1024, 16} }, |
| 1417 | .block_erase = spi_block_erase_d8, |
| 1418 | }, { |
| 1419 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1420 | .block_erase = spi_block_erase_60, |
| 1421 | }, { |
| 1422 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1423 | .block_erase = spi_block_erase_c7, |
| 1424 | } |
| 1425 | }, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 1426 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 1427 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 1428 | }, |
| 1429 | |
| 1430 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1431 | .vendor = "Eon", |
| 1432 | .name = "EN25B05", |
| 1433 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1434 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1435 | .model_id = EN_25B05, |
| 1436 | .total_size = 64, |
| 1437 | .page_size = 256, |
| 1438 | .tested = TEST_UNTESTED, |
| 1439 | .probe = probe_spi_rdid, |
| 1440 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1441 | .block_erasers = |
| 1442 | { |
| 1443 | { |
| 1444 | .eraseblocks = { |
| 1445 | {4 * 1024, 2}, |
| 1446 | {8 * 1024, 1}, |
| 1447 | {16 * 1024, 1}, |
| 1448 | {32 * 1024, 1}, |
| 1449 | }, |
| 1450 | .block_erase = spi_block_erase_d8, |
| 1451 | }, { |
| 1452 | .eraseblocks = { {64 * 1024, 1} }, |
| 1453 | .block_erase = spi_block_erase_c7, |
| 1454 | } |
| 1455 | }, |
| 1456 | .write = spi_chip_write_256, |
| 1457 | .read = spi_chip_read, |
| 1458 | }, |
| 1459 | |
| 1460 | { |
| 1461 | .vendor = "Eon", |
| 1462 | .name = "EN25B05T", |
| 1463 | .bustype = CHIP_BUSTYPE_SPI, |
| 1464 | .manufacture_id = EON_ID_NOPREFIX, |
| 1465 | .model_id = EN_25B05, |
| 1466 | .total_size = 64, |
| 1467 | .page_size = 256, |
| 1468 | .tested = TEST_UNTESTED, |
| 1469 | .probe = probe_spi_rdid, |
| 1470 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1471 | .block_erasers = |
| 1472 | { |
| 1473 | { |
| 1474 | .eraseblocks = { |
| 1475 | {32 * 1024, 1}, |
| 1476 | {16 * 1024, 1}, |
| 1477 | {8 * 1024, 1}, |
| 1478 | {4 * 1024, 2}, |
| 1479 | }, |
| 1480 | .block_erase = spi_block_erase_d8, |
| 1481 | }, { |
| 1482 | .eraseblocks = { {64 * 1024, 1} }, |
| 1483 | .block_erase = spi_block_erase_c7, |
| 1484 | } |
| 1485 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1486 | .write = spi_chip_write_256, |
| 1487 | .read = spi_chip_read, |
| 1488 | }, |
| 1489 | |
| 1490 | { |
| 1491 | .vendor = "Eon", |
| 1492 | .name = "EN25B10", |
| 1493 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1494 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1495 | .model_id = EN_25B10, |
| 1496 | .total_size = 128, |
| 1497 | .page_size = 256, |
| 1498 | .tested = TEST_UNTESTED, |
| 1499 | .probe = probe_spi_rdid, |
| 1500 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1501 | .block_erasers = |
| 1502 | { |
| 1503 | { |
| 1504 | .eraseblocks = { |
| 1505 | {4 * 1024, 2}, |
| 1506 | {8 * 1024, 1}, |
| 1507 | {16 * 1024, 1}, |
| 1508 | {32 * 1024, 3}, |
| 1509 | }, |
| 1510 | .block_erase = spi_block_erase_d8, |
| 1511 | }, { |
| 1512 | .eraseblocks = { {128 * 1024, 1} }, |
| 1513 | .block_erase = spi_block_erase_c7, |
| 1514 | } |
| 1515 | }, |
| 1516 | .write = spi_chip_write_256, |
| 1517 | .read = spi_chip_read, |
| 1518 | }, |
| 1519 | |
| 1520 | { |
| 1521 | .vendor = "Eon", |
| 1522 | .name = "EN25B10T", |
| 1523 | .bustype = CHIP_BUSTYPE_SPI, |
| 1524 | .manufacture_id = EON_ID_NOPREFIX, |
| 1525 | .model_id = EN_25B10, |
| 1526 | .total_size = 128, |
| 1527 | .page_size = 256, |
| 1528 | .tested = TEST_UNTESTED, |
| 1529 | .probe = probe_spi_rdid, |
| 1530 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1531 | .block_erasers = |
| 1532 | { |
| 1533 | { |
| 1534 | .eraseblocks = { |
| 1535 | {32 * 1024, 3}, |
| 1536 | {16 * 1024, 1}, |
| 1537 | {8 * 1024, 1}, |
| 1538 | {4 * 1024, 2}, |
| 1539 | }, |
| 1540 | .block_erase = spi_block_erase_d8, |
| 1541 | }, { |
| 1542 | .eraseblocks = { {128 * 1024, 1} }, |
| 1543 | .block_erase = spi_block_erase_c7, |
| 1544 | } |
| 1545 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1546 | .write = spi_chip_write_256, |
| 1547 | .read = spi_chip_read, |
| 1548 | }, |
| 1549 | |
| 1550 | { |
| 1551 | .vendor = "Eon", |
| 1552 | .name = "EN25B20", |
| 1553 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1554 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1555 | .model_id = EN_25B20, |
| 1556 | .total_size = 256, |
| 1557 | .page_size = 256, |
| 1558 | .tested = TEST_UNTESTED, |
| 1559 | .probe = probe_spi_rdid, |
| 1560 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1561 | .block_erasers = |
| 1562 | { |
| 1563 | { |
| 1564 | .eraseblocks = { |
| 1565 | {4 * 1024, 2}, |
| 1566 | {8 * 1024, 1}, |
| 1567 | {16 * 1024, 1}, |
| 1568 | {32 * 1024, 1}, |
| 1569 | {64 * 1024, 3} |
| 1570 | }, |
| 1571 | .block_erase = spi_block_erase_d8, |
| 1572 | }, { |
| 1573 | .eraseblocks = { {256 * 1024, 1} }, |
| 1574 | .block_erase = spi_block_erase_c7, |
| 1575 | } |
| 1576 | }, |
| 1577 | .write = spi_chip_write_256, |
| 1578 | .read = spi_chip_read, |
| 1579 | }, |
| 1580 | |
| 1581 | { |
| 1582 | .vendor = "Eon", |
| 1583 | .name = "EN25B20T", |
| 1584 | .bustype = CHIP_BUSTYPE_SPI, |
| 1585 | .manufacture_id = EON_ID_NOPREFIX, |
| 1586 | .model_id = EN_25B20, |
| 1587 | .total_size = 256, |
| 1588 | .page_size = 256, |
| 1589 | .tested = TEST_UNTESTED, |
| 1590 | .probe = probe_spi_rdid, |
| 1591 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1592 | .block_erasers = |
| 1593 | { |
| 1594 | { |
| 1595 | .eraseblocks = { |
| 1596 | {64 * 1024, 3}, |
| 1597 | {32 * 1024, 1}, |
| 1598 | {16 * 1024, 1}, |
| 1599 | {8 * 1024, 1}, |
| 1600 | {4 * 1024, 2}, |
| 1601 | }, |
| 1602 | .block_erase = spi_block_erase_d8, |
| 1603 | }, { |
| 1604 | .eraseblocks = { {256 * 1024, 1} }, |
| 1605 | .block_erase = spi_block_erase_c7, |
| 1606 | } |
| 1607 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1608 | .write = spi_chip_write_256, |
| 1609 | .read = spi_chip_read, |
| 1610 | }, |
| 1611 | |
| 1612 | { |
| 1613 | .vendor = "Eon", |
| 1614 | .name = "EN25B40", |
| 1615 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1616 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1617 | .model_id = EN_25B40, |
| 1618 | .total_size = 512, |
| 1619 | .page_size = 256, |
| 1620 | .tested = TEST_UNTESTED, |
| 1621 | .probe = probe_spi_rdid, |
| 1622 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1623 | .block_erasers = |
| 1624 | { |
| 1625 | { |
| 1626 | .eraseblocks = { |
| 1627 | {4 * 1024, 2}, |
| 1628 | {8 * 1024, 1}, |
| 1629 | {16 * 1024, 1}, |
| 1630 | {32 * 1024, 1}, |
| 1631 | {64 * 1024, 7} |
| 1632 | }, |
| 1633 | .block_erase = spi_block_erase_d8, |
| 1634 | }, { |
| 1635 | .eraseblocks = { {512 * 1024, 1} }, |
| 1636 | .block_erase = spi_block_erase_c7, |
| 1637 | } |
| 1638 | }, |
| 1639 | .write = spi_chip_write_256, |
| 1640 | .read = spi_chip_read, |
| 1641 | }, |
| 1642 | |
| 1643 | { |
| 1644 | .vendor = "Eon", |
| 1645 | .name = "EN25B40T", |
| 1646 | .bustype = CHIP_BUSTYPE_SPI, |
| 1647 | .manufacture_id = EON_ID_NOPREFIX, |
| 1648 | .model_id = EN_25B40, |
| 1649 | .total_size = 512, |
| 1650 | .page_size = 256, |
| 1651 | .tested = TEST_UNTESTED, |
| 1652 | .probe = probe_spi_rdid, |
| 1653 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1654 | .block_erasers = |
| 1655 | { |
| 1656 | { |
| 1657 | .eraseblocks = { |
| 1658 | {64 * 1024, 7}, |
| 1659 | {32 * 1024, 1}, |
| 1660 | {16 * 1024, 1}, |
| 1661 | {8 * 1024, 1}, |
| 1662 | {4 * 1024, 2}, |
| 1663 | }, |
| 1664 | .block_erase = spi_block_erase_d8, |
| 1665 | }, { |
| 1666 | .eraseblocks = { {512 * 1024, 1} }, |
| 1667 | .block_erase = spi_block_erase_c7, |
| 1668 | } |
| 1669 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1670 | .write = spi_chip_write_256, |
| 1671 | .read = spi_chip_read, |
| 1672 | }, |
| 1673 | |
| 1674 | { |
| 1675 | .vendor = "Eon", |
| 1676 | .name = "EN25B80", |
| 1677 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1678 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1679 | .model_id = EN_25B80, |
| 1680 | .total_size = 1024, |
| 1681 | .page_size = 256, |
| 1682 | .tested = TEST_UNTESTED, |
| 1683 | .probe = probe_spi_rdid, |
| 1684 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1685 | .block_erasers = |
| 1686 | { |
| 1687 | { |
| 1688 | .eraseblocks = { |
| 1689 | {4 * 1024, 2}, |
| 1690 | {8 * 1024, 1}, |
| 1691 | {16 * 1024, 1}, |
| 1692 | {32 * 1024, 1}, |
| 1693 | {64 * 1024, 15} |
| 1694 | }, |
| 1695 | .block_erase = spi_block_erase_d8, |
| 1696 | }, { |
| 1697 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1698 | .block_erase = spi_block_erase_c7, |
| 1699 | } |
| 1700 | }, |
| 1701 | .write = spi_chip_write_256, |
| 1702 | .read = spi_chip_read, |
| 1703 | }, |
| 1704 | |
| 1705 | { |
| 1706 | .vendor = "Eon", |
| 1707 | .name = "EN25B80T", |
| 1708 | .bustype = CHIP_BUSTYPE_SPI, |
| 1709 | .manufacture_id = EON_ID_NOPREFIX, |
| 1710 | .model_id = EN_25B80, |
| 1711 | .total_size = 1024, |
| 1712 | .page_size = 256, |
| 1713 | .tested = TEST_UNTESTED, |
| 1714 | .probe = probe_spi_rdid, |
| 1715 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1716 | .block_erasers = |
| 1717 | { |
| 1718 | { |
| 1719 | .eraseblocks = { |
| 1720 | {64 * 1024, 15}, |
| 1721 | {32 * 1024, 1}, |
| 1722 | {16 * 1024, 1}, |
| 1723 | {8 * 1024, 1}, |
| 1724 | {4 * 1024, 2}, |
| 1725 | }, |
| 1726 | .block_erase = spi_block_erase_d8, |
| 1727 | }, { |
| 1728 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1729 | .block_erase = spi_block_erase_c7, |
| 1730 | } |
| 1731 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1732 | .write = spi_chip_write_256, |
| 1733 | .read = spi_chip_read, |
| 1734 | }, |
| 1735 | |
| 1736 | { |
| 1737 | .vendor = "Eon", |
| 1738 | .name = "EN25B16", |
| 1739 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1740 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1741 | .model_id = EN_25B16, |
| 1742 | .total_size = 2048, |
| 1743 | .page_size = 256, |
| 1744 | .tested = TEST_UNTESTED, |
| 1745 | .probe = probe_spi_rdid, |
| 1746 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1747 | .block_erasers = |
| 1748 | { |
| 1749 | { |
| 1750 | .eraseblocks = { |
| 1751 | {4 * 1024, 2}, |
| 1752 | {8 * 1024, 1}, |
| 1753 | {16 * 1024, 1}, |
| 1754 | {32 * 1024, 1}, |
| 1755 | {64 * 1024, 31}, |
| 1756 | }, |
| 1757 | .block_erase = spi_block_erase_d8, |
| 1758 | }, { |
| 1759 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1760 | .block_erase = spi_block_erase_c7, |
| 1761 | } |
| 1762 | }, |
| 1763 | .write = spi_chip_write_256, |
| 1764 | .read = spi_chip_read, |
| 1765 | }, |
| 1766 | |
| 1767 | { |
| 1768 | .vendor = "Eon", |
| 1769 | .name = "EN25B16T", |
| 1770 | .bustype = CHIP_BUSTYPE_SPI, |
| 1771 | .manufacture_id = EON_ID_NOPREFIX, |
| 1772 | .model_id = EN_25B16, |
| 1773 | .total_size = 2048, |
| 1774 | .page_size = 256, |
| 1775 | .tested = TEST_UNTESTED, |
| 1776 | .probe = probe_spi_rdid, |
| 1777 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1778 | .block_erasers = |
| 1779 | { |
| 1780 | { |
| 1781 | .eraseblocks = { |
| 1782 | {64 * 1024, 31}, |
| 1783 | {32 * 1024, 1}, |
| 1784 | {16 * 1024, 1}, |
| 1785 | {8 * 1024, 1}, |
| 1786 | {4 * 1024, 2}, |
| 1787 | }, |
| 1788 | .block_erase = spi_block_erase_d8, |
| 1789 | }, { |
| 1790 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1791 | .block_erase = spi_block_erase_c7, |
| 1792 | } |
| 1793 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1794 | .write = spi_chip_write_256, |
| 1795 | .read = spi_chip_read, |
| 1796 | }, |
| 1797 | |
| 1798 | { |
| 1799 | .vendor = "Eon", |
| 1800 | .name = "EN25B32", |
| 1801 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1802 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1803 | .model_id = EN_25B32, |
| 1804 | .total_size = 4096, |
| 1805 | .page_size = 256, |
| 1806 | .tested = TEST_UNTESTED, |
| 1807 | .probe = probe_spi_rdid, |
| 1808 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1809 | .block_erasers = |
| 1810 | { |
| 1811 | { |
| 1812 | .eraseblocks = { |
| 1813 | {4 * 1024, 2}, |
| 1814 | {8 * 1024, 1}, |
| 1815 | {16 * 1024, 1}, |
| 1816 | {32 * 1024, 1}, |
| 1817 | {64 * 1024, 63}, |
| 1818 | }, |
| 1819 | .block_erase = spi_block_erase_d8, |
| 1820 | }, { |
| 1821 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1822 | .block_erase = spi_block_erase_c7, |
| 1823 | } |
| 1824 | }, |
| 1825 | .write = spi_chip_write_256, |
| 1826 | .read = spi_chip_read, |
| 1827 | }, |
| 1828 | |
| 1829 | { |
| 1830 | .vendor = "Eon", |
| 1831 | .name = "EN25B32T", |
| 1832 | .bustype = CHIP_BUSTYPE_SPI, |
| 1833 | .manufacture_id = EON_ID_NOPREFIX, |
| 1834 | .model_id = EN_25B32, |
| 1835 | .total_size = 4096, |
| 1836 | .page_size = 256, |
| 1837 | .tested = TEST_UNTESTED, |
| 1838 | .probe = probe_spi_rdid, |
| 1839 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1840 | .block_erasers = |
| 1841 | { |
| 1842 | { |
| 1843 | .eraseblocks = { |
| 1844 | {64 * 1024, 63}, |
| 1845 | {32 * 1024, 1}, |
| 1846 | {16 * 1024, 1}, |
| 1847 | {8 * 1024, 1}, |
| 1848 | {4 * 1024, 2}, |
| 1849 | }, |
| 1850 | .block_erase = spi_block_erase_d8, |
| 1851 | }, { |
| 1852 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1853 | .block_erase = spi_block_erase_c7, |
| 1854 | } |
| 1855 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1856 | .write = spi_chip_write_256, |
| 1857 | .read = spi_chip_read, |
| 1858 | }, |
| 1859 | |
| 1860 | { |
| 1861 | .vendor = "Eon", |
| 1862 | .name = "EN25B64", |
| 1863 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1864 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1865 | .model_id = EN_25B64, |
| 1866 | .total_size = 8192, |
| 1867 | .page_size = 256, |
| 1868 | .tested = TEST_UNTESTED, |
| 1869 | .probe = probe_spi_rdid, |
| 1870 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1871 | .block_erasers = |
| 1872 | { |
| 1873 | { |
| 1874 | .eraseblocks = { |
| 1875 | {4 * 1024, 2}, |
| 1876 | {8 * 1024, 1}, |
| 1877 | {16 * 1024, 1}, |
| 1878 | {32 * 1024, 1}, |
| 1879 | {64 * 1024, 127}, |
| 1880 | }, |
| 1881 | .block_erase = spi_block_erase_d8, |
| 1882 | }, { |
| 1883 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1884 | .block_erase = spi_block_erase_c7, |
| 1885 | } |
| 1886 | }, |
| 1887 | .write = spi_chip_write_256, |
| 1888 | .read = spi_chip_read, |
| 1889 | }, |
| 1890 | |
| 1891 | { |
| 1892 | .vendor = "Eon", |
| 1893 | .name = "EN25B64T", |
| 1894 | .bustype = CHIP_BUSTYPE_SPI, |
| 1895 | .manufacture_id = EON_ID_NOPREFIX, |
| 1896 | .model_id = EN_25B64, |
| 1897 | .total_size = 8192, |
| 1898 | .page_size = 256, |
| 1899 | .tested = TEST_UNTESTED, |
| 1900 | .probe = probe_spi_rdid, |
| 1901 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1902 | .block_erasers = |
| 1903 | { |
| 1904 | { |
| 1905 | .eraseblocks = { |
| 1906 | {64 * 1024, 127}, |
| 1907 | {32 * 1024, 1}, |
| 1908 | {16 * 1024, 1}, |
| 1909 | {8 * 1024, 1}, |
| 1910 | {4 * 1024, 2}, |
| 1911 | }, |
| 1912 | .block_erase = spi_block_erase_d8, |
| 1913 | }, { |
| 1914 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1915 | .block_erase = spi_block_erase_c7, |
| 1916 | } |
| 1917 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1918 | .write = spi_chip_write_256, |
| 1919 | .read = spi_chip_read, |
| 1920 | }, |
| 1921 | |
| 1922 | { |
| 1923 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1924 | .name = "EN25D16", |
| 1925 | .bustype = CHIP_BUSTYPE_SPI, |
| 1926 | .manufacture_id = EON_ID_NOPREFIX, |
| 1927 | .model_id = EN_25D16, |
| 1928 | .total_size = 2048, |
| 1929 | .page_size = 256, |
| 1930 | .tested = TEST_UNTESTED, |
| 1931 | .probe = probe_spi_rdid, |
| 1932 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1933 | .block_erasers = |
| 1934 | { |
| 1935 | { |
| 1936 | .eraseblocks = { {4 * 1024, 512} }, |
| 1937 | .block_erase = spi_block_erase_20, |
| 1938 | }, { |
| 1939 | .eraseblocks = { {64 * 1024, 32} }, |
| 1940 | .block_erase = spi_block_erase_d8, |
| 1941 | }, { |
| 1942 | .eraseblocks = { {64 * 1024, 32} }, |
| 1943 | .block_erase = spi_block_erase_52, |
| 1944 | }, { |
| 1945 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1946 | .block_erase = spi_block_erase_60, |
| 1947 | }, { |
| 1948 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1949 | .block_erase = spi_block_erase_c7, |
| 1950 | } |
| 1951 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1952 | .write = spi_chip_write_256, |
| 1953 | .read = spi_chip_read, |
| 1954 | }, |
| 1955 | |
| 1956 | { |
| 1957 | .vendor = "Eon", |
| 1958 | .name = "EN25F05", |
| 1959 | .bustype = CHIP_BUSTYPE_SPI, |
| 1960 | .manufacture_id = EON_ID_NOPREFIX, |
| 1961 | .model_id = EN_25F05, |
| 1962 | .total_size = 64, |
| 1963 | .page_size = 256, |
| 1964 | .tested = TEST_UNTESTED, |
| 1965 | .probe = probe_spi_rdid, |
| 1966 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1967 | .block_erasers = |
| 1968 | { |
| 1969 | { |
| 1970 | .eraseblocks = { {4 * 1024, 16} }, |
| 1971 | .block_erase = spi_block_erase_20, |
| 1972 | }, { |
| 1973 | .eraseblocks = { {32 * 1024, 2} }, |
| 1974 | .block_erase = spi_block_erase_d8, |
| 1975 | }, { |
| 1976 | .eraseblocks = { {32 * 1024, 2} }, |
| 1977 | .block_erase = spi_block_erase_52, |
| 1978 | }, { |
| 1979 | .eraseblocks = { {64 * 1024, 1} }, |
| 1980 | .block_erase = spi_block_erase_60, |
| 1981 | }, { |
| 1982 | .eraseblocks = { {64 * 1024, 1} }, |
| 1983 | .block_erase = spi_block_erase_c7, |
| 1984 | } |
| 1985 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1986 | .write = spi_chip_write_256, |
| 1987 | .read = spi_chip_read, |
| 1988 | }, |
| 1989 | |
| 1990 | { |
| 1991 | .vendor = "Eon", |
| 1992 | .name = "EN25F10", |
| 1993 | .bustype = CHIP_BUSTYPE_SPI, |
| 1994 | .manufacture_id = EON_ID_NOPREFIX, |
| 1995 | .model_id = EN_25F10, |
| 1996 | .total_size = 128, |
| 1997 | .page_size = 256, |
| 1998 | .tested = TEST_UNTESTED, |
| 1999 | .probe = probe_spi_rdid, |
| 2000 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2001 | .block_erasers = |
| 2002 | { |
| 2003 | { |
| 2004 | .eraseblocks = { {4 * 1024, 32} }, |
| 2005 | .block_erase = spi_block_erase_20, |
| 2006 | }, { |
| 2007 | .eraseblocks = { {32 * 1024, 4} }, |
| 2008 | .block_erase = spi_block_erase_d8, |
| 2009 | }, { |
| 2010 | .eraseblocks = { {32 * 1024, 4} }, |
| 2011 | .block_erase = spi_block_erase_52, |
| 2012 | }, { |
| 2013 | .eraseblocks = { {128 * 1024, 1} }, |
| 2014 | .block_erase = spi_block_erase_60, |
| 2015 | }, { |
| 2016 | .eraseblocks = { {128 * 1024, 1} }, |
| 2017 | .block_erase = spi_block_erase_c7, |
| 2018 | } |
| 2019 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2020 | .write = spi_chip_write_256, |
| 2021 | .read = spi_chip_read, |
| 2022 | }, |
| 2023 | |
| 2024 | { |
| 2025 | .vendor = "Eon", |
| 2026 | .name = "EN25F20", |
| 2027 | .bustype = CHIP_BUSTYPE_SPI, |
| 2028 | .manufacture_id = EON_ID_NOPREFIX, |
| 2029 | .model_id = EN_25F20, |
| 2030 | .total_size = 256, |
| 2031 | .page_size = 256, |
| 2032 | .tested = TEST_UNTESTED, |
| 2033 | .probe = probe_spi_rdid, |
| 2034 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2035 | .block_erasers = |
| 2036 | { |
| 2037 | { |
| 2038 | .eraseblocks = { {4 * 1024, 64} }, |
| 2039 | .block_erase = spi_block_erase_20, |
| 2040 | }, { |
| 2041 | .eraseblocks = { {64 * 1024, 4} }, |
| 2042 | .block_erase = spi_block_erase_d8, |
| 2043 | }, { |
| 2044 | .eraseblocks = { {64 * 1024, 4} }, |
| 2045 | .block_erase = spi_block_erase_52, |
| 2046 | }, { |
| 2047 | .eraseblocks = { {256 * 1024, 1} }, |
| 2048 | .block_erase = spi_block_erase_60, |
| 2049 | }, { |
| 2050 | .eraseblocks = { {256 * 1024, 1} }, |
| 2051 | .block_erase = spi_block_erase_c7, |
| 2052 | } |
| 2053 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2054 | .write = spi_chip_write_256, |
| 2055 | .read = spi_chip_read, |
| 2056 | }, |
| 2057 | |
| 2058 | { |
| 2059 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2060 | .name = "EN25F40", |
| 2061 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2062 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2063 | .model_id = EN_25F40, |
| 2064 | .total_size = 512, |
| 2065 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2066 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2067 | .probe = probe_spi_rdid, |
| 2068 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2069 | .block_erasers = |
| 2070 | { |
| 2071 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2072 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2073 | .block_erase = spi_block_erase_20, |
| 2074 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2075 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2076 | .block_erase = spi_block_erase_d8, |
| 2077 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2078 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2079 | .block_erase = spi_block_erase_60, |
| 2080 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2081 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2082 | .block_erase = spi_block_erase_c7, |
| 2083 | }, |
| 2084 | }, |
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 = "EN25F80", |
| 2092 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2093 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2094 | .model_id = EN_25F80, |
| 2095 | .total_size = 1024, |
| 2096 | .page_size = 256, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 2097 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 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 = { {4 * 1024, 256} }, |
| 2104 | .block_erase = spi_block_erase_20, |
| 2105 | }, { |
| 2106 | .eraseblocks = { {64 * 1024, 16} }, |
| 2107 | .block_erase = spi_block_erase_d8, |
| 2108 | }, { |
| 2109 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2110 | .block_erase = spi_block_erase_60, |
| 2111 | }, { |
| 2112 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2113 | .block_erase = spi_block_erase_c7, |
| 2114 | } |
| 2115 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2116 | .write = spi_chip_write_256, |
| 2117 | .read = spi_chip_read, |
| 2118 | }, |
| 2119 | |
| 2120 | { |
| 2121 | .vendor = "Eon", |
| 2122 | .name = "EN25F16", |
| 2123 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2124 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2125 | .model_id = EN_25F16, |
| 2126 | .total_size = 2048, |
| 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 = { {4 * 1024, 512} }, |
| 2135 | .block_erase = spi_block_erase_20, |
| 2136 | }, { |
| 2137 | .eraseblocks = { {64 * 1024, 32} }, |
| 2138 | .block_erase = spi_block_erase_d8, |
| 2139 | }, { |
| 2140 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2141 | .block_erase = spi_block_erase_60, |
| 2142 | }, { |
| 2143 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2144 | .block_erase = spi_block_erase_c7, |
| 2145 | } |
| 2146 | }, |
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 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2152 | .vendor = "Eon", |
| 2153 | .name = "EN25F32", |
| 2154 | .bustype = CHIP_BUSTYPE_SPI, |
| 2155 | .manufacture_id = EON_ID_NOPREFIX, |
| 2156 | .model_id = EN_25F32, |
| 2157 | .total_size = 4096, |
| 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 = { {4 * 1024, 1024} }, |
| 2166 | .block_erase = spi_block_erase_20, |
| 2167 | }, { |
| 2168 | .eraseblocks = { {64 * 1024, 64} }, |
| 2169 | .block_erase = spi_block_erase_d8, |
| 2170 | }, { |
| 2171 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2172 | .block_erase = spi_block_erase_60, |
| 2173 | }, { |
| 2174 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2175 | .block_erase = spi_block_erase_c7, |
| 2176 | } |
| 2177 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2178 | .write = spi_chip_write_256, |
| 2179 | .read = spi_chip_read, |
| 2180 | }, |
| 2181 | |
| 2182 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2183 | .vendor = "Eon", |
| 2184 | .name = "EN29F010", |
| 2185 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2186 | .manufacture_id = EON_ID, |
| 2187 | .model_id = EN_29F010, |
| 2188 | .total_size = 128, |
| 2189 | .page_size = 128, |
| 2190 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2191 | .tested = TEST_OK_PREW, |
| 2192 | .probe = probe_jedec, |
| 2193 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2194 | .block_erasers = |
| 2195 | { |
| 2196 | { |
| 2197 | .eraseblocks = { {16 * 1024, 8} }, |
| 2198 | .block_erase = erase_sector_jedec, |
| 2199 | }, |
| 2200 | { |
| 2201 | .eraseblocks = { {128 * 1024, 1} }, |
| 2202 | .block_erase = erase_chip_block_jedec, |
| 2203 | }, |
| 2204 | }, |
| 2205 | .write = write_jedec_1, |
| 2206 | .read = read_memmapped, |
| 2207 | }, |
| 2208 | |
| 2209 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2210 | .vendor = "EON", |
| 2211 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2212 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2213 | .manufacture_id = EON_ID, |
| 2214 | .model_id = EN_29F002B, |
| 2215 | .total_size = 256, |
| 2216 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2217 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2218 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2219 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2220 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2221 | .block_erasers = |
| 2222 | { |
| 2223 | { |
| 2224 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2225 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2226 | {8 * 1024, 2}, |
| 2227 | {32 * 1024, 1}, |
| 2228 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2229 | }, |
| 2230 | .block_erase = erase_sector_jedec, |
| 2231 | }, { |
| 2232 | .eraseblocks = { {256 * 1024, 1} }, |
| 2233 | .block_erase = erase_chip_block_jedec, |
| 2234 | }, |
| 2235 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2236 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2237 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2238 | }, |
| 2239 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2240 | { |
| 2241 | .vendor = "EON", |
| 2242 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2243 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2244 | .manufacture_id = EON_ID, |
| 2245 | .model_id = EN_29F002T, |
| 2246 | .total_size = 256, |
| 2247 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2248 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2249 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2250 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2251 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2252 | .block_erasers = |
| 2253 | { |
| 2254 | { |
| 2255 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2256 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2257 | {32 * 1024, 1}, |
| 2258 | {8 * 1024, 2}, |
| 2259 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2260 | }, |
| 2261 | .block_erase = erase_sector_jedec, |
| 2262 | }, { |
| 2263 | .eraseblocks = { {256 * 1024, 1} }, |
| 2264 | .block_erase = erase_chip_block_jedec, |
| 2265 | }, |
| 2266 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2267 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2268 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2269 | }, |
| 2270 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2271 | { |
| 2272 | .vendor = "Fujitsu", |
| 2273 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2274 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2275 | .manufacture_id = FUJITSU_ID, |
| 2276 | .model_id = MBM29F004BC, |
| 2277 | .total_size = 512, |
| 2278 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2279 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2280 | .tested = TEST_UNTESTED, |
| 2281 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2282 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2283 | .block_erasers = |
| 2284 | { |
| 2285 | { |
| 2286 | .eraseblocks = { |
| 2287 | {16 * 1024, 1}, |
| 2288 | {8 * 1024, 2}, |
| 2289 | {32 * 1024, 1}, |
| 2290 | {64 * 1024, 7}, |
| 2291 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2292 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2293 | }, { |
| 2294 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2295 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2296 | }, |
| 2297 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2298 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2299 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2300 | }, |
| 2301 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2302 | { |
| 2303 | .vendor = "Fujitsu", |
| 2304 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2305 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2306 | .manufacture_id = FUJITSU_ID, |
| 2307 | .model_id = MBM29F004TC, |
| 2308 | .total_size = 512, |
| 2309 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2310 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2311 | .tested = TEST_UNTESTED, |
| 2312 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2313 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2314 | .block_erasers = |
| 2315 | { |
| 2316 | { |
| 2317 | .eraseblocks = { |
| 2318 | {64 * 1024, 7}, |
| 2319 | {32 * 1024, 1}, |
| 2320 | {8 * 1024, 2}, |
| 2321 | {16 * 1024, 1}, |
| 2322 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2323 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2324 | }, { |
| 2325 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2326 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2327 | }, |
| 2328 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2329 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2330 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2331 | }, |
| 2332 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2333 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2334 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2335 | .vendor = "Fujitsu", |
| 2336 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2337 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2338 | .manufacture_id = FUJITSU_ID, |
| 2339 | .model_id = MBM29F400BC, |
| 2340 | .total_size = 512, |
| 2341 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2342 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2343 | .tested = TEST_UNTESTED, |
| 2344 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2345 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2346 | .block_erasers = |
| 2347 | { |
| 2348 | { |
| 2349 | .eraseblocks = { |
| 2350 | {16 * 1024, 1}, |
| 2351 | {8 * 1024, 2}, |
| 2352 | {32 * 1024, 1}, |
| 2353 | {64 * 1024, 7}, |
| 2354 | }, |
| 2355 | .block_erase = block_erase_m29f400bt, |
| 2356 | }, { |
| 2357 | .eraseblocks = { {512 * 1024, 1} }, |
| 2358 | .block_erase = block_erase_chip_m29f400bt, |
| 2359 | }, |
| 2360 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2361 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2362 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2363 | }, |
| 2364 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2365 | { |
| 2366 | .vendor = "Fujitsu", |
| 2367 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2368 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2369 | .manufacture_id = FUJITSU_ID, |
| 2370 | .model_id = MBM29F400TC, |
| 2371 | .total_size = 512, |
| 2372 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2373 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2374 | .tested = TEST_UNTESTED, |
| 2375 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2376 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2377 | .block_erasers = |
| 2378 | { |
| 2379 | { |
| 2380 | .eraseblocks = { |
| 2381 | {64 * 1024, 7}, |
| 2382 | {32 * 1024, 1}, |
| 2383 | {8 * 1024, 2}, |
| 2384 | {16 * 1024, 1}, |
| 2385 | }, |
| 2386 | .block_erase = block_erase_m29f400bt, |
| 2387 | }, { |
| 2388 | .eraseblocks = { {512 * 1024, 1} }, |
| 2389 | .block_erase = block_erase_chip_m29f400bt, |
| 2390 | }, |
| 2391 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2392 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2393 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2394 | }, |
| 2395 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2396 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 2397 | .vendor = "Hyundai", |
| 2398 | .name = "HY29F002T", |
| 2399 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2400 | .manufacture_id = HYUNDAI_ID, |
| 2401 | .model_id = HY_29F002T, |
| 2402 | .total_size = 256, |
| 2403 | .page_size = 256 * 1024, |
| 2404 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 2405 | .tested = TEST_OK_PREW, |
| 2406 | .probe = probe_jedec, |
| 2407 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2408 | .block_erasers = |
| 2409 | { |
| 2410 | { |
| 2411 | .eraseblocks = { |
| 2412 | {64 * 1024, 3}, |
| 2413 | {32 * 1024, 1}, |
| 2414 | {8 * 1024, 2}, |
| 2415 | {16 * 1024, 1}, |
| 2416 | }, |
| 2417 | .block_erase = erase_sector_jedec, |
| 2418 | }, { |
| 2419 | .eraseblocks = { {256 * 1024, 1} }, |
| 2420 | .block_erase = erase_chip_block_jedec, |
| 2421 | }, |
| 2422 | }, |
| 2423 | .write = write_jedec_1, |
| 2424 | .read = read_memmapped, |
| 2425 | }, |
| 2426 | |
| 2427 | { |
| 2428 | .vendor = "Hyundai", |
| 2429 | .name = "HY29F002B", |
| 2430 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2431 | .manufacture_id = HYUNDAI_ID, |
| 2432 | .model_id = HY_29F002B, |
| 2433 | .total_size = 256, |
| 2434 | .page_size = 256 * 1024, |
| 2435 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 2436 | .tested = TEST_UNTESTED, |
| 2437 | .probe = probe_jedec, |
| 2438 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2439 | .block_erasers = |
| 2440 | { |
| 2441 | { |
| 2442 | .eraseblocks = { |
| 2443 | {16 * 1024, 1}, |
| 2444 | {8 * 1024, 2}, |
| 2445 | {32 * 1024, 1}, |
| 2446 | {64 * 1024, 3}, |
| 2447 | }, |
| 2448 | .block_erase = erase_sector_jedec, |
| 2449 | }, { |
| 2450 | .eraseblocks = { {256 * 1024, 1} }, |
| 2451 | .block_erase = erase_chip_block_jedec, |
| 2452 | }, |
| 2453 | }, |
| 2454 | .write = write_jedec_1, |
| 2455 | .read = read_memmapped, |
| 2456 | }, |
| 2457 | |
| 2458 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2459 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2460 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2461 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2462 | .manufacture_id = INTEL_ID, |
| 2463 | .model_id = P28F001BXB, |
| 2464 | .total_size = 128, |
| 2465 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2466 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2467 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2468 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2469 | .block_erasers = |
| 2470 | { |
| 2471 | { |
| 2472 | .eraseblocks = { |
| 2473 | {8 * 1024, 1}, |
| 2474 | {4 * 1024, 2}, |
| 2475 | {112 * 1024, 1}, |
| 2476 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2477 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2478 | }, |
| 2479 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2480 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2481 | .read = read_memmapped, |
| 2482 | }, |
| 2483 | |
| 2484 | { |
| 2485 | .vendor = "Intel", |
| 2486 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2487 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2488 | .manufacture_id = INTEL_ID, |
| 2489 | .model_id = P28F001BXT, |
| 2490 | .total_size = 128, |
| 2491 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2492 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2493 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2494 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2495 | .block_erasers = |
| 2496 | { |
| 2497 | { |
| 2498 | .eraseblocks = { |
| 2499 | {112 * 1024, 1}, |
| 2500 | {4 * 1024, 2}, |
| 2501 | {8 * 1024, 1}, |
| 2502 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2503 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2504 | }, |
| 2505 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2506 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2507 | .read = read_memmapped, |
| 2508 | }, |
| 2509 | |
| 2510 | { |
| 2511 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2512 | .name = "28F004S5", |
| 2513 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2514 | .manufacture_id = INTEL_ID, |
| 2515 | .model_id = E_28F004S5, |
| 2516 | .total_size = 512, |
| 2517 | .page_size = 256, |
| 2518 | .tested = TEST_UNTESTED, |
| 2519 | .probe = probe_82802ab, |
| 2520 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2521 | .block_erasers = |
| 2522 | { |
| 2523 | { |
| 2524 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2525 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2526 | }, |
| 2527 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2528 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2529 | .write = write_82802ab, |
| 2530 | .read = read_memmapped, |
| 2531 | }, |
| 2532 | |
| 2533 | { |
| 2534 | .vendor = "Intel", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 2535 | .name = "28F004BV/BE-B", |
| 2536 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2537 | .manufacture_id = INTEL_ID, |
| 2538 | .model_id = P28F004BB, |
| 2539 | .total_size = 512, |
| 2540 | .page_size = 128 * 1024, /* maximal block size */ |
| 2541 | .tested = TEST_UNTESTED, |
| 2542 | .probe = probe_82802ab, |
| 2543 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2544 | .block_erasers = |
| 2545 | { |
| 2546 | { |
| 2547 | .eraseblocks = { |
| 2548 | {16 * 1024, 1}, |
| 2549 | {8 * 1024, 2}, |
| 2550 | {96 * 1024, 1}, |
| 2551 | {128 * 1024, 3}, |
| 2552 | }, |
| 2553 | .block_erase = erase_block_82802ab, |
| 2554 | }, |
| 2555 | }, |
| 2556 | .write = write_82802ab, |
| 2557 | .read = read_memmapped, |
| 2558 | }, |
| 2559 | |
| 2560 | { |
| 2561 | .vendor = "Intel", |
| 2562 | .name = "28F004BV/BE-T", |
| 2563 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2564 | .manufacture_id = INTEL_ID, |
| 2565 | .model_id = P28F004BT, |
| 2566 | .total_size = 512, |
| 2567 | .page_size = 128 * 1024, /* maximal block size */ |
| 2568 | .tested = TEST_UNTESTED, |
| 2569 | .probe = probe_82802ab, |
| 2570 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2571 | .block_erasers = |
| 2572 | { |
| 2573 | { |
| 2574 | .eraseblocks = { |
| 2575 | {128 * 1024, 3}, |
| 2576 | {96 * 1024, 1}, |
| 2577 | {8 * 1024, 2}, |
| 2578 | {16 * 1024, 1}, |
| 2579 | }, |
| 2580 | .block_erase = erase_block_82802ab, |
| 2581 | }, |
| 2582 | }, |
| 2583 | .write = write_82802ab, |
| 2584 | .read = read_memmapped, |
| 2585 | }, |
| 2586 | |
| 2587 | { |
| 2588 | .vendor = "Intel", |
| 2589 | .name = "28F400BV/CV/CE-B", |
| 2590 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2591 | .manufacture_id = INTEL_ID, |
| 2592 | .model_id = P28F400BB, |
| 2593 | .total_size = 512, |
| 2594 | .page_size = 128 * 1024, /* maximal block size */ |
| 2595 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2596 | .tested = TEST_UNTESTED, |
| 2597 | .probe = probe_82802ab, |
| 2598 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2599 | .block_erasers = |
| 2600 | { |
| 2601 | { |
| 2602 | .eraseblocks = { |
| 2603 | {16 * 1024, 1}, |
| 2604 | {8 * 1024, 2}, |
| 2605 | {96 * 1024, 1}, |
| 2606 | {128 * 1024, 3}, |
| 2607 | }, |
| 2608 | .block_erase = erase_block_82802ab, |
| 2609 | }, |
| 2610 | }, |
| 2611 | .write = write_82802ab, |
| 2612 | .read = read_memmapped, |
| 2613 | }, |
| 2614 | |
| 2615 | { |
| 2616 | .vendor = "Intel", |
| 2617 | .name = "28F400BV/CV/CE-T", |
| 2618 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2619 | .manufacture_id = INTEL_ID, |
| 2620 | .model_id = P28F400BT, |
| 2621 | .total_size = 512, |
| 2622 | .page_size = 128 * 1024, /* maximal block size */ |
| 2623 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2624 | .tested = TEST_UNTESTED, |
| 2625 | .probe = probe_82802ab, |
| 2626 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2627 | .block_erasers = |
| 2628 | { |
| 2629 | { |
| 2630 | .eraseblocks = { |
| 2631 | {128 * 1024, 3}, |
| 2632 | {96 * 1024, 1}, |
| 2633 | {8 * 1024, 2}, |
| 2634 | {16 * 1024, 1}, |
| 2635 | }, |
| 2636 | .block_erase = erase_block_82802ab, |
| 2637 | }, |
| 2638 | }, |
| 2639 | .write = write_82802ab, |
| 2640 | .read = read_memmapped, |
| 2641 | }, |
| 2642 | |
| 2643 | { |
| 2644 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2645 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2646 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2647 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2648 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2649 | .total_size = 512, |
| 2650 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2651 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2652 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2653 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2654 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2655 | .block_erasers = |
| 2656 | { |
| 2657 | { |
| 2658 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2659 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2660 | }, |
| 2661 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2662 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2663 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2664 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2665 | }, |
| 2666 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2667 | { |
| 2668 | .vendor = "Intel", |
| 2669 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2670 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2671 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2672 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2673 | .total_size = 1024, |
| 2674 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2675 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2676 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2677 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2678 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2679 | .block_erasers = |
| 2680 | { |
| 2681 | { |
| 2682 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2683 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2684 | }, |
| 2685 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2686 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2687 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2688 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2689 | }, |
| 2690 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2691 | { |
| 2692 | .vendor = "Macronix", |
| 2693 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2694 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2695 | .manufacture_id = MX_ID, |
| 2696 | .model_id = MX_25L512, |
| 2697 | .total_size = 64, |
| 2698 | .page_size = 256, |
| 2699 | .tested = TEST_UNTESTED, |
| 2700 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2701 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2702 | .block_erasers = |
| 2703 | { |
| 2704 | { |
| 2705 | .eraseblocks = { {4 * 1024, 16} }, |
| 2706 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2707 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2708 | .eraseblocks = { {64 * 1024, 1} }, |
| 2709 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2710 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2711 | .eraseblocks = { {64 * 1024, 1} }, |
| 2712 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2713 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2714 | .eraseblocks = { {64 * 1024, 1} }, |
| 2715 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2716 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2717 | .eraseblocks = { {64 * 1024, 1} }, |
| 2718 | .block_erase = spi_block_erase_c7, |
| 2719 | }, |
| 2720 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2721 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2722 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2723 | }, |
| 2724 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2725 | { |
| 2726 | .vendor = "Macronix", |
| 2727 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2728 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2729 | .manufacture_id = MX_ID, |
| 2730 | .model_id = MX_25L1005, |
| 2731 | .total_size = 128, |
| 2732 | .page_size = 256, |
| 2733 | .tested = TEST_UNTESTED, |
| 2734 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2735 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2736 | .block_erasers = |
| 2737 | { |
| 2738 | { |
| 2739 | .eraseblocks = { {4 * 1024, 32} }, |
| 2740 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2741 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2742 | .eraseblocks = { {64 * 1024, 2} }, |
| 2743 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2744 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2745 | .eraseblocks = { {128 * 1024, 1} }, |
| 2746 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2747 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2748 | .eraseblocks = { {128 * 1024, 1} }, |
| 2749 | .block_erase = spi_block_erase_c7, |
| 2750 | }, |
| 2751 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2752 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2753 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2754 | }, |
| 2755 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2756 | { |
| 2757 | .vendor = "Macronix", |
| 2758 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2759 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2760 | .manufacture_id = MX_ID, |
| 2761 | .model_id = MX_25L2005, |
| 2762 | .total_size = 256, |
| 2763 | .page_size = 256, |
| 2764 | .tested = TEST_UNTESTED, |
| 2765 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2766 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2767 | .block_erasers = |
| 2768 | { |
| 2769 | { |
| 2770 | .eraseblocks = { {4 * 1024, 64} }, |
| 2771 | .block_erase = spi_block_erase_20, |
| 2772 | }, { |
| 2773 | .eraseblocks = { {64 * 1024, 4} }, |
| 2774 | .block_erase = spi_block_erase_52, |
| 2775 | }, { |
| 2776 | .eraseblocks = { {64 * 1024, 4} }, |
| 2777 | .block_erase = spi_block_erase_d8, |
| 2778 | }, { |
| 2779 | .eraseblocks = { {256 * 1024, 1} }, |
| 2780 | .block_erase = spi_block_erase_60, |
| 2781 | }, { |
| 2782 | .eraseblocks = { {256 * 1024, 1} }, |
| 2783 | .block_erase = spi_block_erase_c7, |
| 2784 | }, |
| 2785 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2786 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2787 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2788 | }, |
| 2789 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2790 | { |
| 2791 | .vendor = "Macronix", |
| 2792 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2793 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2794 | .manufacture_id = MX_ID, |
| 2795 | .model_id = MX_25L4005, |
| 2796 | .total_size = 512, |
| 2797 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2798 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2799 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2800 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2801 | .block_erasers = |
| 2802 | { |
| 2803 | { |
| 2804 | .eraseblocks = { {4 * 1024, 128} }, |
| 2805 | .block_erase = spi_block_erase_20, |
| 2806 | }, { |
| 2807 | .eraseblocks = { {64 * 1024, 8} }, |
| 2808 | .block_erase = spi_block_erase_52, |
| 2809 | }, { |
| 2810 | .eraseblocks = { {64 * 1024, 8} }, |
| 2811 | .block_erase = spi_block_erase_d8, |
| 2812 | }, { |
| 2813 | .eraseblocks = { {512 * 1024, 1} }, |
| 2814 | .block_erase = spi_block_erase_60, |
| 2815 | }, { |
| 2816 | .eraseblocks = { {512 * 1024, 1} }, |
| 2817 | .block_erase = spi_block_erase_c7, |
| 2818 | }, |
| 2819 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2820 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2821 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2822 | }, |
| 2823 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2824 | { |
| 2825 | .vendor = "Macronix", |
| 2826 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2827 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2828 | .manufacture_id = MX_ID, |
| 2829 | .model_id = MX_25L8005, |
| 2830 | .total_size = 1024, |
| 2831 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2832 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2833 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2834 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2835 | .block_erasers = |
| 2836 | { |
| 2837 | { |
| 2838 | .eraseblocks = { {4 * 1024, 256} }, |
| 2839 | .block_erase = spi_block_erase_20, |
| 2840 | }, { |
| 2841 | .eraseblocks = { {64 * 1024, 16} }, |
| 2842 | .block_erase = spi_block_erase_52, |
| 2843 | }, { |
| 2844 | .eraseblocks = { {64 * 1024, 16} }, |
| 2845 | .block_erase = spi_block_erase_d8, |
| 2846 | }, { |
| 2847 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2848 | .block_erase = spi_block_erase_60, |
| 2849 | }, { |
| 2850 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2851 | .block_erase = spi_block_erase_c7, |
| 2852 | }, |
| 2853 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2854 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2855 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2856 | }, |
| 2857 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2858 | { |
| 2859 | .vendor = "Macronix", |
| 2860 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2861 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2862 | .manufacture_id = MX_ID, |
| 2863 | .model_id = MX_25L1605, |
| 2864 | .total_size = 2048, |
| 2865 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2866 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2867 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2868 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2869 | .block_erasers = |
| 2870 | { |
| 2871 | { |
| 2872 | .eraseblocks = { {4 * 1024, 512} }, |
| 2873 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2874 | }, { |
| 2875 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 2876 | .block_erase = spi_block_erase_52, |
| 2877 | }, { |
| 2878 | .eraseblocks = { {64 * 1024, 32} }, |
| 2879 | .block_erase = spi_block_erase_d8, |
| 2880 | }, { |
| 2881 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2882 | .block_erase = spi_block_erase_60, |
| 2883 | }, { |
| 2884 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2885 | .block_erase = spi_block_erase_c7, |
| 2886 | }, |
| 2887 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2888 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2889 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2890 | }, |
| 2891 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2892 | { |
| 2893 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2894 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2895 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2896 | .manufacture_id = MX_ID, |
| 2897 | .model_id = MX_25L1635D, |
| 2898 | .total_size = 2048, |
| 2899 | .page_size = 256, |
| 2900 | .tested = TEST_UNTESTED, |
| 2901 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2902 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2903 | .block_erasers = |
| 2904 | { |
| 2905 | { |
| 2906 | .eraseblocks = { {4 * 1024, 512} }, |
| 2907 | .block_erase = spi_block_erase_20, |
| 2908 | }, { |
| 2909 | .eraseblocks = { {64 * 1024, 32} }, |
| 2910 | .block_erase = spi_block_erase_d8, |
| 2911 | }, { |
| 2912 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2913 | .block_erase = spi_block_erase_60, |
| 2914 | }, { |
| 2915 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2916 | .block_erase = spi_block_erase_c7, |
| 2917 | } |
| 2918 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2919 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2920 | .read = spi_chip_read, |
| 2921 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 2922 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2923 | { |
| 2924 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2925 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2926 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2927 | .manufacture_id = MX_ID, |
| 2928 | .model_id = MX_25L3205, |
| 2929 | .total_size = 4096, |
| 2930 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2931 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2932 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2933 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2934 | .block_erasers = |
| 2935 | { |
| 2936 | { |
| 2937 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2938 | .block_erase = spi_block_erase_20, |
| 2939 | }, { |
| 2940 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2941 | .block_erase = spi_block_erase_d8, |
| 2942 | }, { |
| 2943 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2944 | .block_erase = spi_block_erase_60, |
| 2945 | }, { |
| 2946 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2947 | .block_erase = spi_block_erase_c7, |
| 2948 | }, |
| 2949 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2950 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2951 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2952 | }, |
| 2953 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2954 | { |
| 2955 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2956 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2957 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2958 | .manufacture_id = MX_ID, |
| 2959 | .model_id = MX_25L3235D, |
| 2960 | .total_size = 4096, |
| 2961 | .page_size = 256, |
| 2962 | .tested = TEST_UNTESTED, |
| 2963 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2964 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2965 | .block_erasers = |
| 2966 | { |
| 2967 | { |
| 2968 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2969 | .block_erase = spi_block_erase_20, |
| 2970 | }, { |
| 2971 | .eraseblocks = { {64 * 1024, 64} }, |
| 2972 | .block_erase = spi_block_erase_d8, |
| 2973 | }, { |
| 2974 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2975 | .block_erase = spi_block_erase_60, |
| 2976 | }, { |
| 2977 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2978 | .block_erase = spi_block_erase_c7, |
| 2979 | } |
| 2980 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2981 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2982 | .read = spi_chip_read, |
| 2983 | }, |
| 2984 | |
| 2985 | { |
| 2986 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2987 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2988 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2989 | .manufacture_id = MX_ID, |
| 2990 | .model_id = MX_25L6405, |
| 2991 | .total_size = 8192, |
| 2992 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 2993 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2994 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2995 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2996 | .block_erasers = |
| 2997 | { |
| 2998 | { |
| 2999 | .eraseblocks = { {64 * 1024, 128} }, |
| 3000 | .block_erase = spi_block_erase_20, |
| 3001 | }, { |
| 3002 | .eraseblocks = { {64 * 1024, 128} }, |
| 3003 | .block_erase = spi_block_erase_d8, |
| 3004 | }, { |
| 3005 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3006 | .block_erase = spi_block_erase_60, |
| 3007 | }, { |
| 3008 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3009 | .block_erase = spi_block_erase_c7, |
| 3010 | } |
| 3011 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3012 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3013 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3014 | }, |
| 3015 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3016 | { |
| 3017 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3018 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3019 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3020 | .manufacture_id = MX_ID, |
| 3021 | .model_id = MX_25L12805, |
| 3022 | .total_size = 16384, |
| 3023 | .page_size = 256, |
| 3024 | .tested = TEST_UNTESTED, |
| 3025 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3026 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3027 | .block_erasers = |
| 3028 | { |
| 3029 | { |
| 3030 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3031 | .block_erase = spi_block_erase_20, |
| 3032 | }, { |
| 3033 | .eraseblocks = { {64 * 1024, 256} }, |
| 3034 | .block_erase = spi_block_erase_d8, |
| 3035 | }, { |
| 3036 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3037 | .block_erase = spi_block_erase_60, |
| 3038 | }, { |
| 3039 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3040 | .block_erase = spi_block_erase_c7, |
| 3041 | } |
| 3042 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3043 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3044 | .read = spi_chip_read, |
| 3045 | }, |
| 3046 | |
| 3047 | { |
| 3048 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3049 | .name = "MX29F001B", |
| 3050 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3051 | .manufacture_id = MX_ID, |
| 3052 | .model_id = MX_29F001B, |
| 3053 | .total_size = 128, |
| 3054 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3055 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3056 | .tested = TEST_UNTESTED, |
| 3057 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3058 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3059 | .block_erasers = |
| 3060 | { |
| 3061 | { |
| 3062 | .eraseblocks = { |
| 3063 | {8 * 1024, 1}, |
| 3064 | {4 * 1024, 2}, |
| 3065 | {8 * 1024, 2}, |
| 3066 | {32 * 1024, 1}, |
| 3067 | {64 * 1024, 1}, |
| 3068 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3069 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3070 | }, { |
| 3071 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3072 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3073 | } |
| 3074 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3075 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3076 | .read = read_memmapped, |
| 3077 | }, |
| 3078 | |
| 3079 | { |
| 3080 | .vendor = "Macronix", |
| 3081 | .name = "MX29F001T", |
| 3082 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3083 | .manufacture_id = MX_ID, |
| 3084 | .model_id = MX_29F001T, |
| 3085 | .total_size = 128, |
| 3086 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3087 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3088 | .tested = TEST_UNTESTED, |
| 3089 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3090 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3091 | .block_erasers = |
| 3092 | { |
| 3093 | { |
| 3094 | .eraseblocks = { |
| 3095 | {64 * 1024, 1}, |
| 3096 | {32 * 1024, 1}, |
| 3097 | {8 * 1024, 2}, |
| 3098 | {4 * 1024, 2}, |
| 3099 | {8 * 1024, 1}, |
| 3100 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3101 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3102 | }, { |
| 3103 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3104 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3105 | } |
| 3106 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3107 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3108 | .read = read_memmapped, |
| 3109 | }, |
| 3110 | |
| 3111 | { |
| 3112 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3113 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3114 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3115 | .manufacture_id = MX_ID, |
| 3116 | .model_id = MX_29F002B, |
| 3117 | .total_size = 256, |
| 3118 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3119 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3120 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3121 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3122 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3123 | .block_erasers = |
| 3124 | { |
| 3125 | { |
| 3126 | .eraseblocks = { |
| 3127 | {16 * 1024, 1}, |
| 3128 | {8 * 1024, 2}, |
| 3129 | {32 * 1024, 1}, |
| 3130 | {64 * 1024, 3}, |
| 3131 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3132 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3133 | }, { |
| 3134 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3135 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3136 | }, |
| 3137 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3138 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3139 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3140 | }, |
| 3141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3142 | { |
| 3143 | .vendor = "Macronix", |
| 3144 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3145 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3146 | .manufacture_id = MX_ID, |
| 3147 | .model_id = MX_29F002T, |
| 3148 | .total_size = 256, |
| 3149 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3150 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3151 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3152 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3153 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3154 | .block_erasers = |
| 3155 | { |
| 3156 | { |
| 3157 | .eraseblocks = { |
| 3158 | {64 * 1024, 3}, |
| 3159 | {32 * 1024, 1}, |
| 3160 | {8 * 1024, 2}, |
| 3161 | {16 * 1024, 1}, |
| 3162 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3163 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3164 | }, { |
| 3165 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3166 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3167 | }, |
| 3168 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3171 | }, |
| 3172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3173 | { |
| 3174 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3175 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3177 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3178 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3179 | .total_size = 512, |
| 3180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3182 | .tested = TEST_UNTESTED, |
| 3183 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3185 | .block_erasers = |
| 3186 | { |
| 3187 | { |
| 3188 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3189 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3190 | }, { |
| 3191 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3192 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3193 | }, |
| 3194 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3196 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3197 | }, |
| 3198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3199 | { |
| 3200 | .vendor = "Numonyx", |
| 3201 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3202 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3203 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3204 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3205 | .total_size = 128, |
| 3206 | .page_size = 256, |
| 3207 | .tested = TEST_UNTESTED, |
| 3208 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3209 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3210 | .block_erasers = |
| 3211 | { |
| 3212 | { |
| 3213 | .eraseblocks = { {4 * 1024, 32} }, |
| 3214 | .block_erase = spi_block_erase_20, |
| 3215 | }, { |
| 3216 | .eraseblocks = { {64 * 1024, 2} }, |
| 3217 | .block_erase = spi_block_erase_d8, |
| 3218 | }, { |
| 3219 | .eraseblocks = { {128 * 1024, 1} }, |
| 3220 | .block_erase = spi_block_erase_c7, |
| 3221 | } |
| 3222 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3223 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3224 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3225 | }, |
| 3226 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3227 | { |
| 3228 | .vendor = "Numonyx", |
| 3229 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3230 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3231 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3232 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3233 | .total_size = 256, |
| 3234 | .page_size = 256, |
| 3235 | .tested = TEST_UNTESTED, |
| 3236 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3237 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3238 | .block_erasers = |
| 3239 | { |
| 3240 | { |
| 3241 | .eraseblocks = { {4 * 1024, 64} }, |
| 3242 | .block_erase = spi_block_erase_20, |
| 3243 | }, { |
| 3244 | .eraseblocks = { {64 * 1024, 4} }, |
| 3245 | .block_erase = spi_block_erase_d8, |
| 3246 | }, { |
| 3247 | .eraseblocks = { {256 * 1024, 1} }, |
| 3248 | .block_erase = spi_block_erase_c7, |
| 3249 | } |
| 3250 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3251 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3252 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3253 | }, |
| 3254 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3255 | { |
| 3256 | .vendor = "Numonyx", |
| 3257 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3258 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3259 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3260 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3261 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3262 | .page_size = 256, |
| 3263 | .tested = TEST_UNTESTED, |
| 3264 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3265 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3266 | .block_erasers = |
| 3267 | { |
| 3268 | { |
| 3269 | .eraseblocks = { {4 * 1024, 128} }, |
| 3270 | .block_erase = spi_block_erase_20, |
| 3271 | }, { |
| 3272 | .eraseblocks = { {64 * 1024, 8} }, |
| 3273 | .block_erase = spi_block_erase_d8, |
| 3274 | }, { |
| 3275 | .eraseblocks = { {512 * 1024, 1} }, |
| 3276 | .block_erase = spi_block_erase_c7, |
| 3277 | } |
| 3278 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3279 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3280 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3281 | }, |
| 3282 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3283 | { |
| 3284 | .vendor = "Numonyx", |
| 3285 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3286 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3287 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3288 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3289 | .total_size = 1024, |
| 3290 | .page_size = 256, |
| 3291 | .tested = TEST_OK_PREW, |
| 3292 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3293 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3294 | .block_erasers = |
| 3295 | { |
| 3296 | { |
| 3297 | .eraseblocks = { {4 * 1024, 256} }, |
| 3298 | .block_erase = spi_block_erase_20, |
| 3299 | }, { |
| 3300 | .eraseblocks = { {64 * 1024, 16} }, |
| 3301 | .block_erase = spi_block_erase_d8, |
| 3302 | }, { |
| 3303 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3304 | .block_erase = spi_block_erase_c7, |
| 3305 | } |
| 3306 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3307 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3308 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3309 | }, |
| 3310 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3311 | { |
| 3312 | .vendor = "Numonyx", |
| 3313 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3314 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3315 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3316 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3317 | .total_size = 2048, |
| 3318 | .page_size = 256, |
| 3319 | .tested = TEST_UNTESTED, |
| 3320 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3321 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3322 | .block_erasers = |
| 3323 | { |
| 3324 | { |
| 3325 | .eraseblocks = { {4 * 1024, 512} }, |
| 3326 | .block_erase = spi_block_erase_20, |
| 3327 | }, { |
| 3328 | .eraseblocks = { {64 * 1024, 32} }, |
| 3329 | .block_erase = spi_block_erase_d8, |
| 3330 | }, { |
| 3331 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3332 | .block_erase = spi_block_erase_c7, |
| 3333 | } |
| 3334 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3335 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3336 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3337 | }, |
| 3338 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3339 | { |
| 3340 | .vendor = "PMC", |
| 3341 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3342 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3343 | .manufacture_id = PMC_ID, |
| 3344 | .model_id = PMC_25LV010, |
| 3345 | .total_size = 128, |
| 3346 | .page_size = 256, |
| 3347 | .tested = TEST_UNTESTED, |
| 3348 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3350 | .block_erasers = |
| 3351 | { |
| 3352 | { |
| 3353 | .eraseblocks = { {4 * 1024, 32} }, |
| 3354 | .block_erase = spi_block_erase_d7, |
| 3355 | }, { |
| 3356 | .eraseblocks = { {32 * 1024, 4} }, |
| 3357 | .block_erase = spi_block_erase_d8, |
| 3358 | }, { |
| 3359 | .eraseblocks = { {128 * 1024, 1} }, |
| 3360 | .block_erase = spi_block_erase_c7, |
| 3361 | } |
| 3362 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3363 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3364 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3365 | }, |
| 3366 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3367 | { |
| 3368 | .vendor = "PMC", |
| 3369 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3370 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3371 | .manufacture_id = PMC_ID, |
| 3372 | .model_id = PMC_25LV016B, |
| 3373 | .total_size = 2048, |
| 3374 | .page_size = 256, |
| 3375 | .tested = TEST_UNTESTED, |
| 3376 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3377 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3378 | .block_erasers = |
| 3379 | { |
| 3380 | { |
| 3381 | .eraseblocks = { {4 * 1024, 512} }, |
| 3382 | .block_erase = spi_block_erase_d7, |
| 3383 | }, { |
| 3384 | .eraseblocks = { {4 * 1024, 512} }, |
| 3385 | .block_erase = spi_block_erase_20, |
| 3386 | }, { |
| 3387 | .eraseblocks = { {64 * 1024, 32} }, |
| 3388 | .block_erase = spi_block_erase_d8, |
| 3389 | }, { |
| 3390 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3391 | .block_erase = spi_block_erase_60, |
| 3392 | }, { |
| 3393 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3394 | .block_erase = spi_block_erase_c7, |
| 3395 | } |
| 3396 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3397 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3398 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3399 | }, |
| 3400 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3401 | { |
| 3402 | .vendor = "PMC", |
| 3403 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3404 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3405 | .manufacture_id = PMC_ID, |
| 3406 | .model_id = PMC_25LV020, |
| 3407 | .total_size = 256, |
| 3408 | .page_size = 256, |
| 3409 | .tested = TEST_UNTESTED, |
| 3410 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3411 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3412 | .block_erasers = |
| 3413 | { |
| 3414 | { |
| 3415 | .eraseblocks = { {4 * 1024, 64} }, |
| 3416 | .block_erase = spi_block_erase_d7, |
| 3417 | }, { |
| 3418 | .eraseblocks = { {64 * 1024, 4} }, |
| 3419 | .block_erase = spi_block_erase_d8, |
| 3420 | }, { |
| 3421 | .eraseblocks = { {256 * 1024, 1} }, |
| 3422 | .block_erase = spi_block_erase_c7, |
| 3423 | } |
| 3424 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3425 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3426 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3427 | }, |
| 3428 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3429 | { |
| 3430 | .vendor = "PMC", |
| 3431 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3432 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3433 | .manufacture_id = PMC_ID, |
| 3434 | .model_id = PMC_25LV040, |
| 3435 | .total_size = 512, |
| 3436 | .page_size = 256, |
| 3437 | .tested = TEST_UNTESTED, |
| 3438 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3439 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3440 | .block_erasers = |
| 3441 | { |
| 3442 | { |
| 3443 | .eraseblocks = { {4 * 1024, 128} }, |
| 3444 | .block_erase = spi_block_erase_d7, |
| 3445 | }, { |
| 3446 | .eraseblocks = { {64 * 1024, 8} }, |
| 3447 | .block_erase = spi_block_erase_d8, |
| 3448 | }, { |
| 3449 | .eraseblocks = { {512 * 1024, 1} }, |
| 3450 | .block_erase = spi_block_erase_c7, |
| 3451 | } |
| 3452 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3453 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3454 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3455 | }, |
| 3456 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3457 | { |
| 3458 | .vendor = "PMC", |
| 3459 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3460 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3461 | .manufacture_id = PMC_ID, |
| 3462 | .model_id = PMC_25LV080B, |
| 3463 | .total_size = 1024, |
| 3464 | .page_size = 256, |
| 3465 | .tested = TEST_UNTESTED, |
| 3466 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3467 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3468 | .block_erasers = |
| 3469 | { |
| 3470 | { |
| 3471 | .eraseblocks = { {4 * 1024, 256} }, |
| 3472 | .block_erase = spi_block_erase_d7, |
| 3473 | }, { |
| 3474 | .eraseblocks = { {4 * 1024, 256} }, |
| 3475 | .block_erase = spi_block_erase_20, |
| 3476 | }, { |
| 3477 | .eraseblocks = { {64 * 1024, 16} }, |
| 3478 | .block_erase = spi_block_erase_d8, |
| 3479 | }, { |
| 3480 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3481 | .block_erase = spi_block_erase_60, |
| 3482 | }, { |
| 3483 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3484 | .block_erase = spi_block_erase_c7, |
| 3485 | } |
| 3486 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3487 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3488 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3489 | }, |
| 3490 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3491 | { |
| 3492 | .vendor = "PMC", |
| 3493 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3494 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3495 | .manufacture_id = PMC_ID, |
| 3496 | .model_id = PMC_25LV512, |
| 3497 | .total_size = 64, |
| 3498 | .page_size = 256, |
| 3499 | .tested = TEST_UNTESTED, |
| 3500 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3501 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3502 | .block_erasers = |
| 3503 | { |
| 3504 | { |
| 3505 | .eraseblocks = { {4 * 1024, 16} }, |
| 3506 | .block_erase = spi_block_erase_d7, |
| 3507 | }, { |
| 3508 | .eraseblocks = { {32 * 1024, 2} }, |
| 3509 | .block_erase = spi_block_erase_d8, |
| 3510 | }, { |
| 3511 | .eraseblocks = { {64 * 1024, 1} }, |
| 3512 | .block_erase = spi_block_erase_c7, |
| 3513 | } |
| 3514 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3515 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3516 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3517 | }, |
| 3518 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3519 | { |
| 3520 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3521 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3522 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3523 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3524 | .model_id = PMC_29F002T, |
| 3525 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3526 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3527 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3528 | .tested = TEST_UNTESTED, |
| 3529 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3530 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3531 | .block_erasers = |
| 3532 | { |
| 3533 | { |
| 3534 | .eraseblocks = { |
| 3535 | {128 * 1024, 1}, |
| 3536 | {96 * 1024, 1}, |
| 3537 | {8 * 1024, 2}, |
| 3538 | {16 * 1024, 1}, |
| 3539 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3540 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3541 | }, { |
| 3542 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3543 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3544 | }, |
| 3545 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3546 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3547 | .read = read_memmapped, |
| 3548 | }, |
| 3549 | |
| 3550 | { |
| 3551 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3552 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3553 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3554 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3555 | .model_id = PMC_29F002B, |
| 3556 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3557 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3558 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3559 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3560 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3561 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3562 | .block_erasers = |
| 3563 | { |
| 3564 | { |
| 3565 | .eraseblocks = { |
| 3566 | {16 * 1024, 1}, |
| 3567 | {8 * 1024, 2}, |
| 3568 | {96 * 1024, 1}, |
| 3569 | {128 * 1024, 1}, |
| 3570 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3571 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3572 | }, { |
| 3573 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3574 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3575 | }, |
| 3576 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3577 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3578 | .read = read_memmapped, |
| 3579 | }, |
| 3580 | |
| 3581 | { |
| 3582 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3583 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3584 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3585 | .manufacture_id = PMC_ID_NOPREFIX, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3586 | .model_id = PMC_39F010, /* Pm39LV010 and Pm39F010 have identical IDs but different voltage */ |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3587 | .total_size = 128, |
| 3588 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3589 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 3590 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3591 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3592 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3593 | .block_erasers = |
| 3594 | { |
| 3595 | { |
| 3596 | .eraseblocks = { {4 * 1024, 32} }, |
| 3597 | .block_erase = erase_sector_jedec, |
| 3598 | }, { |
| 3599 | .eraseblocks = { {64 * 1024, 2} }, |
| 3600 | .block_erase = erase_block_jedec, |
| 3601 | }, { |
| 3602 | .eraseblocks = { {128 * 1024, 1} }, |
| 3603 | .block_erase = erase_chip_block_jedec, |
| 3604 | } |
| 3605 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3606 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3607 | .read = read_memmapped, |
| 3608 | }, |
| 3609 | |
| 3610 | { |
| 3611 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3612 | .name = "Pm39LV020", |
| 3613 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3614 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3615 | .model_id = PMC_39LV020, |
| 3616 | .total_size = 256, |
| 3617 | .page_size = 4096, |
| 3618 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3619 | .tested = TEST_UNTESTED, |
| 3620 | .probe = probe_jedec, |
| 3621 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3622 | .block_erasers = |
| 3623 | { |
| 3624 | { |
| 3625 | .eraseblocks = { {4 * 1024, 64} }, |
| 3626 | .block_erase = erase_sector_jedec, |
| 3627 | }, { |
| 3628 | .eraseblocks = { {64 * 1024, 4} }, |
| 3629 | .block_erase = erase_block_jedec, |
| 3630 | }, { |
| 3631 | .eraseblocks = { {256 * 1024, 1} }, |
| 3632 | .block_erase = erase_chip_block_jedec, |
| 3633 | } |
| 3634 | }, |
| 3635 | .write = write_jedec_1, |
| 3636 | .read = read_memmapped, |
| 3637 | }, |
| 3638 | |
| 3639 | { |
| 3640 | .vendor = "PMC", |
| 3641 | .name = "Pm39LV040", |
| 3642 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3643 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3644 | .model_id = PMC_39LV040, |
| 3645 | .total_size = 512, |
| 3646 | .page_size = 4096, |
| 3647 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3648 | .tested = TEST_UNTESTED, |
| 3649 | .probe = probe_jedec, |
| 3650 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3651 | .block_erasers = |
| 3652 | { |
| 3653 | { |
| 3654 | .eraseblocks = { {4 * 1024, 128} }, |
| 3655 | .block_erase = erase_sector_jedec, |
| 3656 | }, { |
| 3657 | .eraseblocks = { {64 * 1024, 8} }, |
| 3658 | .block_erase = erase_block_jedec, |
| 3659 | }, { |
| 3660 | .eraseblocks = { {512 * 1024, 1} }, |
| 3661 | .block_erase = erase_chip_block_jedec, |
| 3662 | } |
| 3663 | }, |
| 3664 | .write = write_jedec_1, |
| 3665 | .read = read_memmapped, |
| 3666 | }, |
| 3667 | |
| 3668 | { |
| 3669 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3670 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3671 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3672 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3673 | .model_id = PMC_49FL002, |
| 3674 | .total_size = 256, |
| 3675 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3676 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 3677 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3678 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3679 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3680 | .block_erasers = |
| 3681 | { |
| 3682 | { |
| 3683 | .eraseblocks = { {4 * 1024, 64} }, |
| 3684 | .block_erase = erase_sector_jedec, |
| 3685 | }, { |
| 3686 | .eraseblocks = { {16 * 1024, 16} }, |
| 3687 | .block_erase = erase_block_jedec, |
| 3688 | }, { |
| 3689 | .eraseblocks = { {256 * 1024, 1} }, |
| 3690 | .block_erase = erase_chip_block_jedec, |
| 3691 | } |
| 3692 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 3693 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 3694 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3695 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3696 | }, |
| 3697 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3698 | { |
| 3699 | .vendor = "PMC", |
| 3700 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3701 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3702 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3703 | .model_id = PMC_49FL004, |
| 3704 | .total_size = 512, |
| 3705 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3706 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 3707 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3708 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3709 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3710 | .block_erasers = |
| 3711 | { |
| 3712 | { |
| 3713 | .eraseblocks = { {4 * 1024, 128} }, |
| 3714 | .block_erase = erase_sector_jedec, |
| 3715 | }, { |
| 3716 | .eraseblocks = { {64 * 1024, 8} }, |
| 3717 | .block_erase = erase_block_jedec, |
| 3718 | }, { |
| 3719 | .eraseblocks = { {512 * 1024, 1} }, |
| 3720 | .block_erase = erase_chip_block_jedec, |
| 3721 | } |
| 3722 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 3723 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 3724 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3725 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3726 | }, |
| 3727 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3728 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3729 | .vendor = "Sanyo", |
| 3730 | .name = "LF25FW203A", |
| 3731 | .bustype = CHIP_BUSTYPE_SPI, |
| 3732 | .manufacture_id = SANYO_ID, |
| 3733 | .model_id = SANYO_LE25FW203A, |
| 3734 | .total_size = 2048, |
| 3735 | .page_size = 256, |
| 3736 | .tested = TEST_UNTESTED, |
| 3737 | .probe = probe_spi_rdid, |
| 3738 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3739 | .block_erasers = |
| 3740 | { |
| 3741 | { |
| 3742 | .eraseblocks = { {64 * 1024, 32} }, |
| 3743 | .block_erase = spi_block_erase_d8, |
| 3744 | }, { |
| 3745 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3746 | .block_erase = spi_block_erase_c7, |
| 3747 | } |
| 3748 | }, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3749 | .write = spi_chip_write_256, |
| 3750 | .read = spi_chip_read, |
| 3751 | }, |
| 3752 | |
| 3753 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3754 | .vendor = "Sharp", |
| 3755 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3756 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3757 | .manufacture_id = SHARP_ID, |
| 3758 | .model_id = SHARP_LHF00L04, |
| 3759 | .total_size = 1024, |
| 3760 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3761 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3762 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3763 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3764 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3765 | .block_erasers = |
| 3766 | { |
| 3767 | { |
| 3768 | .eraseblocks = { |
| 3769 | {64 * 1024, 15}, |
| 3770 | {8 * 1024, 8} |
| 3771 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3772 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3773 | }, { |
| 3774 | .eraseblocks = { |
| 3775 | {1024 * 1024, 1} |
| 3776 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3777 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3778 | }, |
| 3779 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3780 | .unlock = unlock_82802ab, |
| 3781 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3782 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3783 | }, |
| 3784 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3785 | { |
| 3786 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3787 | .name = "S25FL008A", |
| 3788 | .bustype = CHIP_BUSTYPE_SPI, |
| 3789 | .manufacture_id = SPANSION_ID, |
| 3790 | .model_id = SPANSION_S25FL008A, |
| 3791 | .total_size = 1024, |
| 3792 | .page_size = 256, |
| 3793 | .tested = TEST_OK_PREW, |
| 3794 | .probe = probe_spi_rdid, |
| 3795 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3796 | .block_erasers = |
| 3797 | { |
| 3798 | { |
| 3799 | .eraseblocks = { {64 * 1024, 16} }, |
| 3800 | .block_erase = spi_block_erase_d8, |
| 3801 | }, { |
| 3802 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3803 | .block_erase = spi_block_erase_c7, |
| 3804 | } |
| 3805 | }, |
| 3806 | .write = spi_chip_write_256, |
| 3807 | .read = spi_chip_read, |
| 3808 | }, |
| 3809 | |
| 3810 | { |
| 3811 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3812 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3813 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3814 | .manufacture_id = SPANSION_ID, |
| 3815 | .model_id = SPANSION_S25FL016A, |
| 3816 | .total_size = 2048, |
| 3817 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3818 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3819 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3820 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3821 | .block_erasers = |
| 3822 | { |
| 3823 | { |
| 3824 | .eraseblocks = { {64 * 1024, 32} }, |
| 3825 | .block_erase = spi_block_erase_d8, |
| 3826 | }, { |
| 3827 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3828 | .block_erase = spi_block_erase_c7, |
| 3829 | } |
| 3830 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3831 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3832 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3833 | }, |
| 3834 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3835 | { |
| 3836 | .vendor = "SST", |
| 3837 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3838 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3839 | .manufacture_id = SST_ID, |
| 3840 | .model_id = SST_25VF016B, |
| 3841 | .total_size = 2048, |
| 3842 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3843 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3844 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3845 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3846 | .block_erasers = |
| 3847 | { |
| 3848 | { |
| 3849 | .eraseblocks = { {4 * 1024, 512} }, |
| 3850 | .block_erase = spi_block_erase_20, |
| 3851 | }, { |
| 3852 | .eraseblocks = { {32 * 1024, 64} }, |
| 3853 | .block_erase = spi_block_erase_52, |
| 3854 | }, { |
| 3855 | .eraseblocks = { {64 * 1024, 32} }, |
| 3856 | .block_erase = spi_block_erase_d8, |
| 3857 | }, { |
| 3858 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3859 | .block_erase = spi_block_erase_60, |
| 3860 | }, { |
| 3861 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3862 | .block_erase = spi_block_erase_c7, |
| 3863 | }, |
| 3864 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3865 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3866 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3867 | }, |
| 3868 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3869 | { |
| 3870 | .vendor = "SST", |
| 3871 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3872 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3873 | .manufacture_id = SST_ID, |
| 3874 | .model_id = SST_25VF032B, |
| 3875 | .total_size = 4096, |
| 3876 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3877 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3878 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3879 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3880 | .block_erasers = |
| 3881 | { |
| 3882 | { |
| 3883 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3884 | .block_erase = spi_block_erase_20, |
| 3885 | }, { |
| 3886 | .eraseblocks = { {32 * 1024, 128} }, |
| 3887 | .block_erase = spi_block_erase_52, |
| 3888 | }, { |
| 3889 | .eraseblocks = { {64 * 1024, 64} }, |
| 3890 | .block_erase = spi_block_erase_d8, |
| 3891 | }, { |
| 3892 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3893 | .block_erase = spi_block_erase_60, |
| 3894 | }, { |
| 3895 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3896 | .block_erase = spi_block_erase_c7, |
| 3897 | }, |
| 3898 | }, |
| 3899 | .write = spi_chip_write_1, |
| 3900 | .read = spi_chip_read, |
| 3901 | }, |
| 3902 | |
| 3903 | { |
| 3904 | .vendor = "SST", |
| 3905 | .name = "SST25VF040.REMS", |
| 3906 | .bustype = CHIP_BUSTYPE_SPI, |
| 3907 | .manufacture_id = SST_ID, |
| 3908 | .model_id = SST_25VF040_REMS, |
| 3909 | .total_size = 512, |
| 3910 | .page_size = 256, |
| 3911 | .tested = TEST_OK_PR, |
| 3912 | .probe = probe_spi_rems, |
| 3913 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3914 | .block_erasers = |
| 3915 | { |
| 3916 | { |
| 3917 | .eraseblocks = { {4 * 1024, 128} }, |
| 3918 | .block_erase = spi_block_erase_20, |
| 3919 | }, { |
| 3920 | .eraseblocks = { {32 * 1024, 16} }, |
| 3921 | .block_erase = spi_block_erase_52, |
| 3922 | }, { |
| 3923 | .eraseblocks = { {512 * 1024, 1} }, |
| 3924 | .block_erase = spi_block_erase_60, |
| 3925 | }, |
| 3926 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3927 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3928 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3929 | }, |
| 3930 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3931 | { |
| 3932 | .vendor = "SST", |
| 3933 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3934 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3935 | .manufacture_id = SST_ID, |
| 3936 | .model_id = SST_25VF040B, |
| 3937 | .total_size = 512, |
| 3938 | .page_size = 256, |
| 3939 | .tested = TEST_UNTESTED, |
| 3940 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3941 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3942 | .block_erasers = |
| 3943 | { |
| 3944 | { |
| 3945 | .eraseblocks = { {4 * 1024, 128} }, |
| 3946 | .block_erase = spi_block_erase_20, |
| 3947 | }, { |
| 3948 | .eraseblocks = { {32 * 1024, 16} }, |
| 3949 | .block_erase = spi_block_erase_52, |
| 3950 | }, { |
| 3951 | .eraseblocks = { {64 * 1024, 8} }, |
| 3952 | .block_erase = spi_block_erase_d8, |
| 3953 | }, { |
| 3954 | .eraseblocks = { {512 * 1024, 1} }, |
| 3955 | .block_erase = spi_block_erase_60, |
| 3956 | }, { |
| 3957 | .eraseblocks = { {512 * 1024, 1} }, |
| 3958 | .block_erase = spi_block_erase_c7, |
| 3959 | }, |
| 3960 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3961 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 3962 | .read = spi_chip_read, |
| 3963 | }, |
| 3964 | |
| 3965 | { |
| 3966 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 3967 | .name = "SST25LF040A.RES", |
| 3968 | .bustype = CHIP_BUSTYPE_SPI, |
| 3969 | .manufacture_id = SST_ID, |
| 3970 | .model_id = SST_25VF040_REMS, |
| 3971 | .total_size = 512, |
| 3972 | .page_size = 256, |
| 3973 | .tested = TEST_OK_PROBE, |
| 3974 | .probe = probe_spi_res2, |
| 3975 | .probe_timing = TIMING_ZERO, |
| 3976 | .block_erasers = |
| 3977 | { |
| 3978 | { |
| 3979 | .eraseblocks = { {4 * 1024, 128} }, |
| 3980 | .block_erase = spi_block_erase_20, |
| 3981 | }, { |
| 3982 | .eraseblocks = { {32 * 1024, 16} }, |
| 3983 | .block_erase = spi_block_erase_52, |
| 3984 | }, { |
| 3985 | .eraseblocks = { {512 * 1024, 1} }, |
| 3986 | .block_erase = spi_block_erase_60, |
| 3987 | }, |
| 3988 | }, |
| 3989 | .write = spi_chip_write_1, |
| 3990 | .read = spi_chip_read, |
| 3991 | }, |
| 3992 | |
| 3993 | { |
| 3994 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3995 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3996 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3997 | .manufacture_id = SST_ID, |
| 3998 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3999 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4000 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4001 | .tested = TEST_OK_PR, |
| 4002 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4003 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4004 | .block_erasers = |
| 4005 | { |
| 4006 | { |
| 4007 | .eraseblocks = { {4 * 1024, 128} }, |
| 4008 | .block_erase = spi_block_erase_20, |
| 4009 | }, { |
| 4010 | .eraseblocks = { {32 * 1024, 16} }, |
| 4011 | .block_erase = spi_block_erase_52, |
| 4012 | }, { |
| 4013 | .eraseblocks = { {64 * 1024, 8} }, |
| 4014 | .block_erase = spi_block_erase_d8, |
| 4015 | }, { |
| 4016 | .eraseblocks = { {512 * 1024, 1} }, |
| 4017 | .block_erase = spi_block_erase_60, |
| 4018 | }, { |
| 4019 | .eraseblocks = { {512 * 1024, 1} }, |
| 4020 | .block_erase = spi_block_erase_c7, |
| 4021 | }, |
| 4022 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4023 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 4024 | .read = spi_chip_read, |
| 4025 | }, |
| 4026 | |
| 4027 | { |
| 4028 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4029 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4030 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4031 | .manufacture_id = SST_ID, |
| 4032 | .model_id = SST_25VF080B, |
| 4033 | .total_size = 1024, |
| 4034 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4035 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4036 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4037 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4038 | .block_erasers = |
| 4039 | { |
| 4040 | { |
| 4041 | .eraseblocks = { {4 * 1024, 256} }, |
| 4042 | .block_erase = spi_block_erase_20, |
| 4043 | }, { |
| 4044 | .eraseblocks = { {32 * 1024, 32} }, |
| 4045 | .block_erase = spi_block_erase_52, |
| 4046 | }, { |
| 4047 | .eraseblocks = { {64 * 1024, 16} }, |
| 4048 | .block_erase = spi_block_erase_d8, |
| 4049 | }, { |
| 4050 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4051 | .block_erase = spi_block_erase_60, |
| 4052 | }, { |
| 4053 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4054 | .block_erase = spi_block_erase_c7, |
| 4055 | }, |
| 4056 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4057 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4058 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4059 | }, |
| 4060 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4061 | { |
| 4062 | .vendor = "SST", |
| 4063 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4064 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4065 | .manufacture_id = SST_ID, |
| 4066 | .model_id = SST_28SF040, |
| 4067 | .total_size = 512, |
| 4068 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4069 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4070 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4071 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4072 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4073 | .block_erasers = |
| 4074 | { |
| 4075 | { |
| 4076 | .eraseblocks = { {128, 4096} }, |
| 4077 | .block_erase = erase_sector_28sf040, |
| 4078 | }, { |
| 4079 | .eraseblocks = { {512 * 1024, 1} }, |
| 4080 | .block_erase = erase_chip_28sf040, |
| 4081 | } |
| 4082 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4083 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4084 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4085 | }, |
| 4086 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4087 | { |
| 4088 | .vendor = "SST", |
| 4089 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4090 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4091 | .manufacture_id = SST_ID, |
| 4092 | .model_id = SST_29EE010, |
| 4093 | .total_size = 128, |
| 4094 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4095 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4096 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4097 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4098 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4099 | .block_erasers = |
| 4100 | { |
| 4101 | { |
| 4102 | .eraseblocks = { {128 * 1024, 1} }, |
| 4103 | .block_erase = erase_chip_block_jedec, |
| 4104 | } |
| 4105 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4106 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4107 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4108 | }, |
| 4109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4110 | { |
| 4111 | .vendor = "SST", |
| 4112 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4113 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4114 | .manufacture_id = SST_ID, |
| 4115 | .model_id = SST_29LE010, |
| 4116 | .total_size = 128, |
| 4117 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4118 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4119 | .tested = TEST_UNTESTED, |
| 4120 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4121 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4122 | .block_erasers = |
| 4123 | { |
| 4124 | { |
| 4125 | .eraseblocks = { {128 * 1024, 1} }, |
| 4126 | .block_erase = erase_chip_block_jedec, |
| 4127 | } |
| 4128 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4129 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4130 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4131 | }, |
| 4132 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4133 | { |
| 4134 | .vendor = "SST", |
| 4135 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4136 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4137 | .manufacture_id = SST_ID, |
| 4138 | .model_id = SST_29EE020A, |
| 4139 | .total_size = 256, |
| 4140 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4141 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4142 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4143 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4144 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4145 | .block_erasers = |
| 4146 | { |
| 4147 | { |
| 4148 | .eraseblocks = { {256 * 1024, 1} }, |
| 4149 | .block_erase = erase_chip_block_jedec, |
| 4150 | } |
| 4151 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4152 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4153 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4154 | }, |
| 4155 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4156 | { |
| 4157 | .vendor = "SST", |
| 4158 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4159 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4160 | .manufacture_id = SST_ID, |
| 4161 | .model_id = SST_29LE020, |
| 4162 | .total_size = 256, |
| 4163 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4164 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 4165 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4166 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4167 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4168 | .block_erasers = |
| 4169 | { |
| 4170 | { |
| 4171 | .eraseblocks = { {256 * 1024, 1} }, |
| 4172 | .block_erase = erase_chip_block_jedec, |
| 4173 | } |
| 4174 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4175 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4176 | .read = read_memmapped, |
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 = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4181 | .name = "SST39SF512", |
| 4182 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4183 | .manufacture_id = SST_ID, |
| 4184 | .model_id = SST_39SF512, |
| 4185 | .total_size = 64, |
| 4186 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4187 | .feature_bits = FEATURE_EITHER_RESET, |
| 4188 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4189 | .probe = probe_jedec, |
| 4190 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4191 | .block_erasers = |
| 4192 | { |
| 4193 | { |
| 4194 | .eraseblocks = { {4 * 1024, 16} }, |
| 4195 | .block_erase = erase_sector_jedec, |
| 4196 | }, { |
| 4197 | .eraseblocks = { {64 * 1024, 1} }, |
| 4198 | .block_erase = erase_chip_block_jedec, |
| 4199 | } |
| 4200 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4201 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4202 | .read = read_memmapped, |
| 4203 | }, |
| 4204 | |
| 4205 | { |
| 4206 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4207 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4208 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4209 | .manufacture_id = SST_ID, |
| 4210 | .model_id = SST_39SF010, |
| 4211 | .total_size = 128, |
| 4212 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4213 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4214 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4215 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4216 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4217 | .block_erasers = |
| 4218 | { |
| 4219 | { |
| 4220 | .eraseblocks = { {4 * 1024, 32} }, |
| 4221 | .block_erase = erase_sector_jedec, |
| 4222 | }, { |
| 4223 | .eraseblocks = { {128 * 1024, 1} }, |
| 4224 | .block_erase = erase_chip_block_jedec, |
| 4225 | } |
| 4226 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4227 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4228 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4229 | }, |
| 4230 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4231 | { |
| 4232 | .vendor = "SST", |
| 4233 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4234 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4235 | .manufacture_id = SST_ID, |
| 4236 | .model_id = SST_39SF020, |
| 4237 | .total_size = 256, |
| 4238 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4239 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4240 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4241 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4242 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4243 | .block_erasers = |
| 4244 | { |
| 4245 | { |
| 4246 | .eraseblocks = { {4 * 1024, 64} }, |
| 4247 | .block_erase = erase_sector_jedec, |
| 4248 | }, { |
| 4249 | .eraseblocks = { {256 * 1024, 1} }, |
| 4250 | .block_erase = erase_chip_block_jedec, |
| 4251 | } |
| 4252 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4253 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4254 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4255 | }, |
| 4256 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4257 | { |
| 4258 | .vendor = "SST", |
| 4259 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4260 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4261 | .manufacture_id = SST_ID, |
| 4262 | .model_id = SST_39SF040, |
| 4263 | .total_size = 512, |
| 4264 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4265 | .feature_bits = FEATURE_EITHER_RESET, |
| 4266 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4267 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4268 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4269 | .block_erasers = |
| 4270 | { |
| 4271 | { |
| 4272 | .eraseblocks = { {4 * 1024, 128} }, |
| 4273 | .block_erase = erase_sector_jedec, |
| 4274 | }, { |
| 4275 | .eraseblocks = { {512 * 1024, 1} }, |
| 4276 | .block_erase = erase_chip_block_jedec, |
| 4277 | } |
| 4278 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4279 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4280 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4281 | }, |
| 4282 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4283 | { |
| 4284 | .vendor = "SST", |
| 4285 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4286 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4287 | .manufacture_id = SST_ID, |
| 4288 | .model_id = SST_39VF512, |
| 4289 | .total_size = 64, |
| 4290 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4291 | .feature_bits = FEATURE_EITHER_RESET, |
| 4292 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4293 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4294 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4295 | .block_erasers = |
| 4296 | { |
| 4297 | { |
| 4298 | .eraseblocks = { {4 * 1024, 16} }, |
| 4299 | .block_erase = erase_sector_jedec, |
| 4300 | }, { |
| 4301 | .eraseblocks = { {64 * 1024, 1} }, |
| 4302 | .block_erase = erase_chip_block_jedec, |
| 4303 | } |
| 4304 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4305 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4306 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4307 | }, |
| 4308 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4309 | { |
| 4310 | .vendor = "SST", |
| 4311 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4312 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4313 | .manufacture_id = SST_ID, |
| 4314 | .model_id = SST_39VF010, |
| 4315 | .total_size = 128, |
| 4316 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4317 | .feature_bits = FEATURE_EITHER_RESET, |
Guenter Knauf | 2bd007a | 2010-06-24 11:51:12 +0000 | [diff] [blame] | 4318 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4319 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4320 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4321 | .block_erasers = |
| 4322 | { |
| 4323 | { |
| 4324 | .eraseblocks = { {4 * 1024, 32} }, |
| 4325 | .block_erase = erase_sector_jedec, |
| 4326 | }, { |
| 4327 | .eraseblocks = { {128 * 1024, 1} }, |
| 4328 | .block_erase = erase_chip_block_jedec, |
| 4329 | } |
| 4330 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4331 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4332 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4333 | }, |
| 4334 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4335 | { |
| 4336 | .vendor = "SST", |
| 4337 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4338 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4339 | .manufacture_id = SST_ID, |
| 4340 | .model_id = SST_39VF020, |
| 4341 | .total_size = 256, |
| 4342 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4343 | .feature_bits = FEATURE_EITHER_RESET, |
| 4344 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4345 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4346 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4347 | .block_erasers = |
| 4348 | { |
| 4349 | { |
| 4350 | .eraseblocks = { {4 * 1024, 64} }, |
| 4351 | .block_erase = erase_sector_jedec, |
| 4352 | }, { |
| 4353 | .eraseblocks = { {256 * 1024, 1} }, |
| 4354 | .block_erase = erase_chip_block_jedec, |
| 4355 | } |
| 4356 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4357 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4358 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4359 | }, |
| 4360 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4361 | { |
| 4362 | .vendor = "SST", |
| 4363 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4364 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4365 | .manufacture_id = SST_ID, |
| 4366 | .model_id = SST_39VF040, |
| 4367 | .total_size = 512, |
| 4368 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4369 | .feature_bits = FEATURE_EITHER_RESET, |
| 4370 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4371 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4372 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4373 | .block_erasers = |
| 4374 | { |
| 4375 | { |
| 4376 | .eraseblocks = { {4 * 1024, 128} }, |
| 4377 | .block_erase = erase_sector_jedec, |
| 4378 | }, { |
| 4379 | .eraseblocks = { {512 * 1024, 1} }, |
| 4380 | .block_erase = erase_chip_block_jedec, |
| 4381 | } |
| 4382 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4383 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4384 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4385 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4386 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4387 | { |
| 4388 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4389 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4390 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4391 | .manufacture_id = SST_ID, |
| 4392 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4393 | .total_size = 1024, |
| 4394 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4395 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4396 | .tested = TEST_UNTESTED, |
| 4397 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4398 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4399 | .block_erasers = |
| 4400 | { |
| 4401 | { |
| 4402 | .eraseblocks = { {4 * 1024, 256} }, |
| 4403 | .block_erase = erase_sector_jedec, |
| 4404 | }, { |
| 4405 | .eraseblocks = { {64 * 1024, 16} }, |
| 4406 | .block_erase = erase_block_jedec, |
| 4407 | }, { |
| 4408 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4409 | .block_erase = erase_chip_block_jedec, |
| 4410 | } |
| 4411 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4412 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4413 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4414 | }, |
| 4415 | |
| 4416 | { |
| 4417 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4418 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4419 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4420 | .manufacture_id = SST_ID, |
| 4421 | .model_id = SST_49LF002A, |
| 4422 | .total_size = 256, |
| 4423 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4424 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4425 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4426 | .probe = probe_jedec, |
| 4427 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4428 | .block_erasers = |
| 4429 | { |
| 4430 | { |
| 4431 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4432 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4433 | }, { |
| 4434 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4435 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4436 | }, { |
| 4437 | .eraseblocks = { {256 * 1024, 1} }, |
| 4438 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4439 | } |
| 4440 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4441 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4442 | .unlock = unlock_sst_fwhub, |
| 4443 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4444 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4445 | }, |
| 4446 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4447 | { |
| 4448 | .vendor = "SST", |
| 4449 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4450 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4451 | .manufacture_id = SST_ID, |
| 4452 | .model_id = SST_49LF003A, |
| 4453 | .total_size = 384, |
| 4454 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4455 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4456 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4457 | .probe = probe_jedec, |
| 4458 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4459 | .block_erasers = |
| 4460 | { |
| 4461 | { |
| 4462 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4463 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4464 | }, { |
| 4465 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4466 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4467 | }, { |
| 4468 | .eraseblocks = { {384 * 1024, 1} }, |
| 4469 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4470 | } |
| 4471 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4472 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4473 | .unlock = unlock_sst_fwhub, |
| 4474 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4475 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4476 | }, |
| 4477 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4478 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4479 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4480 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4481 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4482 | .vendor = "SST", |
| 4483 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4484 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4485 | .manufacture_id = SST_ID, |
| 4486 | .model_id = SST_49LF004A, |
| 4487 | .total_size = 512, |
| 4488 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4489 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4490 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4491 | .probe = probe_jedec, |
| 4492 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4493 | .block_erasers = |
| 4494 | { |
| 4495 | { |
| 4496 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4497 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4498 | }, { |
| 4499 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4500 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4501 | }, { |
| 4502 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4503 | .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] | 4504 | }, |
| 4505 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4506 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4507 | .unlock = unlock_sst_fwhub, |
| 4508 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4509 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4510 | }, |
| 4511 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4512 | { |
| 4513 | .vendor = "SST", |
| 4514 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4515 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4516 | .manufacture_id = SST_ID, |
| 4517 | .model_id = SST_49LF004C, |
| 4518 | .total_size = 512, |
| 4519 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4520 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4521 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4522 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4523 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4524 | .block_erasers = |
| 4525 | { |
| 4526 | { |
| 4527 | .eraseblocks = { {4 * 1024, 128} }, |
| 4528 | .block_erase = erase_sector_49lfxxxc, |
| 4529 | }, { |
| 4530 | .eraseblocks = { |
| 4531 | {64 * 1024, 7}, |
| 4532 | {32 * 1024, 1}, |
| 4533 | {8 * 1024, 2}, |
| 4534 | {16 * 1024, 1}, |
| 4535 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4536 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4537 | } |
| 4538 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4539 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4540 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4541 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4542 | }, |
| 4543 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4544 | { |
| 4545 | .vendor = "SST", |
| 4546 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4547 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4548 | .manufacture_id = SST_ID, |
| 4549 | .model_id = SST_49LF008A, |
| 4550 | .total_size = 1024, |
| 4551 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4552 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4553 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4554 | .probe = probe_jedec, |
| 4555 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4556 | .block_erasers = |
| 4557 | { |
| 4558 | { |
| 4559 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4560 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4561 | }, { |
| 4562 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4563 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4564 | }, { |
| 4565 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4566 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4567 | } |
| 4568 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4569 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4570 | .unlock = unlock_sst_fwhub, |
| 4571 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4572 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4573 | }, |
| 4574 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4575 | { |
| 4576 | .vendor = "SST", |
| 4577 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4578 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4579 | .manufacture_id = SST_ID, |
| 4580 | .model_id = SST_49LF008C, |
| 4581 | .total_size = 1024, |
| 4582 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4583 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4584 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4585 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4586 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4587 | .block_erasers = |
| 4588 | { |
| 4589 | { |
| 4590 | .eraseblocks = { {4 * 1024, 256} }, |
| 4591 | .block_erase = erase_sector_49lfxxxc, |
| 4592 | }, { |
| 4593 | .eraseblocks = { |
| 4594 | {64 * 1024, 15}, |
| 4595 | {32 * 1024, 1}, |
| 4596 | {8 * 1024, 2}, |
| 4597 | {16 * 1024, 1}, |
| 4598 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4599 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4600 | } |
| 4601 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4602 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4603 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4604 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4605 | }, |
| 4606 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4607 | { |
| 4608 | .vendor = "SST", |
| 4609 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4610 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4611 | .manufacture_id = SST_ID, |
| 4612 | .model_id = SST_49LF016C, |
| 4613 | .total_size = 2048, |
| 4614 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4615 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4616 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4617 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4618 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4619 | .block_erasers = |
| 4620 | { |
| 4621 | { |
| 4622 | .eraseblocks = { {4 * 1024, 512} }, |
| 4623 | .block_erase = erase_sector_49lfxxxc, |
| 4624 | }, { |
| 4625 | .eraseblocks = { |
| 4626 | {64 * 1024, 31}, |
| 4627 | {32 * 1024, 1}, |
| 4628 | {8 * 1024, 2}, |
| 4629 | {16 * 1024, 1}, |
| 4630 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4631 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4632 | } |
| 4633 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4634 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4635 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4636 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4637 | }, |
| 4638 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4639 | { |
| 4640 | .vendor = "SST", |
| 4641 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4642 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4643 | .manufacture_id = SST_ID, |
| 4644 | .model_id = SST_49LF020, |
| 4645 | .total_size = 256, |
| 4646 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4647 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4648 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4649 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4650 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4651 | .block_erasers = |
| 4652 | { |
| 4653 | { |
| 4654 | .eraseblocks = { {4 * 1024, 64} }, |
| 4655 | .block_erase = erase_sector_jedec, |
| 4656 | }, { |
| 4657 | .eraseblocks = { {16 * 1024, 16} }, |
| 4658 | .block_erase = erase_block_jedec, |
| 4659 | }, { |
| 4660 | .eraseblocks = { {256 * 1024, 1} }, |
| 4661 | .block_erase = NULL, |
| 4662 | } |
| 4663 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4664 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4665 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 4666 | }, |
| 4667 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4668 | { |
| 4669 | .vendor = "SST", |
| 4670 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4671 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4672 | .manufacture_id = SST_ID, |
| 4673 | .model_id = SST_49LF020A, |
| 4674 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 4675 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4676 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4677 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4678 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4679 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4680 | .block_erasers = |
| 4681 | { |
| 4682 | { |
| 4683 | .eraseblocks = { {4 * 1024, 64} }, |
| 4684 | .block_erase = erase_sector_jedec, |
| 4685 | }, { |
| 4686 | .eraseblocks = { {16 * 1024, 16} }, |
| 4687 | .block_erase = erase_block_jedec, |
| 4688 | }, { |
| 4689 | .eraseblocks = { {256 * 1024, 1} }, |
| 4690 | .block_erase = NULL, |
| 4691 | } |
| 4692 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4693 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4694 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4695 | }, |
| 4696 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4697 | { |
| 4698 | .vendor = "SST", |
| 4699 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4700 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4701 | .manufacture_id = SST_ID, |
| 4702 | .model_id = SST_49LF040, |
| 4703 | .total_size = 512, |
| 4704 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4705 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4706 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4707 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4708 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4709 | .block_erasers = |
| 4710 | { |
| 4711 | { |
| 4712 | .eraseblocks = { {4 * 1024, 128} }, |
| 4713 | .block_erase = erase_sector_jedec, |
| 4714 | }, { |
| 4715 | .eraseblocks = { {64 * 1024, 8} }, |
| 4716 | .block_erase = erase_block_jedec, |
| 4717 | }, { |
| 4718 | .eraseblocks = { {512 * 1024, 1} }, |
| 4719 | .block_erase = NULL, |
| 4720 | } |
| 4721 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4722 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4723 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4724 | }, |
| 4725 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4726 | { |
| 4727 | .vendor = "SST", |
| 4728 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4729 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4730 | .manufacture_id = SST_ID, |
| 4731 | .model_id = SST_49LF040B, |
| 4732 | .total_size = 512, |
| 4733 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4734 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4735 | .tested = TEST_OK_PR, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4736 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4737 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4738 | .block_erasers = |
| 4739 | { |
| 4740 | { |
| 4741 | .eraseblocks = { {4 * 1024, 128} }, |
| 4742 | .block_erase = erase_sector_jedec, |
| 4743 | }, { |
| 4744 | .eraseblocks = { {64 * 1024, 8} }, |
| 4745 | .block_erase = erase_block_jedec, |
| 4746 | }, { |
| 4747 | .eraseblocks = { {512 * 1024, 1} }, |
| 4748 | .block_erase = NULL, |
| 4749 | } |
| 4750 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4751 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4752 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4753 | }, |
| 4754 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4755 | { |
| 4756 | .vendor = "SST", |
| 4757 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4758 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4759 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4760 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4761 | .total_size = 1024, |
| 4762 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4763 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4764 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4765 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4766 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4767 | .block_erasers = |
| 4768 | { |
| 4769 | { |
| 4770 | .eraseblocks = { {4 * 1024, 256} }, |
| 4771 | .block_erase = erase_sector_jedec, |
| 4772 | }, { |
| 4773 | .eraseblocks = { {64 * 1024, 16} }, |
| 4774 | .block_erase = erase_block_jedec, |
| 4775 | }, { |
| 4776 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4777 | .block_erase = NULL, |
| 4778 | } |
| 4779 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4780 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4781 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4782 | }, |
| 4783 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4784 | { |
| 4785 | .vendor = "SST", |
| 4786 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4787 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4788 | .manufacture_id = SST_ID, |
| 4789 | .model_id = SST_49LF160C, |
| 4790 | .total_size = 2048, |
| 4791 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4792 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4793 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4794 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4795 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4796 | .block_erasers = |
| 4797 | { |
| 4798 | { |
| 4799 | .eraseblocks = { {4 * 1024, 512} }, |
| 4800 | .block_erase = erase_sector_49lfxxxc, |
| 4801 | }, { |
| 4802 | .eraseblocks = { |
| 4803 | {64 * 1024, 31}, |
| 4804 | {32 * 1024, 1}, |
| 4805 | {8 * 1024, 2}, |
| 4806 | {16 * 1024, 1}, |
| 4807 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4808 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4809 | } |
| 4810 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4811 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4812 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4813 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4814 | }, |
| 4815 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4816 | { |
| 4817 | .vendor = "ST", |
| 4818 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4819 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4820 | .manufacture_id = ST_ID, |
| 4821 | .model_id = ST_M25P05A, |
| 4822 | .total_size = 64, |
| 4823 | .page_size = 256, |
| 4824 | .tested = TEST_UNTESTED, |
| 4825 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4826 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4827 | .block_erasers = |
| 4828 | { |
| 4829 | { |
| 4830 | .eraseblocks = { {32 * 1024, 2} }, |
| 4831 | .block_erase = spi_block_erase_d8, |
| 4832 | }, { |
| 4833 | .eraseblocks = { {64 * 1024, 1} }, |
| 4834 | .block_erase = spi_block_erase_c7, |
| 4835 | } |
| 4836 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4837 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4838 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4839 | }, |
| 4840 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4841 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 4842 | * 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] | 4843 | * 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] | 4844 | * only is successful if RDID does not work. |
| 4845 | */ |
| 4846 | { |
| 4847 | .vendor = "ST", |
| 4848 | .name = "M25P05.RES", |
| 4849 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4850 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4851 | .model_id = ST_M25P05_RES, |
| 4852 | .total_size = 64, |
| 4853 | .page_size = 256, |
| 4854 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4855 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4856 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4857 | .block_erasers = |
| 4858 | { |
| 4859 | { |
| 4860 | .eraseblocks = { {32 * 1024, 2} }, |
| 4861 | .block_erase = spi_block_erase_d8, |
| 4862 | }, { |
| 4863 | .eraseblocks = { {64 * 1024, 1} }, |
| 4864 | .block_erase = spi_block_erase_c7, |
| 4865 | } |
| 4866 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4867 | .write = spi_chip_write_1, /* 128 */ |
| 4868 | .read = spi_chip_read, |
| 4869 | }, |
| 4870 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4871 | { |
| 4872 | .vendor = "ST", |
| 4873 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4874 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4875 | .manufacture_id = ST_ID, |
| 4876 | .model_id = ST_M25P10A, |
| 4877 | .total_size = 128, |
| 4878 | .page_size = 256, |
| 4879 | .tested = TEST_UNTESTED, |
| 4880 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4881 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4882 | .block_erasers = |
| 4883 | { |
| 4884 | { |
| 4885 | .eraseblocks = { {32 * 1024, 4} }, |
| 4886 | .block_erase = spi_block_erase_d8, |
| 4887 | }, { |
| 4888 | .eraseblocks = { {128 * 1024, 1} }, |
| 4889 | .block_erase = spi_block_erase_c7, |
| 4890 | } |
| 4891 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4892 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4893 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4894 | }, |
| 4895 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4896 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 4897 | { |
| 4898 | .vendor = "ST", |
| 4899 | .name = "M25P10.RES", |
| 4900 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4901 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4902 | .model_id = ST_M25P10_RES, |
| 4903 | .total_size = 128, |
| 4904 | .page_size = 256, |
| 4905 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4906 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4907 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4908 | .block_erasers = |
| 4909 | { |
| 4910 | { |
| 4911 | .eraseblocks = { {32 * 1024, 4} }, |
| 4912 | .block_erase = spi_block_erase_d8, |
| 4913 | }, { |
| 4914 | .eraseblocks = { {128 * 1024, 1} }, |
| 4915 | .block_erase = spi_block_erase_c7, |
| 4916 | } |
| 4917 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4918 | .write = spi_chip_write_1, /* 128 */ |
| 4919 | .read = spi_chip_read, |
| 4920 | }, |
| 4921 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4922 | { |
| 4923 | .vendor = "ST", |
| 4924 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4925 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4926 | .manufacture_id = ST_ID, |
| 4927 | .model_id = ST_M25P20, |
| 4928 | .total_size = 256, |
| 4929 | .page_size = 256, |
| 4930 | .tested = TEST_UNTESTED, |
| 4931 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4932 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4933 | .block_erasers = |
| 4934 | { |
| 4935 | { |
| 4936 | .eraseblocks = { {64 * 1024, 4} }, |
| 4937 | .block_erase = spi_block_erase_d8, |
| 4938 | }, { |
| 4939 | .eraseblocks = { {256 * 1024, 1} }, |
| 4940 | .block_erase = spi_block_erase_c7, |
| 4941 | } |
| 4942 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4943 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4944 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4945 | }, |
| 4946 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4947 | { |
| 4948 | .vendor = "ST", |
| 4949 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4950 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4951 | .manufacture_id = ST_ID, |
| 4952 | .model_id = ST_M25P40, |
| 4953 | .total_size = 512, |
| 4954 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4955 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4956 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4957 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4958 | .block_erasers = |
| 4959 | { |
| 4960 | { |
| 4961 | .eraseblocks = { {64 * 1024, 8} }, |
| 4962 | .block_erase = spi_block_erase_d8, |
| 4963 | }, { |
| 4964 | .eraseblocks = { {512 * 1024, 1} }, |
| 4965 | .block_erase = spi_block_erase_c7, |
| 4966 | } |
| 4967 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4968 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4969 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4970 | }, |
| 4971 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4972 | { |
| 4973 | .vendor = "ST", |
| 4974 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4975 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4976 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4977 | .model_id = ST_M25P40_RES, |
| 4978 | .total_size = 512, |
| 4979 | .page_size = 256, |
| 4980 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4981 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4982 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4983 | .block_erasers = |
| 4984 | { |
| 4985 | { |
| 4986 | .eraseblocks = { {64 * 1024, 8} }, |
| 4987 | .block_erase = spi_block_erase_d8, |
| 4988 | }, { |
| 4989 | .eraseblocks = { {512 * 1024, 1} }, |
| 4990 | .block_erase = spi_block_erase_c7, |
| 4991 | } |
| 4992 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4993 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4994 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4995 | }, |
| 4996 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4997 | { |
| 4998 | .vendor = "ST", |
| 4999 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5000 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5001 | .manufacture_id = ST_ID, |
| 5002 | .model_id = ST_M25P80, |
| 5003 | .total_size = 1024, |
| 5004 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5005 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5006 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5007 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5008 | .block_erasers = |
| 5009 | { |
| 5010 | { |
| 5011 | .eraseblocks = { {64 * 1024, 16} }, |
| 5012 | .block_erase = spi_block_erase_d8, |
| 5013 | }, { |
| 5014 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5015 | .block_erase = spi_block_erase_c7, |
| 5016 | } |
| 5017 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5018 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5019 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5020 | }, |
| 5021 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5022 | { |
| 5023 | .vendor = "ST", |
| 5024 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5025 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5026 | .manufacture_id = ST_ID, |
| 5027 | .model_id = ST_M25P16, |
| 5028 | .total_size = 2048, |
| 5029 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5030 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5031 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5032 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5033 | .block_erasers = |
| 5034 | { |
| 5035 | { |
| 5036 | .eraseblocks = { {64 * 1024, 32} }, |
| 5037 | .block_erase = spi_block_erase_d8, |
| 5038 | }, { |
| 5039 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5040 | .block_erase = spi_block_erase_c7, |
| 5041 | } |
| 5042 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5043 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5044 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5045 | }, |
| 5046 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5047 | { |
| 5048 | .vendor = "ST", |
| 5049 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5050 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5051 | .manufacture_id = ST_ID, |
| 5052 | .model_id = ST_M25P32, |
| 5053 | .total_size = 4096, |
| 5054 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5055 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5056 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5057 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5058 | .block_erasers = |
| 5059 | { |
| 5060 | { |
| 5061 | .eraseblocks = { {64 * 1024, 64} }, |
| 5062 | .block_erase = spi_block_erase_d8, |
| 5063 | }, { |
| 5064 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5065 | .block_erase = spi_block_erase_c7, |
| 5066 | } |
| 5067 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5068 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5069 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5070 | }, |
| 5071 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5072 | { |
| 5073 | .vendor = "ST", |
| 5074 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5075 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5076 | .manufacture_id = ST_ID, |
| 5077 | .model_id = ST_M25P64, |
| 5078 | .total_size = 8192, |
| 5079 | .page_size = 256, |
| 5080 | .tested = TEST_UNTESTED, |
| 5081 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5082 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5083 | .block_erasers = |
| 5084 | { |
| 5085 | { |
| 5086 | .eraseblocks = { {64 * 1024, 128} }, |
| 5087 | .block_erase = spi_block_erase_d8, |
| 5088 | }, { |
| 5089 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5090 | .block_erase = spi_block_erase_c7, |
| 5091 | } |
| 5092 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5093 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5094 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5095 | }, |
| 5096 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5097 | { |
| 5098 | .vendor = "ST", |
| 5099 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5100 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5101 | .manufacture_id = ST_ID, |
| 5102 | .model_id = ST_M25P128, |
| 5103 | .total_size = 16384, |
| 5104 | .page_size = 256, |
| 5105 | .tested = TEST_UNTESTED, |
| 5106 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5107 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5108 | .block_erasers = |
| 5109 | { |
| 5110 | { |
| 5111 | .eraseblocks = { {256 * 1024, 64} }, |
| 5112 | .block_erase = spi_block_erase_d8, |
| 5113 | }, { |
| 5114 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5115 | .block_erase = spi_block_erase_c7, |
| 5116 | } |
| 5117 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5118 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5119 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5120 | }, |
| 5121 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5122 | { |
| 5123 | .vendor = "ST", |
| 5124 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5125 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5126 | .manufacture_id = ST_ID, |
| 5127 | .model_id = ST_M29F002B, |
| 5128 | .total_size = 256, |
| 5129 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5130 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5131 | .tested = TEST_UNTESTED, |
| 5132 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5133 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5134 | .block_erasers = |
| 5135 | { |
| 5136 | { |
| 5137 | .eraseblocks = { |
| 5138 | {16 * 1024, 1}, |
| 5139 | {8 * 1024, 2}, |
| 5140 | {32 * 1024, 1}, |
| 5141 | {64 * 1024, 3}, |
| 5142 | }, |
| 5143 | .block_erase = erase_sector_jedec, |
| 5144 | }, { |
| 5145 | .eraseblocks = { {256 * 1024, 1} }, |
| 5146 | .block_erase = erase_chip_block_jedec, |
| 5147 | } |
| 5148 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5149 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5150 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5151 | }, |
| 5152 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5153 | { |
| 5154 | .vendor = "ST", |
| 5155 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5156 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5157 | .manufacture_id = ST_ID, |
| 5158 | .model_id = ST_M29F002T, |
| 5159 | .total_size = 256, |
| 5160 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5161 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 5162 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5163 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5164 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5165 | .block_erasers = |
| 5166 | { |
| 5167 | { |
| 5168 | .eraseblocks = { |
| 5169 | {64 * 1024, 3}, |
| 5170 | {32 * 1024, 1}, |
| 5171 | {8 * 1024, 2}, |
| 5172 | {16 * 1024, 1}, |
| 5173 | }, |
| 5174 | .block_erase = erase_sector_jedec, |
| 5175 | }, { |
| 5176 | .eraseblocks = { {256 * 1024, 1} }, |
| 5177 | .block_erase = erase_chip_block_jedec, |
| 5178 | } |
| 5179 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5180 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5181 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5182 | }, |
| 5183 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5184 | { |
| 5185 | .vendor = "ST", |
| 5186 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5187 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5188 | .manufacture_id = ST_ID, |
| 5189 | .model_id = ST_M29F040B, |
| 5190 | .total_size = 512, |
| 5191 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5192 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5193 | .tested = TEST_UNTESTED, |
| 5194 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5195 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5196 | .block_erasers = |
| 5197 | { |
| 5198 | { |
| 5199 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5200 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5201 | }, { |
| 5202 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5203 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5204 | } |
| 5205 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5206 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5207 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5208 | }, |
| 5209 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5210 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5211 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5212 | .vendor = "ST", |
| 5213 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5214 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5215 | .manufacture_id = ST_ID, |
| 5216 | .model_id = ST_M29F400BT, |
| 5217 | .total_size = 512, |
| 5218 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5219 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5220 | .tested = TEST_UNTESTED, |
| 5221 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5222 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5223 | .block_erasers = |
| 5224 | { |
| 5225 | { |
| 5226 | .eraseblocks = { |
| 5227 | {64 * 1024, 7}, |
| 5228 | {32 * 1024, 1}, |
| 5229 | {8 * 1024, 2}, |
| 5230 | {16 * 1024, 1}, |
| 5231 | }, |
| 5232 | .block_erase = block_erase_m29f400bt, |
| 5233 | }, { |
| 5234 | .eraseblocks = { {512 * 1024, 1} }, |
| 5235 | .block_erase = block_erase_chip_m29f400bt, |
| 5236 | } |
| 5237 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5238 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5239 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5240 | }, |
| 5241 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5242 | { |
| 5243 | .vendor = "ST", |
| 5244 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5245 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5246 | .manufacture_id = ST_ID, |
| 5247 | .model_id = ST_M29W010B, |
| 5248 | .total_size = 128, |
| 5249 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5250 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5251 | .tested = TEST_UNTESTED, |
| 5252 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5253 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5254 | .block_erasers = |
| 5255 | { |
| 5256 | { |
| 5257 | .eraseblocks = { {16 * 1024, 8}, }, |
| 5258 | .block_erase = erase_sector_jedec, |
| 5259 | }, { |
| 5260 | .eraseblocks = { {128 * 1024, 1} }, |
| 5261 | .block_erase = erase_chip_block_jedec, |
| 5262 | } |
| 5263 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5264 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5265 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5266 | }, |
| 5267 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5268 | { |
| 5269 | .vendor = "ST", |
| 5270 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5271 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5272 | .manufacture_id = ST_ID, |
| 5273 | .model_id = ST_M29W040B, |
| 5274 | .total_size = 512, |
| 5275 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5276 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5277 | .tested = TEST_UNTESTED, |
| 5278 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5279 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5280 | .block_erasers = |
| 5281 | { |
| 5282 | { |
| 5283 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5284 | .block_erase = erase_sector_jedec, |
| 5285 | }, { |
| 5286 | .eraseblocks = { {512 * 1024, 1} }, |
| 5287 | .block_erase = erase_chip_block_jedec, |
| 5288 | } |
| 5289 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5290 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5291 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5292 | }, |
| 5293 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5294 | { |
| 5295 | .vendor = "ST", |
| 5296 | .name = "M29W512B", |
| 5297 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5298 | .manufacture_id = ST_ID, |
| 5299 | .model_id = ST_M29W512B, |
| 5300 | .total_size = 64, |
| 5301 | .page_size = 64 * 1024, |
| 5302 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5303 | .tested = TEST_OK_PREW, |
| 5304 | .probe = probe_jedec, |
| 5305 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5306 | .block_erasers = |
| 5307 | { |
| 5308 | { |
| 5309 | .eraseblocks = { {64 * 1024, 1} }, |
| 5310 | .block_erase = erase_chip_block_jedec, |
| 5311 | } |
| 5312 | }, |
| 5313 | .write = write_jedec_1, |
| 5314 | .read = read_memmapped, |
| 5315 | }, |
| 5316 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5317 | { |
| 5318 | .vendor = "ST", |
| 5319 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5320 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5321 | .manufacture_id = ST_ID, |
| 5322 | .model_id = ST_M50FLW040A, |
| 5323 | .total_size = 512, |
| 5324 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5325 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5326 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5327 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5328 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5329 | .block_erasers = |
| 5330 | { |
| 5331 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5332 | .eraseblocks = { |
| 5333 | {4 * 1024, 16}, /* sector */ |
| 5334 | {64 * 1024, 5}, /* block */ |
| 5335 | {4 * 1024, 16}, /* sector */ |
| 5336 | {4 * 1024, 16}, /* sector */ |
| 5337 | }, |
| 5338 | .block_erase = NULL, |
| 5339 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5340 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5341 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5342 | }, { |
| 5343 | .eraseblocks = { {512 * 1024, 1} }, |
| 5344 | .block_erase = erase_chip_stm50flw0x0x, |
| 5345 | } |
| 5346 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5347 | .unlock = unlock_stm50flw0x0x, |
| 5348 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5349 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5350 | }, |
| 5351 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5352 | { |
| 5353 | .vendor = "ST", |
| 5354 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5355 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5356 | .manufacture_id = ST_ID, |
| 5357 | .model_id = ST_M50FLW040B, |
| 5358 | .total_size = 512, |
| 5359 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5360 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5361 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5362 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5363 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5364 | .block_erasers = |
| 5365 | { |
| 5366 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5367 | .eraseblocks = { |
| 5368 | {4 * 1024, 16}, /* sector */ |
| 5369 | {4 * 1024, 16}, /* sector */ |
| 5370 | {64 * 1024, 5}, /* block */ |
| 5371 | {4 * 1024, 16}, /* sector */ |
| 5372 | }, |
| 5373 | .block_erase = NULL, |
| 5374 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5375 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5376 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5377 | }, { |
| 5378 | .eraseblocks = { {512 * 1024, 1} }, |
| 5379 | .block_erase = erase_chip_stm50flw0x0x, |
| 5380 | } |
| 5381 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5382 | .unlock = unlock_stm50flw0x0x, |
| 5383 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5384 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5385 | }, |
| 5386 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5387 | { |
| 5388 | .vendor = "ST", |
| 5389 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5390 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5391 | .manufacture_id = ST_ID, |
| 5392 | .model_id = ST_M50FLW080A, |
| 5393 | .total_size = 1024, |
| 5394 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5395 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5396 | .tested = TEST_UNTESTED, |
| 5397 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5398 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5399 | .block_erasers = |
| 5400 | { |
| 5401 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5402 | .eraseblocks = { |
| 5403 | {4 * 1024, 16}, /* sector */ |
| 5404 | {64 * 1024, 13}, /* block */ |
| 5405 | {4 * 1024, 16}, /* sector */ |
| 5406 | {4 * 1024, 16}, /* sector */ |
| 5407 | }, |
| 5408 | .block_erase = NULL, |
| 5409 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5410 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5411 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5412 | }, { |
| 5413 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5414 | .block_erase = erase_chip_stm50flw0x0x, |
| 5415 | } |
| 5416 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5417 | .unlock = unlock_stm50flw0x0x, |
| 5418 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5419 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5420 | }, |
| 5421 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5422 | { |
| 5423 | .vendor = "ST", |
| 5424 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5425 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5426 | .manufacture_id = ST_ID, |
| 5427 | .model_id = ST_M50FLW080B, |
| 5428 | .total_size = 1024, |
| 5429 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5430 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5431 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5432 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5433 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5434 | .block_erasers = |
| 5435 | { |
| 5436 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5437 | .eraseblocks = { |
| 5438 | {4 * 1024, 16}, /* sector */ |
| 5439 | {4 * 1024, 16}, /* sector */ |
| 5440 | {64 * 1024, 13}, /* block */ |
| 5441 | {4 * 1024, 16}, /* sector */ |
| 5442 | }, |
| 5443 | .block_erase = NULL, |
| 5444 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5445 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5446 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5447 | }, { |
| 5448 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5449 | .block_erase = erase_chip_stm50flw0x0x, |
| 5450 | } |
| 5451 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5452 | .unlock = unlock_stm50flw0x0x, |
| 5453 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5454 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5455 | }, |
| 5456 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5457 | { |
| 5458 | .vendor = "ST", |
| 5459 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5460 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5461 | .manufacture_id = ST_ID, |
| 5462 | .model_id = ST_M50FW002, |
| 5463 | .total_size = 256, |
| 5464 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5465 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5466 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5467 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5468 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5469 | .block_erasers = |
| 5470 | { |
| 5471 | { |
| 5472 | .eraseblocks = { |
| 5473 | {64 * 1024, 3}, |
| 5474 | {32 * 1024, 1}, |
| 5475 | {8 * 1024, 2}, |
| 5476 | {16 * 1024, 1}, |
| 5477 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5478 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5479 | }, { |
| 5480 | .eraseblocks = { {256 * 1024, 1} }, |
| 5481 | .block_erase = erase_chip_stm50flw0x0x, |
| 5482 | } |
| 5483 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5484 | .unlock = unlock_stm50flw0x0x, |
| 5485 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5486 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5487 | }, |
| 5488 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5489 | { |
| 5490 | .vendor = "ST", |
| 5491 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5492 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5493 | .manufacture_id = ST_ID, |
| 5494 | .model_id = ST_M50FW016, |
| 5495 | .total_size = 2048, |
| 5496 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5497 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5498 | .tested = TEST_UNTESTED, |
| 5499 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5500 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5501 | .block_erasers = |
| 5502 | { |
| 5503 | { |
| 5504 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5505 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5506 | }, { |
| 5507 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5508 | .block_erase = erase_chip_stm50flw0x0x, |
| 5509 | } |
| 5510 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5511 | .unlock = unlock_stm50flw0x0x, |
| 5512 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5513 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5514 | }, |
| 5515 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5516 | { |
| 5517 | .vendor = "ST", |
| 5518 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5519 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5520 | .manufacture_id = ST_ID, |
| 5521 | .model_id = ST_M50FW040, |
| 5522 | .total_size = 512, |
| 5523 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5524 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5525 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5526 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5527 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5528 | .block_erasers = |
| 5529 | { |
| 5530 | { |
| 5531 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5532 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5533 | }, { |
| 5534 | .eraseblocks = { {512 * 1024, 1} }, |
| 5535 | .block_erase = erase_chip_stm50flw0x0x, |
| 5536 | } |
| 5537 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5538 | .unlock = unlock_stm50flw0x0x, |
| 5539 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5540 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5541 | }, |
| 5542 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5543 | { |
| 5544 | .vendor = "ST", |
| 5545 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5546 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5547 | .manufacture_id = ST_ID, |
| 5548 | .model_id = ST_M50FW080, |
| 5549 | .total_size = 1024, |
| 5550 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5551 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5552 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5553 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5554 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5555 | .block_erasers = |
| 5556 | { |
| 5557 | { |
| 5558 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5559 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5560 | }, { |
| 5561 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5562 | .block_erase = erase_chip_stm50flw0x0x, |
| 5563 | } |
| 5564 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5565 | .unlock = unlock_stm50flw0x0x, |
| 5566 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5567 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5568 | }, |
| 5569 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5570 | { |
| 5571 | .vendor = "ST", |
| 5572 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5573 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5574 | .manufacture_id = ST_ID, |
| 5575 | .model_id = ST_M50LPW116, |
| 5576 | .total_size = 2048, |
| 5577 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5578 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5579 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5580 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5581 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5582 | .block_erasers = |
| 5583 | { |
| 5584 | { |
| 5585 | .eraseblocks = { |
| 5586 | {4 * 1024, 16}, |
| 5587 | {64 * 1024, 30}, |
| 5588 | {32 * 1024, 1}, |
| 5589 | {8 * 1024, 2}, |
| 5590 | {16 * 1024, 1}, |
| 5591 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5592 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5593 | }, { |
| 5594 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5595 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5596 | } |
| 5597 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5598 | .unlock = unlock_stm50flw0x0x, |
| 5599 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5600 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5601 | }, |
| 5602 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5603 | { |
| 5604 | .vendor = "SyncMOS", |
| 5605 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5606 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5607 | .manufacture_id = SYNCMOS_ID, |
| 5608 | .model_id = S29C31004T, |
| 5609 | .total_size = 512, |
| 5610 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5611 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5612 | .tested = TEST_UNTESTED, |
| 5613 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5614 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5615 | .block_erasers = |
| 5616 | { |
| 5617 | { |
| 5618 | .eraseblocks = { {1 * 1024, 512} }, |
| 5619 | .block_erase = erase_sector_jedec, |
| 5620 | }, { |
| 5621 | .eraseblocks = { {512 * 1024, 1} }, |
| 5622 | .block_erase = erase_chip_block_jedec, |
| 5623 | }, |
| 5624 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5625 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5626 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5627 | }, |
| 5628 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5629 | { |
| 5630 | .vendor = "SyncMOS", |
| 5631 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5632 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5633 | .manufacture_id = SYNCMOS_ID, |
| 5634 | .model_id = S29C51001T, |
| 5635 | .total_size = 128, |
| 5636 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5637 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5638 | .tested = TEST_UNTESTED, |
| 5639 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5640 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5641 | .block_erasers = |
| 5642 | { |
| 5643 | { |
| 5644 | .eraseblocks = { {512, 256} }, |
| 5645 | .block_erase = erase_sector_jedec, |
| 5646 | }, { |
| 5647 | .eraseblocks = { {128 * 1024, 1} }, |
| 5648 | .block_erase = erase_chip_block_jedec, |
| 5649 | }, |
| 5650 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5651 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5652 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5653 | }, |
| 5654 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5655 | { |
| 5656 | .vendor = "SyncMOS", |
| 5657 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5658 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5659 | .manufacture_id = SYNCMOS_ID, |
| 5660 | .model_id = S29C51002T, |
| 5661 | .total_size = 256, |
| 5662 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5663 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5664 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5665 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5666 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5667 | .block_erasers = |
| 5668 | { |
| 5669 | { |
| 5670 | .eraseblocks = { {512, 512} }, |
| 5671 | .block_erase = erase_sector_jedec, |
| 5672 | }, { |
| 5673 | .eraseblocks = { {256 * 1024, 1} }, |
| 5674 | .block_erase = erase_chip_block_jedec, |
| 5675 | }, |
| 5676 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5677 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5678 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5679 | }, |
| 5680 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5681 | { |
| 5682 | .vendor = "SyncMOS", |
| 5683 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5684 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5685 | .manufacture_id = SYNCMOS_ID, |
| 5686 | .model_id = S29C51004T, |
| 5687 | .total_size = 512, |
| 5688 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5689 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5690 | .tested = TEST_UNTESTED, |
| 5691 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5692 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5693 | .block_erasers = |
| 5694 | { |
| 5695 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 5696 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5697 | .block_erase = erase_sector_jedec, |
| 5698 | }, { |
| 5699 | .eraseblocks = { {512 * 1024, 1} }, |
| 5700 | .block_erase = erase_chip_block_jedec, |
| 5701 | }, |
| 5702 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5703 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5704 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5705 | }, |
| 5706 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5707 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5708 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5709 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5710 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5711 | .manufacture_id = TI_OLD_ID, |
| 5712 | .model_id = TI_TMS29F002RB, |
| 5713 | .total_size = 256, |
| 5714 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5715 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5716 | .tested = TEST_UNTESTED, |
| 5717 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5718 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5719 | .block_erasers = |
| 5720 | { |
| 5721 | { |
| 5722 | .eraseblocks = { |
| 5723 | {16 * 1024, 1}, |
| 5724 | {8 * 1024, 2}, |
| 5725 | {32 * 1024, 1}, |
| 5726 | {64 * 1024, 3}, |
| 5727 | }, |
| 5728 | .block_erase = erase_sector_jedec, |
| 5729 | }, { |
| 5730 | .eraseblocks = { {256 * 1024, 1} }, |
| 5731 | .block_erase = erase_chip_block_jedec, |
| 5732 | }, |
| 5733 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5734 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5735 | .read = read_memmapped, |
| 5736 | }, |
| 5737 | |
| 5738 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5739 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5740 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5741 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5742 | .manufacture_id = TI_OLD_ID, |
| 5743 | .model_id = TI_TMS29F002RT, |
| 5744 | .total_size = 256, |
| 5745 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5746 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5747 | .tested = TEST_UNTESTED, |
| 5748 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5749 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5750 | .block_erasers = |
| 5751 | { |
| 5752 | { |
| 5753 | .eraseblocks = { |
| 5754 | {64 * 1024, 3}, |
| 5755 | {32 * 1024, 1}, |
| 5756 | {8 * 1024, 2}, |
| 5757 | {16 * 1024, 1}, |
| 5758 | }, |
| 5759 | .block_erase = erase_sector_jedec, |
| 5760 | }, { |
| 5761 | .eraseblocks = { {256 * 1024, 1} }, |
| 5762 | .block_erase = erase_chip_block_jedec, |
| 5763 | }, |
| 5764 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5765 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5766 | .read = read_memmapped, |
| 5767 | }, |
| 5768 | |
| 5769 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5770 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 5771 | .name = "W25Q80", |
| 5772 | .bustype = CHIP_BUSTYPE_SPI, |
| 5773 | .manufacture_id = WINBOND_NEX_ID, |
| 5774 | .model_id = W_25Q80, |
| 5775 | .total_size = 1024, |
| 5776 | .page_size = 256, |
| 5777 | .tested = TEST_UNTESTED, |
| 5778 | .probe = probe_spi_rdid, |
| 5779 | .probe_timing = TIMING_ZERO, |
| 5780 | .block_erasers = |
| 5781 | { |
| 5782 | { |
| 5783 | .eraseblocks = { {4 * 1024, 256} }, |
| 5784 | .block_erase = spi_block_erase_20, |
| 5785 | }, { |
| 5786 | .eraseblocks = { {32 * 1024, 32} }, |
| 5787 | .block_erase = spi_block_erase_52, |
| 5788 | }, { |
| 5789 | .eraseblocks = { {64 * 1024, 16} }, |
| 5790 | .block_erase = spi_block_erase_d8, |
| 5791 | }, { |
| 5792 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5793 | .block_erase = spi_block_erase_60, |
| 5794 | }, { |
| 5795 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5796 | .block_erase = spi_block_erase_c7, |
| 5797 | } |
| 5798 | }, |
| 5799 | .write = spi_chip_write_256, |
| 5800 | .read = spi_chip_read, |
| 5801 | }, |
| 5802 | |
| 5803 | { |
| 5804 | .vendor = "Winbond", |
| 5805 | .name = "W25Q16", |
| 5806 | .bustype = CHIP_BUSTYPE_SPI, |
| 5807 | .manufacture_id = WINBOND_NEX_ID, |
| 5808 | .model_id = W_25Q16, |
| 5809 | .total_size = 2048, |
| 5810 | .page_size = 256, |
| 5811 | .tested = TEST_UNTESTED, |
| 5812 | .probe = probe_spi_rdid, |
| 5813 | .probe_timing = TIMING_ZERO, |
| 5814 | .block_erasers = |
| 5815 | { |
| 5816 | { |
| 5817 | .eraseblocks = { {4 * 1024, 512} }, |
| 5818 | .block_erase = spi_block_erase_20, |
| 5819 | }, { |
| 5820 | .eraseblocks = { {32 * 1024, 64} }, |
| 5821 | .block_erase = spi_block_erase_52, |
| 5822 | }, { |
| 5823 | .eraseblocks = { {64 * 1024, 32} }, |
| 5824 | .block_erase = spi_block_erase_d8, |
| 5825 | }, { |
| 5826 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5827 | .block_erase = spi_block_erase_60, |
| 5828 | }, { |
| 5829 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5830 | .block_erase = spi_block_erase_c7, |
| 5831 | } |
| 5832 | }, |
| 5833 | .write = spi_chip_write_256, |
| 5834 | .read = spi_chip_read, |
| 5835 | }, |
| 5836 | |
| 5837 | { |
| 5838 | .vendor = "Winbond", |
| 5839 | .name = "W25Q32", |
| 5840 | .bustype = CHIP_BUSTYPE_SPI, |
| 5841 | .manufacture_id = WINBOND_NEX_ID, |
| 5842 | .model_id = W_25Q32, |
| 5843 | .total_size = 4096, |
| 5844 | .page_size = 256, |
| 5845 | .tested = TEST_UNTESTED, |
| 5846 | .probe = probe_spi_rdid, |
| 5847 | .probe_timing = TIMING_ZERO, |
| 5848 | .block_erasers = |
| 5849 | { |
| 5850 | { |
| 5851 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5852 | .block_erase = spi_block_erase_20, |
| 5853 | }, { |
| 5854 | .eraseblocks = { {32 * 1024, 128} }, |
| 5855 | .block_erase = spi_block_erase_52, |
| 5856 | }, { |
| 5857 | .eraseblocks = { {64 * 1024, 64} }, |
| 5858 | .block_erase = spi_block_erase_d8, |
| 5859 | }, { |
| 5860 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5861 | .block_erase = spi_block_erase_60, |
| 5862 | }, { |
| 5863 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5864 | .block_erase = spi_block_erase_c7, |
| 5865 | } |
| 5866 | }, |
| 5867 | .write = spi_chip_write_256, |
| 5868 | .read = spi_chip_read, |
| 5869 | }, |
| 5870 | |
| 5871 | { |
| 5872 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 5873 | .name = "W25Q64", |
| 5874 | .bustype = CHIP_BUSTYPE_SPI, |
| 5875 | .manufacture_id = WINBOND_NEX_ID, |
| 5876 | .model_id = W_25Q64, |
| 5877 | .total_size = 8192, |
| 5878 | .page_size = 256, |
| 5879 | .tested = TEST_OK_PRW, |
| 5880 | .probe = probe_spi_rdid, |
| 5881 | .probe_timing = TIMING_ZERO, |
| 5882 | .block_erasers = |
| 5883 | { |
| 5884 | { |
| 5885 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5886 | .block_erase = spi_block_erase_20, |
| 5887 | }, { |
| 5888 | .eraseblocks = { {32 * 1024, 256} }, |
| 5889 | .block_erase = spi_block_erase_52, |
| 5890 | }, { |
| 5891 | .eraseblocks = { {64 * 1024, 128} }, |
| 5892 | .block_erase = spi_block_erase_d8, |
| 5893 | }, { |
| 5894 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5895 | .block_erase = spi_block_erase_60, |
| 5896 | }, { |
| 5897 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5898 | .block_erase = spi_block_erase_c7, |
| 5899 | } |
| 5900 | }, |
| 5901 | .write = spi_chip_write_256, |
| 5902 | .read = spi_chip_read, |
| 5903 | }, |
| 5904 | |
| 5905 | { |
| 5906 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5907 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5908 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5909 | .manufacture_id = WINBOND_NEX_ID, |
| 5910 | .model_id = W_25X10, |
| 5911 | .total_size = 128, |
| 5912 | .page_size = 256, |
| 5913 | .tested = TEST_UNTESTED, |
| 5914 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5915 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5916 | .block_erasers = |
| 5917 | { |
| 5918 | { |
| 5919 | .eraseblocks = { {4 * 1024, 32} }, |
| 5920 | .block_erase = spi_block_erase_20, |
| 5921 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5922 | .eraseblocks = { {64 * 1024, 2} }, |
| 5923 | .block_erase = spi_block_erase_d8, |
| 5924 | }, { |
| 5925 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5926 | .block_erase = spi_block_erase_c7, |
| 5927 | } |
| 5928 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5929 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5930 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5931 | }, |
| 5932 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5933 | { |
| 5934 | .vendor = "Winbond", |
| 5935 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5936 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5937 | .manufacture_id = WINBOND_NEX_ID, |
| 5938 | .model_id = W_25X20, |
| 5939 | .total_size = 256, |
| 5940 | .page_size = 256, |
| 5941 | .tested = TEST_UNTESTED, |
| 5942 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5943 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5944 | .block_erasers = |
| 5945 | { |
| 5946 | { |
| 5947 | .eraseblocks = { {4 * 1024, 64} }, |
| 5948 | .block_erase = spi_block_erase_20, |
| 5949 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5950 | .eraseblocks = { {64 * 1024, 4} }, |
| 5951 | .block_erase = spi_block_erase_d8, |
| 5952 | }, { |
| 5953 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5954 | .block_erase = spi_block_erase_c7, |
| 5955 | } |
| 5956 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5957 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5958 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5959 | }, |
| 5960 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5961 | { |
| 5962 | .vendor = "Winbond", |
| 5963 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5964 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5965 | .manufacture_id = WINBOND_NEX_ID, |
| 5966 | .model_id = W_25X40, |
| 5967 | .total_size = 512, |
| 5968 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5969 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5970 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5971 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5972 | .block_erasers = |
| 5973 | { |
| 5974 | { |
| 5975 | .eraseblocks = { {4 * 1024, 128} }, |
| 5976 | .block_erase = spi_block_erase_20, |
| 5977 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5978 | .eraseblocks = { {64 * 1024, 8} }, |
| 5979 | .block_erase = spi_block_erase_d8, |
| 5980 | }, { |
| 5981 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5982 | .block_erase = spi_block_erase_c7, |
| 5983 | } |
| 5984 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5985 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5986 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5987 | }, |
| 5988 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5989 | { |
| 5990 | .vendor = "Winbond", |
| 5991 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5992 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5993 | .manufacture_id = WINBOND_NEX_ID, |
| 5994 | .model_id = W_25X80, |
| 5995 | .total_size = 1024, |
| 5996 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5997 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5998 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5999 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6000 | .block_erasers = |
| 6001 | { |
| 6002 | { |
| 6003 | .eraseblocks = { {4 * 1024, 256} }, |
| 6004 | .block_erase = spi_block_erase_20, |
| 6005 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6006 | .eraseblocks = { {64 * 1024, 16} }, |
| 6007 | .block_erase = spi_block_erase_d8, |
| 6008 | }, { |
| 6009 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6010 | .block_erase = spi_block_erase_c7, |
| 6011 | } |
| 6012 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6013 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6014 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6015 | }, |
| 6016 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6017 | { |
| 6018 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 6019 | .name = "W25x16", |
| 6020 | .bustype = CHIP_BUSTYPE_SPI, |
| 6021 | .manufacture_id = WINBOND_NEX_ID, |
| 6022 | .model_id = W_25X16, |
| 6023 | .total_size = 2048, |
| 6024 | .page_size = 256, |
| 6025 | .tested = TEST_OK_PR, |
| 6026 | .probe = probe_spi_rdid, |
| 6027 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6028 | .block_erasers = |
| 6029 | { |
| 6030 | { |
| 6031 | .eraseblocks = { {4 * 1024, 512} }, |
| 6032 | .block_erase = spi_block_erase_20, |
| 6033 | }, { |
| 6034 | .eraseblocks = { {32 * 1024, 64} }, |
| 6035 | .block_erase = spi_block_erase_52, |
| 6036 | }, { |
| 6037 | .eraseblocks = { {64 * 1024, 32} }, |
| 6038 | .block_erase = spi_block_erase_d8, |
| 6039 | }, { |
| 6040 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6041 | .block_erase = spi_block_erase_60, |
| 6042 | }, { |
| 6043 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6044 | .block_erase = spi_block_erase_c7, |
| 6045 | } |
| 6046 | }, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 6047 | .write = spi_chip_write_256, |
| 6048 | .read = spi_chip_read, |
| 6049 | }, |
| 6050 | |
| 6051 | { |
| 6052 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6053 | .name = "W25x32", |
| 6054 | .bustype = CHIP_BUSTYPE_SPI, |
| 6055 | .manufacture_id = WINBOND_NEX_ID, |
| 6056 | .model_id = W_25X32, |
| 6057 | .total_size = 4096, |
| 6058 | .page_size = 256, |
| 6059 | .tested = TEST_OK_PROBE, |
| 6060 | .probe = probe_spi_rdid, |
| 6061 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6062 | .block_erasers = |
| 6063 | { |
| 6064 | { |
| 6065 | .eraseblocks = { {4 * 1024, 1024} }, |
| 6066 | .block_erase = spi_block_erase_20, |
| 6067 | }, { |
| 6068 | .eraseblocks = { {32 * 1024, 128} }, |
| 6069 | .block_erase = spi_block_erase_52, |
| 6070 | }, { |
| 6071 | .eraseblocks = { {64 * 1024, 64} }, |
| 6072 | .block_erase = spi_block_erase_d8, |
| 6073 | }, { |
| 6074 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6075 | .block_erase = spi_block_erase_60, |
| 6076 | }, { |
| 6077 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6078 | .block_erase = spi_block_erase_c7, |
| 6079 | } |
| 6080 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6081 | .write = spi_chip_write_256, |
| 6082 | .read = spi_chip_read, |
| 6083 | }, |
| 6084 | |
| 6085 | { |
| 6086 | .vendor = "Winbond", |
| 6087 | .name = "W25x64", |
| 6088 | .bustype = CHIP_BUSTYPE_SPI, |
| 6089 | .manufacture_id = WINBOND_NEX_ID, |
| 6090 | .model_id = W_25X64, |
| 6091 | .total_size = 8192, |
| 6092 | .page_size = 256, |
| 6093 | .tested = TEST_UNTESTED, |
| 6094 | .probe = probe_spi_rdid, |
| 6095 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6096 | .block_erasers = |
| 6097 | { |
| 6098 | { |
| 6099 | .eraseblocks = { {4 * 1024, 2048} }, |
| 6100 | .block_erase = spi_block_erase_20, |
| 6101 | }, { |
| 6102 | .eraseblocks = { {32 * 1024, 256} }, |
| 6103 | .block_erase = spi_block_erase_52, |
| 6104 | }, { |
| 6105 | .eraseblocks = { {64 * 1024, 128} }, |
| 6106 | .block_erase = spi_block_erase_d8, |
| 6107 | }, { |
| 6108 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6109 | .block_erase = spi_block_erase_60, |
| 6110 | }, { |
| 6111 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6112 | .block_erase = spi_block_erase_c7, |
| 6113 | } |
| 6114 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 6115 | .write = spi_chip_write_256, |
| 6116 | .read = spi_chip_read, |
| 6117 | }, |
| 6118 | |
| 6119 | { |
| 6120 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6121 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6122 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6123 | .manufacture_id = WINBOND_ID, |
| 6124 | .model_id = W_29C011, |
| 6125 | .total_size = 128, |
| 6126 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6127 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6128 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6129 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6130 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6131 | .block_erasers = |
| 6132 | { |
| 6133 | { |
| 6134 | .eraseblocks = { {128 * 1024, 1} }, |
| 6135 | .block_erase = erase_chip_block_jedec, |
| 6136 | } |
| 6137 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6138 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6139 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6140 | }, |
| 6141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6142 | { |
| 6143 | .vendor = "Winbond", |
| 6144 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6145 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6146 | .manufacture_id = WINBOND_ID, |
| 6147 | .model_id = W_29C020C, |
| 6148 | .total_size = 256, |
| 6149 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6150 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6151 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6152 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6153 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6154 | .block_erasers = |
| 6155 | { |
| 6156 | { |
| 6157 | .eraseblocks = { {256 * 1024, 1} }, |
| 6158 | .block_erase = erase_chip_block_jedec, |
| 6159 | } |
| 6160 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6161 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6162 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6163 | }, |
| 6164 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6165 | { |
| 6166 | .vendor = "Winbond", |
| 6167 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6168 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6169 | .manufacture_id = WINBOND_ID, |
| 6170 | .model_id = W_29C040P, |
| 6171 | .total_size = 512, |
| 6172 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6173 | .feature_bits = FEATURE_LONG_RESET, |
| 6174 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6175 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6176 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6177 | .block_erasers = |
| 6178 | { |
| 6179 | { |
| 6180 | .eraseblocks = { {512 * 1024, 1} }, |
| 6181 | .block_erase = erase_chip_block_jedec, |
| 6182 | } |
| 6183 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6184 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6185 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6186 | }, |
| 6187 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6188 | { |
| 6189 | .vendor = "Winbond", |
| 6190 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6191 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6192 | .manufacture_id = WINBOND_ID, |
| 6193 | .model_id = W_29C011, |
| 6194 | .total_size = 128, |
| 6195 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6196 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6197 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6198 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6199 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6200 | .block_erasers = |
| 6201 | { |
| 6202 | { |
| 6203 | .eraseblocks = { {128 * 1024, 1} }, |
| 6204 | .block_erase = erase_chip_block_jedec, |
| 6205 | } |
| 6206 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6207 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6208 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6209 | }, |
| 6210 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6211 | { |
| 6212 | .vendor = "Winbond", |
| 6213 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6214 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6215 | .manufacture_id = WINBOND_ID, |
| 6216 | .model_id = W_39V040A, |
| 6217 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6218 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6219 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 6220 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6221 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6222 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6223 | .block_erasers = |
| 6224 | { |
| 6225 | { |
| 6226 | .eraseblocks = { {64 * 1024, 8} }, |
| 6227 | .block_erase = erase_sector_jedec, |
| 6228 | }, { |
| 6229 | .eraseblocks = { {512 * 1024, 1} }, |
| 6230 | .block_erase = erase_chip_block_jedec, |
| 6231 | } |
| 6232 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6233 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6234 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6235 | }, |
| 6236 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6237 | { |
| 6238 | .vendor = "Winbond", |
| 6239 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6240 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6241 | .manufacture_id = WINBOND_ID, |
| 6242 | .model_id = W_39V040B, |
| 6243 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6244 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6245 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 6246 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6247 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6248 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6249 | .block_erasers = |
| 6250 | { |
| 6251 | { |
| 6252 | .eraseblocks = { {64 * 1024, 8} }, |
| 6253 | .block_erase = erase_sector_jedec, |
| 6254 | }, { |
| 6255 | .eraseblocks = { {512 * 1024, 1} }, |
| 6256 | .block_erase = erase_chip_block_jedec, |
| 6257 | } |
| 6258 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6259 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6260 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6261 | }, |
| 6262 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6263 | { |
| 6264 | .vendor = "Winbond", |
| 6265 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6266 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6267 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6268 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6269 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6270 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6271 | .feature_bits = FEATURE_EITHER_RESET, |
| 6272 | .tested = TEST_UNTESTED, |
| 6273 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6274 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6275 | .block_erasers = |
| 6276 | { |
| 6277 | { |
| 6278 | .eraseblocks = { {64 * 1024, 8} }, |
| 6279 | .block_erase = erase_sector_jedec, |
| 6280 | }, { |
| 6281 | .eraseblocks = { {512 * 1024, 1} }, |
| 6282 | .block_erase = erase_chip_block_jedec, |
| 6283 | } |
| 6284 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6285 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6286 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6287 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6288 | }, |
| 6289 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6290 | { |
| 6291 | .vendor = "Winbond", |
| 6292 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6293 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6294 | .manufacture_id = WINBOND_ID, |
| 6295 | .model_id = W_39V040FA, |
| 6296 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6297 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6298 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 6299 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6300 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6301 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6302 | .block_erasers = |
| 6303 | { |
| 6304 | { |
| 6305 | .eraseblocks = { {4 * 1024, 128} }, |
| 6306 | .block_erase = erase_block_jedec, |
| 6307 | }, { |
| 6308 | .eraseblocks = { {64 * 1024, 8} }, |
| 6309 | .block_erase = erase_sector_jedec, |
| 6310 | }, { |
| 6311 | .eraseblocks = { {512 * 1024, 1} }, |
| 6312 | .block_erase = erase_chip_block_jedec, |
| 6313 | } |
| 6314 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6315 | .printlock = printlock_sst_fwhub, |
| 6316 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6317 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6318 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6319 | }, |
| 6320 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6321 | { |
| 6322 | .vendor = "Winbond", |
| 6323 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6324 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6325 | .manufacture_id = WINBOND_ID, |
| 6326 | .model_id = W_39V080A, |
| 6327 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6328 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6329 | .feature_bits = FEATURE_EITHER_RESET, |
| 6330 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6331 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6332 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6333 | .block_erasers = |
| 6334 | { |
| 6335 | { |
| 6336 | .eraseblocks = { {64 * 1024, 16} }, |
| 6337 | .block_erase = erase_sector_jedec, |
| 6338 | }, { |
| 6339 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6340 | .block_erase = erase_chip_block_jedec, |
| 6341 | } |
| 6342 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6343 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6344 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6345 | }, |
| 6346 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6347 | { |
| 6348 | .vendor = "Winbond", |
| 6349 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6350 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6351 | .manufacture_id = WINBOND_ID, |
| 6352 | .model_id = W_49F002U, |
| 6353 | .total_size = 256, |
| 6354 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6355 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6356 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6357 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6358 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6359 | .block_erasers = |
| 6360 | { |
| 6361 | { |
| 6362 | .eraseblocks = { |
| 6363 | {128 * 1024, 1}, |
| 6364 | {96 * 1024, 1}, |
| 6365 | {8 * 1024, 2}, |
| 6366 | {16 * 1024, 1}, |
| 6367 | }, |
| 6368 | .block_erase = erase_sector_jedec, |
| 6369 | }, { |
| 6370 | .eraseblocks = { {256 * 1024, 1} }, |
| 6371 | .block_erase = erase_chip_block_jedec, |
| 6372 | } |
| 6373 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6374 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6375 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6376 | }, |
| 6377 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6378 | { |
| 6379 | .vendor = "Winbond", |
| 6380 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6381 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6382 | .manufacture_id = WINBOND_ID, |
| 6383 | .model_id = W_49V002A, |
| 6384 | .total_size = 256, |
| 6385 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6386 | .feature_bits = FEATURE_EITHER_RESET, |
| 6387 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6388 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6389 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6390 | .block_erasers = |
| 6391 | { |
| 6392 | { |
| 6393 | .eraseblocks = { |
| 6394 | {64 * 1024, 3}, |
| 6395 | {32 * 1024, 1}, |
| 6396 | {8 * 1024, 2}, |
| 6397 | {16 * 1024, 1}, |
| 6398 | }, |
| 6399 | .block_erase = erase_sector_jedec, |
| 6400 | }, { |
| 6401 | .eraseblocks = { {256 * 1024, 1} }, |
| 6402 | .block_erase = erase_chip_block_jedec, |
| 6403 | } |
| 6404 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6405 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6406 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6407 | }, |
| 6408 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6409 | { |
| 6410 | .vendor = "Winbond", |
| 6411 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6412 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6413 | .manufacture_id = WINBOND_ID, |
| 6414 | .model_id = W_49V002FA, |
| 6415 | .total_size = 256, |
| 6416 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6417 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 6418 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6419 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6420 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6421 | .block_erasers = |
| 6422 | { |
| 6423 | { |
| 6424 | .eraseblocks = { |
| 6425 | {64 * 1024, 3}, |
| 6426 | {32 * 1024, 1}, |
| 6427 | {8 * 1024, 2}, |
| 6428 | {16 * 1024, 1}, |
| 6429 | }, |
| 6430 | .block_erase = erase_sector_jedec, |
| 6431 | }, { |
| 6432 | .eraseblocks = { {256 * 1024, 1} }, |
| 6433 | .block_erase = erase_chip_block_jedec, |
| 6434 | } |
| 6435 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6436 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6437 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6438 | }, |
| 6439 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6440 | { |
| 6441 | .vendor = "Winbond", |
| 6442 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6443 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6444 | .manufacture_id = WINBOND_ID, |
| 6445 | .model_id = W_39V080FA, |
| 6446 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6447 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6448 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6449 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6450 | .probe = probe_jedec, |
| 6451 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6452 | .block_erasers = |
| 6453 | { |
| 6454 | { |
| 6455 | .eraseblocks = { {64 * 1024, 16}, }, |
| 6456 | .block_erase = erase_sector_jedec, |
| 6457 | }, { |
| 6458 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6459 | .block_erase = erase_chip_block_jedec, |
| 6460 | } |
| 6461 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6462 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6463 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6464 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6465 | }, |
| 6466 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6467 | { |
| 6468 | .vendor = "Winbond", |
| 6469 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6470 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6471 | .manufacture_id = WINBOND_ID, |
| 6472 | .model_id = W_39V080FA_DM, |
| 6473 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6474 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6475 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6476 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6477 | .probe = probe_jedec, |
| 6478 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6479 | .block_erasers = |
| 6480 | { |
| 6481 | { |
| 6482 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6483 | .block_erase = erase_sector_jedec, |
| 6484 | }, { |
| 6485 | .eraseblocks = { {512 * 1024, 1} }, |
| 6486 | .block_erase = erase_chip_block_jedec, |
| 6487 | } |
| 6488 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6489 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6490 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6491 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6492 | }, |
| 6493 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6494 | { |
| 6495 | .vendor = "Atmel", |
| 6496 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6497 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6498 | .manufacture_id = ATMEL_ID, |
| 6499 | .model_id = GENERIC_DEVICE_ID, |
| 6500 | .total_size = 0, |
| 6501 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6502 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6503 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6504 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6505 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6506 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6507 | }, |
| 6508 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6509 | { |
| 6510 | .vendor = "EON", |
| 6511 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6512 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6513 | .manufacture_id = EON_ID_NOPREFIX, |
| 6514 | .model_id = GENERIC_DEVICE_ID, |
| 6515 | .total_size = 0, |
| 6516 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6517 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6518 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6519 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6520 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6521 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6522 | }, |
| 6523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6524 | { |
| 6525 | .vendor = "Macronix", |
| 6526 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6527 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6528 | .manufacture_id = MX_ID, |
| 6529 | .model_id = GENERIC_DEVICE_ID, |
| 6530 | .total_size = 0, |
| 6531 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6532 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6533 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6534 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6535 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6536 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6537 | }, |
| 6538 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6539 | { |
| 6540 | .vendor = "PMC", |
| 6541 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6542 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6543 | .manufacture_id = PMC_ID, |
| 6544 | .model_id = GENERIC_DEVICE_ID, |
| 6545 | .total_size = 0, |
| 6546 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6547 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6548 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6549 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6550 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6551 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6552 | }, |
| 6553 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6554 | { |
| 6555 | .vendor = "SST", |
| 6556 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6557 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6558 | .manufacture_id = SST_ID, |
| 6559 | .model_id = GENERIC_DEVICE_ID, |
| 6560 | .total_size = 0, |
| 6561 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6562 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6563 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6564 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6565 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6566 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6567 | }, |
| 6568 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6569 | { |
| 6570 | .vendor = "ST", |
| 6571 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6572 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6573 | .manufacture_id = ST_ID, |
| 6574 | .model_id = GENERIC_DEVICE_ID, |
| 6575 | .total_size = 0, |
| 6576 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6577 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6578 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6579 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6580 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6581 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6582 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 6583 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6584 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6585 | .vendor = "Sanyo", |
| 6586 | .name = "unknown Sanyo SPI chip", |
| 6587 | .bustype = CHIP_BUSTYPE_SPI, |
| 6588 | .manufacture_id = SANYO_ID, |
| 6589 | .model_id = GENERIC_DEVICE_ID, |
| 6590 | .total_size = 0, |
| 6591 | .page_size = 256, |
| 6592 | .tested = TEST_BAD_PREW, |
| 6593 | .probe = probe_spi_rdid, |
| 6594 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6595 | .write = NULL, |
| 6596 | .read = NULL, |
| 6597 | }, |
| 6598 | |
| 6599 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6600 | .vendor = "Generic", |
| 6601 | .name = "unknown SPI chip (RDID)", |
| 6602 | .bustype = CHIP_BUSTYPE_SPI, |
| 6603 | .manufacture_id = GENERIC_MANUF_ID, |
| 6604 | .model_id = GENERIC_DEVICE_ID, |
| 6605 | .total_size = 0, |
| 6606 | .page_size = 256, |
| 6607 | .tested = TEST_BAD_PREW, |
| 6608 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6609 | .write = NULL, |
| 6610 | }, |
| 6611 | { |
| 6612 | .vendor = "Generic", |
| 6613 | .name = "unknown SPI chip (REMS)", |
| 6614 | .bustype = CHIP_BUSTYPE_SPI, |
| 6615 | .manufacture_id = GENERIC_MANUF_ID, |
| 6616 | .model_id = GENERIC_DEVICE_ID, |
| 6617 | .total_size = 0, |
| 6618 | .page_size = 256, |
| 6619 | .tested = TEST_BAD_PREW, |
| 6620 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6621 | .write = NULL, |
| 6622 | }, |
| 6623 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6624 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 6625 | }; |