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