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", |
| 1224 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1225 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1226 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1227 | .model_id = AMIC_A29002B, |
| 1228 | .total_size = 256, |
| 1229 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1230 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1231 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1232 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1233 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1234 | .block_erasers = |
| 1235 | { |
| 1236 | { |
| 1237 | .eraseblocks = { |
| 1238 | {16 * 1024, 1}, |
| 1239 | {8 * 1024, 2}, |
| 1240 | {32 * 1024, 1}, |
| 1241 | {64 * 1024, 3}, |
| 1242 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1243 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1244 | }, { |
| 1245 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1246 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1247 | }, |
| 1248 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1249 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1250 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1251 | }, |
| 1252 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1253 | { |
| 1254 | .vendor = "AMIC", |
| 1255 | .name = "A29002T", |
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_A29002T, |
| 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, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1262 | .tested = TEST_OK_PRW, |
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 | {64 * 1024, 3}, |
| 1270 | {32 * 1024, 1}, |
| 1271 | {8 * 1024, 2}, |
| 1272 | {16 * 1024, 1}, |
| 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 = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +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_A29040B, |
| 1290 | .total_size = 512, |
| 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, |
| 1293 | .tested = TEST_UNTESTED, |
| 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 (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1296 | .block_erasers = |
| 1297 | { |
| 1298 | { |
| 1299 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1300 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1301 | }, { |
| 1302 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1303 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1304 | }, |
| 1305 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1306 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1307 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1308 | }, |
| 1309 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1310 | { |
| 1311 | .vendor = "AMIC", |
| 1312 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1313 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1314 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1315 | .model_id = AMIC_A49LF040A, |
| 1316 | .total_size = 512, |
| 1317 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1318 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 1319 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1320 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1321 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1322 | .block_erasers = |
| 1323 | { |
| 1324 | { |
| 1325 | .eraseblocks = { {64 * 1024, 8} }, |
| 1326 | .block_erase = erase_block_jedec, |
| 1327 | }, { |
| 1328 | .eraseblocks = { {512 * 1024, 1} }, |
| 1329 | .block_erase = erase_chip_block_jedec, |
| 1330 | } |
| 1331 | }, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 1332 | .unlock = unlock_49fl00x, |
| 1333 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1334 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1335 | }, |
| 1336 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1337 | { |
| 1338 | .vendor = "EMST", |
| 1339 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1340 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1341 | .manufacture_id = EMST_ID, |
| 1342 | .model_id = EMST_F49B002UA, |
| 1343 | .total_size = 256, |
| 1344 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1345 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1346 | .tested = TEST_UNTESTED, |
| 1347 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1348 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1349 | .block_erasers = |
| 1350 | { |
| 1351 | { |
| 1352 | .eraseblocks = { |
| 1353 | {128 * 1024, 1}, |
| 1354 | {96 * 1024, 1}, |
| 1355 | {8 * 1024, 2}, |
| 1356 | {16 * 1024, 1}, |
| 1357 | }, |
| 1358 | .block_erase = erase_sector_jedec, |
| 1359 | }, { |
| 1360 | .eraseblocks = { {256 * 1024, 1} }, |
| 1361 | .block_erase = erase_chip_block_jedec, |
| 1362 | } |
| 1363 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 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 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame^] | 1369 | .vendor = "EMST", |
| 1370 | .name = "F25L008A", |
| 1371 | .bustype = CHIP_BUSTYPE_SPI, |
| 1372 | .manufacture_id = EMST_ID, |
| 1373 | .model_id = EMST_F25L008A, |
| 1374 | .total_size = 1024, |
| 1375 | .page_size = 256, |
| 1376 | .tested = TEST_UNTESTED, |
| 1377 | .probe = probe_spi_rdid, |
| 1378 | .probe_timing = TIMING_ZERO, |
| 1379 | .block_erasers = |
| 1380 | { |
| 1381 | { |
| 1382 | .eraseblocks = { {4 * 1024, 256} }, |
| 1383 | .block_erase = spi_block_erase_20, |
| 1384 | }, { |
| 1385 | .eraseblocks = { {64 * 1024, 16} }, |
| 1386 | .block_erase = spi_block_erase_d8, |
| 1387 | }, { |
| 1388 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1389 | .block_erase = spi_block_erase_60, |
| 1390 | }, { |
| 1391 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1392 | .block_erase = spi_block_erase_c7, |
| 1393 | } |
| 1394 | }, |
| 1395 | .write = spi_aai_write, |
| 1396 | .read = read_memmapped, |
| 1397 | }, |
| 1398 | |
| 1399 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1400 | .vendor = "Eon", |
| 1401 | .name = "EN25B05", |
| 1402 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1403 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1404 | .model_id = EN_25B05, |
| 1405 | .total_size = 64, |
| 1406 | .page_size = 256, |
| 1407 | .tested = TEST_UNTESTED, |
| 1408 | .probe = probe_spi_rdid, |
| 1409 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1410 | .block_erasers = |
| 1411 | { |
| 1412 | { |
| 1413 | .eraseblocks = { |
| 1414 | {4 * 1024, 2}, |
| 1415 | {8 * 1024, 1}, |
| 1416 | {16 * 1024, 1}, |
| 1417 | {32 * 1024, 1}, |
| 1418 | }, |
| 1419 | .block_erase = spi_block_erase_d8, |
| 1420 | }, { |
| 1421 | .eraseblocks = { {64 * 1024, 1} }, |
| 1422 | .block_erase = spi_block_erase_c7, |
| 1423 | } |
| 1424 | }, |
| 1425 | .write = spi_chip_write_256, |
| 1426 | .read = spi_chip_read, |
| 1427 | }, |
| 1428 | |
| 1429 | { |
| 1430 | .vendor = "Eon", |
| 1431 | .name = "EN25B05T", |
| 1432 | .bustype = CHIP_BUSTYPE_SPI, |
| 1433 | .manufacture_id = EON_ID_NOPREFIX, |
| 1434 | .model_id = EN_25B05, |
| 1435 | .total_size = 64, |
| 1436 | .page_size = 256, |
| 1437 | .tested = TEST_UNTESTED, |
| 1438 | .probe = probe_spi_rdid, |
| 1439 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1440 | .block_erasers = |
| 1441 | { |
| 1442 | { |
| 1443 | .eraseblocks = { |
| 1444 | {32 * 1024, 1}, |
| 1445 | {16 * 1024, 1}, |
| 1446 | {8 * 1024, 1}, |
| 1447 | {4 * 1024, 2}, |
| 1448 | }, |
| 1449 | .block_erase = spi_block_erase_d8, |
| 1450 | }, { |
| 1451 | .eraseblocks = { {64 * 1024, 1} }, |
| 1452 | .block_erase = spi_block_erase_c7, |
| 1453 | } |
| 1454 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1455 | .write = spi_chip_write_256, |
| 1456 | .read = spi_chip_read, |
| 1457 | }, |
| 1458 | |
| 1459 | { |
| 1460 | .vendor = "Eon", |
| 1461 | .name = "EN25B10", |
| 1462 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1463 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1464 | .model_id = EN_25B10, |
| 1465 | .total_size = 128, |
| 1466 | .page_size = 256, |
| 1467 | .tested = TEST_UNTESTED, |
| 1468 | .probe = probe_spi_rdid, |
| 1469 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1470 | .block_erasers = |
| 1471 | { |
| 1472 | { |
| 1473 | .eraseblocks = { |
| 1474 | {4 * 1024, 2}, |
| 1475 | {8 * 1024, 1}, |
| 1476 | {16 * 1024, 1}, |
| 1477 | {32 * 1024, 3}, |
| 1478 | }, |
| 1479 | .block_erase = spi_block_erase_d8, |
| 1480 | }, { |
| 1481 | .eraseblocks = { {128 * 1024, 1} }, |
| 1482 | .block_erase = spi_block_erase_c7, |
| 1483 | } |
| 1484 | }, |
| 1485 | .write = spi_chip_write_256, |
| 1486 | .read = spi_chip_read, |
| 1487 | }, |
| 1488 | |
| 1489 | { |
| 1490 | .vendor = "Eon", |
| 1491 | .name = "EN25B10T", |
| 1492 | .bustype = CHIP_BUSTYPE_SPI, |
| 1493 | .manufacture_id = EON_ID_NOPREFIX, |
| 1494 | .model_id = EN_25B10, |
| 1495 | .total_size = 128, |
| 1496 | .page_size = 256, |
| 1497 | .tested = TEST_UNTESTED, |
| 1498 | .probe = probe_spi_rdid, |
| 1499 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1500 | .block_erasers = |
| 1501 | { |
| 1502 | { |
| 1503 | .eraseblocks = { |
| 1504 | {32 * 1024, 3}, |
| 1505 | {16 * 1024, 1}, |
| 1506 | {8 * 1024, 1}, |
| 1507 | {4 * 1024, 2}, |
| 1508 | }, |
| 1509 | .block_erase = spi_block_erase_d8, |
| 1510 | }, { |
| 1511 | .eraseblocks = { {128 * 1024, 1} }, |
| 1512 | .block_erase = spi_block_erase_c7, |
| 1513 | } |
| 1514 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1515 | .write = spi_chip_write_256, |
| 1516 | .read = spi_chip_read, |
| 1517 | }, |
| 1518 | |
| 1519 | { |
| 1520 | .vendor = "Eon", |
| 1521 | .name = "EN25B20", |
| 1522 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1523 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1524 | .model_id = EN_25B20, |
| 1525 | .total_size = 256, |
| 1526 | .page_size = 256, |
| 1527 | .tested = TEST_UNTESTED, |
| 1528 | .probe = probe_spi_rdid, |
| 1529 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1530 | .block_erasers = |
| 1531 | { |
| 1532 | { |
| 1533 | .eraseblocks = { |
| 1534 | {4 * 1024, 2}, |
| 1535 | {8 * 1024, 1}, |
| 1536 | {16 * 1024, 1}, |
| 1537 | {32 * 1024, 1}, |
| 1538 | {64 * 1024, 3} |
| 1539 | }, |
| 1540 | .block_erase = spi_block_erase_d8, |
| 1541 | }, { |
| 1542 | .eraseblocks = { {256 * 1024, 1} }, |
| 1543 | .block_erase = spi_block_erase_c7, |
| 1544 | } |
| 1545 | }, |
| 1546 | .write = spi_chip_write_256, |
| 1547 | .read = spi_chip_read, |
| 1548 | }, |
| 1549 | |
| 1550 | { |
| 1551 | .vendor = "Eon", |
| 1552 | .name = "EN25B20T", |
| 1553 | .bustype = CHIP_BUSTYPE_SPI, |
| 1554 | .manufacture_id = EON_ID_NOPREFIX, |
| 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 | {64 * 1024, 3}, |
| 1566 | {32 * 1024, 1}, |
| 1567 | {16 * 1024, 1}, |
| 1568 | {8 * 1024, 1}, |
| 1569 | {4 * 1024, 2}, |
| 1570 | }, |
| 1571 | .block_erase = spi_block_erase_d8, |
| 1572 | }, { |
| 1573 | .eraseblocks = { {256 * 1024, 1} }, |
| 1574 | .block_erase = spi_block_erase_c7, |
| 1575 | } |
| 1576 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1577 | .write = spi_chip_write_256, |
| 1578 | .read = spi_chip_read, |
| 1579 | }, |
| 1580 | |
| 1581 | { |
| 1582 | .vendor = "Eon", |
| 1583 | .name = "EN25B40", |
| 1584 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1585 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1586 | .model_id = EN_25B40, |
| 1587 | .total_size = 512, |
| 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 | {4 * 1024, 2}, |
| 1597 | {8 * 1024, 1}, |
| 1598 | {16 * 1024, 1}, |
| 1599 | {32 * 1024, 1}, |
| 1600 | {64 * 1024, 7} |
| 1601 | }, |
| 1602 | .block_erase = spi_block_erase_d8, |
| 1603 | }, { |
| 1604 | .eraseblocks = { {512 * 1024, 1} }, |
| 1605 | .block_erase = spi_block_erase_c7, |
| 1606 | } |
| 1607 | }, |
| 1608 | .write = spi_chip_write_256, |
| 1609 | .read = spi_chip_read, |
| 1610 | }, |
| 1611 | |
| 1612 | { |
| 1613 | .vendor = "Eon", |
| 1614 | .name = "EN25B40T", |
| 1615 | .bustype = CHIP_BUSTYPE_SPI, |
| 1616 | .manufacture_id = EON_ID_NOPREFIX, |
| 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 | {64 * 1024, 7}, |
| 1628 | {32 * 1024, 1}, |
| 1629 | {16 * 1024, 1}, |
| 1630 | {8 * 1024, 1}, |
| 1631 | {4 * 1024, 2}, |
| 1632 | }, |
| 1633 | .block_erase = spi_block_erase_d8, |
| 1634 | }, { |
| 1635 | .eraseblocks = { {512 * 1024, 1} }, |
| 1636 | .block_erase = spi_block_erase_c7, |
| 1637 | } |
| 1638 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1639 | .write = spi_chip_write_256, |
| 1640 | .read = spi_chip_read, |
| 1641 | }, |
| 1642 | |
| 1643 | { |
| 1644 | .vendor = "Eon", |
| 1645 | .name = "EN25B80", |
| 1646 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1647 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1648 | .model_id = EN_25B80, |
| 1649 | .total_size = 1024, |
| 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 | {4 * 1024, 2}, |
| 1659 | {8 * 1024, 1}, |
| 1660 | {16 * 1024, 1}, |
| 1661 | {32 * 1024, 1}, |
| 1662 | {64 * 1024, 15} |
| 1663 | }, |
| 1664 | .block_erase = spi_block_erase_d8, |
| 1665 | }, { |
| 1666 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1667 | .block_erase = spi_block_erase_c7, |
| 1668 | } |
| 1669 | }, |
| 1670 | .write = spi_chip_write_256, |
| 1671 | .read = spi_chip_read, |
| 1672 | }, |
| 1673 | |
| 1674 | { |
| 1675 | .vendor = "Eon", |
| 1676 | .name = "EN25B80T", |
| 1677 | .bustype = CHIP_BUSTYPE_SPI, |
| 1678 | .manufacture_id = EON_ID_NOPREFIX, |
| 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 | {64 * 1024, 15}, |
| 1690 | {32 * 1024, 1}, |
| 1691 | {16 * 1024, 1}, |
| 1692 | {8 * 1024, 1}, |
| 1693 | {4 * 1024, 2}, |
| 1694 | }, |
| 1695 | .block_erase = spi_block_erase_d8, |
| 1696 | }, { |
| 1697 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1698 | .block_erase = spi_block_erase_c7, |
| 1699 | } |
| 1700 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1701 | .write = spi_chip_write_256, |
| 1702 | .read = spi_chip_read, |
| 1703 | }, |
| 1704 | |
| 1705 | { |
| 1706 | .vendor = "Eon", |
| 1707 | .name = "EN25B16", |
| 1708 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1709 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1710 | .model_id = EN_25B16, |
| 1711 | .total_size = 2048, |
| 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 | {4 * 1024, 2}, |
| 1721 | {8 * 1024, 1}, |
| 1722 | {16 * 1024, 1}, |
| 1723 | {32 * 1024, 1}, |
| 1724 | {64 * 1024, 31}, |
| 1725 | }, |
| 1726 | .block_erase = spi_block_erase_d8, |
| 1727 | }, { |
| 1728 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1729 | .block_erase = spi_block_erase_c7, |
| 1730 | } |
| 1731 | }, |
| 1732 | .write = spi_chip_write_256, |
| 1733 | .read = spi_chip_read, |
| 1734 | }, |
| 1735 | |
| 1736 | { |
| 1737 | .vendor = "Eon", |
| 1738 | .name = "EN25B16T", |
| 1739 | .bustype = CHIP_BUSTYPE_SPI, |
| 1740 | .manufacture_id = EON_ID_NOPREFIX, |
| 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 | {64 * 1024, 31}, |
| 1752 | {32 * 1024, 1}, |
| 1753 | {16 * 1024, 1}, |
| 1754 | {8 * 1024, 1}, |
| 1755 | {4 * 1024, 2}, |
| 1756 | }, |
| 1757 | .block_erase = spi_block_erase_d8, |
| 1758 | }, { |
| 1759 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1760 | .block_erase = spi_block_erase_c7, |
| 1761 | } |
| 1762 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1763 | .write = spi_chip_write_256, |
| 1764 | .read = spi_chip_read, |
| 1765 | }, |
| 1766 | |
| 1767 | { |
| 1768 | .vendor = "Eon", |
| 1769 | .name = "EN25B32", |
| 1770 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1771 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1772 | .model_id = EN_25B32, |
| 1773 | .total_size = 4096, |
| 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 | {4 * 1024, 2}, |
| 1783 | {8 * 1024, 1}, |
| 1784 | {16 * 1024, 1}, |
| 1785 | {32 * 1024, 1}, |
| 1786 | {64 * 1024, 63}, |
| 1787 | }, |
| 1788 | .block_erase = spi_block_erase_d8, |
| 1789 | }, { |
| 1790 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1791 | .block_erase = spi_block_erase_c7, |
| 1792 | } |
| 1793 | }, |
| 1794 | .write = spi_chip_write_256, |
| 1795 | .read = spi_chip_read, |
| 1796 | }, |
| 1797 | |
| 1798 | { |
| 1799 | .vendor = "Eon", |
| 1800 | .name = "EN25B32T", |
| 1801 | .bustype = CHIP_BUSTYPE_SPI, |
| 1802 | .manufacture_id = EON_ID_NOPREFIX, |
| 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 | {64 * 1024, 63}, |
| 1814 | {32 * 1024, 1}, |
| 1815 | {16 * 1024, 1}, |
| 1816 | {8 * 1024, 1}, |
| 1817 | {4 * 1024, 2}, |
| 1818 | }, |
| 1819 | .block_erase = spi_block_erase_d8, |
| 1820 | }, { |
| 1821 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1822 | .block_erase = spi_block_erase_c7, |
| 1823 | } |
| 1824 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1825 | .write = spi_chip_write_256, |
| 1826 | .read = spi_chip_read, |
| 1827 | }, |
| 1828 | |
| 1829 | { |
| 1830 | .vendor = "Eon", |
| 1831 | .name = "EN25B64", |
| 1832 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1833 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1834 | .model_id = EN_25B64, |
| 1835 | .total_size = 8192, |
| 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 | {4 * 1024, 2}, |
| 1845 | {8 * 1024, 1}, |
| 1846 | {16 * 1024, 1}, |
| 1847 | {32 * 1024, 1}, |
| 1848 | {64 * 1024, 127}, |
| 1849 | }, |
| 1850 | .block_erase = spi_block_erase_d8, |
| 1851 | }, { |
| 1852 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1853 | .block_erase = spi_block_erase_c7, |
| 1854 | } |
| 1855 | }, |
| 1856 | .write = spi_chip_write_256, |
| 1857 | .read = spi_chip_read, |
| 1858 | }, |
| 1859 | |
| 1860 | { |
| 1861 | .vendor = "Eon", |
| 1862 | .name = "EN25B64T", |
| 1863 | .bustype = CHIP_BUSTYPE_SPI, |
| 1864 | .manufacture_id = EON_ID_NOPREFIX, |
| 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 | {64 * 1024, 127}, |
| 1876 | {32 * 1024, 1}, |
| 1877 | {16 * 1024, 1}, |
| 1878 | {8 * 1024, 1}, |
| 1879 | {4 * 1024, 2}, |
| 1880 | }, |
| 1881 | .block_erase = spi_block_erase_d8, |
| 1882 | }, { |
| 1883 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1884 | .block_erase = spi_block_erase_c7, |
| 1885 | } |
| 1886 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1887 | .write = spi_chip_write_256, |
| 1888 | .read = spi_chip_read, |
| 1889 | }, |
| 1890 | |
| 1891 | { |
| 1892 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1893 | .name = "EN25D16", |
| 1894 | .bustype = CHIP_BUSTYPE_SPI, |
| 1895 | .manufacture_id = EON_ID_NOPREFIX, |
| 1896 | .model_id = EN_25D16, |
| 1897 | .total_size = 2048, |
| 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 = { {4 * 1024, 512} }, |
| 1906 | .block_erase = spi_block_erase_20, |
| 1907 | }, { |
| 1908 | .eraseblocks = { {64 * 1024, 32} }, |
| 1909 | .block_erase = spi_block_erase_d8, |
| 1910 | }, { |
| 1911 | .eraseblocks = { {64 * 1024, 32} }, |
| 1912 | .block_erase = spi_block_erase_52, |
| 1913 | }, { |
| 1914 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1915 | .block_erase = spi_block_erase_60, |
| 1916 | }, { |
| 1917 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1918 | .block_erase = spi_block_erase_c7, |
| 1919 | } |
| 1920 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1921 | .write = spi_chip_write_256, |
| 1922 | .read = spi_chip_read, |
| 1923 | }, |
| 1924 | |
| 1925 | { |
| 1926 | .vendor = "Eon", |
| 1927 | .name = "EN25F05", |
| 1928 | .bustype = CHIP_BUSTYPE_SPI, |
| 1929 | .manufacture_id = EON_ID_NOPREFIX, |
| 1930 | .model_id = EN_25F05, |
| 1931 | .total_size = 64, |
| 1932 | .page_size = 256, |
| 1933 | .tested = TEST_UNTESTED, |
| 1934 | .probe = probe_spi_rdid, |
| 1935 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1936 | .block_erasers = |
| 1937 | { |
| 1938 | { |
| 1939 | .eraseblocks = { {4 * 1024, 16} }, |
| 1940 | .block_erase = spi_block_erase_20, |
| 1941 | }, { |
| 1942 | .eraseblocks = { {32 * 1024, 2} }, |
| 1943 | .block_erase = spi_block_erase_d8, |
| 1944 | }, { |
| 1945 | .eraseblocks = { {32 * 1024, 2} }, |
| 1946 | .block_erase = spi_block_erase_52, |
| 1947 | }, { |
| 1948 | .eraseblocks = { {64 * 1024, 1} }, |
| 1949 | .block_erase = spi_block_erase_60, |
| 1950 | }, { |
| 1951 | .eraseblocks = { {64 * 1024, 1} }, |
| 1952 | .block_erase = spi_block_erase_c7, |
| 1953 | } |
| 1954 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1955 | .write = spi_chip_write_256, |
| 1956 | .read = spi_chip_read, |
| 1957 | }, |
| 1958 | |
| 1959 | { |
| 1960 | .vendor = "Eon", |
| 1961 | .name = "EN25F10", |
| 1962 | .bustype = CHIP_BUSTYPE_SPI, |
| 1963 | .manufacture_id = EON_ID_NOPREFIX, |
| 1964 | .model_id = EN_25F10, |
| 1965 | .total_size = 128, |
| 1966 | .page_size = 256, |
| 1967 | .tested = TEST_UNTESTED, |
| 1968 | .probe = probe_spi_rdid, |
| 1969 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1970 | .block_erasers = |
| 1971 | { |
| 1972 | { |
| 1973 | .eraseblocks = { {4 * 1024, 32} }, |
| 1974 | .block_erase = spi_block_erase_20, |
| 1975 | }, { |
| 1976 | .eraseblocks = { {32 * 1024, 4} }, |
| 1977 | .block_erase = spi_block_erase_d8, |
| 1978 | }, { |
| 1979 | .eraseblocks = { {32 * 1024, 4} }, |
| 1980 | .block_erase = spi_block_erase_52, |
| 1981 | }, { |
| 1982 | .eraseblocks = { {128 * 1024, 1} }, |
| 1983 | .block_erase = spi_block_erase_60, |
| 1984 | }, { |
| 1985 | .eraseblocks = { {128 * 1024, 1} }, |
| 1986 | .block_erase = spi_block_erase_c7, |
| 1987 | } |
| 1988 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1989 | .write = spi_chip_write_256, |
| 1990 | .read = spi_chip_read, |
| 1991 | }, |
| 1992 | |
| 1993 | { |
| 1994 | .vendor = "Eon", |
| 1995 | .name = "EN25F20", |
| 1996 | .bustype = CHIP_BUSTYPE_SPI, |
| 1997 | .manufacture_id = EON_ID_NOPREFIX, |
| 1998 | .model_id = EN_25F20, |
| 1999 | .total_size = 256, |
| 2000 | .page_size = 256, |
| 2001 | .tested = TEST_UNTESTED, |
| 2002 | .probe = probe_spi_rdid, |
| 2003 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2004 | .block_erasers = |
| 2005 | { |
| 2006 | { |
| 2007 | .eraseblocks = { {4 * 1024, 64} }, |
| 2008 | .block_erase = spi_block_erase_20, |
| 2009 | }, { |
| 2010 | .eraseblocks = { {64 * 1024, 4} }, |
| 2011 | .block_erase = spi_block_erase_d8, |
| 2012 | }, { |
| 2013 | .eraseblocks = { {64 * 1024, 4} }, |
| 2014 | .block_erase = spi_block_erase_52, |
| 2015 | }, { |
| 2016 | .eraseblocks = { {256 * 1024, 1} }, |
| 2017 | .block_erase = spi_block_erase_60, |
| 2018 | }, { |
| 2019 | .eraseblocks = { {256 * 1024, 1} }, |
| 2020 | .block_erase = spi_block_erase_c7, |
| 2021 | } |
| 2022 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2023 | .write = spi_chip_write_256, |
| 2024 | .read = spi_chip_read, |
| 2025 | }, |
| 2026 | |
| 2027 | { |
| 2028 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2029 | .name = "EN25F40", |
| 2030 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2031 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2032 | .model_id = EN_25F40, |
| 2033 | .total_size = 512, |
| 2034 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2035 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2036 | .probe = probe_spi_rdid, |
| 2037 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2038 | .block_erasers = |
| 2039 | { |
| 2040 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2041 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2042 | .block_erase = spi_block_erase_20, |
| 2043 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2044 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2045 | .block_erase = spi_block_erase_d8, |
| 2046 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2047 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2048 | .block_erase = spi_block_erase_60, |
| 2049 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2050 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2051 | .block_erase = spi_block_erase_c7, |
| 2052 | }, |
| 2053 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2054 | .write = spi_chip_write_256, |
| 2055 | .read = spi_chip_read, |
| 2056 | }, |
| 2057 | |
| 2058 | { |
| 2059 | .vendor = "Eon", |
| 2060 | .name = "EN25F80", |
| 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_25F80, |
| 2064 | .total_size = 1024, |
| 2065 | .page_size = 256, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 2066 | .tested = TEST_OK_PR, |
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 | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2069 | .block_erasers = |
| 2070 | { |
| 2071 | { |
| 2072 | .eraseblocks = { {4 * 1024, 256} }, |
| 2073 | .block_erase = spi_block_erase_20, |
| 2074 | }, { |
| 2075 | .eraseblocks = { {64 * 1024, 16} }, |
| 2076 | .block_erase = spi_block_erase_d8, |
| 2077 | }, { |
| 2078 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2079 | .block_erase = spi_block_erase_60, |
| 2080 | }, { |
| 2081 | .eraseblocks = { {1024 * 1024, 1} }, |
| 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 = "EN25F16", |
| 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_25F16, |
| 2095 | .total_size = 2048, |
| 2096 | .page_size = 256, |
| 2097 | .tested = TEST_UNTESTED, |
| 2098 | .probe = probe_spi_rdid, |
| 2099 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2100 | .block_erasers = |
| 2101 | { |
| 2102 | { |
| 2103 | .eraseblocks = { {4 * 1024, 512} }, |
| 2104 | .block_erase = spi_block_erase_20, |
| 2105 | }, { |
| 2106 | .eraseblocks = { {64 * 1024, 32} }, |
| 2107 | .block_erase = spi_block_erase_d8, |
| 2108 | }, { |
| 2109 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2110 | .block_erase = spi_block_erase_60, |
| 2111 | }, { |
| 2112 | .eraseblocks = { {2 * 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 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2121 | .vendor = "Eon", |
| 2122 | .name = "EN25F32", |
| 2123 | .bustype = CHIP_BUSTYPE_SPI, |
| 2124 | .manufacture_id = EON_ID_NOPREFIX, |
| 2125 | .model_id = EN_25F32, |
| 2126 | .total_size = 4096, |
| 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, 1024} }, |
| 2135 | .block_erase = spi_block_erase_20, |
| 2136 | }, { |
| 2137 | .eraseblocks = { {64 * 1024, 64} }, |
| 2138 | .block_erase = spi_block_erase_d8, |
| 2139 | }, { |
| 2140 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2141 | .block_erase = spi_block_erase_60, |
| 2142 | }, { |
| 2143 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2144 | .block_erase = spi_block_erase_c7, |
| 2145 | } |
| 2146 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2147 | .write = spi_chip_write_256, |
| 2148 | .read = spi_chip_read, |
| 2149 | }, |
| 2150 | |
| 2151 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2152 | .vendor = "Eon", |
| 2153 | .name = "EN29F010", |
| 2154 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2155 | .manufacture_id = EON_ID, |
| 2156 | .model_id = EN_29F010, |
| 2157 | .total_size = 128, |
| 2158 | .page_size = 128, |
| 2159 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2160 | .tested = TEST_OK_PREW, |
| 2161 | .probe = probe_jedec, |
| 2162 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2163 | .block_erasers = |
| 2164 | { |
| 2165 | { |
| 2166 | .eraseblocks = { {16 * 1024, 8} }, |
| 2167 | .block_erase = erase_sector_jedec, |
| 2168 | }, |
| 2169 | { |
| 2170 | .eraseblocks = { {128 * 1024, 1} }, |
| 2171 | .block_erase = erase_chip_block_jedec, |
| 2172 | }, |
| 2173 | }, |
| 2174 | .write = write_jedec_1, |
| 2175 | .read = read_memmapped, |
| 2176 | }, |
| 2177 | |
| 2178 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2179 | .vendor = "EON", |
| 2180 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2181 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2182 | .manufacture_id = EON_ID, |
| 2183 | .model_id = EN_29F002B, |
| 2184 | .total_size = 256, |
| 2185 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2186 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2187 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2188 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2189 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2190 | .block_erasers = |
| 2191 | { |
| 2192 | { |
| 2193 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2194 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2195 | {8 * 1024, 2}, |
| 2196 | {32 * 1024, 1}, |
| 2197 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2198 | }, |
| 2199 | .block_erase = erase_sector_jedec, |
| 2200 | }, { |
| 2201 | .eraseblocks = { {256 * 1024, 1} }, |
| 2202 | .block_erase = erase_chip_block_jedec, |
| 2203 | }, |
| 2204 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2205 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2206 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2207 | }, |
| 2208 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2209 | { |
| 2210 | .vendor = "EON", |
| 2211 | .name = "EN29F002(A)(N)T", |
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_29F002T, |
| 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, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +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 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2226 | {32 * 1024, 1}, |
| 2227 | {8 * 1024, 2}, |
| 2228 | {16 * 1024, 1}, |
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 = "Fujitsu", |
| 2242 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2243 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2244 | .manufacture_id = FUJITSU_ID, |
| 2245 | .model_id = MBM29F004BC, |
| 2246 | .total_size = 512, |
| 2247 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2248 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2249 | .tested = TEST_UNTESTED, |
| 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 = { |
| 2256 | {16 * 1024, 1}, |
| 2257 | {8 * 1024, 2}, |
| 2258 | {32 * 1024, 1}, |
| 2259 | {64 * 1024, 7}, |
| 2260 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2261 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2262 | }, { |
| 2263 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2264 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2265 | }, |
| 2266 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2267 | .write = NULL, |
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 = "MBM29F004TC", |
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 = MBM29F004TC, |
| 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 | {64 * 1024, 7}, |
| 2288 | {32 * 1024, 1}, |
| 2289 | {8 * 1024, 2}, |
| 2290 | {16 * 1024, 1}, |
| 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 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2303 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2304 | .vendor = "Fujitsu", |
| 2305 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2306 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2307 | .manufacture_id = FUJITSU_ID, |
| 2308 | .model_id = MBM29F400BC, |
| 2309 | .total_size = 512, |
| 2310 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2311 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2312 | .tested = TEST_UNTESTED, |
| 2313 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2314 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2315 | .block_erasers = |
| 2316 | { |
| 2317 | { |
| 2318 | .eraseblocks = { |
| 2319 | {16 * 1024, 1}, |
| 2320 | {8 * 1024, 2}, |
| 2321 | {32 * 1024, 1}, |
| 2322 | {64 * 1024, 7}, |
| 2323 | }, |
| 2324 | .block_erase = block_erase_m29f400bt, |
| 2325 | }, { |
| 2326 | .eraseblocks = { {512 * 1024, 1} }, |
| 2327 | .block_erase = block_erase_chip_m29f400bt, |
| 2328 | }, |
| 2329 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2330 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2331 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2332 | }, |
| 2333 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2334 | { |
| 2335 | .vendor = "Fujitsu", |
| 2336 | .name = "MBM29F400TC", |
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 = MBM29F400TC, |
| 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 | {64 * 1024, 7}, |
| 2351 | {32 * 1024, 1}, |
| 2352 | {8 * 1024, 2}, |
| 2353 | {16 * 1024, 1}, |
| 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 = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2367 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2368 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2369 | .manufacture_id = INTEL_ID, |
| 2370 | .model_id = P28F001BXB, |
| 2371 | .total_size = 128, |
| 2372 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2373 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2374 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2375 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2376 | .block_erasers = |
| 2377 | { |
| 2378 | { |
| 2379 | .eraseblocks = { |
| 2380 | {8 * 1024, 1}, |
| 2381 | {4 * 1024, 2}, |
| 2382 | {112 * 1024, 1}, |
| 2383 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2384 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2385 | }, |
| 2386 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2387 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2388 | .read = read_memmapped, |
| 2389 | }, |
| 2390 | |
| 2391 | { |
| 2392 | .vendor = "Intel", |
| 2393 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2394 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2395 | .manufacture_id = INTEL_ID, |
| 2396 | .model_id = P28F001BXT, |
| 2397 | .total_size = 128, |
| 2398 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2399 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2400 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2401 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2402 | .block_erasers = |
| 2403 | { |
| 2404 | { |
| 2405 | .eraseblocks = { |
| 2406 | {112 * 1024, 1}, |
| 2407 | {4 * 1024, 2}, |
| 2408 | {8 * 1024, 1}, |
| 2409 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2410 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2411 | }, |
| 2412 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2413 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2414 | .read = read_memmapped, |
| 2415 | }, |
| 2416 | |
| 2417 | { |
| 2418 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2419 | .name = "28F004S5", |
| 2420 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2421 | .manufacture_id = INTEL_ID, |
| 2422 | .model_id = E_28F004S5, |
| 2423 | .total_size = 512, |
| 2424 | .page_size = 256, |
| 2425 | .tested = TEST_UNTESTED, |
| 2426 | .probe = probe_82802ab, |
| 2427 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2428 | .block_erasers = |
| 2429 | { |
| 2430 | { |
| 2431 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2432 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2433 | }, |
| 2434 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2435 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2436 | .write = write_82802ab, |
| 2437 | .read = read_memmapped, |
| 2438 | }, |
| 2439 | |
| 2440 | { |
| 2441 | .vendor = "Intel", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 2442 | .name = "28F004BV/BE-B", |
| 2443 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2444 | .manufacture_id = INTEL_ID, |
| 2445 | .model_id = P28F004BB, |
| 2446 | .total_size = 512, |
| 2447 | .page_size = 128 * 1024, /* maximal block size */ |
| 2448 | .tested = TEST_UNTESTED, |
| 2449 | .probe = probe_82802ab, |
| 2450 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2451 | .block_erasers = |
| 2452 | { |
| 2453 | { |
| 2454 | .eraseblocks = { |
| 2455 | {16 * 1024, 1}, |
| 2456 | {8 * 1024, 2}, |
| 2457 | {96 * 1024, 1}, |
| 2458 | {128 * 1024, 3}, |
| 2459 | }, |
| 2460 | .block_erase = erase_block_82802ab, |
| 2461 | }, |
| 2462 | }, |
| 2463 | .write = write_82802ab, |
| 2464 | .read = read_memmapped, |
| 2465 | }, |
| 2466 | |
| 2467 | { |
| 2468 | .vendor = "Intel", |
| 2469 | .name = "28F004BV/BE-T", |
| 2470 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2471 | .manufacture_id = INTEL_ID, |
| 2472 | .model_id = P28F004BT, |
| 2473 | .total_size = 512, |
| 2474 | .page_size = 128 * 1024, /* maximal block size */ |
| 2475 | .tested = TEST_UNTESTED, |
| 2476 | .probe = probe_82802ab, |
| 2477 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2478 | .block_erasers = |
| 2479 | { |
| 2480 | { |
| 2481 | .eraseblocks = { |
| 2482 | {128 * 1024, 3}, |
| 2483 | {96 * 1024, 1}, |
| 2484 | {8 * 1024, 2}, |
| 2485 | {16 * 1024, 1}, |
| 2486 | }, |
| 2487 | .block_erase = erase_block_82802ab, |
| 2488 | }, |
| 2489 | }, |
| 2490 | .write = write_82802ab, |
| 2491 | .read = read_memmapped, |
| 2492 | }, |
| 2493 | |
| 2494 | { |
| 2495 | .vendor = "Intel", |
| 2496 | .name = "28F400BV/CV/CE-B", |
| 2497 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2498 | .manufacture_id = INTEL_ID, |
| 2499 | .model_id = P28F400BB, |
| 2500 | .total_size = 512, |
| 2501 | .page_size = 128 * 1024, /* maximal block size */ |
| 2502 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2503 | .tested = TEST_UNTESTED, |
| 2504 | .probe = probe_82802ab, |
| 2505 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2506 | .block_erasers = |
| 2507 | { |
| 2508 | { |
| 2509 | .eraseblocks = { |
| 2510 | {16 * 1024, 1}, |
| 2511 | {8 * 1024, 2}, |
| 2512 | {96 * 1024, 1}, |
| 2513 | {128 * 1024, 3}, |
| 2514 | }, |
| 2515 | .block_erase = erase_block_82802ab, |
| 2516 | }, |
| 2517 | }, |
| 2518 | .write = write_82802ab, |
| 2519 | .read = read_memmapped, |
| 2520 | }, |
| 2521 | |
| 2522 | { |
| 2523 | .vendor = "Intel", |
| 2524 | .name = "28F400BV/CV/CE-T", |
| 2525 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2526 | .manufacture_id = INTEL_ID, |
| 2527 | .model_id = P28F400BT, |
| 2528 | .total_size = 512, |
| 2529 | .page_size = 128 * 1024, /* maximal block size */ |
| 2530 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 2531 | .tested = TEST_UNTESTED, |
| 2532 | .probe = probe_82802ab, |
| 2533 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2534 | .block_erasers = |
| 2535 | { |
| 2536 | { |
| 2537 | .eraseblocks = { |
| 2538 | {128 * 1024, 3}, |
| 2539 | {96 * 1024, 1}, |
| 2540 | {8 * 1024, 2}, |
| 2541 | {16 * 1024, 1}, |
| 2542 | }, |
| 2543 | .block_erase = erase_block_82802ab, |
| 2544 | }, |
| 2545 | }, |
| 2546 | .write = write_82802ab, |
| 2547 | .read = read_memmapped, |
| 2548 | }, |
| 2549 | |
| 2550 | { |
| 2551 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2552 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2553 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2554 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2555 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2556 | .total_size = 512, |
| 2557 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2558 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2559 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2560 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2561 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2562 | .block_erasers = |
| 2563 | { |
| 2564 | { |
| 2565 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2566 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2567 | }, |
| 2568 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2569 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2570 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2571 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2572 | }, |
| 2573 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2574 | { |
| 2575 | .vendor = "Intel", |
| 2576 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2577 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2578 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2579 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2580 | .total_size = 1024, |
| 2581 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2582 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2583 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2584 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2585 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2586 | .block_erasers = |
| 2587 | { |
| 2588 | { |
| 2589 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2590 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2591 | }, |
| 2592 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2593 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2594 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2595 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2596 | }, |
| 2597 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2598 | { |
| 2599 | .vendor = "Macronix", |
| 2600 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2601 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2602 | .manufacture_id = MX_ID, |
| 2603 | .model_id = MX_25L512, |
| 2604 | .total_size = 64, |
| 2605 | .page_size = 256, |
| 2606 | .tested = TEST_UNTESTED, |
| 2607 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2608 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2609 | .block_erasers = |
| 2610 | { |
| 2611 | { |
| 2612 | .eraseblocks = { {4 * 1024, 16} }, |
| 2613 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2614 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2615 | .eraseblocks = { {64 * 1024, 1} }, |
| 2616 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2617 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2618 | .eraseblocks = { {64 * 1024, 1} }, |
| 2619 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2620 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2621 | .eraseblocks = { {64 * 1024, 1} }, |
| 2622 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2623 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2624 | .eraseblocks = { {64 * 1024, 1} }, |
| 2625 | .block_erase = spi_block_erase_c7, |
| 2626 | }, |
| 2627 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2628 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2629 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2630 | }, |
| 2631 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2632 | { |
| 2633 | .vendor = "Macronix", |
| 2634 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2635 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2636 | .manufacture_id = MX_ID, |
| 2637 | .model_id = MX_25L1005, |
| 2638 | .total_size = 128, |
| 2639 | .page_size = 256, |
| 2640 | .tested = TEST_UNTESTED, |
| 2641 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2642 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2643 | .block_erasers = |
| 2644 | { |
| 2645 | { |
| 2646 | .eraseblocks = { {4 * 1024, 32} }, |
| 2647 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2648 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2649 | .eraseblocks = { {64 * 1024, 2} }, |
| 2650 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2651 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2652 | .eraseblocks = { {128 * 1024, 1} }, |
| 2653 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2654 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2655 | .eraseblocks = { {128 * 1024, 1} }, |
| 2656 | .block_erase = spi_block_erase_c7, |
| 2657 | }, |
| 2658 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2659 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2660 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2661 | }, |
| 2662 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2663 | { |
| 2664 | .vendor = "Macronix", |
| 2665 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2666 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2667 | .manufacture_id = MX_ID, |
| 2668 | .model_id = MX_25L2005, |
| 2669 | .total_size = 256, |
| 2670 | .page_size = 256, |
| 2671 | .tested = TEST_UNTESTED, |
| 2672 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2673 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2674 | .block_erasers = |
| 2675 | { |
| 2676 | { |
| 2677 | .eraseblocks = { {4 * 1024, 64} }, |
| 2678 | .block_erase = spi_block_erase_20, |
| 2679 | }, { |
| 2680 | .eraseblocks = { {64 * 1024, 4} }, |
| 2681 | .block_erase = spi_block_erase_52, |
| 2682 | }, { |
| 2683 | .eraseblocks = { {64 * 1024, 4} }, |
| 2684 | .block_erase = spi_block_erase_d8, |
| 2685 | }, { |
| 2686 | .eraseblocks = { {256 * 1024, 1} }, |
| 2687 | .block_erase = spi_block_erase_60, |
| 2688 | }, { |
| 2689 | .eraseblocks = { {256 * 1024, 1} }, |
| 2690 | .block_erase = spi_block_erase_c7, |
| 2691 | }, |
| 2692 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2693 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2694 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2695 | }, |
| 2696 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2697 | { |
| 2698 | .vendor = "Macronix", |
| 2699 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2700 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2701 | .manufacture_id = MX_ID, |
| 2702 | .model_id = MX_25L4005, |
| 2703 | .total_size = 512, |
| 2704 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2705 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2706 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2707 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2708 | .block_erasers = |
| 2709 | { |
| 2710 | { |
| 2711 | .eraseblocks = { {4 * 1024, 128} }, |
| 2712 | .block_erase = spi_block_erase_20, |
| 2713 | }, { |
| 2714 | .eraseblocks = { {64 * 1024, 8} }, |
| 2715 | .block_erase = spi_block_erase_52, |
| 2716 | }, { |
| 2717 | .eraseblocks = { {64 * 1024, 8} }, |
| 2718 | .block_erase = spi_block_erase_d8, |
| 2719 | }, { |
| 2720 | .eraseblocks = { {512 * 1024, 1} }, |
| 2721 | .block_erase = spi_block_erase_60, |
| 2722 | }, { |
| 2723 | .eraseblocks = { {512 * 1024, 1} }, |
| 2724 | .block_erase = spi_block_erase_c7, |
| 2725 | }, |
| 2726 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2727 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2728 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2729 | }, |
| 2730 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2731 | { |
| 2732 | .vendor = "Macronix", |
| 2733 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2734 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2735 | .manufacture_id = MX_ID, |
| 2736 | .model_id = MX_25L8005, |
| 2737 | .total_size = 1024, |
| 2738 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2739 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2740 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2741 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2742 | .block_erasers = |
| 2743 | { |
| 2744 | { |
| 2745 | .eraseblocks = { {4 * 1024, 256} }, |
| 2746 | .block_erase = spi_block_erase_20, |
| 2747 | }, { |
| 2748 | .eraseblocks = { {64 * 1024, 16} }, |
| 2749 | .block_erase = spi_block_erase_52, |
| 2750 | }, { |
| 2751 | .eraseblocks = { {64 * 1024, 16} }, |
| 2752 | .block_erase = spi_block_erase_d8, |
| 2753 | }, { |
| 2754 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2755 | .block_erase = spi_block_erase_60, |
| 2756 | }, { |
| 2757 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2758 | .block_erase = spi_block_erase_c7, |
| 2759 | }, |
| 2760 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2761 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2762 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2763 | }, |
| 2764 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2765 | { |
| 2766 | .vendor = "Macronix", |
| 2767 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2768 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2769 | .manufacture_id = MX_ID, |
| 2770 | .model_id = MX_25L1605, |
| 2771 | .total_size = 2048, |
| 2772 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2773 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2774 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2775 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2776 | .block_erasers = |
| 2777 | { |
| 2778 | { |
| 2779 | .eraseblocks = { {4 * 1024, 512} }, |
| 2780 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2781 | }, { |
| 2782 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 2783 | .block_erase = spi_block_erase_52, |
| 2784 | }, { |
| 2785 | .eraseblocks = { {64 * 1024, 32} }, |
| 2786 | .block_erase = spi_block_erase_d8, |
| 2787 | }, { |
| 2788 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2789 | .block_erase = spi_block_erase_60, |
| 2790 | }, { |
| 2791 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2792 | .block_erase = spi_block_erase_c7, |
| 2793 | }, |
| 2794 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2795 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2796 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2797 | }, |
| 2798 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2799 | { |
| 2800 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2801 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2802 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2803 | .manufacture_id = MX_ID, |
| 2804 | .model_id = MX_25L1635D, |
| 2805 | .total_size = 2048, |
| 2806 | .page_size = 256, |
| 2807 | .tested = TEST_UNTESTED, |
| 2808 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2809 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2810 | .block_erasers = |
| 2811 | { |
| 2812 | { |
| 2813 | .eraseblocks = { {4 * 1024, 512} }, |
| 2814 | .block_erase = spi_block_erase_20, |
| 2815 | }, { |
| 2816 | .eraseblocks = { {64 * 1024, 32} }, |
| 2817 | .block_erase = spi_block_erase_d8, |
| 2818 | }, { |
| 2819 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2820 | .block_erase = spi_block_erase_60, |
| 2821 | }, { |
| 2822 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2823 | .block_erase = spi_block_erase_c7, |
| 2824 | } |
| 2825 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2826 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2827 | .read = spi_chip_read, |
| 2828 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 2829 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2830 | { |
| 2831 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2832 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2833 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2834 | .manufacture_id = MX_ID, |
| 2835 | .model_id = MX_25L3205, |
| 2836 | .total_size = 4096, |
| 2837 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2838 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2839 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2840 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2841 | .block_erasers = |
| 2842 | { |
| 2843 | { |
| 2844 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2845 | .block_erase = spi_block_erase_20, |
| 2846 | }, { |
| 2847 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2848 | .block_erase = spi_block_erase_d8, |
| 2849 | }, { |
| 2850 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2851 | .block_erase = spi_block_erase_60, |
| 2852 | }, { |
| 2853 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2854 | .block_erase = spi_block_erase_c7, |
| 2855 | }, |
| 2856 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2857 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2858 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2859 | }, |
| 2860 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2861 | { |
| 2862 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2863 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2864 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2865 | .manufacture_id = MX_ID, |
| 2866 | .model_id = MX_25L3235D, |
| 2867 | .total_size = 4096, |
| 2868 | .page_size = 256, |
| 2869 | .tested = TEST_UNTESTED, |
| 2870 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2871 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2872 | .block_erasers = |
| 2873 | { |
| 2874 | { |
| 2875 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2876 | .block_erase = spi_block_erase_20, |
| 2877 | }, { |
| 2878 | .eraseblocks = { {64 * 1024, 64} }, |
| 2879 | .block_erase = spi_block_erase_d8, |
| 2880 | }, { |
| 2881 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2882 | .block_erase = spi_block_erase_60, |
| 2883 | }, { |
| 2884 | .eraseblocks = { {4 * 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 | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2889 | .read = spi_chip_read, |
| 2890 | }, |
| 2891 | |
| 2892 | { |
| 2893 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2894 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2895 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2896 | .manufacture_id = MX_ID, |
| 2897 | .model_id = MX_25L6405, |
| 2898 | .total_size = 8192, |
| 2899 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 2900 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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 = { {64 * 1024, 128} }, |
| 2907 | .block_erase = spi_block_erase_20, |
| 2908 | }, { |
| 2909 | .eraseblocks = { {64 * 1024, 128} }, |
| 2910 | .block_erase = spi_block_erase_d8, |
| 2911 | }, { |
| 2912 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2913 | .block_erase = spi_block_erase_60, |
| 2914 | }, { |
| 2915 | .eraseblocks = { {8 * 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 | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2920 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2921 | }, |
| 2922 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2923 | { |
| 2924 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2925 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2926 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2927 | .manufacture_id = MX_ID, |
| 2928 | .model_id = MX_25L12805, |
| 2929 | .total_size = 16384, |
| 2930 | .page_size = 256, |
| 2931 | .tested = TEST_UNTESTED, |
| 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 | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2934 | .block_erasers = |
| 2935 | { |
| 2936 | { |
| 2937 | .eraseblocks = { {4 * 1024, 4096} }, |
| 2938 | .block_erase = spi_block_erase_20, |
| 2939 | }, { |
| 2940 | .eraseblocks = { {64 * 1024, 256} }, |
| 2941 | .block_erase = spi_block_erase_d8, |
| 2942 | }, { |
| 2943 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2944 | .block_erase = spi_block_erase_60, |
| 2945 | }, { |
| 2946 | .eraseblocks = { {16 * 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 | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2951 | .read = spi_chip_read, |
| 2952 | }, |
| 2953 | |
| 2954 | { |
| 2955 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2956 | .name = "MX29F001B", |
| 2957 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2958 | .manufacture_id = MX_ID, |
| 2959 | .model_id = MX_29F001B, |
| 2960 | .total_size = 128, |
| 2961 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2962 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2963 | .tested = TEST_UNTESTED, |
| 2964 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2965 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2966 | .block_erasers = |
| 2967 | { |
| 2968 | { |
| 2969 | .eraseblocks = { |
| 2970 | {8 * 1024, 1}, |
| 2971 | {4 * 1024, 2}, |
| 2972 | {8 * 1024, 2}, |
| 2973 | {32 * 1024, 1}, |
| 2974 | {64 * 1024, 1}, |
| 2975 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2976 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2977 | }, { |
| 2978 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2979 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2980 | } |
| 2981 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2982 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2983 | .read = read_memmapped, |
| 2984 | }, |
| 2985 | |
| 2986 | { |
| 2987 | .vendor = "Macronix", |
| 2988 | .name = "MX29F001T", |
| 2989 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2990 | .manufacture_id = MX_ID, |
| 2991 | .model_id = MX_29F001T, |
| 2992 | .total_size = 128, |
| 2993 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2994 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2995 | .tested = TEST_UNTESTED, |
| 2996 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2997 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2998 | .block_erasers = |
| 2999 | { |
| 3000 | { |
| 3001 | .eraseblocks = { |
| 3002 | {64 * 1024, 1}, |
| 3003 | {32 * 1024, 1}, |
| 3004 | {8 * 1024, 2}, |
| 3005 | {4 * 1024, 2}, |
| 3006 | {8 * 1024, 1}, |
| 3007 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3008 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3009 | }, { |
| 3010 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3011 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3012 | } |
| 3013 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3014 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3015 | .read = read_memmapped, |
| 3016 | }, |
| 3017 | |
| 3018 | { |
| 3019 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3020 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3021 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3022 | .manufacture_id = MX_ID, |
| 3023 | .model_id = MX_29F002B, |
| 3024 | .total_size = 256, |
| 3025 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3026 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3027 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3028 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3029 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3030 | .block_erasers = |
| 3031 | { |
| 3032 | { |
| 3033 | .eraseblocks = { |
| 3034 | {16 * 1024, 1}, |
| 3035 | {8 * 1024, 2}, |
| 3036 | {32 * 1024, 1}, |
| 3037 | {64 * 1024, 3}, |
| 3038 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3039 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3040 | }, { |
| 3041 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3042 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3043 | }, |
| 3044 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3045 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3046 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3047 | }, |
| 3048 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3049 | { |
| 3050 | .vendor = "Macronix", |
| 3051 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3052 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3053 | .manufacture_id = MX_ID, |
| 3054 | .model_id = MX_29F002T, |
| 3055 | .total_size = 256, |
| 3056 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3057 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3058 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3059 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3060 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3061 | .block_erasers = |
| 3062 | { |
| 3063 | { |
| 3064 | .eraseblocks = { |
| 3065 | {64 * 1024, 3}, |
| 3066 | {32 * 1024, 1}, |
| 3067 | {8 * 1024, 2}, |
| 3068 | {16 * 1024, 1}, |
| 3069 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3070 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3071 | }, { |
| 3072 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3073 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3074 | }, |
| 3075 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3076 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3077 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3078 | }, |
| 3079 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3080 | { |
| 3081 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3082 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3083 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3084 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3085 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3086 | .total_size = 512, |
| 3087 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3088 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3089 | .tested = TEST_UNTESTED, |
| 3090 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3091 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3092 | .block_erasers = |
| 3093 | { |
| 3094 | { |
| 3095 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3096 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3097 | }, { |
| 3098 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3099 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3100 | }, |
| 3101 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3102 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3103 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3104 | }, |
| 3105 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3106 | { |
| 3107 | .vendor = "Numonyx", |
| 3108 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3109 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3110 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3111 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3112 | .total_size = 128, |
| 3113 | .page_size = 256, |
| 3114 | .tested = TEST_UNTESTED, |
| 3115 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3116 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3117 | .block_erasers = |
| 3118 | { |
| 3119 | { |
| 3120 | .eraseblocks = { {4 * 1024, 32} }, |
| 3121 | .block_erase = spi_block_erase_20, |
| 3122 | }, { |
| 3123 | .eraseblocks = { {64 * 1024, 2} }, |
| 3124 | .block_erase = spi_block_erase_d8, |
| 3125 | }, { |
| 3126 | .eraseblocks = { {128 * 1024, 1} }, |
| 3127 | .block_erase = spi_block_erase_c7, |
| 3128 | } |
| 3129 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3130 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3131 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3132 | }, |
| 3133 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3134 | { |
| 3135 | .vendor = "Numonyx", |
| 3136 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3137 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3138 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3139 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3140 | .total_size = 256, |
| 3141 | .page_size = 256, |
| 3142 | .tested = TEST_UNTESTED, |
| 3143 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3144 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3145 | .block_erasers = |
| 3146 | { |
| 3147 | { |
| 3148 | .eraseblocks = { {4 * 1024, 64} }, |
| 3149 | .block_erase = spi_block_erase_20, |
| 3150 | }, { |
| 3151 | .eraseblocks = { {64 * 1024, 4} }, |
| 3152 | .block_erase = spi_block_erase_d8, |
| 3153 | }, { |
| 3154 | .eraseblocks = { {256 * 1024, 1} }, |
| 3155 | .block_erase = spi_block_erase_c7, |
| 3156 | } |
| 3157 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3158 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3159 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3160 | }, |
| 3161 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3162 | { |
| 3163 | .vendor = "Numonyx", |
| 3164 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3165 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3166 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3167 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3168 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3169 | .page_size = 256, |
| 3170 | .tested = TEST_UNTESTED, |
| 3171 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3172 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3173 | .block_erasers = |
| 3174 | { |
| 3175 | { |
| 3176 | .eraseblocks = { {4 * 1024, 128} }, |
| 3177 | .block_erase = spi_block_erase_20, |
| 3178 | }, { |
| 3179 | .eraseblocks = { {64 * 1024, 8} }, |
| 3180 | .block_erase = spi_block_erase_d8, |
| 3181 | }, { |
| 3182 | .eraseblocks = { {512 * 1024, 1} }, |
| 3183 | .block_erase = spi_block_erase_c7, |
| 3184 | } |
| 3185 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3186 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3187 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3188 | }, |
| 3189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3190 | { |
| 3191 | .vendor = "Numonyx", |
| 3192 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3193 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3194 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3195 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3196 | .total_size = 1024, |
| 3197 | .page_size = 256, |
| 3198 | .tested = TEST_OK_PREW, |
| 3199 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3200 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3201 | .block_erasers = |
| 3202 | { |
| 3203 | { |
| 3204 | .eraseblocks = { {4 * 1024, 256} }, |
| 3205 | .block_erase = spi_block_erase_20, |
| 3206 | }, { |
| 3207 | .eraseblocks = { {64 * 1024, 16} }, |
| 3208 | .block_erase = spi_block_erase_d8, |
| 3209 | }, { |
| 3210 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3211 | .block_erase = spi_block_erase_c7, |
| 3212 | } |
| 3213 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3214 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3215 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3216 | }, |
| 3217 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3218 | { |
| 3219 | .vendor = "Numonyx", |
| 3220 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3221 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3222 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3223 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3224 | .total_size = 2048, |
| 3225 | .page_size = 256, |
| 3226 | .tested = TEST_UNTESTED, |
| 3227 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3228 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3229 | .block_erasers = |
| 3230 | { |
| 3231 | { |
| 3232 | .eraseblocks = { {4 * 1024, 512} }, |
| 3233 | .block_erase = spi_block_erase_20, |
| 3234 | }, { |
| 3235 | .eraseblocks = { {64 * 1024, 32} }, |
| 3236 | .block_erase = spi_block_erase_d8, |
| 3237 | }, { |
| 3238 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3239 | .block_erase = spi_block_erase_c7, |
| 3240 | } |
| 3241 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3242 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3243 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3244 | }, |
| 3245 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3246 | { |
| 3247 | .vendor = "PMC", |
| 3248 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3249 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3250 | .manufacture_id = PMC_ID, |
| 3251 | .model_id = PMC_25LV010, |
| 3252 | .total_size = 128, |
| 3253 | .page_size = 256, |
| 3254 | .tested = TEST_UNTESTED, |
| 3255 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3256 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3257 | .block_erasers = |
| 3258 | { |
| 3259 | { |
| 3260 | .eraseblocks = { {4 * 1024, 32} }, |
| 3261 | .block_erase = spi_block_erase_d7, |
| 3262 | }, { |
| 3263 | .eraseblocks = { {32 * 1024, 4} }, |
| 3264 | .block_erase = spi_block_erase_d8, |
| 3265 | }, { |
| 3266 | .eraseblocks = { {128 * 1024, 1} }, |
| 3267 | .block_erase = spi_block_erase_c7, |
| 3268 | } |
| 3269 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3270 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3271 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3272 | }, |
| 3273 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3274 | { |
| 3275 | .vendor = "PMC", |
| 3276 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3277 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3278 | .manufacture_id = PMC_ID, |
| 3279 | .model_id = PMC_25LV016B, |
| 3280 | .total_size = 2048, |
| 3281 | .page_size = 256, |
| 3282 | .tested = TEST_UNTESTED, |
| 3283 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3284 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3285 | .block_erasers = |
| 3286 | { |
| 3287 | { |
| 3288 | .eraseblocks = { {4 * 1024, 512} }, |
| 3289 | .block_erase = spi_block_erase_d7, |
| 3290 | }, { |
| 3291 | .eraseblocks = { {4 * 1024, 512} }, |
| 3292 | .block_erase = spi_block_erase_20, |
| 3293 | }, { |
| 3294 | .eraseblocks = { {64 * 1024, 32} }, |
| 3295 | .block_erase = spi_block_erase_d8, |
| 3296 | }, { |
| 3297 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3298 | .block_erase = spi_block_erase_60, |
| 3299 | }, { |
| 3300 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3301 | .block_erase = spi_block_erase_c7, |
| 3302 | } |
| 3303 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3304 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3305 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3306 | }, |
| 3307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3308 | { |
| 3309 | .vendor = "PMC", |
| 3310 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3311 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3312 | .manufacture_id = PMC_ID, |
| 3313 | .model_id = PMC_25LV020, |
| 3314 | .total_size = 256, |
| 3315 | .page_size = 256, |
| 3316 | .tested = TEST_UNTESTED, |
| 3317 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3318 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3319 | .block_erasers = |
| 3320 | { |
| 3321 | { |
| 3322 | .eraseblocks = { {4 * 1024, 64} }, |
| 3323 | .block_erase = spi_block_erase_d7, |
| 3324 | }, { |
| 3325 | .eraseblocks = { {64 * 1024, 4} }, |
| 3326 | .block_erase = spi_block_erase_d8, |
| 3327 | }, { |
| 3328 | .eraseblocks = { {256 * 1024, 1} }, |
| 3329 | .block_erase = spi_block_erase_c7, |
| 3330 | } |
| 3331 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3332 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3333 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3334 | }, |
| 3335 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3336 | { |
| 3337 | .vendor = "PMC", |
| 3338 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3339 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3340 | .manufacture_id = PMC_ID, |
| 3341 | .model_id = PMC_25LV040, |
| 3342 | .total_size = 512, |
| 3343 | .page_size = 256, |
| 3344 | .tested = TEST_UNTESTED, |
| 3345 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3346 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3347 | .block_erasers = |
| 3348 | { |
| 3349 | { |
| 3350 | .eraseblocks = { {4 * 1024, 128} }, |
| 3351 | .block_erase = spi_block_erase_d7, |
| 3352 | }, { |
| 3353 | .eraseblocks = { {64 * 1024, 8} }, |
| 3354 | .block_erase = spi_block_erase_d8, |
| 3355 | }, { |
| 3356 | .eraseblocks = { {512 * 1024, 1} }, |
| 3357 | .block_erase = spi_block_erase_c7, |
| 3358 | } |
| 3359 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3360 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3361 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3362 | }, |
| 3363 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3364 | { |
| 3365 | .vendor = "PMC", |
| 3366 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3367 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3368 | .manufacture_id = PMC_ID, |
| 3369 | .model_id = PMC_25LV080B, |
| 3370 | .total_size = 1024, |
| 3371 | .page_size = 256, |
| 3372 | .tested = TEST_UNTESTED, |
| 3373 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3374 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3375 | .block_erasers = |
| 3376 | { |
| 3377 | { |
| 3378 | .eraseblocks = { {4 * 1024, 256} }, |
| 3379 | .block_erase = spi_block_erase_d7, |
| 3380 | }, { |
| 3381 | .eraseblocks = { {4 * 1024, 256} }, |
| 3382 | .block_erase = spi_block_erase_20, |
| 3383 | }, { |
| 3384 | .eraseblocks = { {64 * 1024, 16} }, |
| 3385 | .block_erase = spi_block_erase_d8, |
| 3386 | }, { |
| 3387 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3388 | .block_erase = spi_block_erase_60, |
| 3389 | }, { |
| 3390 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3391 | .block_erase = spi_block_erase_c7, |
| 3392 | } |
| 3393 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3394 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3395 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3396 | }, |
| 3397 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3398 | { |
| 3399 | .vendor = "PMC", |
| 3400 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3401 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3402 | .manufacture_id = PMC_ID, |
| 3403 | .model_id = PMC_25LV512, |
| 3404 | .total_size = 64, |
| 3405 | .page_size = 256, |
| 3406 | .tested = TEST_UNTESTED, |
| 3407 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3408 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3409 | .block_erasers = |
| 3410 | { |
| 3411 | { |
| 3412 | .eraseblocks = { {4 * 1024, 16} }, |
| 3413 | .block_erase = spi_block_erase_d7, |
| 3414 | }, { |
| 3415 | .eraseblocks = { {32 * 1024, 2} }, |
| 3416 | .block_erase = spi_block_erase_d8, |
| 3417 | }, { |
| 3418 | .eraseblocks = { {64 * 1024, 1} }, |
| 3419 | .block_erase = spi_block_erase_c7, |
| 3420 | } |
| 3421 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3422 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3423 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3424 | }, |
| 3425 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3426 | { |
| 3427 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3428 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3429 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3430 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3431 | .model_id = PMC_29F002T, |
| 3432 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3433 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3434 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3435 | .tested = TEST_UNTESTED, |
| 3436 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3437 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3438 | .block_erasers = |
| 3439 | { |
| 3440 | { |
| 3441 | .eraseblocks = { |
| 3442 | {128 * 1024, 1}, |
| 3443 | {96 * 1024, 1}, |
| 3444 | {8 * 1024, 2}, |
| 3445 | {16 * 1024, 1}, |
| 3446 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3447 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3448 | }, { |
| 3449 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3450 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3451 | }, |
| 3452 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3453 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3454 | .read = read_memmapped, |
| 3455 | }, |
| 3456 | |
| 3457 | { |
| 3458 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3459 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3460 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3461 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3462 | .model_id = PMC_29F002B, |
| 3463 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3464 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3465 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3466 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3467 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3468 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3469 | .block_erasers = |
| 3470 | { |
| 3471 | { |
| 3472 | .eraseblocks = { |
| 3473 | {16 * 1024, 1}, |
| 3474 | {8 * 1024, 2}, |
| 3475 | {96 * 1024, 1}, |
| 3476 | {128 * 1024, 1}, |
| 3477 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3478 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3479 | }, { |
| 3480 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3481 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3482 | }, |
| 3483 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3484 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3485 | .read = read_memmapped, |
| 3486 | }, |
| 3487 | |
| 3488 | { |
| 3489 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3490 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3491 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3492 | .manufacture_id = PMC_ID_NOPREFIX, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3493 | .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] | 3494 | .total_size = 128, |
| 3495 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3496 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 3497 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3498 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3499 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3500 | .block_erasers = |
| 3501 | { |
| 3502 | { |
| 3503 | .eraseblocks = { {4 * 1024, 32} }, |
| 3504 | .block_erase = erase_sector_jedec, |
| 3505 | }, { |
| 3506 | .eraseblocks = { {64 * 1024, 2} }, |
| 3507 | .block_erase = erase_block_jedec, |
| 3508 | }, { |
| 3509 | .eraseblocks = { {128 * 1024, 1} }, |
| 3510 | .block_erase = erase_chip_block_jedec, |
| 3511 | } |
| 3512 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3513 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3514 | .read = read_memmapped, |
| 3515 | }, |
| 3516 | |
| 3517 | { |
| 3518 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 3519 | .name = "Pm39LV020", |
| 3520 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3521 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3522 | .model_id = PMC_39LV020, |
| 3523 | .total_size = 256, |
| 3524 | .page_size = 4096, |
| 3525 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3526 | .tested = TEST_UNTESTED, |
| 3527 | .probe = probe_jedec, |
| 3528 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3529 | .block_erasers = |
| 3530 | { |
| 3531 | { |
| 3532 | .eraseblocks = { {4 * 1024, 64} }, |
| 3533 | .block_erase = erase_sector_jedec, |
| 3534 | }, { |
| 3535 | .eraseblocks = { {64 * 1024, 4} }, |
| 3536 | .block_erase = erase_block_jedec, |
| 3537 | }, { |
| 3538 | .eraseblocks = { {256 * 1024, 1} }, |
| 3539 | .block_erase = erase_chip_block_jedec, |
| 3540 | } |
| 3541 | }, |
| 3542 | .write = write_jedec_1, |
| 3543 | .read = read_memmapped, |
| 3544 | }, |
| 3545 | |
| 3546 | { |
| 3547 | .vendor = "PMC", |
| 3548 | .name = "Pm39LV040", |
| 3549 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3550 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3551 | .model_id = PMC_39LV040, |
| 3552 | .total_size = 512, |
| 3553 | .page_size = 4096, |
| 3554 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3555 | .tested = TEST_UNTESTED, |
| 3556 | .probe = probe_jedec, |
| 3557 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3558 | .block_erasers = |
| 3559 | { |
| 3560 | { |
| 3561 | .eraseblocks = { {4 * 1024, 128} }, |
| 3562 | .block_erase = erase_sector_jedec, |
| 3563 | }, { |
| 3564 | .eraseblocks = { {64 * 1024, 8} }, |
| 3565 | .block_erase = erase_block_jedec, |
| 3566 | }, { |
| 3567 | .eraseblocks = { {512 * 1024, 1} }, |
| 3568 | .block_erase = erase_chip_block_jedec, |
| 3569 | } |
| 3570 | }, |
| 3571 | .write = write_jedec_1, |
| 3572 | .read = read_memmapped, |
| 3573 | }, |
| 3574 | |
| 3575 | { |
| 3576 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3577 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3578 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3579 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3580 | .model_id = PMC_49FL002, |
| 3581 | .total_size = 256, |
| 3582 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3583 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 3584 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3585 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3586 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3587 | .block_erasers = |
| 3588 | { |
| 3589 | { |
| 3590 | .eraseblocks = { {4 * 1024, 64} }, |
| 3591 | .block_erase = erase_sector_jedec, |
| 3592 | }, { |
| 3593 | .eraseblocks = { {16 * 1024, 16} }, |
| 3594 | .block_erase = erase_block_jedec, |
| 3595 | }, { |
| 3596 | .eraseblocks = { {256 * 1024, 1} }, |
| 3597 | .block_erase = erase_chip_block_jedec, |
| 3598 | } |
| 3599 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 3600 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 3601 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3602 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3603 | }, |
| 3604 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3605 | { |
| 3606 | .vendor = "PMC", |
| 3607 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3608 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3609 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3610 | .model_id = PMC_49FL004, |
| 3611 | .total_size = 512, |
| 3612 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3613 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 3614 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3615 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3616 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3617 | .block_erasers = |
| 3618 | { |
| 3619 | { |
| 3620 | .eraseblocks = { {4 * 1024, 128} }, |
| 3621 | .block_erase = erase_sector_jedec, |
| 3622 | }, { |
| 3623 | .eraseblocks = { {64 * 1024, 8} }, |
| 3624 | .block_erase = erase_block_jedec, |
| 3625 | }, { |
| 3626 | .eraseblocks = { {512 * 1024, 1} }, |
| 3627 | .block_erase = erase_chip_block_jedec, |
| 3628 | } |
| 3629 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 3630 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 3631 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3632 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3633 | }, |
| 3634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3635 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3636 | .vendor = "Sanyo", |
| 3637 | .name = "LF25FW203A", |
| 3638 | .bustype = CHIP_BUSTYPE_SPI, |
| 3639 | .manufacture_id = SANYO_ID, |
| 3640 | .model_id = SANYO_LE25FW203A, |
| 3641 | .total_size = 2048, |
| 3642 | .page_size = 256, |
| 3643 | .tested = TEST_UNTESTED, |
| 3644 | .probe = probe_spi_rdid, |
| 3645 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3646 | .block_erasers = |
| 3647 | { |
| 3648 | { |
| 3649 | .eraseblocks = { {64 * 1024, 32} }, |
| 3650 | .block_erase = spi_block_erase_d8, |
| 3651 | }, { |
| 3652 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3653 | .block_erase = spi_block_erase_c7, |
| 3654 | } |
| 3655 | }, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3656 | .write = spi_chip_write_256, |
| 3657 | .read = spi_chip_read, |
| 3658 | }, |
| 3659 | |
| 3660 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3661 | .vendor = "Sharp", |
| 3662 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3663 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3664 | .manufacture_id = SHARP_ID, |
| 3665 | .model_id = SHARP_LHF00L04, |
| 3666 | .total_size = 1024, |
| 3667 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3668 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3669 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3670 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3671 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3672 | .block_erasers = |
| 3673 | { |
| 3674 | { |
| 3675 | .eraseblocks = { |
| 3676 | {64 * 1024, 15}, |
| 3677 | {8 * 1024, 8} |
| 3678 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3679 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3680 | }, { |
| 3681 | .eraseblocks = { |
| 3682 | {1024 * 1024, 1} |
| 3683 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3684 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3685 | }, |
| 3686 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3687 | .unlock = unlock_82802ab, |
| 3688 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3689 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3690 | }, |
| 3691 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3692 | { |
| 3693 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3694 | .name = "S25FL008A", |
| 3695 | .bustype = CHIP_BUSTYPE_SPI, |
| 3696 | .manufacture_id = SPANSION_ID, |
| 3697 | .model_id = SPANSION_S25FL008A, |
| 3698 | .total_size = 1024, |
| 3699 | .page_size = 256, |
| 3700 | .tested = TEST_OK_PREW, |
| 3701 | .probe = probe_spi_rdid, |
| 3702 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3703 | .block_erasers = |
| 3704 | { |
| 3705 | { |
| 3706 | .eraseblocks = { {64 * 1024, 16} }, |
| 3707 | .block_erase = spi_block_erase_d8, |
| 3708 | }, { |
| 3709 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3710 | .block_erase = spi_block_erase_c7, |
| 3711 | } |
| 3712 | }, |
| 3713 | .write = spi_chip_write_256, |
| 3714 | .read = spi_chip_read, |
| 3715 | }, |
| 3716 | |
| 3717 | { |
| 3718 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3719 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3720 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3721 | .manufacture_id = SPANSION_ID, |
| 3722 | .model_id = SPANSION_S25FL016A, |
| 3723 | .total_size = 2048, |
| 3724 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3725 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3726 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3727 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3728 | .block_erasers = |
| 3729 | { |
| 3730 | { |
| 3731 | .eraseblocks = { {64 * 1024, 32} }, |
| 3732 | .block_erase = spi_block_erase_d8, |
| 3733 | }, { |
| 3734 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3735 | .block_erase = spi_block_erase_c7, |
| 3736 | } |
| 3737 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3738 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3739 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3740 | }, |
| 3741 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3742 | { |
| 3743 | .vendor = "SST", |
| 3744 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3745 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3746 | .manufacture_id = SST_ID, |
| 3747 | .model_id = SST_25VF016B, |
| 3748 | .total_size = 2048, |
| 3749 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3750 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3751 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3752 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3753 | .block_erasers = |
| 3754 | { |
| 3755 | { |
| 3756 | .eraseblocks = { {4 * 1024, 512} }, |
| 3757 | .block_erase = spi_block_erase_20, |
| 3758 | }, { |
| 3759 | .eraseblocks = { {32 * 1024, 64} }, |
| 3760 | .block_erase = spi_block_erase_52, |
| 3761 | }, { |
| 3762 | .eraseblocks = { {64 * 1024, 32} }, |
| 3763 | .block_erase = spi_block_erase_d8, |
| 3764 | }, { |
| 3765 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3766 | .block_erase = spi_block_erase_60, |
| 3767 | }, { |
| 3768 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3769 | .block_erase = spi_block_erase_c7, |
| 3770 | }, |
| 3771 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3772 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3773 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3774 | }, |
| 3775 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3776 | { |
| 3777 | .vendor = "SST", |
| 3778 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3779 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3780 | .manufacture_id = SST_ID, |
| 3781 | .model_id = SST_25VF032B, |
| 3782 | .total_size = 4096, |
| 3783 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3784 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3785 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3786 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3787 | .block_erasers = |
| 3788 | { |
| 3789 | { |
| 3790 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3791 | .block_erase = spi_block_erase_20, |
| 3792 | }, { |
| 3793 | .eraseblocks = { {32 * 1024, 128} }, |
| 3794 | .block_erase = spi_block_erase_52, |
| 3795 | }, { |
| 3796 | .eraseblocks = { {64 * 1024, 64} }, |
| 3797 | .block_erase = spi_block_erase_d8, |
| 3798 | }, { |
| 3799 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3800 | .block_erase = spi_block_erase_60, |
| 3801 | }, { |
| 3802 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3803 | .block_erase = spi_block_erase_c7, |
| 3804 | }, |
| 3805 | }, |
| 3806 | .write = spi_chip_write_1, |
| 3807 | .read = spi_chip_read, |
| 3808 | }, |
| 3809 | |
| 3810 | { |
| 3811 | .vendor = "SST", |
| 3812 | .name = "SST25VF040.REMS", |
| 3813 | .bustype = CHIP_BUSTYPE_SPI, |
| 3814 | .manufacture_id = SST_ID, |
| 3815 | .model_id = SST_25VF040_REMS, |
| 3816 | .total_size = 512, |
| 3817 | .page_size = 256, |
| 3818 | .tested = TEST_OK_PR, |
| 3819 | .probe = probe_spi_rems, |
| 3820 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3821 | .block_erasers = |
| 3822 | { |
| 3823 | { |
| 3824 | .eraseblocks = { {4 * 1024, 128} }, |
| 3825 | .block_erase = spi_block_erase_20, |
| 3826 | }, { |
| 3827 | .eraseblocks = { {32 * 1024, 16} }, |
| 3828 | .block_erase = spi_block_erase_52, |
| 3829 | }, { |
| 3830 | .eraseblocks = { {512 * 1024, 1} }, |
| 3831 | .block_erase = spi_block_erase_60, |
| 3832 | }, |
| 3833 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3834 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3835 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3836 | }, |
| 3837 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3838 | { |
| 3839 | .vendor = "SST", |
| 3840 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3841 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3842 | .manufacture_id = SST_ID, |
| 3843 | .model_id = SST_25VF040B, |
| 3844 | .total_size = 512, |
| 3845 | .page_size = 256, |
| 3846 | .tested = TEST_UNTESTED, |
| 3847 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3848 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3849 | .block_erasers = |
| 3850 | { |
| 3851 | { |
| 3852 | .eraseblocks = { {4 * 1024, 128} }, |
| 3853 | .block_erase = spi_block_erase_20, |
| 3854 | }, { |
| 3855 | .eraseblocks = { {32 * 1024, 16} }, |
| 3856 | .block_erase = spi_block_erase_52, |
| 3857 | }, { |
| 3858 | .eraseblocks = { {64 * 1024, 8} }, |
| 3859 | .block_erase = spi_block_erase_d8, |
| 3860 | }, { |
| 3861 | .eraseblocks = { {512 * 1024, 1} }, |
| 3862 | .block_erase = spi_block_erase_60, |
| 3863 | }, { |
| 3864 | .eraseblocks = { {512 * 1024, 1} }, |
| 3865 | .block_erase = spi_block_erase_c7, |
| 3866 | }, |
| 3867 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3868 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 3869 | .read = spi_chip_read, |
| 3870 | }, |
| 3871 | |
| 3872 | { |
| 3873 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 3874 | .name = "SST25LF040A.RES", |
| 3875 | .bustype = CHIP_BUSTYPE_SPI, |
| 3876 | .manufacture_id = SST_ID, |
| 3877 | .model_id = SST_25VF040_REMS, |
| 3878 | .total_size = 512, |
| 3879 | .page_size = 256, |
| 3880 | .tested = TEST_OK_PROBE, |
| 3881 | .probe = probe_spi_res2, |
| 3882 | .probe_timing = TIMING_ZERO, |
| 3883 | .block_erasers = |
| 3884 | { |
| 3885 | { |
| 3886 | .eraseblocks = { {4 * 1024, 128} }, |
| 3887 | .block_erase = spi_block_erase_20, |
| 3888 | }, { |
| 3889 | .eraseblocks = { {32 * 1024, 16} }, |
| 3890 | .block_erase = spi_block_erase_52, |
| 3891 | }, { |
| 3892 | .eraseblocks = { {512 * 1024, 1} }, |
| 3893 | .block_erase = spi_block_erase_60, |
| 3894 | }, |
| 3895 | }, |
| 3896 | .write = spi_chip_write_1, |
| 3897 | .read = spi_chip_read, |
| 3898 | }, |
| 3899 | |
| 3900 | { |
| 3901 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3902 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3903 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3904 | .manufacture_id = SST_ID, |
| 3905 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3906 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3907 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3908 | .tested = TEST_OK_PR, |
| 3909 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3910 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3911 | .block_erasers = |
| 3912 | { |
| 3913 | { |
| 3914 | .eraseblocks = { {4 * 1024, 128} }, |
| 3915 | .block_erase = spi_block_erase_20, |
| 3916 | }, { |
| 3917 | .eraseblocks = { {32 * 1024, 16} }, |
| 3918 | .block_erase = spi_block_erase_52, |
| 3919 | }, { |
| 3920 | .eraseblocks = { {64 * 1024, 8} }, |
| 3921 | .block_erase = spi_block_erase_d8, |
| 3922 | }, { |
| 3923 | .eraseblocks = { {512 * 1024, 1} }, |
| 3924 | .block_erase = spi_block_erase_60, |
| 3925 | }, { |
| 3926 | .eraseblocks = { {512 * 1024, 1} }, |
| 3927 | .block_erase = spi_block_erase_c7, |
| 3928 | }, |
| 3929 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3930 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3931 | .read = spi_chip_read, |
| 3932 | }, |
| 3933 | |
| 3934 | { |
| 3935 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3936 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3937 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3938 | .manufacture_id = SST_ID, |
| 3939 | .model_id = SST_25VF080B, |
| 3940 | .total_size = 1024, |
| 3941 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3942 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3943 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3944 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3945 | .block_erasers = |
| 3946 | { |
| 3947 | { |
| 3948 | .eraseblocks = { {4 * 1024, 256} }, |
| 3949 | .block_erase = spi_block_erase_20, |
| 3950 | }, { |
| 3951 | .eraseblocks = { {32 * 1024, 32} }, |
| 3952 | .block_erase = spi_block_erase_52, |
| 3953 | }, { |
| 3954 | .eraseblocks = { {64 * 1024, 16} }, |
| 3955 | .block_erase = spi_block_erase_d8, |
| 3956 | }, { |
| 3957 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3958 | .block_erase = spi_block_erase_60, |
| 3959 | }, { |
| 3960 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3961 | .block_erase = spi_block_erase_c7, |
| 3962 | }, |
| 3963 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3964 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3965 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3966 | }, |
| 3967 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3968 | { |
| 3969 | .vendor = "SST", |
| 3970 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3971 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3972 | .manufacture_id = SST_ID, |
| 3973 | .model_id = SST_28SF040, |
| 3974 | .total_size = 512, |
| 3975 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3976 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3977 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3978 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3979 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3980 | .block_erasers = |
| 3981 | { |
| 3982 | { |
| 3983 | .eraseblocks = { {128, 4096} }, |
| 3984 | .block_erase = erase_sector_28sf040, |
| 3985 | }, { |
| 3986 | .eraseblocks = { {512 * 1024, 1} }, |
| 3987 | .block_erase = erase_chip_28sf040, |
| 3988 | } |
| 3989 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3990 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3991 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3992 | }, |
| 3993 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3994 | { |
| 3995 | .vendor = "SST", |
| 3996 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3997 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3998 | .manufacture_id = SST_ID, |
| 3999 | .model_id = SST_29EE010, |
| 4000 | .total_size = 128, |
| 4001 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4002 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4003 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4004 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4005 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4006 | .block_erasers = |
| 4007 | { |
| 4008 | { |
| 4009 | .eraseblocks = { {128 * 1024, 1} }, |
| 4010 | .block_erase = erase_chip_block_jedec, |
| 4011 | } |
| 4012 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4013 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4014 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4015 | }, |
| 4016 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4017 | { |
| 4018 | .vendor = "SST", |
| 4019 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4020 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4021 | .manufacture_id = SST_ID, |
| 4022 | .model_id = SST_29LE010, |
| 4023 | .total_size = 128, |
| 4024 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4025 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4026 | .tested = TEST_UNTESTED, |
| 4027 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4028 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4029 | .block_erasers = |
| 4030 | { |
| 4031 | { |
| 4032 | .eraseblocks = { {128 * 1024, 1} }, |
| 4033 | .block_erase = erase_chip_block_jedec, |
| 4034 | } |
| 4035 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4036 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4037 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4038 | }, |
| 4039 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4040 | { |
| 4041 | .vendor = "SST", |
| 4042 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4043 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4044 | .manufacture_id = SST_ID, |
| 4045 | .model_id = SST_29EE020A, |
| 4046 | .total_size = 256, |
| 4047 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4048 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4049 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4050 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4051 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4052 | .block_erasers = |
| 4053 | { |
| 4054 | { |
| 4055 | .eraseblocks = { {256 * 1024, 1} }, |
| 4056 | .block_erase = erase_chip_block_jedec, |
| 4057 | } |
| 4058 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4059 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4060 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4061 | }, |
| 4062 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4063 | { |
| 4064 | .vendor = "SST", |
| 4065 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4066 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4067 | .manufacture_id = SST_ID, |
| 4068 | .model_id = SST_29LE020, |
| 4069 | .total_size = 256, |
| 4070 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4071 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 4072 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4073 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4074 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4075 | .block_erasers = |
| 4076 | { |
| 4077 | { |
| 4078 | .eraseblocks = { {256 * 1024, 1} }, |
| 4079 | .block_erase = erase_chip_block_jedec, |
| 4080 | } |
| 4081 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4082 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4083 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4084 | }, |
| 4085 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4086 | { |
| 4087 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4088 | .name = "SST39SF512", |
| 4089 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4090 | .manufacture_id = SST_ID, |
| 4091 | .model_id = SST_39SF512, |
| 4092 | .total_size = 64, |
| 4093 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4094 | .feature_bits = FEATURE_EITHER_RESET, |
| 4095 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4096 | .probe = probe_jedec, |
| 4097 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4098 | .block_erasers = |
| 4099 | { |
| 4100 | { |
| 4101 | .eraseblocks = { {4 * 1024, 16} }, |
| 4102 | .block_erase = erase_sector_jedec, |
| 4103 | }, { |
| 4104 | .eraseblocks = { {64 * 1024, 1} }, |
| 4105 | .block_erase = erase_chip_block_jedec, |
| 4106 | } |
| 4107 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4108 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 4109 | .read = read_memmapped, |
| 4110 | }, |
| 4111 | |
| 4112 | { |
| 4113 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4114 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4115 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4116 | .manufacture_id = SST_ID, |
| 4117 | .model_id = SST_39SF010, |
| 4118 | .total_size = 128, |
| 4119 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4120 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4121 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4122 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4123 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4124 | .block_erasers = |
| 4125 | { |
| 4126 | { |
| 4127 | .eraseblocks = { {4 * 1024, 32} }, |
| 4128 | .block_erase = erase_sector_jedec, |
| 4129 | }, { |
| 4130 | .eraseblocks = { {128 * 1024, 1} }, |
| 4131 | .block_erase = erase_chip_block_jedec, |
| 4132 | } |
| 4133 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4134 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4135 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4136 | }, |
| 4137 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4138 | { |
| 4139 | .vendor = "SST", |
| 4140 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4141 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4142 | .manufacture_id = SST_ID, |
| 4143 | .model_id = SST_39SF020, |
| 4144 | .total_size = 256, |
| 4145 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4146 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 4147 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4148 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4149 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4150 | .block_erasers = |
| 4151 | { |
| 4152 | { |
| 4153 | .eraseblocks = { {4 * 1024, 64} }, |
| 4154 | .block_erase = erase_sector_jedec, |
| 4155 | }, { |
| 4156 | .eraseblocks = { {256 * 1024, 1} }, |
| 4157 | .block_erase = erase_chip_block_jedec, |
| 4158 | } |
| 4159 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4160 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4161 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4162 | }, |
| 4163 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4164 | { |
| 4165 | .vendor = "SST", |
| 4166 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4167 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4168 | .manufacture_id = SST_ID, |
| 4169 | .model_id = SST_39SF040, |
| 4170 | .total_size = 512, |
| 4171 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4172 | .feature_bits = FEATURE_EITHER_RESET, |
| 4173 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4174 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4175 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4176 | .block_erasers = |
| 4177 | { |
| 4178 | { |
| 4179 | .eraseblocks = { {4 * 1024, 128} }, |
| 4180 | .block_erase = erase_sector_jedec, |
| 4181 | }, { |
| 4182 | .eraseblocks = { {512 * 1024, 1} }, |
| 4183 | .block_erase = erase_chip_block_jedec, |
| 4184 | } |
| 4185 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4186 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4187 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4188 | }, |
| 4189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4190 | { |
| 4191 | .vendor = "SST", |
| 4192 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4193 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4194 | .manufacture_id = SST_ID, |
| 4195 | .model_id = SST_39VF512, |
| 4196 | .total_size = 64, |
| 4197 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4198 | .feature_bits = FEATURE_EITHER_RESET, |
| 4199 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4200 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4201 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4202 | .block_erasers = |
| 4203 | { |
| 4204 | { |
| 4205 | .eraseblocks = { {4 * 1024, 16} }, |
| 4206 | .block_erase = erase_sector_jedec, |
| 4207 | }, { |
| 4208 | .eraseblocks = { {64 * 1024, 1} }, |
| 4209 | .block_erase = erase_chip_block_jedec, |
| 4210 | } |
| 4211 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4212 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4213 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4214 | }, |
| 4215 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4216 | { |
| 4217 | .vendor = "SST", |
| 4218 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4219 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4220 | .manufacture_id = SST_ID, |
| 4221 | .model_id = SST_39VF010, |
| 4222 | .total_size = 128, |
| 4223 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4224 | .feature_bits = FEATURE_EITHER_RESET, |
| 4225 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4226 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4227 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4228 | .block_erasers = |
| 4229 | { |
| 4230 | { |
| 4231 | .eraseblocks = { {4 * 1024, 32} }, |
| 4232 | .block_erase = erase_sector_jedec, |
| 4233 | }, { |
| 4234 | .eraseblocks = { {128 * 1024, 1} }, |
| 4235 | .block_erase = erase_chip_block_jedec, |
| 4236 | } |
| 4237 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4238 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4239 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4240 | }, |
| 4241 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4242 | { |
| 4243 | .vendor = "SST", |
| 4244 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4245 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4246 | .manufacture_id = SST_ID, |
| 4247 | .model_id = SST_39VF020, |
| 4248 | .total_size = 256, |
| 4249 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4250 | .feature_bits = FEATURE_EITHER_RESET, |
| 4251 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4252 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4253 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4254 | .block_erasers = |
| 4255 | { |
| 4256 | { |
| 4257 | .eraseblocks = { {4 * 1024, 64} }, |
| 4258 | .block_erase = erase_sector_jedec, |
| 4259 | }, { |
| 4260 | .eraseblocks = { {256 * 1024, 1} }, |
| 4261 | .block_erase = erase_chip_block_jedec, |
| 4262 | } |
| 4263 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4264 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4265 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4266 | }, |
| 4267 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4268 | { |
| 4269 | .vendor = "SST", |
| 4270 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4271 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4272 | .manufacture_id = SST_ID, |
| 4273 | .model_id = SST_39VF040, |
| 4274 | .total_size = 512, |
| 4275 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4276 | .feature_bits = FEATURE_EITHER_RESET, |
| 4277 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4278 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4279 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4280 | .block_erasers = |
| 4281 | { |
| 4282 | { |
| 4283 | .eraseblocks = { {4 * 1024, 128} }, |
| 4284 | .block_erase = erase_sector_jedec, |
| 4285 | }, { |
| 4286 | .eraseblocks = { {512 * 1024, 1} }, |
| 4287 | .block_erase = erase_chip_block_jedec, |
| 4288 | } |
| 4289 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4290 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4291 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4292 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4293 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4294 | { |
| 4295 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4296 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4297 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4298 | .manufacture_id = SST_ID, |
| 4299 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4300 | .total_size = 1024, |
| 4301 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4302 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4303 | .tested = TEST_UNTESTED, |
| 4304 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4305 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4306 | .block_erasers = |
| 4307 | { |
| 4308 | { |
| 4309 | .eraseblocks = { {4 * 1024, 256} }, |
| 4310 | .block_erase = erase_sector_jedec, |
| 4311 | }, { |
| 4312 | .eraseblocks = { {64 * 1024, 16} }, |
| 4313 | .block_erase = erase_block_jedec, |
| 4314 | }, { |
| 4315 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4316 | .block_erase = erase_chip_block_jedec, |
| 4317 | } |
| 4318 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4319 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4320 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4321 | }, |
| 4322 | |
| 4323 | { |
| 4324 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4325 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4326 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4327 | .manufacture_id = SST_ID, |
| 4328 | .model_id = SST_49LF002A, |
| 4329 | .total_size = 256, |
| 4330 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4331 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4332 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4333 | .probe = probe_jedec, |
| 4334 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4335 | .block_erasers = |
| 4336 | { |
| 4337 | { |
| 4338 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4339 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4340 | }, { |
| 4341 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4342 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4343 | }, { |
| 4344 | .eraseblocks = { {256 * 1024, 1} }, |
| 4345 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4346 | } |
| 4347 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4348 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4349 | .unlock = unlock_sst_fwhub, |
| 4350 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4351 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4352 | }, |
| 4353 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4354 | { |
| 4355 | .vendor = "SST", |
| 4356 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4357 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4358 | .manufacture_id = SST_ID, |
| 4359 | .model_id = SST_49LF003A, |
| 4360 | .total_size = 384, |
| 4361 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4362 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4363 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4364 | .probe = probe_jedec, |
| 4365 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4366 | .block_erasers = |
| 4367 | { |
| 4368 | { |
| 4369 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4370 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4371 | }, { |
| 4372 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4373 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4374 | }, { |
| 4375 | .eraseblocks = { {384 * 1024, 1} }, |
| 4376 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4377 | } |
| 4378 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4379 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4380 | .unlock = unlock_sst_fwhub, |
| 4381 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4382 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4383 | }, |
| 4384 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4385 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4386 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4387 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4388 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4389 | .vendor = "SST", |
| 4390 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4391 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4392 | .manufacture_id = SST_ID, |
| 4393 | .model_id = SST_49LF004A, |
| 4394 | .total_size = 512, |
| 4395 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4396 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4397 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4398 | .probe = probe_jedec, |
| 4399 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4400 | .block_erasers = |
| 4401 | { |
| 4402 | { |
| 4403 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4404 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4405 | }, { |
| 4406 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4407 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4408 | }, { |
| 4409 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4410 | .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] | 4411 | }, |
| 4412 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4413 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4414 | .unlock = unlock_sst_fwhub, |
| 4415 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4416 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4417 | }, |
| 4418 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4419 | { |
| 4420 | .vendor = "SST", |
| 4421 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4422 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4423 | .manufacture_id = SST_ID, |
| 4424 | .model_id = SST_49LF004C, |
| 4425 | .total_size = 512, |
| 4426 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4427 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4428 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4429 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4430 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4431 | .block_erasers = |
| 4432 | { |
| 4433 | { |
| 4434 | .eraseblocks = { {4 * 1024, 128} }, |
| 4435 | .block_erase = erase_sector_49lfxxxc, |
| 4436 | }, { |
| 4437 | .eraseblocks = { |
| 4438 | {64 * 1024, 7}, |
| 4439 | {32 * 1024, 1}, |
| 4440 | {8 * 1024, 2}, |
| 4441 | {16 * 1024, 1}, |
| 4442 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4443 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4444 | } |
| 4445 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4446 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4447 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4448 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4449 | }, |
| 4450 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4451 | { |
| 4452 | .vendor = "SST", |
| 4453 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4454 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4455 | .manufacture_id = SST_ID, |
| 4456 | .model_id = SST_49LF008A, |
| 4457 | .total_size = 1024, |
| 4458 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4459 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4460 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4461 | .probe = probe_jedec, |
| 4462 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4463 | .block_erasers = |
| 4464 | { |
| 4465 | { |
| 4466 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4467 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4468 | }, { |
| 4469 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4470 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4471 | }, { |
| 4472 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4473 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4474 | } |
| 4475 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4476 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4477 | .unlock = unlock_sst_fwhub, |
| 4478 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4479 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4480 | }, |
| 4481 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4482 | { |
| 4483 | .vendor = "SST", |
| 4484 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4485 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4486 | .manufacture_id = SST_ID, |
| 4487 | .model_id = SST_49LF008C, |
| 4488 | .total_size = 1024, |
| 4489 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4490 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4491 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4492 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4493 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4494 | .block_erasers = |
| 4495 | { |
| 4496 | { |
| 4497 | .eraseblocks = { {4 * 1024, 256} }, |
| 4498 | .block_erase = erase_sector_49lfxxxc, |
| 4499 | }, { |
| 4500 | .eraseblocks = { |
| 4501 | {64 * 1024, 15}, |
| 4502 | {32 * 1024, 1}, |
| 4503 | {8 * 1024, 2}, |
| 4504 | {16 * 1024, 1}, |
| 4505 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4506 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4507 | } |
| 4508 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4509 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4510 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4511 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4512 | }, |
| 4513 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4514 | { |
| 4515 | .vendor = "SST", |
| 4516 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4517 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4518 | .manufacture_id = SST_ID, |
| 4519 | .model_id = SST_49LF016C, |
| 4520 | .total_size = 2048, |
| 4521 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4522 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4523 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4524 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4525 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4526 | .block_erasers = |
| 4527 | { |
| 4528 | { |
| 4529 | .eraseblocks = { {4 * 1024, 512} }, |
| 4530 | .block_erase = erase_sector_49lfxxxc, |
| 4531 | }, { |
| 4532 | .eraseblocks = { |
| 4533 | {64 * 1024, 31}, |
| 4534 | {32 * 1024, 1}, |
| 4535 | {8 * 1024, 2}, |
| 4536 | {16 * 1024, 1}, |
| 4537 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4538 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4539 | } |
| 4540 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4541 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4542 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4543 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4544 | }, |
| 4545 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4546 | { |
| 4547 | .vendor = "SST", |
| 4548 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4549 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4550 | .manufacture_id = SST_ID, |
| 4551 | .model_id = SST_49LF020, |
| 4552 | .total_size = 256, |
| 4553 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4554 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4555 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4556 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4557 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4558 | .block_erasers = |
| 4559 | { |
| 4560 | { |
| 4561 | .eraseblocks = { {4 * 1024, 64} }, |
| 4562 | .block_erase = erase_sector_jedec, |
| 4563 | }, { |
| 4564 | .eraseblocks = { {16 * 1024, 16} }, |
| 4565 | .block_erase = erase_block_jedec, |
| 4566 | }, { |
| 4567 | .eraseblocks = { {256 * 1024, 1} }, |
| 4568 | .block_erase = NULL, |
| 4569 | } |
| 4570 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4571 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4572 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 4573 | }, |
| 4574 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4575 | { |
| 4576 | .vendor = "SST", |
| 4577 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4578 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4579 | .manufacture_id = SST_ID, |
| 4580 | .model_id = SST_49LF020A, |
| 4581 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 4582 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4583 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4584 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4585 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4586 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4587 | .block_erasers = |
| 4588 | { |
| 4589 | { |
| 4590 | .eraseblocks = { {4 * 1024, 64} }, |
| 4591 | .block_erase = erase_sector_jedec, |
| 4592 | }, { |
| 4593 | .eraseblocks = { {16 * 1024, 16} }, |
| 4594 | .block_erase = erase_block_jedec, |
| 4595 | }, { |
| 4596 | .eraseblocks = { {256 * 1024, 1} }, |
| 4597 | .block_erase = NULL, |
| 4598 | } |
| 4599 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4600 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4601 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4602 | }, |
| 4603 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4604 | { |
| 4605 | .vendor = "SST", |
| 4606 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4607 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4608 | .manufacture_id = SST_ID, |
| 4609 | .model_id = SST_49LF040, |
| 4610 | .total_size = 512, |
| 4611 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4612 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4613 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4614 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4615 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4616 | .block_erasers = |
| 4617 | { |
| 4618 | { |
| 4619 | .eraseblocks = { {4 * 1024, 128} }, |
| 4620 | .block_erase = erase_sector_jedec, |
| 4621 | }, { |
| 4622 | .eraseblocks = { {64 * 1024, 8} }, |
| 4623 | .block_erase = erase_block_jedec, |
| 4624 | }, { |
| 4625 | .eraseblocks = { {512 * 1024, 1} }, |
| 4626 | .block_erase = NULL, |
| 4627 | } |
| 4628 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4629 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4630 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4631 | }, |
| 4632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4633 | { |
| 4634 | .vendor = "SST", |
| 4635 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4636 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4637 | .manufacture_id = SST_ID, |
| 4638 | .model_id = SST_49LF040B, |
| 4639 | .total_size = 512, |
| 4640 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4641 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4642 | .tested = TEST_OK_PR, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4643 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4644 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4645 | .block_erasers = |
| 4646 | { |
| 4647 | { |
| 4648 | .eraseblocks = { {4 * 1024, 128} }, |
| 4649 | .block_erase = erase_sector_jedec, |
| 4650 | }, { |
| 4651 | .eraseblocks = { {64 * 1024, 8} }, |
| 4652 | .block_erase = erase_block_jedec, |
| 4653 | }, { |
| 4654 | .eraseblocks = { {512 * 1024, 1} }, |
| 4655 | .block_erase = NULL, |
| 4656 | } |
| 4657 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4658 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4659 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4660 | }, |
| 4661 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4662 | { |
| 4663 | .vendor = "SST", |
| 4664 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4665 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4666 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4667 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4668 | .total_size = 1024, |
| 4669 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4670 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4671 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4672 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4673 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4674 | .block_erasers = |
| 4675 | { |
| 4676 | { |
| 4677 | .eraseblocks = { {4 * 1024, 256} }, |
| 4678 | .block_erase = erase_sector_jedec, |
| 4679 | }, { |
| 4680 | .eraseblocks = { {64 * 1024, 16} }, |
| 4681 | .block_erase = erase_block_jedec, |
| 4682 | }, { |
| 4683 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4684 | .block_erase = NULL, |
| 4685 | } |
| 4686 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4687 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4688 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4689 | }, |
| 4690 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4691 | { |
| 4692 | .vendor = "SST", |
| 4693 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4694 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4695 | .manufacture_id = SST_ID, |
| 4696 | .model_id = SST_49LF160C, |
| 4697 | .total_size = 2048, |
| 4698 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4699 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4700 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4701 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4702 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4703 | .block_erasers = |
| 4704 | { |
| 4705 | { |
| 4706 | .eraseblocks = { {4 * 1024, 512} }, |
| 4707 | .block_erase = erase_sector_49lfxxxc, |
| 4708 | }, { |
| 4709 | .eraseblocks = { |
| 4710 | {64 * 1024, 31}, |
| 4711 | {32 * 1024, 1}, |
| 4712 | {8 * 1024, 2}, |
| 4713 | {16 * 1024, 1}, |
| 4714 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4715 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4716 | } |
| 4717 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4718 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4719 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4720 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4721 | }, |
| 4722 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4723 | { |
| 4724 | .vendor = "ST", |
| 4725 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4726 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4727 | .manufacture_id = ST_ID, |
| 4728 | .model_id = ST_M25P05A, |
| 4729 | .total_size = 64, |
| 4730 | .page_size = 256, |
| 4731 | .tested = TEST_UNTESTED, |
| 4732 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4733 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4734 | .block_erasers = |
| 4735 | { |
| 4736 | { |
| 4737 | .eraseblocks = { {32 * 1024, 2} }, |
| 4738 | .block_erase = spi_block_erase_d8, |
| 4739 | }, { |
| 4740 | .eraseblocks = { {64 * 1024, 1} }, |
| 4741 | .block_erase = spi_block_erase_c7, |
| 4742 | } |
| 4743 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4744 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4745 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4746 | }, |
| 4747 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4748 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 4749 | * 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] | 4750 | * 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] | 4751 | * only is successful if RDID does not work. |
| 4752 | */ |
| 4753 | { |
| 4754 | .vendor = "ST", |
| 4755 | .name = "M25P05.RES", |
| 4756 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4757 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4758 | .model_id = ST_M25P05_RES, |
| 4759 | .total_size = 64, |
| 4760 | .page_size = 256, |
| 4761 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4762 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4763 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4764 | .block_erasers = |
| 4765 | { |
| 4766 | { |
| 4767 | .eraseblocks = { {32 * 1024, 2} }, |
| 4768 | .block_erase = spi_block_erase_d8, |
| 4769 | }, { |
| 4770 | .eraseblocks = { {64 * 1024, 1} }, |
| 4771 | .block_erase = spi_block_erase_c7, |
| 4772 | } |
| 4773 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4774 | .write = spi_chip_write_1, /* 128 */ |
| 4775 | .read = spi_chip_read, |
| 4776 | }, |
| 4777 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4778 | { |
| 4779 | .vendor = "ST", |
| 4780 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4781 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4782 | .manufacture_id = ST_ID, |
| 4783 | .model_id = ST_M25P10A, |
| 4784 | .total_size = 128, |
| 4785 | .page_size = 256, |
| 4786 | .tested = TEST_UNTESTED, |
| 4787 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4788 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4789 | .block_erasers = |
| 4790 | { |
| 4791 | { |
| 4792 | .eraseblocks = { {32 * 1024, 4} }, |
| 4793 | .block_erase = spi_block_erase_d8, |
| 4794 | }, { |
| 4795 | .eraseblocks = { {128 * 1024, 1} }, |
| 4796 | .block_erase = spi_block_erase_c7, |
| 4797 | } |
| 4798 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4799 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4800 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4801 | }, |
| 4802 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4803 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 4804 | { |
| 4805 | .vendor = "ST", |
| 4806 | .name = "M25P10.RES", |
| 4807 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4808 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4809 | .model_id = ST_M25P10_RES, |
| 4810 | .total_size = 128, |
| 4811 | .page_size = 256, |
| 4812 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4813 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4814 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4815 | .block_erasers = |
| 4816 | { |
| 4817 | { |
| 4818 | .eraseblocks = { {32 * 1024, 4} }, |
| 4819 | .block_erase = spi_block_erase_d8, |
| 4820 | }, { |
| 4821 | .eraseblocks = { {128 * 1024, 1} }, |
| 4822 | .block_erase = spi_block_erase_c7, |
| 4823 | } |
| 4824 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4825 | .write = spi_chip_write_1, /* 128 */ |
| 4826 | .read = spi_chip_read, |
| 4827 | }, |
| 4828 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4829 | { |
| 4830 | .vendor = "ST", |
| 4831 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4832 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4833 | .manufacture_id = ST_ID, |
| 4834 | .model_id = ST_M25P20, |
| 4835 | .total_size = 256, |
| 4836 | .page_size = 256, |
| 4837 | .tested = TEST_UNTESTED, |
| 4838 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4839 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4840 | .block_erasers = |
| 4841 | { |
| 4842 | { |
| 4843 | .eraseblocks = { {64 * 1024, 4} }, |
| 4844 | .block_erase = spi_block_erase_d8, |
| 4845 | }, { |
| 4846 | .eraseblocks = { {256 * 1024, 1} }, |
| 4847 | .block_erase = spi_block_erase_c7, |
| 4848 | } |
| 4849 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4850 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4851 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4852 | }, |
| 4853 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4854 | { |
| 4855 | .vendor = "ST", |
| 4856 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4857 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4858 | .manufacture_id = ST_ID, |
| 4859 | .model_id = ST_M25P40, |
| 4860 | .total_size = 512, |
| 4861 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4862 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4863 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4864 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4865 | .block_erasers = |
| 4866 | { |
| 4867 | { |
| 4868 | .eraseblocks = { {64 * 1024, 8} }, |
| 4869 | .block_erase = spi_block_erase_d8, |
| 4870 | }, { |
| 4871 | .eraseblocks = { {512 * 1024, 1} }, |
| 4872 | .block_erase = spi_block_erase_c7, |
| 4873 | } |
| 4874 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4875 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4876 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4877 | }, |
| 4878 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4879 | { |
| 4880 | .vendor = "ST", |
| 4881 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4882 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4883 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4884 | .model_id = ST_M25P40_RES, |
| 4885 | .total_size = 512, |
| 4886 | .page_size = 256, |
| 4887 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 4888 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4889 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4890 | .block_erasers = |
| 4891 | { |
| 4892 | { |
| 4893 | .eraseblocks = { {64 * 1024, 8} }, |
| 4894 | .block_erase = spi_block_erase_d8, |
| 4895 | }, { |
| 4896 | .eraseblocks = { {512 * 1024, 1} }, |
| 4897 | .block_erase = spi_block_erase_c7, |
| 4898 | } |
| 4899 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4900 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4901 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4902 | }, |
| 4903 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4904 | { |
| 4905 | .vendor = "ST", |
| 4906 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4907 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4908 | .manufacture_id = ST_ID, |
| 4909 | .model_id = ST_M25P80, |
| 4910 | .total_size = 1024, |
| 4911 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4912 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4913 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4914 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4915 | .block_erasers = |
| 4916 | { |
| 4917 | { |
| 4918 | .eraseblocks = { {64 * 1024, 16} }, |
| 4919 | .block_erase = spi_block_erase_d8, |
| 4920 | }, { |
| 4921 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4922 | .block_erase = spi_block_erase_c7, |
| 4923 | } |
| 4924 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4925 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4926 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4927 | }, |
| 4928 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4929 | { |
| 4930 | .vendor = "ST", |
| 4931 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4932 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4933 | .manufacture_id = ST_ID, |
| 4934 | .model_id = ST_M25P16, |
| 4935 | .total_size = 2048, |
| 4936 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4937 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4938 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4939 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4940 | .block_erasers = |
| 4941 | { |
| 4942 | { |
| 4943 | .eraseblocks = { {64 * 1024, 32} }, |
| 4944 | .block_erase = spi_block_erase_d8, |
| 4945 | }, { |
| 4946 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4947 | .block_erase = spi_block_erase_c7, |
| 4948 | } |
| 4949 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4950 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4951 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4952 | }, |
| 4953 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4954 | { |
| 4955 | .vendor = "ST", |
| 4956 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4957 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4958 | .manufacture_id = ST_ID, |
| 4959 | .model_id = ST_M25P32, |
| 4960 | .total_size = 4096, |
| 4961 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4962 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4963 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4964 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4965 | .block_erasers = |
| 4966 | { |
| 4967 | { |
| 4968 | .eraseblocks = { {64 * 1024, 64} }, |
| 4969 | .block_erase = spi_block_erase_d8, |
| 4970 | }, { |
| 4971 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4972 | .block_erase = spi_block_erase_c7, |
| 4973 | } |
| 4974 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4975 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4976 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4977 | }, |
| 4978 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4979 | { |
| 4980 | .vendor = "ST", |
| 4981 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4982 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4983 | .manufacture_id = ST_ID, |
| 4984 | .model_id = ST_M25P64, |
| 4985 | .total_size = 8192, |
| 4986 | .page_size = 256, |
| 4987 | .tested = TEST_UNTESTED, |
| 4988 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4989 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4990 | .block_erasers = |
| 4991 | { |
| 4992 | { |
| 4993 | .eraseblocks = { {64 * 1024, 128} }, |
| 4994 | .block_erase = spi_block_erase_d8, |
| 4995 | }, { |
| 4996 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4997 | .block_erase = spi_block_erase_c7, |
| 4998 | } |
| 4999 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5000 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5001 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5002 | }, |
| 5003 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5004 | { |
| 5005 | .vendor = "ST", |
| 5006 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5007 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5008 | .manufacture_id = ST_ID, |
| 5009 | .model_id = ST_M25P128, |
| 5010 | .total_size = 16384, |
| 5011 | .page_size = 256, |
| 5012 | .tested = TEST_UNTESTED, |
| 5013 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5014 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5015 | .block_erasers = |
| 5016 | { |
| 5017 | { |
| 5018 | .eraseblocks = { {256 * 1024, 64} }, |
| 5019 | .block_erase = spi_block_erase_d8, |
| 5020 | }, { |
| 5021 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 5022 | .block_erase = spi_block_erase_c7, |
| 5023 | } |
| 5024 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5025 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5026 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5027 | }, |
| 5028 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5029 | { |
| 5030 | .vendor = "ST", |
| 5031 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5032 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5033 | .manufacture_id = ST_ID, |
| 5034 | .model_id = ST_M29F002B, |
| 5035 | .total_size = 256, |
| 5036 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5037 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5038 | .tested = TEST_UNTESTED, |
| 5039 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5040 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5041 | .block_erasers = |
| 5042 | { |
| 5043 | { |
| 5044 | .eraseblocks = { |
| 5045 | {16 * 1024, 1}, |
| 5046 | {8 * 1024, 2}, |
| 5047 | {32 * 1024, 1}, |
| 5048 | {64 * 1024, 3}, |
| 5049 | }, |
| 5050 | .block_erase = erase_sector_jedec, |
| 5051 | }, { |
| 5052 | .eraseblocks = { {256 * 1024, 1} }, |
| 5053 | .block_erase = erase_chip_block_jedec, |
| 5054 | } |
| 5055 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5056 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5057 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5058 | }, |
| 5059 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5060 | { |
| 5061 | .vendor = "ST", |
| 5062 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5063 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5064 | .manufacture_id = ST_ID, |
| 5065 | .model_id = ST_M29F002T, |
| 5066 | .total_size = 256, |
| 5067 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5068 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 5069 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5070 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5071 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5072 | .block_erasers = |
| 5073 | { |
| 5074 | { |
| 5075 | .eraseblocks = { |
| 5076 | {64 * 1024, 3}, |
| 5077 | {32 * 1024, 1}, |
| 5078 | {8 * 1024, 2}, |
| 5079 | {16 * 1024, 1}, |
| 5080 | }, |
| 5081 | .block_erase = erase_sector_jedec, |
| 5082 | }, { |
| 5083 | .eraseblocks = { {256 * 1024, 1} }, |
| 5084 | .block_erase = erase_chip_block_jedec, |
| 5085 | } |
| 5086 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5087 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5088 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5089 | }, |
| 5090 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5091 | { |
| 5092 | .vendor = "ST", |
| 5093 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5094 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5095 | .manufacture_id = ST_ID, |
| 5096 | .model_id = ST_M29F040B, |
| 5097 | .total_size = 512, |
| 5098 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5099 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5100 | .tested = TEST_UNTESTED, |
| 5101 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5102 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5103 | .block_erasers = |
| 5104 | { |
| 5105 | { |
| 5106 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5107 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5108 | }, { |
| 5109 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5110 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5111 | } |
| 5112 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5113 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5114 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5115 | }, |
| 5116 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5117 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5118 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5119 | .vendor = "ST", |
| 5120 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5121 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5122 | .manufacture_id = ST_ID, |
| 5123 | .model_id = ST_M29F400BT, |
| 5124 | .total_size = 512, |
| 5125 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5126 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5127 | .tested = TEST_UNTESTED, |
| 5128 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5129 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5130 | .block_erasers = |
| 5131 | { |
| 5132 | { |
| 5133 | .eraseblocks = { |
| 5134 | {64 * 1024, 7}, |
| 5135 | {32 * 1024, 1}, |
| 5136 | {8 * 1024, 2}, |
| 5137 | {16 * 1024, 1}, |
| 5138 | }, |
| 5139 | .block_erase = block_erase_m29f400bt, |
| 5140 | }, { |
| 5141 | .eraseblocks = { {512 * 1024, 1} }, |
| 5142 | .block_erase = block_erase_chip_m29f400bt, |
| 5143 | } |
| 5144 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5145 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5146 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5147 | }, |
| 5148 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5149 | { |
| 5150 | .vendor = "ST", |
| 5151 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5152 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5153 | .manufacture_id = ST_ID, |
| 5154 | .model_id = ST_M29W010B, |
| 5155 | .total_size = 128, |
| 5156 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5157 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5158 | .tested = TEST_UNTESTED, |
| 5159 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5160 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5161 | .block_erasers = |
| 5162 | { |
| 5163 | { |
| 5164 | .eraseblocks = { {16 * 1024, 8}, }, |
| 5165 | .block_erase = erase_sector_jedec, |
| 5166 | }, { |
| 5167 | .eraseblocks = { {128 * 1024, 1} }, |
| 5168 | .block_erase = erase_chip_block_jedec, |
| 5169 | } |
| 5170 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5171 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5172 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5173 | }, |
| 5174 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5175 | { |
| 5176 | .vendor = "ST", |
| 5177 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5178 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5179 | .manufacture_id = ST_ID, |
| 5180 | .model_id = ST_M29W040B, |
| 5181 | .total_size = 512, |
| 5182 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5183 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5184 | .tested = TEST_UNTESTED, |
| 5185 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5186 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5187 | .block_erasers = |
| 5188 | { |
| 5189 | { |
| 5190 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5191 | .block_erase = erase_sector_jedec, |
| 5192 | }, { |
| 5193 | .eraseblocks = { {512 * 1024, 1} }, |
| 5194 | .block_erase = erase_chip_block_jedec, |
| 5195 | } |
| 5196 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5197 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5198 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5199 | }, |
| 5200 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5201 | { |
| 5202 | .vendor = "ST", |
| 5203 | .name = "M29W512B", |
| 5204 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5205 | .manufacture_id = ST_ID, |
| 5206 | .model_id = ST_M29W512B, |
| 5207 | .total_size = 64, |
| 5208 | .page_size = 64 * 1024, |
| 5209 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5210 | .tested = TEST_OK_PREW, |
| 5211 | .probe = probe_jedec, |
| 5212 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5213 | .block_erasers = |
| 5214 | { |
| 5215 | { |
| 5216 | .eraseblocks = { {64 * 1024, 1} }, |
| 5217 | .block_erase = erase_chip_block_jedec, |
| 5218 | } |
| 5219 | }, |
| 5220 | .write = write_jedec_1, |
| 5221 | .read = read_memmapped, |
| 5222 | }, |
| 5223 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5224 | { |
| 5225 | .vendor = "ST", |
| 5226 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5227 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5228 | .manufacture_id = ST_ID, |
| 5229 | .model_id = ST_M50FLW040A, |
| 5230 | .total_size = 512, |
| 5231 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5232 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5233 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5234 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5235 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5236 | .block_erasers = |
| 5237 | { |
| 5238 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5239 | .eraseblocks = { |
| 5240 | {4 * 1024, 16}, /* sector */ |
| 5241 | {64 * 1024, 5}, /* block */ |
| 5242 | {4 * 1024, 16}, /* sector */ |
| 5243 | {4 * 1024, 16}, /* sector */ |
| 5244 | }, |
| 5245 | .block_erase = NULL, |
| 5246 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5247 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5248 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5249 | }, { |
| 5250 | .eraseblocks = { {512 * 1024, 1} }, |
| 5251 | .block_erase = erase_chip_stm50flw0x0x, |
| 5252 | } |
| 5253 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5254 | .unlock = unlock_stm50flw0x0x, |
| 5255 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5256 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5257 | }, |
| 5258 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5259 | { |
| 5260 | .vendor = "ST", |
| 5261 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5262 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5263 | .manufacture_id = ST_ID, |
| 5264 | .model_id = ST_M50FLW040B, |
| 5265 | .total_size = 512, |
| 5266 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5267 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5268 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5269 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5270 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5271 | .block_erasers = |
| 5272 | { |
| 5273 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5274 | .eraseblocks = { |
| 5275 | {4 * 1024, 16}, /* sector */ |
| 5276 | {4 * 1024, 16}, /* sector */ |
| 5277 | {64 * 1024, 5}, /* block */ |
| 5278 | {4 * 1024, 16}, /* sector */ |
| 5279 | }, |
| 5280 | .block_erase = NULL, |
| 5281 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5282 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5283 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5284 | }, { |
| 5285 | .eraseblocks = { {512 * 1024, 1} }, |
| 5286 | .block_erase = erase_chip_stm50flw0x0x, |
| 5287 | } |
| 5288 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5289 | .unlock = unlock_stm50flw0x0x, |
| 5290 | .write = write_82802ab, |
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 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5294 | { |
| 5295 | .vendor = "ST", |
| 5296 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5297 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5298 | .manufacture_id = ST_ID, |
| 5299 | .model_id = ST_M50FLW080A, |
| 5300 | .total_size = 1024, |
| 5301 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5302 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5303 | .tested = TEST_UNTESTED, |
| 5304 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5305 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5306 | .block_erasers = |
| 5307 | { |
| 5308 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5309 | .eraseblocks = { |
| 5310 | {4 * 1024, 16}, /* sector */ |
| 5311 | {64 * 1024, 13}, /* block */ |
| 5312 | {4 * 1024, 16}, /* sector */ |
| 5313 | {4 * 1024, 16}, /* sector */ |
| 5314 | }, |
| 5315 | .block_erase = NULL, |
| 5316 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5317 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5318 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5319 | }, { |
| 5320 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5321 | .block_erase = erase_chip_stm50flw0x0x, |
| 5322 | } |
| 5323 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5324 | .unlock = unlock_stm50flw0x0x, |
| 5325 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5326 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5327 | }, |
| 5328 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5329 | { |
| 5330 | .vendor = "ST", |
| 5331 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5332 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5333 | .manufacture_id = ST_ID, |
| 5334 | .model_id = ST_M50FLW080B, |
| 5335 | .total_size = 1024, |
| 5336 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5337 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5338 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5339 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5340 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5341 | .block_erasers = |
| 5342 | { |
| 5343 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5344 | .eraseblocks = { |
| 5345 | {4 * 1024, 16}, /* sector */ |
| 5346 | {4 * 1024, 16}, /* sector */ |
| 5347 | {64 * 1024, 13}, /* block */ |
| 5348 | {4 * 1024, 16}, /* sector */ |
| 5349 | }, |
| 5350 | .block_erase = NULL, |
| 5351 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5352 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5353 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5354 | }, { |
| 5355 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5356 | .block_erase = erase_chip_stm50flw0x0x, |
| 5357 | } |
| 5358 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5359 | .unlock = unlock_stm50flw0x0x, |
| 5360 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5361 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5362 | }, |
| 5363 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5364 | { |
| 5365 | .vendor = "ST", |
| 5366 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5367 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5368 | .manufacture_id = ST_ID, |
| 5369 | .model_id = ST_M50FW002, |
| 5370 | .total_size = 256, |
| 5371 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5372 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5373 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5374 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5375 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5376 | .block_erasers = |
| 5377 | { |
| 5378 | { |
| 5379 | .eraseblocks = { |
| 5380 | {64 * 1024, 3}, |
| 5381 | {32 * 1024, 1}, |
| 5382 | {8 * 1024, 2}, |
| 5383 | {16 * 1024, 1}, |
| 5384 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5385 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5386 | }, { |
| 5387 | .eraseblocks = { {256 * 1024, 1} }, |
| 5388 | .block_erase = erase_chip_stm50flw0x0x, |
| 5389 | } |
| 5390 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5391 | .unlock = unlock_stm50flw0x0x, |
| 5392 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5393 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5394 | }, |
| 5395 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5396 | { |
| 5397 | .vendor = "ST", |
| 5398 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5399 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5400 | .manufacture_id = ST_ID, |
| 5401 | .model_id = ST_M50FW016, |
| 5402 | .total_size = 2048, |
| 5403 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5404 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5405 | .tested = TEST_UNTESTED, |
| 5406 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5407 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5408 | .block_erasers = |
| 5409 | { |
| 5410 | { |
| 5411 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5412 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5413 | }, { |
| 5414 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5415 | .block_erase = erase_chip_stm50flw0x0x, |
| 5416 | } |
| 5417 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5418 | .unlock = unlock_stm50flw0x0x, |
| 5419 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5420 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5421 | }, |
| 5422 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5423 | { |
| 5424 | .vendor = "ST", |
| 5425 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5426 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5427 | .manufacture_id = ST_ID, |
| 5428 | .model_id = ST_M50FW040, |
| 5429 | .total_size = 512, |
| 5430 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5431 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5432 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5433 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5434 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5435 | .block_erasers = |
| 5436 | { |
| 5437 | { |
| 5438 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5439 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5440 | }, { |
| 5441 | .eraseblocks = { {512 * 1024, 1} }, |
| 5442 | .block_erase = erase_chip_stm50flw0x0x, |
| 5443 | } |
| 5444 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5445 | .unlock = unlock_stm50flw0x0x, |
| 5446 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5447 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5448 | }, |
| 5449 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5450 | { |
| 5451 | .vendor = "ST", |
| 5452 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5453 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5454 | .manufacture_id = ST_ID, |
| 5455 | .model_id = ST_M50FW080, |
| 5456 | .total_size = 1024, |
| 5457 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5458 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5459 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5460 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5461 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5462 | .block_erasers = |
| 5463 | { |
| 5464 | { |
| 5465 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5466 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5467 | }, { |
| 5468 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5469 | .block_erase = erase_chip_stm50flw0x0x, |
| 5470 | } |
| 5471 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5472 | .unlock = unlock_stm50flw0x0x, |
| 5473 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5474 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5475 | }, |
| 5476 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5477 | { |
| 5478 | .vendor = "ST", |
| 5479 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5480 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5481 | .manufacture_id = ST_ID, |
| 5482 | .model_id = ST_M50LPW116, |
| 5483 | .total_size = 2048, |
| 5484 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5485 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5486 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5487 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5488 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5489 | .block_erasers = |
| 5490 | { |
| 5491 | { |
| 5492 | .eraseblocks = { |
| 5493 | {4 * 1024, 16}, |
| 5494 | {64 * 1024, 30}, |
| 5495 | {32 * 1024, 1}, |
| 5496 | {8 * 1024, 2}, |
| 5497 | {16 * 1024, 1}, |
| 5498 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5499 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5500 | }, { |
| 5501 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5502 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5503 | } |
| 5504 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5505 | .unlock = unlock_stm50flw0x0x, |
| 5506 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5507 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5508 | }, |
| 5509 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5510 | { |
| 5511 | .vendor = "SyncMOS", |
| 5512 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5513 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5514 | .manufacture_id = SYNCMOS_ID, |
| 5515 | .model_id = S29C31004T, |
| 5516 | .total_size = 512, |
| 5517 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5518 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5519 | .tested = TEST_UNTESTED, |
| 5520 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5521 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5522 | .block_erasers = |
| 5523 | { |
| 5524 | { |
| 5525 | .eraseblocks = { {1 * 1024, 512} }, |
| 5526 | .block_erase = erase_sector_jedec, |
| 5527 | }, { |
| 5528 | .eraseblocks = { {512 * 1024, 1} }, |
| 5529 | .block_erase = erase_chip_block_jedec, |
| 5530 | }, |
| 5531 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5532 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5533 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5534 | }, |
| 5535 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5536 | { |
| 5537 | .vendor = "SyncMOS", |
| 5538 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5539 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5540 | .manufacture_id = SYNCMOS_ID, |
| 5541 | .model_id = S29C51001T, |
| 5542 | .total_size = 128, |
| 5543 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5544 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5545 | .tested = TEST_UNTESTED, |
| 5546 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5547 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5548 | .block_erasers = |
| 5549 | { |
| 5550 | { |
| 5551 | .eraseblocks = { {512, 256} }, |
| 5552 | .block_erase = erase_sector_jedec, |
| 5553 | }, { |
| 5554 | .eraseblocks = { {128 * 1024, 1} }, |
| 5555 | .block_erase = erase_chip_block_jedec, |
| 5556 | }, |
| 5557 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5558 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5559 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5560 | }, |
| 5561 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5562 | { |
| 5563 | .vendor = "SyncMOS", |
| 5564 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5565 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5566 | .manufacture_id = SYNCMOS_ID, |
| 5567 | .model_id = S29C51002T, |
| 5568 | .total_size = 256, |
| 5569 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5570 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5571 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5572 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5573 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5574 | .block_erasers = |
| 5575 | { |
| 5576 | { |
| 5577 | .eraseblocks = { {512, 512} }, |
| 5578 | .block_erase = erase_sector_jedec, |
| 5579 | }, { |
| 5580 | .eraseblocks = { {256 * 1024, 1} }, |
| 5581 | .block_erase = erase_chip_block_jedec, |
| 5582 | }, |
| 5583 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5584 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5585 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5586 | }, |
| 5587 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5588 | { |
| 5589 | .vendor = "SyncMOS", |
| 5590 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5591 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5592 | .manufacture_id = SYNCMOS_ID, |
| 5593 | .model_id = S29C51004T, |
| 5594 | .total_size = 512, |
| 5595 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5596 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5597 | .tested = TEST_UNTESTED, |
| 5598 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5599 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5600 | .block_erasers = |
| 5601 | { |
| 5602 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 5603 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5604 | .block_erase = erase_sector_jedec, |
| 5605 | }, { |
| 5606 | .eraseblocks = { {512 * 1024, 1} }, |
| 5607 | .block_erase = erase_chip_block_jedec, |
| 5608 | }, |
| 5609 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5610 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5611 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5612 | }, |
| 5613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5614 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5615 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5616 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5617 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5618 | .manufacture_id = TI_OLD_ID, |
| 5619 | .model_id = TI_TMS29F002RB, |
| 5620 | .total_size = 256, |
| 5621 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5622 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5623 | .tested = TEST_UNTESTED, |
| 5624 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5625 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5626 | .block_erasers = |
| 5627 | { |
| 5628 | { |
| 5629 | .eraseblocks = { |
| 5630 | {16 * 1024, 1}, |
| 5631 | {8 * 1024, 2}, |
| 5632 | {32 * 1024, 1}, |
| 5633 | {64 * 1024, 3}, |
| 5634 | }, |
| 5635 | .block_erase = erase_sector_jedec, |
| 5636 | }, { |
| 5637 | .eraseblocks = { {256 * 1024, 1} }, |
| 5638 | .block_erase = erase_chip_block_jedec, |
| 5639 | }, |
| 5640 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5641 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5642 | .read = read_memmapped, |
| 5643 | }, |
| 5644 | |
| 5645 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5646 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5647 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5648 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5649 | .manufacture_id = TI_OLD_ID, |
| 5650 | .model_id = TI_TMS29F002RT, |
| 5651 | .total_size = 256, |
| 5652 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5653 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5654 | .tested = TEST_UNTESTED, |
| 5655 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5656 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5657 | .block_erasers = |
| 5658 | { |
| 5659 | { |
| 5660 | .eraseblocks = { |
| 5661 | {64 * 1024, 3}, |
| 5662 | {32 * 1024, 1}, |
| 5663 | {8 * 1024, 2}, |
| 5664 | {16 * 1024, 1}, |
| 5665 | }, |
| 5666 | .block_erase = erase_sector_jedec, |
| 5667 | }, { |
| 5668 | .eraseblocks = { {256 * 1024, 1} }, |
| 5669 | .block_erase = erase_chip_block_jedec, |
| 5670 | }, |
| 5671 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5672 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5673 | .read = read_memmapped, |
| 5674 | }, |
| 5675 | |
| 5676 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5677 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 5678 | .name = "W25Q80", |
| 5679 | .bustype = CHIP_BUSTYPE_SPI, |
| 5680 | .manufacture_id = WINBOND_NEX_ID, |
| 5681 | .model_id = W_25Q80, |
| 5682 | .total_size = 1024, |
| 5683 | .page_size = 256, |
| 5684 | .tested = TEST_UNTESTED, |
| 5685 | .probe = probe_spi_rdid, |
| 5686 | .probe_timing = TIMING_ZERO, |
| 5687 | .block_erasers = |
| 5688 | { |
| 5689 | { |
| 5690 | .eraseblocks = { {4 * 1024, 256} }, |
| 5691 | .block_erase = spi_block_erase_20, |
| 5692 | }, { |
| 5693 | .eraseblocks = { {32 * 1024, 32} }, |
| 5694 | .block_erase = spi_block_erase_52, |
| 5695 | }, { |
| 5696 | .eraseblocks = { {64 * 1024, 16} }, |
| 5697 | .block_erase = spi_block_erase_d8, |
| 5698 | }, { |
| 5699 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5700 | .block_erase = spi_block_erase_60, |
| 5701 | }, { |
| 5702 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5703 | .block_erase = spi_block_erase_c7, |
| 5704 | } |
| 5705 | }, |
| 5706 | .write = spi_chip_write_256, |
| 5707 | .read = spi_chip_read, |
| 5708 | }, |
| 5709 | |
| 5710 | { |
| 5711 | .vendor = "Winbond", |
| 5712 | .name = "W25Q16", |
| 5713 | .bustype = CHIP_BUSTYPE_SPI, |
| 5714 | .manufacture_id = WINBOND_NEX_ID, |
| 5715 | .model_id = W_25Q16, |
| 5716 | .total_size = 2048, |
| 5717 | .page_size = 256, |
| 5718 | .tested = TEST_UNTESTED, |
| 5719 | .probe = probe_spi_rdid, |
| 5720 | .probe_timing = TIMING_ZERO, |
| 5721 | .block_erasers = |
| 5722 | { |
| 5723 | { |
| 5724 | .eraseblocks = { {4 * 1024, 512} }, |
| 5725 | .block_erase = spi_block_erase_20, |
| 5726 | }, { |
| 5727 | .eraseblocks = { {32 * 1024, 64} }, |
| 5728 | .block_erase = spi_block_erase_52, |
| 5729 | }, { |
| 5730 | .eraseblocks = { {64 * 1024, 32} }, |
| 5731 | .block_erase = spi_block_erase_d8, |
| 5732 | }, { |
| 5733 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5734 | .block_erase = spi_block_erase_60, |
| 5735 | }, { |
| 5736 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5737 | .block_erase = spi_block_erase_c7, |
| 5738 | } |
| 5739 | }, |
| 5740 | .write = spi_chip_write_256, |
| 5741 | .read = spi_chip_read, |
| 5742 | }, |
| 5743 | |
| 5744 | { |
| 5745 | .vendor = "Winbond", |
| 5746 | .name = "W25Q32", |
| 5747 | .bustype = CHIP_BUSTYPE_SPI, |
| 5748 | .manufacture_id = WINBOND_NEX_ID, |
| 5749 | .model_id = W_25Q32, |
| 5750 | .total_size = 4096, |
| 5751 | .page_size = 256, |
| 5752 | .tested = TEST_UNTESTED, |
| 5753 | .probe = probe_spi_rdid, |
| 5754 | .probe_timing = TIMING_ZERO, |
| 5755 | .block_erasers = |
| 5756 | { |
| 5757 | { |
| 5758 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5759 | .block_erase = spi_block_erase_20, |
| 5760 | }, { |
| 5761 | .eraseblocks = { {32 * 1024, 128} }, |
| 5762 | .block_erase = spi_block_erase_52, |
| 5763 | }, { |
| 5764 | .eraseblocks = { {64 * 1024, 64} }, |
| 5765 | .block_erase = spi_block_erase_d8, |
| 5766 | }, { |
| 5767 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5768 | .block_erase = spi_block_erase_60, |
| 5769 | }, { |
| 5770 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5771 | .block_erase = spi_block_erase_c7, |
| 5772 | } |
| 5773 | }, |
| 5774 | .write = spi_chip_write_256, |
| 5775 | .read = spi_chip_read, |
| 5776 | }, |
| 5777 | |
| 5778 | { |
| 5779 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5780 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5781 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5782 | .manufacture_id = WINBOND_NEX_ID, |
| 5783 | .model_id = W_25X10, |
| 5784 | .total_size = 128, |
| 5785 | .page_size = 256, |
| 5786 | .tested = TEST_UNTESTED, |
| 5787 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5788 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5789 | .block_erasers = |
| 5790 | { |
| 5791 | { |
| 5792 | .eraseblocks = { {4 * 1024, 32} }, |
| 5793 | .block_erase = spi_block_erase_20, |
| 5794 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5795 | .eraseblocks = { {64 * 1024, 2} }, |
| 5796 | .block_erase = spi_block_erase_d8, |
| 5797 | }, { |
| 5798 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5799 | .block_erase = spi_block_erase_c7, |
| 5800 | } |
| 5801 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5802 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5803 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5804 | }, |
| 5805 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5806 | { |
| 5807 | .vendor = "Winbond", |
| 5808 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5809 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5810 | .manufacture_id = WINBOND_NEX_ID, |
| 5811 | .model_id = W_25X20, |
| 5812 | .total_size = 256, |
| 5813 | .page_size = 256, |
| 5814 | .tested = TEST_UNTESTED, |
| 5815 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5816 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5817 | .block_erasers = |
| 5818 | { |
| 5819 | { |
| 5820 | .eraseblocks = { {4 * 1024, 64} }, |
| 5821 | .block_erase = spi_block_erase_20, |
| 5822 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5823 | .eraseblocks = { {64 * 1024, 4} }, |
| 5824 | .block_erase = spi_block_erase_d8, |
| 5825 | }, { |
| 5826 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5827 | .block_erase = spi_block_erase_c7, |
| 5828 | } |
| 5829 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5830 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5831 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5832 | }, |
| 5833 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5834 | { |
| 5835 | .vendor = "Winbond", |
| 5836 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5837 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5838 | .manufacture_id = WINBOND_NEX_ID, |
| 5839 | .model_id = W_25X40, |
| 5840 | .total_size = 512, |
| 5841 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5842 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5843 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5844 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5845 | .block_erasers = |
| 5846 | { |
| 5847 | { |
| 5848 | .eraseblocks = { {4 * 1024, 128} }, |
| 5849 | .block_erase = spi_block_erase_20, |
| 5850 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5851 | .eraseblocks = { {64 * 1024, 8} }, |
| 5852 | .block_erase = spi_block_erase_d8, |
| 5853 | }, { |
| 5854 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5855 | .block_erase = spi_block_erase_c7, |
| 5856 | } |
| 5857 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5858 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5859 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5860 | }, |
| 5861 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5862 | { |
| 5863 | .vendor = "Winbond", |
| 5864 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5865 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5866 | .manufacture_id = WINBOND_NEX_ID, |
| 5867 | .model_id = W_25X80, |
| 5868 | .total_size = 1024, |
| 5869 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5870 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5871 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5872 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5873 | .block_erasers = |
| 5874 | { |
| 5875 | { |
| 5876 | .eraseblocks = { {4 * 1024, 256} }, |
| 5877 | .block_erase = spi_block_erase_20, |
| 5878 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5879 | .eraseblocks = { {64 * 1024, 16} }, |
| 5880 | .block_erase = spi_block_erase_d8, |
| 5881 | }, { |
| 5882 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5883 | .block_erase = spi_block_erase_c7, |
| 5884 | } |
| 5885 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5886 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5887 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5888 | }, |
| 5889 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5890 | { |
| 5891 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5892 | .name = "W25x16", |
| 5893 | .bustype = CHIP_BUSTYPE_SPI, |
| 5894 | .manufacture_id = WINBOND_NEX_ID, |
| 5895 | .model_id = W_25X16, |
| 5896 | .total_size = 2048, |
| 5897 | .page_size = 256, |
| 5898 | .tested = TEST_OK_PR, |
| 5899 | .probe = probe_spi_rdid, |
| 5900 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5901 | .block_erasers = |
| 5902 | { |
| 5903 | { |
| 5904 | .eraseblocks = { {4 * 1024, 512} }, |
| 5905 | .block_erase = spi_block_erase_20, |
| 5906 | }, { |
| 5907 | .eraseblocks = { {32 * 1024, 64} }, |
| 5908 | .block_erase = spi_block_erase_52, |
| 5909 | }, { |
| 5910 | .eraseblocks = { {64 * 1024, 32} }, |
| 5911 | .block_erase = spi_block_erase_d8, |
| 5912 | }, { |
| 5913 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5914 | .block_erase = spi_block_erase_60, |
| 5915 | }, { |
| 5916 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5917 | .block_erase = spi_block_erase_c7, |
| 5918 | } |
| 5919 | }, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5920 | .write = spi_chip_write_256, |
| 5921 | .read = spi_chip_read, |
| 5922 | }, |
| 5923 | |
| 5924 | { |
| 5925 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5926 | .name = "W25x32", |
| 5927 | .bustype = CHIP_BUSTYPE_SPI, |
| 5928 | .manufacture_id = WINBOND_NEX_ID, |
| 5929 | .model_id = W_25X32, |
| 5930 | .total_size = 4096, |
| 5931 | .page_size = 256, |
| 5932 | .tested = TEST_OK_PROBE, |
| 5933 | .probe = probe_spi_rdid, |
| 5934 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5935 | .block_erasers = |
| 5936 | { |
| 5937 | { |
| 5938 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5939 | .block_erase = spi_block_erase_20, |
| 5940 | }, { |
| 5941 | .eraseblocks = { {32 * 1024, 128} }, |
| 5942 | .block_erase = spi_block_erase_52, |
| 5943 | }, { |
| 5944 | .eraseblocks = { {64 * 1024, 64} }, |
| 5945 | .block_erase = spi_block_erase_d8, |
| 5946 | }, { |
| 5947 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5948 | .block_erase = spi_block_erase_60, |
| 5949 | }, { |
| 5950 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5951 | .block_erase = spi_block_erase_c7, |
| 5952 | } |
| 5953 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5954 | .write = spi_chip_write_256, |
| 5955 | .read = spi_chip_read, |
| 5956 | }, |
| 5957 | |
| 5958 | { |
| 5959 | .vendor = "Winbond", |
| 5960 | .name = "W25x64", |
| 5961 | .bustype = CHIP_BUSTYPE_SPI, |
| 5962 | .manufacture_id = WINBOND_NEX_ID, |
| 5963 | .model_id = W_25X64, |
| 5964 | .total_size = 8192, |
| 5965 | .page_size = 256, |
| 5966 | .tested = TEST_UNTESTED, |
| 5967 | .probe = probe_spi_rdid, |
| 5968 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5969 | .block_erasers = |
| 5970 | { |
| 5971 | { |
| 5972 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5973 | .block_erase = spi_block_erase_20, |
| 5974 | }, { |
| 5975 | .eraseblocks = { {32 * 1024, 256} }, |
| 5976 | .block_erase = spi_block_erase_52, |
| 5977 | }, { |
| 5978 | .eraseblocks = { {64 * 1024, 128} }, |
| 5979 | .block_erase = spi_block_erase_d8, |
| 5980 | }, { |
| 5981 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5982 | .block_erase = spi_block_erase_60, |
| 5983 | }, { |
| 5984 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5985 | .block_erase = spi_block_erase_c7, |
| 5986 | } |
| 5987 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5988 | .write = spi_chip_write_256, |
| 5989 | .read = spi_chip_read, |
| 5990 | }, |
| 5991 | |
| 5992 | { |
| 5993 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5994 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5995 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5996 | .manufacture_id = WINBOND_ID, |
| 5997 | .model_id = W_29C011, |
| 5998 | .total_size = 128, |
| 5999 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6000 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6001 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6002 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6003 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6004 | .block_erasers = |
| 6005 | { |
| 6006 | { |
| 6007 | .eraseblocks = { {128 * 1024, 1} }, |
| 6008 | .block_erase = erase_chip_block_jedec, |
| 6009 | } |
| 6010 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6011 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6012 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6013 | }, |
| 6014 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6015 | { |
| 6016 | .vendor = "Winbond", |
| 6017 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6018 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6019 | .manufacture_id = WINBOND_ID, |
| 6020 | .model_id = W_29C020C, |
| 6021 | .total_size = 256, |
| 6022 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6023 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6024 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6025 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6026 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6027 | .block_erasers = |
| 6028 | { |
| 6029 | { |
| 6030 | .eraseblocks = { {256 * 1024, 1} }, |
| 6031 | .block_erase = erase_chip_block_jedec, |
| 6032 | } |
| 6033 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6034 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6035 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6036 | }, |
| 6037 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6038 | { |
| 6039 | .vendor = "Winbond", |
| 6040 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 6041 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6042 | .manufacture_id = WINBOND_ID, |
| 6043 | .model_id = W_29C040P, |
| 6044 | .total_size = 512, |
| 6045 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6046 | .feature_bits = FEATURE_LONG_RESET, |
| 6047 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6048 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6049 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6050 | .block_erasers = |
| 6051 | { |
| 6052 | { |
| 6053 | .eraseblocks = { {512 * 1024, 1} }, |
| 6054 | .block_erase = erase_chip_block_jedec, |
| 6055 | } |
| 6056 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6057 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6058 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6059 | }, |
| 6060 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6061 | { |
| 6062 | .vendor = "Winbond", |
| 6063 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6064 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6065 | .manufacture_id = WINBOND_ID, |
| 6066 | .model_id = W_29C011, |
| 6067 | .total_size = 128, |
| 6068 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6069 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6070 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6071 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6072 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6073 | .block_erasers = |
| 6074 | { |
| 6075 | { |
| 6076 | .eraseblocks = { {128 * 1024, 1} }, |
| 6077 | .block_erase = erase_chip_block_jedec, |
| 6078 | } |
| 6079 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6080 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6081 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6082 | }, |
| 6083 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6084 | { |
| 6085 | .vendor = "Winbond", |
| 6086 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6087 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6088 | .manufacture_id = WINBOND_ID, |
| 6089 | .model_id = W_39V040A, |
| 6090 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6091 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6092 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 6093 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6094 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6095 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6096 | .block_erasers = |
| 6097 | { |
| 6098 | { |
| 6099 | .eraseblocks = { {64 * 1024, 8} }, |
| 6100 | .block_erase = erase_sector_jedec, |
| 6101 | }, { |
| 6102 | .eraseblocks = { {512 * 1024, 1} }, |
| 6103 | .block_erase = erase_chip_block_jedec, |
| 6104 | } |
| 6105 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6106 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6107 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6108 | }, |
| 6109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6110 | { |
| 6111 | .vendor = "Winbond", |
| 6112 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6113 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6114 | .manufacture_id = WINBOND_ID, |
| 6115 | .model_id = W_39V040B, |
| 6116 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6117 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6118 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 6119 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6120 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6121 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6122 | .block_erasers = |
| 6123 | { |
| 6124 | { |
| 6125 | .eraseblocks = { {64 * 1024, 8} }, |
| 6126 | .block_erase = erase_sector_jedec, |
| 6127 | }, { |
| 6128 | .eraseblocks = { {512 * 1024, 1} }, |
| 6129 | .block_erase = erase_chip_block_jedec, |
| 6130 | } |
| 6131 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6132 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6133 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6134 | }, |
| 6135 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6136 | { |
| 6137 | .vendor = "Winbond", |
| 6138 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6139 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6140 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 6141 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6142 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6143 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6144 | .feature_bits = FEATURE_EITHER_RESET, |
| 6145 | .tested = TEST_UNTESTED, |
| 6146 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6147 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6148 | .block_erasers = |
| 6149 | { |
| 6150 | { |
| 6151 | .eraseblocks = { {64 * 1024, 8} }, |
| 6152 | .block_erase = erase_sector_jedec, |
| 6153 | }, { |
| 6154 | .eraseblocks = { {512 * 1024, 1} }, |
| 6155 | .block_erase = erase_chip_block_jedec, |
| 6156 | } |
| 6157 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6158 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6159 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6160 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6161 | }, |
| 6162 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6163 | { |
| 6164 | .vendor = "Winbond", |
| 6165 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6166 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6167 | .manufacture_id = WINBOND_ID, |
| 6168 | .model_id = W_39V040FA, |
| 6169 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6170 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6171 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 6172 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6173 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6174 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6175 | .block_erasers = |
| 6176 | { |
| 6177 | { |
| 6178 | .eraseblocks = { {4 * 1024, 128} }, |
| 6179 | .block_erase = erase_block_jedec, |
| 6180 | }, { |
| 6181 | .eraseblocks = { {64 * 1024, 8} }, |
| 6182 | .block_erase = erase_sector_jedec, |
| 6183 | }, { |
| 6184 | .eraseblocks = { {512 * 1024, 1} }, |
| 6185 | .block_erase = erase_chip_block_jedec, |
| 6186 | } |
| 6187 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 6188 | .printlock = printlock_sst_fwhub, |
| 6189 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6190 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6191 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6192 | }, |
| 6193 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6194 | { |
| 6195 | .vendor = "Winbond", |
| 6196 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6197 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6198 | .manufacture_id = WINBOND_ID, |
| 6199 | .model_id = W_39V080A, |
| 6200 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6201 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6202 | .feature_bits = FEATURE_EITHER_RESET, |
| 6203 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6204 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6205 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6206 | .block_erasers = |
| 6207 | { |
| 6208 | { |
| 6209 | .eraseblocks = { {64 * 1024, 16} }, |
| 6210 | .block_erase = erase_sector_jedec, |
| 6211 | }, { |
| 6212 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6213 | .block_erase = erase_chip_block_jedec, |
| 6214 | } |
| 6215 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6216 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6217 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6218 | }, |
| 6219 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6220 | { |
| 6221 | .vendor = "Winbond", |
| 6222 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6223 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6224 | .manufacture_id = WINBOND_ID, |
| 6225 | .model_id = W_49F002U, |
| 6226 | .total_size = 256, |
| 6227 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6228 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 6229 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6230 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6231 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6232 | .block_erasers = |
| 6233 | { |
| 6234 | { |
| 6235 | .eraseblocks = { |
| 6236 | {128 * 1024, 1}, |
| 6237 | {96 * 1024, 1}, |
| 6238 | {8 * 1024, 2}, |
| 6239 | {16 * 1024, 1}, |
| 6240 | }, |
| 6241 | .block_erase = erase_sector_jedec, |
| 6242 | }, { |
| 6243 | .eraseblocks = { {256 * 1024, 1} }, |
| 6244 | .block_erase = erase_chip_block_jedec, |
| 6245 | } |
| 6246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6249 | }, |
| 6250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6251 | { |
| 6252 | .vendor = "Winbond", |
| 6253 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6254 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6255 | .manufacture_id = WINBOND_ID, |
| 6256 | .model_id = W_49V002A, |
| 6257 | .total_size = 256, |
| 6258 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6259 | .feature_bits = FEATURE_EITHER_RESET, |
| 6260 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6261 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6262 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6263 | .block_erasers = |
| 6264 | { |
| 6265 | { |
| 6266 | .eraseblocks = { |
| 6267 | {64 * 1024, 3}, |
| 6268 | {32 * 1024, 1}, |
| 6269 | {8 * 1024, 2}, |
| 6270 | {16 * 1024, 1}, |
| 6271 | }, |
| 6272 | .block_erase = erase_sector_jedec, |
| 6273 | }, { |
| 6274 | .eraseblocks = { {256 * 1024, 1} }, |
| 6275 | .block_erase = erase_chip_block_jedec, |
| 6276 | } |
| 6277 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6278 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6279 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6280 | }, |
| 6281 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6282 | { |
| 6283 | .vendor = "Winbond", |
| 6284 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6285 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6286 | .manufacture_id = WINBOND_ID, |
| 6287 | .model_id = W_49V002FA, |
| 6288 | .total_size = 256, |
| 6289 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6290 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 6291 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6292 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6293 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6294 | .block_erasers = |
| 6295 | { |
| 6296 | { |
| 6297 | .eraseblocks = { |
| 6298 | {64 * 1024, 3}, |
| 6299 | {32 * 1024, 1}, |
| 6300 | {8 * 1024, 2}, |
| 6301 | {16 * 1024, 1}, |
| 6302 | }, |
| 6303 | .block_erase = erase_sector_jedec, |
| 6304 | }, { |
| 6305 | .eraseblocks = { {256 * 1024, 1} }, |
| 6306 | .block_erase = erase_chip_block_jedec, |
| 6307 | } |
| 6308 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6309 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6310 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6311 | }, |
| 6312 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6313 | { |
| 6314 | .vendor = "Winbond", |
| 6315 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6316 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6317 | .manufacture_id = WINBOND_ID, |
| 6318 | .model_id = W_39V080FA, |
| 6319 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6320 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6321 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 6322 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6323 | .probe = probe_jedec, |
| 6324 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6325 | .block_erasers = |
| 6326 | { |
| 6327 | { |
| 6328 | .eraseblocks = { {64 * 1024, 16}, }, |
| 6329 | .block_erase = erase_sector_jedec, |
| 6330 | }, { |
| 6331 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6332 | .block_erase = erase_chip_block_jedec, |
| 6333 | } |
| 6334 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6335 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6336 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6337 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6338 | }, |
| 6339 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6340 | { |
| 6341 | .vendor = "Winbond", |
| 6342 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6343 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6344 | .manufacture_id = WINBOND_ID, |
| 6345 | .model_id = W_39V080FA_DM, |
| 6346 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6347 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6348 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6349 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6350 | .probe = probe_jedec, |
| 6351 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6352 | .block_erasers = |
| 6353 | { |
| 6354 | { |
| 6355 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6356 | .block_erase = erase_sector_jedec, |
| 6357 | }, { |
| 6358 | .eraseblocks = { {512 * 1024, 1} }, |
| 6359 | .block_erase = erase_chip_block_jedec, |
| 6360 | } |
| 6361 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6362 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6363 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6364 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6365 | }, |
| 6366 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6367 | { |
| 6368 | .vendor = "Atmel", |
| 6369 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6370 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6371 | .manufacture_id = ATMEL_ID, |
| 6372 | .model_id = GENERIC_DEVICE_ID, |
| 6373 | .total_size = 0, |
| 6374 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6375 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6376 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6377 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6378 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6379 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6380 | }, |
| 6381 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6382 | { |
| 6383 | .vendor = "EON", |
| 6384 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6385 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6386 | .manufacture_id = EON_ID_NOPREFIX, |
| 6387 | .model_id = GENERIC_DEVICE_ID, |
| 6388 | .total_size = 0, |
| 6389 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6390 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6391 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6392 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6393 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6394 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6395 | }, |
| 6396 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6397 | { |
| 6398 | .vendor = "Macronix", |
| 6399 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6400 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6401 | .manufacture_id = MX_ID, |
| 6402 | .model_id = GENERIC_DEVICE_ID, |
| 6403 | .total_size = 0, |
| 6404 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6405 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6406 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6407 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6408 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6409 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6410 | }, |
| 6411 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6412 | { |
| 6413 | .vendor = "PMC", |
| 6414 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6415 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6416 | .manufacture_id = PMC_ID, |
| 6417 | .model_id = GENERIC_DEVICE_ID, |
| 6418 | .total_size = 0, |
| 6419 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6420 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6421 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6422 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6423 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6424 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6425 | }, |
| 6426 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6427 | { |
| 6428 | .vendor = "SST", |
| 6429 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6430 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6431 | .manufacture_id = SST_ID, |
| 6432 | .model_id = GENERIC_DEVICE_ID, |
| 6433 | .total_size = 0, |
| 6434 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6435 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6436 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6437 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6438 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6439 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6440 | }, |
| 6441 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6442 | { |
| 6443 | .vendor = "ST", |
| 6444 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6445 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6446 | .manufacture_id = ST_ID, |
| 6447 | .model_id = GENERIC_DEVICE_ID, |
| 6448 | .total_size = 0, |
| 6449 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6450 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6451 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6452 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6453 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6454 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6455 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 6456 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6457 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6458 | .vendor = "Sanyo", |
| 6459 | .name = "unknown Sanyo SPI chip", |
| 6460 | .bustype = CHIP_BUSTYPE_SPI, |
| 6461 | .manufacture_id = SANYO_ID, |
| 6462 | .model_id = GENERIC_DEVICE_ID, |
| 6463 | .total_size = 0, |
| 6464 | .page_size = 256, |
| 6465 | .tested = TEST_BAD_PREW, |
| 6466 | .probe = probe_spi_rdid, |
| 6467 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6468 | .write = NULL, |
| 6469 | .read = NULL, |
| 6470 | }, |
| 6471 | |
| 6472 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6473 | .vendor = "Generic", |
| 6474 | .name = "unknown SPI chip (RDID)", |
| 6475 | .bustype = CHIP_BUSTYPE_SPI, |
| 6476 | .manufacture_id = GENERIC_MANUF_ID, |
| 6477 | .model_id = GENERIC_DEVICE_ID, |
| 6478 | .total_size = 0, |
| 6479 | .page_size = 256, |
| 6480 | .tested = TEST_BAD_PREW, |
| 6481 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6482 | .write = NULL, |
| 6483 | }, |
| 6484 | { |
| 6485 | .vendor = "Generic", |
| 6486 | .name = "unknown SPI chip (REMS)", |
| 6487 | .bustype = CHIP_BUSTYPE_SPI, |
| 6488 | .manufacture_id = GENERIC_MANUF_ID, |
| 6489 | .model_id = GENERIC_DEVICE_ID, |
| 6490 | .total_size = 0, |
| 6491 | .page_size = 256, |
| 6492 | .tested = TEST_BAD_PREW, |
| 6493 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6494 | .write = NULL, |
| 6495 | }, |
| 6496 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6497 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 6498 | }; |