Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Sean Nelson | c57a920 | 2010-01-04 17:15:23 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 9 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 14 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 19 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #include "flash.h" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 26 | #include "flashchips.h" |
Sean Nelson | 14ba668 | 2010-02-26 05:48:29 +0000 | [diff] [blame] | 27 | #include "chipdrivers.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 30 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 31 | * |
| 32 | * Please keep the list sorted by vendor name and chip name, so that |
| 33 | * the output of 'flashrom -L' is alphabetically sorted. |
| 34 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 35 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 36 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 37 | /* |
| 38 | * .vendor = Vendor name |
| 39 | * .name = Chip name |
| 40 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 41 | * .manufacture_id = Manufacturer chip ID |
| 42 | * .model_id = Model chip ID |
| 43 | * .total_size = Total size in (binary) kbytes |
| 44 | * .page_size = Page or eraseblock(?) size in bytes |
| 45 | * .tested = Test status |
| 46 | * .probe = Probe function |
| 47 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 48 | * .block_erasers[] = Array of erase layouts and erase functions |
| 49 | * { |
| 50 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 51 | * .block_erase = Block erase function |
| 52 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 53 | * .printlock = Chip lock status function |
| 54 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 55 | * .write = Chip write function |
| 56 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 57 | */ |
| 58 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 59 | { |
| 60 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 61 | .name = "Am29F010A/B", |
| 62 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 63 | .manufacture_id = AMD_ID, |
| 64 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 65 | .total_size = 128, |
| 66 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 67 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 68 | .tested = TEST_UNTESTED, |
| 69 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 70 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 71 | .block_erasers = |
| 72 | { |
| 73 | { |
| 74 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 75 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 76 | }, { |
| 77 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 78 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 79 | }, |
| 80 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 81 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 82 | .read = read_memmapped, |
| 83 | }, |
| 84 | |
| 85 | { |
| 86 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 87 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 88 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .manufacture_id = AMD_ID, |
| 90 | .model_id = AM_29F002BB, |
| 91 | .total_size = 256, |
| 92 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 93 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 94 | .tested = TEST_UNTESTED, |
| 95 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 96 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 97 | .block_erasers = |
| 98 | { |
| 99 | { |
| 100 | .eraseblocks = { |
| 101 | {16 * 1024, 1}, |
| 102 | {8 * 1024, 2}, |
| 103 | {32 * 1024, 1}, |
| 104 | {64 * 1024, 3}, |
| 105 | }, |
| 106 | .block_erase = erase_sector_jedec, |
| 107 | }, { |
| 108 | .eraseblocks = { {256 * 1024, 1} }, |
| 109 | .block_erase = erase_chip_block_jedec, |
| 110 | }, |
| 111 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 114 | }, |
| 115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 116 | { |
| 117 | .vendor = "AMD", |
| 118 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 120 | .manufacture_id = AMD_ID, |
| 121 | .model_id = AM_29F002BT, |
| 122 | .total_size = 256, |
| 123 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 124 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 125 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 126 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 128 | .block_erasers = |
| 129 | { |
| 130 | { |
| 131 | .eraseblocks = { |
| 132 | {64 * 1024, 3}, |
| 133 | {32 * 1024, 1}, |
| 134 | {8 * 1024, 2}, |
| 135 | {16 * 1024, 1}, |
| 136 | }, |
| 137 | .block_erase = erase_sector_jedec, |
| 138 | }, { |
| 139 | .eraseblocks = { {256 * 1024, 1} }, |
| 140 | .block_erase = erase_chip_block_jedec, |
| 141 | }, |
| 142 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 143 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 145 | }, |
| 146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 147 | { |
| 148 | .vendor = "AMD", |
| 149 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 150 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .manufacture_id = AMD_ID, |
| 152 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 153 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 155 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 156 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 157 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 158 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 159 | .block_erasers = |
| 160 | { |
| 161 | { |
| 162 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 163 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 164 | }, { |
| 165 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 167 | }, |
| 168 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 171 | }, |
| 172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 173 | { |
| 174 | .vendor = "AMD", |
| 175 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | .manufacture_id = AMD_ID, |
| 178 | .model_id = AM_29F040B, |
| 179 | .total_size = 512, |
| 180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 182 | .tested = TEST_UNTESTED, |
| 183 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 185 | .block_erasers = |
| 186 | { |
| 187 | { |
| 188 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 189 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | }, { |
| 191 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 193 | }, |
| 194 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 196 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 197 | }, |
| 198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 199 | { |
| 200 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 201 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 202 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 203 | .manufacture_id = AMD_ID, |
| 204 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 205 | .total_size = 1024, |
| 206 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 207 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 208 | .tested = TEST_UNTESTED, |
| 209 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 211 | .block_erasers = |
| 212 | { |
| 213 | { |
| 214 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 215 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | }, { |
| 217 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 218 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 219 | }, |
| 220 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 222 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 223 | }, |
| 224 | |
| 225 | { |
| 226 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 227 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 228 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 229 | .manufacture_id = AMD_ID, |
| 230 | .model_id = AM_29LV040B, |
| 231 | .total_size = 512, |
| 232 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 234 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 235 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 236 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 237 | .block_erasers = |
| 238 | { |
| 239 | { |
| 240 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 241 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 242 | }, { |
| 243 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 244 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 245 | }, |
| 246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 249 | }, |
| 250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 251 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 252 | .vendor = "AMD", |
| 253 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 255 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 256 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .total_size = 1024, |
| 258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 259 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 260 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 261 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 262 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 263 | .block_erasers = |
| 264 | { |
| 265 | { |
| 266 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 267 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | }, { |
| 269 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 270 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 271 | }, |
| 272 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 273 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 274 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 275 | }, |
| 276 | |
| 277 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 278 | .vendor = "ASD", |
| 279 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 280 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 281 | .manufacture_id = ASD_ID, |
| 282 | .model_id = ASD_AE49F2008, |
| 283 | .total_size = 256, |
| 284 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 285 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 286 | .tested = TEST_UNTESTED, |
| 287 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 288 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 289 | .block_erasers = |
| 290 | { |
| 291 | { |
| 292 | .eraseblocks = { |
| 293 | {128 * 1024, 1}, |
| 294 | {96 * 1024, 1}, |
| 295 | {8 * 1024, 2}, |
| 296 | {16 * 1024, 1}, |
| 297 | }, |
| 298 | .block_erase = erase_sector_jedec, |
| 299 | }, { |
| 300 | .eraseblocks = { {256 * 1024, 1} }, |
| 301 | .block_erase = erase_chip_block_jedec, |
| 302 | } |
| 303 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 304 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 305 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 306 | }, |
| 307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 308 | { |
| 309 | .vendor = "Atmel", |
| 310 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 311 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 312 | .manufacture_id = ATMEL_ID, |
| 313 | .model_id = AT_25DF021, |
| 314 | .total_size = 256, |
| 315 | .page_size = 256, |
| 316 | .tested = TEST_UNTESTED, |
| 317 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 318 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 319 | .block_erasers = |
| 320 | { |
| 321 | { |
| 322 | .eraseblocks = { {4 * 1024, 64} }, |
| 323 | .block_erase = spi_block_erase_20, |
| 324 | }, { |
| 325 | .eraseblocks = { {32 * 1024, 8} }, |
| 326 | .block_erase = spi_block_erase_52, |
| 327 | }, { |
| 328 | .eraseblocks = { {64 * 1024, 4} }, |
| 329 | .block_erase = spi_block_erase_d8, |
| 330 | }, { |
| 331 | .eraseblocks = { {256 * 1024, 1} }, |
| 332 | .block_erase = spi_block_erase_60, |
| 333 | }, { |
| 334 | .eraseblocks = { {256 * 1024, 1} }, |
| 335 | .block_erase = spi_block_erase_c7, |
| 336 | } |
| 337 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 338 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 339 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 340 | }, |
| 341 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 342 | { |
| 343 | .vendor = "Atmel", |
| 344 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 345 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 346 | .manufacture_id = ATMEL_ID, |
| 347 | .model_id = AT_25DF041A, |
| 348 | .total_size = 512, |
| 349 | .page_size = 256, |
| 350 | .tested = TEST_UNTESTED, |
| 351 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 352 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 353 | .block_erasers = |
| 354 | { |
| 355 | { |
| 356 | .eraseblocks = { {4 * 1024, 128} }, |
| 357 | .block_erase = spi_block_erase_20, |
| 358 | }, { |
| 359 | .eraseblocks = { {32 * 1024, 16} }, |
| 360 | .block_erase = spi_block_erase_52, |
| 361 | }, { |
| 362 | .eraseblocks = { {64 * 1024, 8} }, |
| 363 | .block_erase = spi_block_erase_d8, |
| 364 | }, { |
| 365 | .eraseblocks = { {512 * 1024, 1} }, |
| 366 | .block_erase = spi_block_erase_60, |
| 367 | }, { |
| 368 | .eraseblocks = { {512 * 1024, 1} }, |
| 369 | .block_erase = spi_block_erase_c7, |
| 370 | } |
| 371 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 372 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 373 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 374 | }, |
| 375 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 376 | { |
| 377 | .vendor = "Atmel", |
| 378 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 379 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 380 | .manufacture_id = ATMEL_ID, |
| 381 | .model_id = AT_25DF081, |
| 382 | .total_size = 1024, |
| 383 | .page_size = 256, |
| 384 | .tested = TEST_UNTESTED, |
| 385 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 386 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 387 | .block_erasers = |
| 388 | { |
| 389 | { |
| 390 | .eraseblocks = { {4 * 1024, 256} }, |
| 391 | .block_erase = spi_block_erase_20, |
| 392 | }, { |
| 393 | .eraseblocks = { {32 * 1024, 32} }, |
| 394 | .block_erase = spi_block_erase_52, |
| 395 | }, { |
| 396 | .eraseblocks = { {64 * 1024, 16} }, |
| 397 | .block_erase = spi_block_erase_d8, |
| 398 | }, { |
| 399 | .eraseblocks = { {1024 * 1024, 1} }, |
| 400 | .block_erase = spi_block_erase_60, |
| 401 | }, { |
| 402 | .eraseblocks = { {1024 * 1024, 1} }, |
| 403 | .block_erase = spi_block_erase_c7, |
| 404 | } |
| 405 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 406 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 407 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 408 | }, |
| 409 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 410 | { |
| 411 | .vendor = "Atmel", |
| 412 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 413 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 414 | .manufacture_id = ATMEL_ID, |
| 415 | .model_id = AT_25DF161, |
| 416 | .total_size = 2048, |
| 417 | .page_size = 256, |
| 418 | .tested = TEST_UNTESTED, |
| 419 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 420 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 421 | .block_erasers = |
| 422 | { |
| 423 | { |
| 424 | .eraseblocks = { {4 * 1024, 512} }, |
| 425 | .block_erase = spi_block_erase_20, |
| 426 | }, { |
| 427 | .eraseblocks = { {32 * 1024, 64} }, |
| 428 | .block_erase = spi_block_erase_52, |
| 429 | }, { |
| 430 | .eraseblocks = { {64 * 1024, 32} }, |
| 431 | .block_erase = spi_block_erase_d8, |
| 432 | }, { |
| 433 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 434 | .block_erase = spi_block_erase_60, |
| 435 | }, { |
| 436 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 437 | .block_erase = spi_block_erase_c7, |
| 438 | } |
| 439 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 440 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 441 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 442 | }, |
| 443 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 444 | { |
| 445 | .vendor = "Atmel", |
| 446 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 447 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 448 | .manufacture_id = ATMEL_ID, |
| 449 | .model_id = AT_25DF321, |
| 450 | .total_size = 4096, |
| 451 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 452 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 453 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 454 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 455 | .block_erasers = |
| 456 | { |
| 457 | { |
| 458 | .eraseblocks = { {4 * 1024, 1024} }, |
| 459 | .block_erase = spi_block_erase_20, |
| 460 | }, { |
| 461 | .eraseblocks = { {32 * 1024, 128} }, |
| 462 | .block_erase = spi_block_erase_52, |
| 463 | }, { |
| 464 | .eraseblocks = { {64 * 1024, 64} }, |
| 465 | .block_erase = spi_block_erase_d8, |
| 466 | }, { |
| 467 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 468 | .block_erase = spi_block_erase_60, |
| 469 | }, { |
| 470 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 471 | .block_erase = spi_block_erase_c7, |
| 472 | } |
| 473 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 474 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 475 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 476 | }, |
| 477 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 478 | { |
| 479 | .vendor = "Atmel", |
| 480 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 481 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 482 | .manufacture_id = ATMEL_ID, |
| 483 | .model_id = AT_25DF321A, |
| 484 | .total_size = 4096, |
| 485 | .page_size = 256, |
| 486 | .tested = TEST_UNTESTED, |
| 487 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 488 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 489 | .block_erasers = |
| 490 | { |
| 491 | { |
| 492 | .eraseblocks = { {4 * 1024, 1024} }, |
| 493 | .block_erase = spi_block_erase_20, |
| 494 | }, { |
| 495 | .eraseblocks = { {32 * 1024, 128} }, |
| 496 | .block_erase = spi_block_erase_52, |
| 497 | }, { |
| 498 | .eraseblocks = { {64 * 1024, 64} }, |
| 499 | .block_erase = spi_block_erase_d8, |
| 500 | }, { |
| 501 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 502 | .block_erase = spi_block_erase_60, |
| 503 | }, { |
| 504 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 505 | .block_erase = spi_block_erase_c7, |
| 506 | } |
| 507 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 508 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 509 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 510 | }, |
| 511 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 512 | { |
| 513 | .vendor = "Atmel", |
| 514 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 515 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 516 | .manufacture_id = ATMEL_ID, |
| 517 | .model_id = AT_25DF641, |
| 518 | .total_size = 8192, |
| 519 | .page_size = 256, |
| 520 | .tested = TEST_UNTESTED, |
| 521 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 522 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 523 | .block_erasers = |
| 524 | { |
| 525 | { |
| 526 | .eraseblocks = { {4 * 1024, 2048} }, |
| 527 | .block_erase = spi_block_erase_20, |
| 528 | }, { |
| 529 | .eraseblocks = { {32 * 1024, 256} }, |
| 530 | .block_erase = spi_block_erase_52, |
| 531 | }, { |
| 532 | .eraseblocks = { {64 * 1024, 128} }, |
| 533 | .block_erase = spi_block_erase_d8, |
| 534 | }, { |
| 535 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 536 | .block_erase = spi_block_erase_60, |
| 537 | }, { |
| 538 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 539 | .block_erase = spi_block_erase_c7, |
| 540 | } |
| 541 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 542 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 543 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 544 | }, |
| 545 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 546 | { |
| 547 | .vendor = "Atmel", |
| 548 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 549 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 550 | .manufacture_id = ATMEL_ID, |
| 551 | .model_id = AT_25F512B, |
| 552 | .total_size = 64, |
| 553 | .page_size = 256, |
| 554 | .tested = TEST_UNTESTED, |
| 555 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 556 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 557 | .block_erasers = |
| 558 | { |
| 559 | { |
| 560 | .eraseblocks = { {4 * 1024, 16} }, |
| 561 | .block_erase = spi_block_erase_20, |
| 562 | }, { |
| 563 | .eraseblocks = { {32 * 1024, 2} }, |
| 564 | .block_erase = spi_block_erase_52, |
| 565 | }, { |
| 566 | .eraseblocks = { {32 * 1024, 2} }, |
| 567 | .block_erase = spi_block_erase_d8, |
| 568 | }, { |
| 569 | .eraseblocks = { {64 * 1024, 1} }, |
| 570 | .block_erase = spi_block_erase_60, |
| 571 | }, { |
| 572 | .eraseblocks = { {64 * 1024, 1} }, |
| 573 | .block_erase = spi_block_erase_c7, |
| 574 | } |
| 575 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 576 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 577 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 578 | }, |
| 579 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 580 | { |
| 581 | .vendor = "Atmel", |
| 582 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 583 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 584 | .manufacture_id = ATMEL_ID, |
| 585 | .model_id = AT_25FS010, |
| 586 | .total_size = 128, |
| 587 | .page_size = 256, |
| 588 | .tested = TEST_UNTESTED, |
| 589 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 590 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 591 | .block_erasers = |
| 592 | { |
| 593 | { |
| 594 | .eraseblocks = { {4 * 1024, 32} }, |
| 595 | .block_erase = spi_block_erase_20, |
| 596 | }, { |
| 597 | .eraseblocks = { {32 * 1024, 4} }, |
| 598 | .block_erase = spi_block_erase_52, |
| 599 | }, { |
| 600 | .eraseblocks = { {32 * 1024, 4} }, |
| 601 | .block_erase = spi_block_erase_d8, |
| 602 | }, { |
| 603 | .eraseblocks = { {128 * 1024, 1} }, |
| 604 | .block_erase = spi_block_erase_60, |
| 605 | }, { |
| 606 | .eraseblocks = { {128 * 1024, 1} }, |
| 607 | .block_erase = spi_block_erase_c7, |
| 608 | } |
| 609 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 610 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 611 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 612 | }, |
| 613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 614 | { |
| 615 | .vendor = "Atmel", |
| 616 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 617 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 618 | .manufacture_id = ATMEL_ID, |
| 619 | .model_id = AT_25FS040, |
| 620 | .total_size = 512, |
| 621 | .page_size = 256, |
| 622 | .tested = TEST_UNTESTED, |
| 623 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 624 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 625 | .block_erasers = |
| 626 | { |
| 627 | { |
| 628 | .eraseblocks = { {4 * 1024, 128} }, |
| 629 | .block_erase = spi_block_erase_20, |
| 630 | }, { |
| 631 | .eraseblocks = { {64 * 1024, 8} }, |
| 632 | .block_erase = spi_block_erase_52, |
| 633 | }, { |
| 634 | .eraseblocks = { {64 * 1024, 8} }, |
| 635 | .block_erase = spi_block_erase_d8, |
| 636 | }, { |
| 637 | .eraseblocks = { {512 * 1024, 1} }, |
| 638 | .block_erase = spi_block_erase_60, |
| 639 | }, { |
| 640 | .eraseblocks = { {512 * 1024, 1} }, |
| 641 | .block_erase = spi_block_erase_c7, |
| 642 | } |
| 643 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 644 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 645 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 646 | }, |
| 647 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 648 | { |
| 649 | .vendor = "Atmel", |
| 650 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 651 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 652 | .manufacture_id = ATMEL_ID, |
| 653 | .model_id = AT_26DF041, |
| 654 | .total_size = 512, |
| 655 | .page_size = 256, |
| 656 | .tested = TEST_UNTESTED, |
| 657 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 658 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 659 | .block_erasers = |
| 660 | { |
| 661 | { |
| 662 | .eraseblocks = { {4 * 1024, 128} }, |
| 663 | .block_erase = spi_block_erase_20, |
| 664 | } |
| 665 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 666 | .write = NULL /* Incompatible Page write */, |
| 667 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 668 | }, |
| 669 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 670 | { |
| 671 | .vendor = "Atmel", |
| 672 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 673 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 674 | .manufacture_id = ATMEL_ID, |
| 675 | .model_id = AT_26DF081A, |
| 676 | .total_size = 1024, |
| 677 | .page_size = 256, |
| 678 | .tested = TEST_UNTESTED, |
| 679 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 680 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 681 | .block_erasers = |
| 682 | { |
| 683 | { |
| 684 | .eraseblocks = { {4 * 1024, 256} }, |
| 685 | .block_erase = spi_block_erase_20, |
| 686 | }, { |
| 687 | .eraseblocks = { {32 * 1024, 32} }, |
| 688 | .block_erase = spi_block_erase_52, |
| 689 | }, { |
| 690 | .eraseblocks = { {64 * 1024, 16} }, |
| 691 | .block_erase = spi_block_erase_d8, |
| 692 | }, { |
| 693 | .eraseblocks = { {1024 * 1024, 1} }, |
| 694 | .block_erase = spi_block_erase_60, |
| 695 | }, { |
| 696 | .eraseblocks = { {1024 * 1024, 1} }, |
| 697 | .block_erase = spi_block_erase_c7, |
| 698 | } |
| 699 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 700 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 701 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 702 | }, |
| 703 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 704 | { |
| 705 | .vendor = "Atmel", |
| 706 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 707 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 708 | .manufacture_id = ATMEL_ID, |
| 709 | .model_id = AT_26DF161, |
| 710 | .total_size = 2048, |
| 711 | .page_size = 256, |
| 712 | .tested = TEST_UNTESTED, |
| 713 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 714 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 715 | .block_erasers = |
| 716 | { |
| 717 | { |
| 718 | .eraseblocks = { {4 * 1024, 512} }, |
| 719 | .block_erase = spi_block_erase_20, |
| 720 | }, { |
| 721 | .eraseblocks = { {32 * 1024, 64} }, |
| 722 | .block_erase = spi_block_erase_52, |
| 723 | }, { |
| 724 | .eraseblocks = { {64 * 1024, 32} }, |
| 725 | .block_erase = spi_block_erase_d8, |
| 726 | }, { |
| 727 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 728 | .block_erase = spi_block_erase_60, |
| 729 | }, { |
| 730 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 731 | .block_erase = spi_block_erase_c7, |
| 732 | } |
| 733 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 734 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 735 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 736 | }, |
| 737 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 738 | { |
| 739 | .vendor = "Atmel", |
| 740 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 741 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 742 | .manufacture_id = ATMEL_ID, |
| 743 | .model_id = AT_26DF161A, |
| 744 | .total_size = 2048, |
| 745 | .page_size = 256, |
| 746 | .tested = TEST_UNTESTED, |
| 747 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 748 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 749 | .block_erasers = |
| 750 | { |
| 751 | { |
| 752 | .eraseblocks = { {4 * 1024, 512} }, |
| 753 | .block_erase = spi_block_erase_20, |
| 754 | }, { |
| 755 | .eraseblocks = { {32 * 1024, 64} }, |
| 756 | .block_erase = spi_block_erase_52, |
| 757 | }, { |
| 758 | .eraseblocks = { {64 * 1024, 32} }, |
| 759 | .block_erase = spi_block_erase_d8, |
| 760 | }, { |
| 761 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 762 | .block_erase = spi_block_erase_60, |
| 763 | }, { |
| 764 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 765 | .block_erase = spi_block_erase_c7, |
| 766 | } |
| 767 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 768 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 769 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 770 | }, |
| 771 | |
| 772 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 773 | /*{ |
| 774 | .vendor = "Atmel", |
| 775 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 776 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 777 | .manufacture_id = ATMEL_ID, |
| 778 | .model_id = AT_26DF321, |
| 779 | .total_size = 4096, |
| 780 | .page_size = 256, |
| 781 | .tested = TEST_UNTESTED, |
| 782 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 783 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 784 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 785 | .read = spi_chip_read, |
| 786 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 787 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 788 | { |
| 789 | .vendor = "Atmel", |
| 790 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 791 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 792 | .manufacture_id = ATMEL_ID, |
| 793 | .model_id = AT_26F004, |
| 794 | .total_size = 512, |
| 795 | .page_size = 256, |
| 796 | .tested = TEST_UNTESTED, |
| 797 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 798 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 799 | .block_erasers = |
| 800 | { |
| 801 | { |
| 802 | .eraseblocks = { {4 * 1024, 128} }, |
| 803 | .block_erase = spi_block_erase_20, |
| 804 | }, { |
| 805 | .eraseblocks = { {32 * 1024, 16} }, |
| 806 | .block_erase = spi_block_erase_52, |
| 807 | }, { |
| 808 | .eraseblocks = { {64 * 1024, 8} }, |
| 809 | .block_erase = spi_block_erase_d8, |
| 810 | }, { |
| 811 | .eraseblocks = { {512 * 1024, 1} }, |
| 812 | .block_erase = spi_block_erase_60, |
| 813 | }, { |
| 814 | .eraseblocks = { {512 * 1024, 1} }, |
| 815 | .block_erase = spi_block_erase_c7, |
| 816 | } |
| 817 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 818 | .write = NULL /* Incompatible Page write */, |
| 819 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 820 | }, |
| 821 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 822 | { |
| 823 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 824 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 825 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 826 | .manufacture_id = ATMEL_ID, |
| 827 | .model_id = AT_29C512, |
| 828 | .total_size = 64, |
| 829 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 830 | .feature_bits = FEATURE_LONG_RESET, |
| 831 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 832 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 833 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 834 | .block_erasers = |
| 835 | { |
| 836 | { |
| 837 | .eraseblocks = { {64 * 1024, 1} }, |
| 838 | .block_erase = erase_chip_block_jedec, |
| 839 | } |
| 840 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 841 | .write = write_jedec, |
| 842 | .read = read_memmapped, |
| 843 | |
| 844 | }, |
| 845 | |
| 846 | { |
| 847 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 848 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 849 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 850 | .manufacture_id = ATMEL_ID, |
| 851 | .model_id = AT_29C010A, |
| 852 | .total_size = 128, |
| 853 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 854 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 855 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 856 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 857 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 858 | .block_erasers = |
| 859 | { |
| 860 | { |
| 861 | .eraseblocks = { {128 * 1024, 1} }, |
| 862 | .block_erase = erase_chip_block_jedec, |
| 863 | } |
| 864 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 865 | .write = write_jedec, /* FIXME */ |
| 866 | .read = read_memmapped, |
| 867 | }, |
| 868 | |
| 869 | { |
| 870 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 871 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 872 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 873 | .manufacture_id = ATMEL_ID, |
| 874 | .model_id = AT_29C020, |
| 875 | .total_size = 256, |
| 876 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 877 | .feature_bits = FEATURE_LONG_RESET, |
| 878 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 879 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 880 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 881 | .block_erasers = |
| 882 | { |
| 883 | { |
| 884 | .eraseblocks = { {256 * 1024, 1} }, |
| 885 | .block_erase = erase_chip_block_jedec, |
| 886 | } |
| 887 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 888 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 889 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 890 | }, |
| 891 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 892 | { |
| 893 | .vendor = "Atmel", |
| 894 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 895 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 896 | .manufacture_id = ATMEL_ID, |
| 897 | .model_id = AT_29C040A, |
| 898 | .total_size = 512, |
| 899 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 900 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 901 | .tested = TEST_UNTESTED, |
| 902 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 903 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 904 | .block_erasers = |
| 905 | { |
| 906 | { |
| 907 | .eraseblocks = { {512 * 1024, 1} }, |
| 908 | .block_erase = erase_chip_block_jedec, |
| 909 | } |
| 910 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 911 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 912 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 913 | }, |
| 914 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 915 | { |
| 916 | .vendor = "Atmel", |
| 917 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 918 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 919 | .manufacture_id = ATMEL_ID, |
| 920 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 921 | .total_size = 16896 /* No power of two sizes */, |
| 922 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 923 | .tested = TEST_BAD_READ, |
| 924 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 925 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 926 | .write = NULL /* Incompatible Page write */, |
| 927 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 928 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 929 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 930 | { |
| 931 | .vendor = "Atmel", |
| 932 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 933 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 934 | .manufacture_id = ATMEL_ID, |
| 935 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 936 | .total_size = 128 /* Size can only be determined from status register */, |
| 937 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 938 | .tested = TEST_BAD_READ, |
| 939 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 940 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 941 | .write = NULL, |
| 942 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 943 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 944 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 945 | { |
| 946 | .vendor = "Atmel", |
| 947 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 948 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 949 | .manufacture_id = ATMEL_ID, |
| 950 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 951 | .total_size = 256 /* Size can only be determined from status register */, |
| 952 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 953 | .tested = TEST_BAD_READ, |
| 954 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 955 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 956 | .write = NULL, |
| 957 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 958 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 959 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 960 | { |
| 961 | .vendor = "Atmel", |
| 962 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 963 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 964 | .manufacture_id = ATMEL_ID, |
| 965 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 966 | .total_size = 512 /* Size can only be determined from status register */, |
| 967 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 968 | .tested = TEST_BAD_READ, |
| 969 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 970 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 971 | .write = NULL, |
| 972 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 973 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 974 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 975 | { |
| 976 | .vendor = "Atmel", |
| 977 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 978 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 979 | .manufacture_id = ATMEL_ID, |
| 980 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 981 | .total_size = 1024 /* Size can only be determined from status register */, |
| 982 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 983 | .tested = TEST_BAD_READ, |
| 984 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 985 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 986 | .write = NULL, |
| 987 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 988 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 989 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 990 | { |
| 991 | .vendor = "Atmel", |
| 992 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 993 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 994 | .manufacture_id = ATMEL_ID, |
| 995 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 996 | .total_size = 2048 /* Size can only be determined from status register */, |
| 997 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 998 | .tested = TEST_BAD_READ, |
| 999 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1000 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1001 | .write = NULL, |
| 1002 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1003 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1004 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1005 | { |
| 1006 | .vendor = "Atmel", |
| 1007 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1008 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1009 | .manufacture_id = ATMEL_ID, |
| 1010 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1011 | .total_size = 4224 /* No power of two sizes */, |
| 1012 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1013 | .tested = TEST_BAD_READ, |
| 1014 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1015 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1016 | .write = NULL, |
| 1017 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1018 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1019 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1020 | { |
| 1021 | .vendor = "Atmel", |
| 1022 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1023 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1024 | .manufacture_id = ATMEL_ID, |
| 1025 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1026 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1027 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1028 | .tested = TEST_BAD_READ, |
| 1029 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1030 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1031 | .write = NULL, |
| 1032 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1033 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1034 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1035 | { |
| 1036 | .vendor = "Atmel", |
| 1037 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1038 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1039 | .manufacture_id = ATMEL_ID, |
| 1040 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1041 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1042 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1043 | .tested = TEST_BAD_READ, |
| 1044 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1045 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1046 | .write = NULL, |
| 1047 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1048 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1049 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1050 | { |
| 1051 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1052 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1053 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1054 | .manufacture_id = ATMEL_ID, |
| 1055 | .model_id = AT_49BV512, |
| 1056 | .total_size = 64, |
| 1057 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1058 | .feature_bits = FEATURE_EITHER_RESET, |
| 1059 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1060 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1061 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1062 | .block_erasers = |
| 1063 | { |
| 1064 | { |
| 1065 | .eraseblocks = { {64 * 1024, 1} }, |
| 1066 | .block_erase = erase_chip_block_jedec, |
| 1067 | } |
| 1068 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1069 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1070 | .read = read_memmapped, |
| 1071 | }, |
| 1072 | |
| 1073 | { |
| 1074 | .vendor = "Atmel", |
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, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2133 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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 | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2319 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2320 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2321 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2322 | .block_erasers = |
| 2323 | { |
| 2324 | { |
| 2325 | .eraseblocks = { |
| 2326 | {8 * 1024, 1}, |
| 2327 | {4 * 1024, 2}, |
| 2328 | {112 * 1024, 1}, |
| 2329 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2330 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2331 | }, |
| 2332 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2333 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2334 | .read = read_memmapped, |
| 2335 | }, |
| 2336 | |
| 2337 | { |
| 2338 | .vendor = "Intel", |
| 2339 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2340 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2341 | .manufacture_id = INTEL_ID, |
| 2342 | .model_id = P28F001BXT, |
| 2343 | .total_size = 128, |
| 2344 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2345 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2346 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2347 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2348 | .block_erasers = |
| 2349 | { |
| 2350 | { |
| 2351 | .eraseblocks = { |
| 2352 | {112 * 1024, 1}, |
| 2353 | {4 * 1024, 2}, |
| 2354 | {8 * 1024, 1}, |
| 2355 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2356 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2357 | }, |
| 2358 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2359 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2360 | .read = read_memmapped, |
| 2361 | }, |
| 2362 | |
| 2363 | { |
| 2364 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2365 | .name = "28F004S5", |
| 2366 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2367 | .manufacture_id = INTEL_ID, |
| 2368 | .model_id = E_28F004S5, |
| 2369 | .total_size = 512, |
| 2370 | .page_size = 256, |
| 2371 | .tested = TEST_UNTESTED, |
| 2372 | .probe = probe_82802ab, |
| 2373 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2374 | .block_erasers = |
| 2375 | { |
| 2376 | { |
| 2377 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2378 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2379 | }, |
| 2380 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 2381 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2382 | .write = write_82802ab, |
| 2383 | .read = read_memmapped, |
| 2384 | }, |
| 2385 | |
| 2386 | { |
| 2387 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2388 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2389 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2390 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2391 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2392 | .total_size = 512, |
| 2393 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 2394 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2395 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2396 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2397 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2398 | .block_erasers = |
| 2399 | { |
| 2400 | { |
| 2401 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2402 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2403 | }, |
| 2404 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2405 | .unlock = unlock_82802ab, |
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 | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2419 | .tested = TEST_OK_PR, |
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} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2426 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2427 | }, |
| 2428 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 2429 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2430 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2431 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2432 | }, |
| 2433 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2434 | { |
| 2435 | .vendor = "Macronix", |
| 2436 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2437 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2438 | .manufacture_id = MX_ID, |
| 2439 | .model_id = MX_25L512, |
| 2440 | .total_size = 64, |
| 2441 | .page_size = 256, |
| 2442 | .tested = TEST_UNTESTED, |
| 2443 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2444 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2445 | .block_erasers = |
| 2446 | { |
| 2447 | { |
| 2448 | .eraseblocks = { {4 * 1024, 16} }, |
| 2449 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2450 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2451 | .eraseblocks = { {64 * 1024, 1} }, |
| 2452 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2453 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2454 | .eraseblocks = { {64 * 1024, 1} }, |
| 2455 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2456 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2457 | .eraseblocks = { {64 * 1024, 1} }, |
| 2458 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2459 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2460 | .eraseblocks = { {64 * 1024, 1} }, |
| 2461 | .block_erase = spi_block_erase_c7, |
| 2462 | }, |
| 2463 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2464 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2465 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2466 | }, |
| 2467 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2468 | { |
| 2469 | .vendor = "Macronix", |
| 2470 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2471 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2472 | .manufacture_id = MX_ID, |
| 2473 | .model_id = MX_25L1005, |
| 2474 | .total_size = 128, |
| 2475 | .page_size = 256, |
| 2476 | .tested = TEST_UNTESTED, |
| 2477 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2478 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2479 | .block_erasers = |
| 2480 | { |
| 2481 | { |
| 2482 | .eraseblocks = { {4 * 1024, 32} }, |
| 2483 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2484 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2485 | .eraseblocks = { {64 * 1024, 2} }, |
| 2486 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2487 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2488 | .eraseblocks = { {128 * 1024, 1} }, |
| 2489 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2490 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2491 | .eraseblocks = { {128 * 1024, 1} }, |
| 2492 | .block_erase = spi_block_erase_c7, |
| 2493 | }, |
| 2494 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2495 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2496 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2497 | }, |
| 2498 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2499 | { |
| 2500 | .vendor = "Macronix", |
| 2501 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2502 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2503 | .manufacture_id = MX_ID, |
| 2504 | .model_id = MX_25L2005, |
| 2505 | .total_size = 256, |
| 2506 | .page_size = 256, |
| 2507 | .tested = TEST_UNTESTED, |
| 2508 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2509 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2510 | .block_erasers = |
| 2511 | { |
| 2512 | { |
| 2513 | .eraseblocks = { {4 * 1024, 64} }, |
| 2514 | .block_erase = spi_block_erase_20, |
| 2515 | }, { |
| 2516 | .eraseblocks = { {64 * 1024, 4} }, |
| 2517 | .block_erase = spi_block_erase_52, |
| 2518 | }, { |
| 2519 | .eraseblocks = { {64 * 1024, 4} }, |
| 2520 | .block_erase = spi_block_erase_d8, |
| 2521 | }, { |
| 2522 | .eraseblocks = { {256 * 1024, 1} }, |
| 2523 | .block_erase = spi_block_erase_60, |
| 2524 | }, { |
| 2525 | .eraseblocks = { {256 * 1024, 1} }, |
| 2526 | .block_erase = spi_block_erase_c7, |
| 2527 | }, |
| 2528 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2529 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2530 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2531 | }, |
| 2532 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2533 | { |
| 2534 | .vendor = "Macronix", |
| 2535 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2536 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2537 | .manufacture_id = MX_ID, |
| 2538 | .model_id = MX_25L4005, |
| 2539 | .total_size = 512, |
| 2540 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2541 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2542 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2543 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2544 | .block_erasers = |
| 2545 | { |
| 2546 | { |
| 2547 | .eraseblocks = { {4 * 1024, 128} }, |
| 2548 | .block_erase = spi_block_erase_20, |
| 2549 | }, { |
| 2550 | .eraseblocks = { {64 * 1024, 8} }, |
| 2551 | .block_erase = spi_block_erase_52, |
| 2552 | }, { |
| 2553 | .eraseblocks = { {64 * 1024, 8} }, |
| 2554 | .block_erase = spi_block_erase_d8, |
| 2555 | }, { |
| 2556 | .eraseblocks = { {512 * 1024, 1} }, |
| 2557 | .block_erase = spi_block_erase_60, |
| 2558 | }, { |
| 2559 | .eraseblocks = { {512 * 1024, 1} }, |
| 2560 | .block_erase = spi_block_erase_c7, |
| 2561 | }, |
| 2562 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2563 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2564 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2565 | }, |
| 2566 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2567 | { |
| 2568 | .vendor = "Macronix", |
| 2569 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2570 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2571 | .manufacture_id = MX_ID, |
| 2572 | .model_id = MX_25L8005, |
| 2573 | .total_size = 1024, |
| 2574 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2575 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2576 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2577 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2578 | .block_erasers = |
| 2579 | { |
| 2580 | { |
| 2581 | .eraseblocks = { {4 * 1024, 256} }, |
| 2582 | .block_erase = spi_block_erase_20, |
| 2583 | }, { |
| 2584 | .eraseblocks = { {64 * 1024, 16} }, |
| 2585 | .block_erase = spi_block_erase_52, |
| 2586 | }, { |
| 2587 | .eraseblocks = { {64 * 1024, 16} }, |
| 2588 | .block_erase = spi_block_erase_d8, |
| 2589 | }, { |
| 2590 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2591 | .block_erase = spi_block_erase_60, |
| 2592 | }, { |
| 2593 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2594 | .block_erase = spi_block_erase_c7, |
| 2595 | }, |
| 2596 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2597 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2598 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2599 | }, |
| 2600 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2601 | { |
| 2602 | .vendor = "Macronix", |
| 2603 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2604 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2605 | .manufacture_id = MX_ID, |
| 2606 | .model_id = MX_25L1605, |
| 2607 | .total_size = 2048, |
| 2608 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2609 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2610 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2611 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2612 | .block_erasers = |
| 2613 | { |
| 2614 | { |
| 2615 | .eraseblocks = { {4 * 1024, 512} }, |
| 2616 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2617 | }, { |
| 2618 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 2619 | .block_erase = spi_block_erase_52, |
| 2620 | }, { |
| 2621 | .eraseblocks = { {64 * 1024, 32} }, |
| 2622 | .block_erase = spi_block_erase_d8, |
| 2623 | }, { |
| 2624 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2625 | .block_erase = spi_block_erase_60, |
| 2626 | }, { |
| 2627 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2628 | .block_erase = spi_block_erase_c7, |
| 2629 | }, |
| 2630 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2631 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2632 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2633 | }, |
| 2634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2635 | { |
| 2636 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2637 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2638 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2639 | .manufacture_id = MX_ID, |
| 2640 | .model_id = MX_25L1635D, |
| 2641 | .total_size = 2048, |
| 2642 | .page_size = 256, |
| 2643 | .tested = TEST_UNTESTED, |
| 2644 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2645 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2646 | .block_erasers = |
| 2647 | { |
| 2648 | { |
| 2649 | .eraseblocks = { {4 * 1024, 512} }, |
| 2650 | .block_erase = spi_block_erase_20, |
| 2651 | }, { |
| 2652 | .eraseblocks = { {64 * 1024, 32} }, |
| 2653 | .block_erase = spi_block_erase_d8, |
| 2654 | }, { |
| 2655 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2656 | .block_erase = spi_block_erase_60, |
| 2657 | }, { |
| 2658 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2659 | .block_erase = spi_block_erase_c7, |
| 2660 | } |
| 2661 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2662 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2663 | .read = spi_chip_read, |
| 2664 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 2665 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2666 | { |
| 2667 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2668 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2669 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2670 | .manufacture_id = MX_ID, |
| 2671 | .model_id = MX_25L3205, |
| 2672 | .total_size = 4096, |
| 2673 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2674 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2675 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2676 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2677 | .block_erasers = |
| 2678 | { |
| 2679 | { |
| 2680 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2681 | .block_erase = spi_block_erase_20, |
| 2682 | }, { |
| 2683 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2684 | .block_erase = spi_block_erase_d8, |
| 2685 | }, { |
| 2686 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2687 | .block_erase = spi_block_erase_60, |
| 2688 | }, { |
| 2689 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2690 | .block_erase = spi_block_erase_c7, |
| 2691 | }, |
| 2692 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2693 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2694 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2695 | }, |
| 2696 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2697 | { |
| 2698 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2699 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2700 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2701 | .manufacture_id = MX_ID, |
| 2702 | .model_id = MX_25L3235D, |
| 2703 | .total_size = 4096, |
| 2704 | .page_size = 256, |
| 2705 | .tested = TEST_UNTESTED, |
| 2706 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2707 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2708 | .block_erasers = |
| 2709 | { |
| 2710 | { |
| 2711 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2712 | .block_erase = spi_block_erase_20, |
| 2713 | }, { |
| 2714 | .eraseblocks = { {64 * 1024, 64} }, |
| 2715 | .block_erase = spi_block_erase_d8, |
| 2716 | }, { |
| 2717 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2718 | .block_erase = spi_block_erase_60, |
| 2719 | }, { |
| 2720 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2721 | .block_erase = spi_block_erase_c7, |
| 2722 | } |
| 2723 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2724 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2725 | .read = spi_chip_read, |
| 2726 | }, |
| 2727 | |
| 2728 | { |
| 2729 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2730 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2731 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2732 | .manufacture_id = MX_ID, |
| 2733 | .model_id = MX_25L6405, |
| 2734 | .total_size = 8192, |
| 2735 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 2736 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2737 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2738 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2739 | .block_erasers = |
| 2740 | { |
| 2741 | { |
| 2742 | .eraseblocks = { {64 * 1024, 128} }, |
| 2743 | .block_erase = spi_block_erase_20, |
| 2744 | }, { |
| 2745 | .eraseblocks = { {64 * 1024, 128} }, |
| 2746 | .block_erase = spi_block_erase_d8, |
| 2747 | }, { |
| 2748 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2749 | .block_erase = spi_block_erase_60, |
| 2750 | }, { |
| 2751 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2752 | .block_erase = spi_block_erase_c7, |
| 2753 | } |
| 2754 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2755 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2756 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2757 | }, |
| 2758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2759 | { |
| 2760 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2761 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2762 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2763 | .manufacture_id = MX_ID, |
| 2764 | .model_id = MX_25L12805, |
| 2765 | .total_size = 16384, |
| 2766 | .page_size = 256, |
| 2767 | .tested = TEST_UNTESTED, |
| 2768 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2769 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2770 | .block_erasers = |
| 2771 | { |
| 2772 | { |
| 2773 | .eraseblocks = { {4 * 1024, 4096} }, |
| 2774 | .block_erase = spi_block_erase_20, |
| 2775 | }, { |
| 2776 | .eraseblocks = { {64 * 1024, 256} }, |
| 2777 | .block_erase = spi_block_erase_d8, |
| 2778 | }, { |
| 2779 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2780 | .block_erase = spi_block_erase_60, |
| 2781 | }, { |
| 2782 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2783 | .block_erase = spi_block_erase_c7, |
| 2784 | } |
| 2785 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2786 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2787 | .read = spi_chip_read, |
| 2788 | }, |
| 2789 | |
| 2790 | { |
| 2791 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2792 | .name = "MX29F001B", |
| 2793 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2794 | .manufacture_id = MX_ID, |
| 2795 | .model_id = MX_29F001B, |
| 2796 | .total_size = 128, |
| 2797 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2798 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2799 | .tested = TEST_UNTESTED, |
| 2800 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2801 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2802 | .block_erasers = |
| 2803 | { |
| 2804 | { |
| 2805 | .eraseblocks = { |
| 2806 | {8 * 1024, 1}, |
| 2807 | {4 * 1024, 2}, |
| 2808 | {8 * 1024, 2}, |
| 2809 | {32 * 1024, 1}, |
| 2810 | {64 * 1024, 1}, |
| 2811 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2812 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2813 | }, { |
| 2814 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2815 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2816 | } |
| 2817 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2818 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2819 | .read = read_memmapped, |
| 2820 | }, |
| 2821 | |
| 2822 | { |
| 2823 | .vendor = "Macronix", |
| 2824 | .name = "MX29F001T", |
| 2825 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2826 | .manufacture_id = MX_ID, |
| 2827 | .model_id = MX_29F001T, |
| 2828 | .total_size = 128, |
| 2829 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2830 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2831 | .tested = TEST_UNTESTED, |
| 2832 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2833 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2834 | .block_erasers = |
| 2835 | { |
| 2836 | { |
| 2837 | .eraseblocks = { |
| 2838 | {64 * 1024, 1}, |
| 2839 | {32 * 1024, 1}, |
| 2840 | {8 * 1024, 2}, |
| 2841 | {4 * 1024, 2}, |
| 2842 | {8 * 1024, 1}, |
| 2843 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2844 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2845 | }, { |
| 2846 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2847 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2848 | } |
| 2849 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2850 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2851 | .read = read_memmapped, |
| 2852 | }, |
| 2853 | |
| 2854 | { |
| 2855 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2856 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2857 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2858 | .manufacture_id = MX_ID, |
| 2859 | .model_id = MX_29F002B, |
| 2860 | .total_size = 256, |
| 2861 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2862 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2863 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2864 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2865 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2866 | .block_erasers = |
| 2867 | { |
| 2868 | { |
| 2869 | .eraseblocks = { |
| 2870 | {16 * 1024, 1}, |
| 2871 | {8 * 1024, 2}, |
| 2872 | {32 * 1024, 1}, |
| 2873 | {64 * 1024, 3}, |
| 2874 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2875 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2876 | }, { |
| 2877 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2878 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2879 | }, |
| 2880 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2881 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2882 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2883 | }, |
| 2884 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2885 | { |
| 2886 | .vendor = "Macronix", |
| 2887 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2888 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2889 | .manufacture_id = MX_ID, |
| 2890 | .model_id = MX_29F002T, |
| 2891 | .total_size = 256, |
| 2892 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2893 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2894 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2895 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2896 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2897 | .block_erasers = |
| 2898 | { |
| 2899 | { |
| 2900 | .eraseblocks = { |
| 2901 | {64 * 1024, 3}, |
| 2902 | {32 * 1024, 1}, |
| 2903 | {8 * 1024, 2}, |
| 2904 | {16 * 1024, 1}, |
| 2905 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2906 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2907 | }, { |
| 2908 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2909 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2910 | }, |
| 2911 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2912 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2913 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2914 | }, |
| 2915 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2916 | { |
| 2917 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2918 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2919 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2920 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2921 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2922 | .total_size = 512, |
| 2923 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2924 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2925 | .tested = TEST_UNTESTED, |
| 2926 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2927 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2928 | .block_erasers = |
| 2929 | { |
| 2930 | { |
| 2931 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2932 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2933 | }, { |
| 2934 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2935 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2936 | }, |
| 2937 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2938 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2939 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 2940 | }, |
| 2941 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2942 | { |
| 2943 | .vendor = "Numonyx", |
| 2944 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2945 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2946 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2947 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2948 | .total_size = 128, |
| 2949 | .page_size = 256, |
| 2950 | .tested = TEST_UNTESTED, |
| 2951 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2952 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2953 | .block_erasers = |
| 2954 | { |
| 2955 | { |
| 2956 | .eraseblocks = { {4 * 1024, 32} }, |
| 2957 | .block_erase = spi_block_erase_20, |
| 2958 | }, { |
| 2959 | .eraseblocks = { {64 * 1024, 2} }, |
| 2960 | .block_erase = spi_block_erase_d8, |
| 2961 | }, { |
| 2962 | .eraseblocks = { {128 * 1024, 1} }, |
| 2963 | .block_erase = spi_block_erase_c7, |
| 2964 | } |
| 2965 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2966 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2967 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2968 | }, |
| 2969 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2970 | { |
| 2971 | .vendor = "Numonyx", |
| 2972 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2973 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2974 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2975 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2976 | .total_size = 256, |
| 2977 | .page_size = 256, |
| 2978 | .tested = TEST_UNTESTED, |
| 2979 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2980 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2981 | .block_erasers = |
| 2982 | { |
| 2983 | { |
| 2984 | .eraseblocks = { {4 * 1024, 64} }, |
| 2985 | .block_erase = spi_block_erase_20, |
| 2986 | }, { |
| 2987 | .eraseblocks = { {64 * 1024, 4} }, |
| 2988 | .block_erase = spi_block_erase_d8, |
| 2989 | }, { |
| 2990 | .eraseblocks = { {256 * 1024, 1} }, |
| 2991 | .block_erase = spi_block_erase_c7, |
| 2992 | } |
| 2993 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2994 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2995 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2996 | }, |
| 2997 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2998 | { |
| 2999 | .vendor = "Numonyx", |
| 3000 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3001 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3002 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3003 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3004 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3005 | .page_size = 256, |
| 3006 | .tested = TEST_UNTESTED, |
| 3007 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3008 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3009 | .block_erasers = |
| 3010 | { |
| 3011 | { |
| 3012 | .eraseblocks = { {4 * 1024, 128} }, |
| 3013 | .block_erase = spi_block_erase_20, |
| 3014 | }, { |
| 3015 | .eraseblocks = { {64 * 1024, 8} }, |
| 3016 | .block_erase = spi_block_erase_d8, |
| 3017 | }, { |
| 3018 | .eraseblocks = { {512 * 1024, 1} }, |
| 3019 | .block_erase = spi_block_erase_c7, |
| 3020 | } |
| 3021 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3022 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3023 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3024 | }, |
| 3025 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3026 | { |
| 3027 | .vendor = "Numonyx", |
| 3028 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3029 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3030 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3031 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3032 | .total_size = 1024, |
| 3033 | .page_size = 256, |
| 3034 | .tested = TEST_OK_PREW, |
| 3035 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3036 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3037 | .block_erasers = |
| 3038 | { |
| 3039 | { |
| 3040 | .eraseblocks = { {4 * 1024, 256} }, |
| 3041 | .block_erase = spi_block_erase_20, |
| 3042 | }, { |
| 3043 | .eraseblocks = { {64 * 1024, 16} }, |
| 3044 | .block_erase = spi_block_erase_d8, |
| 3045 | }, { |
| 3046 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3047 | .block_erase = spi_block_erase_c7, |
| 3048 | } |
| 3049 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3050 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3051 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3052 | }, |
| 3053 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3054 | { |
| 3055 | .vendor = "Numonyx", |
| 3056 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3057 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3058 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3059 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3060 | .total_size = 2048, |
| 3061 | .page_size = 256, |
| 3062 | .tested = TEST_UNTESTED, |
| 3063 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3064 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3065 | .block_erasers = |
| 3066 | { |
| 3067 | { |
| 3068 | .eraseblocks = { {4 * 1024, 512} }, |
| 3069 | .block_erase = spi_block_erase_20, |
| 3070 | }, { |
| 3071 | .eraseblocks = { {64 * 1024, 32} }, |
| 3072 | .block_erase = spi_block_erase_d8, |
| 3073 | }, { |
| 3074 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3075 | .block_erase = spi_block_erase_c7, |
| 3076 | } |
| 3077 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3078 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3079 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3080 | }, |
| 3081 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3082 | { |
| 3083 | .vendor = "PMC", |
| 3084 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3085 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3086 | .manufacture_id = PMC_ID, |
| 3087 | .model_id = PMC_25LV010, |
| 3088 | .total_size = 128, |
| 3089 | .page_size = 256, |
| 3090 | .tested = TEST_UNTESTED, |
| 3091 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3092 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3093 | .block_erasers = |
| 3094 | { |
| 3095 | { |
| 3096 | .eraseblocks = { {4 * 1024, 32} }, |
| 3097 | .block_erase = spi_block_erase_d7, |
| 3098 | }, { |
| 3099 | .eraseblocks = { {32 * 1024, 4} }, |
| 3100 | .block_erase = spi_block_erase_d8, |
| 3101 | }, { |
| 3102 | .eraseblocks = { {128 * 1024, 1} }, |
| 3103 | .block_erase = spi_block_erase_c7, |
| 3104 | } |
| 3105 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3106 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3107 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3108 | }, |
| 3109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3110 | { |
| 3111 | .vendor = "PMC", |
| 3112 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3113 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3114 | .manufacture_id = PMC_ID, |
| 3115 | .model_id = PMC_25LV016B, |
| 3116 | .total_size = 2048, |
| 3117 | .page_size = 256, |
| 3118 | .tested = TEST_UNTESTED, |
| 3119 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3120 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3121 | .block_erasers = |
| 3122 | { |
| 3123 | { |
| 3124 | .eraseblocks = { {4 * 1024, 512} }, |
| 3125 | .block_erase = spi_block_erase_d7, |
| 3126 | }, { |
| 3127 | .eraseblocks = { {4 * 1024, 512} }, |
| 3128 | .block_erase = spi_block_erase_20, |
| 3129 | }, { |
| 3130 | .eraseblocks = { {64 * 1024, 32} }, |
| 3131 | .block_erase = spi_block_erase_d8, |
| 3132 | }, { |
| 3133 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3134 | .block_erase = spi_block_erase_60, |
| 3135 | }, { |
| 3136 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3137 | .block_erase = spi_block_erase_c7, |
| 3138 | } |
| 3139 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3140 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3141 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3142 | }, |
| 3143 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3144 | { |
| 3145 | .vendor = "PMC", |
| 3146 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3147 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3148 | .manufacture_id = PMC_ID, |
| 3149 | .model_id = PMC_25LV020, |
| 3150 | .total_size = 256, |
| 3151 | .page_size = 256, |
| 3152 | .tested = TEST_UNTESTED, |
| 3153 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3154 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3155 | .block_erasers = |
| 3156 | { |
| 3157 | { |
| 3158 | .eraseblocks = { {4 * 1024, 64} }, |
| 3159 | .block_erase = spi_block_erase_d7, |
| 3160 | }, { |
| 3161 | .eraseblocks = { {64 * 1024, 4} }, |
| 3162 | .block_erase = spi_block_erase_d8, |
| 3163 | }, { |
| 3164 | .eraseblocks = { {256 * 1024, 1} }, |
| 3165 | .block_erase = spi_block_erase_c7, |
| 3166 | } |
| 3167 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3168 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3169 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3170 | }, |
| 3171 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3172 | { |
| 3173 | .vendor = "PMC", |
| 3174 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3175 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3176 | .manufacture_id = PMC_ID, |
| 3177 | .model_id = PMC_25LV040, |
| 3178 | .total_size = 512, |
| 3179 | .page_size = 256, |
| 3180 | .tested = TEST_UNTESTED, |
| 3181 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3182 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3183 | .block_erasers = |
| 3184 | { |
| 3185 | { |
| 3186 | .eraseblocks = { {4 * 1024, 128} }, |
| 3187 | .block_erase = spi_block_erase_d7, |
| 3188 | }, { |
| 3189 | .eraseblocks = { {64 * 1024, 8} }, |
| 3190 | .block_erase = spi_block_erase_d8, |
| 3191 | }, { |
| 3192 | .eraseblocks = { {512 * 1024, 1} }, |
| 3193 | .block_erase = spi_block_erase_c7, |
| 3194 | } |
| 3195 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3196 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3197 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3198 | }, |
| 3199 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3200 | { |
| 3201 | .vendor = "PMC", |
| 3202 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3203 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3204 | .manufacture_id = PMC_ID, |
| 3205 | .model_id = PMC_25LV080B, |
| 3206 | .total_size = 1024, |
| 3207 | .page_size = 256, |
| 3208 | .tested = TEST_UNTESTED, |
| 3209 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3211 | .block_erasers = |
| 3212 | { |
| 3213 | { |
| 3214 | .eraseblocks = { {4 * 1024, 256} }, |
| 3215 | .block_erase = spi_block_erase_d7, |
| 3216 | }, { |
| 3217 | .eraseblocks = { {4 * 1024, 256} }, |
| 3218 | .block_erase = spi_block_erase_20, |
| 3219 | }, { |
| 3220 | .eraseblocks = { {64 * 1024, 16} }, |
| 3221 | .block_erase = spi_block_erase_d8, |
| 3222 | }, { |
| 3223 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3224 | .block_erase = spi_block_erase_60, |
| 3225 | }, { |
| 3226 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3227 | .block_erase = spi_block_erase_c7, |
| 3228 | } |
| 3229 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3230 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3231 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3232 | }, |
| 3233 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3234 | { |
| 3235 | .vendor = "PMC", |
| 3236 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3237 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3238 | .manufacture_id = PMC_ID, |
| 3239 | .model_id = PMC_25LV512, |
| 3240 | .total_size = 64, |
| 3241 | .page_size = 256, |
| 3242 | .tested = TEST_UNTESTED, |
| 3243 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3244 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3245 | .block_erasers = |
| 3246 | { |
| 3247 | { |
| 3248 | .eraseblocks = { {4 * 1024, 16} }, |
| 3249 | .block_erase = spi_block_erase_d7, |
| 3250 | }, { |
| 3251 | .eraseblocks = { {32 * 1024, 2} }, |
| 3252 | .block_erase = spi_block_erase_d8, |
| 3253 | }, { |
| 3254 | .eraseblocks = { {64 * 1024, 1} }, |
| 3255 | .block_erase = spi_block_erase_c7, |
| 3256 | } |
| 3257 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3258 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3259 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3260 | }, |
| 3261 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3262 | { |
| 3263 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3264 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3265 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3266 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3267 | .model_id = PMC_29F002T, |
| 3268 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3269 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3270 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3271 | .tested = TEST_UNTESTED, |
| 3272 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3273 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3274 | .block_erasers = |
| 3275 | { |
| 3276 | { |
| 3277 | .eraseblocks = { |
| 3278 | {128 * 1024, 1}, |
| 3279 | {96 * 1024, 1}, |
| 3280 | {8 * 1024, 2}, |
| 3281 | {16 * 1024, 1}, |
| 3282 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3283 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3284 | }, { |
| 3285 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3286 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3287 | }, |
| 3288 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3289 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3290 | .read = read_memmapped, |
| 3291 | }, |
| 3292 | |
| 3293 | { |
| 3294 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3295 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3296 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3297 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3298 | .model_id = PMC_29F002B, |
| 3299 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3300 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3301 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3302 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3303 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3304 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3305 | .block_erasers = |
| 3306 | { |
| 3307 | { |
| 3308 | .eraseblocks = { |
| 3309 | {16 * 1024, 1}, |
| 3310 | {8 * 1024, 2}, |
| 3311 | {96 * 1024, 1}, |
| 3312 | {128 * 1024, 1}, |
| 3313 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3314 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3315 | }, { |
| 3316 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3317 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3318 | }, |
| 3319 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3320 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3321 | .read = read_memmapped, |
| 3322 | }, |
| 3323 | |
| 3324 | { |
| 3325 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3326 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3327 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3328 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3329 | .model_id = PMC_39F010, |
| 3330 | .total_size = 128, |
| 3331 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3332 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3333 | .tested = TEST_UNTESTED, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3334 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3335 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3336 | .block_erasers = |
| 3337 | { |
| 3338 | { |
| 3339 | .eraseblocks = { {4 * 1024, 32} }, |
| 3340 | .block_erase = erase_sector_jedec, |
| 3341 | }, { |
| 3342 | .eraseblocks = { {64 * 1024, 2} }, |
| 3343 | .block_erase = erase_block_jedec, |
| 3344 | }, { |
| 3345 | .eraseblocks = { {128 * 1024, 1} }, |
| 3346 | .block_erase = erase_chip_block_jedec, |
| 3347 | } |
| 3348 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3349 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3350 | .read = read_memmapped, |
| 3351 | }, |
| 3352 | |
| 3353 | { |
| 3354 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3355 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3356 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3357 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3358 | .model_id = PMC_49FL002, |
| 3359 | .total_size = 256, |
| 3360 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3361 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 3362 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3363 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3364 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3365 | .block_erasers = |
| 3366 | { |
| 3367 | { |
| 3368 | .eraseblocks = { {4 * 1024, 64} }, |
| 3369 | .block_erase = erase_sector_jedec, |
| 3370 | }, { |
| 3371 | .eraseblocks = { {16 * 1024, 16} }, |
| 3372 | .block_erase = erase_block_jedec, |
| 3373 | }, { |
| 3374 | .eraseblocks = { {256 * 1024, 1} }, |
| 3375 | .block_erase = erase_chip_block_jedec, |
| 3376 | } |
| 3377 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 3378 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 3379 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3380 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3381 | }, |
| 3382 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3383 | { |
| 3384 | .vendor = "PMC", |
| 3385 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3386 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3387 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3388 | .model_id = PMC_49FL004, |
| 3389 | .total_size = 512, |
| 3390 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3391 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 3392 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3393 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3394 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3395 | .block_erasers = |
| 3396 | { |
| 3397 | { |
| 3398 | .eraseblocks = { {4 * 1024, 128} }, |
| 3399 | .block_erase = erase_sector_jedec, |
| 3400 | }, { |
| 3401 | .eraseblocks = { {64 * 1024, 8} }, |
| 3402 | .block_erase = erase_block_jedec, |
| 3403 | }, { |
| 3404 | .eraseblocks = { {512 * 1024, 1} }, |
| 3405 | .block_erase = erase_chip_block_jedec, |
| 3406 | } |
| 3407 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 3408 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 3409 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3410 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3411 | }, |
| 3412 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3413 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3414 | .vendor = "Sanyo", |
| 3415 | .name = "LF25FW203A", |
| 3416 | .bustype = CHIP_BUSTYPE_SPI, |
| 3417 | .manufacture_id = SANYO_ID, |
| 3418 | .model_id = SANYO_LE25FW203A, |
| 3419 | .total_size = 2048, |
| 3420 | .page_size = 256, |
| 3421 | .tested = TEST_UNTESTED, |
| 3422 | .probe = probe_spi_rdid, |
| 3423 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3424 | .block_erasers = |
| 3425 | { |
| 3426 | { |
| 3427 | .eraseblocks = { {64 * 1024, 32} }, |
| 3428 | .block_erase = spi_block_erase_d8, |
| 3429 | }, { |
| 3430 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3431 | .block_erase = spi_block_erase_c7, |
| 3432 | } |
| 3433 | }, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3434 | .write = spi_chip_write_256, |
| 3435 | .read = spi_chip_read, |
| 3436 | }, |
| 3437 | |
| 3438 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3439 | .vendor = "Sharp", |
| 3440 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3441 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3442 | .manufacture_id = SHARP_ID, |
| 3443 | .model_id = SHARP_LHF00L04, |
| 3444 | .total_size = 1024, |
| 3445 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3446 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3447 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3448 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3449 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3450 | .block_erasers = |
| 3451 | { |
| 3452 | { |
| 3453 | .eraseblocks = { |
| 3454 | {64 * 1024, 15}, |
| 3455 | {8 * 1024, 8} |
| 3456 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3457 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3458 | }, { |
| 3459 | .eraseblocks = { |
| 3460 | {1024 * 1024, 1} |
| 3461 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3462 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3463 | }, |
| 3464 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3465 | .unlock = unlock_82802ab, |
| 3466 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3467 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3468 | }, |
| 3469 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3470 | { |
| 3471 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3472 | .name = "S25FL008A", |
| 3473 | .bustype = CHIP_BUSTYPE_SPI, |
| 3474 | .manufacture_id = SPANSION_ID, |
| 3475 | .model_id = SPANSION_S25FL008A, |
| 3476 | .total_size = 1024, |
| 3477 | .page_size = 256, |
| 3478 | .tested = TEST_OK_PREW, |
| 3479 | .probe = probe_spi_rdid, |
| 3480 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3481 | .block_erasers = |
| 3482 | { |
| 3483 | { |
| 3484 | .eraseblocks = { {64 * 1024, 16} }, |
| 3485 | .block_erase = spi_block_erase_d8, |
| 3486 | }, { |
| 3487 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3488 | .block_erase = spi_block_erase_c7, |
| 3489 | } |
| 3490 | }, |
| 3491 | .write = spi_chip_write_256, |
| 3492 | .read = spi_chip_read, |
| 3493 | }, |
| 3494 | |
| 3495 | { |
| 3496 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3497 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3498 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3499 | .manufacture_id = SPANSION_ID, |
| 3500 | .model_id = SPANSION_S25FL016A, |
| 3501 | .total_size = 2048, |
| 3502 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3503 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3504 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3505 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3506 | .block_erasers = |
| 3507 | { |
| 3508 | { |
| 3509 | .eraseblocks = { {64 * 1024, 32} }, |
| 3510 | .block_erase = spi_block_erase_d8, |
| 3511 | }, { |
| 3512 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3513 | .block_erase = spi_block_erase_c7, |
| 3514 | } |
| 3515 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3516 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3517 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3518 | }, |
| 3519 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3520 | { |
| 3521 | .vendor = "SST", |
| 3522 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3523 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3524 | .manufacture_id = SST_ID, |
| 3525 | .model_id = SST_25VF016B, |
| 3526 | .total_size = 2048, |
| 3527 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3528 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3529 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3530 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3531 | .block_erasers = |
| 3532 | { |
| 3533 | { |
| 3534 | .eraseblocks = { {4 * 1024, 512} }, |
| 3535 | .block_erase = spi_block_erase_20, |
| 3536 | }, { |
| 3537 | .eraseblocks = { {32 * 1024, 64} }, |
| 3538 | .block_erase = spi_block_erase_52, |
| 3539 | }, { |
| 3540 | .eraseblocks = { {64 * 1024, 32} }, |
| 3541 | .block_erase = spi_block_erase_d8, |
| 3542 | }, { |
| 3543 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3544 | .block_erase = spi_block_erase_60, |
| 3545 | }, { |
| 3546 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3547 | .block_erase = spi_block_erase_c7, |
| 3548 | }, |
| 3549 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3550 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3551 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3552 | }, |
| 3553 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3554 | { |
| 3555 | .vendor = "SST", |
| 3556 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3557 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3558 | .manufacture_id = SST_ID, |
| 3559 | .model_id = SST_25VF032B, |
| 3560 | .total_size = 4096, |
| 3561 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3562 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3563 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3564 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3565 | .block_erasers = |
| 3566 | { |
| 3567 | { |
| 3568 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3569 | .block_erase = spi_block_erase_20, |
| 3570 | }, { |
| 3571 | .eraseblocks = { {32 * 1024, 128} }, |
| 3572 | .block_erase = spi_block_erase_52, |
| 3573 | }, { |
| 3574 | .eraseblocks = { {64 * 1024, 64} }, |
| 3575 | .block_erase = spi_block_erase_d8, |
| 3576 | }, { |
| 3577 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3578 | .block_erase = spi_block_erase_60, |
| 3579 | }, { |
| 3580 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3581 | .block_erase = spi_block_erase_c7, |
| 3582 | }, |
| 3583 | }, |
| 3584 | .write = spi_chip_write_1, |
| 3585 | .read = spi_chip_read, |
| 3586 | }, |
| 3587 | |
| 3588 | { |
| 3589 | .vendor = "SST", |
| 3590 | .name = "SST25VF040.REMS", |
| 3591 | .bustype = CHIP_BUSTYPE_SPI, |
| 3592 | .manufacture_id = SST_ID, |
| 3593 | .model_id = SST_25VF040_REMS, |
| 3594 | .total_size = 512, |
| 3595 | .page_size = 256, |
| 3596 | .tested = TEST_OK_PR, |
| 3597 | .probe = probe_spi_rems, |
| 3598 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3599 | .block_erasers = |
| 3600 | { |
| 3601 | { |
| 3602 | .eraseblocks = { {4 * 1024, 128} }, |
| 3603 | .block_erase = spi_block_erase_20, |
| 3604 | }, { |
| 3605 | .eraseblocks = { {32 * 1024, 16} }, |
| 3606 | .block_erase = spi_block_erase_52, |
| 3607 | }, { |
| 3608 | .eraseblocks = { {512 * 1024, 1} }, |
| 3609 | .block_erase = spi_block_erase_60, |
| 3610 | }, |
| 3611 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3612 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3613 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3614 | }, |
| 3615 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3616 | { |
| 3617 | .vendor = "SST", |
| 3618 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3619 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3620 | .manufacture_id = SST_ID, |
| 3621 | .model_id = SST_25VF040B, |
| 3622 | .total_size = 512, |
| 3623 | .page_size = 256, |
| 3624 | .tested = TEST_UNTESTED, |
| 3625 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3626 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3627 | .block_erasers = |
| 3628 | { |
| 3629 | { |
| 3630 | .eraseblocks = { {4 * 1024, 128} }, |
| 3631 | .block_erase = spi_block_erase_20, |
| 3632 | }, { |
| 3633 | .eraseblocks = { {32 * 1024, 16} }, |
| 3634 | .block_erase = spi_block_erase_52, |
| 3635 | }, { |
| 3636 | .eraseblocks = { {64 * 1024, 8} }, |
| 3637 | .block_erase = spi_block_erase_d8, |
| 3638 | }, { |
| 3639 | .eraseblocks = { {512 * 1024, 1} }, |
| 3640 | .block_erase = spi_block_erase_60, |
| 3641 | }, { |
| 3642 | .eraseblocks = { {512 * 1024, 1} }, |
| 3643 | .block_erase = spi_block_erase_c7, |
| 3644 | }, |
| 3645 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3646 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 3647 | .read = spi_chip_read, |
| 3648 | }, |
| 3649 | |
| 3650 | { |
| 3651 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3652 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3653 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3654 | .manufacture_id = SST_ID, |
| 3655 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3656 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3657 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3658 | .tested = TEST_OK_PR, |
| 3659 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3660 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3661 | .block_erasers = |
| 3662 | { |
| 3663 | { |
| 3664 | .eraseblocks = { {4 * 1024, 128} }, |
| 3665 | .block_erase = spi_block_erase_20, |
| 3666 | }, { |
| 3667 | .eraseblocks = { {32 * 1024, 16} }, |
| 3668 | .block_erase = spi_block_erase_52, |
| 3669 | }, { |
| 3670 | .eraseblocks = { {64 * 1024, 8} }, |
| 3671 | .block_erase = spi_block_erase_d8, |
| 3672 | }, { |
| 3673 | .eraseblocks = { {512 * 1024, 1} }, |
| 3674 | .block_erase = spi_block_erase_60, |
| 3675 | }, { |
| 3676 | .eraseblocks = { {512 * 1024, 1} }, |
| 3677 | .block_erase = spi_block_erase_c7, |
| 3678 | }, |
| 3679 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3680 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3681 | .read = spi_chip_read, |
| 3682 | }, |
| 3683 | |
| 3684 | { |
| 3685 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3686 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3687 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3688 | .manufacture_id = SST_ID, |
| 3689 | .model_id = SST_25VF080B, |
| 3690 | .total_size = 1024, |
| 3691 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3692 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3693 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3694 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3695 | .block_erasers = |
| 3696 | { |
| 3697 | { |
| 3698 | .eraseblocks = { {4 * 1024, 256} }, |
| 3699 | .block_erase = spi_block_erase_20, |
| 3700 | }, { |
| 3701 | .eraseblocks = { {32 * 1024, 32} }, |
| 3702 | .block_erase = spi_block_erase_52, |
| 3703 | }, { |
| 3704 | .eraseblocks = { {64 * 1024, 16} }, |
| 3705 | .block_erase = spi_block_erase_d8, |
| 3706 | }, { |
| 3707 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3708 | .block_erase = spi_block_erase_60, |
| 3709 | }, { |
| 3710 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3711 | .block_erase = spi_block_erase_c7, |
| 3712 | }, |
| 3713 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3714 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3715 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3716 | }, |
| 3717 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3718 | { |
| 3719 | .vendor = "SST", |
| 3720 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3721 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3722 | .manufacture_id = SST_ID, |
| 3723 | .model_id = SST_28SF040, |
| 3724 | .total_size = 512, |
| 3725 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3726 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3727 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3728 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3729 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3730 | .block_erasers = |
| 3731 | { |
| 3732 | { |
| 3733 | .eraseblocks = { {128, 4096} }, |
| 3734 | .block_erase = erase_sector_28sf040, |
| 3735 | }, { |
| 3736 | .eraseblocks = { {512 * 1024, 1} }, |
| 3737 | .block_erase = erase_chip_28sf040, |
| 3738 | } |
| 3739 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3740 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3741 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3742 | }, |
| 3743 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3744 | { |
| 3745 | .vendor = "SST", |
| 3746 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3747 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3748 | .manufacture_id = SST_ID, |
| 3749 | .model_id = SST_29EE010, |
| 3750 | .total_size = 128, |
| 3751 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3752 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3753 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3754 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3755 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3756 | .block_erasers = |
| 3757 | { |
| 3758 | { |
| 3759 | .eraseblocks = { {128 * 1024, 1} }, |
| 3760 | .block_erase = erase_chip_block_jedec, |
| 3761 | } |
| 3762 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3763 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3764 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3765 | }, |
| 3766 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3767 | { |
| 3768 | .vendor = "SST", |
| 3769 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3770 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3771 | .manufacture_id = SST_ID, |
| 3772 | .model_id = SST_29LE010, |
| 3773 | .total_size = 128, |
| 3774 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3775 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3776 | .tested = TEST_UNTESTED, |
| 3777 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3778 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3779 | .block_erasers = |
| 3780 | { |
| 3781 | { |
| 3782 | .eraseblocks = { {128 * 1024, 1} }, |
| 3783 | .block_erase = erase_chip_block_jedec, |
| 3784 | } |
| 3785 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3786 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3787 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3788 | }, |
| 3789 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3790 | { |
| 3791 | .vendor = "SST", |
| 3792 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3793 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3794 | .manufacture_id = SST_ID, |
| 3795 | .model_id = SST_29EE020A, |
| 3796 | .total_size = 256, |
| 3797 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3798 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | e2343e0 | 2010-03-24 22:55:50 +0000 | [diff] [blame] | 3799 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3800 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3801 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3802 | .block_erasers = |
| 3803 | { |
| 3804 | { |
| 3805 | .eraseblocks = { {256 * 1024, 1} }, |
| 3806 | .block_erase = erase_chip_block_jedec, |
| 3807 | } |
| 3808 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3809 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3810 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3811 | }, |
| 3812 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3813 | { |
| 3814 | .vendor = "SST", |
| 3815 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3816 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3817 | .manufacture_id = SST_ID, |
| 3818 | .model_id = SST_29LE020, |
| 3819 | .total_size = 256, |
| 3820 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3821 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 3822 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3823 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3824 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3825 | .block_erasers = |
| 3826 | { |
| 3827 | { |
| 3828 | .eraseblocks = { {256 * 1024, 1} }, |
| 3829 | .block_erase = erase_chip_block_jedec, |
| 3830 | } |
| 3831 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3832 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3833 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3834 | }, |
| 3835 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3836 | { |
| 3837 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3838 | .name = "SST39SF512", |
| 3839 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3840 | .manufacture_id = SST_ID, |
| 3841 | .model_id = SST_39SF512, |
| 3842 | .total_size = 64, |
| 3843 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3844 | .feature_bits = FEATURE_EITHER_RESET, |
| 3845 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3846 | .probe = probe_jedec, |
| 3847 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3848 | .block_erasers = |
| 3849 | { |
| 3850 | { |
| 3851 | .eraseblocks = { {4 * 1024, 16} }, |
| 3852 | .block_erase = erase_sector_jedec, |
| 3853 | }, { |
| 3854 | .eraseblocks = { {64 * 1024, 1} }, |
| 3855 | .block_erase = erase_chip_block_jedec, |
| 3856 | } |
| 3857 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3858 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3859 | .read = read_memmapped, |
| 3860 | }, |
| 3861 | |
| 3862 | { |
| 3863 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3864 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3865 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3866 | .manufacture_id = SST_ID, |
| 3867 | .model_id = SST_39SF010, |
| 3868 | .total_size = 128, |
| 3869 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3870 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3871 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3872 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3873 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3874 | .block_erasers = |
| 3875 | { |
| 3876 | { |
| 3877 | .eraseblocks = { {4 * 1024, 32} }, |
| 3878 | .block_erase = erase_sector_jedec, |
| 3879 | }, { |
| 3880 | .eraseblocks = { {128 * 1024, 1} }, |
| 3881 | .block_erase = erase_chip_block_jedec, |
| 3882 | } |
| 3883 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3884 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3885 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3886 | }, |
| 3887 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3888 | { |
| 3889 | .vendor = "SST", |
| 3890 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3891 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3892 | .manufacture_id = SST_ID, |
| 3893 | .model_id = SST_39SF020, |
| 3894 | .total_size = 256, |
| 3895 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3896 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3897 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3898 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3899 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3900 | .block_erasers = |
| 3901 | { |
| 3902 | { |
| 3903 | .eraseblocks = { {4 * 1024, 64} }, |
| 3904 | .block_erase = erase_sector_jedec, |
| 3905 | }, { |
| 3906 | .eraseblocks = { {256 * 1024, 1} }, |
| 3907 | .block_erase = erase_chip_block_jedec, |
| 3908 | } |
| 3909 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3910 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3911 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3912 | }, |
| 3913 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3914 | { |
| 3915 | .vendor = "SST", |
| 3916 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3917 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3918 | .manufacture_id = SST_ID, |
| 3919 | .model_id = SST_39SF040, |
| 3920 | .total_size = 512, |
| 3921 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3922 | .feature_bits = FEATURE_EITHER_RESET, |
| 3923 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3924 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3925 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3926 | .block_erasers = |
| 3927 | { |
| 3928 | { |
| 3929 | .eraseblocks = { {4 * 1024, 128} }, |
| 3930 | .block_erase = erase_sector_jedec, |
| 3931 | }, { |
| 3932 | .eraseblocks = { {512 * 1024, 1} }, |
| 3933 | .block_erase = erase_chip_block_jedec, |
| 3934 | } |
| 3935 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3936 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3937 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3938 | }, |
| 3939 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3940 | { |
| 3941 | .vendor = "SST", |
| 3942 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3943 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3944 | .manufacture_id = SST_ID, |
| 3945 | .model_id = SST_39VF512, |
| 3946 | .total_size = 64, |
| 3947 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3948 | .feature_bits = FEATURE_EITHER_RESET, |
| 3949 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3950 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3951 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3952 | .block_erasers = |
| 3953 | { |
| 3954 | { |
| 3955 | .eraseblocks = { {4 * 1024, 16} }, |
| 3956 | .block_erase = erase_sector_jedec, |
| 3957 | }, { |
| 3958 | .eraseblocks = { {64 * 1024, 1} }, |
| 3959 | .block_erase = erase_chip_block_jedec, |
| 3960 | } |
| 3961 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3962 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3963 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3964 | }, |
| 3965 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3966 | { |
| 3967 | .vendor = "SST", |
| 3968 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3969 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3970 | .manufacture_id = SST_ID, |
| 3971 | .model_id = SST_39VF010, |
| 3972 | .total_size = 128, |
| 3973 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3974 | .feature_bits = FEATURE_EITHER_RESET, |
| 3975 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3976 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3977 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3978 | .block_erasers = |
| 3979 | { |
| 3980 | { |
| 3981 | .eraseblocks = { {4 * 1024, 32} }, |
| 3982 | .block_erase = erase_sector_jedec, |
| 3983 | }, { |
| 3984 | .eraseblocks = { {128 * 1024, 1} }, |
| 3985 | .block_erase = erase_chip_block_jedec, |
| 3986 | } |
| 3987 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3988 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3989 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3990 | }, |
| 3991 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3992 | { |
| 3993 | .vendor = "SST", |
| 3994 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3995 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3996 | .manufacture_id = SST_ID, |
| 3997 | .model_id = SST_39VF020, |
| 3998 | .total_size = 256, |
| 3999 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4000 | .feature_bits = FEATURE_EITHER_RESET, |
| 4001 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4002 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4003 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4004 | .block_erasers = |
| 4005 | { |
| 4006 | { |
| 4007 | .eraseblocks = { {4 * 1024, 64} }, |
| 4008 | .block_erase = erase_sector_jedec, |
| 4009 | }, { |
| 4010 | .eraseblocks = { {256 * 1024, 1} }, |
| 4011 | .block_erase = erase_chip_block_jedec, |
| 4012 | } |
| 4013 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4014 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4015 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4016 | }, |
| 4017 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4018 | { |
| 4019 | .vendor = "SST", |
| 4020 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4021 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4022 | .manufacture_id = SST_ID, |
| 4023 | .model_id = SST_39VF040, |
| 4024 | .total_size = 512, |
| 4025 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4026 | .feature_bits = FEATURE_EITHER_RESET, |
| 4027 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4028 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4029 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4030 | .block_erasers = |
| 4031 | { |
| 4032 | { |
| 4033 | .eraseblocks = { {4 * 1024, 128} }, |
| 4034 | .block_erase = erase_sector_jedec, |
| 4035 | }, { |
| 4036 | .eraseblocks = { {512 * 1024, 1} }, |
| 4037 | .block_erase = erase_chip_block_jedec, |
| 4038 | } |
| 4039 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4040 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4041 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4042 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4043 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4044 | { |
| 4045 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4046 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4047 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4048 | .manufacture_id = SST_ID, |
| 4049 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4050 | .total_size = 1024, |
| 4051 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4052 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4053 | .tested = TEST_UNTESTED, |
| 4054 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4055 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4056 | .block_erasers = |
| 4057 | { |
| 4058 | { |
| 4059 | .eraseblocks = { {4 * 1024, 256} }, |
| 4060 | .block_erase = erase_sector_jedec, |
| 4061 | }, { |
| 4062 | .eraseblocks = { {64 * 1024, 16} }, |
| 4063 | .block_erase = erase_block_jedec, |
| 4064 | }, { |
| 4065 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4066 | .block_erase = erase_chip_block_jedec, |
| 4067 | } |
| 4068 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4069 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4070 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4071 | }, |
| 4072 | |
| 4073 | { |
| 4074 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4075 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4076 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4077 | .manufacture_id = SST_ID, |
| 4078 | .model_id = SST_49LF002A, |
| 4079 | .total_size = 256, |
| 4080 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4081 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4082 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4083 | .probe = probe_jedec, |
| 4084 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4085 | .block_erasers = |
| 4086 | { |
| 4087 | { |
| 4088 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4089 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4090 | }, { |
| 4091 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4092 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4093 | }, { |
| 4094 | .eraseblocks = { {256 * 1024, 1} }, |
| 4095 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4096 | } |
| 4097 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4098 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4099 | .unlock = unlock_sst_fwhub, |
| 4100 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4101 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4102 | }, |
| 4103 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4104 | { |
| 4105 | .vendor = "SST", |
| 4106 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4107 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4108 | .manufacture_id = SST_ID, |
| 4109 | .model_id = SST_49LF003A, |
| 4110 | .total_size = 384, |
| 4111 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4112 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4113 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4114 | .probe = probe_jedec, |
| 4115 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4116 | .block_erasers = |
| 4117 | { |
| 4118 | { |
| 4119 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4120 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4121 | }, { |
| 4122 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 4123 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4124 | }, { |
| 4125 | .eraseblocks = { {384 * 1024, 1} }, |
| 4126 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4127 | } |
| 4128 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4129 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 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 | .unlock = unlock_sst_fwhub, |
| 4165 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4166 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4167 | }, |
| 4168 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4169 | { |
| 4170 | .vendor = "SST", |
| 4171 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4172 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4173 | .manufacture_id = SST_ID, |
| 4174 | .model_id = SST_49LF004C, |
| 4175 | .total_size = 512, |
| 4176 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4177 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4178 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4179 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4180 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4181 | .block_erasers = |
| 4182 | { |
| 4183 | { |
| 4184 | .eraseblocks = { {4 * 1024, 128} }, |
| 4185 | .block_erase = erase_sector_49lfxxxc, |
| 4186 | }, { |
| 4187 | .eraseblocks = { |
| 4188 | {64 * 1024, 7}, |
| 4189 | {32 * 1024, 1}, |
| 4190 | {8 * 1024, 2}, |
| 4191 | {16 * 1024, 1}, |
| 4192 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4193 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4194 | } |
| 4195 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4196 | .unlock = unlock_49lfxxxc, |
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 | .unlock = unlock_sst_fwhub, |
| 4228 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4229 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4230 | }, |
| 4231 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4232 | { |
| 4233 | .vendor = "SST", |
| 4234 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4235 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4236 | .manufacture_id = SST_ID, |
| 4237 | .model_id = SST_49LF008C, |
| 4238 | .total_size = 1024, |
| 4239 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4240 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4241 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4242 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4243 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4244 | .block_erasers = |
| 4245 | { |
| 4246 | { |
| 4247 | .eraseblocks = { {4 * 1024, 256} }, |
| 4248 | .block_erase = erase_sector_49lfxxxc, |
| 4249 | }, { |
| 4250 | .eraseblocks = { |
| 4251 | {64 * 1024, 15}, |
| 4252 | {32 * 1024, 1}, |
| 4253 | {8 * 1024, 2}, |
| 4254 | {16 * 1024, 1}, |
| 4255 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4256 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4257 | } |
| 4258 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4259 | .unlock = unlock_49lfxxxc, |
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 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4288 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4289 | } |
| 4290 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4291 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4292 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4293 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4294 | }, |
| 4295 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4296 | { |
| 4297 | .vendor = "SST", |
| 4298 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4299 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4300 | .manufacture_id = SST_ID, |
| 4301 | .model_id = SST_49LF020, |
| 4302 | .total_size = 256, |
| 4303 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4304 | .feature_bits = FEATURE_EITHER_RESET, |
| 4305 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4306 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4307 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4308 | .block_erasers = |
| 4309 | { |
| 4310 | { |
| 4311 | .eraseblocks = { {4 * 1024, 64} }, |
| 4312 | .block_erase = erase_sector_jedec, |
| 4313 | }, { |
| 4314 | .eraseblocks = { {16 * 1024, 16} }, |
| 4315 | .block_erase = erase_block_jedec, |
| 4316 | }, { |
| 4317 | .eraseblocks = { {256 * 1024, 1} }, |
| 4318 | .block_erase = NULL, |
| 4319 | } |
| 4320 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4321 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4322 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 4323 | }, |
| 4324 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4325 | { |
| 4326 | .vendor = "SST", |
| 4327 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4328 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4329 | .manufacture_id = SST_ID, |
| 4330 | .model_id = SST_49LF020A, |
| 4331 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 4332 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4333 | .feature_bits = FEATURE_EITHER_RESET, |
| 4334 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4335 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4336 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4337 | .block_erasers = |
| 4338 | { |
| 4339 | { |
| 4340 | .eraseblocks = { {4 * 1024, 64} }, |
| 4341 | .block_erase = erase_sector_jedec, |
| 4342 | }, { |
| 4343 | .eraseblocks = { {16 * 1024, 16} }, |
| 4344 | .block_erase = erase_block_jedec, |
| 4345 | }, { |
| 4346 | .eraseblocks = { {256 * 1024, 1} }, |
| 4347 | .block_erase = NULL, |
| 4348 | } |
| 4349 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4350 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4351 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4352 | }, |
| 4353 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4354 | { |
| 4355 | .vendor = "SST", |
| 4356 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4357 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4358 | .manufacture_id = SST_ID, |
| 4359 | .model_id = SST_49LF040, |
| 4360 | .total_size = 512, |
| 4361 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4362 | .feature_bits = FEATURE_EITHER_RESET, |
| 4363 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4364 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4365 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4366 | .block_erasers = |
| 4367 | { |
| 4368 | { |
| 4369 | .eraseblocks = { {4 * 1024, 128} }, |
| 4370 | .block_erase = erase_sector_jedec, |
| 4371 | }, { |
| 4372 | .eraseblocks = { {64 * 1024, 8} }, |
| 4373 | .block_erase = erase_block_jedec, |
| 4374 | }, { |
| 4375 | .eraseblocks = { {512 * 1024, 1} }, |
| 4376 | .block_erase = NULL, |
| 4377 | } |
| 4378 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4379 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4380 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4381 | }, |
| 4382 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4383 | { |
| 4384 | .vendor = "SST", |
| 4385 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4386 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4387 | .manufacture_id = SST_ID, |
| 4388 | .model_id = SST_49LF040B, |
| 4389 | .total_size = 512, |
| 4390 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4391 | .feature_bits = FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4392 | .tested = TEST_UNTESTED, |
| 4393 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4394 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4395 | .block_erasers = |
| 4396 | { |
| 4397 | { |
| 4398 | .eraseblocks = { {4 * 1024, 128} }, |
| 4399 | .block_erase = erase_sector_jedec, |
| 4400 | }, { |
| 4401 | .eraseblocks = { {64 * 1024, 8} }, |
| 4402 | .block_erase = erase_block_jedec, |
| 4403 | }, { |
| 4404 | .eraseblocks = { {512 * 1024, 1} }, |
| 4405 | .block_erase = NULL, |
| 4406 | } |
| 4407 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4408 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4409 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4410 | }, |
| 4411 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4412 | { |
| 4413 | .vendor = "SST", |
| 4414 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4415 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4416 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4417 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4418 | .total_size = 1024, |
| 4419 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4420 | .feature_bits = FEATURE_EITHER_RESET, |
| 4421 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4422 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4423 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4424 | .block_erasers = |
| 4425 | { |
| 4426 | { |
| 4427 | .eraseblocks = { {4 * 1024, 256} }, |
| 4428 | .block_erase = erase_sector_jedec, |
| 4429 | }, { |
| 4430 | .eraseblocks = { {64 * 1024, 16} }, |
| 4431 | .block_erase = erase_block_jedec, |
| 4432 | }, { |
| 4433 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4434 | .block_erase = NULL, |
| 4435 | } |
| 4436 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4437 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4438 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4439 | }, |
| 4440 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4441 | { |
| 4442 | .vendor = "SST", |
| 4443 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4444 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4445 | .manufacture_id = SST_ID, |
| 4446 | .model_id = SST_49LF160C, |
| 4447 | .total_size = 2048, |
| 4448 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4449 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4450 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4451 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4452 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4453 | .block_erasers = |
| 4454 | { |
| 4455 | { |
| 4456 | .eraseblocks = { {4 * 1024, 512} }, |
| 4457 | .block_erase = erase_sector_49lfxxxc, |
| 4458 | }, { |
| 4459 | .eraseblocks = { |
| 4460 | {64 * 1024, 31}, |
| 4461 | {32 * 1024, 1}, |
| 4462 | {8 * 1024, 2}, |
| 4463 | {16 * 1024, 1}, |
| 4464 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 4465 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4466 | } |
| 4467 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4468 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4469 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4470 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4471 | }, |
| 4472 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4473 | { |
| 4474 | .vendor = "ST", |
| 4475 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4476 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4477 | .manufacture_id = ST_ID, |
| 4478 | .model_id = ST_M25P05A, |
| 4479 | .total_size = 64, |
| 4480 | .page_size = 256, |
| 4481 | .tested = TEST_UNTESTED, |
| 4482 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4483 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4484 | .block_erasers = |
| 4485 | { |
| 4486 | { |
| 4487 | .eraseblocks = { {32 * 1024, 2} }, |
| 4488 | .block_erase = spi_block_erase_d8, |
| 4489 | }, { |
| 4490 | .eraseblocks = { {64 * 1024, 1} }, |
| 4491 | .block_erase = spi_block_erase_c7, |
| 4492 | } |
| 4493 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4494 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4495 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4496 | }, |
| 4497 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4498 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 4499 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
| 4500 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res |
| 4501 | * only is successful if RDID does not work. |
| 4502 | */ |
| 4503 | { |
| 4504 | .vendor = "ST", |
| 4505 | .name = "M25P05.RES", |
| 4506 | .bustype = CHIP_BUSTYPE_SPI, |
| 4507 | .manufacture_id = ST_ID, |
| 4508 | .model_id = ST_M25P05_RES, |
| 4509 | .total_size = 64, |
| 4510 | .page_size = 256, |
| 4511 | .tested = TEST_UNTESTED, |
| 4512 | .probe = probe_spi_res, |
| 4513 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4514 | .block_erasers = |
| 4515 | { |
| 4516 | { |
| 4517 | .eraseblocks = { {32 * 1024, 2} }, |
| 4518 | .block_erase = spi_block_erase_d8, |
| 4519 | }, { |
| 4520 | .eraseblocks = { {64 * 1024, 1} }, |
| 4521 | .block_erase = spi_block_erase_c7, |
| 4522 | } |
| 4523 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4524 | .write = spi_chip_write_1, /* 128 */ |
| 4525 | .read = spi_chip_read, |
| 4526 | }, |
| 4527 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4528 | { |
| 4529 | .vendor = "ST", |
| 4530 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4531 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4532 | .manufacture_id = ST_ID, |
| 4533 | .model_id = ST_M25P10A, |
| 4534 | .total_size = 128, |
| 4535 | .page_size = 256, |
| 4536 | .tested = TEST_UNTESTED, |
| 4537 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4538 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4539 | .block_erasers = |
| 4540 | { |
| 4541 | { |
| 4542 | .eraseblocks = { {32 * 1024, 4} }, |
| 4543 | .block_erase = spi_block_erase_d8, |
| 4544 | }, { |
| 4545 | .eraseblocks = { {128 * 1024, 1} }, |
| 4546 | .block_erase = spi_block_erase_c7, |
| 4547 | } |
| 4548 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4549 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4550 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4551 | }, |
| 4552 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4553 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 4554 | { |
| 4555 | .vendor = "ST", |
| 4556 | .name = "M25P10.RES", |
| 4557 | .bustype = CHIP_BUSTYPE_SPI, |
| 4558 | .manufacture_id = ST_ID, |
| 4559 | .model_id = ST_M25P10_RES, |
| 4560 | .total_size = 128, |
| 4561 | .page_size = 256, |
| 4562 | .tested = TEST_UNTESTED, |
| 4563 | .probe = probe_spi_res, |
| 4564 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4565 | .block_erasers = |
| 4566 | { |
| 4567 | { |
| 4568 | .eraseblocks = { {32 * 1024, 4} }, |
| 4569 | .block_erase = spi_block_erase_d8, |
| 4570 | }, { |
| 4571 | .eraseblocks = { {128 * 1024, 1} }, |
| 4572 | .block_erase = spi_block_erase_c7, |
| 4573 | } |
| 4574 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4575 | .write = spi_chip_write_1, /* 128 */ |
| 4576 | .read = spi_chip_read, |
| 4577 | }, |
| 4578 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4579 | { |
| 4580 | .vendor = "ST", |
| 4581 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4582 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4583 | .manufacture_id = ST_ID, |
| 4584 | .model_id = ST_M25P20, |
| 4585 | .total_size = 256, |
| 4586 | .page_size = 256, |
| 4587 | .tested = TEST_UNTESTED, |
| 4588 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4589 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4590 | .block_erasers = |
| 4591 | { |
| 4592 | { |
| 4593 | .eraseblocks = { {64 * 1024, 4} }, |
| 4594 | .block_erase = spi_block_erase_d8, |
| 4595 | }, { |
| 4596 | .eraseblocks = { {256 * 1024, 1} }, |
| 4597 | .block_erase = spi_block_erase_c7, |
| 4598 | } |
| 4599 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4600 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4601 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4602 | }, |
| 4603 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4604 | { |
| 4605 | .vendor = "ST", |
| 4606 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4607 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4608 | .manufacture_id = ST_ID, |
| 4609 | .model_id = ST_M25P40, |
| 4610 | .total_size = 512, |
| 4611 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4612 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4613 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4614 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4615 | .block_erasers = |
| 4616 | { |
| 4617 | { |
| 4618 | .eraseblocks = { {64 * 1024, 8} }, |
| 4619 | .block_erase = spi_block_erase_d8, |
| 4620 | }, { |
| 4621 | .eraseblocks = { {512 * 1024, 1} }, |
| 4622 | .block_erase = spi_block_erase_c7, |
| 4623 | } |
| 4624 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4625 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4626 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4627 | }, |
| 4628 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4629 | { |
| 4630 | .vendor = "ST", |
| 4631 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4632 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4633 | .manufacture_id = ST_ID, |
| 4634 | .model_id = ST_M25P40_RES, |
| 4635 | .total_size = 512, |
| 4636 | .page_size = 256, |
| 4637 | .tested = TEST_UNTESTED, |
| 4638 | .probe = probe_spi_res, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4639 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4640 | .block_erasers = |
| 4641 | { |
| 4642 | { |
| 4643 | .eraseblocks = { {64 * 1024, 8} }, |
| 4644 | .block_erase = spi_block_erase_d8, |
| 4645 | }, { |
| 4646 | .eraseblocks = { {512 * 1024, 1} }, |
| 4647 | .block_erase = spi_block_erase_c7, |
| 4648 | } |
| 4649 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4650 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4651 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4652 | }, |
| 4653 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4654 | { |
| 4655 | .vendor = "ST", |
| 4656 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4657 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4658 | .manufacture_id = ST_ID, |
| 4659 | .model_id = ST_M25P80, |
| 4660 | .total_size = 1024, |
| 4661 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4662 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4663 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4664 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4665 | .block_erasers = |
| 4666 | { |
| 4667 | { |
| 4668 | .eraseblocks = { {64 * 1024, 16} }, |
| 4669 | .block_erase = spi_block_erase_d8, |
| 4670 | }, { |
| 4671 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4672 | .block_erase = spi_block_erase_c7, |
| 4673 | } |
| 4674 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4675 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4676 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4677 | }, |
| 4678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4679 | { |
| 4680 | .vendor = "ST", |
| 4681 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4682 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4683 | .manufacture_id = ST_ID, |
| 4684 | .model_id = ST_M25P16, |
| 4685 | .total_size = 2048, |
| 4686 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4687 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4688 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4689 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4690 | .block_erasers = |
| 4691 | { |
| 4692 | { |
| 4693 | .eraseblocks = { {64 * 1024, 32} }, |
| 4694 | .block_erase = spi_block_erase_d8, |
| 4695 | }, { |
| 4696 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4697 | .block_erase = spi_block_erase_c7, |
| 4698 | } |
| 4699 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4700 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4701 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4702 | }, |
| 4703 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4704 | { |
| 4705 | .vendor = "ST", |
| 4706 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4707 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4708 | .manufacture_id = ST_ID, |
| 4709 | .model_id = ST_M25P32, |
| 4710 | .total_size = 4096, |
| 4711 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4712 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4713 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4714 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4715 | .block_erasers = |
| 4716 | { |
| 4717 | { |
| 4718 | .eraseblocks = { {64 * 1024, 64} }, |
| 4719 | .block_erase = spi_block_erase_d8, |
| 4720 | }, { |
| 4721 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4722 | .block_erase = spi_block_erase_c7, |
| 4723 | } |
| 4724 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4725 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4726 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4727 | }, |
| 4728 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4729 | { |
| 4730 | .vendor = "ST", |
| 4731 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4732 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4733 | .manufacture_id = ST_ID, |
| 4734 | .model_id = ST_M25P64, |
| 4735 | .total_size = 8192, |
| 4736 | .page_size = 256, |
| 4737 | .tested = TEST_UNTESTED, |
| 4738 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4739 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4740 | .block_erasers = |
| 4741 | { |
| 4742 | { |
| 4743 | .eraseblocks = { {64 * 1024, 128} }, |
| 4744 | .block_erase = spi_block_erase_d8, |
| 4745 | }, { |
| 4746 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4747 | .block_erase = spi_block_erase_c7, |
| 4748 | } |
| 4749 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4750 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4751 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4752 | }, |
| 4753 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4754 | { |
| 4755 | .vendor = "ST", |
| 4756 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4757 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4758 | .manufacture_id = ST_ID, |
| 4759 | .model_id = ST_M25P128, |
| 4760 | .total_size = 16384, |
| 4761 | .page_size = 256, |
| 4762 | .tested = TEST_UNTESTED, |
| 4763 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4764 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4765 | .block_erasers = |
| 4766 | { |
| 4767 | { |
| 4768 | .eraseblocks = { {256 * 1024, 64} }, |
| 4769 | .block_erase = spi_block_erase_d8, |
| 4770 | }, { |
| 4771 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4772 | .block_erase = spi_block_erase_c7, |
| 4773 | } |
| 4774 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4775 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4776 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4777 | }, |
| 4778 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4779 | { |
| 4780 | .vendor = "ST", |
| 4781 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4782 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4783 | .manufacture_id = ST_ID, |
| 4784 | .model_id = ST_M29F002B, |
| 4785 | .total_size = 256, |
| 4786 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4787 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4788 | .tested = TEST_UNTESTED, |
| 4789 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4790 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4791 | .block_erasers = |
| 4792 | { |
| 4793 | { |
| 4794 | .eraseblocks = { |
| 4795 | {16 * 1024, 1}, |
| 4796 | {8 * 1024, 2}, |
| 4797 | {32 * 1024, 1}, |
| 4798 | {64 * 1024, 3}, |
| 4799 | }, |
| 4800 | .block_erase = erase_sector_jedec, |
| 4801 | }, { |
| 4802 | .eraseblocks = { {256 * 1024, 1} }, |
| 4803 | .block_erase = erase_chip_block_jedec, |
| 4804 | } |
| 4805 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4806 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4807 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4808 | }, |
| 4809 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4810 | { |
| 4811 | .vendor = "ST", |
| 4812 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4813 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4814 | .manufacture_id = ST_ID, |
| 4815 | .model_id = ST_M29F002T, |
| 4816 | .total_size = 256, |
| 4817 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4818 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 4819 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4820 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4821 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4822 | .block_erasers = |
| 4823 | { |
| 4824 | { |
| 4825 | .eraseblocks = { |
| 4826 | {64 * 1024, 3}, |
| 4827 | {32 * 1024, 1}, |
| 4828 | {8 * 1024, 2}, |
| 4829 | {16 * 1024, 1}, |
| 4830 | }, |
| 4831 | .block_erase = erase_sector_jedec, |
| 4832 | }, { |
| 4833 | .eraseblocks = { {256 * 1024, 1} }, |
| 4834 | .block_erase = erase_chip_block_jedec, |
| 4835 | } |
| 4836 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4837 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4838 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4839 | }, |
| 4840 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4841 | { |
| 4842 | .vendor = "ST", |
| 4843 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4844 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4845 | .manufacture_id = ST_ID, |
| 4846 | .model_id = ST_M29F040B, |
| 4847 | .total_size = 512, |
| 4848 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4849 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4850 | .tested = TEST_UNTESTED, |
| 4851 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4852 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4853 | .block_erasers = |
| 4854 | { |
| 4855 | { |
| 4856 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4857 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4858 | }, { |
| 4859 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4860 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4861 | } |
| 4862 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4863 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4864 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4865 | }, |
| 4866 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4867 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4868 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4869 | .vendor = "ST", |
| 4870 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4871 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4872 | .manufacture_id = ST_ID, |
| 4873 | .model_id = ST_M29F400BT, |
| 4874 | .total_size = 512, |
| 4875 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4876 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4877 | .tested = TEST_UNTESTED, |
| 4878 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4879 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4880 | .block_erasers = |
| 4881 | { |
| 4882 | { |
| 4883 | .eraseblocks = { |
| 4884 | {64 * 1024, 7}, |
| 4885 | {32 * 1024, 1}, |
| 4886 | {8 * 1024, 2}, |
| 4887 | {16 * 1024, 1}, |
| 4888 | }, |
| 4889 | .block_erase = block_erase_m29f400bt, |
| 4890 | }, { |
| 4891 | .eraseblocks = { {512 * 1024, 1} }, |
| 4892 | .block_erase = block_erase_chip_m29f400bt, |
| 4893 | } |
| 4894 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4895 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4896 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4897 | }, |
| 4898 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4899 | { |
| 4900 | .vendor = "ST", |
| 4901 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4902 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4903 | .manufacture_id = ST_ID, |
| 4904 | .model_id = ST_M29W010B, |
| 4905 | .total_size = 128, |
| 4906 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4907 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4908 | .tested = TEST_UNTESTED, |
| 4909 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4910 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4911 | .block_erasers = |
| 4912 | { |
| 4913 | { |
| 4914 | .eraseblocks = { {16 * 1024, 8}, }, |
| 4915 | .block_erase = erase_sector_jedec, |
| 4916 | }, { |
| 4917 | .eraseblocks = { {128 * 1024, 1} }, |
| 4918 | .block_erase = erase_chip_block_jedec, |
| 4919 | } |
| 4920 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4921 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4922 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4923 | }, |
| 4924 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4925 | { |
| 4926 | .vendor = "ST", |
| 4927 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4928 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4929 | .manufacture_id = ST_ID, |
| 4930 | .model_id = ST_M29W040B, |
| 4931 | .total_size = 512, |
| 4932 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4933 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4934 | .tested = TEST_UNTESTED, |
| 4935 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4936 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4937 | .block_erasers = |
| 4938 | { |
| 4939 | { |
| 4940 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4941 | .block_erase = erase_sector_jedec, |
| 4942 | }, { |
| 4943 | .eraseblocks = { {512 * 1024, 1} }, |
| 4944 | .block_erase = erase_chip_block_jedec, |
| 4945 | } |
| 4946 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4947 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4948 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4949 | }, |
| 4950 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 4951 | { |
| 4952 | .vendor = "ST", |
| 4953 | .name = "M29W512B", |
| 4954 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4955 | .manufacture_id = ST_ID, |
| 4956 | .model_id = ST_M29W512B, |
| 4957 | .total_size = 64, |
| 4958 | .page_size = 64 * 1024, |
| 4959 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4960 | .tested = TEST_OK_PREW, |
| 4961 | .probe = probe_jedec, |
| 4962 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 4963 | .block_erasers = |
| 4964 | { |
| 4965 | { |
| 4966 | .eraseblocks = { {64 * 1024, 1} }, |
| 4967 | .block_erase = erase_chip_block_jedec, |
| 4968 | } |
| 4969 | }, |
| 4970 | .write = write_jedec_1, |
| 4971 | .read = read_memmapped, |
| 4972 | }, |
| 4973 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4974 | { |
| 4975 | .vendor = "ST", |
| 4976 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4977 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4978 | .manufacture_id = ST_ID, |
| 4979 | .model_id = ST_M50FLW040A, |
| 4980 | .total_size = 512, |
| 4981 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4982 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4983 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4984 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 4985 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4986 | .block_erasers = |
| 4987 | { |
| 4988 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 4989 | .eraseblocks = { |
| 4990 | {4 * 1024, 16}, /* sector */ |
| 4991 | {64 * 1024, 5}, /* block */ |
| 4992 | {4 * 1024, 16}, /* sector */ |
| 4993 | {4 * 1024, 16}, /* sector */ |
| 4994 | }, |
| 4995 | .block_erase = NULL, |
| 4996 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4997 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4998 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4999 | }, { |
| 5000 | .eraseblocks = { {512 * 1024, 1} }, |
| 5001 | .block_erase = erase_chip_stm50flw0x0x, |
| 5002 | } |
| 5003 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5004 | .unlock = unlock_stm50flw0x0x, |
| 5005 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5006 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5007 | }, |
| 5008 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5009 | { |
| 5010 | .vendor = "ST", |
| 5011 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5012 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5013 | .manufacture_id = ST_ID, |
| 5014 | .model_id = ST_M50FLW040B, |
| 5015 | .total_size = 512, |
| 5016 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5017 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5018 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5019 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5020 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5021 | .block_erasers = |
| 5022 | { |
| 5023 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5024 | .eraseblocks = { |
| 5025 | {4 * 1024, 16}, /* sector */ |
| 5026 | {4 * 1024, 16}, /* sector */ |
| 5027 | {64 * 1024, 5}, /* block */ |
| 5028 | {4 * 1024, 16}, /* sector */ |
| 5029 | }, |
| 5030 | .block_erase = NULL, |
| 5031 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5032 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5033 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5034 | }, { |
| 5035 | .eraseblocks = { {512 * 1024, 1} }, |
| 5036 | .block_erase = erase_chip_stm50flw0x0x, |
| 5037 | } |
| 5038 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5039 | .unlock = unlock_stm50flw0x0x, |
| 5040 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5041 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5042 | }, |
| 5043 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5044 | { |
| 5045 | .vendor = "ST", |
| 5046 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5047 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5048 | .manufacture_id = ST_ID, |
| 5049 | .model_id = ST_M50FLW080A, |
| 5050 | .total_size = 1024, |
| 5051 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5052 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5053 | .tested = TEST_UNTESTED, |
| 5054 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5055 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5056 | .block_erasers = |
| 5057 | { |
| 5058 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5059 | .eraseblocks = { |
| 5060 | {4 * 1024, 16}, /* sector */ |
| 5061 | {64 * 1024, 13}, /* block */ |
| 5062 | {4 * 1024, 16}, /* sector */ |
| 5063 | {4 * 1024, 16}, /* sector */ |
| 5064 | }, |
| 5065 | .block_erase = NULL, |
| 5066 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5067 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5068 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5069 | }, { |
| 5070 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5071 | .block_erase = erase_chip_stm50flw0x0x, |
| 5072 | } |
| 5073 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5074 | .unlock = unlock_stm50flw0x0x, |
| 5075 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5076 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5077 | }, |
| 5078 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5079 | { |
| 5080 | .vendor = "ST", |
| 5081 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5082 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5083 | .manufacture_id = ST_ID, |
| 5084 | .model_id = ST_M50FLW080B, |
| 5085 | .total_size = 1024, |
| 5086 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5087 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5088 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5089 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5090 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5091 | .block_erasers = |
| 5092 | { |
| 5093 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5094 | .eraseblocks = { |
| 5095 | {4 * 1024, 16}, /* sector */ |
| 5096 | {4 * 1024, 16}, /* sector */ |
| 5097 | {64 * 1024, 13}, /* block */ |
| 5098 | {4 * 1024, 16}, /* sector */ |
| 5099 | }, |
| 5100 | .block_erase = NULL, |
| 5101 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5102 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5103 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5104 | }, { |
| 5105 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5106 | .block_erase = erase_chip_stm50flw0x0x, |
| 5107 | } |
| 5108 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5109 | .unlock = unlock_stm50flw0x0x, |
| 5110 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5111 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5112 | }, |
| 5113 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5114 | { |
| 5115 | .vendor = "ST", |
| 5116 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5117 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5118 | .manufacture_id = ST_ID, |
| 5119 | .model_id = ST_M50FW002, |
| 5120 | .total_size = 256, |
| 5121 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5122 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5123 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5124 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5125 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5126 | .block_erasers = |
| 5127 | { |
| 5128 | { |
| 5129 | .eraseblocks = { |
| 5130 | {64 * 1024, 3}, |
| 5131 | {32 * 1024, 1}, |
| 5132 | {8 * 1024, 2}, |
| 5133 | {16 * 1024, 1}, |
| 5134 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5135 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5136 | }, { |
| 5137 | .eraseblocks = { {256 * 1024, 1} }, |
| 5138 | .block_erase = erase_chip_stm50flw0x0x, |
| 5139 | } |
| 5140 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5141 | .unlock = unlock_stm50flw0x0x, |
| 5142 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5143 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5144 | }, |
| 5145 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5146 | { |
| 5147 | .vendor = "ST", |
| 5148 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5149 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5150 | .manufacture_id = ST_ID, |
| 5151 | .model_id = ST_M50FW016, |
| 5152 | .total_size = 2048, |
| 5153 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5154 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5155 | .tested = TEST_UNTESTED, |
| 5156 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5157 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5158 | .block_erasers = |
| 5159 | { |
| 5160 | { |
| 5161 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5162 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5163 | }, { |
| 5164 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5165 | .block_erase = erase_chip_stm50flw0x0x, |
| 5166 | } |
| 5167 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5168 | .unlock = unlock_stm50flw0x0x, |
| 5169 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5171 | }, |
| 5172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5173 | { |
| 5174 | .vendor = "ST", |
| 5175 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5176 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5177 | .manufacture_id = ST_ID, |
| 5178 | .model_id = ST_M50FW040, |
| 5179 | .total_size = 512, |
| 5180 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5181 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5182 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5183 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5185 | .block_erasers = |
| 5186 | { |
| 5187 | { |
| 5188 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5189 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5190 | }, { |
| 5191 | .eraseblocks = { {512 * 1024, 1} }, |
| 5192 | .block_erase = erase_chip_stm50flw0x0x, |
| 5193 | } |
| 5194 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5195 | .unlock = unlock_stm50flw0x0x, |
| 5196 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5197 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5198 | }, |
| 5199 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5200 | { |
| 5201 | .vendor = "ST", |
| 5202 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5203 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5204 | .manufacture_id = ST_ID, |
| 5205 | .model_id = ST_M50FW080, |
| 5206 | .total_size = 1024, |
| 5207 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5208 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5209 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5210 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5211 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5212 | .block_erasers = |
| 5213 | { |
| 5214 | { |
| 5215 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5216 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5217 | }, { |
| 5218 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5219 | .block_erase = erase_chip_stm50flw0x0x, |
| 5220 | } |
| 5221 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5222 | .unlock = unlock_stm50flw0x0x, |
| 5223 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5224 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5225 | }, |
| 5226 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5227 | { |
| 5228 | .vendor = "ST", |
| 5229 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5230 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5231 | .manufacture_id = ST_ID, |
| 5232 | .model_id = ST_M50LPW116, |
| 5233 | .total_size = 2048, |
| 5234 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5235 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5236 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5237 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5238 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5239 | .block_erasers = |
| 5240 | { |
| 5241 | { |
| 5242 | .eraseblocks = { |
| 5243 | {4 * 1024, 16}, |
| 5244 | {64 * 1024, 30}, |
| 5245 | {32 * 1024, 1}, |
| 5246 | {8 * 1024, 2}, |
| 5247 | {16 * 1024, 1}, |
| 5248 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5249 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5250 | }, { |
| 5251 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5252 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5253 | } |
| 5254 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 5255 | .unlock = unlock_stm50flw0x0x, |
| 5256 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5257 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5258 | }, |
| 5259 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5260 | { |
| 5261 | .vendor = "SyncMOS", |
| 5262 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5263 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5264 | .manufacture_id = SYNCMOS_ID, |
| 5265 | .model_id = S29C31004T, |
| 5266 | .total_size = 512, |
| 5267 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5268 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5269 | .tested = TEST_UNTESTED, |
| 5270 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5271 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5272 | .block_erasers = |
| 5273 | { |
| 5274 | { |
| 5275 | .eraseblocks = { {1 * 1024, 512} }, |
| 5276 | .block_erase = erase_sector_jedec, |
| 5277 | }, { |
| 5278 | .eraseblocks = { {512 * 1024, 1} }, |
| 5279 | .block_erase = erase_chip_block_jedec, |
| 5280 | }, |
| 5281 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5282 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5283 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5284 | }, |
| 5285 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5286 | { |
| 5287 | .vendor = "SyncMOS", |
| 5288 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5289 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5290 | .manufacture_id = SYNCMOS_ID, |
| 5291 | .model_id = S29C51001T, |
| 5292 | .total_size = 128, |
| 5293 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5294 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5295 | .tested = TEST_UNTESTED, |
| 5296 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5297 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5298 | .block_erasers = |
| 5299 | { |
| 5300 | { |
| 5301 | .eraseblocks = { {512, 256} }, |
| 5302 | .block_erase = erase_sector_jedec, |
| 5303 | }, { |
| 5304 | .eraseblocks = { {128 * 1024, 1} }, |
| 5305 | .block_erase = erase_chip_block_jedec, |
| 5306 | }, |
| 5307 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5308 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5309 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5310 | }, |
| 5311 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5312 | { |
| 5313 | .vendor = "SyncMOS", |
| 5314 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5315 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5316 | .manufacture_id = SYNCMOS_ID, |
| 5317 | .model_id = S29C51002T, |
| 5318 | .total_size = 256, |
| 5319 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5320 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5321 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5322 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5323 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5324 | .block_erasers = |
| 5325 | { |
| 5326 | { |
| 5327 | .eraseblocks = { {512, 512} }, |
| 5328 | .block_erase = erase_sector_jedec, |
| 5329 | }, { |
| 5330 | .eraseblocks = { {256 * 1024, 1} }, |
| 5331 | .block_erase = erase_chip_block_jedec, |
| 5332 | }, |
| 5333 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5334 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5335 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5336 | }, |
| 5337 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5338 | { |
| 5339 | .vendor = "SyncMOS", |
| 5340 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5341 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5342 | .manufacture_id = SYNCMOS_ID, |
| 5343 | .model_id = S29C51004T, |
| 5344 | .total_size = 512, |
| 5345 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5346 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5347 | .tested = TEST_UNTESTED, |
| 5348 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5350 | .block_erasers = |
| 5351 | { |
| 5352 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 5353 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5354 | .block_erase = erase_sector_jedec, |
| 5355 | }, { |
| 5356 | .eraseblocks = { {512 * 1024, 1} }, |
| 5357 | .block_erase = erase_chip_block_jedec, |
| 5358 | }, |
| 5359 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5360 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5361 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5362 | }, |
| 5363 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5364 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5365 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5366 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5367 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5368 | .manufacture_id = TI_OLD_ID, |
| 5369 | .model_id = TI_TMS29F002RB, |
| 5370 | .total_size = 256, |
| 5371 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5372 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5373 | .tested = TEST_UNTESTED, |
| 5374 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5375 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5376 | .block_erasers = |
| 5377 | { |
| 5378 | { |
| 5379 | .eraseblocks = { |
| 5380 | {16 * 1024, 1}, |
| 5381 | {8 * 1024, 2}, |
| 5382 | {32 * 1024, 1}, |
| 5383 | {64 * 1024, 3}, |
| 5384 | }, |
| 5385 | .block_erase = erase_sector_jedec, |
| 5386 | }, { |
| 5387 | .eraseblocks = { {256 * 1024, 1} }, |
| 5388 | .block_erase = erase_chip_block_jedec, |
| 5389 | }, |
| 5390 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5391 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5392 | .read = read_memmapped, |
| 5393 | }, |
| 5394 | |
| 5395 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5396 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5397 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5398 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5399 | .manufacture_id = TI_OLD_ID, |
| 5400 | .model_id = TI_TMS29F002RT, |
| 5401 | .total_size = 256, |
| 5402 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5403 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5404 | .tested = TEST_UNTESTED, |
| 5405 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5406 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5407 | .block_erasers = |
| 5408 | { |
| 5409 | { |
| 5410 | .eraseblocks = { |
| 5411 | {64 * 1024, 3}, |
| 5412 | {32 * 1024, 1}, |
| 5413 | {8 * 1024, 2}, |
| 5414 | {16 * 1024, 1}, |
| 5415 | }, |
| 5416 | .block_erase = erase_sector_jedec, |
| 5417 | }, { |
| 5418 | .eraseblocks = { {256 * 1024, 1} }, |
| 5419 | .block_erase = erase_chip_block_jedec, |
| 5420 | }, |
| 5421 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5422 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5423 | .read = read_memmapped, |
| 5424 | }, |
| 5425 | |
| 5426 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5427 | .vendor = "Winbond", |
| 5428 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5429 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5430 | .manufacture_id = WINBOND_NEX_ID, |
| 5431 | .model_id = W_25X10, |
| 5432 | .total_size = 128, |
| 5433 | .page_size = 256, |
| 5434 | .tested = TEST_UNTESTED, |
| 5435 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5436 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5437 | .block_erasers = |
| 5438 | { |
| 5439 | { |
| 5440 | .eraseblocks = { {4 * 1024, 32} }, |
| 5441 | .block_erase = spi_block_erase_20, |
| 5442 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5443 | .eraseblocks = { {64 * 1024, 2} }, |
| 5444 | .block_erase = spi_block_erase_d8, |
| 5445 | }, { |
| 5446 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5447 | .block_erase = spi_block_erase_c7, |
| 5448 | } |
| 5449 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5450 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5451 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5452 | }, |
| 5453 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5454 | { |
| 5455 | .vendor = "Winbond", |
| 5456 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5457 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5458 | .manufacture_id = WINBOND_NEX_ID, |
| 5459 | .model_id = W_25X20, |
| 5460 | .total_size = 256, |
| 5461 | .page_size = 256, |
| 5462 | .tested = TEST_UNTESTED, |
| 5463 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5464 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5465 | .block_erasers = |
| 5466 | { |
| 5467 | { |
| 5468 | .eraseblocks = { {4 * 1024, 64} }, |
| 5469 | .block_erase = spi_block_erase_20, |
| 5470 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5471 | .eraseblocks = { {64 * 1024, 4} }, |
| 5472 | .block_erase = spi_block_erase_d8, |
| 5473 | }, { |
| 5474 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5475 | .block_erase = spi_block_erase_c7, |
| 5476 | } |
| 5477 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5478 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5479 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5480 | }, |
| 5481 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5482 | { |
| 5483 | .vendor = "Winbond", |
| 5484 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5485 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5486 | .manufacture_id = WINBOND_NEX_ID, |
| 5487 | .model_id = W_25X40, |
| 5488 | .total_size = 512, |
| 5489 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5490 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5491 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5492 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5493 | .block_erasers = |
| 5494 | { |
| 5495 | { |
| 5496 | .eraseblocks = { {4 * 1024, 128} }, |
| 5497 | .block_erase = spi_block_erase_20, |
| 5498 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5499 | .eraseblocks = { {64 * 1024, 8} }, |
| 5500 | .block_erase = spi_block_erase_d8, |
| 5501 | }, { |
| 5502 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5503 | .block_erase = spi_block_erase_c7, |
| 5504 | } |
| 5505 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5506 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5507 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5508 | }, |
| 5509 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5510 | { |
| 5511 | .vendor = "Winbond", |
| 5512 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5513 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5514 | .manufacture_id = WINBOND_NEX_ID, |
| 5515 | .model_id = W_25X80, |
| 5516 | .total_size = 1024, |
| 5517 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5518 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5519 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5520 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5521 | .block_erasers = |
| 5522 | { |
| 5523 | { |
| 5524 | .eraseblocks = { {4 * 1024, 256} }, |
| 5525 | .block_erase = spi_block_erase_20, |
| 5526 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5527 | .eraseblocks = { {64 * 1024, 16} }, |
| 5528 | .block_erase = spi_block_erase_d8, |
| 5529 | }, { |
| 5530 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5531 | .block_erase = spi_block_erase_c7, |
| 5532 | } |
| 5533 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5534 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5535 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5536 | }, |
| 5537 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5538 | { |
| 5539 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5540 | .name = "W25x16", |
| 5541 | .bustype = CHIP_BUSTYPE_SPI, |
| 5542 | .manufacture_id = WINBOND_NEX_ID, |
| 5543 | .model_id = W_25X16, |
| 5544 | .total_size = 2048, |
| 5545 | .page_size = 256, |
| 5546 | .tested = TEST_OK_PR, |
| 5547 | .probe = probe_spi_rdid, |
| 5548 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5549 | .block_erasers = |
| 5550 | { |
| 5551 | { |
| 5552 | .eraseblocks = { {4 * 1024, 512} }, |
| 5553 | .block_erase = spi_block_erase_20, |
| 5554 | }, { |
| 5555 | .eraseblocks = { {32 * 1024, 64} }, |
| 5556 | .block_erase = spi_block_erase_52, |
| 5557 | }, { |
| 5558 | .eraseblocks = { {64 * 1024, 32} }, |
| 5559 | .block_erase = spi_block_erase_d8, |
| 5560 | }, { |
| 5561 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5562 | .block_erase = spi_block_erase_60, |
| 5563 | }, { |
| 5564 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5565 | .block_erase = spi_block_erase_c7, |
| 5566 | } |
| 5567 | }, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5568 | .write = spi_chip_write_256, |
| 5569 | .read = spi_chip_read, |
| 5570 | }, |
| 5571 | |
| 5572 | { |
| 5573 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5574 | .name = "W25x32", |
| 5575 | .bustype = CHIP_BUSTYPE_SPI, |
| 5576 | .manufacture_id = WINBOND_NEX_ID, |
| 5577 | .model_id = W_25X32, |
| 5578 | .total_size = 4096, |
| 5579 | .page_size = 256, |
| 5580 | .tested = TEST_OK_PROBE, |
| 5581 | .probe = probe_spi_rdid, |
| 5582 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5583 | .block_erasers = |
| 5584 | { |
| 5585 | { |
| 5586 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5587 | .block_erase = spi_block_erase_20, |
| 5588 | }, { |
| 5589 | .eraseblocks = { {32 * 1024, 128} }, |
| 5590 | .block_erase = spi_block_erase_52, |
| 5591 | }, { |
| 5592 | .eraseblocks = { {64 * 1024, 64} }, |
| 5593 | .block_erase = spi_block_erase_d8, |
| 5594 | }, { |
| 5595 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5596 | .block_erase = spi_block_erase_60, |
| 5597 | }, { |
| 5598 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5599 | .block_erase = spi_block_erase_c7, |
| 5600 | } |
| 5601 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5602 | .write = spi_chip_write_256, |
| 5603 | .read = spi_chip_read, |
| 5604 | }, |
| 5605 | |
| 5606 | { |
| 5607 | .vendor = "Winbond", |
| 5608 | .name = "W25x64", |
| 5609 | .bustype = CHIP_BUSTYPE_SPI, |
| 5610 | .manufacture_id = WINBOND_NEX_ID, |
| 5611 | .model_id = W_25X64, |
| 5612 | .total_size = 8192, |
| 5613 | .page_size = 256, |
| 5614 | .tested = TEST_UNTESTED, |
| 5615 | .probe = probe_spi_rdid, |
| 5616 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5617 | .block_erasers = |
| 5618 | { |
| 5619 | { |
| 5620 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5621 | .block_erase = spi_block_erase_20, |
| 5622 | }, { |
| 5623 | .eraseblocks = { {32 * 1024, 256} }, |
| 5624 | .block_erase = spi_block_erase_52, |
| 5625 | }, { |
| 5626 | .eraseblocks = { {64 * 1024, 128} }, |
| 5627 | .block_erase = spi_block_erase_d8, |
| 5628 | }, { |
| 5629 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5630 | .block_erase = spi_block_erase_60, |
| 5631 | }, { |
| 5632 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5633 | .block_erase = spi_block_erase_c7, |
| 5634 | } |
| 5635 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5636 | .write = spi_chip_write_256, |
| 5637 | .read = spi_chip_read, |
| 5638 | }, |
| 5639 | |
| 5640 | { |
| 5641 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5642 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5643 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5644 | .manufacture_id = WINBOND_ID, |
| 5645 | .model_id = W_29C011, |
| 5646 | .total_size = 128, |
| 5647 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5648 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5649 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5650 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5651 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5652 | .block_erasers = |
| 5653 | { |
| 5654 | { |
| 5655 | .eraseblocks = { {128 * 1024, 1} }, |
| 5656 | .block_erase = erase_chip_block_jedec, |
| 5657 | } |
| 5658 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5659 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5660 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5661 | }, |
| 5662 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5663 | { |
| 5664 | .vendor = "Winbond", |
| 5665 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5666 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5667 | .manufacture_id = WINBOND_ID, |
| 5668 | .model_id = W_29C020C, |
| 5669 | .total_size = 256, |
| 5670 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5671 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5672 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5673 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5674 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5675 | .block_erasers = |
| 5676 | { |
| 5677 | { |
| 5678 | .eraseblocks = { {256 * 1024, 1} }, |
| 5679 | .block_erase = erase_chip_block_jedec, |
| 5680 | } |
| 5681 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5682 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5683 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5684 | }, |
| 5685 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5686 | { |
| 5687 | .vendor = "Winbond", |
| 5688 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5689 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5690 | .manufacture_id = WINBOND_ID, |
| 5691 | .model_id = W_29C040P, |
| 5692 | .total_size = 512, |
| 5693 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5694 | .feature_bits = FEATURE_LONG_RESET, |
| 5695 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5696 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5697 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5698 | .block_erasers = |
| 5699 | { |
| 5700 | { |
| 5701 | .eraseblocks = { {512 * 1024, 1} }, |
| 5702 | .block_erase = erase_chip_block_jedec, |
| 5703 | } |
| 5704 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5705 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5706 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5707 | }, |
| 5708 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5709 | { |
| 5710 | .vendor = "Winbond", |
| 5711 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5712 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5713 | .manufacture_id = WINBOND_ID, |
| 5714 | .model_id = W_29C011, |
| 5715 | .total_size = 128, |
| 5716 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5717 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5718 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5719 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5720 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5721 | .block_erasers = |
| 5722 | { |
| 5723 | { |
| 5724 | .eraseblocks = { {128 * 1024, 1} }, |
| 5725 | .block_erase = erase_chip_block_jedec, |
| 5726 | } |
| 5727 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5728 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5729 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5730 | }, |
| 5731 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5732 | { |
| 5733 | .vendor = "Winbond", |
| 5734 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5735 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5736 | .manufacture_id = WINBOND_ID, |
| 5737 | .model_id = W_39V040A, |
| 5738 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5739 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5740 | .feature_bits = FEATURE_EITHER_RESET, |
| 5741 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5742 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5743 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5744 | .block_erasers = |
| 5745 | { |
| 5746 | { |
| 5747 | .eraseblocks = { {64 * 1024, 8} }, |
| 5748 | .block_erase = erase_sector_jedec, |
| 5749 | }, { |
| 5750 | .eraseblocks = { {512 * 1024, 1} }, |
| 5751 | .block_erase = erase_chip_block_jedec, |
| 5752 | } |
| 5753 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5754 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5755 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5756 | }, |
| 5757 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5758 | { |
| 5759 | .vendor = "Winbond", |
| 5760 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5761 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5762 | .manufacture_id = WINBOND_ID, |
| 5763 | .model_id = W_39V040B, |
| 5764 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5765 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5766 | .feature_bits = FEATURE_EITHER_RESET, |
| 5767 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5768 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5769 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5770 | .block_erasers = |
| 5771 | { |
| 5772 | { |
| 5773 | .eraseblocks = { {64 * 1024, 8} }, |
| 5774 | .block_erase = erase_sector_jedec, |
| 5775 | }, { |
| 5776 | .eraseblocks = { {512 * 1024, 1} }, |
| 5777 | .block_erase = erase_chip_block_jedec, |
| 5778 | } |
| 5779 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5780 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5781 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5782 | }, |
| 5783 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5784 | { |
| 5785 | .vendor = "Winbond", |
| 5786 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5787 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5788 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5789 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5790 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5791 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5792 | .feature_bits = FEATURE_EITHER_RESET, |
| 5793 | .tested = TEST_UNTESTED, |
| 5794 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5795 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5796 | .block_erasers = |
| 5797 | { |
| 5798 | { |
| 5799 | .eraseblocks = { {64 * 1024, 8} }, |
| 5800 | .block_erase = erase_sector_jedec, |
| 5801 | }, { |
| 5802 | .eraseblocks = { {512 * 1024, 1} }, |
| 5803 | .block_erase = erase_chip_block_jedec, |
| 5804 | } |
| 5805 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5806 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5807 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5808 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5809 | }, |
| 5810 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5811 | { |
| 5812 | .vendor = "Winbond", |
| 5813 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5814 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5815 | .manufacture_id = WINBOND_ID, |
| 5816 | .model_id = W_39V040FA, |
| 5817 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5818 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5819 | .feature_bits = FEATURE_EITHER_RESET, |
| 5820 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5821 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5822 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5823 | .block_erasers = |
| 5824 | { |
| 5825 | { |
| 5826 | .eraseblocks = { {4 * 1024, 128} }, |
| 5827 | .block_erase = erase_block_jedec, |
| 5828 | }, { |
| 5829 | .eraseblocks = { {64 * 1024, 8} }, |
| 5830 | .block_erase = erase_sector_jedec, |
| 5831 | }, { |
| 5832 | .eraseblocks = { {512 * 1024, 1} }, |
| 5833 | .block_erase = erase_chip_block_jedec, |
| 5834 | } |
| 5835 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5836 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5837 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5838 | }, |
| 5839 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5840 | { |
| 5841 | .vendor = "Winbond", |
| 5842 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5843 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5844 | .manufacture_id = WINBOND_ID, |
| 5845 | .model_id = W_39V080A, |
| 5846 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5847 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5848 | .feature_bits = FEATURE_EITHER_RESET, |
| 5849 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5850 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5851 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5852 | .block_erasers = |
| 5853 | { |
| 5854 | { |
| 5855 | .eraseblocks = { {64 * 1024, 16} }, |
| 5856 | .block_erase = erase_sector_jedec, |
| 5857 | }, { |
| 5858 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5859 | .block_erase = erase_chip_block_jedec, |
| 5860 | } |
| 5861 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5862 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5863 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5864 | }, |
| 5865 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5866 | { |
| 5867 | .vendor = "Winbond", |
| 5868 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5869 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5870 | .manufacture_id = WINBOND_ID, |
| 5871 | .model_id = W_49F002U, |
| 5872 | .total_size = 256, |
| 5873 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5874 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5875 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5876 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5877 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5878 | .block_erasers = |
| 5879 | { |
| 5880 | { |
| 5881 | .eraseblocks = { |
| 5882 | {128 * 1024, 1}, |
| 5883 | {96 * 1024, 1}, |
| 5884 | {8 * 1024, 2}, |
| 5885 | {16 * 1024, 1}, |
| 5886 | }, |
| 5887 | .block_erase = erase_sector_jedec, |
| 5888 | }, { |
| 5889 | .eraseblocks = { {256 * 1024, 1} }, |
| 5890 | .block_erase = erase_chip_block_jedec, |
| 5891 | } |
| 5892 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5893 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5894 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5895 | }, |
| 5896 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5897 | { |
| 5898 | .vendor = "Winbond", |
| 5899 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5900 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5901 | .manufacture_id = WINBOND_ID, |
| 5902 | .model_id = W_49V002A, |
| 5903 | .total_size = 256, |
| 5904 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5905 | .feature_bits = FEATURE_EITHER_RESET, |
| 5906 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5907 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5908 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5909 | .block_erasers = |
| 5910 | { |
| 5911 | { |
| 5912 | .eraseblocks = { |
| 5913 | {64 * 1024, 3}, |
| 5914 | {32 * 1024, 1}, |
| 5915 | {8 * 1024, 2}, |
| 5916 | {16 * 1024, 1}, |
| 5917 | }, |
| 5918 | .block_erase = erase_sector_jedec, |
| 5919 | }, { |
| 5920 | .eraseblocks = { {256 * 1024, 1} }, |
| 5921 | .block_erase = erase_chip_block_jedec, |
| 5922 | } |
| 5923 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5924 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5925 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5926 | }, |
| 5927 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5928 | { |
| 5929 | .vendor = "Winbond", |
| 5930 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5931 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5932 | .manufacture_id = WINBOND_ID, |
| 5933 | .model_id = W_49V002FA, |
| 5934 | .total_size = 256, |
| 5935 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5936 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 5937 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5938 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5939 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5940 | .block_erasers = |
| 5941 | { |
| 5942 | { |
| 5943 | .eraseblocks = { |
| 5944 | {64 * 1024, 3}, |
| 5945 | {32 * 1024, 1}, |
| 5946 | {8 * 1024, 2}, |
| 5947 | {16 * 1024, 1}, |
| 5948 | }, |
| 5949 | .block_erase = erase_sector_jedec, |
| 5950 | }, { |
| 5951 | .eraseblocks = { {256 * 1024, 1} }, |
| 5952 | .block_erase = erase_chip_block_jedec, |
| 5953 | } |
| 5954 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5955 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5956 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5957 | }, |
| 5958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5959 | { |
| 5960 | .vendor = "Winbond", |
| 5961 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5962 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5963 | .manufacture_id = WINBOND_ID, |
| 5964 | .model_id = W_39V080FA, |
| 5965 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5966 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5967 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 5968 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5969 | .probe = probe_jedec, |
| 5970 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5971 | .block_erasers = |
| 5972 | { |
| 5973 | { |
| 5974 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5975 | .block_erase = erase_sector_jedec, |
| 5976 | }, { |
| 5977 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5978 | .block_erase = erase_chip_block_jedec, |
| 5979 | } |
| 5980 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5981 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5982 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5983 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5984 | }, |
| 5985 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5986 | { |
| 5987 | .vendor = "Winbond", |
| 5988 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5989 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5990 | .manufacture_id = WINBOND_ID, |
| 5991 | .model_id = W_39V080FA_DM, |
| 5992 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5993 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5994 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5995 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5996 | .probe = probe_jedec, |
| 5997 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5998 | .block_erasers = |
| 5999 | { |
| 6000 | { |
| 6001 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6002 | .block_erase = erase_sector_jedec, |
| 6003 | }, { |
| 6004 | .eraseblocks = { {512 * 1024, 1} }, |
| 6005 | .block_erase = erase_chip_block_jedec, |
| 6006 | } |
| 6007 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 6008 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6009 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6010 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6011 | }, |
| 6012 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6013 | { |
| 6014 | .vendor = "Atmel", |
| 6015 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6016 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6017 | .manufacture_id = ATMEL_ID, |
| 6018 | .model_id = GENERIC_DEVICE_ID, |
| 6019 | .total_size = 0, |
| 6020 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6021 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6022 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6023 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6024 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6025 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6026 | }, |
| 6027 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6028 | { |
| 6029 | .vendor = "EON", |
| 6030 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6031 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6032 | .manufacture_id = EON_ID_NOPREFIX, |
| 6033 | .model_id = GENERIC_DEVICE_ID, |
| 6034 | .total_size = 0, |
| 6035 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6036 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6037 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6038 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6039 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6040 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6041 | }, |
| 6042 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6043 | { |
| 6044 | .vendor = "Macronix", |
| 6045 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6046 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6047 | .manufacture_id = MX_ID, |
| 6048 | .model_id = GENERIC_DEVICE_ID, |
| 6049 | .total_size = 0, |
| 6050 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6051 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6052 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6053 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6054 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6055 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6056 | }, |
| 6057 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6058 | { |
| 6059 | .vendor = "PMC", |
| 6060 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6061 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6062 | .manufacture_id = PMC_ID, |
| 6063 | .model_id = GENERIC_DEVICE_ID, |
| 6064 | .total_size = 0, |
| 6065 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6066 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6067 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6068 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6069 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6070 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6071 | }, |
| 6072 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6073 | { |
| 6074 | .vendor = "SST", |
| 6075 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6076 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6077 | .manufacture_id = SST_ID, |
| 6078 | .model_id = GENERIC_DEVICE_ID, |
| 6079 | .total_size = 0, |
| 6080 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6081 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6082 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6083 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6084 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6085 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6086 | }, |
| 6087 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6088 | { |
| 6089 | .vendor = "ST", |
| 6090 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6091 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6092 | .manufacture_id = ST_ID, |
| 6093 | .model_id = GENERIC_DEVICE_ID, |
| 6094 | .total_size = 0, |
| 6095 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6096 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6097 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6098 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6099 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6100 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6101 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 6102 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6103 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6104 | .vendor = "Sanyo", |
| 6105 | .name = "unknown Sanyo SPI chip", |
| 6106 | .bustype = CHIP_BUSTYPE_SPI, |
| 6107 | .manufacture_id = SANYO_ID, |
| 6108 | .model_id = GENERIC_DEVICE_ID, |
| 6109 | .total_size = 0, |
| 6110 | .page_size = 256, |
| 6111 | .tested = TEST_BAD_PREW, |
| 6112 | .probe = probe_spi_rdid, |
| 6113 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6114 | .write = NULL, |
| 6115 | .read = NULL, |
| 6116 | }, |
| 6117 | |
| 6118 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6119 | .vendor = "Generic", |
| 6120 | .name = "unknown SPI chip (RDID)", |
| 6121 | .bustype = CHIP_BUSTYPE_SPI, |
| 6122 | .manufacture_id = GENERIC_MANUF_ID, |
| 6123 | .model_id = GENERIC_DEVICE_ID, |
| 6124 | .total_size = 0, |
| 6125 | .page_size = 256, |
| 6126 | .tested = TEST_BAD_PREW, |
| 6127 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6128 | .write = NULL, |
| 6129 | }, |
| 6130 | { |
| 6131 | .vendor = "Generic", |
| 6132 | .name = "unknown SPI chip (REMS)", |
| 6133 | .bustype = CHIP_BUSTYPE_SPI, |
| 6134 | .manufacture_id = GENERIC_MANUF_ID, |
| 6135 | .model_id = GENERIC_DEVICE_ID, |
| 6136 | .total_size = 0, |
| 6137 | .page_size = 256, |
| 6138 | .tested = TEST_BAD_PREW, |
| 6139 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6140 | .write = NULL, |
| 6141 | }, |
| 6142 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6143 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 6144 | }; |